]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
NEWS: update ia64 info
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9dc4e1fb
MF
12012-05-14 Mike Frysinger <vapier@gentoo.org>
2
3 * NEWS: Update ia64 info.
4
c7df0112
AS
52012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6
7 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8 used as bcopy.
9
dc70356c
TS
102012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11
12 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13 * sysdeps/unix/syscalls.list (dup3): Likewise.
14 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16
9fb1a21f
L
172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18
19 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21
4822a2a5
L
222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23
24 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25 thread pointer.
26 (TLS_IE): Use mov/add instead of movq/addq to load thread
27 pointer.
28 (TLS_GD_PREFIX): New.
29 (TLS_GD): Use it.
30
842b81d6
DM
312012-05-11 David S. Miller <davem@davemloft.net>
32
33 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35 (_FPU_SETCW): Likewise.
36
1cf463cd
L
372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38
39 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40 is 32-byte aligned.
41
60cc4a18
AS
422012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43
44 [BZ #11837]
45 * iconvdata/gb18030.c: Update tables.
46 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47 characters specially.
48 (BODY for TO_LOOP): Add encoding of missing ranges.
49
febb44a4
TS
502012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51
52 [BZ #13673]
53 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
54 * sysdeps/mach/hurd/dup3.c: Likewise.
55 * sysdeps/mach/hurd/readlinkat.c: Likewise.
56 * sysdeps/powerpc/memmove.c:: Likewise.
57
0a10fb9e
L
582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
59
60 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
62
df8a552f
L
632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
64
65 * elf/elf.h (R_X86_64_RELATIVE64): New.
66 (R_X86_64_NUM): Updated.
67 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
69 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
70 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71 tst-quad1pie tst-quad2pie
72 (modules-names): Add tst-quadmod1 tst-quadmod2.
73 ($(objpfx)tst-quad1): New dependency.
74 ($(objpfx)tst-quad2): Likewise.
75 ($(objpfx)tst-quad1pie): Likewise.
76 ($(objpfx)tst-quad2pie): Likewise.
77 * sysdeps/x86_64/tst-quad1.c: New file.
78 * sysdeps/x86_64/tst-quad1pie.c: New file.
79 * sysdeps/x86_64/tst-quad2.c: Likewise.
80 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
81 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
83 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
84 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
85
f34d6f84
ST
862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
87
f42d41d1
ST
88 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
89 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
90 * streams/stropts.h (t_scalar_t): Define type.
91
3c3571fc
ST
92 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
93 (_PATH_PRESERVE): Set to "/var/lib".
94 (_PATH_RWHODIR): Set to "/var/spool/rwho".
95
61f06bd3
ST
96 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
97 instead of int.
98
918d4d71
ST
99 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
100 if __dir_mkfile succeeded.
101
f34d6f84
ST
102 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
103 checking for _hurd_dtablesize. Unlock it right after having
104 finished _hurd_dtable allocation.
105
10589b4a
TS
1062012-05-10 Thomas Schwinge <thomas@schwinge.name>
107
674cdbc7
TS
108 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
109 * sysdeps/mach/hurd/configure: Regenerated.
110 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
111 special-casing to...
112 * sysdeps/gnu/configure.in: ... this new file.
113 * sysdeps/unix/sysv/linux/configure: Regenerated.
114 * sysdeps/gnu/configure: New generated file.
115
8e41b99f
TS
116 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
117 for Linux: use nsec instead of usec, as well as:
118 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
119 members of type struct timespec.
120 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
121 New macros.
122 (struct stat64): Likewise.
123 (_STATBUF_ST_NSEC): New macro.
124 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
125
10589b4a
TS
126 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
127 __strtoul_internal rather than strtoul.
128
63643c85
PT
1292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
130
131 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
132 and reject them.
133
3faebe6a
ST
1342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
135
136 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
137 which preserves existing values.
138 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
139
c6474b07
PT
1402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
141
142 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
143 TIMEOUT values. Return EINVAL for NFDS values either negative or
144 greater than FD_SETSIZE.
145
1043890b
ST
1462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
147
148 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
149 allocated, call __vm_protect to finish enabling the existing space, and
150 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
151 allocate the remainder.
152
37ed8b9b
PT
1532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
154
155 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
156 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
157
db653660
ST
1582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
159
37ed8b9b
PT
160 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
161 sysdeps/mach/hurd/readlink.c.
b29d4053 162
db653660
ST
163 * posix/tst-sysconf.c (posix_options): Only use
164 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
165 _POSIX_SYNCHRONIZED_IO when they are defined
166 * sysdeps/mach/hurd/bits/posix_opt.h:
167 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
168 (_XOPEN_REALTIME): Undefine macro.
169 (_XOPEN_REALTIME_THREADS): Undefine macro.
170 (_XOPEN_SHM): Undefine macro.
171 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
172 macro to -1.
173 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
174 macro to -1.
175 (_POSIX_ASYNC_IO): Undefine macro.
176 (_POSIX_PRIORITIZED_IO): Undefine macro.
177 (_POSIX_SPIN_LOCKS): Define macro to -1.
178
ee16e894
ST
179 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
180 SA_NODEFER, SA_RESETHAND.
181 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
182 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
183 F_DUPFD_CLOEXEC.
184
6103ae3b
TS
1852012-05-10 Thomas Schwinge <thomas@schwinge.name>
186
187 * elf/Makefile (pldd-modules): Define unconditionally.
188
80b4e5f3
TS
1892012-05-10 Thomas Schwinge <thomas@schwinge.name>
190
191 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
192
edadcbd6
ST
1932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
194
195 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
196 Return ENOENT when name is empty.
197 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
198
80694780
TS
1992012-05-10 Thomas Schwinge <thomas@schwinge.name>
200
1792c087
TS
201 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
202
80694780
TS
203 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
204
6b645f0d
ST
2052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
206
80694780
TS
207 Fix mlock in all cases except non-readable pages.
208 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
209 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 210
6b645f0d
ST
211 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
212 (__mkdir): When path is `/', just fail with EEXIST.
213 * sysdeps/mach/hurd/mkdirat.c: Likewise.
214
e468f8a3
TS
2152012-05-10 Thomas Schwinge <thomas@schwinge.name>
216
217 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
218 <sys/uio.h> (for writev).
219 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
220 and <sys/param.h> (for MIN).
221
a4186cff
PT
2222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
223
224 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
225 REQUESTED_TIME. Properly set the remaining time and return EINTR
226 if interrupted.
227
510bbf14
TS
2282012-05-10 Thomas Schwinge <thomas@schwinge.name>
229
230 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
231 Depend on against $(link-rpcuserlibs).
232
5d5722e8
ST
2332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
234
a4186cff
PT
235 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
236 (__libc_stack_end): Do not use attribute_relro.
237 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
238 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 239 to libthread-provided value.
a4186cff
PT
240 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
241 attribute_relro.
5d5722e8 242
37233df9
TS
2432012-05-10 Thomas Schwinge <thomas@schwinge.name>
244
be971a2b
TS
245 [BZ #3748]
246 * bits/libc-lock.h (__libc_once_get): New macro.
247 * sysdeps/mach/bits/libc-lock.h: Likewise.
248 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
249 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
250 instead of using implementation details.
251
37233df9
TS
252 * libio/fileops.c: Unconditionally include <kernel-features.h>.
253 * libio/freopen.c: Likewise.
254 * libio/freopen64.c: Likewise.
255 * misc/syslog.c: Likewise.
256 * nscd/connections.c: Likewise.
257 * nscd/netgroupcache.c: Likewise.
258 * sysdeps/posix/getcwd.c: Likewise.
259
38de94a5
RM
2602012-05-10 Roland McGrath <roland@hack.frob.com>
261
262 * math/w_ilogbf.c: Add #include <limits.h>.
263
67530489
ST
2642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
265
a4186cff 266 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
267 path instead of returning without unlocking.
268
67530489
ST
269 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
270 immediate-write ioctls.
271 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
272
5aa3a74a
TS
2732012-05-10 Thomas Schwinge <thomas@schwinge.name>
274
18bad2ae
TS
275 * sysdeps/mach/hurd/i386/init-first.c (init): Use
276 __builtin_frame_address instead of making assumptions about the
277 location of the return address relative to DATA. Force early load of
278 the return address.
279 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
280 __builtin_frame_address.
281
5aa3a74a
TS
282 dup3 for GNU Hurd.
283 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
284 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
285 implement dup3 and do some further code clean-ups.
286 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
287 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
288
ecd0de9a
ST
2892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
290
cd9fa985
ST
291 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
292
a4186cff
PT
293 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
294 HURD_CRITICAL_END around holding _hurd_dtable_lock.
295 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
296 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
297 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
298 d->port.lock.
802ca5a5 299
a4186cff
PT
300 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
301 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
302 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 303
bcf55240
TS
3042012-05-10 Thomas Schwinge <thomas@schwinge.name>
305
6960eb42
TS
306 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
307 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
308 definitions.
309
eb43375f
TS
310 accept4 for GNU Hurd.
311 * include/sys/socket.h (__libc_accept4): New prototype.
312 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
313 to implement __libc_accept4.
314 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
315 __libc_accept4.
316 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
317
bcf55240
TS
318 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
319 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
320 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
321 signal-defines.sym.
322
6178c55b
ST
3232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
324
a4186cff 325 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 326
6f080c2f
TS
3272012-05-10 Thomas Schwinge <thomas@schwinge.name>
328
329 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
330 assertion on O_CLOEXEC flag.
331 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
332 * hurd/intern-fd.c: Likewise.
333 * hurd/port2fd.c: Likewise.
334
bcfe3a54
ST
3352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
336
337 [BZ #3906]
338 * bits/in.h (IPV6_PKTINFO): Define new macro.
339 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
340
89c9aa49
AZ
3412012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
342
343 [BZ #13954]
344 [BZ #13955]
345 [BZ #13956]
346 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
347 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
348 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
349 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
350 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
351 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
352 * math/libm-test.inc (logb_test) : Additional logb tests.
353
021db4be
AJ
3542012-05-09 Andreas Schwab <schwab@linux-m68k.org>
355 Andreas Jaeger <aj@suse.de>
356
357 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
358 * configure: Regenerated.
359 * config.h.in (LINK_OBSOLETE_RPC): New macro.
360 * config.make.in (link-obsolete-rpc): New substituted variable.
361 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
362 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
363 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
364 (shared-only-routines): Don't set it under [link-obsolete-rpc],
365 so that libc.a contains the symbols.
366 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
367 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
368 * sunrpc/auth_none.c: Likewise.
369 * sunrpc/auth_unix.c: Likewise.
370 * sunrpc/authdes_prot.c: Likewise.
371 * sunrpc/authuxprot.c: Likewise.
372 * sunrpc/clnt_gen.c: Likewise.
373 * sunrpc/clnt_perr.c: Likewise.
374 * sunrpc/clnt_raw.c: Likewise.
375 * sunrpc/clnt_simp.c: Likewise.
376 * sunrpc/clnt_tcp.c: Likewise.
377 * sunrpc/clnt_udp.c: Likewise.
378 * sunrpc/clnt_unix.c: Likewise.
379 * sunrpc/des_crypt.c: Likewise.
380 * sunrpc/des_soft.c: Likewise.
381 * sunrpc/get_myaddr.c: Likewise.
382 * sunrpc/key_call.c: Likewise.
383 * sunrpc/key_prot.c: Likewise.
384 * sunrpc/netname.c: Likewise.
385 * sunrpc/pm_getmaps.c: Likewise.
386 * sunrpc/pm_getport.c: Likewise.
387 * sunrpc/pmap_clnt.c: Likewise.
388 * sunrpc/pmap_prot.c: Likewise.
389 * sunrpc/pmap_prot2.c: Likewise.
390 * sunrpc/pmap_rmt.c: Likewise.
391 * sunrpc/publickey.c: Likewise.
392 * sunrpc/rpc_cmsg.c: Likewise.
393 * sunrpc/rpc_common.c: Likewise.
394 * sunrpc/rpc_dtable.c: Likewise.
395 * sunrpc/rpc_prot.c: Likewise.
396 * sunrpc/rpc_thread.c: Likewise.
397 * sunrpc/rtime.c: Likewise.
398 * sunrpc/svc.c: Likewise.
399 * sunrpc/svc_auth.c: Likewise.
400 * sunrpc/svc_raw.c: Likewise.
401 * sunrpc/svc_run.c: Likewise.
402 * sunrpc/svc_tcp.c: Likewise.
403 * sunrpc/svc_udp.c: Likewise.
404 * sunrpc/svc_unix.c: Likewise.
405 * sunrpc/svcauth_des.c: Likewise.
406 * sunrpc/xcrypt.c: Likewise.
407 * sunrpc/xdr.c: Likewise.
408 * sunrpc/xdr_array.c: Likewise.
409 * sunrpc/xdr_float.c: Likewise.
410 * sunrpc/xdr_intXX_t.c: Likewise.
411 * sunrpc/xdr_mem.c: Likewise.
412 * sunrpc/xdr_rec.c: Likewise.
413 * sunrpc/xdr_ref.c: Likewise.
414 * sunrpc/xdr_sizeof.c: Likewise.
415 * sunrpc/xdr_stdio.c: Likewise.
416
b5c086a2
RM
4172012-05-10 Roland McGrath <roland@hack.frob.com>
418
419 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
420 change. Update copyright years.
421
6d74dd09
JM
4222012-05-10 Joseph Myers <joseph@codesourcery.com>
423
424 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
425
28e72501
MK
4262012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
427 Joseph Myers <joseph@codesourcery.com>
428 Paul Pluzhnikov <ppluzhnikov@google.com>
429
430 [BZ #14012]
431 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
432 requiring rpcgen.
433 [cross-compiling] (extra-libs): Likewise.
434 [cross-compiling] (extra-libs-others): Likewise.
435 [cross-compiling] (librpcsvc-routines): Likewise.
436 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
437 [cross-compiling] (omit-deps): Likewise.
438 (sunrpc-CPPFLAGS): New variable.
439 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
440 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
441 (cross-rpcgen-objs): New variable.
442 (extra-objs): Append $(cross-rpcgen-objs).
443 ($(cross-rpcgen-objs)): New rule.
444 ($(objpfx)cross-rpcgen): Likewise.
445 (rpcgen-cmd): Define to use $(built-program-file). Expand
446 comment.
447 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
448 ($(objpfx)x%.stmp): Likewise.
449 * sunrpc/proto.h [IS_IN_build] (_): Define.
450 [IS_IN_build] (_libc_intl_domainname): Likewise.
451
c8c59454
L
4522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
453
454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
455 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
456 and R_X86_64_TPOFF64.
457
6f27cd16
JM
4582012-05-10 Joseph Myers <joseph@codesourcery.com>
459
460 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
461 sysdeps/unix/sysv/syscalls.list.
462 (stime): Likewise.
463 (utime): Likewise.
464 * sysdeps/unix/sysv/syscalls.list: Remove file.
465
02467e1c
PE
4662012-05-10 Paul Eggert <eggert@cs.ucla.edu>
467
468 [BZ #3440]
469 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
470 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
471 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
472 (__LC_IDENTIFICATION): Make these macros useful in #if
473 expressions, as required by C99.
474
da392631
AS
4752012-05-10 Andreas Schwab <schwab@linux-m68k.org>
476
477 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
478 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
479 after this.
480
8115f29b
L
4812012-05-09 H.J. Lu <hongjiu.lu@intel.com>
482
483 * stdlib/longlong.h: Updated from GCC.
484
bdd74070
AJ
4852012-05-09 Andreas Jaeger <aj@suse.de>
486
edfe0dbe
AJ
487 * nscd/nscd.c (run_modes): Make named enum, reorder so that
488 default is first entry.
489 (run_mode): Set type.
490 (main): Remove informal message about syslog.
491 (options): Fix typo.
492
bcfe3a54
ST
493 [BZ #14053]
494 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 495 to asm.
bcfe3a54
ST
496 (lrint): Likewise.
497 (llrintf): Likewise.
498 (llrint): Likewise.
499 (rint): Likewise.
500 (rintf): Likewise.
501 (nearbyint): Likewise.
502 (nearbyintf): Likewise.
bdd74070 503
91d8d69e
AJ
5042012-05-09 Andreas Jaeger <aj@suse.de>
505 Pedro Alves <palves@redhat.com>
506
507 * nscd/nscd.c (run_mode): Use enum.
508 (main): Cleanup coding style issue.
509
bb90b80b
AJ
5102012-05-09 Alexandre Oliva <aoliva@redhat.com>
511 Andreas Jaeger <aj@suse.de>
512
bcfe3a54
ST
513 * nscd/nscd.c (go_background): Replaced with...
514 (run_mode): ... this.
bb90b80b 515 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
516 (options): Add -F --foreground.
517 (main): Implement it.
518 (parse_opt): Parse it.
bb90b80b 519
1a4b75a1
AJ
5202012-05-09 Andreas Jaeger <aj@suse.de>
521
522 [BZ #14083]
523 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
524 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
525 -Wconversion warning.
526 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
527 Likewise.
528
b1cc2472
JM
5292012-05-09 Joseph Myers <joseph@codesourcery.com>
530
531 * conform/data/locale.h-data (NULL): Use macro-constant. Require
532 == 0.
533 (LC_ALL): Use macro-int-constant.
534 (LC_COLLATE): Likewise.
535 (LC_CTYPE): Likewise.
536 (LC_MESSAGES): Likewise.
537 (LC_MONETARY): Likewise.
538 (LC_NUMERIC): Likewise.
539 (LC_TIME): Likewise.
540 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
541 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
542 [ISO || ISO99 || ISO11] (*_t): Do not allow.
543 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
544 Specify type.
545 [C99-based standards] (float_t): Expect type.
546 [C99-based standards] (double_t): Expect type.
547 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
548 type.
549 [C99-based standards] (HUGE_VALL): Likewise.
550 [C99-based standards] (INFINITY): Likewise.
551 [C99-based standards] (NAN): Likewise.
552 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
553 [C99-based standards] (FP_NAN): Likewise.
554 [C99-based standards] (FP_NORMAL): Likewise.
555 [C99-based standards] (FP_SUBNORMAL): Likewise.
556 [C99-based standards] (FP_ZERO): Likewise.
557 [C99-based standards] (FP_FAST_FMA): Use
558 optional-macro-int-constant. Specify type. Require == 1.
559 [C99-based standards] (FP_FAST_FMAF): Likewise.
560 [C99-based standards] (FP_FAST_FMAL): Likewise.
561 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
562 [C99-based standards] (FP_ILOGBNAN): Likewise.
563 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
564 Specify type.
565 [C99-based standards] (MATH_ERREXCEPT): Likewise.
566 [C99-based standards] (math_errhandling): Specify type.
567 [ISO99 || ISO11] (signgam): Do not allow.
568 [non-C99-based standards] (copysignf): Do not allow.
569 [non-C99-based standards] (exp2f): Likewise.
570 [non-C99-based standards] (log2f): Likewise.
571 [non-C99-based standards] (modff): Allow.
572 [non-C99-based standards] (erff): Do not allow.
573 [non-C99-based standards] (erfcf): Likewise.
574 [non-C99-based standards] (gammaf): Likewise.
575 [non-C99-based standards] (hypotf): Likewise.
576 [non-C99-based standards] (j0f): Likewise.
577 [non-C99-based standards] (j1f): Likewise.
578 [non-C99-based standards] (jnf): Likewise.
579 [non-C99-based standards] (lgammaf): Likewise.
580 [non-C99-based standards] (tgammaf): Likewise.
581 [non-C99-based standards] (y0f): Likewise.
582 [non-C99-based standards] (y1f): Likewise.
583 [non-C99-based standards] (ynf): Likewise.
584 [non-C99-based standards] (isnanf): Likewise.
585 [non-C99-based standards] (acoshf): Likewise.
586 [non-C99-based standards] (asinhf): Likewise.
587 [non-C99-based standards] (atanhf): Likewise.
588 [non-C99-based standards] (cbrtf): Likewise.
589 [non-C99-based standards] (expm1f): Likewise.
590 [non-C99-based standards] (ilogbf): Likewise.
591 [non-C99-based standards] (log1pf): Likewise.
592 [non-C99-based standards] (logbf): Likewise.
593 [non-C99-based standards] (nextafterf): Likewise.
594 [non-C99-based standards] (remainderf): Likewise.
595 [non-C99-based standards] (rintf): Likewise.
596 [non-C99-based standards] (scalbf): Likewise.
597 [non-C99-based standards] (copysignl): Likewise.
598 [non-C99-based standards] (exp2l): Likewise.
599 [non-C99-based standards] (log2l): Likewise.
600 [non-C99-based standards] (modfl): Allow.
601 [non-C99-based standards] (erfl): Do not allow.
602 [non-C99-based standards] (erfcl): Likewise.
603 [non-C99-based standards] (gammal): Likewise.
604 [non-C99-based standards] (hypotl): Likewise.
605 [non-C99-based standards] (j0l): Likewise.
606 [non-C99-based standards] (j1l): Likewise.
607 [non-C99-based standards] (jnl): Likewise.
608 [non-C99-based standards] (lgammal): Likewise.
609 [non-C99-based standards] (tgammal): Likewise.
610 [non-C99-based standards] (y0l): Likewise.
611 [non-C99-based standards] (y1l): Likewise.
612 [non-C99-based standards] (ynl): Likewise.
613 [non-C99-based standards] (isnanl): Likewise.
614 [non-C99-based standards] (acoshl): Likewise.
615 [non-C99-based standards] (asinhl): Likewise.
616 [non-C99-based standards] (atanhl): Likewise.
617 [non-C99-based standards] (cbrtl): Likewise.
618 [non-C99-based standards] (expm1l): Likewise.
619 [non-C99-based standards] (ilogbl): Likewise.
620 [non-C99-based standards] (log1pl): Likewise.
621 [non-C99-based standards] (logbl): Likewise.
622 [non-C99-based standards] (nextafterl): Likewise.
623 [non-C99-based standards] (remainderl): Likewise.
624 [non-C99-based standards] (rintl): Likewise.
625 [non-C99-based standards] (scalbl): Likewise.
626 [ISO || ISO99 || ISO11] (*_t): Do not allow.
627 [non-C99-based standards] (FP_*): Do not allow.
628 [C99-based standards] (FP_*): Change to
629 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
630 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
631 allow.
632 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
633 (SIG_ERR): Likewise.
634 [X/Open-based standards] (SIG_HOLD): Likewise.
635 (SIG_IGN): Likewise.
636 (SIGABRT): Use macro-int-constant. Specify type. Require
637 positive value.
638 (SIGFPE): Likewise.
639 (SIGILL): Likewise.
640 (SIGINT): Likewise.
641 (SIGSEGV): Likewise.
642 (SIGTER): Likewise.
643 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
644 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
645 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
646 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
647 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
648 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
649 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
650 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
651 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
652 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
653 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
654 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
655 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
656 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
657 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
658 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
659 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
660 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
661 [X/Open-based standards] (SIGTRAP): Likewise.
662 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
663 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
664 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
665 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
666 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
667 allow.
668
b9f1922d
IW
6692012-05-08 Ian Wienand <ianw@vmware.com>
670
671 [BZ #14080]
672 * time/tzset.c (__tzset_parse_tz): Update default rules for
673 daylight time changes in the Energy Policy Act of 2005.
674
1db86e88
AJ
6752012-05-09 Andreas Jaeger <aj@suse.de>
676
677 [BZ #13983]
678 * elf/ldconfig.c (parse_conf): Change string to make clear that
679 ldconfig only issued a warning if ld.so.conf does not exist.
680
dee4a4e3
DM
6812012-05-08 David S. Miller <davem@davemloft.net>
682
ee0db190
DM
683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
684 movxtod instead of popping the value on the stack.
685
dee4a4e3
DM
686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
687
6a43ec98
CD
6882012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
689
690 * config.h.in: Add HAVE_ARM_PCS_VFP.
691
05c2c961
RMG
6922012-05-08 Roland Mc Grath <roland@hack.frob.com>
693
bcfe3a54
ST
694 [BZ #13979]
695 * include/features.h: Warn if user requests __FORTIFY_SOURCE
696 checking but the checks are disabled for any reason.
05c2c961 697
4b30f61a
L
6982012-05-08 H.J. Lu <hongjiu.lu@intel.com>
699
700 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
701 and ELF64_R_TYPE with ELFW(R_TYPE).
702
eee2bc67
JM
7032012-05-08 Joseph Myers <joseph@codesourcery.com>
704
7ea5391a
JM
705 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
706 (ulimit): Likewise.
707
eee2bc67
JM
708 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
709 (settimeofday): Likewise.
710
abb66a67
MF
7112012-05-08 Mike Frysinger <vapier@gentoo.org>
712
713 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
714 a struct th_u2 inside the union, and move tu_block/tu_code into
715 a new th_u3 union of tu_block/tu_code inside of that. Move
716 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
717 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
718 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
719 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
720 (th_stuff): Change to th_u1.tu_stuff.
721 (th_data): Define.
722 (th_msg): Change to th_u1.th_u2.tu_data.
723
7f18b530
DM
7242012-05-07 David S. Miller <davem@davemloft.net>
725
05760585
DM
726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
727
7f18b530
DM
728 [BZ #14074]
729 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
730 (SETUP_PIC_REG): Use it.
731 (SETUP_PIC_REG_LEAF): Use it.
732
495fd99f
JM
7332012-05-07 Joseph Myers <joseph@codesourcery.com>
734
735 [BZ #13885]
736 [BZ #13923]
737 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
738 USE_AS_EXPM1L.
739 (EXPL_FINITE): Likewise.
740 (FLDLOG): Likewise.
741 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
742 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
743 e_expl.S.
744 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
745 USE_AS_EXPM1L.
746 (EXPL_FINITE): Likewise.
747 (FLDLOG): Likewise.
748 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
749 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
750 e_expl.S.
751 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
752 test of -max_value argument for long double.
753 * sysdeps/i386/fpu/libm-test-ulps: Update.
754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
755
6693d694
DM
7562012-05-06 David S. Miller <davem@davemloft.net>
757
758 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
759 quad soft-float symbols whose references which are compiler
760 generated.
761 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
762
6c23e11c
JM
7632012-05-06 Joseph Myers <joseph@codesourcery.com>
764
d8b82cad
JM
765 [BZ #13884]
766 [BZ #13914]
767 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
768 USE_AS_EXP10L.
769 (EXPL_FINITE): Likewise.
770 (FLDLOG): Likewise.
771 (c0): Likewise.
772 (c1): Likewise.
773 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
774 Adjust comments for base varying.
775 (__expl_finite): Change alias to EXPL_FINITE.
776 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
777 e_expl.S.
778 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
779 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
780 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
781 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
782 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
783 USE_AS_EXP10L.
784 (EXPL_FINITE): Likewise.
785 (FLDLOG): Likewise.
786 (c0): Likewise.
787 (c1): Likewise.
788 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
789 Adjust comments for base varying.
790 (__expl_finite): Change alias to EXPL_FINITE.
791 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
792 tests for bugs.
793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
794
6c23e11c
JM
795 [BZ #14064]
796 * math/libm-test.inc (check_float_internal): Correct ulp
797 calculation for subnormal expected results.
798
29ba805c
AJ
7992012-05-06 Andreas Jaeger <aj@suse.de>
800
801 * Makeconfig (+math-flags): New, set to -frounding-math.
802 (+cflags): Add +math-flags so that all of glibc gets compiled with
803 it.
804
805 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
806
7b17aeda
JM
8072012-05-05 Joseph Myers <joseph@codesourcery.com>
808
5779f134
JM
809 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
810 Disable one test.
811
41498f4d
JM
812 [BZ #13787]
813 [BZ #13922]
814 [BZ #14036]
815 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
816 (__ieee754_expl): Allow for and saturate large arguments.
817 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
818 (u_threshold): Likewise.
819 (__exp): Call __ieee754_exp before checking for overflow and
820 underflow.
821 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
822 (u_threshold): Likewise.
823 (__expf): Call __ieee754_expf before checking for overflow and
824 underflow.
825 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
826 (u_threshold): Likewise.
827 (__expl): Call __ieee754_expl before checking for overflow and
828 underflow.
829 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
830 (__ieee754_expl): Allow for and saturate large arguments.
831 * math/libm-test.inc (exp_test): Add another test. Do not allow
832 missing overflow exception on overflow.
833 (expm1_test): Do not allow missing overflow exception on overflow.
834
6698b8bf
JM
835 * sysdeps/i386/fpu/e_expl.c: Move to ...
836 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
837 rather than using inline asm.
838 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
839 * sysdeps/x86_64/fpu/e_expl.S: Copy from
840 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
841
7b17aeda
JM
842 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
843 (nice): Likewise.
844 (poll): Likewise.
845 (signal): Likewise.
846 (time): Likewise.
847 (times): Likewise.
848
f7c85819
JM
8492012-05-04 Joseph Myers <joseph@codesourcery.com>
850
851 * sysdeps/unix/syscalls.list (adjtime): Add entry from
852 sysdeps/unix/common/syscalls.list.
853 (fchmod): Likewise.
854 (fchown): Likewise.
855 (ftruncate): Likewise.
856 (getrusage): Likewise.
857 (gettimeofday): Likewise.
858 (setpgid): Likewise.
859 (setregid): Likewise.
860 (setreuid): Likewise.
861 (sigaction): Likewise.
862 (truncate): Likewise.
863 (vhangup): Likewise.
864 * sysdeps/unix/common/syscalls.list: Remove file.
865 * sysdeps/unix/bsd/Implies: Don't include unix/common.
866 * sysdeps/unix/sysv/linux/Implies: Likewise.
867
336270d0
L
8682012-05-04 H.J. Lu <hongjiu.lu@intel.com>
869
870 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
872 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
873 Moved to ...
874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
875 Here.
876 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
877 to ...
878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
879 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
880 to ...
881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
882 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
883 to ...
884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
885 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
886 to ...
887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
888 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
889 to ...
890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
891 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
892 to ...
893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
894 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
895 to ...
896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
897 Here.
898 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
899 to ...
900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
901 Here.
902 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
903 to ...
904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
905 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
906 Moved to ...
907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
908 Here.
909 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
910 to ...
911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
912
d128e450
JM
9132012-05-04 Joseph Myers <joseph@codesourcery.com>
914
fa8ee516
JM
915 * sysdeps/unix/common/bits/dirent.h: Remove file.
916 * sysdeps/unix/common/bits/fcntl.h: Likewise.
917
d128e450
JM
918 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
919 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
920 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
921 * sysdeps/unix/bsd/isatty.c: Likewise.
922 * sysdeps/unix/bsd/tcdrain.c: Likewise.
923 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
924 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
925
ff8faaf0 9262012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 927
62881be4 928 [BZ #13563]
31dc8730
AZ
929 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
930 long double comparison inaccuracies.
931 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
933
6fef930c
AS
9342012-05-04 Andreas Schwab <schwab@linux-m68k.org>
935
936 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
937 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
938
8f203e6c
JM
9392012-05-04 Joseph Myers <joseph@codesourcery.com>
940
941 [BZ #14049]
942 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
943 nonzero digits before rounding a hex value.
944 * stdlib/tst-strtod.c (tests): Add another test.
945
5197d9c2
AK
9462012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
947
948 * sysdeps/s390/fpu/libm-test-ulps: Update.
949
f0c1dedf
AJ
9502012-05-03 Andreas Jaeger <aj@suse.de>
951
952 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
953 does not get optimized out.
954 (malloc_opt_barrier): New.
955
a65ef2ae 9562012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 957 Roland McGrath <roland@hack.frob.com>
a65ef2ae 958
2b942cb7 959 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 960 intermediate file deletion.
2b942cb7 961 (generated): Add .symlist files.
a65ef2ae 962
54b71e02
JM
9632012-05-03 Joseph Myers <joseph@codesourcery.com>
964
965 [BZ #13775]
966 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
967 Redirect under this condition.
968 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
969 [__USE_GNU] (__dprintf_chk): Not under this condition.
970 [__USE_GNU] (__vdprintf_chk): Likewise.
971 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
972 under this condition.
973 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
974 [__USE_XOPEN2K8] (dprintf): Define under this condition.
975 [__USE_XOPEN2K8] (vdprintf): Likewise.
976 [__USE_GNU] (__dprintf_chk): Not under this condition.
977 [__USE_GNU] (__vdprintf_chk): Likewise.
978 [__USE_GNU] (dprintf): Likewise.
979 [__USE_GNU] (vdprintf): Likewise.
980
d3dfcc41
RM
9812012-05-03 Roland McGrath <roland@hack.frob.com>
982
983 * elf/Makefile (common-generated): Set this instead of generated for
984 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
985 $(all-built-dso)-derived lists.
986
7ac30cc5
AJ
9872012-05-03 Andreas Jaeger <aj@suse.de>
988
0c51e550
AJ
989 * sysdeps/i386/fpu/libm-test-ulps: Update.
990
7ac30cc5
AJ
991 * FAQ: Removed.
992 * FAQ.in: Likewise.
993 * scripts/gen-FAQ.pl: Likewise.
994 * manual/install.texi (Installation): Point to online location of
995 FAQ.
996 * Makefile (files-for-dist): Remove FAQ.
997 (FAQ): Remove.
998
d4c2917f
AM
9992012-05-02 Allan McRae <allan@archlinux.org>
1000
1001 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1002 (LDFLAGS-reldepmod5.so): Likewise.
1003 (LDFLAGS-reldep6mod1.so): Likewise.
1004 (LDFLAGS-reldep6mod4.so): Likewise.
1005 (LDFLAGS-reldep8mod3.so): Likewise.
1006 (LDFLAGS-unload4mod1.so): Likewise.
1007 (LDFLAGS-unload4mod2.so): Likewise.
1008 (LDFLAGS-tst-initorder): Likewise.
1009 (LDFLAGS-tst-initordera2.so): Likewise.
1010 (LDFLAGS-tst-initordera3.so): Likewise.
1011 (LDFLAGS-tst-initordera4.so): Likewise.
1012 (LDFLAGS-tst-initorderb2.so): Likewise.
1013 (LDFLAGS-noload): Likewise.
1014 (LDFLAGS-next): Likewise.
1015 (LDFLAGS-order2mod1.so): Likewise.
1016 (LDFLAGS-order2mod2.so): Likewise.
1017 (LDFLAGS-tst-initorder2): Likewise.
1018 (LDFLAGS-tst-initorder2a.so): Likewise.
1019 (LDFLAGS-tst-initorder2b.so): Likewise.
1020 (LDFLAGS-tst-initorder2c.so): Likewise.
1021 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1022
d77f993f
DM
10232012-05-02 David S. Miller <davem@davemloft.net>
1024
1025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1026
171a70b4
PP
10272012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1028
1029 [BZ #14055]
1030 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1031
0be196ad
AJ
10322012-05-02 Andreas Jaeger <aj@suse.de>
1033
1034 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1035 since we manipulate rounding mode.
1036 (CPPFLAGS-test-idouble.c): Likewise.
1037 (CPPFLAGS-test-ifloat.c): Likewise.
1038 (CFLAGS-test-ldouble.c): Likewise.
1039 (CFLAGS-test-double.c): Likewise.
1040 (CFLAGS-test-float.c): Likewise.
1041 (CFLAGS-test-misc.c): Likewise.
1042 (CFLAGS-test-test-fenv.c): Likewise.
1043
4f9d04aa
AZ
10442012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1045
2b942cb7
RM
1046 [BZ #2550]
1047 [BZ #2570]
1048 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1049 comparisons to determine direction to adjust input.
4f9d04aa 1050
82a79e7d
RM
10512012-05-01 Roland McGrath <roland@hack.frob.com>
1052
f5a01ca9
RM
1053 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1054 output to the target.
1055
90fe4186
RM
1056 * scripts/localplt.awk: New file.
1057 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1058 (check-localplt-CFLAGS): Variable removed.
1059 ($(all-built-dso:=.jmprel)): New static pattern rule.
1060 (generated): Add those targets.
1061 (localplt-built-dso): New variable.
1062 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1063
1064 * elf/check-localplt.c: File removed.
1065
82397ed6
RM
1066 * scripts/check-execstack.awk: New file.
1067 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1068 (check-execstack-CFLAGS): Variable removed.
1069 ($(objpfx)check-execstack.h): Target removed.
1070 ($(objpfx)execstack-default): New target.
1071 (generated): Add that instead of check-execstack.h.
1072 ($(all-built-dso:=.phdr)): New static pattern rule.
1073 (generated): Add those targets.
1074 * elf/check-execstack.c: File removed.
1075
82a79e7d
RM
1076 * scripts/check-textrel.awk: New file.
1077 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1078 (check-textrel-CFLAGS): Variable removed.
1079 (all-built-dso): Use := to define.o
1080 ($(all-built-dso:=.dyn)): New static pattern rule.
1081 (generated): Add those targets.
1082 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1083 * config.make.in (READELF): New substituted variable.
1084 * elf/check-textrel.c: File removed.
1085
62fde54f 10862012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1087
615605c9
JM
1088 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1089 allow.
1090 * conform/data/ctype.h-data [C99-based standards] (isblank):
1091 Expect function.
1092 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1093 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1095 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1096 Specify type. Require positive value.
1097 (EILSEQ): Likewise.
1098 (ERANGE): Likewise.
1099 [ISO || POSIX] (EILSEQ): Do not expect.
1100 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1101 Specify type. Require positive value.
1102 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1103 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1104 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1105 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1106 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1108 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1109 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1110 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1111 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1112 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1113 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1114 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1115 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1116 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1117 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1118 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1119 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1120 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1121 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1122 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1123 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1124 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1125 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1126 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1127 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1128 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1129 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1130 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1131 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1132 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1133 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1134 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1135 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1136 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1137 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1138 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1139 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1140 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1141 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1142 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1143 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1144 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1145 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1146 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1147 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1148 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1149 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1150 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1151 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1152 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1153 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1154 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1155 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1156 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1157 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1158 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1159 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1160 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1161 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1162 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1163 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1164 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1165 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1166 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1167 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1168 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1169 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1170 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1171 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1172 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1173 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1174 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1175 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1176 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1177 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1178 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1179 Require >= 2.
1180 (FLT_ROUNDS): Expect as macro, not constant.
1181 (FLT_MANT_DIG): Use macro-int-constant.
1182 (DBL_MANT_DIG): Likewise.
1183 (LDBL_MANT_DIG): Likewise.
1184 (FLT_DIG): Likewise.
1185 (DBL_DIG): Likewise.
1186 (LDBL_DIG): Likewise.
1187 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1188 (DBL_MIN_EXP): Likewise.
1189 (LDBL_MIN_EXP): Likewise.
1190 (FLT_MAX_EXP): Use macro-int-constant.
1191 (DBL_MAX_EXP): Likewise.
1192 (LDBL_MAX_EXP): Likewise.
1193 (FLT_MAX_10_EXP): Likewise.
1194 (DBL_MAX_10_EXP): Likewise.
1195 (LDBL_MAX_10_EXP): Likewise.
1196 (FLT_MAX): Use macro-constant.
1197 (DBL_MAX): Likewise.
1198 (LDBL_MAX): Likewise.
1199 (FLT_EPSILON): Use macro-constant. Give upper bound.
1200 (DBL_EPSILON): Likewise.
1201 (LDBL_EPSILON): Likewise.
1202 (FLT_MIN): Likewise.
1203 (DBL_MIN): Likewise.
1204 (LDBL_MIN): Likewise.
1205 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1206 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1207 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1208 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1209 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1210 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1211 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1212 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1213 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1214 [ISO11] (FLT_TRUE_MIN): Likewise.
1215 [ISO11] (LDBL_TRUE_MIN): Likewise.
1216 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1217 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1218 (SCHAR_MIN): Use macro-int-constant. Specify type.
1219 (SCHAR_MAX): Likewise.
1220 (UCHAR_MAX): Likewise.
1221 (CHAR_MIN): Likewise.
1222 (CHAR_MAX): Likewise.
1223 (MB_LEN_MAX): Use macro-int-constant.
1224 (SHRT_MIN): Use macro-int-constant. Specify type.
1225 (SHRT_MAX): Likewise.
1226 (USHRT_MAX): Likewise.
1227 (INT_MAX): Likewise.
1228 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1229 bound negative.
1230 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1231 bound with "U".
1232 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1233 bound with "L".
1234 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1235 bound negative. Suffix upper bound with "L".
1236 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1237 bound with "UL".
1238 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1239 Specify type.
1240 [C99-based standards] (LLONG_MAX): Likewise.
1241 [C99-based standards] (ULLONG_MAX): Likewise.
1242 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1243 == 0.
1244 [ISO11] (max_align_t): Require type.
1245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1246
c9140a62
JM
1247 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1248 from $CFLAGS, without defining away __attribute__ calls.
1249 (checknamespace): Use $CFLAGS_namespace.
1250
9af0bf29
JM
1251 * conform/conformtest.pl (@keywords): Only include C99 keywords
1252 for standards based on C99 or C11.
1253
343222a2
JM
1254 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1255 Disable tests.
1256 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1257 UNIX98]: Likewise.
1258
661f8cf0
JM
1259 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1260 usability of symbols in #if.
1261
ee74b9cb
JM
1262 * conform/conformtest.pl: If macro or constant types start
1263 "promoted:", expect the symbol to be of the following type
1264 promoted by the integer promotions.
62fde54f 1265
aafc49b3
JM
1266 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1267 in one place. Also handle "macro-constant".
1268
fefdf574
JM
1269 * conform/conformtest.pl: Only accept expected macro values with
1270 "==". Parse all "macro" lines in one place.
1271 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1272
f2d922fe
JM
1273 * conform/conformtest.pl: Handle braced types on "constant" lines
1274 instead of handling "typed-constant".
1275 * conform/data/signal.h-data: Use "constant" instead of
1276 "typed-constant".
1277
d22956c9
JM
1278 * conform/conformtest.pl: Handle "optional-" at start of lines in
1279 one place rather than duplicating several cases. Handle each
1280 format of "macro" line with initial "optional-".
1281
028e2e38
JM
1282 * conform/conformtest.pl: Only accept expected constant or
1283 optional-constant values with "==". Parse all "constant" lines in
1284 one place. Parse all "optional-constant" lines in one place.
1285 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1286 * conform/data/fmtmsg.h-data: Likewise.
1287 * conform/data/netinet/in.h-data: Likewise.
1288 * conform/data/tar.h-data: Likewise.
1289 * conform/data/limits.h-data: Use "==" form on "constant" and
1290 "optional-constant" lines.
1291
1b8f2850
JM
1292 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1293 Use -std=c99 for XOPEN2K.
1294 (@knownproblems): Remove.
1295 (newtoken): Don't check %isknown.
1296
a05a144b
JM
1297 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1298 Do not expect macro.
1299 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1300 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1302 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1308 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1311 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1312 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1313 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1314 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1315 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1329 [XPG3] (acosh): Likewise.
1330 [XPG3] (asinh): Likewise.
1331 [XPG3] (atanh): Likewise.
1332 [XPG3] (cbrt): Likewise.
1333 [XPG3] (expm1): Likewise.
1334 [XPG3] (ilogb): Likewise.
1335 [XPG3] (log1p): Likewise.
1336 [XPG3] (logb): Likewise.
1337 [XPG3] (nextafter): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1340 [XPG3] (remainder): Likewise.
1341 [XPG3] (rint): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1349 [UNIX98 || XOPEN2K] (scalb): Expect.
1350 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1351 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1353 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1354 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1355 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1359 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1364 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1365 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1366 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1367 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1368 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1370 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1371 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1372 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1373 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1374 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1375 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1376 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1378 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1379 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1380 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1381 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1382 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1383 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1384 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1385 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1386 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1387 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1388 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1389 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1390 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1391 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1392 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1393 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1394 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1395 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1396 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1397 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1398 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1399 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1400 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1401 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1402 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1403 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1404 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1405 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1406 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1407 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1408 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1409 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1410 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1411 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1412 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1413 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1414 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1415 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1416 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1417 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1418 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1419 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1420 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1421 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1422 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1423 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1424 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1425 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1426 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1427 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1428 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1429 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1430 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1431 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1432 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1433 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1434 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1435 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1436 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1437 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1438 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1439 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1440 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1441 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1442 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1443 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1444 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1445 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1446 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1447 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1448 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1449 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1450 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1451 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1452 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1453 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1454 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1455 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1456 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1457 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1458 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1459 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1460 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1461 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1462 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1463 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1464 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1465 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1466 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1467 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1468 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1469 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1470 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1471 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1472 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1473 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1474 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1475 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1476 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1477 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1478 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1479 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1480 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1481 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1482 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1483 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1484 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1485 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1486 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1487
73c5ebe3
JM
1488 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1489 _XOPEN_SOURCE_EXTENDED for XPG4.
1490
39c33b6c
JM
1491 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1492
62fde54f
JM
1493 * Makeconfig (localtime): Remove variable.
1494 (inst_localtime-file): Likewise.
1495
0741d64c
AS
14962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1497
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1499 Update.
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1501 Update.
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1503 Update.
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1505 Update.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1507 Update.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1509 Update.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1511 Update.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1513 Update.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1515 Update.
1516
7cb029ee
JM
15172012-05-01 Joseph Myers <joseph@codesourcery.com>
1518
1519 [BZ #2550]
1520 [BZ #2570]
1521 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1522 comparisons to determine direction to adjust input.
1523 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1524 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1525 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1526 Likewise.
1527 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1528 Likewise.
1529 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1530 Likewise.
1531 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1532 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1533 Likewise.
1534 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1535 Likewise.
1536 * math/libm-test.inc (nexttoward_test): Add more tests.
1537
412bd966
AS
15382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1539
1540 [BZ #14040]
1541 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1542 in version GLIBC_2.1, not GLIBC_2.0.
1543 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1544 Likewise.
1545
9568c0c2
JM
15462012-04-30 Joseph Myers <joseph@codesourcery.com>
1547
adfbc8ac
JM
1548 [BZ #13942]
1549 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1550 (1 - x) * (1 + x).
1551 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1552 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1553 * math/libm-test.inc (acos_test): Add more tests.
1554 (asin_test): Likewise.
1555 * sysdeps/i386/fpu/libm-test-ulps: Update.
1556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1557
5ba3cc69
JM
1558 [BZ #14034]
1559 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1560 of square root.
1561 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1562 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1563 * math/libm-test.inc (acos_test_tonearest): New function.
1564 (acos_test_towardzero): Likewise.
1565 (acos_test_downward): Likewise.
1566 (acos_test_upward): Likewise.
1567 (asin_test_tonearest): Likewise.
1568 (asin_test_towardzero): Likewise.
1569 (asin_test_downward): Likewise.
1570 (asin_test_upward): Likewise.
1571 (main): Call the new functions.
1572 * sysdeps/i386/fpu/libm-test-ulps: Update.
1573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1574
9568c0c2
JM
1575 [BZ #13884]
1576 [BZ #13924]
1577 * math/e_exp10.c: Include <float.h>.
1578 (__ieee754_exp10): Handle underflow here rather than multiplying
1579 large negative argument by M_LN10.
1580 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1581 of __ieee754_expf.
1582 * math/e_exp10l.c: Include <float.h>.
1583 (__ieee754_exp10l): Handle underflow here rather than multiplying
1584 large negative argument by M_LN10l.
1585 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1586 spurious overflow exception on underflow.
1587
5ac3ea17
MP
15882012-04-29 Marek Polacek <polacek@redhat.com>
1589
1590 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1591 (__fortify_function): New macro.
1592 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1593 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1594 __extern_always_inline.
1595 * libio/bits/stdio2.h: Likewise.
1596 * libio/bits/stdio.h: Likewise.
1597 * string/string.h: Likewise.
1598 * string/bits/string3.h: Likewise.
1599 * include/stdio.h: Likewise.
1600 * stdlib/bits/stdlib.h: Likewise.
1601 * stdlib/stdlib.h: Likewise.
1602 * rt/bits/mqueue2.h: Likewise.
1603 * rt/mqueue.h: Likewise.
1604 * posix/bits/unistd.h: Likewise.
1605 * posix/unistd.h: Likewise.
1606 * io/bits/poll2.h: Likewise.
1607 * io/bits/fcntl2.h: Likewise.
1608 * io/fcntl.h: Likewise.
1609 * io/sys/poll.h: Likewise.
1610 * misc/bits/syslog.h: Likewise.
1611 * misc/bits/syslog-ldbl.h: Likewise.
1612 * misc/sys/syslog.h: Likewise.
1613 * socket/bits/socket2.h: Likewise.
1614 * socket/sys/socket.h: Likewise.
1615 * debug/tst-chk1.c: Likewise.
1616 * wcsmbs/bits/wchar2.h: Likewise.
1617 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1618 * wcsmbs/wchar.h: Likewise.
1619
ecf0ebfb
AJ
16202012-04-29 Andreas Jaeger <aj@suse.de>
1621
1622 * Makerules (tests): Remove enable-check-abi protection.
1623 (check-abi-warn): Remove.
1624 (check-abi-%): Remove check-abi-warn usage.
1625
1626 * configure.in: Remove check-abi configure option.
1627 * configure: Regenerated.
1628 * config.make.in (enable-check-abi): Remove.
1629
6d5c57fa
AS
16302012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1631
24c5d07e 1632 [BZ #14033]
ded5180a
AS
1633 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1634 double functions to double *_finite functions.
1635
7e0d315d
AS
1636 [BZ #13941]
1637 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1638 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1639 LDBL_MIN_EXP.
1640 * stdio-common/Makefile (tests): Add tst-sprintf3.
1641 * stdio-common/tst-sprintf3.c: New file.
1642
6d5c57fa
AS
1643 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1644 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1645
0749ff8b
JM
16462012-04-28 Joseph Myers <joseph@codesourcery.com>
1647
1648 * conform/conformtest.pl: Remove duplicate typed-constant
1649 handling.
1650
8dbd5d7b
DM
16512012-04-28 David S. Miller <davem@davemloft.net>
1652
1653 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1654 (check-abi-%): Remove AWK script prerequisite and explicit
1655 abilist directory.
1656 (check-abi): Rewrite to just diff the symlist with the abilist.
1657 (config-tls, config-abi-config): Delete, no longer used.
1658 (update-abi-%): Remove AWK script and explicit abilist directory.
1659 (update-abi): Rewrite to simply compare and conditionally copy the
1660 symlist and the sysdep abilist file. Remove update-abi-config
1661 checks.
1662 * abilist/ld.abilist: Remove.
1663 * abilist/libBrokenLocale.abilist: Remove.
1664 * abilist/libanl.abilist: Remove.
1665 * abilist/libcrypt.abilist: Remove.
1666 * abilist/libdl.abilist: Remove.
1667 * abilist/librt.abilist: Remove.
1668 * abilist/libthread_db.abilist: Remove.
1669 * abilist/libutil.abilist: Remove.
1670 * scripts/extract-abilist.awk: Remove.
1671 * scripts/merge-abilist.awk: Remove.
1672 * sysdeps/generic/libcidn.abilist: New file.
1673 * sysdeps/generic/libnss_compat.abilist: New file.
1674 * sysdeps/generic/libnss_db.abilist: New file.
1675 * sysdeps/generic/libnss_dns.abilist: New file.
1676 * sysdeps/generic/libnss_files.abilist: New file.
1677 * sysdeps/generic/libnss_hesiod.abilist: New file.
1678 * sysdeps/generic/libnss_nis.abilist: New file.
1679 * sysdeps/generic/libnss_nisplus.abilist: New file.
1680 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1681 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1682 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1683 file.
1684 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1685 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1686 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1687 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1688 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1689 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1690 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1691 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1692 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1693 file.
1694 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1695 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1696 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1697 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1698 file.
1699 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1700 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1701 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1702 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1703 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1704 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1705 file.
1706 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1707 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1708 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1709 file.
1710 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1712 New file.
1713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1714 New file.
1715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1716 New file.
1717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1718 New file.
1719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1720 New file.
1721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1722 New file.
1723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1724 New file.
1725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1726 New file.
1727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1728 New file.
1729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1730 New file.
1731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1732 New file.
1733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1734 New file.
1735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1736 New file.
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1738 file.
1739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1740 New file.
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1742 New file.
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1744 file.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1746 New file.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1748 New file.
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1750 file.
1751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1752 New file.
1753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1754 New file.
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1756 New file.
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1758 New file.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1760 New file.
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1762 New file.
1763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1765 file.
1766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1767 New file.
1768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1769 file.
1770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1771 file.
1772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1773 file.
1774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1775 file.
1776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1777 file.
1778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1779 New file.
1780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1781 file.
1782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1783 file.
1784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1785 New file.
1786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1787 file.
1788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1790 file.
1791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1792 New file.
1793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1794 file.
1795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1796 file.
1797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1798 file.
1799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1800 file.
1801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1802 file.
1803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1804 New file.
1805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1806 file.
1807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1808 file.
1809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1810 New file.
1811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1812 file.
1813 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1814 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1815 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1816 file.
1817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1818 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1819 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1820 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1821 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1822 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1823 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1824 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1825 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1826 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1829 file.
1830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1831 New file.
1832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1833 file.
1834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1835 file.
1836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1837 file.
1838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1839 file.
1840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1841 file.
1842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1843 New file.
1844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1845 New file.
1846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1847 file.
1848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1849 New file.
1850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1851 file.
1852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1854 file.
1855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1856 New file.
1857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1858 file.
1859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1860 file.
1861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1862 file.
1863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1864 file.
1865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1866 file.
1867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1868 New file.
1869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1870 New file.
1871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1872 file.
1873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1874 New file.
1875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1876 file.
1877
41d73a1b
JM
18782012-04-28 Joseph Myers <joseph@codesourcery.com>
1879
1880 * conform/conformtest.pl: Fix typo in handling typed-constant from
1881 allow-header.
1882
28aeeda4
JM
18832012-04-27 Joseph Myers <joseph@codesourcery.com>
1884
adae8f5e
JM
1885 * README: Cut down references to pre-2.6 Linux kernels and
1886 Linuxthreads. Update lists of configurations in libc and ports
1887 and sort alphabetically. Say "or newer" with Linux kernel version
1888 requirements.
1889
28aeeda4
JM
1890 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1891
a462cb63
RA
18922012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1893
1894 [BZ #887]
1895 * math/libm-test.inc (logb_test_downward): New test to expose
1896 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1897 rounding mode.
1898
6ad3493e
JM
18992012-04-27 Joseph Myers <joseph@codesourcery.com>
1900
1901 [BZ #14027]
1902 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1903 to be done.
1904 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1905 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1906
2ce4f015
JM
19072012-04-26 Joseph Myers <joseph@codesourcery.com>
1908
5aeb141a
JM
1909 * sysdeps/unix/i386/brk.S: Remove file.
1910 * sysdeps/unix/i386/dl-brk.S: Likewise.
1911 * sysdeps/unix/i386/pipe.S: Likewise.
1912 * sysdeps/unix/i386/sigreturn.S: Likewise.
1913 * sysdeps/unix/i386/syscall.S: Likewise.
1914 * sysdeps/unix/i386/vfork.S: Likewise.
1915 * sysdeps/unix/i386/wait.S: Likewise.
1916
7143acae
JM
1917 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1918 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1919
2ce4f015
JM
1920 * configure.in (arm*-none*): Do not allow without
1921 --enable-hacker-mode.
1922 (netbsd*): Remove case setting base_os.
1923 (386bsd*): Likewise.
1924 (freebsd*): Likewise.
1925 (bsdi*): Likewise.
1926 (osf*): Likewise.
1927 (sunos*): Likewise.
1928 (ultrix*): Likewise.
1929 (newsos*): Likewise.
1930 (dynix*): Likewise.
1931 (*bsd*): Likewise.
1932 (sysv*): Likewise.
1933 (isc*): Likewise.
1934 (esix*): Likewise.
1935 (sco*): Likewise.
1936 (minix*): Likewise.
1937 (irix4*): Likewise.
1938 (irix6*): Likewise.
1939 (solaris[2-9]*): Likewise.
1940 (none): Likewise.
1941 * configure: Regenerated.
1942
0ac229c8
AZ
19432012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1944
1945 [BZ #11521]
1946 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1947 overflow or cancellation in calculating denominator.
1948 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1949 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1950 down expression to avoid unexpected rounding in newer GCCs.
1951 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1952
33f244f4
DM
19532012-04-26 David S. Miller <davem@davemloft.net>
1954
1955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1956 long-double compat symbols.
1957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1970
cfa1f3e8
DM
19712012-04-25 David S. Miller <davem@davemloft.net>
1972
1973 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1974 HWCAP_* values only after the memory barriers have been defined.
1975 (atomic_full_barrier): Define.
1976 (atomic_read_barrier): Define.
1977 (atomic_write_barrier): Define.
1978
6e236b92
SP
19792012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1980
1981 * shlib-versions: Add libgcc_s version information.
1982 * sysdeps/generic/libgcc_s.h: Remove.
1983 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1984 libgcc_s.h.
1985 * sysdeps/gnu/unwind-resume.c: Likewise.
1986 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1987
aab39a09
DM
19882012-04-25 David S. Miller <davem@davemloft.net>
1989
1990 * sysdeps/unix/sparc/brk.S: Delete.
1991 * sysdeps/unix/sparc/dl-brk.S: Delete.
1992 * sysdeps/unix/sparc/pipe.S: Delete.
1993 * sysdeps/unix/sparc/sysdep.S: Delete.
1994 * sysdeps/unix/sparc/sysdep.h: Delete.
1995 * sysdeps/unix/sparc/vfork.S: Delete.
1996 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1997 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1998 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1999 ret_ERRVAL, r0, r1, MOVE): Define.
2000 (JUMPTARGET): Remove.
2001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2002 sysdeps/unix/sparc/sysdep.h
2003 (ENTRY, END): Remove.
2004 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2005
a3cc4f48
JM
20062012-04-25 Joseph Myers <joseph@codesourcery.com>
2007
2ed8cda2
JM
2008 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2009 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2010 -DIS_IN_build.
2011
35d76d59
JM
2012 * timezone/README: Update upstream location and email address for
2013 tzcode and tzdata.
2014 * timezone/zdump.c: Update from tzcode 2012b.
2015 * timezone/zic.c: Likewise.
2016
a3cc4f48
JM
2017 * configure.in (libc_cv_as_needed): Remove test.
2018 * configure: Regenerated.
2019 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2020 conditional definition.
2021 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2022 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2023 * config.make.in (have-as-needed): Remove variable.
2024
ceab42c3
SP
20252012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2026 Paul Pluzhnikov <ppluzhnikov@google.com>
2027
2028 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2029 strings correctly.
2030
3ce2865f
CLT
20312012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2032
2033 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2034 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2035 * sysdeps/sh/strlen.S: Likewise.
2036
f37e0d68
JM
20372012-04-24 Joseph Myers <joseph@codesourcery.com>
2038
ae186e9a
JM
2039 * sysdeps/unix/fork.S: Remove file.
2040 * sysdeps/unix/i386/fork.S: Likewise.
2041 * sysdeps/unix/sparc/fork.S: Likewise.
2042
b96914af
JM
2043 * sysdeps/unix/system.c: Remove file.
2044 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2045
f37e0d68
JM
2046 * sysdeps/unix/getegid.S: Remove file.
2047 * sysdeps/unix/geteuid.S: Likewise.
2048
87ef29ca
RM
20492012-04-24 Roland McGrath <roland@hack.frob.com>
2050
83bcd236
RM
2051 * scripts/check-localplt.awk: New file.
2052 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2053 of diff.
2054 * scripts/data/localplt-generic.data: Add a comment.
2055
87ef29ca
RM
2056 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2057 NODE when __dir_mkfile failed.
2058 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2059 Reported by Ludovic Courtès <ludo@gnu.org>.
2060
e5a6e567
AJ
20612012-04-24 Andreas Jaeger <aj@suse.de>
2062
2063 * Makerules (common-clean): Also remove gen-as-const-headers
2064 files.
2065
c1820385
JM
20662012-04-24 Joseph Myers <joseph@codesourcery.com>
2067
2068 * Makerules (native-compile): Do not change working directory for
2069 build. Use $(OUTPUT_OPTION) in command.
2070 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2071
94e02fc4
AZ
20722012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2073
2074 [BZ #13886]
2075 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2076 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2077 * math/libm-test.inc (floor_test): Add more tests.
2078 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2079
3a533ca3
JM
20802012-04-24 Joseph Myers <joseph@codesourcery.com>
2081
940ab4b3
JM
2082 * sysdeps/unix/getdents.c: Remove file.
2083 * sysdeps/unix/sysv/getdents.c: Likewise.
2084 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2085
90e037bd
JM
2086 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2087 sysdeps/unix/mman/syscalls.list.
2088 (mmap): Likewise.
2089 (mprotect): Likewise.
2090 (msync): Likewise.
2091 (munmap): Likewise.
2092 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2093 * sysdeps/unix/mman/syscalls.list: Remove.
2094 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2095
3a533ca3
JM
2096 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2097 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2098 * configure: Regenerated.
2099 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2100 $(libgcc_s_suffix).
2101 * config.make.in (libgcc_s_suffix): Remove variable.
2102
1ad743de
JM
21032012-04-23 Joseph Myers <joseph@codesourcery.com>
2104
4ad451e2
JM
2105 * sysdeps/unix/sysv/gethostname.c: Move to ...
2106 * sysdeps/posix/gethostname.c: ... here.
2107
5e37ce39
JM
2108 * sysdeps/unix/execve.S: Remove file.
2109
1ad743de
JM
2110 * sysdeps/unix/_exit.S: Remove file.
2111
4e681b5b
AJ
21122012-04-23 Andreas Jaeger <aj@suse.de>
2113
2114 [BZ #13739]
2115 * manual/Makefile: Remove make dist support, there's no
2116 need for a stand-alone documentation tar ball.
2117 (TEXI2DVI): Define always, it's not in Makeconfig.
2118 (dist): Removed.
2119 (tar-it): Removed.
2120 (edition): Removed.
2121 (glibc-doc-$(edition).tar): Removed
2122 (%.Z): Removed.
2123 (%.gz): Removed.
2124 (%.uu): Removed.
2125 (ETAGS): Remove, it's in Makeconfig.
2126 (move-if-change): Remove, it's in Makeconfig.
2127
c0baea34
PE
21282013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2129
2130 [BZ #13970]
2131 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2132 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2133 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2134 (strtod_l, strtof_l, strtold_l): Remove __wur.
2135 It is not necessarily an error to ignore strtol's return value.
2136 One can reliably look at the stored endptr to decide whether
2137 the number had valid syntax.
2138
7c0616fa
AJ
21392012-04-21 Andreas Jaeger <aj@suse.de>
2140
803cb6b7 2141 [BZ #13739]
7c0616fa
AJ
2142 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2143
b0fe253f
JM
21442012-04-21 Joseph Myers <joseph@codesourcery.com>
2145
2146 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2147 * sysdeps/unix/sysv/Versions: Remove file.
2148
8280f22d
MT
21492012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2150
2151 [BZ #13927]
2152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2153
75ce411f 21542012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2155
2156 [BZ #7064]
2157 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2158 version from __vm86.
2159
097d59fa
JM
21602012-04-20 Joseph Myers <joseph@codesourcery.com>
2161
a90f3bcb
JM
2162 * sysdeps/unix/common/lxstat.c: Remove file.
2163 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2164
edc7ea78
JM
2165 * sysdeps/unix/sysv/Makefile: Remove file.
2166
cb78c221
JM
2167 * sysdeps/unix/sysv/direct.h: Remove file.
2168
efa6a45f
JM
2169 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2170 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2171 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2172 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2173 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2174 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2175 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2176
9c9f2d0c
JM
2177 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2178
4541c83b
JM
2179 * sysdeps/unix/xmknod.c: Remove file.
2180 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2181
f5d153a0
JM
2182 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2183
aa746595
JM
2184 * sysdeps/unix/sysv/i386/time.S: Remove file.
2185
cce5905e
JM
2186 * sysdeps/unix/fxstat.c: Remove file.
2187 * sysdeps/unix/xstat.c: Likewise.
2188 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2189
37fa3841
JM
2190 * sysdeps/unix/sysv/sigaction.c: Remove file.
2191
ff1962a3
JM
2192 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2193 (sysdep_headers): Remove variable.
2194 [termio.h not in sysdep_headers] (generated): Likewise.
2195 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2196 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2197 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2198 * sysdeps/unix/sysv/tcflow.c: Likewise.
2199 * sysdeps/unix/sysv/tcflush.c: Likewise.
2200 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2201 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2202 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2203 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2204 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2205
e7740d31
JM
2206 * sysdeps/unix/siglist.c: Remove file.
2207
ee06f18b
JM
2208 * sysdeps/unix/getppid.S: Remove file.
2209
097d59fa
JM
2210 * sysdeps/unix/mkdir.c: Remove file.
2211 * sysdeps/unix/rmdir.c: Likewise.
2212
ff3d51ec
AS
22132012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2214
2215 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2216 ERR_MAX value.
2217 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2218 errlist-compat value.
2219
50f81fd7
DM
22202012-04-18 David S. Miller <davem@davemloft.net>
2221
2222 * sysdeps/generic/memcopy.h (reg_char): Delete.
2223 * debug/strcat_chk.c: Use char, not reg_char.
2224 * debug/strcpy_chk.c: Likewise.
2225 * debug/strncat_chk.c: Likewise.
2226 * debug/strncpy_chk.c: Likewise.
2227 * string/memchr.c: Likewise.
2228 * string/memrchr.c: Likewise.
2229 * string/rawmemchr.c: Likewise.
2230 * string/strcat.c: Likewise.
2231 * string/strchr.c: Likewise.
2232 * string/strchrnul.c: Likewise.
2233 * string/strcmp.c: Likewise.
2234 * string/strcpy.c: Likewise.
2235 * string/strncat.c: Likewise.
2236 * string/strncmp.c: Likewise.
2237 * string/strncpy.c: Likewise.
2238
8ff41c46
WS
22392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2240
2241 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2242 __builtin_memcopy is called when src and dest ranges are known to not
2243 overlap.
2244
6b652f46
WS
22452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2246
2247 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2248 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2249 fwd_align_merge macro call.
2250 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2251 bwd_align_merge macro call.
2252 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2253
b282631e
WS
22542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2255
2256 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2257 bwd_align_merge macros.
2258 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2259 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2260 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2261
95aa737c
DM
22622012-04-18 David S. Miller <davem@davemloft.net>
2263
2264 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2265
7a99a614
AJ
22662012-04-18 Andreas Jaeger <aj@suse.de>
2267
2268 [BZ# 6794]
2269 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2270 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2271 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2272
2273 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2274 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2275 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2276
2277 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2278 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2279 Adjust for changed ldbl-128 files.
2280
2281 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2282 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2283 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2284
e5270c23
DM
22852012-04-17 David S. Miller <davem@davemloft.net>
2286
2287 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2288
fb5e92c9
AS
22892012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2290
2291 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2292 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2293 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2294 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2295 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2296 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2297
76da7265
AZ
22982012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2299
2300 [BZ #6794]
2301 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2302 * math/libm-test.inc: Add ilogb errno and exception tests.
2303 * math/w_ilogb.c: New file: ilogb wrapper.
2304 * math/w_ilogbf.c: New file: ilogbf wrapper.
2305 * math/w_ilogbl.c: New file: ilogbl wrapper.
2306 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2307 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2308 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2309 exception being thrown with 0.0 as argument.
2310 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2311 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2312 exception being thrown with 0.0 as argument.
2313 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2314 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2315 exception being thrown with 0.0 as argument.
2316 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2317 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2318 exception being thrown with 0.0 as argument.
2319 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2320 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2321 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2322 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2323 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2324 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2325 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2326 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2327 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2328
0396e69d
PB
23292012-04-17 Petr Baudis <pasky@ucw.cz>
2330
2331 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2332 with altivec.
2333
750b5926
MP
23342012-04-16 Marek Polacek <polacek@redhat.com>
2335
2336 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2337
751728a1
MP
23382012-04-16 Marek Polacek <polacek@redhat.com>
2339
2340 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2341 operands of fdivp instruction.
2342
34a27407
L
23432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2344
2345 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2346 * elf/tst-auditmod3b.c: Likewise.
2347 * elf/tst-auditmod4b.c: Likewise.
2348 * elf/tst-auditmod5b.c: Likewise.
2349 * elf/tst-auditmod6b.c: Likewise.
2350 * elf/tst-auditmod6c.c: Likewise.
2351 * elf/tst-auditmod7b.c: Likewise.
2352 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2353 * sysdeps/x86_64/preconfigure.in: Likewise.
2354 * sysdeps/x86_64/preconfigure: Regenerated.
2355
7e73e17d
L
23562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2357
2358 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2359 __ILP32__.
2360
c7a6ab72
AB
23612012-04-13 Antoine Balestrat <merkil33@gmail.com>
2362
2363 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2364 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2365
a9e8e0e0
CL
23662012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2367
2368 [BZ #13973]
2369 * locale/iso-639.def: Fix gl language name. Spotted by
2370 Yaron Shahrabani.
2371
ec98af7d
RM
23722012-04-12 Roland McGrath <roland@hack.frob.com>
2373
2374 [BZ #2074]
2375 * libio/libio.h (__io_write_fn): Update comment.
2376
247c3ede
PB
23772012-04-12 Petr Baudis <pasky@ucw.cz>
2378
2379 [BZ #2074]
2380 * stdio.texi (Hook Functions): The user provided writer function
2381 is not allowed to return -1.
2382
55939d6d
DM
23832012-04-11 David S. Miller <davem@davemloft.net>
2384
2385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2386
90020f5a
MF
23872012-04-11 Mike Frysinger <vapier@gentoo.org>
2388
2389 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2390 Add a leading slash to rtkaio.
2391
288f9098
JM
23922012-04-11 Jim Meyering <meyering@redhat.com>
2393
90020f5a
MF
2394 [BZ #11959]
2395 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2396 It is not necessarily an error to ignore fwrite's return
2397 value. One can reliably use ferror to test for errors after
2398 the fact.
288f9098 2399
4be2b570
L
24002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2401
2402 * bits/types.h (__snseconds_t): New type.
2403 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2404
2405 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2406 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2407 (__SNSECONDS_T_TYPE): Likewise.
2408 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2409 (__SNSECONDS_T_TYPE): Likewise.
2410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2411 (__SNSECONDS_T_TYPE): Likewise.
2412
288f9098 24132012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2414
2415 [BZ #2636]
2416 * manual/time.texi (Processor Time): Return type of times is
2417 elapsed real time since an arbitrary point in the past.
2418 (CPU Time): Move CLK_TCK from here...
2419 (Processor Time): ...to here. Correct description.
2420 * manual/conf.texi (Constants for Sysconf): Correct description of
2421 _SC_CLK_TCK.
2422
d7dd4413
DM
24232012-04-10 David S. Miller <davem@davemloft.net>
2424
2425 [BZ #13967]
2426 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2427 where the is a gap between DT_REL(A) and DT_JMPREL.
2428
b46068fc
L
24292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2430
2431 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2432 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2433 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2434
73d65cc3
SP
24352012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2436
2437 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2438 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2439 (dl_main): Handle --inhibit-cache.
2440 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2441 _dl_inhibit_cache.
2442 * elf/dl-load.c (_dl_map_object): Use it.
2443 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2444
bcc8d661
JM
24452012-04-09 Joseph Myers <joseph@codesourcery.com>
2446
8f9a2fae
JM
2447 [BZ #13872]
2448 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2449 (__ieee754_powl): Saturate large exponents rather than testing for
2450 overflow of y*log2(x).
2451 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2452 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2453 exceptions.
2454
bcc8d661
JM
2455 [BZ #11521]
2456 * math/s_ctan.c: Include <float.h>.
2457 (__ctan): Avoid internal overflow or cancellation in calculating
2458 denominator.
2459 * math/s_ctanf.c: Likewise.
2460 * math/s_ctanl.c: Likewise.
2461 * math/s_ctanh.c: Likewise.
2462 * math/s_ctanhf.c: Likewise.
2463 * math/s_ctanhl.c: Likewise.
2464 * math/libm-test.inc (ctan_test): Add more tests.
2465 (ctanh_test): Likewise.
2466 * sysdeps/i386/fpu/libm-test-ulps: Update.
2467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2468
823fbbb4
AJ
24692012-04-09 Andreas Jaeger <aj@suse.de>
2470
03879793
AJ
2471 [BZ #6894]
2472 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2473 is an optional BSD extension.
2474
823fbbb4
AJ
2475 [BZ #10254]
2476 * manual/stdio.texi (Opening Streams): Document additional fopen
2477 parameters.
2478
8de131cb
RM
24792012-04-09 Roland McGrath <roland@hack.frob.com>
2480
2481 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2482 %eax without telling the compiler.
2483
c0ed9d7d
CD
24842012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2485
2486 [BZ # 13963]
2487 * manual/install.texi: Use sourceware.org.
2488
c483f6b4
JM
24892012-04-09 Joseph Myers <joseph@codesourcery.com>
2490
d7dd9453
JM
2491 [BZ #13873]
2492 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2493 (__ieee754_pow): Generate overflow and underflow using huge*huge
2494 and tiny*tiny rather than just returning constant infinity or zero
2495 for large exponents.
2496 * math/libm-test.inc (pow_test): Require overflow exceptions for
2497 applicable cases of large exponents.
2498
c483f6b4
JM
2499 [BZ #706]
2500 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2501 (__ieee754_pow): Use iterative multiplication algorithm only for
2502 integer exponents with absolute value below 1024. Check for odd
2503 integer exponents when using algorithm for real exponents.
2504 * math/libm-test.inc (pow_test): Add more tests.
2505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2506
d2de7579
JM
25072012-04-08 Joseph Myers <joseph@codesourcery.com>
2508
2509 [BZ #13705]
2510 * math/libm-test.inc (exp_test): Do not allow overflow exception
2511 on underflow test.
2512
f77f1232
AJ
25132012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2514
2515 [BZ #13705]
2516 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2517 instead of __kernel_standard_f.
2518
3884932b
MF
25192012-04-08 Mike Frysinger <vapier@gentoo.org>
2520
2521 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2522 * sysdeps/x86_64/memset_chk.S: Likewise.
2523
54472e9c
AJ
25242012-04-08 Andreas Jaeger <aj@suse.de>
2525
6ab0fbfc
AJ
2526 [BZ #10153]
2527 * manual/startup.texi (Environment Access): Describe return value
2528 for putenv and setenv.
2529
61efba8c
AJ
2530 [BZ #6895]
2531 * manual/filesys.texi (Directory Entries): Add description for
2532 DT_LNK.
2533
95c3f29a
AJ
2534 [BZ #6890]
2535 * manual/filesys.texi (Directory Entries): Clarify that it's file
2536 system not operating system in the description of DT_UNKNOWN.
2537
54472e9c
AJ
2538 [BZ #6578]
2539 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2540
624254b1
SC
25412012-04-08 Stephen Compall <s11@member.fsf.org>
2542
2543 [BZ #6649]
2544 * manual/llio.texi (Opening and Closing Files): Add cross
2545 reference to explain mode argument.
2546
1e4920e0
MF
25472012-04-07 Mike Frysinger <vapier@gentoo.org>
2548
2549 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2550 * sysdeps/x86_64/memset_chk.S: Likewise.
2551
5ed848f3
DM
25522012-04-07 David S. Miller <davem@davemloft.net>
2553
2554 * elf/elf.h (R_SPARC_WDISP10): Define.
2555 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2556 R_SPARC_SIZE32.
2557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2558 R_SPARC_SIZE64 and R_SPARC_H34.
2559
96154cd8
CD
25602012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2561
2562 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2563 conditions and remove no longer applicable assertion.
2564
9904dc47
L
25652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2566
2567 * bits/byteswap.h: Include <features.h>.
2568 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2569 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2570
f8887d0a
L
25712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2572
2573 * bits/byteswap.h (__bswap_16): Removed.
2574 Include <bits/byteswap-16.h> to get __bswap_16.
2575 * sysdeps/i386/bits/byteswap.h: Likewise.
2576 * sysdeps/s390/bits/byteswap.h: Likewise.
2577 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2578 * bits/byteswap-16.h: New file.
2579 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2580 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2581 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2582 * string/Makefile (headers): Add bits/byteswap-16.h.
2583
62470f60
PP
25842012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2585
2586 [BZ #13895]
2587 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2588 extra indirection.
2589 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2590 * nss/tst-nss-static.c: New.
2591
4dad7bab
RM
25922012-04-06 Robert Millan <rmh@gnu.org>
2593
2594 [BZ #6486]
2595 * manual/llio.texi (File Position Primitive): lseek
2596 refers to WHENCE when it really means OFFSET.
2597
e9142a17
AJ
25982012-04-06 Andreas Jaeger <aj@suse.de>
2599
2c040eff
AJ
2600 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2601 strncmp declarations.
2602
e9142a17
AJ
2603 * abilist/libc.abilist: Add __poll and __ppoll.
2604
ff9f1c5f
DM
26052012-04-05 David S. Miller <davem@davemloft.net>
2606
dcd2ae90
DM
2607 * scripts/check-local-headers.sh: Accept a host triplet in the
2608 path matched by the exclude regexp.
2609
993eb054
DM
2610 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2611 definition.
2612 * sysdeps/powerpc/powerpc32/dl-machine.h
2613 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2614 * sysdeps/s390/s390-32/dl-machine.h
2615 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2616 * sysdeps/sparc/sparc32/dl-machine.h
2617 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2618 * sysdeps/sparc/sparc64/dl-machine.h
2619 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2620
ff9f1c5f
DM
2621 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2622 lazy binding.
48e2e132 2623 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2624 undefined symbol errors.
2625
48e2e132 2626 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2627 DT_NEEDED entries.
2628
e80d6f94
MM
26292012-04-05 Michael Matz <matz@suse.de>
2630
2631 [BZ #13592]
2632 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2633
349fa79f
AJ
26342012-04-05 Andreas Jaeger <aj@suse.de>
2635
2636 [BZ #13908]
2637 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2638 comment.
2639
f402708f
KK
26402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2641
2642 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2643 which ROUND is no valid rounding mode.
2644
2ecccfc9
KK
26452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2646
2647 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2648 read again.
2649 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2650
8a53f50f
KK
26512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2652
2653 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2654 an exception using FPU order intentionally.
2655
26562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2657
2658 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2659 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2660 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2661 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2662
d653abb7
SJ
26632012-04-05 Simon Josefsson <simon@josefsson.org>
2664
2665 [BZ #12340]
2666 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2667 EINVAL when BUFLEN is too smal.
2668
c3b1bf7d
TS
26692012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2670
2671 [BZ #13553]
2672 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2673 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2674
b1aa60f3
AJ
26752012-04-03 Andreas Jaeger <aj@suse.de>
2676
c3b1bf7d 2677 [BZ #13938]
67f60a26
AJ
2678 * manual/setjmp.texi (System V contexts): Fix sentence.
2679
b1aa60f3
AJ
2680 [BZ #13926]
2681 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2682 New macro for this case.
2683 [!__GNUC__] (__bswap_64): New inline function for this case.
2684 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2685 * bits/byteswap.h: Likewise.
2686 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2687 ull, guard with __GLIBC_HAVE_LONG_LONG.
2688
2689 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2690 __GLIBC_HAVE_LONG_LONG.
2691
2692 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2693 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2694
39c59c35
TMQMF
26952012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2696
2697 [BZ #13691]
2698 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2699 inptr and inend, rather than using last_ch.
2700
135ffda8
DM
27012012-04-02 David S. Miller <davem@davemloft.net>
2702
2703 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2704 * stdio-common/printf-parse.h (read_int): Change return type to
2705 'int', return -1 on INT_MAX overflow.
2706 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2707 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2708 overflows INT_MAX. Check for overflow of in-format-string precision
2709 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2710 SIZE_MAX not INT_MAX for integer overflow test.
2711 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2712 skip the construct in the format string but do not record anything.
2713 * stdio-common/bug22.c: Adjust to test both width/prevision
2714 INT_MAX overflow as well as total length INT_MAX overflow. Check
2715 explicitly for proper errno values.
2716
228c019e
TS
27172012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2718
302cadd3
TS
2719 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2720 CHAR_MAX.
2721 * string/test-strcmp.c [! WIDE]: Likewise.
2722 * time/tst-mktime2.c: Likewise for INT_MAX.
2723 * string/test-string.h: #include <sys/param.h> for MIN.
2724
228c019e
TS
2725 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2726 * sysdeps/i386/init-first.c (init): Likewise.
2727 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2728 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2729 * sysdeps/sh/init-first.c (init): Likewise.
2730
cfa633f5
UD
27312012-04-01 Ulrich Drepper <drepper@gmail.com>
2732
2733 * po/ru.po: Update from translation team.
d1635ef8 2734 * po/vi.po: Likewise.
cfa633f5 2735
6cd0a5ea
SP
27362012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2737
2738 * resolv/nss_dns/dns-host.c: Merge copyright years.
2739
4b43400f
LD
27402012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2741
2742 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2743 Optimize memcpy with prefetch if
2744 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2745 src, dst pointers have unequal 16 byte alignments.
2746
48c41d04
SP
27472012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2748
2749 [BZ #13928]
2750 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2751 from a CNAME entry and return the minimum ttl for the query.
2752 (gaih_getanswer_slice): Likewise.
2753
b8dc394d
JL
27542012-03-30 Jeff Law <law@redhat.com>
2755
2756 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2757 due to long keys.
2758 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2759 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2760
2f5a5ed0
JL
2761 * resolv/nss_dns/dns-host.c: Update copyright year.
2762
1d39e359
UD
27632012-03-30 Ulrich Drepper <drepper@gmail.com>
2764
c030f70c 2765 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2766 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2767
1d39e359
UD
2768 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2769 comments for sendmmsg.
2770
27712012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2772
2773 [BZ #13691]
2774 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2775 with only 1 character between 0x0041 and 0x01b0.
2776 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2777 * wcsmbs/tst-mbsnrtowcs.c: New file.
2778
20fde227
DM
27792012-03-29 David S. Miller <davem@davemloft.net>
2780
2781 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2782 small copies by hand.
2783
984a4237
JL
27842012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2785
2786 [BZ #13761]
2787 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2788 _nss_compat_initgroups_dyn): Fall back to malloc/free
2789 for large group memberships.
2790
18c9d62b
DM
27912012-03-28 David S. Miller <davem@davemloft.net>
2792
88d85d4f
DM
2793 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2794 that branches into memcpy.
2795 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2796 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2797 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2798 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2799 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2800 bits.
2801 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2802 implementation too.
2803 * sysdeps/sparc/mempcpy.S: New file.
2804
e5aa83e1
DM
2805 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2806 the IFUNC routine in the libc case.
2807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2808
88570753
DM
2809 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2810 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2811 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2812 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2813 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2814 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2815 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2816 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2817
249d7567
DM
2818 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2819 loop to 256 bytes instead of 64 bytes and fix test signedness.
2820
18c9d62b
DM
2821 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2822 * sysdeps/sparc/sparc32/Makefile: rather than here...
2823 * sysdeps/sparc/sparc64/Makefile: and here.
2824
05f3d1f6
UD
28252012-03-28 Ulrich Drepper <drepper@gmail.com>
2826
2827 * malloc/mallocbug.c: Avoid warnings about unused variables.
2828
86ae07a8
JL
28292012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2830
2831 [BZ #13760]
2832 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2833 in the right place. Discard and retry query if response is
2834 larger than input buffer size.
2835
41bf21a1
JM
28362012-03-28 Joseph Myers <joseph@codesourcery.com>
2837
d6270972
JM
2838 [BZ #369]
2839 [BZ #2678]
2840 [BZ #3866]
2841 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2842 x for large integer exponent.
2843 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2844 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2845 sign of result as needed afterwards.
2846 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2847 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2848 result for underflowing pow the same as for overflow.
2849 (__kernel_standard_l): Handle powl overflow and underflow here
2850 rather than calling __kernel_standard.
2851 * math/libm-test.inc (pow_test): Add more tests.
2852
414fca03 2853 [BZ #3868]
41bf21a1
JM
2854 [BZ #13879]
2855 [BZ #13910]
2856 [BZ #13911]
2857 [BZ #13912]
2858 [BZ #13913]
2859 [BZ #13915]
2860 [BZ #13916]
2861 [BZ #13917]
2862 [BZ #13918]
2863 [BZ #13919]
2864 [BZ #13920]
2865 [BZ #13921]
2866 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2867 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2868 (__kernel_standard_l): New function.
2869 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2870 __kernel_standard.
2871 * math/w_acosl.c (__acosl): Likewise.
2872 * math/w_asinl.c (__asinl): Likewise.
2873 * math/w_atan2l.c (__atan2l): Likewise.
2874 * math/w_atanhl.c (__atanhl): Likewise.
2875 * math/w_coshl.c (__coshl): Likewise.
2876 * math/w_exp10l.c (__exp10l): Likewise.
2877 * math/w_exp2l.c (__exp2l): Likewise.
2878 * math/w_fmodl.c (__fmodl): Likewise.
2879 * math/w_hypotl.c (__hypotl): Likewise.
2880 * math/w_j0l.c (__j0l, __y0l): Likewise.
2881 * math/w_j1l.c (__j1l, __y1l): Likewise.
2882 * math/w_jnl.c (__jnl, __ynl): Likewise.
2883 * math/w_lgammal.c (__lgammal): Likewise.
2884 * math/w_log10l.c (__log10l): Likewise.
2885 * math/w_log2l.c (__log2l): Likewise.
2886 * math/w_logl.c (__logl): Likewise.
2887 * math/w_powl.c (__powl): Likewise.
2888 * math/w_remainderl.c (__remainderl): Likewise.
2889 * math/w_scalbl.c (sysv_scalbl): Likewise.
2890 * math/w_sinhl.c (__sinhl): Likewise.
2891 * math/w_sqrtl.c (__sqrtl): Likewise.
2892 * math/w_tgammal.c (__tgammal): Likewise.
2893 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2894 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2895 * math/libm-test.inc (acos_test): Add more tests.
2896 (acosh_test): Likewise.
2897 (asin_test): Likewise.
2898 (atanh_test): Likewise.
2899 (exp_test): Likewise.
2900 (exp10_test): Likewise.
2901 (exp2_test): Likewise.
2902 (expm1_test): Likewise.
2903 (lgamma_test): Likewise.
2904 (log_test): Likewise.
2905 (log10_test): Likewise.
2906 (log1p_test): Likewise.
2907 (log2_test): Likewise.
2908 (pow_test): Do not allow some spurious overflow exceptions.
2909 (sqrt_test): Add more tests.
2910 (tgamma_test): Likewise.
2911 (y0_test): Likewise.
2912 (y1_test): Likewise.
2913 (yn_test): Likewise.
2914
dd62fda6
AB
29152012-03-27 Anton Blanchard <anton@samba.org>
2916
2917 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2918 MAP_HUGETLB.
2919 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2920 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2921 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2922
1e3cdfda
AJ
29232012-03-27 David S. Miller <davem@davemloft.net>
2924
b855ab85
DM
2925 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2926
1e3cdfda
AJ
2927 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2928 have-as-vis3 check.
2929
29302012-03-27 Andreas Jaeger <aj@suse.de>
2931
2932 * sysdeps/x86_64/elf/configure.in: Moved to ...
2933 * sysdeps/x86_64/configure.in: ... here.
2934 * sysdeps/x86_64/elf/start.S: Moved to ...
2935 * sysdeps/x86_64/start.S: ... here.
2936 * sysdeps/x86_64/elf/configure: Delete.
2937
2938 * sysdeps/x86_64/configure.in: Merge contents from
2939 sysdeps/i386/configure.in (without i686 check).
2940
2941 * sysdeps/i386/elf/Versions: Merge into ...
2942 * sysdeps/i386/Versions: ... this.
2943 * sysdeps/i386/elf/Versions: Delete file.
2944 * sysdeps/i386/elf/start.S: Moved to ...
2945 * sysdeps/i386/start.S: ...here.
2946 * sysdeps/i386/elf/configure.in: Merge into...
2947 * sysdeps/i386/configure.in: ...here.
2948 * sysdeps/i386/elf/configure.in: Delete file.
2949 * sysdeps/i386/elf/configure: Delete file.
2950
2951 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2952 * debug/backtracesyms.c: ... here.
2953 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2954 * debug/backtracesymsfd.c: ... here.
2955 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2956 * sysdeps/generic/ifunc-sel.h: ... here.
2957
2958 * sysdeps/unix/i386/start.c: Delete file.
2959 * sysdeps/unix/sparc/start.c: Delete file.
2960 * sysdeps/unix/start.c: Delete file.
2961
2962 * sysdeps/sh/elf/configure.in: Moved to ...
2963 * sysdeps/sh/configure.in: ... here.
2964 * sysdeps/sh/elf/start.S: Moved to ...
2965 * sysdeps/sh/start.S: ... here.
2966 * sysdeps/sh/elf/configure: Delete file.
2967
2968 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2969 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2970 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2971 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2972 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2973 * sysdeps/powerpc/powerpc64/start.S: here.
2974 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2975 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2976 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2977 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2978 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2979
2980 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2981 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2982 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2983 * sysdeps/powerpc/powerpc32/start.S: ... here.
2984 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2985 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2986 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2987
2988 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2989 * sysdeps/powerpc/ifunc-sel.h: ... here.
2990 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2991 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2992
2993 * sysdeps/sparc/elf/configure.in: Moved to ...
2994 * sysdeps/sparc/configure.in: ... here.
2995 * sysdeps/sparc/elf/configure: Delete file.
2996 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2997 * sysdeps/sparc/sparc32/start.S: ... here.
2998 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2999 * sysdeps/sparc/sparc64/start.S: ... here.
3000 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3001 * sysdeps/sparc/sparc32/Makefile: ... this.
3002 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3003 * sysdeps/sparc/sparc64/Makefile: ... this.
3004
3005 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3006 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3007 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3008 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3009 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3010 * sysdeps/s390/s390-32/setjmp.S: ... here.
3011 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3012 * sysdeps/s390/s390-32/configure.in: ... here.
3013 * sysdeps/s390/s390-32/elf/configure: Delete file.
3014 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3015 * sysdeps/s390/s390-32/start.S: ... here.
3016
3017 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3018 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3019 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3020 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3021 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3022 * sysdeps/s390/s390-64/setjmp.S: ... here.
3023 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3024 * sysdeps/s390/s390-64/configure.in: ... here
3025 * sysdeps/s390/s390-64/elf/configure: Delete file.
3026 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3027 * sysdeps/s390/s390-64/start.S: ... here.
3028 * sysdeps/s390/s390-64/elf/configure: Delete.
3029
3030 * configure.in: Remove support for elf directories in sysdeps.
3031
3032 * configure: Regenerated.
3033 * sysdeps/i386/configure: Regenerated.
3034 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3035 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3036 * sysdeps/s390/s390-32/configure: Regenerated.
3037 * sysdeps/s390/s390-64/configure: Regenerated.
3038 * sysdeps/sh/configure: Regenerated.
3039 * sysdeps/sparc/configure: Regenerated.
3040 * sysdeps/x86_64/configure: Regenerated.
3041
a3f61311
AS
30422012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3043
c876e002
AS
3044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3045
a3f61311
AS
3046 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3047 denormal result into account.
3048
ac4c54f0
RM
30492012-03-25 Roland McGrath <roland@hack.frob.com>
3050
3051 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3052 Reported by Allan McRae <allan@archlinux.org>.
3053
6a9b9c02
JL
30542012-03-23 Jeff Law <law@redhat.com>
3055
3056 * nss/getnssent.c (__nss_getent): Fix typo.
3057
4c42a0c1
DM
30582012-03-23 David S. Miller <davem@davemloft.net>
3059
3060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3061
1532c7ac
L
30622012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3063
3064 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3065 to pad to uint64_t for each field.
3066 (dl_tls_index): Replace unsigned long with uint64_t.
3067
3ff42526
PP
30682012-03-23 Daniel Jacobowitz <dmj@google.com>
3069 Paul Pluzhnikov <ppluzhnikov@google.com>
3070
3071 [BZ #6528]
3072 * grp/Makefile (otherlibs): Don't set it.
3073 * inet/Makefile (otherlibs): Likewise.
3074 * login/Makefile (otherlibs): Likewise.
3075 * nscd/Makefile (otherlibs): Likewise.
3076 * posix/Makefile (otherlibs): Likewise.
3077 * pwd/Makefile (otherlibs): Likewise.
3078 * rt/Makefile (otherlibs): Likewise.
3079 * sunrpc/Makefile (otherlibs): Likewise.
3080 * nss/Makefile (otherlibs): Likewise.
3081 Add libnss_files to routines and static-only-routines.
3082 ($(objpfx)getent): Remove rule.
3083 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3084 static-only-routines.
3085
7c69cd14
JM
30862012-03-22 Joseph Myers <joseph@codesourcery.com>
3087
3088 [BZ #13892]
3089 * math/s_cexp.c: Include <float.h>.
3090 (__cexp): Handle exp result overflowing not necessarily
3091 overflowing both real and imaginary parts of result.
3092 * math/s_cexpf.c: Likewise.
3093 * math/s_cexpl.c: Likewise.
3094 * math/libm-test.inc (cexp_test): Add more tests.
3095 * sysdeps/i386/fpu/libm-test-ulps: Update.
3096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3097
81b035fe
L
30982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3099
3100 * include/link.h (ELFW): New macro.
3101 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3102 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3103
1da7940c
L
31042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3105
3106 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3107 with uint64_t.
3108
b749dbb9
L
31092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3110
3111 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3112 declaration.
3113 (struct La_x32_retval): Likewise.
3114
2ff87f3f
L
31152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3116
3117 * sysdeps/x86_64/preconfigure.in: New file.
3118 * sysdeps/x86_64/preconfigure: New generated file.
3119
c0df8e69
JM
31202012-03-22 Joseph Myers <joseph@codesourcery.com>
3121
48e44791
JM
3122 [BZ #13824]
3123 * math/e_exp2l.c: Include <float.h>.
3124 (__ieee754_exp2l): Handle overflow and underflow cases
3125 separately. Only pass fractional part of argument to
3126 __ieee754_expl.
3127 * math/libm-test.inc (exp2_test): Add more tests.
3128
c0df8e69
JM
3129 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3130 negating x to take absolute value.
3131 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3132 Likewise.
3133 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3134 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3135 Likewise.
3136 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3137 computing low part if x was negated.
3138 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3139
c8e43ba7
L
31402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3141
3142 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3143 la_x32_gnu_pltexit.
3144 (pltexit): Cast int_retval to ptrdiff_t.
3145 * elf/tst-auditmod3b.c: Likewise.
3146 * elf/tst-auditmod4b.c: Likewise.
3147 * elf/tst-auditmod5b.c: Likewise.
3148 * elf/tst-auditmod6b.c: Likewise.
3149 * elf/tst-auditmod6c.c: Likewise.
3150 * elf/tst-auditmod7b.c: Likewise.
3151
3152 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3153 and x32_gnu_pltexit.
3154
3155 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3156 __ELF_NATIVE_CLASS.
3157 (La_x32_regs): New macro.
3158 (La_x32_retval): Likewise.
3159 (la_x32_gnu_pltenter): New function prototype.
3160 (la_x32_gnu_pltexit): Likewise.
3161
7998fa78
AS
31622012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3163
dcb33988
AS
3164 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3165 exponent.
3166
233fc563
AS
3167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3168
7998fa78
AS
3169 * configure.in (libc_cv_cc_nofma): Check for option to disable
3170 generation of FMA instructions.
3171 * configure: Regenerate.
3172 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3173 * sysdeps/ieee754/dbl-64/Makefile: New file.
3174 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3175 Remove brandred-fma4.
3176 (CFLAGS-brandred-fma4.c): Remove.
3177 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3178 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3179 define.
3180 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3181 define.
3182
8e95c99a
L
31832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3184
3185 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3186 LLONG_MAX != LONG_MAX.
3187 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3188 (_fitoa_word): Likewise.
3189 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3190 LLONG_MAX != LONG_MAX.
3191 * stdio-common/_itowa.h: Include <_itoa.h>.
3192 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3193 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3194 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3195 only if not defined.
3196 (_ITOA_WORD_TYPE): Likewise.
3197 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3198 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3199
6f4db457
DM
32002012-03-21 David S. Miller <davem@davemloft.net>
3201
3202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3203
7785fe5a
L
32042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3205
3206 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3207 of x86_64 when setting libc_cv_slibdir, libdir and
3208 libc_cv_localedir.
3209 * sysdeps/unix/sysv/linux/configure: Regenerated.
3210
4535cd55
JM
32112012-03-21 Joseph Myers <joseph@codesourcery.com>
3212
3213 * manual/lang.texi (Old Varargs): Remove section.
3214 (How Variadic): Update menu.
3215 (va_start): Do not mention varargs.h.
3216
17228132
TS
32172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3218 Joseph Myers <joseph@codesourcery.com>
3219
3220 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3221 link test.
3222 * configure: Regenerated.
3223
8149f976
TS
32242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3225
05f3d1f6
UD
3226 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3227 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3228 conformtest.pl
8149f976 3229
1a4ac776
JM
32302012-03-21 Joseph Myers <joseph@codesourcery.com>
3231
be22ce65
JM
3232 * NOTES: Remove.
3233 * Makefile (files-for-dist): Remove NOTES.
3234 (NOTES): Remove rule.
3235 * README: Don't refer to NOTES.
3236 * manual/creature.texi: Don't include macros.texi.
3237 * manual/intro.texi (creature.texi): Remove comment referring to
3238 NOTES.
3239
40b601fb
JM
3240 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3241 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3242 * configure: Regenerated.
3243 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3244 LIBC_TRY_CC_OPTION.
3245 (libc_cv_as_i686): Likewise.
3246 (libc_cv_cc_avx): Likewise.
3247 (libc_cv_cc_sse2avx): Likewise.
3248 (libc_cv_cc_fma4): Likewise.
3249 (libc_cv_cc_novzeroupper): Likewise.
3250 * sysdeps/i386/configure: Regenerated.
3251
1a4ac776
JM
3252 [BZ #13883]
3253 * sysdeps/i386/fpu/s_cexp.S: Remove.
3254 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3255 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3256 * math/libm-test.inc (cexp_test): Add more tests.
3257 * sysdeps/i386/fpu/libm-test-ulps: Update.
3258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3259
a458e7fe
AM
32602012-03-21 Allan McRae <allan@archlinux.org>
3261
3262 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3263
0cb7efc5
JM
32642012-03-21 Joseph Myers <joseph@codesourcery.com>
3265
3266 [BZ #13871]
3267 * math/w_exp2.c: Do not include <float.h>.
3268 (o_threshold, u_threshold): Remove.
3269 (__exp2): Calculate result before checking finiteness and calling
3270 __kernel_standard.
3271 * math/w_exp2f.c: Likewise.
3272 * math/w_exp2l.c: Likewise.
3273 * math/libm-test.inc (exp2_test): Require overflow exception for
3274 1e6 input.
2460d3aa
JM
3275
3276 [BZ #3866]
3277 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3278 range of signed 64-bit integers before using fistpll. Remove
3279 checks for whether integers fit in mantissa bits.
3280 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3281 the range of signed 32-bit integers before using fistpl. Remove
3282 checks for whether integers fit in mantissa bits.
3283 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3284 (__ieee754_powl): Test for y outside the range of signed 64-bit
3285 integers before using fistpll. Reduce 64-bit values to 63-bit
3286 ones as needed.
3287 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3288 divide-by-zero is raised for zero to large negative powers.
3289 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3290 (__ieee754_powl): Test for y outside the range of signed 64-bit
3291 integers before using fistpll. Reduce 64-bit values to 63-bit
3292 ones as needed.
3293 * math/libm-test.inc (pow_test): Add more tests.
3294
eb96ffb0
L
32952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3296
3297 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3298 <stdio-common/_itoa.h>.
3299 * debug/segfault.c: Likewise.
3300 * elf/dl-cache.c: Likewise.
3301 * elf/dl-minimal.c: Likewise.
3302 * elf/dl-misc.c: Likewise.
3303 * elf/dl-sysdep.c: Likewise.
3304 * elf/dl-version.c: Likewise.
3305 * elf/rtld.c: Likewise.
3306 * hurd/hurdsock.c: Likewise.
3307 * hurd/lookup-retry.c: Likewise.
3308 * malloc/malloc.c: Likewise.
3309 * malloc/mtrace.c: Likewise.
3310 * nscd/nscd_getgr_r.c: Likewise.
3311 * nscd/nscd_getpw_r.c: Likewise.
3312 * nscd/nscd_getserv_r.c: Likewise.
3313 * posix/getopt_init.c: Likewise.
3314 * posix/wordexp.c: Likewise.
3315 * stdio-common/_itoa.c: Likewise.
3316 * stdio-common/printf_fphex.c: Likewise.
3317 * stdio-common/vfprintf.c: Likewise.
3318 * string/_strerror.c: Likewise.
3319 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3320 * sysdeps/i386/i686/hp-timing.h: Likewise.
3321 * sysdeps/mach/_strerror.c: Likewise.
3322 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3323 * sysdeps/mach/hurd/sethostid.c: Likewise.
3324 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3325 * sysdeps/mach/xpg-strerror.c: Likewise.
3326 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3327 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3328 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3329 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3330 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3331 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3332 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3333 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3334 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3335 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3336 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3337 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3338 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3339 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3340 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3341 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3342 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3343 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3344 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3345 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3346 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3347
3348 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3349
3350 * stdio-common/_itoa.h: Moved to ...
3351 * sysdeps/generic/_itoa.h: Here.
3352
3353 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3354
3355 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3356 instead of "_itoa.h" and "_itowa.h".
3357 * stdio-common/vfprintf.: Likewise.
3358
d1af992d
L
33592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3360
3361 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3362 <bits/wordsize.h>.
3363 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3364 (__signbit): Likwise.
3365 (llrintf): Likwise.
3366 (llrint): Likwise.
3367
114883e0
L
33682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3369
3370 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3371 __WORDSIZE != 64.
3372
c135cc1b
JM
33732012-03-20 Joseph Myers <joseph@codesourcery.com>
3374
3375 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3376 OVERFLOW_EXCEPTION_OK.
3377 * math/libm-test.inc ("Philosophy"): Update comment about
3378 exception testing.
3379 (OVERFLOW_EXCEPTION): Define.
3380 (OVERFLOW_EXCEPTION_OK): Likewise.
3381 (INVALID_EXCEPTION_OK): Renumber.
3382 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3383 (IGNORE_ZERO_INF_SIGN): Likewise.
3384 (test_exceptions): Handle FE_OVERFLOW.
3385 (exp10_test): Expect overflow exceptions.
3386 (exp2_test): Likewise.
3387 (expm1_test): Likewise.
3388 (nextafter_test): Likewise.
3389 (pow_test): Likewise.
3390 (scalbn_test): Likewise.
3391 (scalbln_test): Likewise.
3392
95443d88
L
33932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3394
3395 * sysdeps/x86_64/bits/atomic.h
3396 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3397 64bit integer.
3398 (atomic_exchange_acq): Likewise.
3399 (__arch_exchange_and_add_body): Likewise.
3400 (__arch_add_body): Likewise.
3401 (atomic_add_negative): Likewise.
3402 (atomic_add_zero): Likewise.
3403
490df6c4
L
34042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3405
c2722551 3406 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3407 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3408
5e52b189
L
34092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3410
3411 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3412 Check __x86_64__ instead of __WORDSIZE.
3413
a9879d4c
L
34142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3415
3416 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3417
5df98260
DM
34182012-03-19 David S. Miller <davem@davemloft.net>
3419
e1497744
DM
3420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3421
5df98260
DM
3422 * sysdeps/sparc/fpu/fenv_private.h: New file.
3423 * sysdeps/sparc/fpu/math_private.h: Use it.
3424 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3425 Remove.
3426 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3427 (libc_feholdexcept_setroundl): Remove.
3428 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3429 Remove.
3430 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3431 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3432
b4c35121
L
34332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3434
3435 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3436 int64_t instead of long int.
3437 (INSERT_WORDS64): Likwise.
3438
56965fd7
L
34392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3440
3441 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3442 _Unwind_GetCFA return to _Unwind_Ptr first.
3443
83d1aec8
JM
34442012-03-19 Joseph Myers <joseph@codesourcery.com>
3445
1897ad44
JM
3446 [BZ #13629]
3447 * math/s_clog.c: Include <float.h>.
3448 (__clog): Scale large or subnormal inputs.
3449 * math/s_clogf.c: Likewise.
3450 * math/s_clogl.c: Likewise.
3451 * math/s_clog10.c: Include <float.h>.
3452 (M_LOG10_2): Define.
3453 (__clog10): Scale large or subnormal inputs.
3454 * math/s_clog10f.c: Likewise.
3455 * math/s_clog10l.c: Likewise.
3456 * math/libm-test.inc (clog_test): Add more tests.
3457 (clog10_test): Likewise.
3458 * sysdeps/i386/fpu/libm-test-ulps: Update.
3459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3460
7726d6a9
JM
3461 [BZ #11451]
3462 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3463 x and y.
3464 * math/libm-test.inc (atan2_test): Add another test.
3465
83d1aec8
JM
3466 * Makerules (common-objdir-compile): Remove.
3467 * sysdeps/unix/Makefile (config-generated): Do not add
3468 $(unix-generated) to variable.
3469 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3470 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3471 Remove rule.
3472 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3473 Likewise.
3474 [generic bits/local_lim.h] (before-compile): Do not append to
3475 variable.
3476 [generic bits/local_lim.h] (common-generated): Likewise.
3477 [generic sys/param.h] (before-compile): Do not append to variable.
3478 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3479 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3480 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3481 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3482 include.
3483 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3484 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3485 [generic sys/param.h] ($(addprefix
3486 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3487 [generic sys/param.h] (common-generated): Do not append to
3488 variable.
3489 [generic sys/param.h] (sysdep_headers): Likewise.
3490 [generic bits/errno.h] (before-compile): Do not append to
3491 variable.
3492 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3493 rule.
3494 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3495 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3496 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3497 [generic bits/errno.h] (common-generated): Do not append to
3498 variable.
3499 [generic bits/ioctls.h] (before-compile): Do not append to
3500 variable.
3501 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3502 rule.
3503 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3504 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3505 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3506 rule.
3507 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3508 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3509 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3510 [generic bits/ioctls.h] (common-generated): Do not append to
3511 variable.
3512 [generic sys/syscall.h] (syscall.h): Remove variable.
3513 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3514 rule.
3515 [generic sys/syscall.h] (before-compile): Do not append to
3516 variable.
3517 [generic sys/syscall.h] (common-generated): Likewise.
3518 * sysdeps/unix/errnos-tmpl.c: Remove file.
3519 * sysdeps/unix/errnos.awk: Likewise.
3520 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3521 * sysdeps/unix/ioctls.awk: Likewise.
3522 * sysdeps/unix/mk-local_lim.c: Likewise.
3523 * sysdeps/unix/snarf-ioctls: Likewise.
3524
4851a949
RH
35252012-03-19 Richard Henderson <rth@twiddle.net>
3526
bd37f2ee
RH
3527 * sysdeps/i386/fpu/fenv_private.h: New file.
3528 * sysdeps/i386/fpu/math_private.h: Use it.
3529 (math_opt_barrier, math_force_eval): Remove.
3530 (libc_feholdexcept_setround_53bit): Remove.
3531 (libc_feupdateenv_53bit): Remove.
3532 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3533 (math_opt_barrier, math_force_eval): Remove.
3534 (libc_feholdexcept): Remove.
3535 (libc_feholdexcept_setround): Remove.
3536 (libc_fetestexcept, libc_fesetenv): Remove.
3537 (libc_feupdateenv_test): Remove.
3538 (libc_feupdateenv, libc_feholdsetround): Remove.
3539 (libc_feresetround): Remove.
3540
d0adc922
RH
3541 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3542 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3543
0fe0f1f8
RH
3544 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3545 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3546 (libc_feupdateenv_testl): New.
3547 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3548 (libc_feupdateenv_testf): New.
3549 (libc_feupdateenv): Use libc_feupdateenv_test.
3550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3551 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3552
eb92c487
RH
3553 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3554 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3555 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3556 (libc_feresetround_noex): New.
3557 (libc_feresetround_noexf): New.
3558 (libc_feresetround_noexl): New.
3559 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3560 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3561 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3562 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3563 SET_RESTORE_ROUND.
3564 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3565 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3566 (__cos): Likewise.
3567 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3568 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3569 SET_RESTORE_ROUND_NOEX.
3570 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3571 SET_RESTORE_ROUND_NOEXF.
3572 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3573 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3574 (libc_feholdsetroundf): New.
3575 (libc_feresetround, libc_feresetroundf): New.
3576
7d2e8012
RH
3577 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3578 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3579 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3580
b4dabbb4
RH
3581 * sysdeps/generic/math_private.h: Include <fenv.h>.
3582 (default_libc_feholdexcept): New.
3583 (default_libc_feholdexcept_setround): New.
3584 (default_libc_fesetenv, default_libc_feupdateenv): New.
3585 (libc_feholdexcept): Only define if undefined.
3586 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3587 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3588 (libc_feholdexcept_setroundl): Likewise.
3589 (libc_feholdexcept_setround_53bit): Likewise.
3590 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3591 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3592 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3593 (libc_feupdateenv_53bit): Likewise.
3594 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3595 (libc_feholdexcept): Convert from macro to inline function.
3596 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3597 (libc_fesetenv, libc_feupdateenv): Likewise.
3598
4851a949
RH
3599 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3600 not previously defined.
3601 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3602 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3603 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3604 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3605 * sysdeps/ieee754/flt-32/math_private.h: New file.
3606 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3607 math_private.h below SET_FLOAT_WORD.
3608 (__isnan, __isinf_ns, __finite): Remove.
3609 (__isnanf, __isinf_nsf, __finitef): Remove.
3610
e79d442e
AS
36112012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3612
3613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3614
90b80344
DM
36152012-03-17 David S. Miller <davem@davemloft.net>
3616
3617 [BZ #6471]
3618 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3619 for 2.16.
3620
edc21804
DM
36212012-03-16 David S. Miller <davem@davemloft.net>
3622
77e927af
DM
3623 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3624 warnings.
3625
374976dd
DM
3626 [BZ #6471]
3627 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3628 properly.
3629 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3630 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3631 sysdep_routines when subdir is sysvipc.
3632 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3633 __getshmlba helper.
3634
edc21804
DM
3635 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3636
473c3ef3
L
36372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3638
3639 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3640 [__LP64__].
3641
eb0f39b6
L
36422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3643
3644 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3645 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3646 (__lround): Renamed to ...
3647 (__llround): This. Replace long int with long long int.
3648 Define lround functions as aliases of llround functions.
3649 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3650
6b6cd74b
L
36512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3652
3653 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3654 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3655 adresses to uintptr_t. Replace "long int" and "unsigned long
3656 int" with "greg_t" on va_arg.
3657
f1a77b01
L
36582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3659
3660 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3661 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3662
3663 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3664 Move e_machine check before EI_CLASS check. Handle x32
3665 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3666 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3667 SKIP_EM_IA_64 and include
3668 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3669
3670 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3671 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3672 (add_system_dir): New macro.
3673
3674 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3675 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3676
11b90b9f
JM
36772012-03-16 Joseph Myers <joseph@codesourcery.com>
3678
c36e1d23
JM
3679 [BZ #2551]
3680 [BZ #2552]
3681 [BZ #2553]
3682 [BZ #2554]
3683 [BZ #2562]
3684 [BZ #2563]
3685 [BZ #2565]
3686 [BZ #2566]
3687 [BZ #2576]
3688 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3689 (y0): Likewise.
3690 * math/w_j0f.c (j0f): Likewise.
3691 (y0f): Likewise.
3692 * math/w_j0l.c (__j0l): Likewise.
3693 (__y0l): Likewise.
3694 * math/w_j1.c (j1): Likewise.
3695 (y1): Likewise.
3696 * math/w_j1f.c (j1f): Likewise.
3697 (y1f): Likewise.
3698 * math/w_j1l.c (__j1l): Likewise.
3699 (__y1l): Likewise.
3700 * math/w_jn.c (jn): Likewise.
3701 (yn): Likewise.
3702 * math/w_jnf.c (jnf): Likewise.
3703 (ynf): Likewise.
3704 * math/w_jnl.c (__jnl): Likewise.
3705 (__ynl): Likewise.
3706 * math/libm-test.inc (j0_test): Add more tests.
3707 (j1_test): Likewise.
3708 (jn_test): Likewise. Add trailing semicolon to existing test.
3709 (y0_test): Likewise.
3710 (y1_test): Likewise.
3711 * sysdeps/i386/fpu/libm-test-ulps: Update.
3712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3713
11b90b9f
JM
3714 [BZ #13851]
3715 [BZ #13854]
3716 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3717 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3718 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3719 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3720 (__tanl): Set errno for infinite argument.
3721 * sysdeps/i386/fpu/mptan.c: Remove.
3722 * sysdeps/i386/fpu/s_tan.S: Likewise.
3723 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3724 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3725 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3726 * math/libm-test.inc (tan_test): Add more tests and enable more
3727 tests for double and long double.
3728 * sysdeps/i386/fpu/libm-test-ulps: Update.
3729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3730
6a1bd2a1
JK
37312012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3732
3733 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3734 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3735
10a803e0
RM
37362012-03-16 Roland McGrath <roland@hack.frob.com>
3737
3738 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3739 * configure.in: Use it for both main tree and add-ons.
3740 * configure: Regenerated.
3741
f196c7f7
L
37422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3743
3744 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3745
8848d99d
JM
37462012-03-16 Joseph Myers <joseph@codesourcery.com>
3747
96cbe7f4
JM
3748 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3749 in comment.
3750
8848d99d
JM
3751 [BZ #13851]
3752 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3753 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3754 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3755 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3756 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3757 infinite argument.
3758 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3759 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3760 != 0 for prec == 2.
3761 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3762 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3763 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3764 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3765 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3766 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3767 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3768 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3769 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3770 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3771 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3772 * math/libm-test.inc (cos_test): Add more tests and enable more
3773 tests for long double.
3774 (sin_test): Likewise.
3775 (sincos_test): Likewise.
3776 * sysdeps/i386/fpu/libm-test-ulps: Update.
3777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3778
dd7f4703
DM
37792012-03-16 David S. Miller <davem@davemloft.net>
3780
3781 * sysdeps/sparc/fpu/math_private.h: New file.
3782
006f1daa
DM
37832012-03-15 David S. Miller <davem@davemloft.net>
3784
c0c83bc8
DM
3785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3786 file.
e6a62e18 3787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3789 file.
e6a62e18
DM
3790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3796 sysdep routines.
3797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3798
88cb87d9
DM
3799 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3800 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3801
006f1daa 3802 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3804 sparc-ifunc.h
006f1daa 3805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3807 Likewise.
3808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3809 Likewise.
006f1daa
DM
3810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3814 Likewise.
006f1daa
DM
3815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3820 Likewise.
3821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3822 Likewise.
006f1daa
DM
3823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3829 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3830 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3841 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3843 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3844 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3847
11e0098e
AS
38482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3849
3850 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3851 scaling.
3852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3853
e85b09d0
AJ
38542012-03-15 Andreas Jaeger <aj@suse.de>
3855
3856 [BZ #13852]
3857 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3858 ieee754/flt-32 implementation for sin, cos and sincos.
3859 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3860 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3861 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3862 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3863 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3864 ieee754/flt-32 implementation for tan.
3865
3866 * math/libm-test.inc (cos_test): Enable some large input tests for
3867 float as well
3868 (sin_test): Likewise.
3869 (sincos_test): Likewise.
3870 (tan_test): Add tests for large input.
3871
3872 * sysdeps/i386/fpu/libm-test-ulps: Update.
3873
81c64153
AJ
38742012-03-15 Andreas Jaeger <aj@suse.de>
3875
3876 [BZ #13658]
3877 * math/libm-test.inc (cos_test): Add more test cases.
3878 (sin_test): Likewise.
3879 (sincos_test): Likewise.
3880
7bbfa5c6
AJ
38812012-03-15 Andreas Jaeger <aj@suse.de>
3882
3883 [BZ #13837]
3884 * math/libm-test.inc (cos_test): Add a test case for large input
3885 value.
3886 (sin_test): Likewise.
3887 (sincos_test): Likewise.
3888
38892012-03-15 Andreas Jaeger <aj@suse.de>,
3890 Joseph Myers <joseph@codesourcery.com>
3891
3892 [BZ #13658]
0671f479 3893 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3894 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3895 * sysdeps/i386/fpu/branred.c: Likewise.
3896 * sysdeps/i386/fpu/dosincos.c: Likewise.
3897 * sysdeps/i386/fpu/mpa.c: Likewise.
3898 * sysdeps/i386/fpu/s_cos.S: Likewise.
3899 * sysdeps/i386/fpu/s_sin.S: Likewise.
3900 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3901 * sysdeps/i386/fpu/sincos32.c: Likewise.
3902
3903 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3904 Define.
3905 (libc_feupdateenv_53bit): Define.
3906 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3907 Define.
3908 (libc_feupdateenv_53bit): Define.
3909
3910 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3911 53 bit (without extend i386 double precision).
3912
3913 * math/libm-test.inc (sincos_test): Add tests for large input.
3914 (sin): Likewise.
3915 (cos): Likewise.
3916
3917 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3918
9cad04ea
AS
39192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3920
3921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3922
f7062b9a
DM
39232012-03-15 David S. Miller <davem@davemloft.net>
3924
3925 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3926 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3927 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3928 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3941 file.
f7062b9a 3942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3944 file.
f7062b9a 3945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3947 file.
f7062b9a 3948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3950 file.
f7062b9a
DM
3951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3952 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3953 fmin/fmax sysdep routines.
3954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3955
7bd951ff
DM
39562012-03-14 David S. Miller <davem@davemloft.net>
3957
559398ab
DM
3958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3963 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3965 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3979 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3980 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3981 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3983 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3984 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3985 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3986 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3987 routines.
3988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3989 file.
559398ab 3990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3992 file.
559398ab 3993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3995 file.
559398ab 3996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3998 file.
559398ab 3999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4001 file.
559398ab 4002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4004 file.
4005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4006 file.
4007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4008 file.
4009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4010 file.
4011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4012 New file.
4013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4014 file.
4015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4016 file.
559398ab 4017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4019 file.
559398ab 4020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4022 file.
559398ab 4023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4025 file.
559398ab 4026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4028 VIS3 routines.
559398ab
DM
4029
4030 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4031 New file.
4032
5a1c1e32
DM
4033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4034
eae47a36
DM
4035 * sysdeps/sparc/configure.in: New file.
4036 * sysdeps/sparc/configure: Generate.
4037 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4038 * configure: Regenerate.
4039 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4040 * config.make.in (have-as-vis3): New.
4041 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4042 available use -Av9d instead of -Av9a.
4043 * sysdeps/sparc/sparc64/Makefile: Likewise.
4044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4046 New file.
4047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4048 file.
4049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4050 New file.
4051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4052 file.
eae47a36
DM
4053 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4054 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4055 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4056 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4057 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4058
c0c83bc8
DM
4059 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4060 fzeros/fnegs to load 0x80000000 into a float register instead of
4061 using the stack.
7bd951ff
DM
4062 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4063
bd951ccb
JM
40642012-03-14 Joseph Myers <joseph@codesourcery.com>
4065
4066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4067 bits/syscall.h.
4068 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4069 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4070 ($(inst_includedir)/bits/syscall.h): Remove rule.
4071 ($(objpfx)bits/syscall.d): Include instead of
4072 $(objpfx)syscall-list.d.
4073 (generated): Change syscall-list.h and syscall-list.d to
4074 bits/syscall.h and bits/syscall.d.
4075
bb4e6db2
RM
40762012-03-14 Roland McGrath <roland@hack.frob.com>
4077
4078 [BZ #13846]
4079 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4080
aa4a2ae1
JM
40812012-03-14 Joseph Myers <joseph@codesourcery.com>
4082
e456826d
JM
4083 [BZ #13841]
4084 * math/s_csqrt.c: Include <float.h>.
4085 (__csqrt): Scale large or subnormal inputs.
4086 * math/s_csqrtf.c: Likewise.
4087 * math/s_csqrtl.c: Likewise.
4088 * math/libm-test.inc (csqrt_test): Add more tests.
4089 * sysdeps/i386/fpu/libm-test-ulps: Update.
4090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4091
aa4a2ae1
JM
4092 [BZ #13840]
4093 * math/libm-test.inc (hypot_test): Add more tests.
4094
7c10fd35
DM
40952012-03-13 David S. Miller <davem@davemloft.net>
4096
4097 [BZ #13840]
4098 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4099 double-precision for the calculation instead of scaling.
4100
f453b98b
JM
41012012-03-13 Joseph Myers <joseph@codesourcery.com>
4102
4103 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4104 manipulate bits before adding and subtracting TWO52[sx].
4105 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4106 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4107 Likewise.
4108 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4109
09a3453f
DM
41102012-03-13 David S. Miller <davem@davemloft.net>
4111
8e59da90
DM
4112 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4113 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4114 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4115 rtld-global-offsets.h
4116 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4117
2a8ab7f2
DM
4118 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4119 large parameters.
4120
10f62770
DM
4121 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4122
5f0bdb18
DM
4123 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4124 'err' in the ifdef scope in which it is actually used.
4125
09a3453f
DM
4126 * nss/nss_db/db-init.c: Include string.h
4127
b4b2eb5e
DM
41282012-03-12 David S. Miller <davem@davemloft.net>
4129
98bb2f1c
DM
4130 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4131 masking out of the most significant byte of random value used.
4132 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4133 Fix coding style in previous change.
4134
b4b2eb5e
DM
4135 * sysdeps/unix/sysv/linux/kernel-features.h
4136 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4137 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4138 expression.
4139 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4140 later.
4141
6e226b09
DM
41422012-03-11 David S. Miller <davem@davemloft.net>
4143
a1bcbd40
DM
4144 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4145 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4146 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4147 for 'resultvar' otherwise things get truncated on 64-bit.
4148
cb9d6174
DM
4149 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4150 Fix masking out of the most significant byte of random value used.
4151
6e226b09
DM
4152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4153
058c132d
AS
41542012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4155
4156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4157
2d2cd515
DM
41582012-03-09 David S. Miller <davem@davemloft.net>
4159
4160 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4161 variables with appropriate CPP guards.
4162 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4163 frame pointer, not the stack pointer. Correct layout comments. Fix test
4164 on resulting framesize and the management of the outregs buffer for pltexit.
4165 Preserve floating point return values across _dl_call_pltexit call.
4166 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4167 framesize and the management of the outregs buffer for pltexit.
4168 Preserve floating point return values across _dl_call_pltexit
4169 call.
4170 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4171 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4172 (print_exit): Fix format string for return register value.
4173
9a07f9d0
JM
41742012-03-10 Joseph Myers <joseph@codesourcery.com>
4175
4176 * sunrpc/Makefile (others): Add rpcgen.
4177 ($(objpfx)rpcgen): Remove special build rule and dependency on
4178 libc.
4179 * sunrpc/rpcgen.c: New file.
4180
547b5e30
PE
41812012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4182
c524201a
PE
4183 [BZ #13673]
4184 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4185 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4186 * sysdeps/i386/crti.S: Likewise.
4187 * sysdeps/i386/crtn.S: Likewise.
4188 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4189 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4190 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4191 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4192 * sysdeps/sh/crti.S: Likewise.
4193 * sysdeps/sh/crtn.S: Likewise.
4194 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4195
7b6235f2
PE
4196 [BZ #13673]
4197 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4198 with URL.
4199 * locale/programs/locfile-kw.gperf: Likewise.
4200 * locale/programs/charmap-kw.h: Regenerated.
4201 * locale/programs/locfile-kw.h: Likewise.
4202
547b5e30
PE
4203 [BZ #13673]
4204 * intl/plural.y: Replace FSF snail mail address with URL.
4205 * intl/plural.c: Regenerated.
4206
5f0a5dae
RH
42072012-03-09 Richard Henderson <rth@twiddle.net>
4208
4209 * include/math_private.h: Remove file.
4210 * math/math_private.h: Move file ...
4211 * sysdeps/generic/math_private.h: ... here.
4212
b8c03620
RH
4213 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4214 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4215 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4216
4e234f5d 4217 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4218 and <math_private.h>.
4219 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4220 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4221 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4222 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4223 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4281 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4282 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4283 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4284 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4285 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4288 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4290 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4291 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4293 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4294 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4296 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4298 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4299 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4300 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4301 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4303 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4304 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4306 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4307 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4308 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4309 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4310 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4311 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4312 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4313 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4314 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4315 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4316 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4317 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4318 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4319 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4320 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4321 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4322 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4323 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4324 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4325 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4326 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4327 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4328 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4329 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4330 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4331 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4332 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4333 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4334 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4335 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4336 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4337 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4338 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4339 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4340 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4341 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4342 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4343 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4344 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4345 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4346 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4347 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4348 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4349 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4350 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4351 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4352 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4353 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4354 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4355 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4356 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4357 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4358 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4359 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4360 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4361 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4362 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4363 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4364 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4365 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4366 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4367 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4368 * sysdeps/ieee754/k_standard.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4421 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4436 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4439 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4442 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4443 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4446 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4452 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4453 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4460 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4462 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4468 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4470 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4472 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4473 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4474 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4475 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4476 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4478 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4480 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4481 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4482 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4484 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4485 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4486 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4487 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4488 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4489 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4490 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4491 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4492 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4493 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4496 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4497 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4498 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4499 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4500 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4501 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4502 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4503 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4504 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4505 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4506 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4507 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4508 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4509 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4510 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4511 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4512 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4513 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4514 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4515 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4516 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4517 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4518 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4519 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4520 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4521 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4522 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4523 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4524 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4525 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4526 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4527 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4528 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4529 * sysdeps/ieee754/s_lib_version.c: Likewise.
4530 * sysdeps/ieee754/s_matherr.c: Likewise.
4531 * sysdeps/ieee754/s_signgam.c: Likewise.
4532 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4533 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4534 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4535 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4536 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4537 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4538 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4539 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4540 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4541 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4542 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4543 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4544 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4545 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4546 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4547 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4548 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4549 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4550 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4551 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4552 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4553
1991fa03
JM
45542012-03-09 Joseph Myers <joseph@codesourcery.com>
4555
4556 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4557 * sunrpc/rpc_main.c: Likewise.
4558 * sunrpc/rpc_svcout.c: Likewise.
4559
60d6f5a6
DM
45602012-03-09 David S. Miller <davem@davemloft.net>
4561
4562 * include/math_private.h: New file.
4563
4962050e
JM
45642012-03-09 Joseph Myers <joseph@codesourcery.com>
4565
02a6f887
JM
4566 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4567 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4568 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4569 from <bits/socket_type.h>.
4570 (enum __socket_type): Don't define here.
4571 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4572 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4573 bits/socket_type.h.
4574
c6e013c1
JM
4575 [BZ #13566]
4576 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4577 checking __USE_GNU.
4578
4962050e
JM
4579 * Makerules ($(inst_includedir)/%.h): New rule.
4580 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4581 (install-others): Remove variable setting.
4582 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4583
38842f45
RH
45842012-03-08 Richard Henderson <rth@twiddle.net>
4585
67bb6da6
RH
4586 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4587 from macro to inline function; merge with the
4588 !__LIBC_INTERNAL_MATH_INLINES version.
4589 (__ieee754_sqrtf): Likewise.
4590
15194b4b
RH
4591 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4592 to inline function.
4593 (__rintf, __floor, __floorf): Likewise.
4594
64e21ede
RH
4595 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4596 macro to inline function.
4597 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4598
38842f45
RH
4599 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4600 not <math/math_private.h>.
4601
c64bf5fe
DM
46022012-03-08 David S. Miller <davem@davemloft.net>
4603
4604 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4605 copyright year.
4606 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4607
82d86f28
TS
46082012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4609
4610 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4611 normalization.
4612 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4613 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4614
aea5d727
UD
46152012-03-08 Ulrich Drepper <drepper@gmail.com>
4616
4617 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4618 be defined individually, they must be defined as a block. Define
4619 S for printing a string instead of hidint the different by using a
4620 macro for adding the 'l'.
4621 * stdio-common/tst-fphex-wide.c: Adjust.
4622
70bca0a3
MP
46232012-03-07 Marek Polacek <polacek@redhat.com>
4624
4625 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4626
65b81130
MP
46272012-03-08 Marek Polacek <polacek@redhat.com>
4628
4629 [BZ #13806]
4630 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4631 * stdio-common/tst-fphex.c: Define a few macros to make the
4632 test reusable. Use them.
4633 * stdio-common/tst-fphex-wide.c: New file.
4634
07037eeb
JM
46352012-03-08 Joseph Myers <joseph@codesourcery.com>
4636
a7a93d50
JM
4637 [BZ #6911]
4638 * manual/macros.texi (gnusystems): New macro.
4639 (nongnusystems): Likewise.
4640 (gnulinuxhurdsystems): Likewise.
4641 (gnuhurdsystems): Likewise..
4642 (gnulinuxsystems): Likewise.
4643 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4644 variants of the GNU system, not "GNU system".
4645 * manual/conf.texi: Likewise.
4646 * manual/errno.texi: Likewise. Update example of errno macro
4647 expansion.
4648 * manual/filesys.texi: Likewise.
4649 (getumask): Document as specific to GNU/Hurd.
4650 * manual/install.texi: Likewise. Reword some references to
4651 GNU/Linux.
4652 * manual/intro.texi: Likewise.
4653 * manual/io.texi: Likewise.
4654 (File Name Portability): Detail which constraints are inapplicable
4655 to all GNU systems and which are only inapplicable to GNU/Hurd.
4656 * manual/job.texi: Likewise.
4657 * manual/llio.texi: Likewise.
4658 (O_NOCTTY): Document as present on GNU/Linux.
4659 * manual/maint.texi: Likewise.
4660 * manual/memory.texi: Likewise.
4661 * manual/pattern.texi: Likewise.
4662 * manual/pipe.texi: Likewise.
4663 * manual/process.texi: Likewise.
4664 * manual/resource.texi: Likewise.
4665 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4666 child on GNU/Hurd.
4667 * manual/setjmp.texi: Likewise.
4668 * manual/signal.texi: Likewise.
4669 * manual/startup.texi: Likewise.
4670 * manual/stdio.texi: Likewise.
4671 * manual/terminal.texi: Likewise.
4672 (ONLCR): Document as POSIX.
4673 (OXTABS): Document availability on GNU/Linux as XTABS.
4674 (ONOEOT): Document availability separately from other bits.
4675 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4676 * manual/time.texi: Likewise.
4677 * manual/users.texi: Likewise.
4678 * INSTALL: Regenerated.
4679 * sysdeps/gnu/errlist.c: Regenerated.
4680
07037eeb
JM
4681 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4682 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4683 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4684 puts.
4685 * configure: Regenerated.
4686
d1d3431a
JM
46872012-03-07 Joseph Myers <joseph@codesourcery.com>
4688
af6a1e37
JM
4689 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4690 default includes instead of AC_HEADER_CHECK.
4691 * sysdeps/i386/configure: Regenerated.
4692
d1d3431a
JM
4693 [BZ #10716]
4694 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4695 * math/s_cacoshf.c (__cacoshf): Likewise.
4696 * math/s_cacoshl.c (__cacoshl): Likewise.
4697 * math/s_casinh.c (__casinh): Set signs of result from argument.
4698 * math/s_casinhf.c (__casinhf): Likewise.
4699 * math/s_casinhl.c (__casinhl): Likewise.
4700 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4701 (casinh_test): Add more tests.
4702 * sysdeps/i386/fpu/libm-test-ulps: Update.
4703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4704
482ff4da
UD
47052012-03-07 Ulrich Drepper <drepper@gmail.com>
4706
872fda05
UD
4707 * po/zh_TW.po: Update from translation team.
4708
a4300c7a
UD
4709 * login/Makefile (distribute): Remove variable.
4710 * catgets/Makefile: Likewise.
4711 * mach/Makefile: Likewise.
4712 * malloc/Makefile: Likewise.
4713 * misc/Makefile: Likewise.
4714 * iconv/Makefile: Likewise.
4715 * nscd/Makefile: Likewise.
4716 * hurd/Makefile: Likewise.
4717 * manual/Makefile: Likewise.
4718 * locale/Makefile: Likewise.
4719 * intl/Makefile: Likewise.
4720 * conform/Makefile: Likewise.
4721 * nss/Makefile: Likewise.
4722 * time/Makefile: Likewise.
4723 * soft-fp/Makefile: Likewise.
4724 * dirent/Makefile: Likewise.
4725 * gmon/Makefile: Likewise.
4726 * po/Makefile: Likewise.
4727 * rt/Makefile: Likewise.
4728 * socket/Makefile: Likewise.
4729 * math/Makefile: Likewise.
4730 * signal/Makefile: Likewise.
4731 * debug/Makefile: Likewise.
4732 * elf/Makefile: Likewise.
4733 * timezone/Makefile: Likewise.
4734 * stdlib/Makefile: Likewise.
4735 * iconvdata/Makefile: Likewise.
4736 * sunrpc/Makefile: Likewise.
4737 * io/Makefile: Likewise.
4738 * argp/Makefile: Likewise.
4739 * inet/Makefile: Likewise.
4740 * hesiod/Makefile: Likewise.
4741 * grp/Makefile: Likewise.
4742 * csu/Makefile: Likewise.
4743 * wctype/Makefile: Likewise.
4744 * crypt/Makefile: Likewise.
4745 * libio/Makefile: Likewise.
4746 * string/Makefile: Likewise.
4747 * nis/Makefile: Likewise.
4748 * resolv/Makefile: Likewise.
4749 * stdio-common/Makefile: Likewise.
4750 * wcsmbs/Makefile: Likewise.
4751 * dlfcn/Makefile: Likewise.
4752 * posix/Makefile: Likewise.
4753
3b7c4e74 4754 [BZ #6959]
482ff4da
UD
4755 * timezone/Makefile: Don't install timezone files, just the programs
4756 and scripts.
4757
f72ed77d
UD
47582012-03-06 Ulrich Drepper <drepper@gmail.com>
4759
a000466f
UD
4760 * nss/databases.def: Add missing gshadow entry.
4761
f72ed77d
UD
4762 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4763
a53b7a4e
MP
47642012-03-06 Marek Polacek <polacek@redhat.com>
4765
4766 [BZ #13726]
4767 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4768 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4769 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4770 * stdio-common/tst-long-dbl-fphex.c: New file.
4771
e9258400
DM
47722012-03-06 David S. Miller <davem@davemloft.net>
4773
4774 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4775 (set_obp_int): New function.
4776 (get_obp_int): New function.
4777 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4778 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4779 Avoid unused variable warnings on 'val' and use builtin_expect.
4780 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4781 __builtin_expect.
e9258400
DM
4782 (INLINE_CLONE_SYSCALL): Likewise.
4783
3bd2c723
DM
47842012-03-05 David S. Miller <davem@davemloft.net>
4785
4786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4787
bbb78d03
AS
47882012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4789
884c5db4
AS
4790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4791
bbb78d03
AS
4792 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4793 only for |x| >= 40.
4794 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4795
1c9f702a 47962012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4797
4798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4799 Replace gettimeofday with __vdso_gettimeofday.
4800
7be16f82
RM
4801 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4802 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4803 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4804
4805 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4806 time with __vdso_time.
4807
ed58a00f
JM
48082012-03-05 Joseph Myers <joseph@codesourcery.com>
4809
4810 * manual/lang.texi (size_t): Note types to which size_t may be
4811 equivalent with the GNU C Library, but do not describe when
4812 differences between them are significant.
4813
30ee4ced
AJ
48142012-03-05 Andreas Jaeger <aj@suse.de>
4815
4816 * sysdeps/i386/fpu/libm-test-ulps: Update.
4817
b7cd39e8
JM
48182012-03-05 Joseph Myers <joseph@codesourcery.com>
4819
4820 [BZ #3976]
4821 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4822 (__ieee754_pow): Save and restore rounding mode and use
4823 round-to-nearest for main computations.
4824 * math/libm-test.inc (pow_test_tonearest): New function.
4825 (pow_test_towardzero): Likewise.
4826 (pow_test_downward): Likewise.
4827 (pow_test_upward): Likewise.
4828 (main): Call the new functions.
4829 * sysdeps/i386/fpu/libm-test-ulps: Update.
4830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4831
4832 [BZ #3976]
4833 * math/libm-test.inc (cosh_test_tonearest): New function.
4834 (cosh_test_towardzero): Likewise.
4835 (cosh_test_downward): Likewise.
4836 (cosh_test_upward): Likewise.
4837 (sinh_test_tonearest): Likewise.
4838 (sinh_test_towardzero): Likewise.
4839 (sinh_test_downward): Likewise.
4840 (sinh_test_upward): Likewise.
4841 (main): Call the new functions.
4842 * sysdeps/i386/fpu/libm-test-ulps: Update.
4843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4844
6c6a98c9
TV
48452012-03-05 Tom de Vries <tom@codesourcery.com>
4846
4847 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4848 default stack guard is set in last bytes.
4849 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4850
21bb2d2e 48512012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4852
21bb2d2e 4853 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4854
21bb2d2e
AJ
4855 [BZ #13656]
4856 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4857 possibly allocate from heap instead of stack.
4858 * stdio-common/bug-vfprintf-nargs.c: New file.
4859 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4860
c6922934
AS
48612012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4862
4863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4864
bc957d53
MP
48652012-03-03 Marek Polacek <polacek@redhat.com>
4866
4867 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4868 * math/math_private.h: Likewise.
4869 * stdlib/tst-strtod.c: Likewise.
4870 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4871 * sysdeps/x86_64/bits/atomic.h: Likewise.
4872
6358490d
DM
48732012-03-02 David S. Miller <davem@davemloft.net>
4874
4875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4879 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4880 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4881 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4882 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4883
01ae168d
RM
48842012-03-02 Roland McGrath <roland@hack.frob.com>
4885
d9a17c07
RM
4886 [BZ #13792]
4887 * manual/examples/README: New file, says the example source files
4888 can be used under GPL>=2.
4889 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4890 line containing just "*/".
4891 * manual/examples/add.c: Add copyright header (GPL>=2).
4892 * manual/examples/argp-ex1.c: Likewise.
4893 * manual/examples/argp-ex2.c: Likewise.
4894 * manual/examples/argp-ex3.c: Likewise.
4895 * manual/examples/argp-ex4.c: Likewise.
4896 * manual/examples/atexit.c: Likewise.
4897 * manual/examples/db.c: Likewise.
4898 * manual/examples/dir.c: Likewise.
4899 * manual/examples/dir2.c: Likewise.
4900 * manual/examples/execinfo.c: Likewise.
4901 * manual/examples/filecli.c: Likewise.
4902 * manual/examples/filesrv.c: Likewise.
4903 * manual/examples/fmtmsgexpl.c: Likewise.
4904 * manual/examples/genpass.c: Likewise.
4905 * manual/examples/inetcli.c: Likewise.
4906 * manual/examples/inetsrv.c: Likewise.
4907 * manual/examples/isockad.c: Likewise.
4908 * manual/examples/longopt.c: Likewise.
4909 * manual/examples/memopen.c: Likewise.
4910 * manual/examples/memstrm.c: Likewise.
4911 * manual/examples/mkfsock.c: Likewise.
4912 * manual/examples/mkisock.c: Likewise.
4913 * manual/examples/mygetpass.c: Likewise.
4914 * manual/examples/pipe.c: Likewise.
4915 * manual/examples/popen.c: Likewise.
4916 * manual/examples/rprintf.c: Likewise.
4917 * manual/examples/search.c: Likewise.
4918 * manual/examples/select.c: Likewise.
4919 * manual/examples/setjmp.c: Likewise.
4920 * manual/examples/sigh1.c: Likewise.
4921 * manual/examples/sigusr.c: Likewise.
4922 * manual/examples/stpcpy.c: Likewise.
4923 * manual/examples/strdupa.c: Likewise.
4924 * manual/examples/strftim.c: Likewise.
4925 * manual/examples/strncat.c: Likewise.
4926 * manual/examples/subopt.c: Likewise.
4927 * manual/examples/swapcontext.c: Likewise.
4928 * manual/examples/termios.c: Likewise.
4929 * manual/examples/testopt.c: Likewise.
4930 * manual/examples/testpass.c: Likewise.
4931 * manual/examples/timeval_subtract.c: Likewise.
4932
01ae168d
RM
4933 [BZ #13792]
4934 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4935 function to ...
4936 * manual/timeval_subtract.c.texi: ... here, new file.
4937
49efa33d
DM
49382012-03-02 David S. Miller <davem@davemloft.net>
4939
4940 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4941
28afd92d
JM
49422012-03-02 Joseph Myers <joseph@codesourcery.com>
4943
804360ed
JM
4944 [BZ #3976]
4945 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4946 (__sin): Save and restore rounding mode and use round-to-nearest
4947 for all computations.
4948 (__cos): Save and restore rounding mode and use round-to-nearest
4949 for all computations.
4950 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4951 <fenv.h>.
4952 (tan): Save and restore rounding mode and use round-to-nearest for
4953 all computations.
4954 * math/libm-test.inc (cos_test_tonearest): New function.
4955 (cos_test_towardzero): Likewise.
4956 (cos_test_downward): Likewise.
4957 (cos_test_upward): Likewise.
4958 (sin_test_tonearest): Likewise.
4959 (sin_test_towardzero): Likewise.
4960 (sin_test_downward): Likewise.
4961 (sin_test_upward): Likewise.
4962 (tan_test_tonearest): Likewise.
4963 (tan_test_towardzero): Likewise.
4964 (tan_test_downward): Likewise.
4965 (tan_test_upward): Likewise.
4966 (main): Call the new functions.
4967 * sysdeps/i386/fpu/libm-test-ulps: Update.
4968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4969
a6d06d7b
JM
4970 [BZ #10135]
4971 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4972 small n, then large n, before computing and testing k+n.
4973 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4974 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4975 Likewise.
4976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4977 Likewise.
4978 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4979 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4980 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4981 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4982 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4983 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4984 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4985 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4986 * math/libm-test.inc (scalbn_test): Add more tests.
4987 (scalbln_test): Likewise.
4988
07e12bb3
JM
4989 * manual/filesys.texi (mode_t): Describe constraints on size and
4990 signedness, not exact equivalence to a particular type.
4991 (ino_t): Likewise.
4992 (ino64_t): Likewise.
4993 (dev_t): Likewise.
4994 (nlink_t): Likewise.
4995 (blkcnt_t): Likewise.
4996 (blkcnt64_t): Likewise.
4997 * manual/llio.texi (off_t): Likewise.
4998
28afd92d
JM
4999 [BZ #3976]
5000 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5001 (__ieee754_exp): Save and restore rounding mode and use
5002 round-to-nearest for all computations.
5003 * math/libm-test.inc (exp_test_tonearest): New function.
5004 (exp_test_towardzero): Likewise.
5005 (exp_test_downward): Likewise.
5006 (exp_test_upward): Likewise.
5007 (main): Call the new functions.
5008 * sysdeps/i386/fpu/libm-test-ulps: Update.
5009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5010
b1eeb65d
CD
50112012-03-01 Chris Demetriou <cgd@google.com>
5012
5013 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5014 have predictable order.
5015
53362a4b
DM
50162012-03-01 David S. Miller <davem@davemloft.net>
5017
3c969083
DM
5018 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5019
759707de
DM
5020 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5021 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5022 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5023 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5024
dfdb8ff2
DM
5025 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5026 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5027 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5029 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5030 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5031 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5032 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5033 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5034
ead89f96
DM
5035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5036
7f66bd07
DM
5037 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5038 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5039 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5040
53362a4b
DM
5041 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5042 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5043 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5044 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5045 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5046 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5047 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5048 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5049 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5050 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5051 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5052 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5054 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5055 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5056 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5057 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5058 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5059 * sysdeps/sparc/elf/configure: Regenerated.
5060
7b1902cb
JM
50612012-03-01 Joseph Myers <joseph@codesourcery.com>
5062
bec039bc
JM
5063 * configure.in (AS, LD): Require binutils 2.20 or later.
5064 * configure: Regenerated.
5065 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5066 as required minimum version.
5067 * INSTALL: Regenerated.
5068
7b1902cb
JM
5069 [BZ #2541]
5070 [BZ #4108]
5071 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5072 before squaring exponent.
5073 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5074 bottom long double and 27 bits of top long double before squaring
5075 exponent.
5076 * math/libm-test.inc (erfc_test): Add more tests.
5077 * sysdeps/i386/fpu/libm-test-ulps: Update.
5078 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5080
f775c276
KT
50812012-03-01 Kai Tietz <ktietz@redhat.com>
5082
5083 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5084 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5085 containing bit-fields.
5086 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5087 * soft-fp/single.h (_FP_UNION_S): Likewise.
5088 * soft-fp/double.h (_FP_UNION_D): Likewise.
5089
5b8a4d4a
JM
50902012-02-29 Joseph Myers <joseph@codesourcery.com>
5091
0bab47b6
JM
5092 [BZ #13786]
5093 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5094 not include ../strcmp.S.
5095 [USE_AS_STRNCASECMP_L]: Likewise.
5096 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5097 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5098 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5099 (__strncasecmp_l_ia32): Define as alias to
5100 __strncasecmp_l_nonascii.
5101
0fcad3e2
JM
5102 [BZ #5794]
5103 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5104 * sysdeps/i386/fpu/libm-test-ulps: Update.
5105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5106
5b8a4d4a
JM
5107 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5109
8fdceb2e
JL
51102012-02-29 Jeff Law <law@redhat.com>
5111
5112 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5113 out of bounds read.
5114
1f393a11
MP
51152012-02-29 Marek Polacek <polacek@redhat.com>
5116
5117 [BZ #13706]
5118 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5119 * elf/Makefile: Add rules to run tst-unused-dep.out.
5120
8847f037
DM
51212012-02-28 David S. Miller <davem@davemloft.net>
5122
5123 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5124 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5125 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5126 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5127 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5128 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5129
169d7f11
JM
51302012-02-29 Joseph Myers <joseph@codesourcery.com>
5131
5132 * math/libm-test.inc (llround_test): Move one test from
5133 lround_test. Use TEST_f_L in moved test.
5134 (lround_test): Move misplaced test to llround_test. Add testcase
5135 from bug 2561.
5136
39adf059
UD
51372012-02-28 Ulrich Drepper <drepper@gmail.com>
5138
5139 * sysdeps/x86_64/fpu/e_expf.S: New file.
5140 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5141
71b5d1c5
SB
51422012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5143
5144 [BZ #13637]
5145 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5146 of remain_len that may cause incomplete multi-byte character and
5147 false match.
5148 * posix/bug-regex33.c: New file.
5149 * posix/Makefile (tests): Add bug-regex33.
5150
1f77f049
JM
51512012-02-28 Joseph Myers <joseph@codesourcery.com>
5152
5153 * manual/macros.texi: New file.
5154 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5155 * manual/libc.texinfo: Include macros.texi.
5156 * manual/creatute.texi: Likewise.
5157 * manual/install.texi: Likewise.
5158 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5159 @glibcadj{} in references to the GNU C Library.
5160 * manual/charset.texi: Likewise.
5161 * manual/conf.texi: Likewise.
5162 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5163 when not using those macros.
5164 * manual/creature.texi: Likewise.
5165 * manual/crypt.texi: Likewise.
5166 * manual/errno.texi: Likewise.
5167 * manual/filesys.texi: Likewise.
5168 * manual/header.texi: Likewise.
5169 * manual/install.texi: Likewise.
5170 * manual/intro.texi: Likewise.
5171 * manual/io.texi: Likewise.
5172 * manual/job.texi: Likewise.
5173 * manual/lang.texi: Likewise.
5174 * manual/libc.texiinfo: Likewise.
5175 * manual/llio.texi: Likewise.
5176 * manual/locale.texi: Likewise.
5177 * manual/maint.texi: Likewise.
5178 * manual/math.texi: Likewise.
5179 * manual/memory.texi: Likewise.
5180 * manual/message.texi: Likewise.
5181 * manual/nss.texi: Likewise.
5182 * manual/pattern.texi: Likewise.
5183 * manual/process.texi: Likewise.
5184 * manual/resource.texi: Likewise.
5185 * manual/search.texi: Likewise.
5186 * manual/setjmp.texi: Likewise.
5187 * manual/signal.texi: Likewise.
5188 * manual/socket.texi: Likewise.
5189 * manual/startup.texi: Likewise.
5190 * manual/stdio.texi: Likewise.
5191 * manual/string.texi: Likewise.
5192 * manual/sysinfo.texi: Likewise.
5193 * manual/syslog.texi: Likewise.
5194 * manual/terminal.texi: Likewise.
5195 * manual/time.texi: Likewise.
5196 * manual/users.texi: Likewise.
5197 * INSTALL: Regenerated.
5198 * NOTES: Regenerated.
d40c5d54 5199 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5200
450bf206
AS
52012012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5202
5203 * include/dirent.h: Include <dirstream.h> before
5204 <dirent/dirent.h>.
5205
741a235b
DM
52062012-02-28 David S. Miller <davem@davemloft.net>
5207
5208 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5209 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5210 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5211 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5212
d6b5aa58
DM
52132012-02-27 David S. Miller <davem@davemloft.net>
5214
1aff59a3
DM
5215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5217 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5218 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5219
d6b5aa58
DM
5220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5221 frame pointer instead of stack pointer relative arg slot.
5222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5223 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5224 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5225
433f48bf
CD
52262012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5227
5228 [BZ #3992]
5229 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5230
d674b76d
DM
52312012-02-27 David S. Miller <davem@davemloft.net>
5232
5233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5237 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5238 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5239 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5240 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5241
0e7727f7
JM
52422012-02-27 Joseph Myers <joseph@codesourcery.com>
5243
5244 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5245 later. Allow versions 5-9.
43be4ca2 5246 * configure: Regenerated.
0e7727f7
JM
5247 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5248 required minimum version and 4.6 as recommended version. Do not
5249 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5250 * INSTALL: Regenerated.
0e7727f7 5251
a78bc654
DM
52522012-02-27 David S. Miller <davem@davemloft.net>
5253
428d5830
DM
5254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5258 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5259 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5260 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5261 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5262
a78bc654
DM
5263 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5264 manipulate bits before adding and subtracting TWO112[sx].
5265 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5266
4579f81c
RM
52672012-02-27 Roland McGrath <roland@hack.frob.com>
5268
36c8acb4
RM
5269 [BZ #13775]
5270 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5271 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5272 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5273 being in POSIX, because they are in 1003.1-2008.
5274
84ad622b
RM
5275 * rt/tst-aio.c: Include <fcntl.h>.
5276 * rt/tst-aio7.c: Likewise.
5277 * rt/tst-aio64.c: Likewise.
5278
4579f81c
RM
5279 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5280
abd923db
JM
52812012-02-27 Joseph Myers <joseph@codesourcery.com>
5282
5283 * manual/install.texi (--with-headers): Describe headers as
5284 interface headers, not private headers.
5285 (Specific advice for GNU/Linux systems): Describe use of headers
5286 from "make headers_install", not private headers from older
5287 kernels.
43be4ca2 5288 * INSTALL: Regenerated.
abd923db
JM
5289 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5290 Change to 2.6.19.
5291 * sysdeps/unix/sysv/linux/configure: Regenerated.
5292
6664049b
JM
5293 * manual/llio.texi (fclean): Remove documentation.
5294
bb8b6697
JM
5295 * manual/Makefile (libc-texi-generated): New variable. Include
5296 version.texi.
5297 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5298 $(libc-texi-generated), not duplicated list of files.
5299 (version.texi, stamp-version): New rules.
5300 (realclean): Remove $(libc-texi-generated), not individual files
5301 from that list. Do not remove dir-add.texinfo.
5302 * manual/libc.texinfo: Comment out uses of edition numbers and
5303 references to printed manual. Remove last-updated dates.
5304 (EDITION): Comment out.
5305 (ISBN): Likewise.
5306 (VERSION, UPDATED): Remove.
5307 (version.texi): Include.
5308
12e5c3b9
AS
53092012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5310
5311 * sysdeps/posix/spawni.c: Include <signal.h>.
5312 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5313 * sysdeps/pthread/aio_fsync.c: Likewise.
5314
4efeffc1 53152012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5316
ba63ba08
UD
5317 * conform/Makefile (tests): Run only when not cross-compiling and
5318 when fast-check is not defined.
5319
d94a4670
UD
5320 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5321 * conform/data/limits.h-data: Fixes for POSIX2008.
5322 * conform/run-conformtest.sh: Run all tests.
5323 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5324 headers.
5325 * include/bits/dlfcn.h: Likewise.
5326 * include/langinfo.h: Likewise.
5327 * include/monetary.h: Likewise.
5328 * include/sys/poll.h: Likewise.
5329
5330 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5331 for __USE_GNU.
5332 * posix/spawn.h: Define __need_sigset_t.
5333 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5334 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5335 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5336 to get sigevent_t only.
5337 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5338 only for __USE_GNU.
5339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5340 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5341 process_vm_writev only for __USE_GNU.
5342 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5343
5344 * conform/Makefile: For now ignore errors from run-conformtest.
5345 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5346 POSIX to avoid namespace pollution. Don't prepend headers.
5347 * conform/data/aio.h-data: Fixes for POSIX testing.
5348 * conform/data/fcntl.h-data: Likewise.
5349 * conform/data/glob.h-data: Likewise.
5350 * conform/data/grp.h-data: Likewise.
5351 * conform/data/pthread.h-data: Likewise.
5352 * conform/data/pwd.h-data: Likewise.
5353 * conform/data/signal.h-data: Likewise.
5354 * conform/data/spawn.h-data: Likewise.
5355 * conform/data/stdio.h-data: Likewise.
5356 * conform/data/stdlib.h-data: Likewise.
5357 * conform/data/stropts.h-data: Likewise.
5358 * conform/data/sys/mman.h-data: Likewise.
5359 * conform/data/sys/stat.h-data: Likewise.
5360 * conform/data/sys/types.h-data: Likewise.
5361 * conform/data/sys/wait.h-data: Likewise.
5362 * conform/data/time.h-data: Likewise.
5363 * conform/data/unistd.h-data: Likewise.
5364 * conform/data/utime.h-data: Likewise.
5365
5366 * io/sys/stat.h: fchmod was always in POSIX.
5367 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5368 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5369 * rt/aio.h: Define __need_timespec before including <time.h>.
5370 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5371 struct. Add forward declaration of pthread_attr_t and use it in
5372 sigevent.
5373 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5374 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5375 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5376 always remove CLK_TCK definition.
5377
c20105c3
AS
53782012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5379
5380 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5381
7a270350
UD
53822012-02-25 Ulrich Drepper <drepper@gmail.com>
5383
31341567
UD
5384 * conform/run-conformtest.sh: New file.
5385 * conform/Makefile: Run run-conformtest for tests.
5386 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5387 support.
5388
5389 * conform/data/uchar.h-data: New file.
5390 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5391 * conform/data/arpa/inet.h-data: Likewise.
5392 * conform/data/assert.h-data: Likewise.
5393 * conform/data/complex.h-data: Likewise.
5394 * conform/data/cpio.h-data: Likewise.
5395 * conform/data/ctype.h-data: Likewise.
5396 * conform/data/dirent.h-data: Likewise.
5397 * conform/data/dlfcn.h-data: Likewise.
5398 * conform/data/errno.h-data: Likewise.
5399 * conform/data/fcntl.h-data: Likewise.
5400 * conform/data/float.h-data: Likewise.
5401 * conform/data/fmtmsg.h-data: Likewise.
5402 * conform/data/fnmatch.h-data: Likewise.
5403 * conform/data/ftw.h-data: Likewise.
5404 * conform/data/glob.h-data: Likewise.
5405 * conform/data/grp.h-data: Likewise.
5406 * conform/data/iconv.h-data: Likewise.
5407 * conform/data/inttypes.h-data: Likewise.
5408 * conform/data/langinfo.h-data: Likewise.
5409 * conform/data/libgen.h-data: Likewise.
5410 * conform/data/limits.h-data: Likewise.
5411 * conform/data/locale.h-data: Likewise.
5412 * conform/data/math.h-data: Likewise.
5413 * conform/data/monetary.h-data: Likewise.
5414 * conform/data/mqueue.h-data: Likewise.
5415 * conform/data/ndbm.h-data: Likewise.
5416 * conform/data/net/if.h-data: Likewise.
5417 * conform/data/netdb.h-data: Likewise.
5418 * conform/data/netinet/in.h-data: Likewise.
5419 * conform/data/nl_types.h-data: Likewise.
5420 * conform/data/poll.h-data: Likewise.
5421 * conform/data/pthread.h-data: Likewise.
5422 * conform/data/pwd.h-data: Likewise.
5423 * conform/data/regex.h-data: Likewise.
5424 * conform/data/sched.h-data: Likewise.
5425 * conform/data/search.h-data: Likewise.
5426 * conform/data/semaphore.h-data: Likewise.
5427 * conform/data/setjmp.h-data: Likewise.
5428 * conform/data/signal.h-data: Likewise.
5429 * conform/data/spawn.h-data: Likewise.
5430 * conform/data/stdarg.h-data: Likewise.
5431 * conform/data/stdio.h-data: Likewise.
5432 * conform/data/stdlib.h-data: Likewise.
5433 * conform/data/string.h-data: Likewise.
5434 * conform/data/strings.h-data: Likewise.
5435 * conform/data/stropts.h-data: Likewise.
5436 * conform/data/sys/ipc.h-data: Likewise.
5437 * conform/data/sys/mman.h-data: Likewise.
5438 * conform/data/sys/msg.h-data: Likewise.
5439 * conform/data/sys/resource.h-data: Likewise.
5440 * conform/data/sys/select.h-data: Likewise.
5441 * conform/data/sys/sem.h-data: Likewise.
5442 * conform/data/sys/shm.h-data: Likewise.
5443 * conform/data/sys/socket.h-data: Likewise.
5444 * conform/data/sys/stat.h-data: Likewise.
5445 * conform/data/sys/statvfs.h-data: Likewise.
5446 * conform/data/sys/time.h-data: Likewise.
5447 * conform/data/sys/timeb.h-data: Likewise.
5448 * conform/data/sys/times.h-data: Likewise.
5449 * conform/data/sys/types.h-data: Likewise.
5450 * conform/data/sys/uio.h-data: Likewise.
5451 * conform/data/sys/un.h-data: Likewise.
5452 * conform/data/sys/utsname.h-data: Likewise.
5453 * conform/data/sys/wait.h-data: Likewise.
5454 * conform/data/syslog.h-data: Likewise.
5455 * conform/data/tar.h-data: Likewise.
5456 * conform/data/termios.h-data: Likewise.
5457 * conform/data/utime.h-data: Likewise.
5458 * conform/data/utmpx.h-data: Likewise.
5459 * conform/data/varargs.h-data: Likewise.
5460 * conform/data/wchar.h-data: Likewise.
5461 * conform/data/wctype.h-data: Likewise.
5462 * conform/data/wordexp.h-data: Likewise.
5463
5464 * include/stropts.h: New file.
5465 * include/uchar.h: New file.
5466 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5467 * include/assert.h: Likewise.
5468 * include/ctype.h: Likewise.
5469 * include/dirent.h: Likewise.
5470 * include/dlfcn.h: Likewise.
5471 * include/fcntl.h: Likewise.
5472 * include/fnmatch.h: Likewise.
5473 * include/glob.h: Likewise.
5474 * include/grp.h: Likewise.
5475 * include/libio.h: Likewise.
5476 * include/locale.h: Likewise.
5477 * include/math.h: Likewise.
5478 * include/net/if.h: Likewise.
5479 * include/netdb.h: Likewise.
5480 * include/netinet/in.h: Likewise.
5481 * include/pthread.h: Likewise.
5482 * include/pwd.h: Likewise.
5483 * include/regex.h: Likewise.
5484 * include/sched.h: Likewise.
5485 * include/search.h: Likewise.
5486 * include/setjmp.h: Likewise.
5487 * include/signal.h: Likewise.
5488 * include/stdio.h: Likewise.
5489 * include/stdlib.h: Likewise.
5490 * include/string.h: Likewise.
5491 * include/sys/cdefs.h: Likewise.
5492 * include/sys/mman.h: Likewise.
5493 * include/sys/msg.h: Likewise.
5494 * include/sys/resource.h: Likewise.
5495 * include/sys/select.h: Likewise.
5496 * include/sys/socket.h: Likewise.
5497 * include/sys/stat.h: Likewise.
5498 * include/sys/statvfs.h: Likewise.
5499 * include/sys/time.h: Likewise.
5500 * include/sys/times.h: Likewise.
5501 * include/sys/uio.h: Likewise.
5502 * include/sys/utsname.h: Likewise.
5503 * include/sys/wait.h: Likewise.
5504 * include/termios.h: Likewise.
5505 * include/time.h: Likewise.
5506 * include/ulimit.h: Likewise.
5507 * include/unistd.h: Likewise.
5508 * include/utime.h: Likewise.
5509 * include/wchar.h: Likewise.
5510 * include/wctype.h: Likewise.
5511 * include/wordexp.h: Likewise.
5512
5513 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5514
7a270350
UD
5515 * time/time.h: TIME_UTC must be a macro.
5516 Make timespec_get available for ISO C11 only as well.
5517
7724defc
UD
55182012-02-24 Ulrich Drepper <drepper@gmail.com>
5519
5520 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5521 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5522
6b1d1d46
JM
55232012-02-24 Joseph Myers <joseph@codesourcery.com>
5524
5525 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5526
0f8bbd69
JM
55272012-02-24 Joseph Myers <joseph@codesourcery.com>
5528
5529 * manual/texinfo.tex: Update to version 2012-01-19.16.
5530
66ab80bc
JM
55312012-02-24 Joseph Myers <joseph@codesourcery.com>
5532
5533 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5534
74981cc5
RM
55352012-02-24 Roland McGrath <roland@hack.frob.com>
5536
ee968201
RM
5537 [BZ #13738]
5538 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5539 * manual/fdl-1.3.texi: New file.
5540 * manual/fdl-1.1.texi: File removed.
5541
74981cc5
RM
5542 [BZ #13738]
5543 * manual/libc.texinfo (FDL_VERSION): New @set.
5544 Use it for mention of FDL in cover text.
5545 (Documentation License): Use it in @include file name.
5546
7bb764bc
JM
55472012-02-22 Joseph Myers <joseph@codesourcery.com>
5548 Roland McGrath <roland@hack.frob.com>
5549
5550 [BZ #5461]
5551 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5552 not LONG_LONG_MAX and LONG_LONG_MIN.
5553 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5554 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5555 name.
5556 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5557
6cbeae47
JM
55582012-02-22 Joseph Myers <joseph@codesourcery.com>
5559
5560 [BZ #2547]
5561 [BZ #11365]
5562 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5563 manipulate bits before adding and subtracting TWO23[sx].
5564 * math/libm-test.inc (nearbyint_test): Add more tests.
5565
fe45ce09
JM
55662012-02-22 Joseph Myers <joseph@codesourcery.com>
5567
5568 [BZ #2548]
5569 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5570 bits before adding and subtracting TWO23[sx].
5571 * math/libm-test.inc (rint_test): Add more tests.
5572 (rint_test_tonearest): Likewise.
5573 (rint_test_towardzero): Likewise.
5574 (rint_test_downward): Likewise.
5575 (rint_test_upward: Likewise.
5576
ff3b3d82
JM
55772012-02-22 Joseph Myers <joseph@codesourcery.com>
5578
5579 [BZ #10110]
5580 * include/stdc-predef.h: New file. Extracted from features.h.
5581 * include/features.h: Include stdc-predef.h.
5582 * Makefile (headers): Add stdc-predef.h.
5583 * CONFORMANCE (Compiler limitations): Update.
5584
ef0aab35
JM
55852012-02-22 Joseph Myers <joseph@codesourcery.com>
5586
5587 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5588
58639409
DM
55892012-02-21 David S. Miller <davem@davemloft.net>
5590
5591 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5592 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5593
c0e70b25
DM
55942012-02-20 David S. Miller <davem@davemloft.net>
5595
5596 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5597 using a normal save/restore sequence, rather than allocating a
5598 dummy stack frame just to store a frame pointer and restore.
5599 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5600
fb06851d
JM
56012012-02-21 Joseph Myers <joseph@codesourcery.com>
5602
5603 * manual/install.texi: Fix stray word in line-wrapped comment.
5604
7a8b71c3
DM
56052012-02-20 David S. Miller <davem@davemloft.net>
5606
d510c123
DM
5607 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5608 both binutils and gcc support GOTDATA.
5609
0722d7c2
DM
5610 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5611 "rd %pc" in the PIC register setup sequences.
5612
3d2b3019
DM
5613 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5614 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5615 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5616 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5617 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5618 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5619 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5620 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5621 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5622 (SYSCALL_ERROR_HANDLER): Likewise.
5623 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5624 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5626 (SYSCALL_ERROR_HANDLER): Likewise.
5627
c80098a9
DM
5628 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5629 (HAVE_GCC_GOTDATA): New.
5630 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5631 relocation support in both binutils and gcc.
5632 * sysdeps/sparc/elf/configure: Regenerate.
5633
3a2545a0
DM
5634 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5635 * sysdeps/sparc/sparc32/elf/configure: Delete.
5636 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5637 * sysdeps/sparc/sparc64/elf/configure: Delete.
5638 * sysdeps/sparc/elf/configure.in: New file.
5639 * sysdeps/sparc/elf/configure: Generate.
5640
7a8b71c3
DM
5641 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5642 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5643 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5644 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5645 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5646
f1e86fca
JM
56472012-02-21 Joseph Myers <joseph@codesourcery.com>
5648
5649 * manual/install.texi: Do not mention specific glibc version
5650 numbers.
5651 * manual/libc.texinfo (VERSION, UPDATED): Update.
5652 (@copying): Use @copyright{} and range of years.
5653
0e7dfaef
JM
56542012-02-21 Joseph Myers <joseph@codesourcery.com>
5655
5656 [BZ #13695]
5657 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5658 [crti.S not in sysdirs] (generated): Do not append.
5659 [crti.S not in sysdirs] (omit-deps): Likewise.
5660 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5661 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5662 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5663 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5664 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5665 Likewise.
5666 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5667 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5668 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5669 * csu/defs.awk: Remove file.
5670 * sysdeps/generic/initfini.c: Likewise.
5671 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5672 variable.
5673 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5674 Likewise.
5675
599af3ca
JM
56762012-02-20 Joseph Myers <joseph@codesourcery.com>
5677
5678 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5679 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5680 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5681 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5682 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5683 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5684 <bits/epoll.h>.
5685 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5686 (__EPOLL_PACKED): Define to empty if not defined by
5687 <bits/epoll.h>.
5688 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5690 bits/epoll.h.
5691
0e499750
JM
56922012-02-20 Joseph Myers <joseph@codesourcery.com>
5693
5694 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5695 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5696 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5697 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5698 <bits/timerfd.h>.
5699 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5700 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5701 bits/timerfd.h.
5702
5ad91f6e
JM
57032012-02-20 Joseph Myers <joseph@codesourcery.com>
5704
5705 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5706 in C locale.
5707 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5708 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5709 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5711
06b99b02
AJ
57122012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5713
5714 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5715 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5716
7638c0fd
AS
57172012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5718
5719 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5720 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5721 defined.
5722 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5723 Likewise.
5724 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5725 entry for 2.16.
5726
92221550
AJ
57272012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5728
5729 * math/w_acos.c: Use non-signaling floating-point comparisons.
5730 * math/w_acosf.c: Likewise.
5731 * math/w_acosh.c: Likewise.
5732 * math/w_acoshf.c: Likewise.
5733 * math/w_acoshl.c: Likewise.
5734 * math/w_acosl.c: Likewise.
5735 * math/w_asin.c: Likewise.
5736 * math/w_asinf.c: Likewise.
5737 * math/w_asinl.c: Likewise.
5738 * math/w_atanh.c: Likewise.
5739 * math/w_atanhf.c: Likewise.
5740 * math/w_atanhl.c: Likewise.
5741 * math/w_exp2.c: Likewise.
5742 * math/w_exp2f.c: Likewise.
5743 * math/w_exp2l.c: Likewise.
5744 * math/w_j0.c: Likewise.
5745 * math/w_j0f.c: Likewise.
5746 * math/w_j0l.c: Likewise.
5747 * math/w_j1.c: Likewise.
5748 * math/w_j1f.c: Likewise.
5749 * math/w_j1l.c: Likewise.
5750 * math/w_jn.c: Likewise.
5751 * math/w_jnf.c: Likewise.
5752 * math/w_log.c: Likewise.
5753 * math/w_log10.c: Likewise.
5754 * math/w_log10f.c: Likewise.
5755 * math/w_log10l.c: Likewise.
5756 * math/w_log2.c: Likewise.
5757 * math/w_log2f.c: Likewise.
5758 * math/w_log2l.c: Likewise.
5759 * math/w_logf.c: Likewise.
5760 * math/w_logl.c: Likewise.
5761 * math/w_sqrt.c: Likewise.
5762 * math/w_sqrtf.c: Likewise.
5763 * math/w_sqrtl.c: Likewise.
5764 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5765 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5766 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5767 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5768 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5769
ebaf36eb
JM
57702012-02-19 Joseph Myers <joseph@codesourcery.com>
5771
5772 [BZ #9739]
5773 * manual/string.texi (strnlen): Use correct parameter name in
5774 equivalent expression.
5775
71c254a6
JM
57762012-02-19 Joseph Myers <joseph@codesourcery.com>
5777
5778 [BZ #11174]
5779 * manual/users.texi (seteuid): Consistently use neweuid for
5780 argument name.
5781
16d2c631
JM
57822012-02-19 Joseph Myers <joseph@codesourcery.com>
5783
5784 [BZ #13704]
5785 * manual/nss.texi (Services in the NSS configuration): Correct
5786 list of services in example configuration file.
5787
cd837b09
NB
57882012-02-19 Nick Bowler <nbowler@draconx.ca>
5789
5790 [BZ #11322]
5791 * manual/arith.texi: Remove statements about negative zero
5792 behaving identically to zero.
5793
02c4bbad
JM
57942012-02-18 Joseph Myers <joseph@codesourcery.com>
5795
5796 [BZ #5993]
5797 * manual/install.texi: Do not document upgrading from libc5.
5798
366842e7
JM
57992012-02-18 Joseph Myers <joseph@codesourcery.com>
5800
5801 [BZ #4596]
5802 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5803
dd54084d
DM
58042012-02-18 David S. Miller <davem@davemloft.net>
5805
5806 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5807 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5808 %o7 across the call.
5809 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5810 instead.
5811 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5812 SETUP_PIC_REG_LEAF.
5813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5814 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5815 * sysdeps/sparc/crtn.S: Likewise.
5816
2bcc53a3
UD
58172012-02-17 Ulrich Drepper <drepper@gmail.com>
5818
5819 * aout/Makefile: Remove.
5820
09c093b5
RK
58212012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5822
5823 [BZ #13058]
5824 * manual/examples/argp-ex1.c (main): Format definition in GNU
5825 style.
5826 * manual/examples/argp-ex2.c (main): Likewise.
5827 * manual/examples/argp-ex3.c (main): Likewise.
5828 * manual/examples/argp-ex4.c (main): Likewise.
5829 * manual/examples/longopt.c (main): Use new-style prototype
5830 definition.
5831 * manual/examples/strncat.c (main): Specify return type and use
5832 (void) for arguments.
5833 * manual/examples/subopt.c (main): Use char **argv argument.
5834
2ee633a2
JM
58352012-02-17 Joseph Myers <joseph@codesourcery.com>
5836
5837 [BZ #5077]
5838 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5839 rounding modes.
5840
0520adde
FB
58412012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5842
5843 [BZ #6907]
5844 * manual/string.texi (strchr): Change when strchrnul is
5845 recommended.
5846
3f4081cd
DGM
58472012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5848
5849 [BZ #174]
5850 * manual/locale.texi (setlocale): Document LOCPATH.
5851
d1b10e78
JM
58522012-02-17 Joseph Myers <joseph@codesourcery.com>
5853
5854 [BZ #10210]
5855 * manual/process.texi (execle): Move @dots{} before last argument.
5856
79c6869c
PB
58572012-02-17 Paul Bolle <pebolle@tiscali.nl>
5858
5859 [BZ #12047]
5860 * manual/charset.texi (Generic Charset Conversion): Fix typo
5861 (LC_TYPE -> LC_CTYPE).
5862
cc6e48bc
NB
58632012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5864
5865 [BZ #5805]
5866 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5867 (scalbnf): Likewise.
5868 (scalbnl): Likewise.
5869 (scalbln): Likewise.
5870 (scalblnf): Likewise.
5871 (scalblnl): Likewise.
5872 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5873 (vwarnx): Likewise.
5874 (verr): Likewise.
5875 (verrx): Likewise.
5876 * manual/filesys.texi (telldir): Use braces around return type.
5877 * manual/llio.texi (mmap): Add space after comma.
5878 (mmap64): Likewise.
5879 * manual/math.texi (jn): Use @var{} on parameter names.
5880 (jnf): Likewise.
5881 (jnl): Likewise.
5882 (yn): Likewise.
5883 (ynf): Likewise.
5884 (ynl): Likewise.
5885 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5886 line.
5887 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5888 "...".
5889 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5890 (sched_get_priority_max): Likewise.
5891 * manual/signal.texi (sigvec): Add space after comma.
5892 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5893 names.
5894 (if_indextoname): Likewise.
5895 (if_freenameindex): Likewise.
5896 (sendto): Use ',' instead of '.' in prototype.
5897 * manual/startup.texi (syscall): Use @dots{} instead of literal
5898 "...".
5899 * manual/stdio.texi (__fpending): Separate initial words of
5900 paragraph from @deftypefun line.
5901 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5902 "...".
5903 (vsyslog): Use @var{} on parameter names.
5904 * manual/terminal.texi (stty): Use @var{} on parameter names.
5905 * manual/users.texi (getutmp): Use @var{} on parameter names.
5906 (getutmpx): Likewise.
5907
5b23062f
JM
59082012-02-17 Joseph Myers <joseph@codesourcery.com>
5909
5910 [BZ #6884]
5911 * manual/stdio.texi (fopen): Fix typos in description of
5912 ",ccs=STRING".
5913
8dee4833
AJ
59142012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5915
5916 [BZ #4026]
5917 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5918 get clock_id definition.
5919
9078ce93
TS
59202012-02-17 Thomas Schwinge <thomas@schwinge.name>
5921
5922 [BZ #4822]
5923 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5924 (madvise): Cast every argument to void on its own.
5925
3835c55f
JM
59262012-02-17 Joseph Myers <joseph@codesourcery.com>
5927
5928 [BZ #9902]
5929 * manual/startup.texi (Exit Status): Fix typo.
5930
35c47e37
JM
59312012-02-17 Joseph Myers <joseph@codesourcery.com>
5932
5933 [BZ #10140]
5934 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5935 * manual/examples/argp-ex2.c: Likewise.
5936 * manual/examples/argp-ex3.c: Likewise.
5937
e3b69ca7
RH
59382012-02-16 Richard Henderson <rth@redhat.com>
5939
5940 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5941 * sysdeps/s390/s390-32/initfini.c: Remove.
5942 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5943 * sysdeps/s390/s390-64/initfini.c: Remove.
5944
df83af67
KK
59452012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5946
5947 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5948 compiler output for sysdeps/generic/initfini.c.
5949 * sysdeps/sh/elf/initfini.c: Remove file.
5950
f63f3380
DM
59512012-02-16 David S. Miller <davem@davemloft.net>
5952
fb59b3a4
DM
5953 [BZ #11494]
5954 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5955
f63f3380
DM
5956 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5957 * sysdeps/sparc/crti.S: New file.
5958 * sysdeps/sparc/crtn.S: New file.
5959 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5960 * sysdeps/sparc/sparc64/Makefile: Likewise.
5961
df6a4a4a
MF
59622012-02-15 Mike Frysinger <vapier@gentoo.org>
5963
6dd8f3dc 5964 [BZ #3335]
df6a4a4a
MF
5965 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5966
1cac7236
RM
59672012-02-15 Roland McGrath <roland@hack.frob.com>
5968
d2c736f8
RM
5969 [BZ #4822]
5970 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5971
1cac7236
RM
5972 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5973 (write, read, close): Likewise.
5974 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5975
8e475601
JM
59762012-02-15 Joseph Myers <joseph@codesourcery.com>
5977
5978 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5979 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5980 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5981 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5982 <bits/signalfd.h>.
5983 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5985 bits/signalfd.h.
5986
ed656b40
MP
59872012-02-14 Marek Polacek <polacek@redhat.com>
5988
5989 * sysdeps/x86_64/crti.S: New file.
5990 * sysdeps/x86_64/crtn.S: New file.
5991 * sysdeps/x86_64/elf/initfini.c: Remove file.
5992
2a979d3a
JM
59932012-02-13 Joseph Myers <joseph@codesourcery.com>
5994
5995 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5996 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5997 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5998 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5999 <bits/inotify.h>.
6000 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6002 bits/inotify.h.
6003
2a418ac3
JM
60042012-02-13 Joseph Myers <joseph@codesourcery.com>
6005
6006 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6007 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6008 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6009 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6010 <bits/eventfd.h>.
6011 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6013 bits/eventfd.h.
6014
fb779be7
TS
60152012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6016
e19e83c5
RM
6017 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6018 __feraiseexcept instead of feraiseexcept.
7c35ffed 6019
fb779be7
TS
6020 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6021 nanosleep invocations.
6022 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6023 strings, and add error checking for a nanosleep invocations.
6024
59ba27a6
PE
60252012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6026
6027 Replace FSF snail mail address with URLs, as per GNU coding standards.
6028 Most of the snail mail addresses were wrong anyway, and omitting
6029 them makes the source code easier to maintain. Almost all of the
6030 changes are to license notices and to locale LC_IDENTIFICATION
6031 addresses, except for this one:
6032 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6033 not its snail mail address.
6034
57b957eb
RH
60352012-02-09 Richard Henderson <rth@twiddle.net>
6036
af850b1c
RH
6037 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6038 of kernel-features.h.
6039
57b957eb
RH
6040 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6041
6b73181a
MP
60422012-02-08 Marek Polacek <polacek@redhat.com>
6043
6044 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6045 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6046 * sysdeps/gnu/_G_config.h: Likewise.
6047 * sysdeps/generic/_G_config.h: Likewise.
6048
26ecc33a
AS
60492012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6050
6c6dbc63
AS
6051 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6052 tests.
6053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6054
e216c012
AS
6055 * sysdeps/powerpc/powerpc32/crti.S: New file.
6056 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6057 * sysdeps/powerpc/powerpc64/crti.S: New file.
6058 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6059
26ecc33a
AS
6060 * Makeconfig (have-initfini): Don't set.
6061 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6062 * configure.in (nopic_initfini): Don't substitute.
6063 * config.h.in (HAVE_INITFINI): Don't #undef.
6064 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6065 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6066
3add8e13
JM
60672012-02-08 Joseph Myers <joseph@codesourcery.com>
6068
6069 Support crti.S and crtn.S provided directly by architectures.
6070 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6071 [crti.S in sysdirs] (omit-deps): Likewise.
6072 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6073 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6074 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6075 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6076 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6077 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6078 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6079 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6080 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6081 compiler output for sysdeps/generic/initfini.c.
6082 * sysdeps/i386/elf/Makefile: Remove file.
6083 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6084
a22f12b4
MP
60852012-02-07 Marek Polacek <polacek@redhat.com>
6086
6087 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6088 * sysdeps/gnu/_G_config.h: Likewise.
6089 * sysdeps/mach/hurd/_G_config.h: Likewise.
6090
148cf100
MP
60912012-02-07 Marek Polacek <polacek@redhat.com>
6092
6093 * math/Makefile (tests): Add tst-CMPLX2.
6094 * math/tst-CMPLX2.c: New file.
6095
cfdc0dd7
AS
60962012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6097
84ba42c4
AS
6098 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6099
cfdc0dd7
AS
6100 * math/libm-test.inc (jn_test): Add missing L suffix.
6101
622c86f4
MP
61022012-02-06 Marek Polacek <polacek@redhat.com>
6103
6104 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6105 * sysdeps/i386/fpu/e_powf.S: Likewise.
6106 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6107 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6108 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6109 * sysdeps/i386/fpu/e_pow.S: Likewise.
6110 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6111 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6112 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6113 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6114 * sysdeps/i386/fpu/e_log2.S: Likewise.
6115 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6116 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6117 * sysdeps/i386/fpu/e_powl.S: Likewise.
6118 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6119 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6120 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6121 * sysdeps/i386/fpu/e_logl.S: Likewise.
6122 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6123 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6124 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6125 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6126 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6127 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6128 * sysdeps/i386/fpu/e_log.S: Likewise.
6129 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6130 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6131 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6132 * sysdeps/i386/fpu/e_logf.S: Likewise.
6133 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6134 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6135 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6136 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6137 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6138 * sysdeps/i386/fpu/e_log10.S: Likewise.
6139 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6140 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6141 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6142 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6143 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6144 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6145 * sysdeps/i386/asm-syntax.h: Likewise.
6146 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6147 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6148 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6149 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6150 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6151 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6152 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6153 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6154 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6155 * sysdeps/powerpc/sysdep.h: Likewise.
6156 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6157 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6158
d4a54ac6
JM
61592012-02-06 Joseph Myers <joseph@codesourcery.com>
6160
6161 [BZ #411]
6162 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6163
314054ea
JM
61642012-02-06 Joseph Myers <joseph@codesourcery.com>
6165
6166 * sysdeps/i386/sysdep.h: Include <features.h>.
6167 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6168 version.
6169
d8e0ca50
JM
61702012-02-05 Joseph Myers <joseph@codesourcery.com>
6171
6172 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6173 Define.
6174 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6175 LOAD_PIC_REG_STR.
6176
b1da7dd9
JM
61772012-02-03 Joseph Myers <joseph@codesourcery.com>
6178
6179 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6180 (SETUP_PIC_REG): Use GET_PC_THUNK.
6181 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6182 macro.
6183
9a1d9254
JM
61842012-02-03 Joseph Myers <joseph@codesourcery.com>
6185
6186 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6187 for non-PIC compilation.
6188 (SETUP_PIC_REG): Add .p2align directive.
6189 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6190 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6191 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6192 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6193 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6194 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6195 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6196 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6197 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6198 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6199 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6200 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6201 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6202 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6203 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6204 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6205 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6206 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6207 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6208 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6209 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6210 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6211 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6212 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6213 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6215 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6216 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6217 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6218 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6219 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6220 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6221 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6222 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6223 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6224 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6225 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6226 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6227 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6228 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6229 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6230
65dc3b75
JM
62312012-02-03 Joseph Myers <joseph@codesourcery.com>
6232
6233 * math/tst-CMPLX.c: Include <stdio.h>.
6234
d55bf177
JM
62352012-01-31 Joseph Myers <joseph@codesourcery.com>
6236
6237 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6238 float.
6239 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6240 * sysdeps/sparc/bits/mathdef.h: Likewise.
6241
69db4f8f
MP
62422012-01-31 Marek Polacek <polacek@redhat.com>
6243
6244 * libio/libio.h: Don't define _PARAMS.
6245 * locale/programs/config.h: Don't define PARAMS.
6246 * stdlib/strtol_l.c: Likewise.
6247 (__strtol_l): Remove PARAMS from the prototype.
6248
41b81892
UD
62492012-01-31 Ulrich Drepper <drepper@gmail.com>
6250
3b49edc0
UD
6251 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6252 names. Just use the correct names. Remove unnecessary wrapper
6253 functions.
6254 * malloc/arena.c: Likewise.
6255 * malloc/hooks.c: Likewise.
6256
41b81892
UD
6257 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6258 ARENA_TEST says not to. Simplify test for creation of a new arena.
6259 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6260
27a25b6e
UD
62612012-01-30 Ulrich Drepper <drepper@gmail.com>
6262
6263 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6264 into tail calls.
6265 (update_get_addr): New function.
6266 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6267 GET_ADDR_MODULE parameter.
6268
c8a89e7d
JM
62692012-01-30 Joseph Myers <joseph@codesourcery.com>
6270
6271 * crypt/cert.c: Remove __STDC__ conditionals.
6272 * crypt/crypt-entry.c: Likewise.
6273 * crypt/crypt_util.c: Likewise.
6274 * libio/filedoalloc.c: Likewise.
6275 * libio/fileops.c: Likewise.
6276 * libio/genops.c: Likewise.
6277 * libio/iofclose.c: Likewise.
6278 * libio/iofdopen.c: Likewise.
6279 * libio/iofopen.c: Likewise.
6280 * libio/iofopen64.c: Likewise.
6281 * libio/iogetdelim.c: Likewise.
6282 * libio/iopopen.c: Likewise.
6283 * libio/obprintf.c: Likewise.
6284 * libio/oldfileops.c: Likewise.
6285 * libio/oldiofclose.c: Likewise.
6286 * libio/oldiofdopen.c: Likewise.
6287 * libio/oldiofopen.c: Likewise.
6288 * libio/oldiopopen.c: Likewise.
6289 * libio/wfiledoalloc.c: Likewise.
6290 * libio/wgenops.c: Likewise.
6291 * locale/programs/xmalloc.c: Likewise.
6292 * misc/syslog.c: Likewise.
6293 * stdio-common/xbug.c: Likewise.
6294 * string/memchr.c: Likewise.
6295 * string/memcmp.c: Likewise.
6296 * string/memrchr.c: Likewise.
6297 * string/rawmemchr.c: Likewise.
6298 * sysdeps/posix/getcwd.c: Likewise.
6299 * time/strftime_l.c: Likewise.
6300
3b100462
JM
63012012-01-30 Joseph Myers <joseph@codesourcery.com>
6302
6303 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6304 * config.make.in (config-cflags-sse2avx): Define.
6305 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6306 Fix typo.
6307
607998af
CM
63082012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6309
6310 * scripts/config.guess: Update from upstream config git repository.
6311 * scripts/config.sub: Likewise.
6312
3601428f
CM
63132012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6314
3ac8b282
CM
6315 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6316 (EM_NUM): Update.
6317 (R_TILEPRO_*, R_TILEGX_*): New macros.
6318
e034841e
CM
6319 * scripts/firstversions.awk: Fix bug in version range handling.
6320
540d7568
CM
6321 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6322
3601428f
CM
6323 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6324
463de862
CM
6325 * include/sys/epoll.h: New file.
6326 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6327 libc_hidden_def.
6328
73139a76
UD
63292012-01-28 Ulrich Drepper <drepper@gmail.com>
6330
96bc5b45
UD
6331 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6332 Avoid unnecessary __WORDSIZE == 64 test.
6333 (fmaxf): Use VEX format if possible.
6334 (fmax): Likewise.
6335 (fminf): Likewise.
6336 (fmin): Likewise.
6337
56f6f6a2
UD
6338 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6339 * math/math_private.h: Remove libc_fegetround* and
6340 libc_fesetround*.
6341 * sysdeps/i386/configure.in: Check for -msse2avx.
6342 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6343 also if SSE2AVX is defined.
6344 Remove libc_fegetround* and libc_fesetround*.
6345 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6346 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6347 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6348 of HAS_YMM_USABLE.
6349 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6350 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6351 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6352 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6353 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6354
73139a76
UD
6355 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6356
d73f93a4
AZ
63572012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6358
6359 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6360 size is not set.
6361 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6362
6ee65ed6
UD
63632012-01-27 Ulrich Drepper <drepper@gmail.com>
6364
6365 [BZ #13618]
6366 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6367 relocation.
6368 * Makeconfig (libm): Define.
6369 * elf/Makefile: Add rules to build and run tst-relsort1.
6370 * elf/tst-relsort1.c: New file.
6371 * elf/tst-relsort1mod1.c: New file.
6372 * elf/tst-relsort1mod2.c: New file.
6373
8db21882
JM
63742012-01-27 Joseph Myers <joseph@codesourcery.com>
6375
6376 * math/s_ldexp.c: Remove __STDC__ conditionals.
6377 * math/s_ldexpf.c: Likewise.
6378 * math/s_ldexpl.c: Likewise.
6379 * math/s_nextafter.c: Likewise.
6380 * math/s_nexttowardf.c: Likewise.
6381 * math/s_significand.c: Likewise.
6382 * math/s_significandf.c: Likewise.
6383 * math/s_significandl.c: Likewise.
6384 * math/w_jnl.c: Likewise.
6385 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6386 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6387 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6388 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6389 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6391 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6392 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6393 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6394 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6395 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6396 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6397 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6398 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6399 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6400 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6401 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6402 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6403 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6404 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6405 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6406 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6407 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6408 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6409 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6410 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6411 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6412 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6413 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6414 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6415 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6416 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6417 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6418 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6419 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6420 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6421 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6422 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6423 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6424 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6425 * sysdeps/ieee754/k_standard.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6487 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6492 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6496 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6497 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6500 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6501 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6502 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6504 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6505 * sysdeps/ieee754/s_matherr.c: Likewise.
6506 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6507 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6508 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6509 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6510
965a54a4
JM
65112012-01-26 Joseph Myers <joseph@codesourcery.com>
6512
6513 * crypt/md5.h: Remove __STDC__ conditionals.
6514 * libio/libioP.h: Likewise.
6515 * locale/programs/config.h: Likewise.
6516 * sysdeps/generic/sysdep.h: Likewise.
6517 * sysdeps/i386/asm-syntax.h: Likewise.
6518 * sysdeps/s390/asm-syntax.h: Likewise.
6519 * sysdeps/unix/sysdep.h: Likewise.
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6522
7071ad79
JM
65232012-01-26 Joseph Myers <joseph@codesourcery.com>
6524
6525 * libio/libio.h: Remove __STDC__ conditionals.
6526 * malloc/obstack.h: Likewise.
6527 * math/complex.h: Likewise.
6528 * math/math.h: Likewise.
6529 * sysdeps/generic/_G_config.h: Likewise.
6530 * sysdeps/gnu/_G_config.h: Likewise.
6531 * sysdeps/mach/hurd/_G_config.h: Likewise.
6532 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6533 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6534 * sysdeps/sparc/bits/mathdef.h: Likewise.
6535
afc5ed09
UD
65362012-01-26 Ulrich Drepper <drepper@gmail.com>
6537
6538 [BZ #13583]
6539 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6540 Clean up HAS_* macros.
afc5ed09 6541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6542 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6543 possible.
6544 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6545 HAS_AVX.
6546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6547 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6551
bdb6de1d
JM
65522012-01-25 Joseph Myers <joseph@codesourcery.com>
6553
6554 * elf/tst-unique3.cc (gets): Remove declaration.
6555 * elf/tst-unique3lib.cc (gets): Likewise.
6556 * elf/tst-unique3lib2.cc (gets): Likewise.
6557 * elf/tst-unique4.cc (gets): Likewise.
6558
b15549e6
UD
65592012-01-24 Ulrich Drepper <drepper@gmail.com>
6560
6561 * include/stdio.h: Add C++ protection. Add gets declarations and
6562 definitions.
6563 * debug/tst-chk1.c: Don't declare gets here.
6564 * stdio-common/tst-gets.c: Likewise.
6565
a037381f
JM
65662012-01-24 Joseph Myers <joseph@codesourcery.com>
6567
6568 * posix/glob: Remove directory.
6569
f1d4aa75
JM
65702012-01-24 Joseph Myers <joseph@codesourcery.com>
6571
6572 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6573
81c0c964
PT
65742012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6575
6576 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6577 of the non-standard EPFNOSUPPORT.
6578
0ea698ae
ST
65792011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6580
6581 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6582 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6583 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6584
d220b117
UD
65852012-01-21 Ulrich Drepper <drepper@gmail.com>
6586
6587 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6588
3e1aa84e
UD
65892012-01-20 Ulrich Drepper <drepper@gmail.com>
6590
6591 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6592 transient errors.
6593 * nscd/grpcache.c (cache_addgr): Likewise.
6594 * nscd/hstcache.c (cache_addhst): Likewise.
6595 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6596 * nscd/pwdcache.c (cache_addpw): Likewise.
6597 * nscd/servicescache.c (cache_addserv): Likewise.
6598
400aa020
UD
65992012-01-16 Ulrich Drepper <drepper@gmail.com>
6600
d77e7869
UD
6601 * malloc/malloc.c: Various cleanups.
6602 * malloc/hooks.c: Likewise.
6603
400aa020
UD
6604 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6605 * stdlib/bug-fmtmsg1.c: New file.
6606
6607 * stdlib/fmtmsg.c (init): Add missing unlock.
6608 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6609
e0a309cf
MP
66102012-01-12 Marek Polacek <polacek@redhat.com>
6611
6612 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6613 and _GNU_SOURCE.
6614
929d11c7
WS
66152012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6616
6617 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6618 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6619 macro to ensure uniqueness of label name.
6620 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6621 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6622
41d0e869
UD
66232012-01-11 Ulrich Drepper <drepper@gmail.com>
6624
0cc5ed3b
UD
6625 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6626
41d0e869
UD
6627 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6628 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6629 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6630 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6631
a47a831a
UD
66322012-01-10 Ulrich Drepper <drepper@gmail.com>
6633
daa891c0
UD
6634 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6635
6636 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6637 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6638 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6639
e58ef0f2
UD
6640 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6641
a47a831a 6642 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6643 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6644 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6645 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6646
6647 * math/bits/math-finite.h: Add ldexp support.
6648
a0bfc9c7
MP
66492012-01-10 Marek Polacek <polacek@redhat.com>
6650
6651 * locale/programs/localedef.h (show_archive_content): Add noreturn
6652 attribute.
6653
d6e97a1d
UD
66542012-01-09 Ulrich Drepper <drepper@gmail.com>
6655
6656 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6657
d5835c26
UD
66582012-01-08 Ulrich Drepper <drepper@gmail.com>
6659
e5f484c6
UD
6660 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6661
d5835c26
UD
6662 * io/Makefile (headers): Add bits/poll2.h.
6663
d1f741e9
WS
66642011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6665
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6667 typo #include statement.
6668
ec09c1c4
UD
66692012-01-08 Ulrich Drepper <drepper@gmail.com>
6670
6671 * include/sys/cdefs.h: Define __attribute_alloc_size.
6672 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6673 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6674 * elf/pldd.c: Likewise.
6675 * iconv/iconv_charmap.c: Likewise.
6676 * iconv/iconvconfig.c: Likewise.
6677 * iconv/strtab.c: Likewise.
6678 * locale/programs/locale.c: Likewise.
6679 * locale/programs/localedef.h: Likewise.
6680 * locale/programs/simple-hash.c: Likewise.
6681 * nscd/nscd.h: Likewise.
6682 * nss/makedb.c: Likewise.
6683 * sysdeps/generic/ldconfig.h: Likewise.
6684 * locale/programs/localedef.c: Remove xmalloc prototype.
6685 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6686
20b38e03
PP
66872012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6688
6689 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6690 appropriate.
6691
a0da5fe1
UD
66922012-01-08 Ulrich Drepper <drepper@gmail.com>
6693
1d5a644a 6694 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6695 * math/tst-CMPLX.c: New file.
1d5a644a 6696
8784a6db
UD
6697 * math/complex.h (CMPLXL): Fix typo.
6698
d9a216c0
UD
6699 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6700 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6701 GLIBC_2.16.
6702 * debug/tst-chk1.c: Add poll and ppoll tests.
6703 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6704 * include/sys/poll.h: Add hidden proto for ppoll.
6705 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6706 * sysdeps/mach/hurd/ppoll.c: Likewise.
6707 * io/ppoll.c: Likewise.
6708 * debug/poll_chk.c: New file.
6709 * debug/ppoll_chk.c: New file.
6710 * include/bits/poll2.h: New file.
6711 * io/bits/poll2.h: New file.
6712
ac097f5c
UD
6713 [BZ #1350]
6714 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6715
2119dcfa
UD
6716 * configure.in: static is always set to yes. Remove.
6717 * config.make.in: Don't set build-static.
6718 * Makeconfig: Remove use of build-static.
6719 * dlfcn/Makefile: Likewise.
6720 * elf/Makefile: Likewise.
6721 * math/Makefile: Likewise.
6722 * misc/Makefile: Likewise.
6723 * nptl/Makefile: Likewise.
6724 * sysdeps/mach/hurd/Makefile: Likewise.
6725
121766a9
UD
6726 * configure.in: PWD_P is not used anymore.
6727 * config.make.in: Remove PWD_P entry.
6728
51a1d39c 6729 * configure.in: Remove last remnants of RANLIB.
8720d066 6730 No need to check for signed size_t anymore.
215f4bdc
UD
6731 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6732 and IA-64.
3857022a 6733 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6734 * aclocal.m4: Likewise.
6735
d3ed7225
UD
6736 * wcsmbs/mbrtoc16.c: Implement using towc function.
6737 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6738 * wcsmbs/wcsmbsload.c: Likewise.
6739 * iconv/gconv_simple.c: Likewise.
6740 * iconv/gconv_int.h: Likewise.
6741 * iconv/gconv_builtin.h: Likewise.
6742 * iconv/iconv_prog.c: Remove CHAR16 handling.
6743
6744 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6745
6746 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6747
a0da5fe1
UD
6748 * configure.in: Remove --with-elf and --enable-bounded options.
6749 Dont set base_machine for ia64. More non-ELF conditions removed.
6750 Remove testing and setting of leading underscore information.
6751 * config.make.in (build-bounded): Set to no.
6752 * config.h.in: Remove NO_UNDERSCORES entry.
6753 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6754 them.
6755 * csu/start.c: Remove !NO_UNDERSCORE code.
6756 * locale/localeinfo.h: Likewise.
6757 * sysdeps/generic/machine-gmon.h: Likewise.
6758 * sysdeps/generic/sysdep.h: Likewise.
6759 * sysdeps/i386/sysdep.h: Likewise.
6760 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6761 * sysdeps/mach/sysdep.h: Likewise.
6762 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6763 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6764 * sysdeps/sh/sysdep.h: Likewise.
6765 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6766 * sysdeps/unix/i386/sysdep.S: Likewise.
6767 * sysdeps/unix/sparc/start.c: Likewise.
6768 * sysdeps/unix/sparc/sysdep.S: Likewise.
6769 * sysdeps/unix/sparc/sysdep.h: Likewise.
6770 * sysdeps/unix/start.c: Likewise.
6771 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6772 * sysdeps/x86_64/sysdep.h: Likewise.
6773
df78418a
UD
67742012-01-07 Ulrich Drepper <drepper@gmail.com>
6775
a784e502
UD
6776 [BZ #13553]
6777 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6778 for non-gcc.
6779 * argp/argp-fmtstream.h: Use const instead __const.
6780 * argp/argp.h: Likewise.
6781 * assert/assert.h: Likewise.
6782 * bits/fenv.h: Likewise.
6783 * bits/sched.h: Likewise.
6784 * bits/sigset.h: Likewise.
6785 * bits/sigthread.h: Likewise.
6786 * catgets/nl_types.h: Likewise.
6787 * conform/data/pthread.h-data: Likewise.
6788 * crypt/crypt-private.h: Likewise.
6789 * crypt/crypt.h: Likewise.
6790 * crypt/crypt_util.c: Likewise.
6791 * ctype/ctype.h: Likewise.
6792 * debug/execinfo.h: Likewise.
6793 * debug/mbsnrtowcs_chk.c: Likewise.
6794 * debug/mbsrtowcs_chk.c: Likewise.
6795 * debug/wcsnrtombs_chk.c: Likewise.
6796 * debug/wcsrtombs_chk.c: Likewise.
6797 * debug/wcstombs_chk.c: Likewise.
6798 * dirent/dirent.h: Likewise.
6799 * dlfcn/dlfcn.h: Likewise.
6800 * elf/neededtest4.c: Likewise.
6801 * grp/grp.h: Likewise.
6802 * gshadow/gshadow.h: Likewise.
6803 * iconv/gconv.h: Likewise.
6804 * iconv/gconv_int.h: Likewise.
6805 * iconv/gconv_simple.c: Likewise.
6806 * iconv/iconv.h: Likewise.
6807 * iconv/loop.c: Likewise.
6808 * iconv/skeleton.c: Likewise.
6809 * include/aio.h: Likewise.
6810 * include/aliases.h: Likewise.
6811 * include/argz.h: Likewise.
6812 * include/arpa/inet.h: Likewise.
6813 * include/assert.h: Likewise.
6814 * include/dirent.h: Likewise.
6815 * include/dlfcn.h: Likewise.
6816 * include/execinfo.h: Likewise.
6817 * include/fcntl.h: Likewise.
6818 * include/fenv.h: Likewise.
6819 * include/glob.h: Likewise.
6820 * include/grp.h: Likewise.
6821 * include/libintl.h: Likewise.
6822 * include/mntent.h: Likewise.
6823 * include/netdb.h: Likewise.
6824 * include/pwd.h: Likewise.
6825 * include/rpc/netdb.h: Likewise.
6826 * include/sched.h: Likewise.
6827 * include/search.h: Likewise.
6828 * include/shadow.h: Likewise.
6829 * include/signal.h: Likewise.
6830 * include/stdio.h: Likewise.
6831 * include/stdlib.h: Likewise.
6832 * include/string.h: Likewise.
6833 * include/sys/socket.h: Likewise.
6834 * include/sys/stat.h: Likewise.
6835 * include/sys/statfs.h: Likewise.
6836 * include/sys/statvfs.h: Likewise.
6837 * include/sys/syslog.h: Likewise.
6838 * include/sys/time.h: Likewise.
6839 * include/sys/uio.h: Likewise.
6840 * include/time.h: Likewise.
6841 * include/unistd.h: Likewise.
6842 * include/utmp.h: Likewise.
6843 * include/wchar.h: Likewise.
6844 * include/wctype.h: Likewise.
6845 * inet/aliases.h: Likewise.
6846 * inet/arpa/inet.h: Likewise.
6847 * inet/netinet/ether.h: Likewise.
6848 * inet/netinet/in.h: Likewise.
6849 * intl/libintl.h: Likewise.
6850 * io/bits/fcntl2.h: Likewise.
6851 * io/fcntl.h: Likewise.
6852 * io/ftw.h: Likewise.
6853 * io/sys/poll.h: Likewise.
6854 * io/sys/stat.h: Likewise.
6855 * io/sys/statfs.h: Likewise.
6856 * io/sys/statvfs.h: Likewise.
6857 * io/utime.h: Likewise.
6858 * libio/bits/stdio.h: Likewise.
6859 * libio/bits/stdio2.h: Likewise.
6860 * libio/libio.h: Likewise.
6861 * libio/libioP.h: Likewise.
6862 * libio/stdio.h: Likewise.
6863 * locale/lc-ctype.c: Likewise.
6864 * locale/locale.h: Likewise.
6865 * login/utmp.h: Likewise.
6866 * malloc/arena.c: Likewise.
6867 * malloc/malloc.c: Likewise.
6868 * malloc/malloc.h: Likewise.
6869 * malloc/mcheck.c: Likewise.
6870 * malloc/mtrace.c: Likewise.
6871 * math/bits/mathcalls.h: Likewise.
6872 * math/fenv.h: Likewise.
6873 * math/math_private.h: Likewise.
6874 * misc/bits/error.h: Likewise.
6875 * misc/bits/syslog.h: Likewise.
6876 * misc/err.h: Likewise.
6877 * misc/error.h: Likewise.
6878 * misc/fstab.h: Likewise.
6879 * misc/mntent.h: Likewise.
6880 * misc/regexp.h: Likewise.
6881 * misc/search.h: Likewise.
6882 * misc/sgtty.h: Likewise.
6883 * misc/sys/mman.h: Likewise.
6884 * misc/sys/syslog.h: Likewise.
6885 * misc/sys/uio.h: Likewise.
6886 * misc/sys/xattr.h: Likewise.
6887 * misc/ttyent.h: Likewise.
6888 * nis/rpcsvc/ypclnt.h: Likewise.
6889 * nss/nss.h: Likewise.
6890 * posix/bits/unistd.h: Likewise.
6891 * posix/fnmatch.h: Likewise.
6892 * posix/glob.h: Likewise.
6893 * posix/sched.h: Likewise.
6894 * posix/spawn.h: Likewise.
6895 * posix/sys/wait.h: Likewise.
6896 * posix/unistd.h: Likewise.
6897 * posix/wordexp.h: Likewise.
6898 * pwd/pwd.h: Likewise.
6899 * resolv/netdb.h: Likewise.
6900 * resource/sys/resource.h: Likewise.
6901 * rt/aio.h: Likewise.
6902 * rt/bits/mqueue2.h: Likewise.
6903 * rt/mqueue.h: Likewise.
6904 * shadow/shadow.h: Likewise.
6905 * signal/signal.h: Likewise.
6906 * socket/send.c: Likewise.
6907 * socket/sendto.c: Likewise.
6908 * socket/sys/socket.h: Likewise.
6909 * stdio-common/printf.h: Likewise.
6910 * stdlib/bits/stdlib.h: Likewise.
6911 * stdlib/fmtmsg.h: Likewise.
6912 * stdlib/monetary.h: Likewise.
6913 * stdlib/stdlib.h: Likewise.
6914 * stdlib/ucontext.h: Likewise.
6915 * streams/stropts.h: Likewise.
6916 * string/argz.h: Likewise.
6917 * string/bits/string2.h: Likewise.
6918 * string/string.h: Likewise.
6919 * string/strings.h: Likewise.
6920 * sunrpc/rpc/auth.h: Likewise.
6921 * sunrpc/rpc/auth_des.h: Likewise.
6922 * sunrpc/rpc/clnt.h: Likewise.
6923 * sunrpc/rpc/netdb.h: Likewise.
6924 * sunrpc/rpc/pmap_clnt.h: Likewise.
6925 * sunrpc/rpc/xdr.h: Likewise.
6926 * sysdeps/generic/inttypes.h: Likewise.
6927 * sysdeps/generic/net/if.h: Likewise.
6928 * sysdeps/generic/sys/swap.h: Likewise.
6929 * sysdeps/gnu/net/if.h: Likewise.
6930 * sysdeps/gnu/utmpx.h: Likewise.
6931 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6932 * sysdeps/i386/i486/bits/string.h: Likewise.
6933 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6934 * sysdeps/s390/bits/string.h: Likewise.
6935 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6936 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6937 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6938 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6939 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6940 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6941 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6942 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6943 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6944 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6945 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6946 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6947 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6948 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6949 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6950 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6951 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6952 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6953 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6954 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6955 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6956 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6957 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6958 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6959 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6960 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6961 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6962 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6963 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6964 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6965 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6966 * sysvipc/sys/ipc.h: Likewise.
6967 * sysvipc/sys/msg.h: Likewise.
6968 * sysvipc/sys/sem.h: Likewise.
6969 * sysvipc/sys/shm.h: Likewise.
6970 * termios/termios.h: Likewise.
6971 * time/sys/time.h: Likewise.
6972 * time/time.h: Likewise.
6973 * wcsmbs/bits/wchar2.h: Likewise.
6974 * wcsmbs/uchar.h: Likewise.
6975 * wcsmbs/wchar.h: Likewise.
6976 * wctype/wctype.h: Likewise.
6977
0269750c
UD
6978 [BZ #13551]
6979 * Makeconfig: Remove all but ELF support including AIX support.
6980 * Makerules: Likewise.
6981 * config.h.in: Likewise.
6982 * config.make.in: Likewise.
6983 * configure: Likewise.
6984 * configure.in: Likewise.
6985 * csu/Makefile: Likewise.
6986 * csu/version.c: Likewise.
6987 * debug/Makefile: Likewise.
6988 * dlfcn/Makefile: Likewise.
6989 * elf/Makefile: Likewise.
6990 * extra-lib.mk: Likewise.
6991 * iconv/Makefile: Likewise.
6992 * include/libc-symbols.h: Likewise.
6993 * include/shlib-compat.h: Likewise.
6994 * resolv/Makefile: Likewise.
6995 * resolv/res_libc.c: Likewise.
6996 * rt/Makefile: Likewise.
6997 * sysdeps/i386/asm-syntax.h: Likewise.
6998 * sysdeps/i386/sysdep.h: Likewise.
6999 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7000 * sysdeps/mach/sysdep.h: Likewise.
7001 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7002 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7003 * sysdeps/s390/asm-syntax.h: Likewise.
7004 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7005 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7006 * sysdeps/sh/sysdep.h: Likewise.
7007 * sysdeps/unix/sparc/sysdep.h: Likewise.
7008 * sysdeps/wordsize-32/divdi3.c: Likewise.
7009 * sysdeps/x86_64/sysdep.h: Likewise.
7010
00bbd29b
UD
7011 * argp/Versions: Remove _argp_unlock_xxx.
7012
7013 [BZ #13559]
7014 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7015 * abilist/libBrokenLocale.abilist: Likewise.
7016 * abilist/libanl.abilist: Likewise.
7017 * abilist/libc.abilist: Likewise.
7018 * abilist/libcrypt.abilist: Likewise.
7019 * abilist/libdl.abilist: Likewise.
7020 * abilist/libm.abilist: Likewise.
7021 * abilist/libnsl.abilist: Likewise.
7022 * abilist/libpthread.abilist: Likewise.
7023 * abilist/libresolv.abilist: Likewise.
7024 * abilist/librt.abilist: Likewise.
7025 * abilist/libthread_db.abilist: Likewise.
7026 * abilist/libutil.abilist: Likewise.
7027 * abilist/libnss_db.abilist: New file.
7028
7029 * scripts/abilist.awk: Add support for indirect functions.
7030
a2693a0e
UD
7031 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7032
3f05895f
UD
7033 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7034
ecb6fb48
UD
7035 * shlib-versions: Remove entries for ports architectures.
7036
664f8cb9
UD
7037 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7038 files in ports.
7039 * elf/stackguard-macros.h: Remove support for IA-64.
7040 * elf/tst-auditmod1.c: Likewise.
7041 * sysdeps/generic/ldsodefs.h: Likewise.
7042
7ae81d88
UD
7043 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7044 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7045 configure files.
7046
bdeba135
UD
7047 [BZ #13552]
7048 * configure.in: Remove --enable-omitfp support.
7049 * FAQ.in: Adjust.
7050 * config.make.in: Likewise.
7051 * Makeconfig: Likewise.
7052 * manual/install.texi: Likewise.
7053
d75a0a62
UD
7054 In case anyone cares, the IA-64 architecture could move to ports.
7055 * sysdeps/ia64/*: Removed.
7056 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7057 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7058
dcc9756b
UD
7059 [BZ #13555]
7060 * configure.in: Remove entries for unsupported architectures.
7061
d3761ebc 7062 [BZ #13533]
9954432e
UD
7063 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7064 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7065 routines.
7066 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7067 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7068 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7069 fall back to using wcrtomb.
7070 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7071 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7072 renaming.
7073 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7074 * wcsmbs/tst-c16c32-1.c: New file.
7075
7076 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7077 local variable.
7078
c3a87236
UD
7079 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7080
28926a1b
UD
7081 * elf/tst-unique3.cc: Add explicit declaration of gets.
7082 * elf/tst-unique3lib.cc: Likewise.
7083 * elf/tst-unique3lib2.cc: Likewise.
7084 * elf/tst-unique4.cc: Likewise.
7085
df78418a
UD
7086 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7087
8ecd6b2a
JM
70882012-01-06 Joseph Myers <joseph@codesourcery.com>
7089
7090 [BZ #13566]
7091 * assert/assert.h (static_assert): Don't define for C++.
7092 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7093 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7094
9f115170
UD
70952012-01-03 Ulrich Drepper <drepper@gmail.com>
7096
5e0d0300
UD
7097 * iconv/loop.c (single loop): Fix assertion in storing of
7098 remaining bytes.
7099
9f115170
UD
7100 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7101
81fb02b0
UD
71022012-01-01 Ulrich Drepper <drepper@gmail.com>
7103
7104 * posix/getconf.c: Update copyright year.
7105 * nss/getent.c: Likewise.
a316c1f6 7106 * nss/makedb.c: Likewise.
81fb02b0
UD
7107 * iconv/iconvconfig.c: Likewise.
7108 * iconv/iconv_prog.c: Likewise.
7109 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7110 * elf/pldd.c: Likewise.
7111 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7112 * catgets/gencat.c: Likewise.
7113 * csu/version.c: Likewise.
7114 * elf/ldd.bash.in: Likewise.
7115 * elf/sprof.c (print_version): Likewise.
7116 * locale/programs/locale.c: Likewise.
7117 * locale/programs/localedef.c: Likewise.
a316c1f6 7118 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7119 * nscd/nscd.c (print_version): Likewise.
7120 * debug/xtrace.sh: Likewise.
7121 * malloc/memusage.sh: Likewise.
7122 * malloc/mtrace.pl: Likewise.
7123 * debug/catchsegv.sh: Likewise.
7124
2ba92745
JJ
71252011-12-30 Jakub Jelinek <jakub@redhat.com>
7126
7127 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7128 pure attribute.
7129
dadebdae
UD
71302011-12-24 Ulrich Drepper <drepper@gmail.com>
7131
d3761ebc 7132 [BZ #13533]
db6af3eb
UD
7133 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7134 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7135 transformations.
7136 * iconv/gconv_int.h: Likewise.
7137 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7138 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7139 from libc for GLIBC_2.16.
7140 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7141 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7142 * wcsmbs/uchar.h: Really define mbstate_t.
7143 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7144 * wcsmbs/c16rtomb.c: New file.
7145 * wcsmbs/mbrtoc16.c: New file.
7146 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7147 for C/POSIX locale.
7148 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7149 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7150
dadebdae
UD
7151 * wcsmbs/wchar.h: Add missing __restrict.
7152
67371b56
UD
71532011-12-23 Ulrich Drepper <drepper@gmail.com>
7154
74033a25
UD
7155 [BZ #13532]
7156 * time/Makefile (routines): Add timespec_get.
7157 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7158 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7159 timespec for ISO C11.
7160 * time/timespec_get.c: New file.
7161 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7162 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7163
380d7e87
UD
7164 [BZ #13531]
7165 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7166 * stdlib/stdlib.h: Declare aligned_alloc.
7167 * Versions.def: Add GLIBC_2.16 for libc.
7168 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7169
4e9e7a35
UD
7170 [BZ 13527]
7171 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7172 ISO C11.
7173
380d7e87 7174 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7175 code.
7176
03a71829
UD
7177 [BZ #13528]
7178 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7179
839e283e
UD
7180 [BZ #13529]
7181 * assert/assert.h (static_assert): Define.
7182
ce5294e2 7183 * version.h: Update for 2.16 development version.
90fa7312 7184
8d44e150 7185 [BZ #13526]
d7809905
UD
7186 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7187 _ISOC11_SOURCE.
7188
c0da14cd
UD
7189 * version.h (RELEASE): Bump for 2.15 release.
7190 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7191
530a3249
MP
7192 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7193 Patch by Marek Polacek <mpolacek@redhat.com>.
7194
67371b56
UD
7195 * bits/byteswap.h: Protect long long constants with __extension__.
7196 * sysdeps/i386/bits/byteswap.h: Likewise.
7197 * sysdeps/ia64/bits/byteswap.h: Likewise.
7198 * sysdeps/s390/bits/byteswap.h: Likewise.
7199 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7200
15db4de1
LD
72012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7202
7203 [BZ #13540]
bbe315ea
LD
7204 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7205 destination buffer.
15db4de1
LD
7206 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7207
2b2596b1
MP
72082011-12-23 Marek Polacek <polacek@redhat.com>
7209
7210 * elf/dl-addr.c (determine_info): Add inline keyword.
7211 * elf/tst-auditmod4b.c (check_avx): Likewise.
7212 * elf/tst-auditmod6b.c (check_avx): Likewise.
7213 * elf/tst-auditmod6c.c (check_avx): Likewise.
7214 * elf/tst-auditmod7b.c (check_avx): Likewise.
7215
70c6c246
UD
72162011-12-23 Ulrich Drepper <drepper@gmail.com>
7217
7218 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7219 !__SSE_MATH__.
7220
c044cf14
LD
72212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7222
15db4de1 7223 [BZ #13540]
c044cf14
LD
7224 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7225 processing for last bytes.
7226
6b13d9d9
BH
72272011-08-06 Bruno Haible <bruno@clisp.org>
7228
d455f537
BH
7229 [BZ #13061]
7230 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7231 U+0385, not to U+1FEE.
7232
6b13d9d9
BH
7233 [BZ #13062]
7234 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7235 entry for U+00A5 U+0301.
7236
db910efd
UD
72372011-12-22 Ulrich Drepper <drepper@gmail.com>
7238
27deeafc
UD
7239 [BZ #13166]
7240 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7241 buffer for the output is too small.
7242
aed9d171
UD
7243 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7244 optimization.
7245
db910efd
UD
7246 [BZ #13185]
7247 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7248 SSE flags if possible.
7249
2bd779ae
LD
72502011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7251
e7f9dac3 7252 [BZ #13540]
2bd779ae
LD
7253 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7254 processing for last bytes.
7255
154bfc16
JM
72562011-12-22 Joseph Myers <joseph@codesourcery.com>
7257
7258 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7259 (syscall-list-default-options, syscall-list-default-condition)
7260 (syscall-list-includes): Define.
7261 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7262 list of ABIs and options and #if conditions for each ABI. Do not
7263 handle common syscalls between ABIs specially.
7264 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7265 Remove.
7266 (syscall-list-variants, syscall-list-32bit-options)
7267 (syscall-list-32bit-condition, syscall-list-64bit-options)
7268 (syscall-list-64bit-condition): Define.
7269 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7270 (syscall-list-variants, syscall-list-32bit-options)
7271 (syscall-list-32bit-condition, syscall-list-64bit-options)
7272 (syscall-list-64bit-condition): Define.
7273 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7274 Remove.
7275 (syscall-list-variants, syscall-list-32bit-options)
7276 (syscall-list-32bit-condition, syscall-list-64bit-options)
7277 (syscall-list-64bit-condition): Define.
7278 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7279 Remove.
7280 (syscall-list-variants, syscall-list-32bit-options)
7281 (syscall-list-32bit-condition, syscall-list-64bit-options)
7282 (syscall-list-64bit-condition): Define.
7283
21eaf3a5
UD
72842011-12-22 Ulrich Drepper <drepper@gmail.com>
7285
16c6f992
UD
7286 * locale/iso-639.def: Add brx entry.
7287
41043168
UD
7288 [BZ #13328]
7289 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7290 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7291
21eaf3a5
UD
7292 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7293 __feraiseexcept_renamed.
7294
e3a851a2
UD
72952011-12-21 Ulrich Drepper <drepper@gmail.com>
7296
4920765e
UD
7297 [BZ #13538]
7298 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7299 EPOLLET with unsigned values.
7300 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7301 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7302
e3a851a2
UD
7303 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7304 to large cancellation.
7305 * math/s_cacoshf.c: Likewise.
7306 * math/s_cacoshl.c: Likewise.
7307
b27e24b8
RK
73082011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7309
7310 [BZ #13305]
aebefeee 7311 [BZ #12786]
b27e24b8
RK
7312 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7313 * math/s_cacoshf.c: Likewise.
7314 * math/s_cacoshl.c: Likewise.
7315
ee190f67
UD
73162011-12-21 Ulrich Drepper <drepper@gmail.com>
7317
7318 [BZ #13439]
7319 * iconv/gconv.h: Define __GCONV_SWAP.
7320 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7321 * iconvdata/utf-16.c: Likewise.
7322 * iconvdata/utf-32.c: Likewise.
7323
707f25df
AS
73242011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7325
7326 [BZ #13524]
7327 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7328 numerator after shifting it by one limb.
7329
d2daaa1e
RÁE
73302011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7331
7332 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7333 under [__USE_EXTERN_INLINES].
7334
a4647e72
UD
73352011-12-17 Ulrich Drepper <drepper@gmail.com>
7336
7337 [BZ #13446]
7338 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7339
f0b264f1
AZ
73402011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7341
7342 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7343 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7344 optimized code.
7345 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7346 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7347 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7348 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7349 for strncasecmp/strncasecmp_l compilation.
7350 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7351 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7352
8ef4f244
MP
73532011-12-08 Marek Polacek <mpolacek@redhat.com>
7354
7355 [BZ #13484]
7356 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7357 of __asm__.
7358
97ac2654
UD
73592011-12-17 Ulrich Drepper <drepper@gmail.com>
7360
7361 [BZ #13506]
7362 * time/tzfile.c (__tzfile_read): Check values from file header.
7363
91d2a845
WS
73642011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7365
7366 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7367 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7368 * powerpc/powerpc32/dl-start.S: Likewise.
7369 * powerpc/powerpc32/elf/start.S: Likewise.
7370 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7371 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7372 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7373 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7374 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7375 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7376 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7377 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7378 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7379 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7380 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7381 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7382 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7383 * powerpc/powerpc32/memset.S: Likewise.
7384 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7385 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7386 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7387 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7388 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7389 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7390 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7391 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7392 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7393 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7394 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7395 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7396 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7397
a1267ba1
AZ
73982011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7399
7400 * math/libm-test.inc: Added more nearbyint tests.
7401 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7402 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7403 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7404 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7405
ad8ac1bd
RL
74062011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7407
7408 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7409 FD_CLOEXEC.
7410
1d3e4b61
UD
74112011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7412
7413 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7414 Add wcscpy-ssse3 wcscpy-c.
7415 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7416 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7417 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7418 * sysdeps/x86_64/wcschr.S: New file.
7419 * sysdeps/x86_64/wcsrchr.S: New file.
7420 * string/test-strcmp.c: Remove checking of wcscmp function for
7421 wrong alignments.
7422 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7423 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7424 wcsrchr-sse2 wcsrchr-c.
7425 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7426 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7427 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7428 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7429 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7430 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7431 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7432 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7433 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7434 * wcsmbc/wcschr.c (WCSCHR): New macro.
7435
5b330a2d
UD
74362011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7437
7438 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7439 * wcsmbs/test-wcsrchr.c: New file.
7440 * string/test-strrchr.c: Add wcsrchr support.
7441 (WIDE): New macro.
7442 * wcsmbs/test-wcscpy.c: New file.
7443 * string/test-strcpy.c: Add wcscpy support.
7444 (WIDE): New macro.
26428b7c 7445
f039c043
UD
74462011-12-10 Ulrich Drepper <drepper@gmail.com>
7447
7448 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7449 the inner loop.
7450
850fb039
AS
74512011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7452
7453 [BZ #13472]
7454 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7455
4efbd5cb
UD
74562011-12-04 Ulrich Drepper <drepper@gmail.com>
7457
52ff5dd0 7458 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7459 Minor optimizations.
52ff5dd0 7460
4efbd5cb
UD
7461 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7462 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7463 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7464
8a426e12
UD
74652011-12-03 Ulrich Drepper <drepper@gmail.com>
7466
aff2453d
UD
7467 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7468 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7469 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7470 for gcc to avoid warnings.
7471 * inet/Makefile (tests): Add tst-checks.
7472 * inet/tst-checks.c: New file.
7473
7474 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7475 warning.
7476
7477 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7478 __wmemcmp_sse2.
7479
7480 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7481 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7482
8a426e12
UD
7483 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7484
9bea3473
UD
74852011-12-02 Ulrich Drepper <drepper@gmail.com>
7486
3a965496
UD
7487 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7488 problem.
7489
9bea3473
UD
7490 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7491
f101631b
UD
74922011-11-29 Joseph Myers <joseph@codesourcery.com>
7493
7494 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7495 conditional on GCC version.
7496 (__arch_compare_and_exchange_val_8_acq)
7497 (__arch_compare_and_exchange_val_16_acq)
7498 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7499 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7500 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7501
a98275aa
UD
75022011-12-02 Joseph Myers <joseph@codesourcery.com>
7503
7504 * sysdeps/sh/backtrace.c: New file.
7505
d4cc29a2
AS
75062011-12-02 Andreas Schwab <schwab@redhat.com>
7507
7508 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7509 parenthesis.
7510
6257af2d
AS
75112011-12-01 Andreas Schwab <schwab@redhat.com>
7512
7513 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7514 falling back to utime.
7515
b5f44c1a
AS
75162011-11-30 Andreas Schwab <schwab@redhat.com>
7517
7518 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7519 expectations for float.
7520
f3a6cc0a
AS
75212011-11-29 Andreas Schwab <schwab@redhat.com>
7522
7523 * locale/weight.h (findidx): Add parameter len.
7524 * locale/weightwc.h (findidx): Likewise.
7525 * posix/fnmatch_loop.c (FCT): Adjust caller.
7526 * posix/regcomp.c (build_equiv_class): Likewise.
7527 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7528 * posix/regexec.c (check_node_accept_bytes): Likewise.
7529 * string/strcoll_l.c (STRCOLL): Likewise.
7530 * string/strxfrm_l.c (STRXFRM): Likewise.
7531
9d65ea3a
UD
75322011-11-17 Ulrich Drepper <drepper@gmail.com>
7533
7534 * Makefile.in: Remove CVSOPT handling.
7535 * configure.in: Remove use of AC_REVISION.
7536 * iconvdata/Makefile (distribute): No need to filter out CVS.
7537 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7538 handling.
7539
5583a086
AS
75402011-11-16 Andreas Schwab <schwab@redhat.com>
7541
7542 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7543 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7544 [USE_AS_STRNCASECMP_L]: Likewise.
7545 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7546 NO_TLS_DIRECT_SEG_REFS.
7547 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7548 Fix argument offsets for non-PIC.
7549 [USE_AS_STRNCASECMP_L]: Likewise.
7550 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7551 NO_TLS_DIRECT_SEG_REFS.
7552
d62a8200
UD
75532011-11-15 Ulrich Drepper <drepper@gmail.com>
7554
9d65ea3a 7555 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7556 O_CLOEXEC.
7557 * locale/loadlocale.c (_nl_load_locale): Likewise.
7558
09f93bd3
AS
75592011-11-15 Andreas Schwab <schwab@redhat.com>
7560
446514f9
AS
7561 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7562 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7563 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7564 (SYSCALL_GETTIME): Set errno on error.
7565
09f93bd3
AS
7566 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7567 count references to noai6ai_cached.
7568
312be3f9
UD
75692011-11-15 Ulrich Drepper <drepper@gmail.com>
7570
7571 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7572
7573 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7574 FD_CLOEXEC for /proc/self/maps.
7575
7576 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7577 FD_CLOEXEC for /proc/meminfo.
7578
7579 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7580 gai.conf.
7581
7582 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7583 FD_CLOEXEC for given file.
7584
7585 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7586
7587 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7588 FD_CLOEXEC for /etc/hosts.
7589 (_gethtent): Likewise.
7590
7591 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7592
7593 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7594 cancellation and set FD_CLOEXEC for /etc/netgroup.
7595
7596 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7597 reading /etc/publickey.
7598
7599 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7600 allow cancellation when reading /etc/group.
7601
7602 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7603 cancellation.
7604 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7605
7606 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7607 when using data file.
7608
7609 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7610
7611 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7612 (write_nis_obj): Use "c" and "e" in fopen.
7613
7614 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7615
7616 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7617
7618 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7619
7620 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7621
7622 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7623 locale.alias.
7624
7625 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7626
7627 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7628
7629 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7630
7631 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7632 file parsing and set FD_CLOEXEC.
7633
82af0fa8
UD
76342011-11-14 Ulrich Drepper <drepper@gmail.com>
7635
7636 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7637
a5fb313c
AS
76382011-11-14 Andreas Schwab <schwab@redhat.com>
7639
7640 * malloc/arena.c (arena_get2): Don't call reused_arena when
7641 _int_new_arena failed.
7642
6abf3465
UD
76432011-11-14 Ulrich Drepper <drepper@gmail.com>
7644
7645 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7646 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7647 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7648 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7649 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7650 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7651 to compile strcasecmp and strncasecmp.
7652 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7653 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7654
7655 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7656
76e3966e
UD
76572011-11-13 Ulrich Drepper <drepper@gmail.com>
7658
7659 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7660 locale-defines.sym to gen-as-const-headers.
7661 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7662 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7663 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7664 to compile strcasecmp and strncasecmp.
7665 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7666 strcasecmp_l and strncasecmp_l.
7667 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7668 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7669 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7670 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7671 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7672 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7673 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7674 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7675 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7676 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7677 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7678
ab26144e
UD
76792011-11-12 Ulrich Drepper <drepper@gmail.com>
7680
7edb22ef
UD
7681 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7682 result of SYSDEP_GETTIME_CPU to retval.
7683 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7684 parameter list to macro. Remove trailing semicolon. Adjust users.
7685
9694fc44
UD
7686 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7687 variable.
7688
8ad89ef8
UD
7689 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7690 mantissa words.
7691 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7692
0c822ef9
UD
7693 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7694 from unused variable.
7695
874e0564
UD
7696 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7697 DWARF definitions.
7698 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7699 for assembling.
7700
3a2edc79
UD
7701 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7702 over namespaces.
7703
f3c2577f
UD
7704 * sunrpc/rpc_prot.c (rejected): Fix case value.
7705
294ce126
UD
7706 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7707 unsigned long long int to avoid warnings in shift.
7708
5e2b63c6
UD
7709 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7710 of use of trans.
7711 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7712 variable tmp.
7713
e7f4b08e
UD
7714 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7715 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7716 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7717
ab26144e
UD
7718 * nis/nis_table.c (nis_list): Use variable of correct type for
7719 result of __follow_path call.
7720
8a6d5255
AZ
77212011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7722
7723 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7724 of math functions ceil, trunc, floor, round, and sqrt, when
7725 avaliable on the platform.
7726 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7727 name clash.
7728 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7729 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7730 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7731
aaddc98c
MP
77322011-10-30 Marek Polacek <mpolacek@redhat.com>
7733
7734 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7735 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7736
95b7042b
RM
77372011-11-11 Roland McGrath <roland@hack.frob.com>
7738
7739 * include/unistd.h: Fix __readlink return type.
7740 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7741
57769839
UD
77422011-11-11 Ulrich Drepper <drepper@gmail.com>
7743
7744 * stdlib/ucontext.h: Undo last change for makecontext.
7745
edc5984d
AS
77462011-11-11 Andreas Schwab <schwab@redhat.com>
7747
98591e58
AS
7748 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7749
edc5984d
AS
7750 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7751 * setjmp/setjmp.h: Mark functions as non-leaf.
7752 * setjmp/bits/setjmp2.h: Likewise.
7753 * stdlib/ucontext.h: Likewise.
7754
77cdc054
AS
77552011-11-10 Andreas Schwab <schwab@redhat.com>
7756
7757 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7758 (reused_arena): Don't check arena limit.
7759 (arena_get2): Atomically check arena limit.
7760
fe72eebd
UD
77612011-11-08 Ulrich Drepper <drepper@gmail.com>
7762
5f078c32
UD
7763 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7764 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7765
fe72eebd
UD
7766 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7767 instructions.
7768
ae1bc2fa
AS
77692011-11-07 Andreas Schwab <schwab@redhat.com>
7770
7583a88d
AS
7771 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7772 handler when locking.
7773
ae1bc2fa
AS
7774 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7775 Fix size of allocated buffer.
7776
10fb0bfa
AS
77772011-11-04 Andreas Schwab <schwab@redhat.com>
7778
998832a4
AS
7779 [BZ #10103]
7780 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7781 declarations for long double functions.
7782 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7783
10fb0bfa
AS
7784 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7785
3d7ba52b
AS
77862011-11-03 Andreas Schwab <schwab@redhat.com>
7787
a9ae54a1
AS
7788 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7789 installed.
7790
3d7ba52b
AS
7791 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7792 is disabled.
7793
bc8db248
ST
77942011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7795
7796 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7797
45b96dd6
AS
77982011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7799
647776f6
AS
7800 * include/alloca.h (stackinfo_alloca_round): Define.
7801 (extend_alloca): Use it.
7802 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7803 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7804 here.
7805
d91a8b93
AS
7806 * scripts/check-local-headers.sh: Ignore libaudit.h.
7807
45b96dd6
AS
7808 * nscd/Makefile (extra-objs): Make recursively expanded.
7809
432d41ce
UD
78102011-11-01 Ulrich Drepper <drepper@gmail.com>
7811
34372fc6
UD
7812 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7814
fadb59f8
UD
7815 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7816 * posix/tst-rfc3484-2.c: Likewise.
7817 * posix/tst-rfc3484-3.c: Likewise.
7818
78239589
UD
7819 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7820 process_vm_writev.
7821 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7822 process_vm_writev.
7823 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7824 process_vm_writev from libc using GLIBC_2.15 version.
7825
432d41ce
UD
7826 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7827
02f9c6cf
PP
78282011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7829
7830 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7831 stack usage.
7832
3a2c0242
UD
78332011-10-31 Ulrich Drepper <drepper@gmail.com>
7834
f4ec4833
UD
7835 [BZ #13367]
7836 * nss/getent.c (initgroups_keys): Show error message in case no group
7837 names are given.
7838
3a2c0242
UD
7839 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7840 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7841 __bump_nl_timestamp.
7842 * nscd/connections (nscd_init): When host database is served open
7843 netlink socket and request notification about configuration changes.
7844 (main_loop_poll): Track netlink file descriptor and bump timestamp
7845 in case data becomes available.
7846 (main_loop_epoll): Likewise.
7847 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7848 (database_pers_head): Add extra_data fileds.
7849 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7850 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7851 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7852 Adjust caller.
7853 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7854 in6ai data, call __free_in6ai.
7855 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7856 Add -DHAVE_NETLINK.
7857 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7858 interface information. Reuse previous data if netlink timestamp
7859 is not changed.
7860 (__bump_nl_timestamp): New function.
7861 (__free_in6ai): New function.
7862
636064eb
UD
78632011-10-30 Ulrich Drepper <drepper@gmail.com>
7864
7865 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7866 close_not_cancel_no_status here.
7867 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7868
9beb2334
UD
78692011-10-29 Ulrich Drepper <drepper@gmail.com>
7870
6ef76f3b
UD
7871 [BZ #13276]
7872 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7873 return value.
7874
0ffc4f3e 7875 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7876 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7877 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7878
cb95113e
UD
78792011-07-03 Andreas Jaeger <aj@suse.de>
7880
7881 [BZ #10709]
7882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7883 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7884 * math/libm-test.inc (sin_test): Add test case.
7885
a1b560ff
UD
78862011-10-29 Ulrich Drepper <drepper@gmail.com>
7887
c9aaface
UD
7888 [BZ #13337]
7889 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7890 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7891
d272e7f1
UD
7892 * elf/chroot_canon.c (chroot_canon): Cleanups.
7893
1bc33071
UD
7894 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7895
1760874d
TJ
7896 [BZ #13335]
7897 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7898 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7899
51d91b18
UD
7900 * string/test-strchr.c: Make usable for strchrnul testing.
7901 * string/test-strchrnul.c: New file.
7902 * string/Makefile (strop-tests): Add strchrnul.
7903
a1b560ff 7904 * po/it.po: Update from translation team.
b611fb81 7905 * po/es.po: Likewise.
a1b560ff 7906
a5b81e1f
UD
79072011-10-28 Ulrich Drepper <drepper@gmail.com>
7908
fd52bc6d
UD
7909 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7910 the three constants needed as parameters. Drop the others.
7911 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7912 __m128i_strloadu_tolower.
52e4b9eb
UD
7913 Create and initialize variable zero and use it in all the places
7914 where _mm_setzero_si128 was used.
fd52bc6d 7915
a5b81e1f
UD
7916 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7917 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7918 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7919 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7920 anymore.
7921 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7922 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7923 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7924 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7925 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7926 __mpranred, __mptan.
7927 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7928 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7929 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7930 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7931 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7932 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7933 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7934 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7935 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7936
b4343346
AS
79372011-10-28 Andreas Schwab <schwab@redhat.com>
7938
0c92d8a8
AS
7939 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7940 redefine if SHARED.
7941 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7942
b4343346
AS
7943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7944 wide char related routines to wcsmbs subdir.
7945
3871f58f
AS
79462011-10-27 Andreas Schwab <schwab@redhat.com>
7947
7948 [BZ #13344]
7949 * misc/sys/cdefs.h (__THROWNL): Define.
7950 * posix/unistd.h: Use __THREADNL instead of __THREAD
7951 for memory synchronization functions.
7952
94d44d9f
RM
79532011-10-26 Roland McGrath <roland@hack.frob.com>
7954
21b64b15 7955 [BZ #13349]
94d44d9f
RM
7956 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7957 doesn't exist.
7958 * manual/stdio.texi (Obstack Streams): Node removed.
7959
f6ce9294
AS
79602011-10-26 Andreas Schwab <schwab@redhat.com>
7961
80479147
AS
7962 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7963 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7964 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7965
f6ce9294
AS
7966 * math/math_private.h (math_force_eval): Allow non-addressable
7967 arguments.
7968 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7969
618280a1
UD
79702011-10-25 Ulrich Drepper <drepper@gmail.com>
7971
e0016b11
UD
7972 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7973 file is not needed.
7974
7975 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7976 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7977 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7978 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7979 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7980 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7981 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7982 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7983 Add AVX variants.
7984 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7985 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7986 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7987 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7988 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7989 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7990 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7991 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7992 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7993 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7994 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7995 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7996 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7997 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7998 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7999 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8000 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8001 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8002 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8003
8004 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8005 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8006
618280a1
UD
8007 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8008 place. Use VEX encoding when compiling for AVX.
8009
37822576
AS
80102011-10-25 Andreas Schwab <schwab@redhat.com>
8011
1f1e1947
AS
8012 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8013 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8014
37822576
AS
8015 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8016
31ea014d
UD
80172011-10-25 Ulrich Drepper <drepper@gmail.com>
8018
d7826aa1 8019 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8020 useless if() expression.
d7826aa1
UD
8021 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8024 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8026 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8027 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8028 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8029 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8030 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8031 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8032 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8033 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8034 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8035 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8036 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8037 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8038 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8039 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8040
31ea014d
UD
8041 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8042
16437fec
AS
80432011-10-25 Andreas Schwab <schwab@redhat.com>
8044
8045 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8046 condition.
8047 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8048
31d3cc00
UD
80492011-10-25 Ulrich Drepper <drepper@gmail.com>
8050
8051 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8052 .text section. Avoid duplicate constants.
8053 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8063 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8065 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8067 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8068 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8069 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8070 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8071 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8072 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8073 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8074 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8075 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8076 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8077 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8078 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8079 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8080 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8081 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8082 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8083 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8084 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8085 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8086 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8087 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8088 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8089 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8090 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8091 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8092 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8093 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8094 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8095 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8096 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8097 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8098
58985aa9
UD
80992011-10-24 Ulrich Drepper <drepper@gmail.com>
8100
202c9deb
UD
8101 * sysdeps/x86_64/dla.h: Move to ...
8102 * sysdeps/x86_64/fpu/dla.h: ...here.
8103 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8104 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8105
af968f62
UD
8106 * config.make.in: Add have-mfma4 entry.
8107 * configure.in: Substitute libc_cv_cc_fma4.
8108 * math/Makefile (dbl-only-routines): Add sincostab.
8109 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8110 Use __sincostab not sincos.
8111 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8112 name is a macro.
8113 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8117 using __copysign.
8118 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8119 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8120 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8121 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8122 and __inv.
8123 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8124 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8125 __copysign.
8126 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8127 define aliases when function name is a macro.
8128 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8129 sysdeps/ieee754/dbl-64/sincos.tbl.
8130 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8131 fma4-enabled routines.
8132 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8133 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8134 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8135 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8136 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8137 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8138 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8139 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8140 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8141 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8142 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8143 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8144 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8145 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8146 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8147 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8148 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8149 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8150 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8151 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8152 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8153 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8154 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8155 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8156 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8157 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8159 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8160 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8161 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8162
58985aa9
UD
8163 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8164 rename.
8165 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8173
a201fbcf
AS
81742011-10-24 Andreas Schwab <schwab@redhat.com>
8175
8176 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8177
fc2ee42a
LD
81782011-10-23 Ulrich Drepper <drepper@gmail.com>
8179
bb3129bd
UD
8180 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8181
0275fff8
UD
8182 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8183 prediction.
8184 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8185
2fa2ae85
UD
8186 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8187 Remove unused variable magic_bits.
8188 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8189
fc2ee42a
LD
8190 * string/strnlen.c: Define and use STRNLEN macro.
8191 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8192 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8193 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8194 * wcsmbs/wcslen.c: Define and use WCSLEN.
8195 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8196 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8197 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8198 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8199 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8200 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8201 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8202
ce7dd29f
LD
82032011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8204
8205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8206 strnlen-sse2-no-bsf.
8207 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8208 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8209 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8210 Add strnlen support.
8211 (USE_AS_STRNLEN): New macro.
8212 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8213 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8214 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8215 * sysdeps/x86_64/wcslen.S: New file.
8216
979c70a3
MZ
82172011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8218
8219 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8220 XMM-moves are used for copying on small sizes.
8221
2d09f82f
LD
82222011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8223
8224 * wcsmbs/Makefile (strop-tests): Add wcschr.
8225 * wcsmbs/test-wcschr.c: New file.
8226 * string/test-strchr.c: Update.
8227 Add wcschr support.
8228 (WIDE): New macro.
8229
619fccca
LD
82302011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8231
2d09f82f 8232 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8233 * wcsmbs/test-wcslen.c: New file.
8234 * string/test-strlen.c: Update.
8235 Add wcslen support.
8236 (WIDE): New macro.
8237
09f699ea
UD
82382011-10-23 Ulrich Drepper <drepper@gmail.com>
8239
8240 * po/it.po: Update from translation team.
8241
95584d3b
LD
82422011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8243
8244 * sysdeps/x86_64/wcscmp.S: Update.
8245 Fix wrong comparison semantics.
8246 wcscmp shall use signed comparison not unsigned.
8247 Don't use substraction to avoid overflow bug.
8248 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8249 * wcsmbc/wcscmp.c: Likewise.
8250 * string/test-strcmp.c: Likewise.
8251 Add new tests to check cases with negative values.
8252
c8b3296b
UD
82532011-10-23 Ulrich Drepper <drepper@gmail.com>
8254
8255 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8256 * sysdeps/x86_64/dla.h: ...here. New file.
8257 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8266
246ad57a
AS
82672011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8268
8269 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8270 __ynl_finite aliases.
8271
a1a87169
UD
82722011-10-22 Ulrich Drepper <drepper@gmail.com>
8273
0d355eb7
UD
8274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8275
a1a87169
UD
8276 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8277 define DLA_FMA.
8278 [DLA_FMA] (EMULV): Use DLA_FMA.
8279 [DLA_FMA] (MUL12): Use EMULV.
8280 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8281 that are not needed.
8282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8289
ee2aafe0
AS
82902011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8291
8292 * math/s_nan.c: Undef __nan.
8293 * math/s_nanf.c: Undef __nanf.
8294 * math/s_nanl.c: Undef __nanl.
8295 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8296 "math_private.h".
8297
bc62c2fb
UD
82982011-10-22 Ulrich Drepper <drepper@gmail.com>
8299
77425c63
UD
8300 * math/s_catan.c: Add branch predictions.
8301 * math/s_catanf.c: Likewise.
8302 * math/s_catanh.c: Likewise.
8303 * math/s_catanhf.c: Likewise.
8304 * math/s_catanhl.c: Likewise.
8305 * math/s_catanl.c: Likewise.
8306 * math/s_cexp.c: Likewise.
8307 * math/s_cexpf.c: Likewise.
8308 * math/s_cexpl.c: Likewise.
8309 * math/s_clog.c: Likewise.
8310 * math/s_clog10.c: Likewise.
8311 * math/s_clog10f.c: Likewise.
8312 * math/s_clog10l.c: Likewise.
8313 * math/s_clogf.c: Likewise.
8314 * math/s_clogl.c: Likewise.
8315 * math/s_csqrt.c: Likewise.
8316 * math/s_csqrtf.c: Likewise.
8317 * math/s_csqrtl.c: Likewise.
8318 * math/s_ctanf.c: Likewise.
8319 * math/s_ctanh.c: Likewise.
8320 * math/s_ctanhf.c: Likewise.
8321 * math/s_ctanhl.c: Likewise.
8322 * math/s_ctanl.c: Likewise.
8323
bc62c2fb
UD
8324 * math/math_private.h: Define __nan, __nanf, __nanl.
8325 * math/s_cacosh.c: Include <math_private.h>.
8326 * math/s_cacoshl.c: Likewise.
8327 * math/s_casinh.c: Likewise.
8328 * math/s_casinhf.c: Likewise.
8329 * math/s_casinhl.c: Likewise.
8330 * math/s_ccos.c: Rely entire on ccosh.
8331 * math/s_ccosf.c: Rely entire on ccoshf.
8332 * math/s_ccosl.c: Rely entirely on ccoshl.
8333 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8334 Remove tests for FE_INVALID.
8335 * math/s_ccoshf.c: Likewise.
8336 * math/s_ccoshl.c: Likewise.
8337 * math/s_csin.c: Likewise.
8338 * math/s_csinf.c: Likewise.
8339 * math/s_csinh.c Likewise.
8340 * math/s_csinhf.c: Likewise.
8341 * math/s_csinhl.c: Likewise.
8342 * math/s_csinl.c: Likewise.
8343 * math/s_ctan.c: Likewise.
8344 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8345 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8346 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8347
8ec250a4
UD
83482011-10-21 Ulrich Drepper <drepper@gmail.com>
8349
c196fed8
UD
8350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8351 compilation problems.
8352
8ec250a4
UD
8353 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8354 __builtin_expect.
8355
8d4f46c6
UD
83562011-10-20 Ulrich Drepper <drepper@gmail.com>
8357
ed72b654
UD
8358 * sysdeps/i386/configure.in: Test for -mfma4 option.
8359 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8360 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8361 COMMON_CPUID_INDEX_80000001.
8362 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8363 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8364 use it if FMA3 is not supported.
8365 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8366
8d4f46c6
UD
8367 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8368 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8369
d45c60c2
AS
83702011-10-20 Andreas Schwab <schwab@redhat.com>
8371
8372 [BZ #12892]
8373 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8374 it would create a cycle with a link time dependency.
8375
d9a4d2ab
UD
83762011-10-19 Ulrich Drepper <drepper@gmail.com>
8377
855d1560
UD
8378 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8379 instruction.
8380 * string/Makefile (strop-tests): Add rawmemchr.
8381 * string/test-rawmemchr.c: New file.
8382
d9a4d2ab
UD
8383 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8384 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8385 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8386 when compiling str{,n}casecmp and when AVX is available. Hook up
8387 new optimized code in initializers.
8388
8f3b1ffe
AS
83892011-10-19 Andreas Schwab <schwab@redhat.com>
8390
8391 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8392 __feraiseexcept instead of feraiseexcept.
8393
d38f1dba
UD
83942011-10-18 Ulrich Drepper <drepper@gmail.com>
8395
d9a8d0ab
UD
8396 * math/math_private.h: Define defaults for libc_fetestexcept and
8397 libc_feupdateenv.
8398 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8399 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8400 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8401 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8402 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8403 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8404 libc_fetestexcept and libc_feupdateenv.
8405
4855e3dd
UD
8406 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8407 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8408 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8409 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8410 libc_feholdexcept_setround.
8411
581d30e3
UD
8412 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8413 Add s_nearbyint-c and s_nearbyintf-c.
8414 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8415 nearbyintf inlines.
8416 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8417 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8418 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8419 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8420
d38f1dba
UD
8421 * math/math_private.h: Define defaults for libc_fegetround,
8422 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8423 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8424 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8425 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8426 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8427 standard functions.
8428 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8429 Remove comments and hacks for old compiler versions.
8430 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8431 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8432 libc_feholdexceptl.
8433
caa6c9d8
AS
84342011-10-18 Andreas Schwab <schwab@redhat.com>
8435
8436 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8437 (__feraiseexcept_renamed): Add __NTH.
8438 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8439 namespace violations.
8440
97c066e6
UD
84412011-10-17 Ulrich Drepper <drepper@gmail.com>
8442
99ce7b04
UD
8443 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8444
1004d182
UD
8445 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8446
228a984d
UD
8447 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8448 recently added interfaces.
8449 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8450
c8553a6a
UD
8451 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8452 about macro parameter expansion.
8453
ed22dcf6
UD
8454 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8455 __NO_MATH_INLINES is defined. Cleanups.
8456
8457 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8458 and __floorf is target has SSE4.1.
8459 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8460 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8461 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8462 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8463
b171c137
UD
8464 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8465 name.
8466 (floorf): Likewise.
8467
97c066e6
UD
8468 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8469
629f62ef
AS
84702011-10-17 Andreas Schwab <schwab@redhat.com>
8471
49a43d80
AS
8472 * misc/sys/cdefs.h: Fix last change.
8473
629f62ef
AS
8474 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8475 database lookup.
8476
e453f6cd
UD
84772011-10-16 Ulrich Drepper <drepper@gmail.com>
8478
aa78043a
UD
8479 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8480
ad0f5cad
UD
8481 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8482 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8487 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8488 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8489 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8490 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8491 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8492 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8493 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8494 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8495 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8496 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8497 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8498 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8499 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8500 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8501 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8502 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8503
8504 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8505 ceil, ceilf, floor, floorf.
8506
8507 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8508 Perform IRELATIVE relocations last.
8509
e453f6cd
UD
8510 * elf/do-rel.h: Add another parameter nrelative, replacing the
8511 local variable with the same name. Change name of the function
8512 to end in Rel or Rela (uppercase).
8513 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8514 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8515 elf_dynamic_do_##reloc function.
8516
fd5bdc09
UD
85172011-10-15 Ulrich Drepper <drepper@gmail.com>
8518
79b195b5
UD
8519 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8520 is sufficient, at least on modern CPUs.
8521
d4a28569
UD
8522 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8523
b61099b5
UD
8524 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8525 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8526
bcf01e6d
UD
8527 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8528 __expl_finite.
8529 * math/bits/math-finite.h: Add entries for exp.
8530 * math/e_expl.c: Add __*_finite alias.
8531 * sysdeps/i386/fpu/e_exp.S: Likewise.
8532 * sysdeps/i386/fpu/e_expf.S: Likewise.
8533 * sysdeps/i386/fpu/e_expl.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8535 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8536 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8539 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8540 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8541
ba1a0d59
UD
8542 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8543 is sufficient, at least on modern CPUs.
8544
fd5bdc09
UD
8545 * ctype/ctype-info.c (__ctype_init): Define.
8546 * include/ctype.h (__ctype_init): Declare.
8547 (__ctype_b_loc): The variable is always initialized.
8548 (__ctype_toupper_loc): Likewise.
8549 (__ctype_tolower_loc): Likewise.
8550 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8551 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8552
7872cfb0
AS
85532011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8554
b468825a
AS
8555 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8556
7872cfb0
AS
8557 * configure.in: Also look in $cxxmachine/include for C++ system
8558 headers.
8559
be13f7bf
LD
85602011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8561
8562 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8563 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8564 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8565 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8566 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8567 (USE_AS_WMEMCMP): New macro.
8568 Fixing indents.
8569 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8570 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8571 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8572 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8573 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8574 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8575 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8576 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8577 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8578 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8579 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8580 (USE_AS_WMEMCMP): New macro.
8581 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8582 * sysdeps/string/test-memcmp.c: Update.
8583 Fix simple_wmemcmp.
8584 Add new tests.
8585 * wcsmbs/wmemcmp.c: Update.
8586 (WMEMCMP): New macro.
8587 Fix overflow bug.
8588
556a2007
AJ
85892011-10-12 Andreas Jaeger <aj@suse.de>
8590
8591 [BZ #13268]
8592 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8593
538faaa7
UD
85942011-10-15 Ulrich Drepper <drepper@gmail.com>
8595
ab6737ff
UD
8596 * libio/iofwide.c (do_length): Avoid warning.
8597
538faaa7
UD
8598 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8599
396a21b1
UD
86002011-10-14 Ulrich Drepper <drepper@gmail.com>
8601
cdf2901f
UD
8602 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8603
38ad40ce
UD
8604 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8605 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8606 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8607 * sysdeps/i386/i686/fpu/e_log.S: New file.
8608 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8609 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8610
396a21b1
UD
8611 * ctype/ctype.h: Add support for inlined isXXX functions when
8612 compiling C++ code.
8613
6b1f68c9
AS
86142011-10-14 Andreas Schwab <schwab@redhat.com>
8615
349290c0
AS
8616 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8617
6b1f68c9
AS
8618 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8619
f2282d42
RM
86202011-10-13 Roland McGrath <roland@hack.frob.com>
8621
8622 [BZ #13291]
8623 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8624
5298ffa8
AS
86252011-10-13 Andreas Schwab <schwab@redhat.com>
8626
714fad23
AS
8627 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8628 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8629 feraiseexcept.
8630
81dcc7fb
AS
8631 * sysdeps/x86_64/memrchr.S: Check for zero size.
8632
5298ffa8
AS
8633 * string/stratcliff.c: Add memrchr tests.
8634
951fbcec
LD
86352011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8636
8637 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8638 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8639 rawmemchr-sse2 rawmemchr-sse2-bsf.
8640 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8641 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8642 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8643 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8644 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8645 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8646 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8647 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8648 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8649 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8650 * string/memrchr.c (MEMRCHR): New macro.
8651
0ac5ae23
UD
86522011-10-12 Ulrich Drepper <drepper@gmail.com>
8653
8654 Add integration with gcc's -ffinite-math-only and optimize wrapper
8655 functions in libm.
8656 * Versions.def: Define GLIBC_2.15 version for libm.
8657 * math/Makefile (headers): Add bits/math-finite.h.
8658 * math/bits/math-finite.h: New file.
8659 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8660 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8661 * math/e_acoshl.c: Add __*_finite alias.
8662 * math/e_acosl.c: Likewise.
8663 * math/e_asinl.c: Likewise.
8664 * math/e_atan2l.c: Likewise.
8665 * math/e_atanhl.c: Likewise.
8666 * math/e_coshl.c: Likewise.
8667 * math/e_exp10.c: Likewise.
8668 * math/e_exp10f.c: Likewise.
8669 * math/e_exp10l.c: Likewise.
8670 * math/e_exp2l.c: Likewise.
8671 * math/e_fmodl.c: Likewise.
8672 * math/e_gammal_r.c: Likewise.
8673 * math/e_hypotl.c: Likewise.
8674 * math/e_j0l.c: Likewise.
8675 * math/e_j1l.c: Likewise.
8676 * math/e_jnl.c: Likewise.
8677 * math/e_lgammal_r.c: Likewise.
8678 * math/e_log10l.c: Likewise.
8679 * math/e_log2l.c: Likewise.
8680 * math/e_logl.c: Likewise.
8681 * math/e_powl.c: Likewise.
8682 * math/e_sinhl.c: Likewise.
8683 * math/e_sqrtl.c: Likewise.
8684 * math/e_scalb.c: Completely rewritten and optimized.
8685 * math/e_scalbf.c: Likewise.
8686 * math/e_scalbl.c: Likewise.
8687 * math/w_acos.c: Likewise.
8688 * math/w_acosf.c: Likewise.
8689 * math/w_acosl.c: Likewise.
8690 * math/w_acosh.c: Likewise.
8691 * math/w_acoshf.c: Likewise.
8692 * math/w_acoshl.c: Likewise.
8693 * math/w_asin.c: Likewise.
8694 * math/w_asinf.c: Likewise.
8695 * math/w_asinl.c: Likewise.
8696 * math/w_atan2.c: Likewise.
8697 * math/w_atan2f.c: Likewise.
8698 * math/w_atan2l.c: Likewise.
8699 * math/w_atanh.c: Likewise.
8700 * math/w_atanhf.c: Likewise.
8701 * math/w_atanhl.c: Likewise.
8702 * math/w_exp10.c: Likewise.
8703 * math/w_exp10f.c: Likewise.
8704 * math/w_exp10l.c: Likewise.
8705 * math/w_fmod.c: Likewise.
8706 * math/w_fmodf.c: Likewise.
8707 * math/w_fmodl.c: Likewise.
8708 * math/w_j0.c: Likewise.
8709 * math/w_j0f.c: Likewise.
8710 * math/w_j0l.c: Likewise.
8711 * math/w_j1.c: Likewise.
8712 * math/w_j1f.c: Likewise.
8713 * math/w_j1l.c: Likewise.
8714 * math/w_jn.c: Likewise.
8715 * math/w_jnf.c: Likewise.
8716 * math/w_log.c: Likewise.
8717 * math/w_logf.c: Likewise.
8718 * math/w_logl.c: Likewise.
8719 * math/w_log10.c: Likewise.
8720 * math/w_log10f.c: Likewise.
8721 * math/w_log10l.c: Likewise.
8722 * math/w_log2.c: Likewise.
8723 * math/w_log2f.c: Likewise.
8724 * math/w_log2l.c: Likewise.
8725 * math/w_pow.c: Likewise.
8726 * math/w_powf.c: Likewise.
8727 * math/w_powl.c: Likewise.
8728 * math/w_remainder.c: Likewise.
8729 * math/w_remainderf.c: Likewise.
8730 * math/w_remainderl.c: Likewise.
8731 * math/w_scalb.c: Likewise.
8732 * math/w_scalbf.c: Likewise.
8733 * math/w_scalbl.c: Likewise.
8734 * math/w_sqrt.c: Likewise.
8735 * math/w_sqrtf.c: Likewise.
8736 * math/w_sqrtl.c: Likewise.
8737 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8738 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8739 used.
8740 * math/math_private.h: Declare __kernel_standard_f.
8741 * math/w_cosh.c: Remove cruft and optimize a bit.
8742 * math/w_coshf.c: Likewise.
8743 * math/w_coshl.c: Likewise.
8744 * math/w_exp2.c: Likewise.
8745 * math/w_exp2f.c: Likewise.
8746 * math/w_exp2l.c: Likewise.
8747 * math/w_hypot.c: Likewise.
8748 * math/w_hypotf.c: Likewise.
8749 * math/w_hypotl.c: Likewise.
8750 * math/w_lgamma.c: Likewise.
8751 * math/w_lgamma_r.c: Likewise.
8752 * math/w_lgammaf.c: Likewise.
8753 * math/w_lgammaf_r.c: Likewise.
8754 * math/w_lgammal.c: Likewise.
8755 * math/w_lgammal_r.c: Likewise.
8756 * math/w_sinh.c: Likewise.
8757 * math/w_sinhf.c: Likewise.
8758 * math/w_sinhl.c: Likewise.
8759 * math/w_tgamma.c: Likewise.
8760 * math/w_tgammaf.c: Likewise.
8761 * math/w_tgammal.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8764 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8765 Minor optimizations. Pretty printing. Remove cruft.
8766 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8767 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8768 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8769 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8770 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8771 * sysdeps/i386/fpu/e_asin.S: Likewise.
8772 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8773 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8774 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8775 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8776 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8777 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8778 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8779 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8780 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8781 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8782 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8783 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8784 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8785 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8786 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8787 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8788 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8789 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8790 * sysdeps/i386/fpu/e_log.S: Likewise.
8791 * sysdeps/i386/fpu/e_log10.S: Likewise.
8792 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8793 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8794 * sysdeps/i386/fpu/e_log2.S: Likewise.
8795 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8796 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8797 * sysdeps/i386/fpu/e_logf.S: Likewise.
8798 * sysdeps/i386/fpu/e_logl.S: Likewise.
8799 * sysdeps/i386/fpu/e_pow.S: Likewise.
8800 * sysdeps/i386/fpu/e_powf.S: Likewise.
8801 * sysdeps/i386/fpu/e_powl.S: Likewise.
8802 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8803 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8804 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8805 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8806 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8807 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8808 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8809 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8810 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8824 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8832 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8833 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8834 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8835 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8836 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8837 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8838 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8839 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8840 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8841 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8842 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8843 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8844 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8845 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8846 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8847 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8848 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8849 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8850 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8851 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8852 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8853 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8890 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8891 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8894 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8896 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8897 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8899 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8901 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8902 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8903 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8904 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8905 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8906 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8907 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8908 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8909 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8910 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8911 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8912 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8913 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8914 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8915 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8916 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8917 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8918 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8919 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8920 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8921 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8922 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8923 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8924 (__isnanf): Likewise.
8925 (__isinf_ns): Likewise.
8926 (__isinf_nsf): Likewise.
8927 (__finite): Likewise.
8928 (__finitef): Likewise.
8929 (__ieee754_sqrt): Define as macro.
8930 (__ieee754_sqrtf): Define as macro.
8931 (__ieee754_sqrtl): Define as macro.
8932 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8933 inlined copy.
8934 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8935 __FINITE_MATH_ONLY__ consistent.
8936 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8937
12cc2fcd
AS
89382011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8939
a843a204
AS
8940 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8941 of rawmemchr.
8942
12cc2fcd
AS
8943 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8944
c853acd5
UD
89452011-10-09 Ulrich Drepper <drepper@gmail.com>
8946
8947 * po/ja.po: Update from translation team.
8948
c658d255
RM
89492011-10-08 Roland McGrath <roland@hack.frob.com>
8950
110946e4
RM
8951 * locale/programs/locarchive.c (prepare_address_space): New function.
8952 (create_archive, enlarge_archive, open_archive): Use it.
8953
50604220
RM
8954 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8955 inside [SHARED], where it is used.
8956
c658d255
RM
8957 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8958
8959 * nss/getent.c (netgroup_keys): Remove unused variable.
8960 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8961
6a621eb7
UD
89622011-10-08 Ulrich Drepper <drepper@gmail.com>
8963
7edb55ce
UD
8964 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8965 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8966 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8967 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8968 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8969 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8970 * math/Makefile (libm-calls): Add s_isinf_ns.
8971 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8972 * math/multc3.c: Likewise.
8973 * math/s_casin.c: Likewise.
8974 * math/s_casinf.c: Likewise.
8975 * math/s_casinl.c: Likewise.
8976 * math/s_ccos.c: Likewise.
8977 * math/s_ccosf.c: Likewise.
8978 * math/s_ccosl.c: Likewise.
8979 * math/s_ctan.c: Likewise.
8980 * math/s_ctanf.c: Likewise.
8981 * math/s_ctanh.c: Likewise.
8982 * math/s_ctanhf.c: Likewise.
8983 * math/s_ctanhl.c: Likewise.
8984 * math/s_ctanl.c: Likewise.
8985 * math/w_fmod.c: Likewise.
8986 * math/w_fmodf.c: Likewise.
8987 * math/w_fmodl.c: Likewise.
8988 * math/w_remainder.c: Likewise.
8989 * math/w_remainderf.c: Likewise.
8990 * math/w_remainderl.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8992 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8993 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8994 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8995 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8996 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8997 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8998 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8999
187da0ae
UD
9000 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9001 of the number.
9002 * stdio-common/printf_fphex.c: Likewise.
9003 * stdio-common/printf_size.c: Likewise.
9004
9277c064
UD
9005 * math/e_exp10.c: Include math_private.h using <...> not "...".
9006 * math/e_exp10f.c: Likewise.
9007 * math/e_exp10l.c: Likewise.
9008 * math/e_exp2l.c: Likewise.
9009 * math/e_j0l.c: Likewise.
9010 * math/e_j1l.c: Likewise.
9011 * math/e_jnl.c: Likewise.
9012 * math/e_lgammal_r.c: Likewise.
9013 * math/e_rem_pio2l.c: Likewise.
9014 * math/e_scalb.c: Likewise.
9015 * math/e_scalbf.c: Likewise.
9016 * math/e_scalbl.c: Likewise.
9017 * math/k_cosl.c: Likewise.
9018 * math/k_sinl.c: Likewise.
9019 * math/k_tanl.c: Likewise.
9020 * math/s_cacoshf.c: Likewise.
9021 * math/s_catan.c: Likewise.
9022 * math/s_catanf.c: Likewise.
9023 * math/s_catanh.c: Likewise.
9024 * math/s_catanhf.c: Likewise.
9025 * math/s_catanhl.c: Likewise.
9026 * math/s_catanl.c: Likewise.
9027 * math/s_ccosh.c: Likewise.
9028 * math/s_ccoshf.c: Likewise.
9029 * math/s_ccoshl.c: Likewise.
9030 * math/s_cexp.c: Likewise.
9031 * math/s_cexpf.c: Likewise.
9032 * math/s_cexpl.c: Likewise.
9033 * math/s_clog.c: Likewise.
9034 * math/s_clog10.c: Likewise.
9035 * math/s_clog10f.c: Likewise.
9036 * math/s_clog10l.c: Likewise.
9037 * math/s_clogf.c: Likewise.
9038 * math/s_clogl.c: Likewise.
9039 * math/s_csin.c: Likewise.
9040 * math/s_csinf.c: Likewise.
9041 * math/s_csinh.c: Likewise.
9042 * math/s_csinhf.c: Likewise.
9043 * math/s_csinhl.c: Likewise.
9044 * math/s_csinl.c: Likewise.
9045 * math/s_csqrt.c: Likewise.
9046 * math/s_csqrtf.c: Likewise.
9047 * math/s_csqrtl.c: Likewise.
9048 * math/s_ctan.c: Likewise.
9049 * math/s_ctanf.c: Likewise.
9050 * math/s_ctanh.c: Likewise.
9051 * math/s_ctanhf.c: Likewise.
9052 * math/s_ctanhl.c: Likewise.
9053 * math/s_ctanl.c: Likewise.
9054 * math/s_ldexp.c: Likewise.
9055 * math/s_ldexpf.c: Likewise.
9056 * math/s_ldexpl.c: Likewise.
9057 * math/s_significand.c: Likewise.
9058 * math/s_significandf.c: Likewise.
9059 * math/s_significandl.c: Likewise.
9060 * math/w_acos.c: Likewise.
9061 * math/w_acosf.c: Likewise.
9062 * math/w_acosh.c: Likewise.
9063 * math/w_acoshf.c: Likewise.
9064 * math/w_acoshl.c: Likewise.
9065 * math/w_acosl.c: Likewise.
9066 * math/w_asin.c: Likewise.
9067 * math/w_asinf.c: Likewise.
9068 * math/w_asinl.c: Likewise.
9069 * math/w_atan2.c: Likewise.
9070 * math/w_atan2f.c: Likewise.
9071 * math/w_atan2l.c: Likewise.
9072 * math/w_atanh.c: Likewise.
9073 * math/w_atanhf.c: Likewise.
9074 * math/w_atanhl.c: Likewise.
9075 * math/w_cosh.c: Likewise.
9076 * math/w_coshf.c: Likewise.
9077 * math/w_coshl.c: Likewise.
9078 * math/w_dremf.c: Likewise.
9079 * math/w_exp10.c: Likewise.
9080 * math/w_exp10f.c: Likewise.
9081 * math/w_exp10l.c: Likewise.
9082 * math/w_exp2.c: Likewise.
9083 * math/w_exp2f.c: Likewise.
9084 * math/w_fmod.c: Likewise.
9085 * math/w_fmodf.c: Likewise.
9086 * math/w_fmodl.c: Likewise.
9087 * math/w_hypot.c: Likewise.
9088 * math/w_hypotf.c: Likewise.
9089 * math/w_hypotl.c: Likewise.
9090 * math/w_j0.c: Likewise.
9091 * math/w_j0f.c: Likewise.
9092 * math/w_j0l.c: Likewise.
9093 * math/w_j1.c: Likewise.
9094 * math/w_j1f.c: Likewise.
9095 * math/w_j1l.c: Likewise.
9096 * math/w_jn.c: Likewise.
9097 * math/w_jnf.c: Likewise.
9098 * math/w_jnl.c: Likewise.
9099 * math/w_lgamma.c: Likewise.
9100 * math/w_lgamma_r.c: Likewise.
9101 * math/w_lgammaf.c: Likewise.
9102 * math/w_lgammaf_r.c: Likewise.
9103 * math/w_lgammal.c: Likewise.
9104 * math/w_lgammal_r.c: Likewise.
9105 * math/w_log.c: Likewise.
9106 * math/w_log10.c: Likewise.
9107 * math/w_log10f.c: Likewise.
9108 * math/w_log10l.c: Likewise.
9109 * math/w_log2.c: Likewise.
9110 * math/w_log2f.c: Likewise.
9111 * math/w_log2l.c: Likewise.
9112 * math/w_logf.c: Likewise.
9113 * math/w_logl.c: Likewise.
9114 * math/w_pow.c: Likewise.
9115 * math/w_powf.c: Likewise.
9116 * math/w_powl.c: Likewise.
9117 * math/w_remainder.c: Likewise.
9118 * math/w_remainderf.c: Likewise.
9119 * math/w_remainderl.c: Likewise.
9120 * math/w_scalb.c: Likewise.
9121 * math/w_scalbf.c: Likewise.
9122 * math/w_scalbl.c: Likewise.
9123 * math/w_sinh.c: Likewise.
9124 * math/w_sinhf.c: Likewise.
9125 * math/w_sinhl.c: Likewise.
9126 * math/w_sqrt.c: Likewise.
9127 * math/w_sqrtf.c: Likewise.
9128 * math/w_sqrtl.c: Likewise.
9129 * math/w_tgamma.c: Likewise.
9130 * math/w_tgammaf.c: Likewise.
9131 * math/w_tgammal.c: Likewise.
9132
6a621eb7
UD
9133 * po/ja.po: Update from translation team.
9134
bf582445
AJ
91352011-09-29 Andreas Jaeger <aj@suse.de>
9136
f9efbf3a
AJ
9137 [BZ #13179]
9138 * sunrpc/netname.c (netname2host): Fix logic.
9139
bf582445
AJ
9140 [BZ #6779]
9141 [BZ #6783]
9142 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9143 correctly.
9144 * math/w_remainder.c (__remainder): Likewise.
9145 * math/w_remainderf.c (__remainderf): Likewise.
9146 * math/libm-test.inc (remainder_test): Add test cases.
9147
48693bea
AK
91482011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9149
9150 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9151 sdiv_qrnnd.
9152
42622229
LD
91532011-10-07 Ulrich Drepper <drepper@gmail.com>
9154
9155 * string/test-memcmp.c: Avoid unncessary #defines.
9156 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9157
093ecf92
LD
91582011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9159
9160 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9161 Use new sse2 version for core i3 - i7 as it's faster
9162 than sse42 version.
9163 (bit_Prefer_PMINUB_for_stringop): New.
9164 * sysdeps/x86_64/rawmemchr.S: Update.
9165 Replace with faster SSE2 version.
9166 * sysdeps/x86_64/memrchr.S: New file.
9167 * sysdeps/x86_64/memchr.S: Update.
9168 Replace with faster SSE2 version.
9169
fde56e5c
MP
91702011-09-12 Marek Polacek <mpolacek@redhat.com>
9171
9172 * elf/dl-load.c (lose): Add cast to avoid warning.
9173
21fd49a9
UD
91742011-10-07 Ulrich Drepper <drepper@gmail.com>
9175
5a06e643
UD
9176 * po/ca.po: Update from translation team.
9177
684ae515
UD
9178 * inet/getnetgrent_r.c: Hook up nscd.
9179 * nscd/Makefile (routines): Add nscd_netgroup.
9180 (nscd-modules): Add netgroupcache.
9181 (CFLAGS-netgroupcache.c): Define.
9182 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9183 (cache_search): Add const to second parameter.
9184 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9185 INNETGR.
9186 (dbs): Add netgrdb entry.
9187 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9188 (verify_persistent_db): Handle netgrdb.
9189 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9190 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9191 GETFDNETGR.
9192 (netgroup_response_header): Define.
9193 (innetgroup_response_header): Define.
9194 (datahead): Add netgroup_response_header and innetgroup_response_header
9195 elements.
9196 * nscd/nscd.conf: Add entries for netgroup cache.
9197 * nscd/nscd.h (dbtype): Add netgrdb.
9198 (_PATH_NSCD_NETGROUP_DB): Define.
9199 (netgroup_iov_disabled): Declare.
9200 (xmalloc, xcalloc, xrealloc): Move declarations here.
9201 (cache_search): Adjust prototype.
9202 Add netgroup-related prototypes.
9203 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9204 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9205 (__nscd_innetgr): Declare.
9206 * nscd/selinux.c (perms): Use access_vector_t as element type and
9207 add netgroup-related initializers.
9208 * nscd/netgroupcache.c: New file.
9209 * nscd/nscd_netgroup.c: New file.
9210 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9211 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9212 For four parameters use innetgr.
9213 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9214 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9215 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9216 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9217
21fd49a9
UD
9218 * nscd/connections.c (register_traced_file): Don't register file
9219 for disabled databases.
9220
054c0457
UD
92212011-10-06 Ulrich Drepper <drepper@gmail.com>
9222
32b63198
UD
9223 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9224
054c0457
UD
9225 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9226 from tree and freeing node.
9227
64031225
JO
92282011-09-25 Jiri Olsa <jolsa@redhat.com>
9229
9230 * nss/nsswitch.c (__nss_database_lookup): Handle
9231 nss_parse_service_list out of memory case.
9232
0490345c
JO
92332011-09-15 Jiri Olsa <jolsa@redhat.com>
9234
9235 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9236 out of memory case.
9237
3a62d00d
AS
92382011-10-04 Andreas Schwab <schwab@redhat.com>
9239
9240 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9241 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9242 pass it down.
9243 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9244 elf_machine_rela, elf_machine_lazy_rel.
9245 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9246 (ELF_DYNAMIC_DO_REL): Likewise.
9247 (ELF_DYNAMIC_DO_RELA): Likewise.
9248 (ELF_DYNAMIC_RELOCATE): Likewise.
9249 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9250 to ELF_DYNAMIC_DO_REL.
9251 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9252 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9253 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9254 elf_machine_rela.
9255 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9256 skip_ifunc, don't call ifunc function if non-zero.
9257 (elf_machine_rela): Likewise.
9258 (elf_machine_lazy_rel): Likewise.
9259 (elf_machine_lazy_rela): Likewise.
9260 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9261 (elf_machine_lazy_rel): Likewise.
9262 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9263 Likewise.
9264 (elf_machine_lazy_rel): Likewise.
9265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9266 Likewise.
9267 (elf_machine_lazy_rel): Likewise.
9268 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9269 (elf_machine_lazy_rel): Likewise.
9270 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9271 (elf_machine_lazy_rel): Likewise.
9272 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9273 (elf_machine_lazy_rel): Likewise.
9274 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9275 (elf_machine_lazy_rel): Likewise.
9276 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9277 (elf_machine_lazy_rel): Likewise.
9278 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9279 (elf_machine_lazy_rel): Likewise.
9280
68577918
UD
92812011-09-28 Ulrich Drepper <drepper@gmail.com>
9282
9283 * nss/nss_files/files-init.c (_nss_files_init): Use static
9284 initialization for all the *_traced_file variables.
9285
68822d74
AS
92862011-09-28 Andreas Schwab <schwab@redhat.com>
9287
9288 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9289
2056100b
RM
92902011-09-27 Roland McGrath <roland@hack.frob.com>
9291
9292 [BZ #13226]
9293 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9294
32c76b63
AS
92952011-09-27 Andreas Schwab <schwab@redhat.com>
9296
9297 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9298 Reread the line before reparsing it.
9299
bf972c9d
AS
93002011-09-26 Andreas Schwab <schwab@redhat.com>
9301
9302 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9303
e057a1b5
JM
93042011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9305 Maxim Kuvyrkov <maxim@codesourcery.com>
9306 Joseph Myers <joseph@codesourcery.com>
9307
9308 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9309 if needed for __stack_chk_guard.
9310
bc7e1c36
RM
93112011-09-19 Roland McGrath <roland@hack.frob.com>
9312
ecb1482f
RM
9313 * sysdeps/posix/spawni.c (script_execute): Always define it.
9314 It will be optimized away if unused.
9315 (maybe_script_execute): New function.
9316 (__spawni): Call it.
9317
bc7e1c36
RM
9318 * Makerules: Don't include tls.make.
9319 (config-tls): Always set to thread.
9320 * tls.make.c: File removed.
9321
1c3b002b
MF
93222011-09-19 Mike Frysinger <vapier@gentoo.org>
9323
9324 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9325 * config.make.in (CPPFLAGS-config): New substituted variable.
9326
2840865d
UD
93272011-09-15 Ulrich Drepper <drepper@gmail.com>
9328
88738eb6
UD
9329 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9330
cbf645a6 9331 [BZ #13192]
2840865d
UD
9332 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9333 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9334
b402e91a
RM
93352011-09-15 Roland McGrath <roland@hack.frob.com>
9336
9337 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9338 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9339 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9340 (CALL_FAIL): Likewise.
9341 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9342 (CALL_FAIL): Macro removed.
9343 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9344
4c1a1f71
UD
93452011-09-15 Ulrich Drepper <drepper@gmail.com>
9346
9347 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9348 for __FINITE_MATH_ONLY__ == 1.
9349
edc121be
AS
93502011-09-15 Andreas Schwab <schwab@redhat.com>
9351
9352 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9353 __ieee754_sqrt instead of sqrt.
9354 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9355 __ieee754_sqrtf instead of sqrtf.
9356 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9357 __floorf instead of floorf.
9358 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9359 __floorf, __truncf instead of floorf, truncf.
9360
cd205654
UD
93612011-09-14 Ulrich Drepper <drepper@gmail.com>
9362
ee4d0315
UD
9363 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9364
cd205654
UD
9365 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9366 __extern_always_inline.
9367 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9368 32-bit.
9369
48b67d71
AS
93702011-09-14 Andreas Schwab <schwab@redhat.com>
9371
9372 * elf/rtld.c (dl_main): Also relocate in dependency order when
9373 doing symbol dependency testing.
9374
1ae12c75
AS
93752011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9376
9377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9378 Always define `refsym'.
9379
995a80df
AS
93802011-09-13 Andreas Schwab <schwab@redhat.com>
9381
e529793b
AS
9382 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9383 (__FD_ELT): Renamed from __FDELT.
9384 * misc/bits/select2.h (__FD_ELT): Likewise.
9385 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9386 __FD_MASK instead of __FDELT, __FDMASK.
9387 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9388 Likewise.
9389 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9390 Likewise.
9391
52d4fef8
AS
9392 * elf/Makefile (gen-ldd): Fix pattern.
9393
995a80df
AS
9394 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9395 (init_tls): Likewise.
9396
8682f8b0
UD
93972011-09-12 Ulrich Drepper <drepper@gmail.com>
9398
9399 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9400
de82006d
AS
94012011-09-12 Andreas Schwab <schwab@redhat.com>
9402
a7c8e6a1
AS
9403 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9404 `struct cmsghdr *' instead of `void *'.
9405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9406 Likewise.
9407
0f31fe77
AS
94082011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9409
9410 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9411 if non-absolute.
9412 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9413 ldd_rewrite_script.
0f31fe77 9414
32b4c839
UD
94152011-09-11 Ulrich Drepper <drepper@gmail.com>
9416
83cd1420
UD
9417 * configure.in: Remove --with-tls option.
9418 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9419 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9420 out in case it is missing.
9421 * sysdeps/ia64/elf/configure.in: Likewise.
9422 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9423 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9424 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9425 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9426 * sysdeps/sh/elf/configure.in: Likewise.
9427 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9428 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9429 * sysdeps/x86_64/elf/configure.in: Likewise.
9430 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9431 * sysdeps/mach/hurd/tls.h: Likewise.
9432
633f745d
UD
9433 [BZ #13067]
9434 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9435
f318beb8
UD
9436 [BZ #13090]
9437 * configure.in: Fix use of AC_INIT.
9438
32b4c839
UD
9439 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9440
3ce1f295
UD
94412011-09-10 Ulrich Drepper <drepper@gmail.com>
9442
bb016596
UD
9443 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9444 __set_errno.
8e58439c
UD
9445 * malloc/hooks.c: Likewise.
9446
aebae053 9447 [BZ #11929]
02d46fc4
UD
9448 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9449 variables statically.
9450 (narenas): Initialize.
9451 (list_lock): Initialize.
bb016596
UD
9452 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9453 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9454 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9455 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9456 Add initializers to main_arena and mp_.
9457 (malloc_state): Remove pagesize member. Change all users to use
9458 GLRO(dl_pagesize).
9459
9460 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9461 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9462 is always initialized.
9463
22a89187
UD
9464 * malloc/malloc.c: Removed unused configurations and dead code.
9465 * malloc/arena.c: Likewise.
9466 * malloc/hooks.c: Likewise.
02d46fc4 9467 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9468
d063d164
UD
9469 * include/tls.h: Removed. USE___THREAD must always be defined.
9470 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9471 * elf/dl-libc.c: Likewise.
9472 * elf/dl-tsd.c: Likewise.
9473 * include/errno.h: Likewise.
9474 * include/netdb.h: Likewise.
9475 * include/resolv.h: Likewise.
9476 * inet/herrno-loc.c: Likewise.
9477 * inet/herrno.c: Likewise.
9478 * malloc/arena.c: Likewise.
9479 * malloc/hooks.c: Likewise.
9480 * malloc/malloc.c: Likewise.
9481 * resolv/res-state.c: Likewise.
9482 * resolv/res_libc.c: Likewise.
9483 * sysdeps/i386/dl-machine.h: Likewise.
9484 * sysdeps/ia64/dl-machine.h: Likewise.
9485 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9486 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9487 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9488 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9489 * sysdeps/sh/dl-machine.h: Likewise.
9490 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9491 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9492 * sysdeps/unix/i386/sysdep.S: Likewise.
9493 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9494 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9495 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9496 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9497 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9498 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9499 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9500 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9503 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9504 * sysdeps/x86_64/dl-machine.h: Likewise.
9505 * tls.make.c: Likewise.
9506
3ce1f295
UD
9507 * configure.in: Remove --with-__thread option. Make tests for
9508 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9509 tls_model attribute fail if no support is available. Remove
9510 USE_IN_LIBIO.
9511 * Makeconfig: Adjust for dropped configure option. All features are
9512 now mandatory.
9513 * Makerules: Likewise.
9514 * Versions.def: Likewise.
9515 * argp/argp-fmtstream.c: Likewise.
9516 * argp/argp-fmtstream.h: Likewise.
9517 * argp/argp-help.c: Likewise.
9518 * assert/assert.c: Likewise.
9519 * config.h.in: Likewise.
9520 * config.make.in: Likewise.
9521 * configure: Likewise.
9522 * configure.in: Likewise.
9523 * csu/Versions: Likewise.
9524 * csu/init.c: Likewise.
9525 * elf/tst-audit2.c: Likewise.
9526 * elf/tst-tls10.c: Likewise.
9527 * elf/tst-tls10.h: Likewise.
9528 * elf/tst-tls11.c: Likewise.
9529 * elf/tst-tls12.c: Likewise.
9530 * elf/tst-tls14.c: Likewise.
9531 * elf/tst-tlsmod11.c: Likewise.
9532 * elf/tst-tlsmod12.c: Likewise.
9533 * elf/tst-tlsmod13.c: Likewise.
9534 * elf/tst-tlsmod13a.c: Likewise.
9535 * elf/tst-tlsmod14a.c: Likewise.
9536 * elf/tst-tlsmod15b.c: Likewise.
9537 * elf/tst-tlsmod16a.c: Likewise.
9538 * elf/tst-tlsmod16b.c: Likewise.
9539 * elf/tst-tlsmod7.c: Likewise.
9540 * elf/tst-tlsmod8.c: Likewise.
9541 * elf/tst-tlsmod9.c: Likewise.
9542 * gmon/gmon.c: Likewise.
9543 * grp/fgetgrent_r.c: Likewise.
9544 * grp/putgrent.c: Likewise.
9545 * hurd/fopenport.c: Likewise.
9546 * include/libc-symbols.h: Likewise.
9547 * include/tls.h: Likewise.
9548 * intl/gettextP.h: Likewise.
9549 * intl/loadinfo.h: Likewise.
9550 * locale/global-locale.c: Likewise.
9551 * locale/localeinfo.h: Likewise.
9552 * mach/devstream.c: Likewise.
9553 * malloc/arena.c: Likewise.
9554 * malloc/set-freeres.c: Likewise.
9555 * misc/err.c: Likewise.
9556 * misc/getttyent.c: Likewise.
9557 * misc/mntent_r.c: Likewise.
9558 * posix/getopt.c: Likewise.
9559 * posix/wordexp.c: Likewise.
9560 * pwd/fgetpwent_r.c: Likewise.
9561 * resolv/Versions: Likewise.
9562 * resolv/res_hconf.c: Likewise.
9563 * shadow/fgetspent_r.c: Likewise.
9564 * shadow/putspent.c: Likewise.
9565 * stdio-common/printf_fphex.c: Likewise.
9566 * stdio-common/tmpfile.c: Likewise.
9567 * stdlib/abort.c: Likewise.
9568 * stdlib/fmtmsg.c: Likewise.
9569 * sunrpc/auth_unix.c: Likewise.
9570 * sunrpc/clnt_perr.c: Likewise.
9571 * sunrpc/clnt_tcp.c: Likewise.
9572 * sunrpc/clnt_udp.c: Likewise.
9573 * sunrpc/clnt_unix.c: Likewise.
9574 * sunrpc/openchild.c: Likewise.
9575 * sunrpc/svc_simple.c: Likewise.
9576 * sunrpc/svc_tcp.c: Likewise.
9577 * sunrpc/svc_udp.c: Likewise.
9578 * sunrpc/svc_unix.c: Likewise.
9579 * sunrpc/xdr.c: Likewise.
9580 * sunrpc/xdr_array.c: Likewise.
9581 * sunrpc/xdr_rec.c: Likewise.
9582 * sunrpc/xdr_ref.c: Likewise.
9583 * sunrpc/xdr_stdio.c: Likewise.
9584
1248c1c4
PB
95852011-09-09 Ulrich Drepper <drepper@gmail.com>
9586
9587 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9588
95892011-07-03 Andreas Jaeger <aj@suse.de>
9590
9591 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9592 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9593 regenerate with gen-libm-tests.pl.
9594
95952010-05-12 Petr Baudis <pasky@suse.cz>
9596
9597 [BZ #11589]
9598 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9599 around j0() zero points by switching to j1().
9600 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9601 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9603 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9604
f22e1074
UD
96052011-09-09 Ulrich Drepper <drepper@gmail.com>
9606
f19009c1
UD
9607 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9608 instead of 0.
9609 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9610 instead of 0. .
9611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9612 Patch in part by Pavel Roskin <proski@gnu.org>.
9613
3f8cc204
UD
9614 [BZ #13138]
9615 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9616 realloc.
9617 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9618 Free memory block if necessary.
9619
f22e1074
UD
9620 [BZ #12847]
9621 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9622 be NULL. Don't lock in this case.
9623
0a2349f9
RM
96242011-09-09 Roland McGrath <roland@hack.frob.com>
9625
9626 * elf/elf.h (ELFOSABI_GNU): New macro.
9627 (ELFOSABI_LINUX): Define to that.
9628
f3cdd467
DZ
96292011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9630
9631 * string/strncat.c (strncat): Undef the symbol in case it has been
9632 defined in bits/string.h.
9633
74718d13
UD
96342011-09-09 Ulrich Drepper <drepper@gmail.com>
9635
633e9e0f
UD
9636 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9637
0a2349f9 9638 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9639 link map.
9640
f9924780
AJ
96412011-08-17 Andreas Jaeger <aj@suse.de>
9642
9643 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9644
7f5517aa
PP
96452011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9646 Ian Lance Taylor <iant@google.com>
9647
9648 * math/libm-test.inc (lround_test): New testcase.
9649 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9650
762011fe
UD
96512011-09-08 Ulrich Drepper <drepper@gmail.com>
9652
92963737
UD
9653 * Makefile: Remove support for automatic cvs check-ins.
9654 * Makerules: Likewise.
9655 * config.make.in: Likewise.
9656 * configure.in: Likewise.
9657 * intl/Makefile: Likewise.
9658 * locale/Makefile: Likewise.
9659 * po/Makefile: Likewise.
9660 * posix/Makefile: Likewise.
9661 * sysdeps/gnu/Makefile: Likewise.
9662 * sysdeps/mach/hurd/Makefile: Likewise.
9663 * sysdeps/sparc/sparc32/Makefile: Likewise.
9664
b0727fd8
JS
9665 [BZ #13118]
9666 * posix/Makefile (bug-regex32-ENV): Define.
9667 Patch by John Stanley <jpsinthemix@verizon.net>.
9668
a0f33f99
UD
9669 * misc/Makefile (headers): Add bits/select2.h.
9670 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9671 * misc/bits/select2.h: New file.
9672 * include/bits/select2.h: New file.
9673 * debug/Makefile (routines): Add fdelt_chk.
9674 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9675 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9676 FD_ISSET.
9677 * debug/fdelt_chk.c: New file.
9678
762011fe
UD
9679 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9680 * wcsmbs/test-wmemcmp.c: Likewise.
9681 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9682 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9683
96842011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9685
9686 * string/Makefile (strop-tests): Add memcmp.
9687 * string/test-wmemcmp.c: New file.
9688 * string/test-memcmp.c: Add wmemcmp support.
9689
7f513ec8
RM
96902011-09-08 Roland McGrath <roland@hack.frob.com>
9691
0442afb4
RM
9692 [BZ #13153]
9693 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9694 2011-07-19 change.
9695
7f513ec8
RM
9696 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9697 garbage value in a __mach_port_mod_refs call in the cases of the
9698 task-self and thread-self ports.
9699
a12b2239
ST
97002011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9701
9702 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9703
610f9ab4
AS
97042011-09-08 Andreas Schwab <schwab@redhat.com>
9705
7f513ec8 9706 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9707
48882a1a
LD
97082011-09-07 Ulrich Drepper <drepper@gmail.com>
9709
b49865be
UD
9710 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9711
fdc86bc9
UD
9712 * elf/dl-libc.c (dlerror_run): Pass back error code from
9713 dl_catch_error.
9714
c966526a
UD
9715 [BZ #13123]
9716 * elf/dl-load.c (lose): Free l_origin if it is valid.
9717
48882a1a
LD
9718 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9719 names.
9720 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9721 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9722 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9723 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9724 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9725 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9726
77a2a8b4
AZ
97272011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9728
9729 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9730 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9731 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9732 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9733 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9734 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9735 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9736 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9737 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9738 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9739
24f579d8
AM
97402011-08-15 Alan Modra <amodra@gmail.com>
9741
9742 [BZ #13092]
9743 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9744 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9745 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9746 ppc_mcount to static-only-routines.
9747 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9748 __mcount_internal.
9749 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9750 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9751
3d4837df
UD
97522011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9753
9754 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9755 for finite and infinity parameters.
9756
22700377
WS
97572011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9758
9759 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9760 and add nop instructions for throughput optimization.
9761 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9762
5025581e
WS
97632011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9764
9765 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9766 aligned copy for power7 with vector-scalar instructions.
9767 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9768
08a300c9
L
97692011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9770
9771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9772 AVX check.
9773
59178ef9
AS
97742011-09-07 Andreas Schwab <schwab@redhat.com>
9775
9776 [BZ #13144]
9777 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9778 last change.
9779
e38ba7ab
UD
97802011-09-07 Ulrich Drepper <drepper@gmail.com>
9781
9782 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9783 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9784 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9785 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9786 clock_gettime.
9787
d53a73ac
UD
97882011-09-06 Ulrich Drepper <drepper@gmail.com>
9789
fc8bffcc
UD
9790 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9791 Forgot to demangle the pointer.
9792
ceaa0c5d
UD
9793 * sysdeps/i386/sysdep.h: Define atom_text_section.
9794 * sysdeps/x86_64/sysdep.h: Likewise.
9795 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9796 section with atom_text_section.
9797 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9798 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9799 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9800 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9801 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9802
a77d3c17
UD
9803 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9804 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9805 already be defined. Change to take two parameters and don't assign
9806 result to variable. Adjust all users.
9807 Define INTERNAL_GETTIME if not already defined.
9808 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9809 call.
9810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9811 HAVE_CLOCK_GETTIME_VSYSCALL.
9812 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9813
d53a73ac
UD
9814 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9815 gettimeofday vsyscall, just use time.
9816
a8f84144
AS
98172011-09-06 Andreas Schwab <schwab@redhat.com>
9818
9819 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9820 <errno.h>.
9821
ef606249
UD
98222011-09-06 Ulrich Drepper <drepper@gmail.com>
9823
9824 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9825 syscall on x86-64.
9826 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9827 syscall.
9828 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9829 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9830 syscall if possible.
9831
6585cb60
UD
98322011-09-05 Ulrich Drepper <drepper@gmail.com>
9833
9834 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9835 e_ident. Don't pass to find_mapsXX.
9836 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9837
a5f524e4
LD
98382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9839
9840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9841 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9842 * sysdeps/x86_64/multiarch/strchr.S: Update.
9843 Check bit_slow_BSF bit.
9844 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9845 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9846 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9847
554881ef
UD
98482011-09-05 Ulrich Drepper <drepper@gmail.com>
9849
d96de963
UD
9850 [BZ #13134]
9851 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9852 before glibc 2.15.
9853 (tryshell): Define.
9854 (__spawni): Change last parameter to be flag. Test
9855 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9856 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9857 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9858 * posix/spawni.c: Likewise.
9859 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9860 * posix/spawnp.c: Likewise. Change normal version to use
9861 SPAWN_XFLAGS_USE_PATH.
9862 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9863 SPAWN_XFLAGS_TRY_SHELL.
9864
d48e5868
UD
9865 [BZ #13150]
9866 * posix/glob.h: Remove gcc 1.x support.
9867
554881ef
UD
9868 [BZ #13068]
9869 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9870
693fb948
LD
98712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9872
9873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9874 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9875 strrchr-sse2-bsf
9876 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9877 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9878 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9879 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9880 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9881 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9882
1b48c537
UD
98832011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9884
49d42c37
UD
9885 * sysdeps/x86_64/wcscmp.S: New file.
9886
1b48c537
UD
9887 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9888 wcscmp-c wcscmp-sse2
9889 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9890 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9891 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9892 * wcsmbs/wcscmp.c: Allow renaming.
9893
15c95c5d
DM
98942011-09-05 David S. Miller <davem@davemloft.net>
9895
9896 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9897 stack slot, rather than the struct return pointer slot.
9898 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9899 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9901 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9902
2f0ad8f3
UD
99032011-09-05 Ulrich Drepper <drepper@gmail.com>
9904
d88ae418
UD
9905 * po/ja.po: Update from translation team.
9906
2f0ad8f3
UD
9907 [BZ #13144]
9908 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9909 kernel in 64-bit binaries.
9910
5f4318d1
DM
99112011-09-01 David S. Miller <davem@davemloft.net>
9912
9913 * elf/elf.h (HWCAP_SPARC_*): Move to..
9914 * sysdeps/sparc/sysdep.h: this new file and add new values.
9915 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9916 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9917 _DL_HWCAP_COUNT to 24.
9918 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9919 entries.
9920 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9921 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9922 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9923 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9924 instead of magic constants.
9925 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9926
3ba57516
DM
99272011-08-31 David S. Miller <davem@davemloft.net>
9928
9929 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9930 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9931 Reimplement to do errno handling inline.
9932 (SYSCALL_ERROR_HANDLER): New macro.
9933 (__SYSCALL_STRING): Do not do errno handling in asm.
9934 (__CLONE_SYSCALL_STRING): Delete.
9935 (__INTERNAL_SYSCALL_STRING): Delete.
9936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9937 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9938 (PSEUDO): Reimplement to do errno handling inline.
9939 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9940 (SYSCALL_ERROR_HANDLER): New macro.
9941 (__SYSCALL_STRING): Do not do errno handling in asm.
9942 (__CLONE_SYSCALL_STRING): Delete.
9943 (__INTERNAL_SYSCALL_STRING): Delete.
9944 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9945 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9946 i386.
9947 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9948 (inline_syscall*): Add 'err' argument.
9949 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9950 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9951 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9952 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9953
9954 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9955 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9956
2bc17433
AS
99572011-08-30 Andreas Schwab <schwab@redhat.com>
9958
9959 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9960
fbeb5f4d
JO
99612011-08-29 Jiri Olsa <jolsa@redhat.com>
9962
9963 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9964 directive.
9965
ad69cc26
DM
99662011-08-24 David S. Miller <davem@davemloft.net>
9967
9968 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9969
39dd69df
AS
99702011-08-24 Andreas Schwab <schwab@redhat.com>
9971
9972 * elf/Makefile: Add rules to build and run unload8 test.
9973 * elf/unload8.c: New file.
9974 * elf/unload8mod1.c: New file.
9975 * elf/unload8mod1x.c: New file.
9976 * elf/unload8mod2.c: New file.
9977 * elf/unload8mod3.c: New file.
9978
9979 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9980 it wasn't used.
9981
2c0b250a
DM
99822011-08-23 David S. Miller <davem@davemloft.net>
9983
9984 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9985 subtract stack bias.
9986 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9987 %sp not %fp in calculations.
9988 (_JMPBUF_UNWINDS_ADJ): Likewise.
9989
22044b48
DM
9990 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9991 (aio_suspend): Call it to force an exception region around the
9992 AIO_MISC_WAIT() invocation.
9993
2cae4995
AS
99942011-08-23 Andreas Schwab <schwab@redhat.com>
9995
9996 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9997 backslash.
9998
873a772e
AJ
99992011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10000
10001 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10002 protection macro.
10003 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10004 and <dl-machine.h>.
10005 (Elf64_FuncDesc): Remove.
10006
25ad0df1
DM
100072011-08-22 David S. Miller <davem@davemloft.net>
10008
10009 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10010 sigaltstack check, add missing cfi directives.
10011 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10012 missing cfi directives, and sigaltstack handling.
10013
e888bcbe
AS
100142011-08-16 Andreas Schwab <schwab@redhat.com>
10015
10016 [BZ #11724]
10017 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10018 object is seen twice.
10019 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10020
10021 * elf/Makefile (distribute): Add tst-initorder2.c.
10022 (tests): Add tst-initorder2.
10023 (modules-names): Add tst-initorder2a tst-initorder2b
10024 tst-initorder2c tst-initorder2d. Add rules to build them.
10025 ($(objpfx)tst-initorder2.out): New rule.
10026 * elf/tst-initorder2.c: New file.
10027 * elf/tst-initorder2.exp: New file.
10028
87162f46
AS
100292011-08-22 Andreas Schwab <schwab@redhat.com>
10030
70538b7f
AS
10031 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10032
f55ffe58
AS
10033 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10034 dependencies back to end of function.
10035
87162f46
AS
10036 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10037 $(elfobjdir)/ld.so.
10038
91b392a4
UD
100392011-08-21 Ulrich Drepper <drepper@gmail.com>
10040
10041 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10042 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10043 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10044 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10045 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10046 of __vdso_gettimeofday.
10047 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10048 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10049 attribute_hidden.
10050 (_libc_vdso_platform_setup): Remove initialization of
10051 __vdso_gettimeofday and __vdso_time.
10052
5c43483f
UD
100532011-08-20 Ulrich Drepper <drepper@gmail.com>
10054
775a77e7
UD
10055 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10056 and fgetc_unlocked.
10057 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10058 getc_unlocked.
89f447ed 10059
49c74ba9
UD
10060 * elf/dl-open.c (add_to_global): Report additions to the global scope
10061 for LD_DEBUG=scopes.
10062 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10063 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10064
5c43483f
UD
10065 [BZ #13114]
10066 * stdio-common/Makefile (tests): Add bug24.
10067 * stdio-common/bug24.c: New file.
10068
a101b025
AJ
100692011-08-19 Andreas Jaeger <aj@suse.de>
10070
10071 [BZ #13114]
10072 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10073 non-existant file when using close-on-exec mode.
10074
c88f1766
UD
100752011-08-20 Ulrich Drepper <drepper@gmail.com>
10076
0276a718
UD
10077 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10078 the very first instruction.
10079
c88f1766
UD
10080 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10081 the CFI state in the end.
10082 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10083 inclusion of dl-trampoline.h.
10084 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10085
51ccffa0
AS
100862011-08-19 Andreas Schwab <schwab@redhat.com>
10087
94d7165f
AS
10088 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10089 expectations for long double.
10090
51ccffa0
AS
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10092 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10093
fd708658 100942011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10095
10096 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10097 artificual limit depends upon the system page size.
10098
44f0a71e
UD
100992011-08-17 Ulrich Drepper <drepper@gmail.com>
10100
10101 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10102 * resolv/Makefile: Define CFLAGS-libresolv.
10103
8de79a24
AS
101042011-08-17 Andreas Schwab <schwab@redhat.com>
10105
10106 * nss/makedb.c (compute_tables): Make variables used in nested
10107 function static.
10108
27724598
UD
101092011-08-17 Ulrich Drepper <drepper@gmail.com>
10110
c5305d88
UD
10111 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10112 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10113 if buffer was too small.
10114
27724598
UD
10115 * elf/pldd.c (main): Attach to all threads in the process.
10116 Rewrite /proc handling to use *at functions.
10117
076fe015
UD
101182011-08-16 Ulrich Drepper <drepper@gmail.com>
10119
174baab3
UD
10120 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10121 specifies first scope to show.
10122 (dl_open_worker): Update callers. Move printing scope of new
10123 object to before the relocation.
44f0a71e 10124 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10125 * sysdeps/generic/ldsodefs.h: Update declaration.
10126
076fe015
UD
10127 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10128 string for the scope number.
10129
a60df2c3
UD
101302011-08-14 Ulrich Drepper <drepper@gmail.com>
10131
10132 * nscd/servicescache.c (cache_addserv): Make sure written is always
10133 initialized.
10134
5e4287d1
RM
101352011-08-14 Roland McGrath <roland@hack.frob.com>
10136
85ae0589
RM
10137 * sysdeps/i386/i486/bits/atomic.h
10138 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10139 statement expression, so as to suppress "set but not used" warning.
10140 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10141
69f63097
RM
10142 * string/strncat.c (STRNCAT): Use prototype definition.
10143
675456ef
RM
10144 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10145 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10146 -Iprograms here.
10147 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10148 (localedef-modules): Add localedef.
10149 (locale-modules): Add locale.
10150
5e4287d1
RM
10151 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10152 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10153 to avoid a warning.
10154
9c96ff23
DM
101552011-08-14 David S. Miller <davem@davemloft.net>
10156
10157 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10158 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10159
f9ddf089
UD
101602011-08-13 Ulrich Drepper <drepper@gmail.com>
10161
44f0a71e 10162 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10163 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10164 * elf/rtld.c (dl_main): Set l_name of vDSO.
10165 Call _dl_show_scope when DL_DEBUG_SCOPES.
10166 (process_dl_debug): Recognize scopes flag and also set it for all.
10167 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10168 Declare _dl_show_scope.
10169
1dc27704
UD
10170 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10171 (do_dlopen): Pass caller_dlopen to dl_open.
10172 (__libc_dlopen_mode): Initialize caller_dlopen.
10173
f9ddf089
UD
10174 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10175 of libc. Make tolower call locale-independent. Optimize a bit by
10176 using isdigit instead of isalnum.
10177 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10178
9ac533d3
UD
101792011-08-12 Ulrich Drepper <drepper@gmail.com>
10180
10181 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10182 was a dependency or dynamically loaded.
10183
89edf2e9
UD
101842011-08-11 Ulrich Drepper <drepper@gmail.com>
10185
8e999d29
UD
10186 * intl/l10nflist.c: Allow architecture-specific pop function.
10187 * sysdeps/x86_64/l10nflist.c: New file.
10188
89edf2e9
UD
10189 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10190 classification.
10191
14d96785
AS
101922011-08-10 Andreas Schwab <schwab@redhat.com>
10193
10194 * include/dirent.h: Add libc_hidden_proto for scandirat and
10195 scandirat64. Don't declare __scandirat64.
10196 * dirent/scandirat.c: Add libc_hidden_def.
10197 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10198 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10199
6761ac04
DM
102002011-08-10 David S. Miller <davem@davemloft.net>
10201
10202 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10203 enum.
10204 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10205 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10206 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10207
c55fbd1e
UD
102082011-08-09 Ulrich Drepper <drepper@gmail.com>
10209
10210 * Versions.def [libc]: Add GLIBC_2.15.
10211 * dirent/Makefile (routines): Add scandirat and scandirat64.
10212 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10213 GLIBC_2.15.
10214 * dirent/dirent.h: Declare scandirat and scandirat64.
10215 * dirent/scandirat.c: New file.
10216 * dirent/scandirat64.c: New file.
10217 * sysdeps/wordsize-64/scandirat.c: New file.
10218 * sysdeps/wordsize-64/scandirat64.c: New file.
10219 * dirent/opendir.c: Define opendirat.
10220 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10221 using scandirat.
10222 * dirent/scandir64.c: Adjust for scandir.c change.
10223 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10224 __scandirat64, and __scandir_cancel_handler.
10225 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10226 additional parameter and use openat instead of open (outside of ld.so).
10227 Add new __opendir as wrapper around __opendirat.
10228 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10229 here without requiring old scandirat implementation.
10230
879165f2
UD
102312011-08-08 Ulrich Drepper <drepper@gmail.com>
10232
10233 * dirent/scandir.c (cancel_handler): Renamed to
10234 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10235 defined. Adjust users.
10236 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10237 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10238
cb7e923b
UD
102392011-08-04 Ulrich Drepper <drepper@gmail.com>
10240
16292edd
UD
10241 * string/test-string.h (IMPL): Use __STRING to expand name and then
10242 stringify it.
10243
cb7e923b
UD
10244 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10245 of cleanups.
10246
cff82933
LD
102472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10248
10249 * string/Makefile: Update.
10250 (strop-tests): Append strncat.
10251 * string/test-wcscmp.c: New file.
10252 New comprehensive test for wcscmp.
10253 * string/test-strcmp.c: Update.
10254 (WIDE): New define.
10255
9be9bfcc
AS
102562011-07-22 Andreas Schwab <schwab@redhat.com>
10257
10258 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10259 line.
10260
2e96f1c7
AS
102612011-07-26 Andreas Schwab <schwab@redhat.com>
10262
10263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10264 encoding to ACE if AI_IDN.
10265
85188888
JJ
102662011-08-01 Jakub Jelinek <jakub@redhat.com>
10267
10268 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10269 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10270
5fa16e9b
LD
102712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10272
10273 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10274 Fix overflow bug in strncat.
10275 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10276
10277 * string/test-strncat.c: Update.
10278 Add new tests for checking overflow bugs.
10279
102802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10281
10282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10283 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10284 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10285 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10286 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10287 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10288 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10289 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10290 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10291
10292 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10293 (USE_AS_STRCAT): Define.
10294 Add strcat and strncat support.
10295 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10296
8c1a459f
AS
102972011-07-25 Andreas Schwab <schwab@redhat.com>
10298
10299 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10300 __n bigger than INT_MAX+1.
10301 (__strncmp_g): Likewise.
10302
bba33c28
UD
103032011-07-23 Ulrich Drepper <drepper@gmail.com>
10304
798be72d
UD
10305 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10306 * libio/stido.h: Likewise.
10307
8accd4dc
UD
10308 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10309 (AF_NFC): Define.
10310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10311 (AF_NFC): Define.
10312
cbff0d96
UD
10313 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10314 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10315 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10316 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10317 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10318
9191c04a
UD
10319 [BZ #13021]
10320 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10321 installed.
10322
bba33c28
UD
10323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10324 typo.
10325 (_dl_x86_64_save_sse): Likewise.
10326
90f139dd
UD
103272011-07-22 Ulrich Drepper <drepper@gmail.com>
10328
1aae088a
UD
10329 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10330 OSXSAVE.
10331 (_dl_x86_64_save_sse): Likewise.
10332
8e2045f5
UD
10333 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10334
90f139dd
UD
10335 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10336
1d002f25
AS
103372011-07-21 Andreas Schwab <schwab@redhat.com>
10338
10339 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10340 change.
10341 (_dl_x86_64_save_sse): Use correct AVX check.
10342
21137f89
UD
103432011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10344
10345 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10346 bug in strncpy/strncat.
10347 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10348
a65c0b7a
UD
103492011-07-21 Ulrich Drepper <drepper@gmail.com>
10350
10351 * string/tester.c (test_strcat): Add tests for different alignments
10352 of source and destination.
10353 (test_strncat): Likewise.
10354
6986b98a
UD
103552011-07-20 Ulrich Drepper <drepper@gmail.com>
10356
90bb2039
UD
10357 [BZ #12852]
10358 * posix/glob.c (glob): Check passed in values before using them in
10359 expressions to avoid some overflows.
10360 (glob_in_dir): Likewise.
10361
5644ef54
UD
10362 [BZ #13007]
10363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10364 check for AVX enablement so that we don't crash with old kernels and
10365 new hardware.
10366 * elf/tst-audit4.c: Add same checks here.
10367 * elf/tst-audit6.c: Likewise.
10368
10369 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10370
bfc9dc9b
AS
103712011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10372
10373 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10374
702e64bb
UD
103752011-07-20 Ulrich Drepper <drepper@gmail.com>
10376
10377 * po/cs.po: Update from translation team.
10378 * po/bg.po: Likewise.
10379
295e904f
MP
103802011-07-12 Marek Polacek <mpolacek@redhat.com>
10381
10382 * misc/sys/cdefs.h: Add support for const attribute.
10383 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10384 to gnu_dev_{major,minor,makedev} functions.
10385
3ff94596
MP
103862011-07-20 Marek Polacek <mpolacek@redhat.com>
10387
10388 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10389
28b59fca
AS
103902011-07-20 Andreas Schwab <schwab@redhat.com>
10391
10392 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10393 strlen results.
10394
19df733e
AK
103952011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10396
10397 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10398 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10399 register in order to avoid conflicts with the soft frame pointer
10400 being held in r11 when necessary.
10401 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10402 (INTERNAL_VSYSCALL_NCS): Likewise.
10403
c8835729
MP
104042011-07-14 Marek Polacek <mpolacek@redhat.com>
10405
10406 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10407 * elf/dl-fini.c (_dl_fini): Adjust caller.
10408 * elf/dl-close.c (_dl_close_worker): Likewise.
10409 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10410
b902330c
MP
104112011-07-15 Marek Polacek <mpolacek@redhat.com>
10412
8991e135
MP
10413 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10414 "aux_cache->nlibs < 0".
10415
b902330c
MP
10416 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10417 in the reload-count case.
10418
99710781
LD
104192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10420
10421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10422 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10423 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10424 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10425 * sysdeps/x86_64/multiarch/strcat.S: New file.
10426 * sysdeps/x86_64/multiarch/strncat.S: New file.
10427 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10428 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10429 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10430 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10431 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10432 (USE_AS_STRCAT): Define.
10433 Add strcat and strncat support.
10434 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10435 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10436 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10437 * string/strncat.c: Update.
10438 (USE_AS_STRNCAT): Define.
10439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10440 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10441 and i7.
10442 * sysdeps/x86_64/multiarch/init-arch.h
10443 (bit_Prefer_PMINUB_for_stringop): New.
10444 (index_Prefer_PMINUB_for_stringop): Likewise.
10445 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10446 bit_Prefer_PMINUB_for_stringop.
10447
7dc6bd90
UD
104482011-07-19 Ulrich Drepper <drepper@gmail.com>
10449
10450 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10451 buffer64.
10452 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10453 of casting of buffer.
10454 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10455 buffer32 and buffer64.
10456 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10457 writes instead of casting of buffer.
10458 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10459 buffer32.
10460 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10461 casting of buffer.
10462
e0e72284
AS
104632011-07-19 Andreas Schwab <schwab@redhat.com>
10464
10465 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10466
feb1eb0b
UD
104672011-07-19 Ulrich Drepper <drepper@gmail.com>
10468
10469 * nscd/nscd.c (termination_handler): Don't do anything for a database
10470 if it has not yet been initialized.
10471
298711ff
UD
104722011-07-18 Ulrich Drepper <drepper@gmail.com>
10473
10474 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10475
104762011-07-15 Marek Polacek <mpolacek@redhat.com>
10477
10478 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10479
f9d68389
UD
104802011-07-18 Ulrich Drepper <drepper@gmail.com>
10481
10482 * po/nl.po: Update from translation team.
10483 * po/sv.po: Likewise.
10484
db290cf5
RM
104852011-07-16 Roland McGrath <roland@hack.frob.com>
10486
10487 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10488 now disallowed by GCC.
5c550700 10489
fd5e21c7
RM
10490 * configure.in (use-default-link): Default to yes if a test -shared
10491 link meets our qualifications.
10492 * configure: Regenerated.
10493
5c550700
RM
10494 * config.make.in (output-format): New variable.
10495 * configure.in: Check for ld --print-output-format support.
10496 * configure: Regenerated.
10497 * Makerules ($(common-objpfx)format.lds)
10498 [$(output-format) != unknown]: Just use $(output-format),
10499 instead of the linker-script munging.
10500
9fa2c032
RM
105012011-07-14 Roland McGrath <roland@hack.frob.com>
10502
a6928d51
RM
10503 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10504 of $(common-objpfx)shlib.lds.
10505 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10506
661607b3
RM
10507 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10508 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10509
9fa2c032
RM
10510 * configure.in (-z relro check): Adjust test code to add a large
10511 writable data section after it.
10512 * configure: Regenerated.
10513
defe9061
RM
105142011-07-11 Roland McGrath <roland@hack.frob.com>
10515
10516 * configure.in (-z relro check): Fix test code to make the variable
10517 truly const.
10518 * configure: Regenerated.
10519
319b9ad4
UD
105202011-07-11 Ulrich Drepper <drepper@gmail.com>
10521
10522 * nscd/nscd.h (struct traced_file): Define.
10523 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10524 elements. Add traced_files.
10525 (inotify_fd): Declare.
10526 (register_traced_file): Declare.
10527 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10528 (inotify_fd): Export.
10529 (resolv_conf_descr): Remove.
10530 (nscd_init): Move inotify descriptor creation to main.
10531 Don't register files for notification here.
10532 (register_traced_file): New function.
10533 (invalidate_cache): Don't use reset_res to determine whether to call
10534 res_init, go through the list of registered files.
10535 (main_loop_poll): The inotify descriptors are now stored in the
10536 structures for the traced files.
10537 (main_loop_epoll): Likewise
10538 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10539 to __nss_disable_nscd.
10540 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10541 for a database anymore. Check the records for all the registered
10542 files instead.
10543 * nss/Makefile (libnss_files-routines): Add files-init.
10544 (libnss_db-routines): Add db-init.
10545 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10546 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10547 * nss/nss_db/db-init.c: New file.
10548 * nss/nss_files/files-init.c: New file.
10549 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10550 __nss_lookup_function.
10551 (__nss_lookup_function): Call nss_load_library.
10552 (nss_load_all_libraries): New function.
10553 (__nss_disable_nscd): Take parameter with callback function for files
10554 to register. Set is_nscd. Load all the DSOs for the NSS modules
10555 used for the cached services.
10556 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10557 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10558 options for features to all the files in nscd.
10559
10560 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10561
23bee3e8
RM
105622011-07-10 Roland McGrath <roland@hack.frob.com>
10563
10564 * csu/elf-init.c (__libc_csu_init): Comment typo.
10565
46a5b7f0
UD
105662011-07-09 Ulrich Drepper <drepper@gmail.com>
10567
10568 * po/pl.po: Update from translation team.
10569 * po/ja.po: Likewise.
10570 * po/ru.po: Likewise.
10571 * po/ko.po: Likewise.
10572 * po/fr.po: Likewise.
10573
d30cf5bb
RM
105742011-07-09 Roland McGrath <roland@hack.frob.com>
10575
113ddea4
RM
10576 * configure.in (.ctors/.dtors header and trailer check):
10577 Use an empirical test on a built program.
10578 * configure: Regenerated.
10579
574920b4
RM
10580 * configure.in (-z relro check): Use an empirical test on a built DSO.
10581 Detect, but do not require, on ia64.
10582 * configure: Regenerated.
10583
d30cf5bb
RM
10584 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10585 Update tests that use readelf to use $READELF instead.
10586 * configure: Regenerated.
10587
8538fdb3
UD
105882011-07-08 Ulrich Drepper <drepper@gmail.com>
10589
10590 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10591 if the result is not used.
10592
04d08991
AJ
105932011-07-05 Andreas Jaeger <aj@suse.de>
10594
10595 [BZ#9696]
10596 * stdlib/tst-strtod.c: Add testcase.
10597
de283087
AD
105982011-07-07 Ulrich Drepper <drepper@gmail.com>
10599
4e5f31c8 10600 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10601 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10602 The latter has a higher limit. Take additional parameter to pass to
10603 the new function.
10604 (__pathconf): Pass file to __statfs_link_max.
10605 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10606 __statfs_link_max.
10607 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10608 __statfs_link_max.
10609
de283087
AD
10610 [BZ #12868]
10611 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10612 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10613 Handle Lustre.
10614 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10615 (__statfs_filesize_max): Likewise.
10616 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10617
c75fa153
AJ
106182011-07-05 Andreas Jaeger <aj@suse.de>
10619
10620 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10621
1a544854
UD
106222011-07-06 Marek Polacek <mpolacek@redhat.com>
10623
10624 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10625 `status' variable.
10626 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10627 Likewise.
10628
6f0eec67
UD
106292011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10630
10631 * Makefile (strop-tests): Add strncat.
10632 * string/test-strncat.c: New file.
10633
aae30307
UD
106342011-06-30 Marek Polacek <mpolacek@redhat.com>
10635
10636 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10637
c0cfb5eb
UD
106382011-06-21 Andreas Jaeger <aj@suse.de>
10639
10640 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10641 Copy rule from iconvdata/Makefile.
10642
01636b21
UD
106432011-07-06 Ulrich Drepper <drepper@gmail.com>
10644
10645 [BZ #12922]
10646 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10647 but no long options are defined, just return 'W'.
10648
9895c8bc
UD
106492011-06-22 Marek Polacek <mpolacek@redhat.com>
10650
10651 [BZ #9696]
10652 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10653
5d4cf042
UD
106542011-07-06 Ulrich Drepper <drepper@gmail.com>
10655
10656 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10657 netgroups to read.
960e5535 10658 (innetgr): Likewise.
5d4cf042 10659
751eb97e
RM
106602011-07-05 Roland McGrath <roland@hack.frob.com>
10661
10662 * config.make.in (install_root): Default to $(DESTDIR).
10663
f15f1e45
UD
106642011-07-05 Ulrich Drepper <drepper@gmail.com>
10665
10666 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10667
4e34ac6a
RM
106682011-07-02 Roland McGrath <roland@hack.frob.com>
10669
5e9b6af4
RM
10670 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10671
84f9ea0f
RM
10672 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10673 containing directory rather than embedding absolute directory names.
10674
ea5ee9f7
RM
10675 * scripts/check-local-headers.sh: Rewritten using awk.
10676 Match by word, not by line. Print error messages for matches.
10677 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10678
1b74661a
RM
10679 * Makerules [shlib-lds-flags empty]:
10680 ($(common-objpfx)libc_pic.opts): New target.
10681 ($(common-objpfx)libc_pic.os.clean): New target.
10682 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10683
10684 * config.make.in (OBJCOPY): New variable.
10685 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10686 * configure: Regenerated.
10687
f781ef40
RM
10688 * config.make.in (use-default-link): New variable.
10689 * configure.in (use_default_link): Grok --with-default-link to set it.
10690 * configure: Regenerated.
10691 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10692 (shlib-lds, shlib-lds-flags): Define to empty.
10693
2d4fa81e
RM
10694 * Makerules (shlib-lds): New variable.
10695 (shlib-lds-flags): New variable.
10696 (build-shlib, build-moduile, build-module-asneeded): Use it.
10697 ($(common-objpfx)libc.so): Use $(shlib-lds).
10698 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10699 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10700
31fffa6b
RM
10701 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10702 DT_FLAGS/DT_FLAGS_1 with zero flags.
10703
4e34ac6a
RM
10704 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10705 linker script munging.
10706
fcfc776b
UD
107072011-07-02 Ulrich Drepper <drepper@gmail.com>
10708
10709 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10710 as 128-bit value.
10711 * crypt/sha512.c (sha512_process_block): Perform total addition using
10712 128-bit if possible.
10713 (__sha512_finish_ctx): Likewise.
10714 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10715 as 64-bit value.
10716 * crypt/sha256.c (SWAP64): Define.
10717 (sha256_process_block): Perform total addition using 64-bit if
10718 possible.
10719 (__sha256_finish_ctx): Likewise.
10720
99231d9a
UD
107212011-07-01 Ulrich Drepper <drepper@gmail.com>
10722
10723 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10724 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10725 * nscd/hstcache.c (cache_addhst): Likewise.
10726 * nscd/grpcache.c (cache_addgr): Likewise.
10727 * nscd/aicache.c (addhstaiX): Likewise
10728 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10729
445b4a53
TK
107302011-07-01 Thorsten Kukuk <kukuk@suse.de>
10731
10732 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10733 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10734 * nscd/hstcache.c (cache_addhst): Likewise.
10735 * nscd/grpcache.c (cache_addgr): Likewise.
10736 * nscd/aicache.c (addhstaiX): Likewise
10737
6d4d8e8e
AS
107382011-07-01 Andreas Schwab <schwab@redhat.com>
10739
10740 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10741 domain only when needed.
10742
89f654c5
AS
107432011-06-30 Andreas Schwab <schwab@redhat.com>
10744
10745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10746 is always restored.
10747
cf3b23ff
UD
107482011-06-29 Ulrich Drepper <drepper@gmail.com>
10749
10750 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10751 are re-adding the entry.
10752 * nscd/servicescache.c (cache_addserv): Likewise.
10753
751626f9
AJ
107542011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10755
10756 * sysdeps/generic/dl-irel.h: fix protection against multiple
10757 inclusions.
10758 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10759
9113ea1f
UD
107602011-06-28 Ulrich Drepper <drepper@gmail.com>
10761
5c0b8d90
UD
10762 [BZ #12935]
10763 * malloc/memusage.sh: Fix quoting in message.
10764 * debug/xtrace.sh: Likewise.
10765
9113ea1f
UD
10766 * configure.in: Remove support for --experimental-malloc option, make
10767 it the default.
10768 * config.make.in: Likewise.
10769 * malloc/Makefile: Likewise.
10770
a4172181
AS
107712011-06-27 Andreas Schwab <schwab@redhat.com>
10772
10773 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10774 two-byte characters.
10775
78a7eee7
RM
107762011-06-27 Roland McGrath <roland@hack.frob.com>
10777
62bede13
RM
10778 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10779 AC_CACHE_CHECK invocation.
10780 * configure: Regenerated.
10781
78a7eee7
RM
10782 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10783
5ce33a62
UD
107842011-06-27 Ulrich Drepper <drepper@gmail.com>
10785
034807a9
UD
10786 [BZ #12350]
10787 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10788 bit from old_res_options.
10789
4902da17
UD
10790 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10791
5ce33a62
UD
10792 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10793 value type for setfct.
10794
c2344f56
L
107952011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10796
10797 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10798 __gettimeofday instead of gettimeofday.
10799
68468076
UD
108002011-06-26 Ulrich Drepper <drepper@gmail.com>
10801
10802 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10803
acb0d739
L
108042011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10805
10806 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10807
10808 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10809 info.
10810
8912479f
L
108112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10812
10813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10814 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10815 strcpy-sse2-unaligned strncpy-sse2-unaligned
10816 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10817 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10818 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10819 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10820 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10821 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10822 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10823 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10824 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10825 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10826 (STRCPY): Support SSE2 and SSSE3 versions.
10827
d5495a11
UD
108282011-06-24 Ulrich Drepper <drepper@gmail.com>
10829
10830 [BZ #12874]
10831 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10832 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10833 kernels which artificially limit size of requests.
10834
0b1cbaae
L
108352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10836
10837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10838 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10839 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10840 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10841 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10842 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10843 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10844 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10845 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10846 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10847 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10848 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10849 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10850 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10851 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10853 Enable unaligned load optimization for Intel Core i3, i5 and i7
10854 processors.
10855 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10856 Define.
10857 (index_Fast_Unaligned_Load): Define.
10858 (HAS_FAST_UNALIGNED_LOAD): Define.
10859
07f494a0
MP
108602011-06-23 Marek Polacek <mpolacek@redhat.com>
10861
10862 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10863
fa3fc0fe
UD
108642011-06-22 Ulrich Drepper <drepper@gmail.com>
10865
10866 [BZ #12907]
10867 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10868 until it is clear that the information is realy needed.
10869 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10870
e12df166
AS
108712011-06-22 Andreas Schwab <schwab@redhat.com>
10872
10873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10874
852eb34d
UD
108752011-06-22 Ulrich Drepper <drepper@gmail.com>
10876
84e2a551
UD
10877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10878 /sys/devices/system/cpu/online if it is usable.
10879
852eb34d
UD
10880 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10881 reading the information from the /proc filesystem to once a second.
10882
6e502e19
UD
108832011-06-21 Andreas Jaeger <aj@suse.de>
10884
10885 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10886 NULL after inclusion of kernel headers.
10887
75d39ff2
UD
108882011-06-21 Ulrich Drepper <drepper@gmail.com>
10889
51f9aa6a
UD
10890 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10891 calls to internal_setent.
10892
c0244a9d
UD
10893 [BZ #12885]
10894 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10895 addresses using gethostbyname4_r ignore IPv4 addresses.
10896
c5e3c2ae
UD
10897 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10898 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10899
75d39ff2
UD
10900 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10901
42675c6f
DM
109022011-06-20 David S. Miller <davem@davemloft.net>
10903
10904 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10905 inclusions.
10906 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10907
10908 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10909 (elf_irel): Use it.
10910 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10911 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10912 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10913 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10914 * sysdeps/x86_64/dl-irel.h: Likewise.
10915
10916 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10917 * elf/dl-sym.c: Likewise.
10918
57912a71
UD
109192011-06-15 Ulrich Drepper <drepper@gmail.com>
10920
10921 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10922 need to dereference resplen2.
10923
ee22793d
AS
109242011-06-14 Andreas Schwab <schwab@redhat.com>
10925
10926 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10927
a9e836b0
UD
109282011-06-15 Ulrich Drepper <drepper@gmail.com>
10929
77fb9117
UD
10930 * Makeconfig: Define vardbdir and inst_vardbdir.
10931 * nss/Makefile: Add rules to install db-Makefile.
10932
40c1b22c
UD
10933 * nss/nss_db/db-XXX.c: Cleanup.
10934
9f2da732
UD
10935 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10936 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10937 GLIBC_PRIVATE.
10938 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10939 * nss/makedb.c: Implement -g option to specify that value strings
10940 are generated and should not be added to table iterated over for
10941 get*ent calls.
10942 * nss/nss_db/db-initgroups.c: New file.
10943
82e9a1f7
UD
10944 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10945 interface.
10946
c41af17e
UD
10947 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10948 (internal_getgrouplist): Adjust to name change.
10949 Update use_initgroups_entry if this is not the first call.
10950 * nss/databases.def: Add initgroups entry.
10951
a9e836b0
UD
10952 * nss/makedb.c (compute_tables): Check result of multiple hash table
10953 sizes to minimize maximum chain length.
10954
2666d441
UD
109552011-06-14 Ulrich Drepper <drepper@gmail.com>
10956
10957 * Versions.def: Add entry for libnss_db.
10958 * shlib-versions: Likewise.
10959 * nss/Makefile: Add rules to build libnss_db.
10960 * nss/Versions: Add libnss_db information. Organize libnss_files
10961 entries better.
10962 * nss/db-Makefile: Add gshadow support. Change rules for the new
10963 makedb progra. Some minor improvements to generate smaller files.
10964 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10965 here from...
10966 * nss/makedb.c: ...here.
10967 Improve database format to be smaller and require less memory at
10968 runtime.
10969 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10970 db anymore.
10971 * nss/nss_db/db-netgrp.c: Likewise.
10972 * nss/nss_db/db-open.c: Likewise.
10973 * nss/nss_files/flies-XXX.x: Adjust comments.
10974 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10975 * nss/nss_files/files-grp.c: Likewise.
10976 * nss/nss_files/files-hosts.c: Likewise.
10977 * nss/nss_files/files-network.c: Likewise.
10978 * nss/nss_files/files-proto.c: Likewise.
10979 * nss/nss_files/files-pwd.c: Likewise.
10980 * nss/nss_files/files-rpc.c: Likewise.
10981 * nss/nss_files/files-service.c: Likewise.
10982 * nss/nss_files/files-sgrp.c: Likewise.
10983 * nss/nss_files/files-spwd.c: Likewise.
10984 * nss/nss_db/db-alias.c: Removed.
10985 * nss/nss_db/dummy-db.h: Removed.
10986
9ee76b5a
UD
109872011-06-02 Ulrich Drepper <drepper@gmail.com>
10988
10989 * nss/makedb.c: Rewritten to not use database library.
10990 * nss/Makefile: Update to build new makedb program.
10991
c71ca1f8
AJ
109922011-06-14 Andreas Jaeger <aj@suse.de>
10993
10994 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10995 memset declaration.
10996
3154bfb8
UD
109972011-06-10 Andreas Schwab <schwab@redhat.com>
10998
10999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11000 tmpbuf.
11001
b350afab
RM
110022011-06-10 Roland McGrath <roland@hack.frob.com>
11003
decd4e50
RM
11004 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11005 * elf/Makefile ($(objpfx)ld.so): Likewise.
11006
5615eaf2
RM
11007 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11008 Don't list ld.so twice in dependencies.
11009
11010 * posix/bug-regex31.c: Include <stdlib.h>.
11011
11012 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11013
11014 * nis/nss_compat/compat-spwd.c
11015 (getspent_next_nss_netgr): Remove unused variable.
11016 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11017
11018 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11019 nonmembers" output to use the right array.
11020
11021 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11022
11023 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11024
11025 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11026 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11027 * catgets/gencat.c (read_input_file): Likewise.
11028 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11029
11030 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11031 variable definition inside #if's controlling its use.
11032
11033 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11034
11035 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11036
11037 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11038
11039 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11040 unreachable code.
11041
11042 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11043
b68e08db
RM
11044 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11045 * configure: Regenerated.
11046
b350afab
RM
11047 * Makerules: Revert last change.
11048 * elf/Makefile: Likewise.
11049
28368601
RM
110502011-06-09 Roland McGrath <roland@hack.frob.com>
11051
11052 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11053 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11054 (reloc-link): Likewise.
11055
11988f8f
UD
110562011-06-09 Ulrich Drepper <drepper@gmail.com>
11057
11058 * elf/Makefile: Add rules to build pldd.
11059 * elf/pldd.c: New file.
11060 * elf/pldd-xx.c: New file.
11061
e80fab37
UD
110622011-06-07 Ulrich Drepper <drepper@gmail.com>
11063
11064 * version.h: Update for 2.15 development version.
11065
9b849836
DM
110662011-06-07 David S. Miller <davem@davemloft.net>
11067
11068 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11069 ifuncs.
11070 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11071 elf_machine_lazy_rel): Likewise.
11072 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11073 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11074 elf_machine_lazy_rel): Likewise.
11075 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11076 dl_hwcap via passed in argument.
11077 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11078 Likewise.
11079
5a31b283
AK
110802011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11081
11082 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11083
069e52f8
RM
110842011-06-06 Roland McGrath <roland@hack.frob.com>
11085
11086 [BZ #12849]
11087 * manual/fdl-1.1.texi: New file, verbatim from:
11088 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11089 * manual/lgpl-2.1.texi: New file, verbatim from:
11090 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11091 * manual/Makefile (licenses): New variable, list those new file names.
11092 (texis): Use it.
11093 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11094
11095 * manual/fdl.texi: File removed.
11096 * manual/lesser.texi: File removed.
11097 * manual/libc.texinfo (Copying, Documentation License):
11098 Use new @include file names, put @appendix directive before @include.
11099
f16846a5
JJ
111002011-06-04 Jakub Jelinek <jakub@redhat.com>
11101
11102 [BZ #12841]
11103 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11104 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11105 (mq_open): Add __NTH.
11106
3d29045b
L
111072011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11108
11109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11110 Assume Intel Core i3/i5/i7 processor if AVX is available.
11111
8c297311
UD
111122011-05-31 Ulrich Drepper <drepper@gmail.com>
11113
11114 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11115 typo.
11116
c8fc0c91
UD
111172011-05-31 Andreas Schwab <schwab@redhat.com>
11118
11119 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11120 memory. Use alloca_account. Fix memory leak when retrying.
11121
5b27a807
UD
111222011-05-31 Ulrich Drepper <drepper@gmail.com>
11123
356f8bc6
UD
11124 * version.h (RELEASE): Bump for 2.14 release.
11125 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11126
5b27a807
UD
11127 * config.make.in (RANLIB): Remove entry.
11128
01f16ab0
UD
111292011-05-30 Ulrich Drepper <drepper@gmail.com>
11130
41fce8bd
UD
11131 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11132 (libc.pot): Work around missing support for .ksh extension in xgettext.
11133
4769ae77
UD
11134 [BZ #12684]
11135 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11136 if both request failed.
11137 (send_dg): In case of server errors clear resplen or *resplen2.
11138
6b1e7d19
UD
11139 [BZ #12454]
11140 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11141 when there are multiple maps.
11142 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11143 (_dl_fini): Remove test here.
11144
01f16ab0
UD
11145 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11146
b1ebd700
UD
111472011-05-29 Ulrich Drepper <drepper@gmail.com>
11148
7ae22829
UD
11149 [BZ #12350]
11150 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11151 bit from old_res_options.
11152 (gaih_inet): Likewise.
11153
553149f6 11154 [BZ #11099]
18a84741 11155 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11156 as signed.
11157
652ffab1
UD
11158 * resolv/res_init.c (res_setoptions): Make the code more compact.
11159
16985fd0
UD
11160 [BZ #11558]
11161 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11162 set RES_USEVC.
11163
0464f746
UD
11164 [BZ #11634]
11165 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11166
7d17596c
UD
11167 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11168
cf6bbbd7
UD
11169 [BZ #11781]
11170 * malloc/malloc.h: Declare malloc hook variables as volatile.
11171
13f1ab36
UD
11172 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11173 in last patch.
11174
b1ebd700
UD
11175 [BZ #11799]
11176 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11177 raise in the comment.
80e2212d
UD
11178 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11179 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11180 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11181
ce67228d
UD
111822011-05-28 Ulrich Drepper <drepper@gmail.com>
11183
8887a920
UD
11184 [BZ #12811]
11185 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11186 grow the buffers more if it already has to be sufficient.
11187 (build_wcs_upper_buffer): Likewise.
11188 * posix/regexec.c (check_matching): Likewise.
11189 (clean_state_log_if_needed): Likewise.
11190 (extend_buffers): Don't enlarge buffers beyond size of the input
11191 buffer.
11192 Patches mostly by Emil Wojak <emil@wojak.eu>.
11193 * posix/bug-regex32.c: New file.
11194 * posix/Makefile (tests): Add bug-regex32.
11195
4f031072
UD
11196 * locale/findlocale.c (_nl_find_locale): Return right away if
11197 _nl_explode_name failed.
11198 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11199
d0478f0c
UD
11200 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11201
de81b246
UD
11202 * debug/xtrace.sh: Unify messages.
11203 * malloc/memusage.sh: Likewise.
11204
c738465a
UD
11205 [BZ #12813]
11206 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11207 time symbol from vDSO. Substitute with vsyscall if not available.
11208 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11209 __vdso_time.
11210
f1f929d7
UD
11211 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11212 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11213 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11214 Add sendmmsg and internal_sendmmsg.
11215 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11216 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11217 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11218
ce67228d
UD
11219 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11220 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11221 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11222
e57420c6
UD
112232011-05-27 Ulrich Drepper <drepper@gmail.com>
11224
a8509ca5
UD
11225 [BZ #12813]
11226 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11227 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11228 available.
11229 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11230 __vdso_getcpu.
11231
e57420c6
UD
11232 [BZ #12814]
11233 * iconvdata/Makefile (tests): Add bug-iconv9.
11234 * iconvdata/bug-iconv9.c: New file.
11235
4d07db15
AS
112362011-05-27 Andreas Schwab <schwab@redhat.com>
11237
11238 [BZ #12814]
11239 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11240
ea486f69
JJ
112412011-05-25 Jakub Jelinek <jakub@redhat.com>
11242
11243 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11244 (struct user_regs_struct): Change intcs field back to cs.
11245
6f038433
UD
112462011-05-25 Ulrich Drepper <drepper@gmail.com>
11247
11248 * po/ja.po: Update from translation team.
11249
67f86a25
UD
112502011-05-23 Ulrich Drepper <drepper@gmail.com>
11251
11252 [BZ #12795]
11253 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11254 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11255
def7fbd6
AS
112562011-05-20 Andreas Schwab <schwab@redhat.com>
11257
11258 * stdlib/longlong.h: Update from GCC.
11259
f50ef8f1
AS
112602011-05-23 Andreas Schwab <schwab@redhat.com>
11261
11262 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11263 parameter name.
11264 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11265 Add parameter name.
11266 (__sysconf): Pass it down.
11267
de7ce8f1
UD
112682011-05-22 Ulrich Drepper <drepper@gmail.com>
11269
f2962a71
UD
11270 [BZ #12671]
11271 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11272 some situations.
11273 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11274 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11275 add in in __libc_use_alloca calls. Adjust callers.
11276 (glob): Use malloc in some situations.
11277
de7ce8f1
UD
11278 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11279 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11280 pltexit.
11281
aec84f53
UD
112822011-05-21 Ulrich Drepper <drepper@gmail.com>
11283
05bb4a68
UD
11284 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11285 and CLOCK_BOOTTIME_ALARM.
11286
7ea72f99
UD
11287 [BZ #12782]
11288 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11289 is returned.
11290
7e4afad5
UD
11291 * string/_strerror.c (__strerror_r): Print negative errors as signed
11292 numbers.
11293
8e211fec
UD
11294 [BZ #12777]
11295 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11296 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11297 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11298
f7d82dc9
UD
11299 * configure.in: Fix typo in redirection and correct removal of test
11300 files in two cases.
11301
cc9e536d
UD
11302 [BZ #12788]
11303 * locale/setlocale.c (new_composite_name): Fix test to check for
11304 identical name of all categories.
11305
aec84f53
UD
11306 [BZ #12792]
11307 * libio/filedoalloc.c (local_isatty): New function.
11308 (_IO_file_doallocate): Use local_isatty.
11309 * stdio-common/perror.c (perror): In case a new stream is used
11310 forward the stream error.
11311 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11312 error flag.
11313
78e64fdc
RT
113142011-05-20 Ulrich Drepper <drepper@gmail.com>
11315
34a9094f
UD
11316 [BZ #11869]
11317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11318 alloca.
11319 * include/alloca.h (extend_alloca_account): Define.
11320
78e64fdc
RT
11321 [BZ #11857]
11322 * posix/regex.h: Fix comments with documentation of user-accessible
11323 fields after compilation and describe correct free'ing of pattern
11324 after re_compile_pattern.
11325 Patch by Reuben Thomas <rrt@sc3d.org>.
11326
457bddfc
RA
113272011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11328
11329 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11330 and -mno-altivec to prevent the compiler from using Altivec and/or
11331 VSX instructions when the corresponding registers are not available.
11332
a4527b51
AS
113332011-05-19 Andreas Schwab <schwab@redhat.com>
11334
11335 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11336
ed690b2f
UD
113372011-05-19 Ulrich Drepper <drepper@gmail.com>
11338
11339 * libio/freopen.c (freopen): Use __dup2, not dup2.
11340 * libio/freopen64.c (freopen64): Likewise.
11341
8db73634
L
113422011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11343
11344 [BZ #12775]
11345 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11346 * math/Makefile (tests): Add test-powl.
11347 (CFLAGS-test-powl.c): Define.
11348 * math/test-powl.c: New file.
11349
0a197a9d
L
113502011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11351
11352 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11353
ee30c380
UD
113542011-05-17 Ulrich Drepper <drepper@gmail.com>
11355
11356 [BZ #11837]
11357 * iconvdata/gb18030.c: Update to GB18020-2005.
11358
6ce75379
UD
113592011-05-16 Ulrich Drepper <drepper@gmail.com>
11360
a4b89fd8
AR
11361 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11362 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11363 Patch by Aharon Robbins <arnold@skeeve.com>.
11364
ea389b12
UD
11365 [BZ #11892]
11366 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11367 on the stack.
11368
68a3f91f
UD
11369 [BZ #11895]
11370 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11371 through underflows.
11372
15cc7dd1
UD
11373 [BZ #12766]
11374 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11375 point to strings before performing equality test for error_one_per_line
11376 mode.
11377
f3799213
UD
11378 [BZ #11697]
11379 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11380
d79a9c94
UD
11381 [BZ #11820]
11382 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11383 (struct user_fpregs_struct): Avoid __uint*_t types.
11384
56e5eb46
UD
11385 [BZ #6420]
11386 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11387 symbol info. Use it instead of calling _dl_addr locally.
11388 (lock_and_info): New function.
11389 (tr_freehook): Call lock_and_info and pass symbol info as additional
11390 parameter to tr_where.
11391 (tr_mallochook): Likewise.
11392 (tr_reallochook): Likewise.
11393 (tr_memalignhook): Likewise.
11394
6ce75379
UD
11395 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11396 used and couldn't be at all thread-safe.
11397
f8a3b5bf
UD
113982011-05-15 Ulrich Drepper <drepper@gmail.com>
11399
94b7cc37
UD
11400 * libio/freopen.c (freopen): Don't close old file descriptor
11401 before the new one is opened. Instead dup the new file descriptor
11402 to the old one after the new stream is created.
11403 * libio/freopen64.c (freopen64): Likewise.
11404 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11405 * libio/fileops.c (_IO_new_file_close_it): Handle new
11406 _IO_FLAGS2_NOCLOSE flag.
11407 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11408 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11409 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11410 _IO_FLAGS2_NOCLOSE flag.
11411 * include/unistd.h: Add hidden_proto for dup3.
11412 Define __have_dup3.
11413 * io/dup3.c: Define hidden symbol.
11414 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11415
bd25564e
UD
11416 [BZ #7101]
11417 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11418 when an incomplete long option is used.
11419 * posix/tst-getopt_long1.c: New file.
11420 * posix/Makefile (tests): Add tst-getopt_long1.
11421
c84cfef4
UD
11422 [BZ #10138]
11423 * scripts/config.guess: Update from autoconf-2.68.
11424 * scripts/config.sub: Likewise.
11425
3b85df27
UD
11426 [BZ #10157]
11427 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11428 tests into ...
11429 (has_cpuclock): ...this. New function.
11430 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11431 macro here based on has_cpuclock code.
11432
15a856b1
UD
11433 [BZ #10149]
11434 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11435 First byte (not low byte) is now always NUL.
11436 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11437
05f399e6
UD
11438 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11439 Use non-cancelable interfaces.
11440
10a52685 11441 [BZ #9809]
94ecc67d
UD
11442 * locale/iso-639.def: Add entry for Sorani.
11443
f8a3b5bf
UD
11444 [BZ #11901]
11445 * include/stdlib.h: Move include protection to the right place.
11446 Define abort_msg_s. Declare __abort_msg with it.
11447 * stdlib/abort.c (__abort_msg): Adjust type.
11448 * assert/assert.c (__assert_fail_base): New function. Majority
11449 of code from __assert_fail. Allocate memory for __abort_msg with
11450 mmap.
11451 (__assert_fail): Now call __assert_fail_base.
11452 * assert/assert-perr.c: Remove bulk of implementation. Use
11453 __assert_fail_base.
11454 * include/assert.hL Declare __assert_fail_base.
11455 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11456 mmap.
11457 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11458
1af4e298
UD
114592011-05-14 Ulrich Drepper <drepper@gmail.com>
11460
f8a3b5bf 11461 [BZ #11952]
d26dfc60
MG
11462 [BZ #12453]
11463 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11464 until all modules are registered in the DTV.
11465 * elf/Makefile: Add rules to build and run tst-tls19.
11466 * elf/tst-tls19.c: New file.
11467 * elf/tst-tls19mod1.c: New file.
11468 * elf/tst-tls19mod2.c: New file.
11469 * elf/tst-tls19mod3.c: New file.
11470 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11471
2fc54d6f
UD
11472 [BZ #12083]
11473 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11474 correctly.
11475
98d76b46
UD
11476 [BZ #12601]
11477 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11478 two-byte sequence errors.
11479 * iconvdata/Makefile (tests): Add bug-iconv8.
11480 * iconvdata/bug-iconv8.c: New file.
11481
da3c19ef
UD
11482 [BZ #12626]
11483 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11484 buf2 definition.
11485
ca408c15
UD
11486 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11487
d6f67f7d
UD
11488 [BZ #12432]
11489 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11490 (dummy_getcfa): New function.
11491 (init): Get _Unwind_GetCFA address, use dummy if not found.
11492 (backtrace_helper): In recursion check, also check whether CFA changes.
11493 (__backtrace): Completely initialize arg.
11494
1af4e298 11495 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11496 storing incomplete byte sequence in state object. Avoid testing for
11497 guaranteed too small input if we know there is enough data available.
1af4e298 11498
da62f81b
AS
114992011-05-11 Andreas Schwab <schwab@redhat.com>
11500
11501 * Makeconfig (+link-pie): Indent.
11502 * Rules (binaries-pie): Define if $(have-fpie) and
11503 $(build-shared).
11504 (binaries-shared): Also filter out $(binaries-pie).
11505 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11506 * nscd/Makefile (others-pie): Add nscd.
11507 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11508 ($(objpfx)nscd): Remove command override.
11509 * login/Makefile (others-pie): Add pt_chown.
11510 ($(objpfx)pt_chown): Remove command override.
11511 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11512 remove command overrides.
11513
fcabc0f8
UD
115142011-05-13 Ulrich Drepper <drepper@gmail.com>
11515
20030ae6
UD
11516 * libio/tst_putwc.c: Fix error messages.
11517
fcabc0f8
UD
11518 [BZ #12724]
11519 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11520 currently writing and seek to current position when not.
11521 * libio/Makefile (tests): Add bug-fclose1.
11522 * libio/bug-fclose1.c: New file.
11523
320a5dc0
PB
115242011-05-12 Ulrich Drepper <drepper@gmail.com>
11525
11526 [BZ #12511]
11527 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11528 don't set DF_1_NODELETE here.
11529 (do_lookup_x): When entering new entry test for copy relocation
11530 and if necessary set DF_1_NODELETE flag.
11531 * elf/tst-unique4.cc: New file.
11532 * elf/tst-unique4.h: New file.
11533 * elf/tst-unique4lib.cc: New file.
11534 * elf/Makefile: Add rules to build and run tst-unique4.
11535 Patch by Piotr Bury <pbury@goahead.com>.
11536
22836f52
UD
115372011-05-11 Ulrich Drepper <drepper@gmail.com>
11538
f574184a
UD
11539 [BZ #12052]
11540 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11541
e1fb097f
UD
11542 [BZ #12625]
11543 * misc/mntent_r.c (addmntent): Flush the stream after the output
11544
22836f52
UD
11545 [BZ #12393]
11546 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11547 (is_trusted_path_normalize): Skip initial colon. Append slash
11548 to empty buffer. Duplicate is_trusted_path code but allow
11549 constructed patch to be prefix.
11550 (is_dst): Allow $ORIGIN followed by /.
11551 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11552 Correct testing of result of is_trusted_path_normalize
11553 (decompose_rpath): Fix warning.
11554
7b3b0b2a
UD
115552011-05-10 Ulrich Drepper <drepper@gmail.com>
11556
11557 [BZ #11257]
11558 * grp/initgroups.c (internal_getgrouplist): When we found the service
11559 list through the initgroups entry in nsswitch.conf do not always
11560 continue on a successful lookup. Don't always use the
eac80ce2 11561 __nss_group_database value if it is set.
7b3b0b2a
UD
11562 * nss/nsswitch.conf (initgroups): Change action for successful db
11563 lookup to continue for compatibility.
11564
2a81eaa5
UD
115652011-05-09 Ulrich Drepper <drepper@gmail.com>
11566
be97a69e
UD
11567 [BZ #11532]
11568 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11569 and CP774 modules.
11570 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11571 and CP774 modules.
11572 * iconvdata/tst-tables.sh: Likewise.
11573 * iconvdata/cp770.c: New file.
11574 * iconvdata/cp771.c: New file.
11575 * iconvdata/cp772.c: New file.
11576 * iconvdata/cp773.c: New file.
11577 * iconvdata/cp774.c: New file.
11578 * iconvdata/testdata/CP770: New file.
11579 * iconvdata/testdata/CP770..UTF8: New file.
11580 * iconvdata/testdata/CP771: New file.
11581 * iconvdata/testdata/CP771..UTF8: New file.
11582 * iconvdata/testdata/CP772: New file.
11583 * iconvdata/testdata/CP772..UTF8: New file.
11584 * iconvdata/testdata/CP773: New file.
11585 * iconvdata/testdata/CP773..UTF8: New file.
11586 * iconvdata/testdata/CP774: New file.
11587 * iconvdata/testdata/CP774..UTF8: New file.
11588
11589 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11590 END CHARMAP line.
11591 * iconvdata/gen-8bit-gap.sh: Likewise.
11592 * iconvdata/gen-8bit.sh: Likewise.
11593
c1e9e399
UD
11594 * locale/iso-639.def: Add ary entry.
11595
24c55fb3 11596 [BZ #11258]
96b4b1b0
UD
11597 * locale/C-translit.h.in: Add U20A1 transliteration.
11598
bdc2f971
KB
11599 [BZ #12178]
11600 * locale/iso-639.def: Add wae entry.
11601 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11602
2952b117
UD
11603 [BZ #12545]
11604 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11605 for n.
11606
2a81eaa5
UD
11607 [BZ #12711]
11608 * locale/C-translit.h.in: Add entry for U20B9.
11609 Patch by pravin.d.s@gmail.com.
11610
28377d1b
UD
116112011-05-08 Ulrich Drepper <drepper@gmail.com>
11612
7fb90fb8
UD
11613 [BZ #12713]
11614 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11615 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11616 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11617 in rtld. Use *stat64.
7fb90fb8 11618 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11619 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11620 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11621 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11622 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11623 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11624 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11625 __fstatat64 macros.
7fb90fb8
UD
11626 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11627 * dirent/rewinddir.c: Add libc_hidden_def.
11628 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11629 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11630
28377d1b
UD
11631 * include/dirent.h (__alloc_dir): Add flags parameter.
11632 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11633 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11634 __alloc_dir.
11635 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11636 from fdopendir if O_CLOEXEC is already set.
11637
66bdbaa4
AM
116382011-03-15 Alan Modra <amodra@gmail.com>
11639
11640 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11641 l_tls_firstbyte_offset non-zero. Save padding offset in
11642 l_tls_firstbyte_offset for later use.
11643 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11644 freeing static tls block.
11645
95721191
JN
116462011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11647
11648 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11649 where #ifdef was intended. The intent is to prevent ARG_MAX from
11650 being defined by the kernel headers.
11651
f87dfb1f
UD
116522011-05-07 Ulrich Drepper <drepper@gmail.com>
11653
11654 [BZ #12734]
11655 * resolv/resolv.h: Define RES_NOTLDQUERY.
11656 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11657 no-tld-query and set RES_NOTLDQUERY.
11658 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11659 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11660 modern BIND to search name as TLD unless forbidden.
11661
47c3cd7a
UD
116622011-05-07 Petr Baudis <pasky@suse.cz>
11663 Ulrich Drepper <drepper@gmail.com>
11664
11665 [BZ #12393]
11666 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11667 (is_trusted_path): ...to here.
c1e9ea35 11668 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11669 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11670 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11671
8a35c912
PP
116722011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11673
11674 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11675 __BEGIN/__END_DECLS.
11676
acd41f47
UD
116772011-05-06 Ulrich Drepper <drepper@gmail.com>
11678
11679 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11680 NSS_STATUS_NOTFOUND if no record was found.
11681
597df647
AS
116822011-05-05 Andreas Schwab <schwab@redhat.com>
11683
11684 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11685 (headers-not-in-tirpc): Remove rpc/netdb.h
11686 * resolv/netdb.h: Revert last change.
11687
b9af1301
PP
116882011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11689
11690 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11691 circular dependency between libgcc.a and libc.a.
11692
4e34d5f5
AS
116932011-05-05 Andreas Schwab <schwab@redhat.com>
11694
11695 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11696 * nis/Makefile: Don't install rpcsvc/*.
11697 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11698 instead of <rpc/types.h>.
11699 (MAXHOSTNAMELEN): Define.
11700
00ee369c
AS
117012011-05-03 Andreas Schwab <schwab@redhat.com>
11702
11703 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11704
0b592a30
MB
117052011-04-28 Maciej Babinski <mbabinski@google.com>
11706
11707 [BZ #12714]
11708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11709 gethostbyname4_r when IPv6 results are possible.
11710
6e04cbbe
UD
117112011-05-02 Ulrich Drepper <drepper@gmail.com>
11712
11713 [BZ #12723]
11714 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11715 _PC_PIPE_BUF handling.
11716
e4ecafe0
BH
117172011-04-30 Bruno Haible <bruno@clisp.org>
11718
11719 [BZ #12717]
11720 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11721 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11722 to 'int'.
11723 * inet/getnameinfo.c (getnameinfo): Likewise.
11724
125ee683
UD
117252011-04-29 Ulrich Drepper <drepper@gmail.com>
11726
11727 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11728 to groups setting in database lookup.
11729 * nss/nsswitch.conf: Add initgroups entry.
11730
b722481a
EB
117312011-04-22 Ulrich Drepper <drepper@gmail.com>
11732
11733 [BZ #12685]
11734 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11735 mode string.
11736 Patch by Eric Blake <eblake@redhat.com>.
11737
4df46dbd
L
117382011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11739
11740 * sunrpc/Makefile (need-export-routines): Add svc_run.
11741 (routines): Remove svc_run.
11742 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11743 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11744 * sunrpc/svc_run.c (svc_run): Likewise.
11745 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11746
e84142d2
UD
117472011-04-21 Ulrich Drepper <drepper@gmail.com>
11748
11749 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11750 problem in reallocation in last patch.
11751
877175d8
UD
117522011-04-20 Ulrich Drepper <drepper@gmail.com>
11753
11754 * sunrpc/Makefile: Move inclusion of Rules.
11755
ab8eed78
UD
117562011-04-19 Ulrich Drepper <drepper@gmail.com>
11757
11758 * nss/nss_files/files-initgroups.c: New file.
11759 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11760 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11761 _nss_files_initgroups_dyn.
11762
e3d8f584
RS
117632011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11764
11765 * elf/elf.h (R_ARM_IRELATIVE): Define.
11766
af190f45
UD
117672011-04-19 Ulrich Drepper <drepper@gmail.com>
11768
11769 * po/ru.po: Update from translation team.
11770
53cf59ef
UD
117712011-04-17 Ulrich Drepper <drepper@gmail.com>
11772
11773 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11774 dependencies.
11775
4c559bcd
MF
117762011-02-06 Mike Frysinger <vapier@gentoo.org>
11777
11778 [BZ #12653]
11779 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11780 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11781 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11782 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11783 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11784
4420675c
AS
117852011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11786
11787 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11788 differing bytes.
11789 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11790 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11791 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11792
75ea32ab
UD
117932011-04-17 Ulrich Drepper <drepper@gmail.com>
11794
11795 [BZ #12420]
11796 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11797 storing it.
11798 * stdlib/bug-getcontext.c: New file.
11799 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11800
27390476
AK
118012011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11802
11803 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11804 instructions into .machine "z9-109".
11805 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11806 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11807
10442705
AK
118082011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11809
11810 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11811 between environment variables and auxiliary vector.
11812
7b57bfe5
UD
118132011-04-16 Ulrich Drepper <drepper@gmail.com>
11814
11815 * Makefile: Add rules to build linkobj/libc.so.
11816 * include/libc-symbols.h: Define libc_hidden_nolink.
11817 * include/rpc/auth.h: Mark functions which are to be hidden.
11818 * include/rpc/auth_des.h: Likewise.
11819 * include/rpc/auth_unix.h: Likewise.
11820 * include/rpc/clnt.h: Likewise.
11821 * include/rpc/des_crypt.h: Likewise.
11822 * include/rpc/key_prot.h: Likewise.
11823 * include/rpc/pmap_clnt.h: Likewise.
11824 * include/rpc/pmap_prot.h: Likewise.
11825 * include/rpc/pmap_rmt.h: Likewise.
11826 * include/rpc/rpc_msg.h: Likewise.
11827 * include/rpc/svc.h: Likewise.
11828 * include/rpc/svc_auth.h: Likewise.
11829 * include/rpc/xdr.h: Likewise.
11830 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11831 * nss/Makefile: Likewise.
11832 * sunrpc/Makefile: Don't install headers. Build library with normal
11833 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11834 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11835 for the compat linking library. Remove use of INTDEF/INTUSE.
11836 * sunrpc/auth_none.c: Likewise.
11837 * sunrpc/auth_unix.c: Likewise.
11838 * sunrpc/authdes_prot.c: Likewise.
11839 * sunrpc/authuxprot.c: Likewise.
11840 * sunrpc/clnt_gen.c: Likewise.
11841 * sunrpc/clnt_perr.c: Likewise.
11842 * sunrpc/clnt_raw.c: Likewise.
11843 * sunrpc/clnt_simp.c: Likewise.
11844 * sunrpc/clnt_tcp.c: Likewise.
11845 * sunrpc/clnt_udp.c: Likewise.
11846 * sunrpc/clnt_unix.c: Likewise.
11847 * sunrpc/des_crypt.c: Likewise.
11848 * sunrpc/des_soft.c: Likewise.
11849 * sunrpc/get_myaddr.c: Likewise.
11850 * sunrpc/key_call.c: Likewise.
11851 * sunrpc/key_prot.c: Likewise.
11852 * sunrpc/netname.c: Likewise.
11853 * sunrpc/pm_getmaps.c: Likewise.
11854 * sunrpc/pm_getport.c: Likewise.
11855 * sunrpc/pmap_clnt.c: Likewise.
11856 * sunrpc/pmap_prot.c: Likewise.
11857 * sunrpc/pmap_prot2.c: Likewise.
11858 * sunrpc/pmap_rmt.c: Likewise.
11859 * sunrpc/publickey.c: Likewise.
11860 * sunrpc/rpc_cmsg.c: Likewise.
11861 * sunrpc/rpc_common.c: Likewise.
11862 * sunrpc/rpc_dtable.c: Likewise.
11863 * sunrpc/rpc_prot.c: Likewise.
11864 * sunrpc/rpc_thread.c: Likewise.
11865 * sunrpc/rtime.c: Likewise.
11866 * sunrpc/svc.c: Likewise.
11867 * sunrpc/svc_auth.c: Likewise.
11868 * sunrpc/svc_authux.c: Likewise.
11869 * sunrpc/svc_raw.c: Likewise.
11870 * sunrpc/svc_run.c: Likewise.
11871 * sunrpc/svc_simple.c: Likewise.
11872 * sunrpc/svc_tcp.c: Likewise.
11873 * sunrpc/svc_udp.c: Likewise.
11874 * sunrpc/svc_unix.c: Likewise.
11875 * sunrpc/svcauth_des.c: Likewise.
11876 * sunrpc/xcrypt.c: Likewise.
11877 * sunrpc/xdr.c: Likewise.
11878 * sunrpc/xdr_array.c: Likewise.
11879 * sunrpc/xdr_float.c: Likewise.
11880 * sunrpc/xdr_intXX_t.c: Likewise.
11881 * sunrpc/xdr_mem.c: Likewise.
11882 * sunrpc/xdr_rec.c: Likewise.
11883 * sunrpc/xdr_ref.c: Likewise.
11884 * sunrpc/xdr_sizeof.c: Likewise.
11885 * sunrpc/xdr_stdio.c: Likewise.
11886
e6c61494
UD
118872011-04-10 Ulrich Drepper <drepper@gmail.com>
11888
11889 [BZ #12650]
11890 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11891 * sysdeps/ia64/dl-tls.h: Likewise.
11892 * sysdeps/powerpc/dl-tls.h: Likewise.
11893 * sysdeps/s390/dl-tls.h: Likewise.
11894 * sysdeps/sh/dl-tls.h: Likewise.
11895 * sysdeps/sparc/dl-tls.h: Likewise.
11896 * sysdeps/x86_64/dl-tls.h: Likewise.
11897 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11898
34fe483e
AS
118992011-03-14 Andreas Schwab <schwab@redhat.com>
11900
11901 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11902 rpath element also skip the following colon.
11903 (expand_dynamic_string_token): Add is_path parameter and pass
11904 down to DL_DST_REQUIRED and _dl_dst_substitute.
11905 (decompose_rpath): Call expand_dynamic_string_token with
11906 non-zero is_path. Ignore empty rpaths.
11907 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11908 with zero is_path.
11909
f12a32e6
AS
119102011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11911
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11913 Make cancelable.
11914
38a7d692
UD
119152011-04-09 Ulrich Drepper <drepper@gmail.com>
11916
11917 [BZ #12655]
11918 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11919 Patch by Filipe David Manana <fdmanana@apache.org>.
11920
e451d22b
AS
119212011-04-07 Andreas Schwab <schwab@redhat.com>
11922
11923 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11924 Maintain aligned stack.
11925 (CHECK_RSP): Remove unused macro.
11926
dedc7c7b
UD
119272011-04-03 Ulrich Drepper <drepper@gmail.com>
11928
11929 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11930 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11931
94521213
UD
119322011-04-02 Ulrich Drepper <drepper@gmail.com>
11933
11934 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11935
8cb700c0 11936 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11937
0354e355
L
119382011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11939
11940 [BZ #12518]
11941 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11942 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11943 * sysdeps/x86_64/memmove.c: New file.
11944 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11945 (memcpy): Renamed to ...
11946 (__new_memcpy): This.
11947 (memcpy): Provide GLIBC_2_14 memcpy.
11948 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11949 (memcpy): Provide GLIBC_2_2_5 memcpy.
11950
8593482f
UD
119512011-04-01 Ulrich Drepper <drepper@gmail.com>
11952
11953 [BZ #12631]
11954 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11955
81a5726b
AS
119562011-03-30 Andreas Schwab <schwab@redhat.com>
11957
11958 * misc/syncfs.c: New file.
11959 * misc/Makefile (routines): Add syncfs.
11960 * posix/unistd.h: Declare syncfs.
11961 * sysdeps/unix/syscalls.list: Add syncfs.
11962
00e5419f
AS
119632011-04-01 Andreas Schwab <schwab@redhat.com>
11964
11965 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11966 open_by_handle_at.
11967 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11968 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11970 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11972 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11973 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11974
748876bf
UD
119752011-04-01 Ulrich Drepper <drepper@gmail.com>
11976
658e451d
UD
11977 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11978 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11979 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11981 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11983 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11984
748876bf
UD
11985 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11986 sync_file_range.c with -fexceptions.
11987 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11988 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11989 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11990 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11991 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11992 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11993 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11994 sync_file_range as cancellation point
11995 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11996 now a wrapper around __call_sync_file_range with cancellation handling.
11997 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11998 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11999 function name to __call_sync_file_range.
12000 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12001 Add call_sync_file_range.
748876bf 12002
6e63d5e1
AS
120032011-04-01 Andreas Schwab <schwab@redhat.com>
12004
12005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12006 bits/timex.h.
6e63d5e1 12007
46998f74
UD
120082011-04-01 Ulrich Drepper <drepper@gmail.com>
12009
4c1423ed
UD
12010 * iconv/iconv.h: Fix typo in comment.
12011 * io/fcntl.h: Likewise.
12012 * libio/stdio.h: Likewise.
12013 * posix/spawn.h: Likewise.
12014 * posix/unistd.h: Likewise.
12015 * stdlib/stdlib.h: Likewise.
12016 * time/time.h: Likewise.
12017 * wcsmbs/wchar.h: Likewise.
12018
158648c0
UD
12019 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12020 open_by_handle): Add.
12021 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12022 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12023 Augment a few comments.
12024 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12029 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12030 open_by_handle.
12031
46998f74
UD
12032 * io/fcntl.h (AT_EMPTY_PATH): Define.
12033
83fe108b
UD
120342011-03-30 Ulrich Drepper <drepper@gmail.com>
12035
12036 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12037 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12038 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12039 to...
12040 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12041 * Versions.def: Add GLIBC_2.14.
12042 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12043 Export.
83fe108b 12044
bb242059
UD
120452011-03-22 Ulrich Drepper <drepper@gmail.com>
12046
12047 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12048 round counter.
12049 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12050
c97a1282
L
120512011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12052
12053 [BZ #12597]
12054 * string/test-strncmp.c (do_page_test): New function.
12055 (check2): Likewise.
12056 (test_main): Call check2.
12057 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12058
2a115601
UD
120592011-03-20 Ulrich Drepper <drepper@gmail.com>
12060
12061 [BZ #12587]
12062 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12063 Handle cache information in CPU leaf 4.
12064 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12065
8126d904
UD
120662011-03-18 Ulrich Drepper <drepper@gmail.com>
12067
042c49c6 12068 [BZ #12583]
8126d904
UD
12069 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12070 character representation.
12071 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12072
ccfe366e
RA
120732011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12074
12075 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12076 END(__isnan) to END(__isnanf) to match function entry point/label
12077 EALIGN(__isnanf,...).
12078
c6e13027
JJ
120792011-03-10 Jakub Jelinek <jakub@redhat.com>
12080
12081 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12082
33f85a3f
UD
120832011-03-10 Ulrich Drepper <drepper@gmail.com>
12084
028478fa
UD
12085 [BZ #12510]
12086 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12087 copy from the symbol referenced in the relocation to initialize the
12088 used variable.
12089 Patch by Piotr Bury <pbury@goahead.com>.
12090 * elf/Makefile: Add rules to build and tst-unique3.
12091 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12092 * elf/tst-unique3.cc: New file.
12093 * elf/tst-unique3.h: New file.
12094 * elf/tst-unique3lib.cc: New file.
12095 * elf/tst-unique3lib2.cc: New file.
12096
33f85a3f
UD
12097 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12098
03592fc7
MF
120992011-03-10 Mike Frysinger <vapier@gentoo.org>
12100
12101 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12102 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12103 to _start.
03592fc7 12104
6a5ee102
UD
121052011-03-06 Ulrich Drepper <drepper@gmail.com>
12106
12107 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12108 to-be-loaded object along a path to loader is ld.so.
12109
7e4ba49c
HJ
121102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12111 Ulrich Drepper <drepper@gmail.com>
12112
12113 * sysdeps/x86_64/memset.S: After aligning destination, code
12114 branches to different locations depending on the value of
12115 misalignment, when multiarch is enabled. Fix this.
12116
121172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12118
12119 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12120 Set _x86_64_preferred_memory_instruction for AMD processsors.
12121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12122 Set bit_Prefer_SSE_for_memop for AMD processors.
12123
13a804de
UD
121242011-03-04 Ulrich Drepper <drepper@gmail.com>
12125
12126 * libio/fmemopen.c (fmemopen): Optimize a bit.
12127
9d25c392
AS
121282011-03-03 Andreas Schwab <schwab@redhat.com>
12129
12130 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12131
a5543c6a
RM
121322011-03-03 Roland McGrath <roland@redhat.com>
12133
12134 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12135
012d35f7
DM
121362011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12137
7e4ba49c 12138 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12139 __bzero_ultra1 instead of __memset_ultra1.
12140
4bff6e01
AS
121412011-02-23 Andreas Schwab <schwab@redhat.com>
12142 Ulrich Drepper <drepper@gmail.com>
12143
12144 [BZ #12509]
12145 * include/link.h (struct link_map): Add l_orig_initfini.
12146 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12147 returning unsuccessfully.
12148 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12149 close of a file loaded at startup, restore the original l_initfini
12150 list.
12151 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12152 list, store the pointer.
12153 * elf/Makefile ($(objpfx)noload-mem): New rule.
12154 (noload-ENV): Define.
12155 (tests): Add $(objpfx)noload-mem.
12156 * elf/noload.c: Include <memcheck.h>.
12157 (main): Call mtrace. Close all opened handles.
12158
f2092faf
AS
121592011-02-17 Andreas Schwab <schwab@redhat.com>
12160
12161 [BZ #12454]
12162 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12163 dependencies are missing.
12164
6c8a2e88
ST
121652011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12166
f2092faf 12167 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12168 Hurd needs munmap.
12169 * sysdeps/mach/hurd/ifreq.h: New file.
12170
84a42118
PB
121712011-01-27 Petr Baudis <pasky@suse.cz>
12172 Ulrich Drepper <drepper@gmail.com>
12173
071f805e 12174 [BZ 12445]#
84a42118
PB
12175 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12176 to extend_alloca().
12177 * stdio-common/bug23.c: New file.
12178 * stdio-common/Makefile (tests): Add bug23.
12179
e23fe25b
AS
121802010-09-28 Andreas Schwab <schwab@redhat.com>
12181 Ulrich Drepper <drepper@gmail.com>
12182
12183 [BZ #12489]
12184 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12185 before performing relro protection. At old place add assertion
12186 to make sure nothing changed.
12187
d3f02e10
NS
121882011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12189 Glauber de Oliveira Costa <glommer@gmail.com>
12190
12191 * elf/elf.h: Add new ARM TLS relocs.
12192
d55fd7a5
RA
121932011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12194
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12196 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12197 cast from r3.
12198 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12199 'tests' variable.
12200 * sysdeps/wordsize-64/tst-writev.c: New file.
12201
2206397e
RA
122022011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12203
12204 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12205 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12206 insns in _dl_start to prevent a TOC reference before relocs are
12207 resolved.
12208
e9433893
UD
122092011-02-15 Ulrich Drepper <drepper@gmail.com>
12210
12211 [BZ #12469]
12212 * Makeconfig: Remove RANLIB definition.
12213 * Makerules: Don't use RANLIB.
12214 * aclocal.m4: Remove ranlib test.
12215 * configure.in: No need to check for ranlib.
12216 * elf/rtld-Rules: Don't use RANLIB.
12217
f75286c6
ST
122182011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12219
8e31c82d
ST
12220 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12221 protection macro.
12222 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12223 inclusion protection macro.
12224
f75286c6
ST
12225 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12226 SIGRTMIN and SIGRTMAX and print information in that case only when
12227 SIGRTMIN is defined.
12228
c1d0e639
JJ
122292011-02-11 Jakub Jelinek <jakub@redhat.com>
12230
12231 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12232 arginfo fn returning -1.
12233
12234 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12235 and thousands string is zero terminated.
12236
edf9294e
AS
122372011-02-03 Andreas Schwab <schwab@redhat.com>
12238
12239 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12240 sysdeps/unix/sysv/linux/bits/socket.h.
12241
2b7e92df
ST
122422011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12243
edf9294e
AS
12244 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12245 (__CPU_COUNT): Remove old macros.
12246 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12247 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12248 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12249 (__sched_cpualloc, __sched_cpufree): Add declarations.
12250
a4c7ea7b
UD
122512011-02-05 Ulrich Drepper <drepper@gmail.com>
12252
12253 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12254 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12255 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12256 (readdhstai): Return value of addhstaiX call.
12257 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12258 (addgrbyX): Return value returned by cache_addgr.
12259 (readdgrbyname): Return value returned by addgrbyX.
12260 (readdgrbygid): Likewise.
12261 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12262 (addpwbyX): Return value returned by cache_addpw.
12263 (readdpwbyname): Return value returned by addhstbyX.
12264 (readdpwbyuid): Likewise.
12265 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12266 (addservbyX): Return value returned by cache_addserv.
12267 (readdservbyname): Return value returned by addservbyX:
12268 (readdservbyport): Likewise.
12269 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12270 (addhstbyX): Return value returned by cache_addhst.
12271 (readdhstbyname): Return value returned by addhstbyX.
12272 (readdhstbyaddr): Likewise.
12273 (readdhstbynamev6): Likewise.
12274 (readdhstbyaddrv6): Likewise.
12275 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12276 (readdinitgroups): Return value returned by addinitgroupsX.
12277 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12278 (prune_cache): Keep track of timeout value of re-added entries.
12279 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12280 * nscd/nscd.h: Adjust prototypes of readd* functions.
12281
a0bf67cc
RM
122822011-02-04 Roland McGrath <roland@redhat.com>
12283
12284 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12285 (nis_stats): Likewise.
12286 * nis/nis_modify.c (nis_modify): Likewise.
12287 * nis/nis_remove.c (nis_remove): Likewise.
12288 * nis/nis_add.c (nis_add): Likewise.
12289
12290 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12291
12292 * posix/fnmatch_loop.c: Add some consts.
12293
12294 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12295
435b95eb
L
122962011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12297
12298 [BZ #12460]
12299 * config.make.in (config-cflags-novzeroupper): Define.
12300 * configure.in: Substitute libc_cv_cc_novzeroupper.
12301 * elf/Makefile (AVX-CFLAGS): Define.
12302 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12303 (CFLAGS-tst-auditmod4a.c): Likewise.
12304 (CFLAGS-tst-auditmod4b.c): Likewise.
12305 (CFLAGS-tst-auditmod6b.c): Likewise.
12306 (CFLAGS-tst-auditmod6c.c): Likewise.
12307 (CFLAGS-tst-auditmod7b.c): Likewise.
12308 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12309
8517b15e
UD
123102011-02-02 Ulrich Drepper <drepper@gmail.com>
12311
12312 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12313 function to the callback.
12314 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12315
10a656fe
AS
123162011-02-02 Andreas Schwab <schwab@redhat.com>
12317
12318 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12319 of errno.
12320
968dad0a
UD
123212011-01-19 Ulrich Drepper <drepper@gmail.com>
12322
9f94d2ea 12323 [BZ #11724]
968dad0a
UD
12324 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12325 of constructors.
12326 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12327 of destructors.
12328 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12329
12330 [BZ #11724]
12331 * elf/Makefile: Add rules to build and run new test.
12332 * elf/tst-initorder.c: New file.
12333 * elf/tst-initorder.exp: New file.
12334 * elf/tst-initordera1.c: New file.
12335 * elf/tst-initordera2.c: New file.
12336 * elf/tst-initordera3.c: New file.
12337 * elf/tst-initordera4.c: New file.
12338 * elf/tst-initorderb1.c: New file.
12339 * elf/tst-initorderb2.c: New file.
12340 * elf/tst-order-a1.c: New file.
12341 * elf/tst-order-a2.c: New file.
12342 * elf/tst-order-a3.c: New file.
12343 * elf/tst-order-a4.c: New file.
12344 * elf/tst-order-b1.c: New file.
12345 * elf/tst-order-b2.c: New file.
12346 * elf/tst-order-main.c: New file.
12347 New test case by George Gensure <werkt0@gmail.com>.
12348
86e92359
UD
123492010-10-01 Andreas Schwab <schwab@redhat.com>
12350
12351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12352 decoding ACE if AI_CANONIDN.
12353
5d5732b0
UD
123542011-01-18 Ulrich Drepper <drepper@gmail.com>
12355
12356 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12357
a77e8cbc
UD
123582011-01-17 Ulrich Drepper <drepper@gmail.com>
12359
6392473f
UD
12360 * version.h (RELEASE): Bump for 2.13 release.
12361 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12362
620a0529
UD
12363 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12364
18ba70a5
UD
12365 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12366 MADV_NOHUGEPAGE.
32465c3e
UD
12367 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12368 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12369 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12370 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12371 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12372 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12373
c0dafcf1
UD
12374 * posix/getconf.c: Update copyright year.
12375 * catgets/gencat.c: Likewise.
12376 * csu/version.c: Likewise.
12377 * debug/catchsegv.sh: Likewise.
12378 * debug/xtrace.sh: Likewise.
12379 * elf/ldconfig.c: Likewise.
12380 * elf/ldd.bash.in: Likewise.
12381 * elf/sprof.c (print_version): Likewise.
12382 * iconv/iconv_prog.c: Likewise.
12383 * iconv/iconvconfig.c: Likewise.
12384 * locale/programs/locale.c: Likewise.
12385 * locale/programs/localedef.c: Likewise.
12386 * malloc/memusage.sh: Likewise.
12387 * malloc/mtrace.pl: Likewise.
12388 * nscd/nscd.c (print_version): Likewise.
12389 * nss/getent.c: Likewise.
12390
a77e8cbc
UD
12391 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12392 PF_CAIF, and PF_ALG.
12393 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12394
77e8bddf
AS
123952011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12396
1f20b93a
AS
12397 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12398 (modules-names): Use them.
12399 (ifunc-test-modules, ifunc-pie-tests): Define.
12400 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12401 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12402 (test-extras): Likewise.
12403 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12404 $(compile-command.c).
12405 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12406 (all-built-dso): Define.
12407 (check-textrel.out, check-execstack.out): Depend on it.
12408
77e8bddf
AS
12409 * configure.in: Don't override --enable-multi-arch.
12410
bc425b33
UD
124112011-01-15 Ulrich Drepper <drepper@gmail.com>
12412
12413 [BZ #6812]
12414 * nscd/hstcache.c (tryagain): Define.
12415 (cache_addhst): Return tryagain not notfound for temporary errors.
12416 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12417 failed.
12418
794c3ad3
UD
124192011-01-14 Ulrich Drepper <drepper@gmail.com>
12420
70181fdd
UD
12421 [BZ #10563]
12422 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12423 to make the syscall.
12424 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12425
794c3ad3
UD
12426 [BZ #12378]
12427 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12428 and fall back to matching as normal character if the string ends before
12429 the matching ']' is found. This is what POSIX requires.
12430 * posix/testfnm.c: Adjust test result.
12431 * posix/globtest.sh: Adjust test result. Add new test.
12432 * posix/tst-fnmatch.input: Likewise.
12433 * posix/tst-fnmatch2.c: Add new test.
12434
68dc9497
AS
124352010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12436
12437 * elf/Makefile (check-execstack): Revert last change. Depend on
12438 check-execstack.h.
12439 (check-execstack.h): New target.
12440 (generated): Add check-execstack.h.
12441 * elf/check-execstack.c: Include "check-execstack.h".
12442 (main): Revert last change.
12443 (handle_file): Return zero if GNU_STACK is absent and
12444 DEFAULT_STACK_PERMS doesn't include PF_X.
12445
451f001b
UD
124462011-01-13 Ulrich Drepper <drepper@gmail.com>
12447
cfa28e56
UD
12448 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12449 in child fails because the descriptor is already closed.
8cf8ce17
UD
12450 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12451 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12452 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12453
1086d70d
UD
12454 [BZ #12397]
12455 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12456 syscall.
12457
451f001b
UD
12458 [BZ #10484]
12459 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12460 temporary buffer used to handle multi lookups locally.
a85b5cb4 12461 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12462
08769175
UD
124632011-01-12 Ulrich Drepper <drepper@gmail.com>
12464
12465 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12466 loader is ld.so.
12467
5e49c52e
UD
124682011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12469
12470 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12471 alignment for SSE2.
12472
60522a5f
UD
124732011-01-12 Ulrich Drepper <drepper@gmail.com>
12474
12475 [BZ #12394]
12476 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12477 characters. When rounding increased number of integer digits recompute
12478 number of groups.
12479 * stdio-common/tst-grouping.c: New file.
12480 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12481
f257bbd7
UD
124822011-01-09 Ulrich Drepper <drepper@gmail.com>
12483
12484 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12485 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12486
12487 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12488 void.
12489 * bits/select.h: Likewise.
12490
fa9c15cb
UD
124912011-01-08 Ulrich Drepper <drepper@gmail.com>
12492
12493 * po/ja.po: Update from translation team.
12494
16c2895f
DM
124952011-01-04 David S. Miller <davem@sunset.davemloft.net>
12496
12497 [BZ #11155]
12498 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12499 implementation just like for lxstat, fxstatat, et al.
12500
2543fef2
JM
125012010-12-27 Jim Meyering <meyering@redhat.com>
12502
12503 [BZ #12348]
12504 * posix/regexec.c (build_trtable): Return failure indication upon
12505 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12506
98727dbe
UD
125072010-12-25 Ulrich Drepper <drepper@gmail.com>
12508
5bd6dc5c
UD
12509 [BZ #12201]
12510 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12511 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12512 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12513 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12514
97983464
UD
12515 [BZ #12207]
12516 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12517
98727dbe
UD
12518 [BZ #12204]
12519 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12520 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12521
4a531bb0
L
125222010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12523
12524 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12525 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12526 script has SORT_BY_INIT_PRIORITY.
12527 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12528 NO_CTORS_DTORS_SECTIONS is defined.
12529 * elf/soinit.c: Likewise.
12530 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12531 NO_CTORS_DTORS_SECTIONS is defined.
12532 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12533 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12534 * sysdeps/sh/init-first.c: Likewise.
12535 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12536
07eb4b71
UD
125372010-12-24 Ulrich Drepper <drepper@gmail.com>
12538
12539 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12540 always use the slow path.
12541
30950a5f
RA
125422010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12543
12544 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12545 similar rule which adds the sysdep directories to the header search in
12546 order to pick up the correct platform stackinfo.h.
12547 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12548 perform test if it is, otherwise return successfully without testing.
12549 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12550 DEFAULT_STACK_PERMS define in stackinfo.h.
12551 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12552 defined in stackinfo.h.
12553 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12554 DEFAULT_STACK_PERMS defined in stackinfo.h.
12555 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12556 * sysdeps/ia64/stackinfo.h: Likewise.
12557 * sysdeps/s390/stackinfo.h: Likewise.
12558 * sysdeps/sh/stackinfo.h: Likewise.
12559 * sysdeps/sparc/stackinfo.h: Likewise.
12560 * sysdeps/x86_64/stackinfo.h: Likewise.
12561 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12562 PF_X for powerpc64. Retain PF_X for powerpc32.
12563
db753e2c
UD
125642010-12-19 Ulrich Drepper <drepper@gmail.com>
12565
14b697f7
UD
12566 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12567 accurately.
db753e2c
UD
12568 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12569 GETDENTS_64BIT_ALIGNED.
12570
28300719
UD
125712010-12-14 Ulrich Drepper <dreper@gmail.com>
12572
14b697f7 12573 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12574
4f197237
AS
125752010-12-10 Andreas Schwab <schwab@redhat.com>
12576
dbb0472f
AS
12577 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12578 _GNU_SOURCE.
12579
4f197237
AS
12580 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12581 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12582 Remove __restrict.
12583 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12584 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12585
fb88ac72
UD
125862010-12-09 Ulrich Drepper <drepper@gmail.com>
12587
12588 [BZ #11655]
12589 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12590 are initialized.
12591
42acbb92
JJ
125922010-12-09 Jakub Jelinek <jakub@redhat.com>
12593
12594 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12595
c038d98d
UD
125962010-12-03 Ulrich Drepper <drepper@gmail.com>
12597
12598 * po/it.po: Update from translation team.
12599
3a4a2499
L
126002010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12601
12602 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12603 unused codes.
12604
1e24cf6e
UD
126052010-11-30 Ulrich Drepper <drepper@gmail.com>
12606
12607 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12608
a7690819
AS
126092010-11-24 Andreas Schwab <schwab@redhat.com>
12610
12611 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12612 specially.
12613 (gaih_getanswer_slice): Likewise.
12614
3bf8d1b1
JJ
126152010-10-20 Jakub Jelinek <jakub@redhat.com>
12616
12617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12618
6db52fbb
PB
126192010-05-31 Petr Baudis <pasky@suse.cz>
12620
12621 [BZ #11149]
12622 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12623 silently even in the chroot mode.
12624
eaca7569
UD
126252010-11-22 Ulrich Drepper <drepper@gmail.com>
12626
12627 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12628 last patch a bit. Pretty printing
12629
3056dcdb
UD
126302010-05-31 Petr Baudis <pasky@suse.cz>
12631
12632 [BZ #10085]
12633 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12634 initialization of skip_initgroups_dyn.
12635
cf7c9078
UD
126362010-11-19 Ulrich Drepper <drepper@gmail.com>
12637
12638 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12639 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12640
a1fb5e3e
UD
126412010-11-16 Ulrich Drepper <drepper@gmail.com>
12642
12643 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12644
3540d66b
AS
126452010-11-11 Andreas Schwab <schwab@redhat.com>
12646
12647 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12648 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12649 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12650 ($(objpfx)tst-fnmatch-mem): New rule.
12651 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12652 * posix/tst-fnmatch.c (main): Call mtrace.
12653
13b69574
L
126542010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12655
12656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12657 Support Intel processor model 6 and model 0x2c.
12658
da93d214
LM
126592010-11-10 Luis Machado <luisgpm@br.ibm.com>
12660
12661 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12662 signed comparison.
12663
8ca52c6e
L
126642010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12665
12666 [BZ #12205]
12667 * string/test-strncasecmp.c (check_result): New function.
12668 (do_one_test): Use it.
12669 (check1): New function.
12670 (test_main): Use it.
12671 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12672 Support strcasecmp and strncasecmp.
12673
69da074d
UD
126742010-11-08 Ulrich Drepper <drepper@gmail.com>
12675
12676 [BZ #12194]
12677 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12678 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12679
ff02d528
L
126802010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12681
12682 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12683 IFUNC support.
12684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12685 memset-x86-64.
12686 * sysdeps/x86_64/multiarch/bzero.S: New file.
12687 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12688 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12689 * sysdeps/x86_64/multiarch/memset.S: New file.
12690 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12692 Set bit_Prefer_SSE_for_memop for Intel processors.
12693 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12694 Define.
12695 (index_Prefer_SSE_for_memop): Define.
12696 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12697
344d0b54
LM
126982010-11-04 Luis Machado <luisgpm@br.ibm.com>
12699
12700 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12701 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12702
c0dde15b
UD
127032010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12704
12705 [BZ #12191]
12706 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12707 (__x86_64_raw_data_cache_size_half): Likewise.
12708 (__x86_64_raw_shared_cache_size): Likewise.
12709 (__x86_64_raw_shared_cache_size_half): Likewise.
12710
12711 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12712 (__x86_64_raw_data_cache_size_half): Likewise.
12713 (__x86_64_raw_shared_cache_size): Likewise.
12714 (__x86_64_raw_shared_cache_size_half): Likewise.
12715 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12716 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12717 and __x86_64_raw_shared_cache_size_half. Round
12718 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12719 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12720 to multiple of 256 bytes.
12721
0e516e0e
MS
127222010-11-03 Ulrich Drepper <drepper@gmail.com>
12723
12724 [BZ #12167]
12725 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12726 of inacessible symlinks. Verify result of symlink before returning it.
12727 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12728 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12729
0e012e87
ER
127302010-10-28 Erich Ritz <erichritz@gmail.com>
12731
12732 * math/math.h (isinf): Fix typo in comment.
12733
de0ff7bc
UD
127342010-11-01 Ulrich Drepper <drepper@gmail.com>
12735
12736 * po/da.po: Update from translation team.
12737
fa41c84d
UD
127382010-10-26 Ulrich Drepper <drepper@gmail.com>
12739
12740 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12741 is added to the list.
12742
f0967738
AK
127432010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12744 Ulrich Drepper <drepper@gmail.com>
12745
12746 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12747 the global list here. Move code to...
12748 (_dl_add_to_namespace_list): ...here. New function.
12749 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12750 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12751 * elf/dl-load.c (lose): Don't remove the element from the list.
12752 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12753 (_dl_map_object): Likewise.
12754
127552010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12756
12757 [BZ #12159]
12758 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12759 into all bytes of SSE register.
12760 Patch by Richard Li <richardpku@gmail.com>.
12761
f0967738 127622010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12763
12764 [BZ #12140]
12765 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12766 perturbing.
12767
d0b9e94f
MB
127682010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12769
12770 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12771 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12772 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12773 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12775 submachine.
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12777
8e9f92e9
AS
127782010-10-22 Andreas Schwab <schwab@redhat.com>
12779
12780 * include/dlfcn.h (__RTLD_SECURE): Define.
12781 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12782 mode & __RTLD_SECURE instead.
12783 (open_path): Rename preloaded parameter to secure.
12784 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12785 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12786 * elf/dl-deps.c (openaux): Likewise.
12787 * elf/rtld.c (struct map_args): Remove is_preloaded.
12788 (map_doit): Don't use it.
12789 (dl_main): Likewise.
12790 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12791 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12792
bc96fbda
AS
127932010-09-09 Andreas Schwab <schwab@redhat.com>
12794
12795 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12796 (sysd-rules-targets): Remove duplicates.
12797 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12798 rtld-%.$o dependency.
12799
22cd1c9b
AS
128002010-10-18 Andreas Schwab <schwab@redhat.com>
12801
12802 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12803 _dl_map_object do it.
12804
18edac48
UD
128052010-10-19 Ulrich Drepper <drepper@gmail.com>
12806
12807 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12808 fast fma builtins, define the macros in the C99 standard.
12809 (FP_FAST_FMAF): Likewise.
12810 (FP_FAST_FMAL): Likewise.
12811 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12812
12813 * bits/mathdef.h: Update copyright year.
12814 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12815
d2050124
MM
128162010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12817
12818 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12819 builtins, define the macros in the C99 standard.
12820 (FP_FAST_FMAF): Likewise.
12821 (FP_FAST_FMAL): Likewise.
12822 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12823 multiply/add.
12824 (FP_FAST_FMAF): Likewise.
12825
475facd1
JJ
128262010-10-15 Jakub Jelinek <jakub@redhat.com>
12827
12828 [BZ #3268]
12829 * math/libm-test.inc (fma_test): Some new testcases.
12830 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12831 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12832 y and infinite z. Do multiplication by C already in long double.
12833 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12835 y and infinite z. Do bitwise or of inexact bit into u.d.
12836 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12837 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12838 * sysdeps/i386/fpu/s_fma.S: Removed.
12839 * sysdeps/i386/fpu/s_fmal.S: Removed.
12840
7c08a05c
JJ
128412010-10-16 Jakub Jelinek <jakub@redhat.com>
12842
12843 [BZ #3268]
12844 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12845 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12846 computation is not scheduled after fetestexcept. Fix value
12847 of minimum denormal long double.
12848
f3f7372d
JJ
128492010-10-14 Jakub Jelinek <jakub@redhat.com>
12850
12851 [BZ #3268]
12852 * math/libm-test.inc (fma_test): Add some more tests.
12853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12854 correctly.
12855
14d43591
AS
128562010-10-15 Andreas Schwab <schwab@redhat.com>
12857
12858 * scripts/data/localplt-s390-linux-gnu.data: New file.
12859 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12860
5e908464
JJ
128612010-10-13 Jakub Jelinek <jakub@redhat.com>
12862
12863 [BZ #3268]
12864 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12865 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12866 instead of dbl-64.
12867 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12868 inlines.
12869 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12871 if one of x and y is very large and the other is subnormal.
12872 * sysdeps/s390/fpu/s_fmaf.c: New file.
12873 * sysdeps/s390/fpu/s_fma.c: New file.
12874 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12875 * sysdeps/powerpc/fpu/s_fma.S: New file.
12876 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12877 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12878 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12879
128802010-10-12 Jakub Jelinek <jakub@redhat.com>
12881
12882 [BZ #3268]
12883 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12884 fma tests.
12885 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12886 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12887 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12888 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12889 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12890 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12891 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12892
b833d51f
UD
128932010-10-12 Ulrich Drepper <drepper@redhat.com>
12894
12895 [BZ #12078]
12896 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12897 * posix/bug-regex31.input: Add test case.
12898
1751705d
UD
128992010-10-11 Ulrich Drepper <drepper@gmail.com>
12900
e9b9cbf5
UD
12901 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12902 * posix/bug-regex31.input: New file.
12903
12904 [BZ #12078]
12905 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12906 (parse_sub_exp): Fix last change, use postorder.
12907
ef06edbe
UD
12908 * posix/bug-regex31.c: New file.
12909 * posix/Makefile: Add rules to build and run bug-regex31.
12910
a129c80d
UD
12911 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12912
12913 [BZ #12078]
12914 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12915
b76b818e
UD
12916 [BZ #12108]
12917 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12918 to have entries in sys_siglist.
12919
1751705d
UD
12920 [BZ #12093]
12921 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12922 be NULL.
12923
9ff8d36f
JJ
129242010-10-07 Jakub Jelinek <jakub@redhat.com>
12925
12926 [BZ #3268]
12927 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12928 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12929 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12930 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12931 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12932 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12933 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12934 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12935 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12936 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12937 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12938 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12939 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12940 * math/ftestexcept.c (fetestexcept): Likewise.
12941 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12942 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12943 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12944 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12945 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12946 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12947 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12948
af325969
UD
129492010-10-11 Ulrich Drepper <drepper@gmail.com>
12950
c579b202 12951 [BZ #12107]
af325969
UD
12952 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12953 newline.
12954
67a67b95
UD
129552010-10-06 Ulrich Drepper <drepper@gmail.com>
12956
12957 * string/bug-strstr1.c: New file.
12958 * string/Makefile: Add rules to build and run bug-strstr1.
12959
5fb308bc
EB
129602010-10-05 Eric Blake <eblake@redhat.com>
12961
12962 [BZ #12092]
12963 * string/str-two-way.h (two_way_long_needle): Always clear memory
12964 when skipping input due to the shift table.
12965
45db99c7
UD
129662010-10-03 Ulrich Drepper <drepper@gmail.com>
12967
3b111893
UD
12968 [BZ #12005]
12969 * malloc/mcheck.c: Handle large requests.
12970
45db99c7
UD
12971 [BZ #12077]
12972 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12973 for strncmp and strncasecmp.
12974 * string/stratcliff.c: Add tests for strcmp and strncmp.
12975 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12976
cf7a1eb8
NI
129772010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12978
12979 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12980 __set_fpscr.
12981
6484ba5e
AJ
129822010-09-30 Andreas Jaeger <aj@suse.de>
12983
12984 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12985 (CGROUP_SUPER_MAGIC): Define.
12986 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12987 Handle btrfs and cgroup file systems.
12988 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12989 Likewise.
12990
91c42559
LM
129912010-09-27 Luis Machado <luisgpm@br.ibm.com>
12992
12993 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12994 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12995
87a97932
AK
129962010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12997
12998 [BZ #12067]
12999 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13000 trying to locate the ELF header.
13001
c21cc9bc
AS
130022010-09-27 Andreas Schwab <schwab@redhat.com>
13003
13004 [BZ #11611]
13005 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13006 Mask out sign-bit copies when constructing f_fsid.
13007
315970f6
PB
130082010-09-24 Petr Baudis <pasky@suse.cz>
13009
13010 * debug/stack_chk_fail_local.c: Add missing licence exception.
13011 * debug/warning-nop.c: Likewise.
13012
1ac7a2c7
JM
130132010-09-15 Joseph Myers <joseph@codesourcery.com>
13014
13015 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13016 implementing getdents64 using getdents syscall, set d_type if
13017 __ASSUME_GETDENTS32_D_TYPE.
13018
56801c50
AS
130192010-09-16 Andreas Schwab <schwab@redhat.com>
13020
13021 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13022 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13023
dda51327
UD
130242010-09-21 Ulrich Drepper <drepper@redhat.com>
13025
13026 [BZ #12037]
13027 * posix/unistd.h: Undo change of feature selection for ftruncate from
13028 2010-01-11.
13029
8ffcee4a
UD
130302010-09-20 Ulrich Drepper <drepper@redhat.com>
13031
a545ecd9 13032 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13033 detection.
13034
e24f0a8b
AS
130352010-09-20 Andreas Schwab <schwab@redhat.com>
13036
13037 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13038 fanotify_mark.
13039 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13040
7291c56f
AS
130412010-09-14 Andreas Schwab <schwab@redhat.com>
13042
13043 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13044 variables after CHECK_SP call.
13045 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13046
bc5fb037
AS
130472010-09-13 Andreas Schwab <schwab@redhat.com>
13048 Ulrich Drepper <drepper@redhat.com>
13049
13050 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13051 re-relocationg ld.so.
13052 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13053 _dl_init_paths call.
13054 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13055 here anymore.
13056
e66e7419
UD
130572010-09-14 Ulrich Drepper <drepper@redhat.com>
13058
13059 * resolv/res_init.c (__res_vinit): Count the default server we added.
13060
c044aa75
CLT
130612010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13062 Ulrich Drepper <drepper@redhat.com>
13063
13064 [BZ #11968]
13065 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13066 (____longjmp_chk): Use %ebx for saving value across system call.
13067 Add unwind info.
13068
32cf4069
AS
130692010-09-06 Andreas Schwab <schwab@redhat.com>
13070
13071 * manual/Makefile: Don't mix pattern rules with normal rules.
13072
817328ee
AS
130732010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13074
13075 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13076 operation.
13077 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13078 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13079 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13080 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13081 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13082 Likewise.
13083
29fddf61
UD
130842010-09-04 Ulrich Drepper <drepper@redhat.com>
13085
13086 [BZ #11979]
13087 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13088 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13089
0959ffc9
UD
130902010-09-02 Ulrich Drepper <drepper@redhat.com>
13091
13092 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13093 * sysdeps/x86_64/addmul_1.S: Likewise.
13094 * sysdeps/x86_64/lshift.S: Likewise.
13095 * sysdeps/x86_64/mul_1.S: Likewise.
13096 * sysdeps/x86_64/rshift.S: Likewise.
13097 * sysdeps/x86_64/sub_n.S: Likewise.
13098 * sysdeps/x86_64/submul_1.S: Likewise.
13099
ece29840
ST
131002010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13101
0959ffc9
UD
13102 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13103 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13104 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13105 * bits/sched.h [__need_schedparam]
ece29840 13106 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13107 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13108 (__defined_schedparam): Define to 1.
ece29840
ST
13109 (__sched_param): New structure, identical to sched_param.
13110 (__need_schedparam): Undefine.
13111
e53a31fe
MF
131122010-08-31 Mike Frysinger <vapier@gentoo.org>
13113
fdc0c10d
MF
13114 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13115 (epoll_create1): Declare.
13116
e53a31fe
MF
13117 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13118
a726d796
AS
131192010-08-31 Andreas Schwab <schwab@redhat.com>
13120
13121 [BZ #7066]
13122 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13123 shifting retval into place.
13124
2f3e3dc7
UD
131252010-09-01 Ulrich Drepper <drepper@redhat.com>
13126
f2933da9
UD
13127 * nis/rpcsvc/nis.h: Update copyright notice.
13128 * nis/rpcsvc/nis.x: Likewise.
13129 * nis/rpcsvc/nis_callback.h: Likewise.
13130 * nis/rpcsvc/nis_callback.x: Likewise.
13131 * nis/rpcsvc/nis_object.x: Likewise.
13132 * nis/rpcsvc/nis_tags.h: Likewise.
13133 * nis/rpcsvc/yp.h: Likewise.
13134 * nis/rpcsvc/yp.x: Likewise.
13135 * nis/rpcsvc/ypupd.h: Likewise.
13136 * nis/yp_xdr.c: Likewise.
13137 * nis/ypupdate_xdr.c: Likewise.
13138
2f3e3dc7
UD
13139 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13140 mainly the body of pmap_getport. Add parameters to specify timeouts.
13141 (pmap_getport): Use __libc_rpc_getport.
13142 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13143 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13144 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13145
f3dcc2f9
AS
131462010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13147
13148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13149 fanotify_mark.
13150
6d34eb5b
RM
131512010-08-27 Roland McGrath <roland@redhat.com>
13152
13153 * sysdeps/i386/i686/multiarch/Makefile
13154 (CFLAGS-varshift.c): New variable.
13155
9ea3de11
UD
131562010-08-27 Ulrich Drepper <drepper@redhat.com>
13157
c96d23fc
UD
13158 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13159 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13160
9ea3de11
UD
13161 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13162
13163 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13164
623aac7f
L
131652010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13166
13167 * sysdeps/x86_64/strlen.S: Unroll the loop.
13168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13169 strlen-sse2 strlen-sse2-bsf.
13170 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13171 __strlen_no_bsf if bit_Slow_BSF is set.
13172 (__strlen_sse42): Removed.
13173 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13174 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13175
8b2b7715
RM
131762010-08-25 Roland McGrath <roland@redhat.com>
13177
13178 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13179 * sysdeps/x86_64/multiarch/varshift.c: New file.
13180 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13181 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13182 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13183 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13184
e73015f2
L
131852010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13186
13187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13188 strlen-sse2 strlen-sse2-bsf.
13189 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13190 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13191 (__strlen_sse2): Removed.
13192 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13193 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13195 bit_Slow_BSF for Atom.
13196 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13197 (index_Slow_BSF): Define.
13198 (HAS_SLOW_BSF): Define.
13199
df24a73e
UD
132002010-08-25 Ulrich Drepper <drepper@redhat.com>
13201
13202 [BZ #10851]
13203 * resolv/res_init.c (__res_vinit): When no server address at all
13204 is given default to loopback.
13205
f2ac4868
RM
132062010-08-24 Roland McGrath <roland@redhat.com>
13207
09055553
RM
13208 * configure.in: Remove config-name.h generation.
13209 * configure: Regenerated.
13210 * config-name.in: File removed.
13211 * scripts/config-uname.sh: New file.
13212 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13213 ($(objdir)config-name.h): New target.
13214
f2ac4868
RM
13215 * sunrpc/rpc_parse.h: Avoid nested comment.
13216
73f27d5e
RH
132172010-08-24 Richard Henderson <rth@redhat.com>
13218 Ulrich Drepper <drepper@redhat.com>
13219 H.J. Lu <hongjiu.lu@intel.com>
13220
13221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13223 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13224 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13225 _mm_alignr_epi8 with _mm_loadu_si128.
13226 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13227 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13228 (__m128i_shift_right): Removed.
13229 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13230 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13231 * sysdeps/x86_64/multiarch/varshift.h: New file.
13232 * sysdeps/x86_64/multiarch/varshift.S: New file.
13233
84b9230c
MF
132342010-08-21 Mike Frysinger <vapier@gentoo.org>
13235
13236 * configure.in: Move assembler checks to before sysdep dir checking.
13237
9bbd0ddc
PB
132382010-08-20 Petr Baudis <pasky@suse.cz>
13239
13240 * LICENSES: Sync the sunrpc license.
13241
9da4bb31
UD
132422010-08-19 Ulrich Drepper <drepper@redhat.com>
13243
a7ab6ec8
UD
13244 * sunrpc/auth_des.c: Update copyright notice once again.
13245 * sunrpc/auth_none.c: Likewise.
13246 * sunrpc/auth_unix.c: Likewise.
13247 * sunrpc/authdes_prot.c: Likewise.
13248 * sunrpc/authuxprot.c: Likewise.
13249 * sunrpc/bindrsvprt.c: Likewise.
13250 * sunrpc/clnt_gen.c: Likewise.
13251 * sunrpc/clnt_perr.c: Likewise.
13252 * sunrpc/clnt_raw.c: Likewise.
13253 * sunrpc/clnt_simp.c: Likewise.
13254 * sunrpc/clnt_tcp.c: Likewise.
13255 * sunrpc/clnt_udp.c: Likewise.
13256 * sunrpc/clnt_unix.c: Likewise.
13257 * sunrpc/des_crypt.c: Likewise.
13258 * sunrpc/des_soft.c: Likewise.
13259 * sunrpc/get_myaddr.c: Likewise.
13260 * sunrpc/getrpcport.c: Likewise.
13261 * sunrpc/key_call.c: Likewise.
13262 * sunrpc/key_prot.c: Likewise.
13263 * sunrpc/openchild.c: Likewise.
13264 * sunrpc/pm_getmaps.c: Likewise.
13265 * sunrpc/pm_getport.c: Likewise.
13266 * sunrpc/pmap_clnt.c: Likewise.
13267 * sunrpc/pmap_prot.c: Likewise.
13268 * sunrpc/pmap_prot2.c: Likewise.
13269 * sunrpc/pmap_rmt.c: Likewise.
13270 * sunrpc/rpc/auth.h: Likewise.
13271 * sunrpc/rpc/auth_unix.h: Likewise.
13272 * sunrpc/rpc/clnt.h: Likewise.
13273 * sunrpc/rpc/des_crypt.h: Likewise.
13274 * sunrpc/rpc/key_prot.h: Likewise.
13275 * sunrpc/rpc/netdb.h: Likewise.
13276 * sunrpc/rpc/pmap_clnt.h: Likewise.
13277 * sunrpc/rpc/pmap_prot.h: Likewise.
13278 * sunrpc/rpc/pmap_rmt.h: Likewise.
13279 * sunrpc/rpc/rpc.h: Likewise.
13280 * sunrpc/rpc/rpc_des.h: Likewise.
13281 * sunrpc/rpc/rpc_msg.h: Likewise.
13282 * sunrpc/rpc/svc.h: Likewise.
13283 * sunrpc/rpc/svc_auth.h: Likewise.
13284 * sunrpc/rpc/types.h: Likewise.
13285 * sunrpc/rpc/xdr.h: Likewise.
13286 * sunrpc/rpc_clntout.c: Likewise.
13287 * sunrpc/rpc_cmsg.c: Likewise.
13288 * sunrpc/rpc_common.c: Likewise.
13289 * sunrpc/rpc_cout.c: Likewise.
13290 * sunrpc/rpc_dtable.c: Likewise.
13291 * sunrpc/rpc_hout.c: Likewise.
13292 * sunrpc/rpc_main.c: Likewise.
13293 * sunrpc/rpc_parse.c: Likewise.
13294 * sunrpc/rpc_parse.h: Likewise.
13295 * sunrpc/rpc_prot.c: Likewise.
13296 * sunrpc/rpc_sample.c: Likewise.
13297 * sunrpc/rpc_scan.c: Likewise.
13298 * sunrpc/rpc_scan.h: Likewise.
13299 * sunrpc/rpc_svcout.c: Likewise.
13300 * sunrpc/rpc_tblout.c: Likewise.
13301 * sunrpc/rpc_util.c: Likewise.
13302 * sunrpc/rpc_util.h: Likewise.
13303 * sunrpc/rpcinfo.c: Likewise.
13304 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13305 * sunrpc/rpcsvc/key_prot.x: Likewise.
13306 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13307 * sunrpc/rpcsvc/mount.x: Likewise.
13308 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13309 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13310 * sunrpc/rpcsvc/rex.x: Likewise.
13311 * sunrpc/rpcsvc/rstat.x: Likewise.
13312 * sunrpc/rpcsvc/rusers.x: Likewise.
13313 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13314 * sunrpc/rpcsvc/spray.x: Likewise.
13315 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13316 * sunrpc/rtime.c: Likewise.
13317 * sunrpc/svc.c: Likewise.
13318 * sunrpc/svc_auth.c: Likewise.
13319 * sunrpc/svc_authux.c: Likewise.
13320 * sunrpc/svc_raw.c: Likewise.
13321 * sunrpc/svc_run.c: Likewise.
13322 * sunrpc/svc_simple.c: Likewise.
13323 * sunrpc/svc_tcp.c: Likewise.
13324 * sunrpc/svc_udp.c: Likewise.
13325 * sunrpc/svc_unix.c: Likewise.
13326 * sunrpc/svcauth_des.c: Likewise.
13327 * sunrpc/xcrypt.c: Likewise.
13328 * sunrpc/xdr.c: Likewise.
13329 * sunrpc/xdr_array.c: Likewise.
13330 * sunrpc/xdr_float.c: Likewise.
13331 * sunrpc/xdr_mem.c: Likewise.
13332 * sunrpc/xdr_rec.c: Likewise.
13333 * sunrpc/xdr_ref.c: Likewise.
13334 * sunrpc/xdr_sizeof.c: Likewise.
13335 * sunrpc/xdr_stdio.c: Likewise.
13336
9da4bb31
UD
13337 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13338 handling.
13339
bdaa77bc
AS
133402010-08-19 Andreas Schwab <schwab@redhat.com>
13341
13342 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13343
fe2f79db
LM
133442010-08-19 Luis Machado <luisgpm@br.ibm.com>
13345
13346 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13347 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13348 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13349 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13350 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13351 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13352 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13353 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13354 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13355 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13356 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13357 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13358 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13359 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13360
b9b42ee0
AB
133612010-07-26 Anton Blanchard <anton@samba.org>
13362
13363 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13364 * malloc/arena.c (heap_trim): Likewise.
13365
1c06ba31
UD
133662010-08-16 Ulrich Drepper <drepper@redhat.com>
13367
13368 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13369 here. Not...
13370 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13371 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13372
f8392f40
L
133732010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13374
13375 * sysdeps/i386/elf/Makefile: New file.
13376
3162f12e
AS
133772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13378
13379 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13380 from fanotify_init.
13381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13382 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13383
28c90b2c
UD
133842010-08-15 Ulrich Drepper <drepper@redhat.com>
13385
13386 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13387 of strncasecmp_l.
1feccb6c 13388 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13389
ca6bb004
UD
133902010-08-14 Ulrich Drepper <drepper@redhat.com>
13391
e9f82e0d
UD
13392 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13393 strncase_l-nonascii.
13394 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13395 Add strncase_l-ssse3.
13396 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13397 * sysdeps/x86_64/strcmp.S: Likewise.
13398 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13399 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13400 * sysdeps/x86_64/strncase.S: New file.
13401 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13402 * sysdeps/x86_64/strncase_l.S: New file.
13403 * string/Makefile (strop-tests): Add strncasecmp.
13404 * string/test-strncasecmp.c: New file.
13405
13406 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13407 warning.
13408
ca6bb004
UD
13409 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13410 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13411
052fa7b3
AS
134122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13413
13414 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13415
962dba78
UD
134162010-08-12 Ulrich Drepper <drepper@redhat.com>
13417
13418 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13419 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13420 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13421
bebff237
AM
134222010-05-01 Alan Modra <amodra@gmail.com>
13423
13424 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13425 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13426 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13427 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13428 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13429 tidying. Don't tail-call __sigjmp_save for static lib.
13430 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13431 save location.
13432 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13433 (CALL_MCOUNT): Add eh info, and nop after bl.
13434 (TAIL_CALL_SYSCALL_ERROR): New macro.
13435 (PSEUDO_RET): Use it.
13436 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13437 Correct save location of integer regs and cr.
13438 (_dl_profile_resolve): Correct cr save location. Delete nops
13439 after bl when SHARED. Reduce cfi size a little by better
13440 placement of cfi directives.
13441 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13442 make a stack frame. Instead use parm save area as a temp.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13444 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13446 Don't make a stack frame for parent, use parm save area.
13447 Increase child stack frame to 112 bytes. Don't save unused reg,
13448 and adjust reg usage. Set up cfi on error recovery and
13449 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13451 (__makecontext): Add dummy nop after jump to exit.
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13453 Use correct parm save area and cr save, reduce stack frame.
13454 Correct cfi for possible PSEUDO_RET frame setup.
13455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13456 Branch to local label emitted by PSEUDO_RET rather than
13457 __syscall_error.
13458
02637374
AS
134592010-08-12 Andreas Schwab <schwab@redhat.com>
13460
13461 [BZ #11904]
13462 * locale/programs/locale.c (print_assignment): New function.
13463 (show_locale_vars): Use it.
13464
c3e2f19b
UD
134652010-08-11 Ulrich Drepper <drepper@redhat.com>
13466
3cdaa6ad
UD
13467 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13468 field.
13469 (struct statfs64): Likewise.
13470 (_STATFS_F_FLAGS): Define.
13471 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13472 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13473 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13474 (ST_VALID): Define locally.
13475 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13476 __statvfs_getflags, use the provided value.
13477 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13478 __ASSUME_STATFS_F_FLAGS.
13479
754f7da3
UD
13480 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13481
10b3bedc
UD
13482 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13483 Add sys/fanotify.h.
13484 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13485 fanotify_mask for GLIBC_2.13.
13486 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13487 fanotify_init and fanotify_mark.
13488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13489 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13490
c08fb0d7
UD
13491 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13492 Add prlimit.
13493 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13494 prlimit64 for GLIBC_2.13.
13495 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13496 prlimit64.
13497 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13498 syscall.
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13500 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13501 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13502 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13503 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13504 add prlimit alias.
13505 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13506
15bac72b
UD
13507 [BZ #11903]
13508 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13509 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13510
c3e2f19b
UD
13511 * nss/Makefile: Add rules to build and run tst-nss-test1.
13512 * shlib-versions: Add entry for libnss_test1.
13513 * nss/nss_test1.c: New file.
13514 * nss/tst-nss-test1.c: New file.
13515
13516 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13517 (__nss_configure_lookup): Set appropriate entry in
13518 __nss_configure_lookup to true.
13519 * nss/nsswitch.h: Define enum with indeces of databases in
13520 databases and __nss_database_custom arrays. Declare
13521 __nss_database_custom.
13522 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13523 to avoid using nscd when custom rules are installed.
13524 * nss/getXXbyYY_r.c: Likewise.
13525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13526
13527 * nss/nss_files/files-parse.c: Whitespace fixes.
13528
f15ce4d8
UD
135292010-08-09 Ulrich Drepper <drepper@redhat.com>
13530
13531 [BZ #11883]
13532 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13533 * posix/fnmatch_loop.c: Likewise.
13534
d22e4cc9
AK
135352010-07-17 Andi Kleen <ak@linux.intel.com>
13536
13537 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13538 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13539 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13540 * Versions.def [GLIBC_2.13]: Add.
13541
805bc17d
UD
135422010-08-06 Ulrich Drepper <drepper@redhat.com>
13543
13544 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13545 Also fail if tpwd after pwuid call is NULL.
13546
5a42321d
ST
135472010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13548
13549 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13550 when converting to ms.
13551
fd3ebeda
ST
135522010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13553
13554 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13555 EOPNOTSUPP errors with ENOTTY.
13556 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13557 EOPNOTSUPP errors with ENOTTY.
13558
73507d3a
UD
135592010-07-31 Ulrich Drepper <drepper@redhat.com>
13560
13561 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13562 Add strcasecmp_l-ssse3.
13563 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13564 strcasecmp.
13565 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13566 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13567 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13568
fe36dd02
UD
135692010-07-30 Ulrich Drepper <drepper@redhat.com>
13570
66f6765a
UD
13571 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13572
42e08a54
UD
13573 * string/Makefile (strop-tests): Add strcasecmp.
13574 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13575 strcasecmp_l-nonascii.
13576 (gen-as-const-headers): Add locale-defines.sym.
13577 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13578 * sysdeps/x86_64/strcasecmp.S: New file.
13579 * sysdeps/x86_64/strcasecmp_l.S: New file.
13580 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13581 * sysdeps/x86_64/locale-defines.sym: New file.
13582 * string/test-strcasecmp.c: New file.
13583
fe36dd02
UD
13584 * string/test-strcasestr.c: Test both ends of the range of characters.
13585 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13586
48cbc0d6
RM
135872010-07-29 Roland McGrath <roland@redhat.com>
13588
76e6d6bc 13589 [BZ #11856]
48cbc0d6
RM
13590 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13591
880113d9
UD
135922010-07-27 Ulrich Drepper <drepper@redhat.com>
13593
13594 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13595 for ld.so.
13596
deb9cabb
AS
135972010-07-27 Andreas Schwab <schwab@redhat.com>
13598
13599 * manual/memory.texi (Malloc Tunable Parameters): Document
13600 M_PERTURB.
13601
1c7570ff
RM
136022010-07-26 Roland McGrath <roland@redhat.com>
13603
13604 [BZ #11840]
13605 * configure.in (-fgnu89-inline check): Set and substitute
13606 gnu89_inline, not libc_cv_gnu89_inline.
13607 * configure: Regenerated.
13608 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13609
24fb0f88
UD
136102010-07-26 Ulrich Drepper <drepper@redhat.com>
13611
13612 * string/test-strnlen.c: New file.
13613 * string/Makefile (strop-tests): Add strnlen.
13614 * string/tester.c (test_strnlen): Add a few more test cases.
13615 * string/tst-strlen.c: Better error reporting.
13616
13617 * sysdeps/x86_64/strnlen.S: New file.
13618
8e96b93a
UD
136192010-07-24 Ulrich Drepper <drepper@redhat.com>
13620
13621 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13622 lower-latency instructions.
13623
dbc676d4
UD
136242010-07-23 Ulrich Drepper <drepper@redhat.com>
13625
13626 * string/test-strcasestr.c: New file.
13627 * string/test-strstr.c: New file.
13628 * string/Makefile (strop-tests): Add strstr and strcasestr.
13629 * string/str-two-way.h: Don't undefine MAX.
13630 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13631
f6a31e0e
AS
136322010-07-21 Andreas Schwab <schwab@redhat.com>
13633
13634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13635 strcasestr-nonascii.
13636 (CFLAGS-strcasestr-nonascii.c): Define.
13637 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13638 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13639 Remove unused attribute.
13640
5dbc3b6c
RM
136412010-07-20 Roland McGrath <roland@redhat.com>
13642
13643 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13644 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13645 ld.so.cache was broken. With it, there is no way to disable dsocaps
13646 like LD_HWCAP_MASK can disable hwcaps.
13647
23d101d8
EPM
136482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13649
13650 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13651
cc9f2e47
UD
136522010-07-16 Ulrich Drepper <drepper@redhat.com>
13653
13654 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13655 call in strcasestr.
13656 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13657 __strcasestr_sse42_nonascii.
13658 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13659 strcasestr-nonascii.c.
13660 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13661
77c1b069
LM
136622010-06-15 Luis Machado <luisgpm@br.ibm.com>
13663
13664 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13665 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13666 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13667 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13668
440566c3
UD
136692010-07-09 Ulrich Drepper <drepper@redhat.com>
13670
13671 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13672 fcntl.
13673
5be9d05d
AS
136742010-07-06 Andreas Schwab <schwab@redhat.com>
13675
c30b7ee2 13676 [BZ #11577]
5be9d05d
AS
13677 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13678 dl_signal_cerror.
13679
8a492a67
UD
136802010-07-06 Ulrich Drepper <drepper@redhat.com>
13681
13682 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13683 _PC_PIPE_BUF using F_GETPIPE_SZ.
13684
713df3d5
RM
136852010-07-05 Roland McGrath <roland@redhat.com>
13686
13687 * manual/arith.texi (Rounding Functions): Fix rint description
13688 implicit in round description.
13689
702e8f14
UD
136902010-07-02 Ulrich Drepper <drepper@redhat.com>
13691
13692 * elf/Makefile: Fix linking for a few tests to make recent linker
13693 happy.
13694
52ed8be9
AS
136952010-06-30 Andreas Schwab <schwab@redhat.com>
13696
13697 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13698 $(common-objpfx)libc_nonshared.a.
13699
f47c9a11
LM
137002010-06-21 Luis Machado <luisgpm@br.ibm.com>
13701
13702 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13703 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13704 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13705 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13706 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13707 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13708 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13709 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13724 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13725 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13726 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13727 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13728 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13729 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13730 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13731 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13732 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13733 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13734 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13735 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13750
6fb8cbcb
L
137512010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13752
13753 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13754 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13755 * string/memmove.c (memmove): Renamed to ...
13756 (MEMMOVE): ...this. Default to memmove.
13757 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13758 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13759 (END_CHK): Define.
13760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13761 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13762 mempcpy-ssse3-back memmove-ssse3-back.
13763 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13764 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13765 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13766 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13767 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13768 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13769 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13770 * sysdeps/x86_64/multiarch/memmove.c: New file.
13771 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13772 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13773 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13774 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13775 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13776 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13777 Define.
13778 (index_Fast_Copy_Backward): Define.
13779 (HAS_ARCH_FEATURE): Define.
13780 (HAS_FAST_REP_STRING): Define.
13781 (HAS_FAST_COPY_BACKWARD): Define.
13782
4e733bac 137832010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13784
13785 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13786 Restore proper fallback handling.
13787
63c4ed22
UD
137882010-06-19 Ulrich Drepper <drepper@redhat.com>
13789
ac2b484c
UD
13790 [BZ #11701]
13791 * posix/group_member.c (__group_member): Correct checking loop.
13792
63c4ed22
UD
13793 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13794 OOM in getpwuid_r correctly. Return error number when the caller
13795 should return, otherwise -1.
13796 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13797 call returning > 0 value.
13798 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13799
765ade4b
AS
138002010-06-07 Andreas Schwab <schwab@redhat.com>
13801
13802 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13803 libc_nonshared.a from targets in modules-names.
13804
80da2e09
KS
138052010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13806
13807 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13808 requires it.
13809
158db122
LM
138102010-06-10 Luis Machado <luisgpm@br.ibm.com>
13811
13812 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13813 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13815 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13816
caa78cf8
AS
138172010-06-02 Andreas Schwab <schwab@redhat.com>
13818
13819 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13820
b2ef2c01
UD
138212010-06-14 Ulrich Drepper <drepper@redhat.com>
13822
13823 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13824 and F_GETPIPE_SZ.
13825 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13826 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13829 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13830 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13831
fbd643b6
RM
138322010-06-14 Roland McGrath <roland@redhat.com>
13833
13834 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13835
f32f2869
JJ
138362010-06-07 Jakub Jelinek <jakub@redhat.com>
13837
13838 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13839 __REDIRECT followed by __THROW.
13840 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13841 * posix/getopt.h (getopt): Likewise.
13842
2a50c078
EPM
138432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13844
13845 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13846 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13847 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13848 in AT_FLAGS.
13849 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13850 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13851
eb5ad2eb
LM
138522010-05-28 Luis Machado <luisgpm@br.ibm.com>
13853
13854 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13855
3c88fe1e
L
138562010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13857
13858 [BZ #11640]
13859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13860 Properly check family and model.
13861
d2f73151
TY
138622010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13863
13864 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13865
ebd2e13d
LM
138662010-05-24 Luis Machado <luisgpm@br.ibm.com>
13867
13868 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13869
b32b8b45
UD
138702010-05-21 Ulrich Drepper <drepper@redhat.com>
13871
13872 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13873 symbol reference.
13874
9acbe24d
AS
138752010-05-19 Andreas Schwab <schwab@redhat.com>
13876
13877 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13878 symbol reference.
13879
f0ccf6ea
AS
138802010-05-21 Andreas Schwab <schwab@redhat.com>
13881
3d04ff3a
AS
13882 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13883 and internal_recvmmsg.
13884 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13885 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13886 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13887 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13888
f0ccf6ea
AS
13889 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13890 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13891 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13892
5b08ac57
AS
138932010-05-20 Andreas Schwab <schwab@redhat.com>
13894
13895 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13896
4828935d
LM
138972010-05-17 Luis Machado <luisgpm@br.ibm.com>
13898
13899 POWER7 optimizations.
13900 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13901 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13902
373d545e
UD
139032010-05-19 Ulrich Drepper <drepper@redhat.com>
13904
13905 * version.h: Update for 2.13 development version.
13906
21a2b1ae
AS
139072010-05-12 Andrew Stubbs <ams@codesourcery.com>
13908
13909 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13910 exceptions. Return 0.
13911
3f7dcb2b
RM
139122010-05-07 Roland McGrath <roland@redhat.com>
13913
13914 * elf/ldconfig.c (main): Add a const.
13915
5f24d53a 139162010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13917
a160f8d8
UD
13918 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13919 (args_options): Add no-idn option.
13920 (ahosts_keys_int): Add idn_flags to ai_flags.
13921 (parse_option): Handle 'i' option to clear idn_flags.
13922
5f24d53a
UD
13923 * malloc/malloc.c (_int_free): Possible race in the most recently
13924 added check. Only act on the data if no current modification
13925 happened.
265bb1ce
UD
13926
13927See ChangeLog.17 for earlier changes.