]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
14012 fixed by cross-rpcgen changes.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0a10fb9e
L
12012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5
df8a552f
L
62012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7
8 * elf/elf.h (R_X86_64_RELATIVE64): New.
9 (R_X86_64_NUM): Updated.
10 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14 tst-quad1pie tst-quad2pie
15 (modules-names): Add tst-quadmod1 tst-quadmod2.
16 ($(objpfx)tst-quad1): New dependency.
17 ($(objpfx)tst-quad2): Likewise.
18 ($(objpfx)tst-quad1pie): Likewise.
19 ($(objpfx)tst-quad2pie): Likewise.
20 * sysdeps/x86_64/tst-quad1.c: New file.
21 * sysdeps/x86_64/tst-quad1pie.c: New file.
22 * sysdeps/x86_64/tst-quad2.c: Likewise.
23 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
27 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28
f34d6f84
ST
292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30
f42d41d1
ST
31 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33 * streams/stropts.h (t_scalar_t): Define type.
34
3c3571fc
ST
35 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36 (_PATH_PRESERVE): Set to "/var/lib".
37 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38
61f06bd3
ST
39 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40 instead of int.
41
918d4d71
ST
42 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43 if __dir_mkfile succeeded.
44
f34d6f84
ST
45 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46 checking for _hurd_dtablesize. Unlock it right after having
47 finished _hurd_dtable allocation.
48
10589b4a
TS
492012-05-10 Thomas Schwinge <thomas@schwinge.name>
50
674cdbc7
TS
51 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
52 * sysdeps/mach/hurd/configure: Regenerated.
53 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
54 special-casing to...
55 * sysdeps/gnu/configure.in: ... this new file.
56 * sysdeps/unix/sysv/linux/configure: Regenerated.
57 * sysdeps/gnu/configure: New generated file.
58
8e41b99f
TS
59 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
60 for Linux: use nsec instead of usec, as well as:
61 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62 members of type struct timespec.
63 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64 New macros.
65 (struct stat64): Likewise.
66 (_STATBUF_ST_NSEC): New macro.
67 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
68
10589b4a
TS
69 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
70 __strtoul_internal rather than strtoul.
71
63643c85
PT
722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
73
74 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
75 and reject them.
76
3faebe6a
ST
772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
78
79 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
80 which preserves existing values.
81 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82
c6474b07
PT
832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
84
85 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
86 TIMEOUT values. Return EINVAL for NFDS values either negative or
87 greater than FD_SETSIZE.
88
1043890b
ST
892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
90
91 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
92 allocated, call __vm_protect to finish enabling the existing space, and
93 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
94 allocate the remainder.
95
37ed8b9b
PT
962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
97
98 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
99 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
100
db653660
ST
1012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
102
37ed8b9b
PT
103 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
104 sysdeps/mach/hurd/readlink.c.
b29d4053 105
db653660
ST
106 * posix/tst-sysconf.c (posix_options): Only use
107 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
108 _POSIX_SYNCHRONIZED_IO when they are defined
109 * sysdeps/mach/hurd/bits/posix_opt.h:
110 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
111 (_XOPEN_REALTIME): Undefine macro.
112 (_XOPEN_REALTIME_THREADS): Undefine macro.
113 (_XOPEN_SHM): Undefine macro.
114 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
115 macro to -1.
116 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
117 macro to -1.
118 (_POSIX_ASYNC_IO): Undefine macro.
119 (_POSIX_PRIORITIZED_IO): Undefine macro.
120 (_POSIX_SPIN_LOCKS): Define macro to -1.
121
ee16e894
ST
122 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
123 SA_NODEFER, SA_RESETHAND.
124 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
125 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
126 F_DUPFD_CLOEXEC.
127
6103ae3b
TS
1282012-05-10 Thomas Schwinge <thomas@schwinge.name>
129
130 * elf/Makefile (pldd-modules): Define unconditionally.
131
80b4e5f3
TS
1322012-05-10 Thomas Schwinge <thomas@schwinge.name>
133
134 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
135
edadcbd6
ST
1362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
137
138 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
139 Return ENOENT when name is empty.
140 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
141
80694780
TS
1422012-05-10 Thomas Schwinge <thomas@schwinge.name>
143
1792c087
TS
144 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
145
80694780
TS
146 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
147
6b645f0d
ST
1482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
149
80694780
TS
150 Fix mlock in all cases except non-readable pages.
151 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
152 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 153
6b645f0d
ST
154 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
155 (__mkdir): When path is `/', just fail with EEXIST.
156 * sysdeps/mach/hurd/mkdirat.c: Likewise.
157
e468f8a3
TS
1582012-05-10 Thomas Schwinge <thomas@schwinge.name>
159
160 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
161 <sys/uio.h> (for writev).
162 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
163 and <sys/param.h> (for MIN).
164
a4186cff
PT
1652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
166
167 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
168 REQUESTED_TIME. Properly set the remaining time and return EINTR
169 if interrupted.
170
510bbf14
TS
1712012-05-10 Thomas Schwinge <thomas@schwinge.name>
172
173 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
174 Depend on against $(link-rpcuserlibs).
175
5d5722e8
ST
1762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
177
a4186cff
PT
178 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
179 (__libc_stack_end): Do not use attribute_relro.
180 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
181 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 182 to libthread-provided value.
a4186cff
PT
183 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
184 attribute_relro.
5d5722e8 185
37233df9
TS
1862012-05-10 Thomas Schwinge <thomas@schwinge.name>
187
be971a2b
TS
188 [BZ #3748]
189 * bits/libc-lock.h (__libc_once_get): New macro.
190 * sysdeps/mach/bits/libc-lock.h: Likewise.
191 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
192 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
193 instead of using implementation details.
194
37233df9
TS
195 * libio/fileops.c: Unconditionally include <kernel-features.h>.
196 * libio/freopen.c: Likewise.
197 * libio/freopen64.c: Likewise.
198 * misc/syslog.c: Likewise.
199 * nscd/connections.c: Likewise.
200 * nscd/netgroupcache.c: Likewise.
201 * sysdeps/posix/getcwd.c: Likewise.
202
38de94a5
RM
2032012-05-10 Roland McGrath <roland@hack.frob.com>
204
205 * math/w_ilogbf.c: Add #include <limits.h>.
206
67530489
ST
2072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
208
a4186cff 209 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
210 path instead of returning without unlocking.
211
67530489
ST
212 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
213 immediate-write ioctls.
214 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
215
5aa3a74a
TS
2162012-05-10 Thomas Schwinge <thomas@schwinge.name>
217
18bad2ae
TS
218 * sysdeps/mach/hurd/i386/init-first.c (init): Use
219 __builtin_frame_address instead of making assumptions about the
220 location of the return address relative to DATA. Force early load of
221 the return address.
222 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
223 __builtin_frame_address.
224
5aa3a74a
TS
225 dup3 for GNU Hurd.
226 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
227 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
228 implement dup3 and do some further code clean-ups.
229 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
230 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
231
ecd0de9a
ST
2322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
233
cd9fa985
ST
234 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
235
a4186cff
PT
236 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
237 HURD_CRITICAL_END around holding _hurd_dtable_lock.
238 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
239 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
240 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
241 d->port.lock.
802ca5a5 242
a4186cff
PT
243 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
244 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
245 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 246
bcf55240
TS
2472012-05-10 Thomas Schwinge <thomas@schwinge.name>
248
6960eb42
TS
249 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
250 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
251 definitions.
252
eb43375f
TS
253 accept4 for GNU Hurd.
254 * include/sys/socket.h (__libc_accept4): New prototype.
255 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
256 to implement __libc_accept4.
257 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
258 __libc_accept4.
259 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
260
bcf55240
TS
261 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
262 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
263 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
264 signal-defines.sym.
265
6178c55b
ST
2662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
267
a4186cff 268 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 269
6f080c2f
TS
2702012-05-10 Thomas Schwinge <thomas@schwinge.name>
271
272 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
273 assertion on O_CLOEXEC flag.
274 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
275 * hurd/intern-fd.c: Likewise.
276 * hurd/port2fd.c: Likewise.
277
bcfe3a54
ST
2782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
279
280 [BZ #3906]
281 * bits/in.h (IPV6_PKTINFO): Define new macro.
282 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
283
89c9aa49
AZ
2842012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
285
286 [BZ #13954]
287 [BZ #13955]
288 [BZ #13956]
289 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
291 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
292 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
293 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
294 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
295 * math/libm-test.inc (logb_test) : Additional logb tests.
296
021db4be
AJ
2972012-05-09 Andreas Schwab <schwab@linux-m68k.org>
298 Andreas Jaeger <aj@suse.de>
299
300 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
301 * configure: Regenerated.
302 * config.h.in (LINK_OBSOLETE_RPC): New macro.
303 * config.make.in (link-obsolete-rpc): New substituted variable.
304 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
305 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
306 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
307 (shared-only-routines): Don't set it under [link-obsolete-rpc],
308 so that libc.a contains the symbols.
309 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
310 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
311 * sunrpc/auth_none.c: Likewise.
312 * sunrpc/auth_unix.c: Likewise.
313 * sunrpc/authdes_prot.c: Likewise.
314 * sunrpc/authuxprot.c: Likewise.
315 * sunrpc/clnt_gen.c: Likewise.
316 * sunrpc/clnt_perr.c: Likewise.
317 * sunrpc/clnt_raw.c: Likewise.
318 * sunrpc/clnt_simp.c: Likewise.
319 * sunrpc/clnt_tcp.c: Likewise.
320 * sunrpc/clnt_udp.c: Likewise.
321 * sunrpc/clnt_unix.c: Likewise.
322 * sunrpc/des_crypt.c: Likewise.
323 * sunrpc/des_soft.c: Likewise.
324 * sunrpc/get_myaddr.c: Likewise.
325 * sunrpc/key_call.c: Likewise.
326 * sunrpc/key_prot.c: Likewise.
327 * sunrpc/netname.c: Likewise.
328 * sunrpc/pm_getmaps.c: Likewise.
329 * sunrpc/pm_getport.c: Likewise.
330 * sunrpc/pmap_clnt.c: Likewise.
331 * sunrpc/pmap_prot.c: Likewise.
332 * sunrpc/pmap_prot2.c: Likewise.
333 * sunrpc/pmap_rmt.c: Likewise.
334 * sunrpc/publickey.c: Likewise.
335 * sunrpc/rpc_cmsg.c: Likewise.
336 * sunrpc/rpc_common.c: Likewise.
337 * sunrpc/rpc_dtable.c: Likewise.
338 * sunrpc/rpc_prot.c: Likewise.
339 * sunrpc/rpc_thread.c: Likewise.
340 * sunrpc/rtime.c: Likewise.
341 * sunrpc/svc.c: Likewise.
342 * sunrpc/svc_auth.c: Likewise.
343 * sunrpc/svc_raw.c: Likewise.
344 * sunrpc/svc_run.c: Likewise.
345 * sunrpc/svc_tcp.c: Likewise.
346 * sunrpc/svc_udp.c: Likewise.
347 * sunrpc/svc_unix.c: Likewise.
348 * sunrpc/svcauth_des.c: Likewise.
349 * sunrpc/xcrypt.c: Likewise.
350 * sunrpc/xdr.c: Likewise.
351 * sunrpc/xdr_array.c: Likewise.
352 * sunrpc/xdr_float.c: Likewise.
353 * sunrpc/xdr_intXX_t.c: Likewise.
354 * sunrpc/xdr_mem.c: Likewise.
355 * sunrpc/xdr_rec.c: Likewise.
356 * sunrpc/xdr_ref.c: Likewise.
357 * sunrpc/xdr_sizeof.c: Likewise.
358 * sunrpc/xdr_stdio.c: Likewise.
359
b5c086a2
RM
3602012-05-10 Roland McGrath <roland@hack.frob.com>
361
362 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
363 change. Update copyright years.
364
6d74dd09
JM
3652012-05-10 Joseph Myers <joseph@codesourcery.com>
366
367 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
368
28e72501
MK
3692012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
370 Joseph Myers <joseph@codesourcery.com>
371 Paul Pluzhnikov <ppluzhnikov@google.com>
372
373 [BZ #14012]
374 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
375 requiring rpcgen.
376 [cross-compiling] (extra-libs): Likewise.
377 [cross-compiling] (extra-libs-others): Likewise.
378 [cross-compiling] (librpcsvc-routines): Likewise.
379 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
380 [cross-compiling] (omit-deps): Likewise.
381 (sunrpc-CPPFLAGS): New variable.
382 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
383 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
384 (cross-rpcgen-objs): New variable.
385 (extra-objs): Append $(cross-rpcgen-objs).
386 ($(cross-rpcgen-objs)): New rule.
387 ($(objpfx)cross-rpcgen): Likewise.
388 (rpcgen-cmd): Define to use $(built-program-file). Expand
389 comment.
390 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
391 ($(objpfx)x%.stmp): Likewise.
392 * sunrpc/proto.h [IS_IN_build] (_): Define.
393 [IS_IN_build] (_libc_intl_domainname): Likewise.
394
c8c59454
L
3952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
396
397 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
398 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
399 and R_X86_64_TPOFF64.
400
6f27cd16
JM
4012012-05-10 Joseph Myers <joseph@codesourcery.com>
402
403 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
404 sysdeps/unix/sysv/syscalls.list.
405 (stime): Likewise.
406 (utime): Likewise.
407 * sysdeps/unix/sysv/syscalls.list: Remove file.
408
02467e1c
PE
4092012-05-10 Paul Eggert <eggert@cs.ucla.edu>
410
411 [BZ #3440]
412 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
413 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
414 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
415 (__LC_IDENTIFICATION): Make these macros useful in #if
416 expressions, as required by C99.
417
da392631
AS
4182012-05-10 Andreas Schwab <schwab@linux-m68k.org>
419
420 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
421 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
422 after this.
423
8115f29b
L
4242012-05-09 H.J. Lu <hongjiu.lu@intel.com>
425
426 * stdlib/longlong.h: Updated from GCC.
427
bdd74070
AJ
4282012-05-09 Andreas Jaeger <aj@suse.de>
429
edfe0dbe
AJ
430 * nscd/nscd.c (run_modes): Make named enum, reorder so that
431 default is first entry.
432 (run_mode): Set type.
433 (main): Remove informal message about syslog.
434 (options): Fix typo.
435
bcfe3a54
ST
436 [BZ #14053]
437 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 438 to asm.
bcfe3a54
ST
439 (lrint): Likewise.
440 (llrintf): Likewise.
441 (llrint): Likewise.
442 (rint): Likewise.
443 (rintf): Likewise.
444 (nearbyint): Likewise.
445 (nearbyintf): Likewise.
bdd74070 446
91d8d69e
AJ
4472012-05-09 Andreas Jaeger <aj@suse.de>
448 Pedro Alves <palves@redhat.com>
449
450 * nscd/nscd.c (run_mode): Use enum.
451 (main): Cleanup coding style issue.
452
bb90b80b
AJ
4532012-05-09 Alexandre Oliva <aoliva@redhat.com>
454 Andreas Jaeger <aj@suse.de>
455
bcfe3a54
ST
456 * nscd/nscd.c (go_background): Replaced with...
457 (run_mode): ... this.
bb90b80b 458 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
459 (options): Add -F --foreground.
460 (main): Implement it.
461 (parse_opt): Parse it.
bb90b80b 462
1a4b75a1
AJ
4632012-05-09 Andreas Jaeger <aj@suse.de>
464
465 [BZ #14083]
466 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
467 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
468 -Wconversion warning.
469 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
470 Likewise.
471
b1cc2472
JM
4722012-05-09 Joseph Myers <joseph@codesourcery.com>
473
474 * conform/data/locale.h-data (NULL): Use macro-constant. Require
475 == 0.
476 (LC_ALL): Use macro-int-constant.
477 (LC_COLLATE): Likewise.
478 (LC_CTYPE): Likewise.
479 (LC_MESSAGES): Likewise.
480 (LC_MONETARY): Likewise.
481 (LC_NUMERIC): Likewise.
482 (LC_TIME): Likewise.
483 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
484 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
485 [ISO || ISO99 || ISO11] (*_t): Do not allow.
486 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
487 Specify type.
488 [C99-based standards] (float_t): Expect type.
489 [C99-based standards] (double_t): Expect type.
490 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
491 type.
492 [C99-based standards] (HUGE_VALL): Likewise.
493 [C99-based standards] (INFINITY): Likewise.
494 [C99-based standards] (NAN): Likewise.
495 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
496 [C99-based standards] (FP_NAN): Likewise.
497 [C99-based standards] (FP_NORMAL): Likewise.
498 [C99-based standards] (FP_SUBNORMAL): Likewise.
499 [C99-based standards] (FP_ZERO): Likewise.
500 [C99-based standards] (FP_FAST_FMA): Use
501 optional-macro-int-constant. Specify type. Require == 1.
502 [C99-based standards] (FP_FAST_FMAF): Likewise.
503 [C99-based standards] (FP_FAST_FMAL): Likewise.
504 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
505 [C99-based standards] (FP_ILOGBNAN): Likewise.
506 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
507 Specify type.
508 [C99-based standards] (MATH_ERREXCEPT): Likewise.
509 [C99-based standards] (math_errhandling): Specify type.
510 [ISO99 || ISO11] (signgam): Do not allow.
511 [non-C99-based standards] (copysignf): Do not allow.
512 [non-C99-based standards] (exp2f): Likewise.
513 [non-C99-based standards] (log2f): Likewise.
514 [non-C99-based standards] (modff): Allow.
515 [non-C99-based standards] (erff): Do not allow.
516 [non-C99-based standards] (erfcf): Likewise.
517 [non-C99-based standards] (gammaf): Likewise.
518 [non-C99-based standards] (hypotf): Likewise.
519 [non-C99-based standards] (j0f): Likewise.
520 [non-C99-based standards] (j1f): Likewise.
521 [non-C99-based standards] (jnf): Likewise.
522 [non-C99-based standards] (lgammaf): Likewise.
523 [non-C99-based standards] (tgammaf): Likewise.
524 [non-C99-based standards] (y0f): Likewise.
525 [non-C99-based standards] (y1f): Likewise.
526 [non-C99-based standards] (ynf): Likewise.
527 [non-C99-based standards] (isnanf): Likewise.
528 [non-C99-based standards] (acoshf): Likewise.
529 [non-C99-based standards] (asinhf): Likewise.
530 [non-C99-based standards] (atanhf): Likewise.
531 [non-C99-based standards] (cbrtf): Likewise.
532 [non-C99-based standards] (expm1f): Likewise.
533 [non-C99-based standards] (ilogbf): Likewise.
534 [non-C99-based standards] (log1pf): Likewise.
535 [non-C99-based standards] (logbf): Likewise.
536 [non-C99-based standards] (nextafterf): Likewise.
537 [non-C99-based standards] (remainderf): Likewise.
538 [non-C99-based standards] (rintf): Likewise.
539 [non-C99-based standards] (scalbf): Likewise.
540 [non-C99-based standards] (copysignl): Likewise.
541 [non-C99-based standards] (exp2l): Likewise.
542 [non-C99-based standards] (log2l): Likewise.
543 [non-C99-based standards] (modfl): Allow.
544 [non-C99-based standards] (erfl): Do not allow.
545 [non-C99-based standards] (erfcl): Likewise.
546 [non-C99-based standards] (gammal): Likewise.
547 [non-C99-based standards] (hypotl): Likewise.
548 [non-C99-based standards] (j0l): Likewise.
549 [non-C99-based standards] (j1l): Likewise.
550 [non-C99-based standards] (jnl): Likewise.
551 [non-C99-based standards] (lgammal): Likewise.
552 [non-C99-based standards] (tgammal): Likewise.
553 [non-C99-based standards] (y0l): Likewise.
554 [non-C99-based standards] (y1l): Likewise.
555 [non-C99-based standards] (ynl): Likewise.
556 [non-C99-based standards] (isnanl): Likewise.
557 [non-C99-based standards] (acoshl): Likewise.
558 [non-C99-based standards] (asinhl): Likewise.
559 [non-C99-based standards] (atanhl): Likewise.
560 [non-C99-based standards] (cbrtl): Likewise.
561 [non-C99-based standards] (expm1l): Likewise.
562 [non-C99-based standards] (ilogbl): Likewise.
563 [non-C99-based standards] (log1pl): Likewise.
564 [non-C99-based standards] (logbl): Likewise.
565 [non-C99-based standards] (nextafterl): Likewise.
566 [non-C99-based standards] (remainderl): Likewise.
567 [non-C99-based standards] (rintl): Likewise.
568 [non-C99-based standards] (scalbl): Likewise.
569 [ISO || ISO99 || ISO11] (*_t): Do not allow.
570 [non-C99-based standards] (FP_*): Do not allow.
571 [C99-based standards] (FP_*): Change to
572 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
573 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
574 allow.
575 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
576 (SIG_ERR): Likewise.
577 [X/Open-based standards] (SIG_HOLD): Likewise.
578 (SIG_IGN): Likewise.
579 (SIGABRT): Use macro-int-constant. Specify type. Require
580 positive value.
581 (SIGFPE): Likewise.
582 (SIGILL): Likewise.
583 (SIGINT): Likewise.
584 (SIGSEGV): Likewise.
585 (SIGTER): Likewise.
586 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
587 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
588 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
589 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
590 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
591 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
592 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
593 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
594 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
595 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
596 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
597 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
598 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
599 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
600 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
601 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
602 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
603 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
604 [X/Open-based standards] (SIGTRAP): Likewise.
605 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
606 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
607 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
608 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
609 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
610 allow.
611
b9f1922d
IW
6122012-05-08 Ian Wienand <ianw@vmware.com>
613
614 [BZ #14080]
615 * time/tzset.c (__tzset_parse_tz): Update default rules for
616 daylight time changes in the Energy Policy Act of 2005.
617
1db86e88
AJ
6182012-05-09 Andreas Jaeger <aj@suse.de>
619
620 [BZ #13983]
621 * elf/ldconfig.c (parse_conf): Change string to make clear that
622 ldconfig only issued a warning if ld.so.conf does not exist.
623
dee4a4e3
DM
6242012-05-08 David S. Miller <davem@davemloft.net>
625
ee0db190
DM
626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
627 movxtod instead of popping the value on the stack.
628
dee4a4e3
DM
629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
630
6a43ec98
CD
6312012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
632
633 * config.h.in: Add HAVE_ARM_PCS_VFP.
634
05c2c961
RMG
6352012-05-08 Roland Mc Grath <roland@hack.frob.com>
636
bcfe3a54
ST
637 [BZ #13979]
638 * include/features.h: Warn if user requests __FORTIFY_SOURCE
639 checking but the checks are disabled for any reason.
05c2c961 640
4b30f61a
L
6412012-05-08 H.J. Lu <hongjiu.lu@intel.com>
642
643 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
644 and ELF64_R_TYPE with ELFW(R_TYPE).
645
eee2bc67
JM
6462012-05-08 Joseph Myers <joseph@codesourcery.com>
647
7ea5391a
JM
648 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
649 (ulimit): Likewise.
650
eee2bc67
JM
651 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
652 (settimeofday): Likewise.
653
abb66a67
MF
6542012-05-08 Mike Frysinger <vapier@gentoo.org>
655
656 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
657 a struct th_u2 inside the union, and move tu_block/tu_code into
658 a new th_u3 union of tu_block/tu_code inside of that. Move
659 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
660 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
661 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
662 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
663 (th_stuff): Change to th_u1.tu_stuff.
664 (th_data): Define.
665 (th_msg): Change to th_u1.th_u2.tu_data.
666
7f18b530
DM
6672012-05-07 David S. Miller <davem@davemloft.net>
668
05760585
DM
669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
670
7f18b530
DM
671 [BZ #14074]
672 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
673 (SETUP_PIC_REG): Use it.
674 (SETUP_PIC_REG_LEAF): Use it.
675
495fd99f
JM
6762012-05-07 Joseph Myers <joseph@codesourcery.com>
677
678 [BZ #13885]
679 [BZ #13923]
680 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
681 USE_AS_EXPM1L.
682 (EXPL_FINITE): Likewise.
683 (FLDLOG): Likewise.
684 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
685 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
686 e_expl.S.
687 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
688 USE_AS_EXPM1L.
689 (EXPL_FINITE): Likewise.
690 (FLDLOG): Likewise.
691 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
692 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
693 e_expl.S.
694 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
695 test of -max_value argument for long double.
696 * sysdeps/i386/fpu/libm-test-ulps: Update.
697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
698
6693d694
DM
6992012-05-06 David S. Miller <davem@davemloft.net>
700
701 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
702 quad soft-float symbols whose references which are compiler
703 generated.
704 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
705
6c23e11c
JM
7062012-05-06 Joseph Myers <joseph@codesourcery.com>
707
d8b82cad
JM
708 [BZ #13884]
709 [BZ #13914]
710 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
711 USE_AS_EXP10L.
712 (EXPL_FINITE): Likewise.
713 (FLDLOG): Likewise.
714 (c0): Likewise.
715 (c1): Likewise.
716 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
717 Adjust comments for base varying.
718 (__expl_finite): Change alias to EXPL_FINITE.
719 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
720 e_expl.S.
721 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
722 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
723 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
724 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
725 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
726 USE_AS_EXP10L.
727 (EXPL_FINITE): Likewise.
728 (FLDLOG): Likewise.
729 (c0): Likewise.
730 (c1): Likewise.
731 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
732 Adjust comments for base varying.
733 (__expl_finite): Change alias to EXPL_FINITE.
734 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
735 tests for bugs.
736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
737
6c23e11c
JM
738 [BZ #14064]
739 * math/libm-test.inc (check_float_internal): Correct ulp
740 calculation for subnormal expected results.
741
29ba805c
AJ
7422012-05-06 Andreas Jaeger <aj@suse.de>
743
744 * Makeconfig (+math-flags): New, set to -frounding-math.
745 (+cflags): Add +math-flags so that all of glibc gets compiled with
746 it.
747
748 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
749
7b17aeda
JM
7502012-05-05 Joseph Myers <joseph@codesourcery.com>
751
5779f134
JM
752 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
753 Disable one test.
754
41498f4d
JM
755 [BZ #13787]
756 [BZ #13922]
757 [BZ #14036]
758 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
759 (__ieee754_expl): Allow for and saturate large arguments.
760 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
761 (u_threshold): Likewise.
762 (__exp): Call __ieee754_exp before checking for overflow and
763 underflow.
764 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
765 (u_threshold): Likewise.
766 (__expf): Call __ieee754_expf before checking for overflow and
767 underflow.
768 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
769 (u_threshold): Likewise.
770 (__expl): Call __ieee754_expl before checking for overflow and
771 underflow.
772 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
773 (__ieee754_expl): Allow for and saturate large arguments.
774 * math/libm-test.inc (exp_test): Add another test. Do not allow
775 missing overflow exception on overflow.
776 (expm1_test): Do not allow missing overflow exception on overflow.
777
6698b8bf
JM
778 * sysdeps/i386/fpu/e_expl.c: Move to ...
779 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
780 rather than using inline asm.
781 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
782 * sysdeps/x86_64/fpu/e_expl.S: Copy from
783 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
784
7b17aeda
JM
785 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
786 (nice): Likewise.
787 (poll): Likewise.
788 (signal): Likewise.
789 (time): Likewise.
790 (times): Likewise.
791
f7c85819
JM
7922012-05-04 Joseph Myers <joseph@codesourcery.com>
793
794 * sysdeps/unix/syscalls.list (adjtime): Add entry from
795 sysdeps/unix/common/syscalls.list.
796 (fchmod): Likewise.
797 (fchown): Likewise.
798 (ftruncate): Likewise.
799 (getrusage): Likewise.
800 (gettimeofday): Likewise.
801 (setpgid): Likewise.
802 (setregid): Likewise.
803 (setreuid): Likewise.
804 (sigaction): Likewise.
805 (truncate): Likewise.
806 (vhangup): Likewise.
807 * sysdeps/unix/common/syscalls.list: Remove file.
808 * sysdeps/unix/bsd/Implies: Don't include unix/common.
809 * sysdeps/unix/sysv/linux/Implies: Likewise.
810
336270d0
L
8112012-05-04 H.J. Lu <hongjiu.lu@intel.com>
812
813 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
815 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
816 Moved to ...
817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
818 Here.
819 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
820 to ...
821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
822 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
823 to ...
824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
825 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
826 to ...
827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
828 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
829 to ...
830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
831 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
832 to ...
833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
834 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
835 to ...
836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
837 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
838 to ...
839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
840 Here.
841 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
842 to ...
843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
844 Here.
845 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
846 to ...
847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
848 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
849 Moved to ...
850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
851 Here.
852 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
853 to ...
854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
855
d128e450
JM
8562012-05-04 Joseph Myers <joseph@codesourcery.com>
857
fa8ee516
JM
858 * sysdeps/unix/common/bits/dirent.h: Remove file.
859 * sysdeps/unix/common/bits/fcntl.h: Likewise.
860
d128e450
JM
861 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
862 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
863 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
864 * sysdeps/unix/bsd/isatty.c: Likewise.
865 * sysdeps/unix/bsd/tcdrain.c: Likewise.
866 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
867 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
868
ff8faaf0 8692012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 870
62881be4 871 [BZ #13563]
31dc8730
AZ
872 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
873 long double comparison inaccuracies.
874 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
876
6fef930c
AS
8772012-05-04 Andreas Schwab <schwab@linux-m68k.org>
878
879 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
880 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
881
8f203e6c
JM
8822012-05-04 Joseph Myers <joseph@codesourcery.com>
883
884 [BZ #14049]
885 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
886 nonzero digits before rounding a hex value.
887 * stdlib/tst-strtod.c (tests): Add another test.
888
5197d9c2
AK
8892012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
890
891 * sysdeps/s390/fpu/libm-test-ulps: Update.
892
f0c1dedf
AJ
8932012-05-03 Andreas Jaeger <aj@suse.de>
894
895 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
896 does not get optimized out.
897 (malloc_opt_barrier): New.
898
a65ef2ae 8992012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 900 Roland McGrath <roland@hack.frob.com>
a65ef2ae 901
2b942cb7 902 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 903 intermediate file deletion.
2b942cb7 904 (generated): Add .symlist files.
a65ef2ae 905
54b71e02
JM
9062012-05-03 Joseph Myers <joseph@codesourcery.com>
907
908 [BZ #13775]
909 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
910 Redirect under this condition.
911 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
912 [__USE_GNU] (__dprintf_chk): Not under this condition.
913 [__USE_GNU] (__vdprintf_chk): Likewise.
914 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
915 under this condition.
916 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
917 [__USE_XOPEN2K8] (dprintf): Define under this condition.
918 [__USE_XOPEN2K8] (vdprintf): Likewise.
919 [__USE_GNU] (__dprintf_chk): Not under this condition.
920 [__USE_GNU] (__vdprintf_chk): Likewise.
921 [__USE_GNU] (dprintf): Likewise.
922 [__USE_GNU] (vdprintf): Likewise.
923
d3dfcc41
RM
9242012-05-03 Roland McGrath <roland@hack.frob.com>
925
926 * elf/Makefile (common-generated): Set this instead of generated for
927 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
928 $(all-built-dso)-derived lists.
929
7ac30cc5
AJ
9302012-05-03 Andreas Jaeger <aj@suse.de>
931
0c51e550
AJ
932 * sysdeps/i386/fpu/libm-test-ulps: Update.
933
7ac30cc5
AJ
934 * FAQ: Removed.
935 * FAQ.in: Likewise.
936 * scripts/gen-FAQ.pl: Likewise.
937 * manual/install.texi (Installation): Point to online location of
938 FAQ.
939 * Makefile (files-for-dist): Remove FAQ.
940 (FAQ): Remove.
941
d4c2917f
AM
9422012-05-02 Allan McRae <allan@archlinux.org>
943
944 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
945 (LDFLAGS-reldepmod5.so): Likewise.
946 (LDFLAGS-reldep6mod1.so): Likewise.
947 (LDFLAGS-reldep6mod4.so): Likewise.
948 (LDFLAGS-reldep8mod3.so): Likewise.
949 (LDFLAGS-unload4mod1.so): Likewise.
950 (LDFLAGS-unload4mod2.so): Likewise.
951 (LDFLAGS-tst-initorder): Likewise.
952 (LDFLAGS-tst-initordera2.so): Likewise.
953 (LDFLAGS-tst-initordera3.so): Likewise.
954 (LDFLAGS-tst-initordera4.so): Likewise.
955 (LDFLAGS-tst-initorderb2.so): Likewise.
956 (LDFLAGS-noload): Likewise.
957 (LDFLAGS-next): Likewise.
958 (LDFLAGS-order2mod1.so): Likewise.
959 (LDFLAGS-order2mod2.so): Likewise.
960 (LDFLAGS-tst-initorder2): Likewise.
961 (LDFLAGS-tst-initorder2a.so): Likewise.
962 (LDFLAGS-tst-initorder2b.so): Likewise.
963 (LDFLAGS-tst-initorder2c.so): Likewise.
964 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
965
d77f993f
DM
9662012-05-02 David S. Miller <davem@davemloft.net>
967
968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
969
171a70b4
PP
9702012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
971
972 [BZ #14055]
973 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
974
0be196ad
AJ
9752012-05-02 Andreas Jaeger <aj@suse.de>
976
977 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
978 since we manipulate rounding mode.
979 (CPPFLAGS-test-idouble.c): Likewise.
980 (CPPFLAGS-test-ifloat.c): Likewise.
981 (CFLAGS-test-ldouble.c): Likewise.
982 (CFLAGS-test-double.c): Likewise.
983 (CFLAGS-test-float.c): Likewise.
984 (CFLAGS-test-misc.c): Likewise.
985 (CFLAGS-test-test-fenv.c): Likewise.
986
4f9d04aa
AZ
9872012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
988
2b942cb7
RM
989 [BZ #2550]
990 [BZ #2570]
991 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
992 comparisons to determine direction to adjust input.
4f9d04aa 993
82a79e7d
RM
9942012-05-01 Roland McGrath <roland@hack.frob.com>
995
f5a01ca9
RM
996 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
997 output to the target.
998
90fe4186
RM
999 * scripts/localplt.awk: New file.
1000 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1001 (check-localplt-CFLAGS): Variable removed.
1002 ($(all-built-dso:=.jmprel)): New static pattern rule.
1003 (generated): Add those targets.
1004 (localplt-built-dso): New variable.
1005 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1006
1007 * elf/check-localplt.c: File removed.
1008
82397ed6
RM
1009 * scripts/check-execstack.awk: New file.
1010 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1011 (check-execstack-CFLAGS): Variable removed.
1012 ($(objpfx)check-execstack.h): Target removed.
1013 ($(objpfx)execstack-default): New target.
1014 (generated): Add that instead of check-execstack.h.
1015 ($(all-built-dso:=.phdr)): New static pattern rule.
1016 (generated): Add those targets.
1017 * elf/check-execstack.c: File removed.
1018
82a79e7d
RM
1019 * scripts/check-textrel.awk: New file.
1020 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1021 (check-textrel-CFLAGS): Variable removed.
1022 (all-built-dso): Use := to define.o
1023 ($(all-built-dso:=.dyn)): New static pattern rule.
1024 (generated): Add those targets.
1025 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1026 * config.make.in (READELF): New substituted variable.
1027 * elf/check-textrel.c: File removed.
1028
62fde54f 10292012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1030
615605c9
JM
1031 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1032 allow.
1033 * conform/data/ctype.h-data [C99-based standards] (isblank):
1034 Expect function.
1035 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1036 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1037 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1038 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1039 Specify type. Require positive value.
1040 (EILSEQ): Likewise.
1041 (ERANGE): Likewise.
1042 [ISO || POSIX] (EILSEQ): Do not expect.
1043 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1044 Specify type. Require positive value.
1045 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1046 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1047 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1048 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1049 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1050 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1051 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1052 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1053 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1054 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1055 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1056 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1057 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1058 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1059 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1060 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1061 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1062 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1063 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1064 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1065 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1066 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1067 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1068 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1069 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1070 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1071 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1072 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1073 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1074 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1075 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1076 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1077 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1078 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1079 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1080 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1081 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1082 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1083 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1084 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1085 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1086 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1087 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1088 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1089 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1090 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1091 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1092 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1093 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1094 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1095 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1096 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1097 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1098 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1099 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1100 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1101 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1102 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1103 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1104 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1105 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1106 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1108 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1109 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1110 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1111 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1112 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1113 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1114 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1115 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1116 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1117 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1118 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1119 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1120 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1121 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1122 Require >= 2.
1123 (FLT_ROUNDS): Expect as macro, not constant.
1124 (FLT_MANT_DIG): Use macro-int-constant.
1125 (DBL_MANT_DIG): Likewise.
1126 (LDBL_MANT_DIG): Likewise.
1127 (FLT_DIG): Likewise.
1128 (DBL_DIG): Likewise.
1129 (LDBL_DIG): Likewise.
1130 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1131 (DBL_MIN_EXP): Likewise.
1132 (LDBL_MIN_EXP): Likewise.
1133 (FLT_MAX_EXP): Use macro-int-constant.
1134 (DBL_MAX_EXP): Likewise.
1135 (LDBL_MAX_EXP): Likewise.
1136 (FLT_MAX_10_EXP): Likewise.
1137 (DBL_MAX_10_EXP): Likewise.
1138 (LDBL_MAX_10_EXP): Likewise.
1139 (FLT_MAX): Use macro-constant.
1140 (DBL_MAX): Likewise.
1141 (LDBL_MAX): Likewise.
1142 (FLT_EPSILON): Use macro-constant. Give upper bound.
1143 (DBL_EPSILON): Likewise.
1144 (LDBL_EPSILON): Likewise.
1145 (FLT_MIN): Likewise.
1146 (DBL_MIN): Likewise.
1147 (LDBL_MIN): Likewise.
1148 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1149 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1150 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1151 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1152 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1153 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1154 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1155 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1156 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1157 [ISO11] (FLT_TRUE_MIN): Likewise.
1158 [ISO11] (LDBL_TRUE_MIN): Likewise.
1159 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1160 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1161 (SCHAR_MIN): Use macro-int-constant. Specify type.
1162 (SCHAR_MAX): Likewise.
1163 (UCHAR_MAX): Likewise.
1164 (CHAR_MIN): Likewise.
1165 (CHAR_MAX): Likewise.
1166 (MB_LEN_MAX): Use macro-int-constant.
1167 (SHRT_MIN): Use macro-int-constant. Specify type.
1168 (SHRT_MAX): Likewise.
1169 (USHRT_MAX): Likewise.
1170 (INT_MAX): Likewise.
1171 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1172 bound negative.
1173 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1174 bound with "U".
1175 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1176 bound with "L".
1177 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1178 bound negative. Suffix upper bound with "L".
1179 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1180 bound with "UL".
1181 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1182 Specify type.
1183 [C99-based standards] (LLONG_MAX): Likewise.
1184 [C99-based standards] (ULLONG_MAX): Likewise.
1185 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1186 == 0.
1187 [ISO11] (max_align_t): Require type.
1188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1189
c9140a62
JM
1190 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1191 from $CFLAGS, without defining away __attribute__ calls.
1192 (checknamespace): Use $CFLAGS_namespace.
1193
9af0bf29
JM
1194 * conform/conformtest.pl (@keywords): Only include C99 keywords
1195 for standards based on C99 or C11.
1196
343222a2
JM
1197 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1198 Disable tests.
1199 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1200 UNIX98]: Likewise.
1201
661f8cf0
JM
1202 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1203 usability of symbols in #if.
1204
ee74b9cb
JM
1205 * conform/conformtest.pl: If macro or constant types start
1206 "promoted:", expect the symbol to be of the following type
1207 promoted by the integer promotions.
62fde54f 1208
aafc49b3
JM
1209 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1210 in one place. Also handle "macro-constant".
1211
fefdf574
JM
1212 * conform/conformtest.pl: Only accept expected macro values with
1213 "==". Parse all "macro" lines in one place.
1214 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1215
f2d922fe
JM
1216 * conform/conformtest.pl: Handle braced types on "constant" lines
1217 instead of handling "typed-constant".
1218 * conform/data/signal.h-data: Use "constant" instead of
1219 "typed-constant".
1220
d22956c9
JM
1221 * conform/conformtest.pl: Handle "optional-" at start of lines in
1222 one place rather than duplicating several cases. Handle each
1223 format of "macro" line with initial "optional-".
1224
028e2e38
JM
1225 * conform/conformtest.pl: Only accept expected constant or
1226 optional-constant values with "==". Parse all "constant" lines in
1227 one place. Parse all "optional-constant" lines in one place.
1228 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1229 * conform/data/fmtmsg.h-data: Likewise.
1230 * conform/data/netinet/in.h-data: Likewise.
1231 * conform/data/tar.h-data: Likewise.
1232 * conform/data/limits.h-data: Use "==" form on "constant" and
1233 "optional-constant" lines.
1234
1b8f2850
JM
1235 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1236 Use -std=c99 for XOPEN2K.
1237 (@knownproblems): Remove.
1238 (newtoken): Don't check %isknown.
1239
a05a144b
JM
1240 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1241 Do not expect macro.
1242 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1243 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1244 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1245 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1246 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1247 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1248 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1249 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1250 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1251 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1252 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1253 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1254 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1255 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1256 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1257 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1259 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1260 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1261 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1262 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1263 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1267 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1268 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1269 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1270 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1271 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1272 [XPG3] (acosh): Likewise.
1273 [XPG3] (asinh): Likewise.
1274 [XPG3] (atanh): Likewise.
1275 [XPG3] (cbrt): Likewise.
1276 [XPG3] (expm1): Likewise.
1277 [XPG3] (ilogb): Likewise.
1278 [XPG3] (log1p): Likewise.
1279 [XPG3] (logb): Likewise.
1280 [XPG3] (nextafter): Likewise.
1281 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1282 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1283 [XPG3] (remainder): Likewise.
1284 [XPG3] (rint): Likewise.
1285 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1286 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1287 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1288 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1289 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1290 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1291 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1292 [UNIX98 || XOPEN2K] (scalb): Expect.
1293 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1294 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1295 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1299 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1300 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1302 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1308 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1311 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1312 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1313 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1314 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1315 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1329 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1330 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1331 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1332 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1336 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1349 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1350 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1351 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1353 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1354 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1355 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1359 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1364 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1365 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1366 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1367 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1368 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1370 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1371 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1372 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1373 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1374 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1375 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1376 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1378 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1379 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1380 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1381 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1382 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1383 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1384 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1385 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1386 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1387 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1388 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1389 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1390 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1391 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1392 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1393 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1394 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1395 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1396 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1397 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1398 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1399 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1400 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1401 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1402 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1403 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1404 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1405 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1406 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1407 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1408 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1409 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1410 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1411 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1412 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1413 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1414 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1415 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1416 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1417 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1418 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1419 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1420 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1421 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1422 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1423 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1424 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1425 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1426 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1427 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1428 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1429 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1430
73c5ebe3
JM
1431 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1432 _XOPEN_SOURCE_EXTENDED for XPG4.
1433
39c33b6c
JM
1434 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1435
62fde54f
JM
1436 * Makeconfig (localtime): Remove variable.
1437 (inst_localtime-file): Likewise.
1438
0741d64c
AS
14392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1440
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1442 Update.
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1444 Update.
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1446 Update.
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1448 Update.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1450 Update.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1452 Update.
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1454 Update.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1456 Update.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1458 Update.
1459
7cb029ee
JM
14602012-05-01 Joseph Myers <joseph@codesourcery.com>
1461
1462 [BZ #2550]
1463 [BZ #2570]
1464 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1465 comparisons to determine direction to adjust input.
1466 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1467 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1468 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1469 Likewise.
1470 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1471 Likewise.
1472 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1473 Likewise.
1474 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1475 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1476 Likewise.
1477 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1478 Likewise.
1479 * math/libm-test.inc (nexttoward_test): Add more tests.
1480
412bd966
AS
14812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1482
1483 [BZ #14040]
1484 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1485 in version GLIBC_2.1, not GLIBC_2.0.
1486 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1487 Likewise.
1488
9568c0c2
JM
14892012-04-30 Joseph Myers <joseph@codesourcery.com>
1490
adfbc8ac
JM
1491 [BZ #13942]
1492 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1493 (1 - x) * (1 + x).
1494 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1495 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1496 * math/libm-test.inc (acos_test): Add more tests.
1497 (asin_test): Likewise.
1498 * sysdeps/i386/fpu/libm-test-ulps: Update.
1499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1500
5ba3cc69
JM
1501 [BZ #14034]
1502 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1503 of square root.
1504 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1505 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1506 * math/libm-test.inc (acos_test_tonearest): New function.
1507 (acos_test_towardzero): Likewise.
1508 (acos_test_downward): Likewise.
1509 (acos_test_upward): Likewise.
1510 (asin_test_tonearest): Likewise.
1511 (asin_test_towardzero): Likewise.
1512 (asin_test_downward): Likewise.
1513 (asin_test_upward): Likewise.
1514 (main): Call the new functions.
1515 * sysdeps/i386/fpu/libm-test-ulps: Update.
1516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1517
9568c0c2
JM
1518 [BZ #13884]
1519 [BZ #13924]
1520 * math/e_exp10.c: Include <float.h>.
1521 (__ieee754_exp10): Handle underflow here rather than multiplying
1522 large negative argument by M_LN10.
1523 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1524 of __ieee754_expf.
1525 * math/e_exp10l.c: Include <float.h>.
1526 (__ieee754_exp10l): Handle underflow here rather than multiplying
1527 large negative argument by M_LN10l.
1528 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1529 spurious overflow exception on underflow.
1530
5ac3ea17
MP
15312012-04-29 Marek Polacek <polacek@redhat.com>
1532
1533 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1534 (__fortify_function): New macro.
1535 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1536 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1537 __extern_always_inline.
1538 * libio/bits/stdio2.h: Likewise.
1539 * libio/bits/stdio.h: Likewise.
1540 * string/string.h: Likewise.
1541 * string/bits/string3.h: Likewise.
1542 * include/stdio.h: Likewise.
1543 * stdlib/bits/stdlib.h: Likewise.
1544 * stdlib/stdlib.h: Likewise.
1545 * rt/bits/mqueue2.h: Likewise.
1546 * rt/mqueue.h: Likewise.
1547 * posix/bits/unistd.h: Likewise.
1548 * posix/unistd.h: Likewise.
1549 * io/bits/poll2.h: Likewise.
1550 * io/bits/fcntl2.h: Likewise.
1551 * io/fcntl.h: Likewise.
1552 * io/sys/poll.h: Likewise.
1553 * misc/bits/syslog.h: Likewise.
1554 * misc/bits/syslog-ldbl.h: Likewise.
1555 * misc/sys/syslog.h: Likewise.
1556 * socket/bits/socket2.h: Likewise.
1557 * socket/sys/socket.h: Likewise.
1558 * debug/tst-chk1.c: Likewise.
1559 * wcsmbs/bits/wchar2.h: Likewise.
1560 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1561 * wcsmbs/wchar.h: Likewise.
1562
ecf0ebfb
AJ
15632012-04-29 Andreas Jaeger <aj@suse.de>
1564
1565 * Makerules (tests): Remove enable-check-abi protection.
1566 (check-abi-warn): Remove.
1567 (check-abi-%): Remove check-abi-warn usage.
1568
1569 * configure.in: Remove check-abi configure option.
1570 * configure: Regenerated.
1571 * config.make.in (enable-check-abi): Remove.
1572
6d5c57fa
AS
15732012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1574
24c5d07e 1575 [BZ #14033]
ded5180a
AS
1576 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1577 double functions to double *_finite functions.
1578
7e0d315d
AS
1579 [BZ #13941]
1580 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1581 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1582 LDBL_MIN_EXP.
1583 * stdio-common/Makefile (tests): Add tst-sprintf3.
1584 * stdio-common/tst-sprintf3.c: New file.
1585
6d5c57fa
AS
1586 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1587 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1588
0749ff8b
JM
15892012-04-28 Joseph Myers <joseph@codesourcery.com>
1590
1591 * conform/conformtest.pl: Remove duplicate typed-constant
1592 handling.
1593
8dbd5d7b
DM
15942012-04-28 David S. Miller <davem@davemloft.net>
1595
1596 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1597 (check-abi-%): Remove AWK script prerequisite and explicit
1598 abilist directory.
1599 (check-abi): Rewrite to just diff the symlist with the abilist.
1600 (config-tls, config-abi-config): Delete, no longer used.
1601 (update-abi-%): Remove AWK script and explicit abilist directory.
1602 (update-abi): Rewrite to simply compare and conditionally copy the
1603 symlist and the sysdep abilist file. Remove update-abi-config
1604 checks.
1605 * abilist/ld.abilist: Remove.
1606 * abilist/libBrokenLocale.abilist: Remove.
1607 * abilist/libanl.abilist: Remove.
1608 * abilist/libcrypt.abilist: Remove.
1609 * abilist/libdl.abilist: Remove.
1610 * abilist/librt.abilist: Remove.
1611 * abilist/libthread_db.abilist: Remove.
1612 * abilist/libutil.abilist: Remove.
1613 * scripts/extract-abilist.awk: Remove.
1614 * scripts/merge-abilist.awk: Remove.
1615 * sysdeps/generic/libcidn.abilist: New file.
1616 * sysdeps/generic/libnss_compat.abilist: New file.
1617 * sysdeps/generic/libnss_db.abilist: New file.
1618 * sysdeps/generic/libnss_dns.abilist: New file.
1619 * sysdeps/generic/libnss_files.abilist: New file.
1620 * sysdeps/generic/libnss_hesiod.abilist: New file.
1621 * sysdeps/generic/libnss_nis.abilist: New file.
1622 * sysdeps/generic/libnss_nisplus.abilist: New file.
1623 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1624 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1625 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1626 file.
1627 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1628 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1629 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1630 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1631 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1632 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1633 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1634 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1635 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1636 file.
1637 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1638 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1639 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1640 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1641 file.
1642 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1643 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1644 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1645 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1646 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1647 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1648 file.
1649 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1650 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1651 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1652 file.
1653 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1655 New file.
1656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1657 New file.
1658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1659 New file.
1660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1661 New file.
1662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1663 New file.
1664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1665 New file.
1666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1667 New file.
1668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1669 New file.
1670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1671 New file.
1672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1673 New file.
1674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1675 New file.
1676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1677 New file.
1678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1679 New file.
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1681 file.
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1683 New file.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1685 New file.
1686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1687 file.
1688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1689 New file.
1690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1691 New file.
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1693 file.
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1695 New file.
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1697 New file.
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1699 New file.
1700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1701 New file.
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1703 New file.
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1705 New file.
1706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1708 file.
1709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1710 New file.
1711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1712 file.
1713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1714 file.
1715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1716 file.
1717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1718 file.
1719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1720 file.
1721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1722 New file.
1723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1724 file.
1725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1726 file.
1727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1728 New file.
1729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1730 file.
1731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1733 file.
1734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1735 New file.
1736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1737 file.
1738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1739 file.
1740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1741 file.
1742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1743 file.
1744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1745 file.
1746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1747 New file.
1748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1749 file.
1750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1751 file.
1752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1753 New file.
1754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1755 file.
1756 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1757 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1758 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1759 file.
1760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1761 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1762 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1763 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1764 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1765 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1766 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1767 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1768 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1769 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1772 file.
1773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1774 New file.
1775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1776 file.
1777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1778 file.
1779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1780 file.
1781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1782 file.
1783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1784 file.
1785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1786 New file.
1787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1788 New file.
1789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1790 file.
1791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1792 New file.
1793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1794 file.
1795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1797 file.
1798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1799 New file.
1800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1801 file.
1802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1803 file.
1804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1805 file.
1806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1807 file.
1808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1809 file.
1810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1811 New file.
1812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1813 New file.
1814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1815 file.
1816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1817 New file.
1818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1819 file.
1820
41d73a1b
JM
18212012-04-28 Joseph Myers <joseph@codesourcery.com>
1822
1823 * conform/conformtest.pl: Fix typo in handling typed-constant from
1824 allow-header.
1825
28aeeda4
JM
18262012-04-27 Joseph Myers <joseph@codesourcery.com>
1827
adae8f5e
JM
1828 * README: Cut down references to pre-2.6 Linux kernels and
1829 Linuxthreads. Update lists of configurations in libc and ports
1830 and sort alphabetically. Say "or newer" with Linux kernel version
1831 requirements.
1832
28aeeda4
JM
1833 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1834
a462cb63
RA
18352012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1836
1837 [BZ #887]
1838 * math/libm-test.inc (logb_test_downward): New test to expose
1839 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1840 rounding mode.
1841
6ad3493e
JM
18422012-04-27 Joseph Myers <joseph@codesourcery.com>
1843
1844 [BZ #14027]
1845 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1846 to be done.
1847 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1848 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1849
2ce4f015
JM
18502012-04-26 Joseph Myers <joseph@codesourcery.com>
1851
5aeb141a
JM
1852 * sysdeps/unix/i386/brk.S: Remove file.
1853 * sysdeps/unix/i386/dl-brk.S: Likewise.
1854 * sysdeps/unix/i386/pipe.S: Likewise.
1855 * sysdeps/unix/i386/sigreturn.S: Likewise.
1856 * sysdeps/unix/i386/syscall.S: Likewise.
1857 * sysdeps/unix/i386/vfork.S: Likewise.
1858 * sysdeps/unix/i386/wait.S: Likewise.
1859
7143acae
JM
1860 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1861 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1862
2ce4f015
JM
1863 * configure.in (arm*-none*): Do not allow without
1864 --enable-hacker-mode.
1865 (netbsd*): Remove case setting base_os.
1866 (386bsd*): Likewise.
1867 (freebsd*): Likewise.
1868 (bsdi*): Likewise.
1869 (osf*): Likewise.
1870 (sunos*): Likewise.
1871 (ultrix*): Likewise.
1872 (newsos*): Likewise.
1873 (dynix*): Likewise.
1874 (*bsd*): Likewise.
1875 (sysv*): Likewise.
1876 (isc*): Likewise.
1877 (esix*): Likewise.
1878 (sco*): Likewise.
1879 (minix*): Likewise.
1880 (irix4*): Likewise.
1881 (irix6*): Likewise.
1882 (solaris[2-9]*): Likewise.
1883 (none): Likewise.
1884 * configure: Regenerated.
1885
0ac229c8
AZ
18862012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1887
1888 [BZ #11521]
1889 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1890 overflow or cancellation in calculating denominator.
1891 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1892 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1893 down expression to avoid unexpected rounding in newer GCCs.
1894 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1895
33f244f4
DM
18962012-04-26 David S. Miller <davem@davemloft.net>
1897
1898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1899 long-double compat symbols.
1900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1913
cfa1f3e8
DM
19142012-04-25 David S. Miller <davem@davemloft.net>
1915
1916 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1917 HWCAP_* values only after the memory barriers have been defined.
1918 (atomic_full_barrier): Define.
1919 (atomic_read_barrier): Define.
1920 (atomic_write_barrier): Define.
1921
6e236b92
SP
19222012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1923
1924 * shlib-versions: Add libgcc_s version information.
1925 * sysdeps/generic/libgcc_s.h: Remove.
1926 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1927 libgcc_s.h.
1928 * sysdeps/gnu/unwind-resume.c: Likewise.
1929 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1930
aab39a09
DM
19312012-04-25 David S. Miller <davem@davemloft.net>
1932
1933 * sysdeps/unix/sparc/brk.S: Delete.
1934 * sysdeps/unix/sparc/dl-brk.S: Delete.
1935 * sysdeps/unix/sparc/pipe.S: Delete.
1936 * sysdeps/unix/sparc/sysdep.S: Delete.
1937 * sysdeps/unix/sparc/sysdep.h: Delete.
1938 * sysdeps/unix/sparc/vfork.S: Delete.
1939 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1940 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1941 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1942 ret_ERRVAL, r0, r1, MOVE): Define.
1943 (JUMPTARGET): Remove.
1944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1945 sysdeps/unix/sparc/sysdep.h
1946 (ENTRY, END): Remove.
1947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1948
a3cc4f48
JM
19492012-04-25 Joseph Myers <joseph@codesourcery.com>
1950
2ed8cda2
JM
1951 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1952 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1953 -DIS_IN_build.
1954
35d76d59
JM
1955 * timezone/README: Update upstream location and email address for
1956 tzcode and tzdata.
1957 * timezone/zdump.c: Update from tzcode 2012b.
1958 * timezone/zic.c: Likewise.
1959
a3cc4f48
JM
1960 * configure.in (libc_cv_as_needed): Remove test.
1961 * configure: Regenerated.
1962 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1963 conditional definition.
1964 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1965 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1966 * config.make.in (have-as-needed): Remove variable.
1967
ceab42c3
SP
19682012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1969 Paul Pluzhnikov <ppluzhnikov@google.com>
1970
1971 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1972 strings correctly.
1973
3ce2865f
CLT
19742012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1975
1976 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1977 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1978 * sysdeps/sh/strlen.S: Likewise.
1979
f37e0d68
JM
19802012-04-24 Joseph Myers <joseph@codesourcery.com>
1981
ae186e9a
JM
1982 * sysdeps/unix/fork.S: Remove file.
1983 * sysdeps/unix/i386/fork.S: Likewise.
1984 * sysdeps/unix/sparc/fork.S: Likewise.
1985
b96914af
JM
1986 * sysdeps/unix/system.c: Remove file.
1987 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1988
f37e0d68
JM
1989 * sysdeps/unix/getegid.S: Remove file.
1990 * sysdeps/unix/geteuid.S: Likewise.
1991
87ef29ca
RM
19922012-04-24 Roland McGrath <roland@hack.frob.com>
1993
83bcd236
RM
1994 * scripts/check-localplt.awk: New file.
1995 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1996 of diff.
1997 * scripts/data/localplt-generic.data: Add a comment.
1998
87ef29ca
RM
1999 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2000 NODE when __dir_mkfile failed.
2001 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2002 Reported by Ludovic Courtès <ludo@gnu.org>.
2003
e5a6e567
AJ
20042012-04-24 Andreas Jaeger <aj@suse.de>
2005
2006 * Makerules (common-clean): Also remove gen-as-const-headers
2007 files.
2008
c1820385
JM
20092012-04-24 Joseph Myers <joseph@codesourcery.com>
2010
2011 * Makerules (native-compile): Do not change working directory for
2012 build. Use $(OUTPUT_OPTION) in command.
2013 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2014
94e02fc4
AZ
20152012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2016
2017 [BZ #13886]
2018 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2019 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2020 * math/libm-test.inc (floor_test): Add more tests.
2021 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2022
3a533ca3
JM
20232012-04-24 Joseph Myers <joseph@codesourcery.com>
2024
940ab4b3
JM
2025 * sysdeps/unix/getdents.c: Remove file.
2026 * sysdeps/unix/sysv/getdents.c: Likewise.
2027 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2028
90e037bd
JM
2029 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2030 sysdeps/unix/mman/syscalls.list.
2031 (mmap): Likewise.
2032 (mprotect): Likewise.
2033 (msync): Likewise.
2034 (munmap): Likewise.
2035 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2036 * sysdeps/unix/mman/syscalls.list: Remove.
2037 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2038
3a533ca3
JM
2039 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2040 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2041 * configure: Regenerated.
2042 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2043 $(libgcc_s_suffix).
2044 * config.make.in (libgcc_s_suffix): Remove variable.
2045
1ad743de
JM
20462012-04-23 Joseph Myers <joseph@codesourcery.com>
2047
4ad451e2
JM
2048 * sysdeps/unix/sysv/gethostname.c: Move to ...
2049 * sysdeps/posix/gethostname.c: ... here.
2050
5e37ce39
JM
2051 * sysdeps/unix/execve.S: Remove file.
2052
1ad743de
JM
2053 * sysdeps/unix/_exit.S: Remove file.
2054
4e681b5b
AJ
20552012-04-23 Andreas Jaeger <aj@suse.de>
2056
2057 [BZ #13739]
2058 * manual/Makefile: Remove make dist support, there's no
2059 need for a stand-alone documentation tar ball.
2060 (TEXI2DVI): Define always, it's not in Makeconfig.
2061 (dist): Removed.
2062 (tar-it): Removed.
2063 (edition): Removed.
2064 (glibc-doc-$(edition).tar): Removed
2065 (%.Z): Removed.
2066 (%.gz): Removed.
2067 (%.uu): Removed.
2068 (ETAGS): Remove, it's in Makeconfig.
2069 (move-if-change): Remove, it's in Makeconfig.
2070
c0baea34
PE
20712013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2072
2073 [BZ #13970]
2074 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2075 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2076 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2077 (strtod_l, strtof_l, strtold_l): Remove __wur.
2078 It is not necessarily an error to ignore strtol's return value.
2079 One can reliably look at the stored endptr to decide whether
2080 the number had valid syntax.
2081
7c0616fa
AJ
20822012-04-21 Andreas Jaeger <aj@suse.de>
2083
803cb6b7 2084 [BZ #13739]
7c0616fa
AJ
2085 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2086
b0fe253f
JM
20872012-04-21 Joseph Myers <joseph@codesourcery.com>
2088
2089 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2090 * sysdeps/unix/sysv/Versions: Remove file.
2091
8280f22d
MT
20922012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2093
2094 [BZ #13927]
2095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2096
75ce411f 20972012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2098
2099 [BZ #7064]
2100 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2101 version from __vm86.
2102
097d59fa
JM
21032012-04-20 Joseph Myers <joseph@codesourcery.com>
2104
a90f3bcb
JM
2105 * sysdeps/unix/common/lxstat.c: Remove file.
2106 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2107
edc7ea78
JM
2108 * sysdeps/unix/sysv/Makefile: Remove file.
2109
cb78c221
JM
2110 * sysdeps/unix/sysv/direct.h: Remove file.
2111
efa6a45f
JM
2112 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2113 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2114 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2115 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2116 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2117 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2118 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2119
9c9f2d0c
JM
2120 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2121
4541c83b
JM
2122 * sysdeps/unix/xmknod.c: Remove file.
2123 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2124
f5d153a0
JM
2125 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2126
aa746595
JM
2127 * sysdeps/unix/sysv/i386/time.S: Remove file.
2128
cce5905e
JM
2129 * sysdeps/unix/fxstat.c: Remove file.
2130 * sysdeps/unix/xstat.c: Likewise.
2131 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2132
37fa3841
JM
2133 * sysdeps/unix/sysv/sigaction.c: Remove file.
2134
ff1962a3
JM
2135 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2136 (sysdep_headers): Remove variable.
2137 [termio.h not in sysdep_headers] (generated): Likewise.
2138 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2139 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2140 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2141 * sysdeps/unix/sysv/tcflow.c: Likewise.
2142 * sysdeps/unix/sysv/tcflush.c: Likewise.
2143 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2144 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2145 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2146 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2147 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2148
e7740d31
JM
2149 * sysdeps/unix/siglist.c: Remove file.
2150
ee06f18b
JM
2151 * sysdeps/unix/getppid.S: Remove file.
2152
097d59fa
JM
2153 * sysdeps/unix/mkdir.c: Remove file.
2154 * sysdeps/unix/rmdir.c: Likewise.
2155
ff3d51ec
AS
21562012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2157
2158 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2159 ERR_MAX value.
2160 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2161 errlist-compat value.
2162
50f81fd7
DM
21632012-04-18 David S. Miller <davem@davemloft.net>
2164
2165 * sysdeps/generic/memcopy.h (reg_char): Delete.
2166 * debug/strcat_chk.c: Use char, not reg_char.
2167 * debug/strcpy_chk.c: Likewise.
2168 * debug/strncat_chk.c: Likewise.
2169 * debug/strncpy_chk.c: Likewise.
2170 * string/memchr.c: Likewise.
2171 * string/memrchr.c: Likewise.
2172 * string/rawmemchr.c: Likewise.
2173 * string/strcat.c: Likewise.
2174 * string/strchr.c: Likewise.
2175 * string/strchrnul.c: Likewise.
2176 * string/strcmp.c: Likewise.
2177 * string/strcpy.c: Likewise.
2178 * string/strncat.c: Likewise.
2179 * string/strncmp.c: Likewise.
2180 * string/strncpy.c: Likewise.
2181
8ff41c46
WS
21822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2183
2184 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2185 __builtin_memcopy is called when src and dest ranges are known to not
2186 overlap.
2187
6b652f46
WS
21882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2189
2190 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2191 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2192 fwd_align_merge macro call.
2193 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2194 bwd_align_merge macro call.
2195 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2196
b282631e
WS
21972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2198
2199 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2200 bwd_align_merge macros.
2201 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2202 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2203 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2204
95aa737c
DM
22052012-04-18 David S. Miller <davem@davemloft.net>
2206
2207 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2208
7a99a614
AJ
22092012-04-18 Andreas Jaeger <aj@suse.de>
2210
2211 [BZ# 6794]
2212 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2213 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2214 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2215
2216 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2217 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2218 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2219
2220 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2221 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2222 Adjust for changed ldbl-128 files.
2223
2224 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2225 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2226 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2227
e5270c23
DM
22282012-04-17 David S. Miller <davem@davemloft.net>
2229
2230 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2231
fb5e92c9
AS
22322012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2233
2234 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2235 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2236 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2237 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2238 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2239 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2240
76da7265
AZ
22412012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2242
2243 [BZ #6794]
2244 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2245 * math/libm-test.inc: Add ilogb errno and exception tests.
2246 * math/w_ilogb.c: New file: ilogb wrapper.
2247 * math/w_ilogbf.c: New file: ilogbf wrapper.
2248 * math/w_ilogbl.c: New file: ilogbl wrapper.
2249 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2250 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2251 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2252 exception being thrown with 0.0 as argument.
2253 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2254 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2255 exception being thrown with 0.0 as argument.
2256 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2257 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2258 exception being thrown with 0.0 as argument.
2259 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2260 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2261 exception being thrown with 0.0 as argument.
2262 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2263 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2264 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2265 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2266 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2267 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2268 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2269 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2270 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2271
0396e69d
PB
22722012-04-17 Petr Baudis <pasky@ucw.cz>
2273
2274 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2275 with altivec.
2276
750b5926
MP
22772012-04-16 Marek Polacek <polacek@redhat.com>
2278
2279 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2280
751728a1
MP
22812012-04-16 Marek Polacek <polacek@redhat.com>
2282
2283 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2284 operands of fdivp instruction.
2285
34a27407
L
22862012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2287
2288 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2289 * elf/tst-auditmod3b.c: Likewise.
2290 * elf/tst-auditmod4b.c: Likewise.
2291 * elf/tst-auditmod5b.c: Likewise.
2292 * elf/tst-auditmod6b.c: Likewise.
2293 * elf/tst-auditmod6c.c: Likewise.
2294 * elf/tst-auditmod7b.c: Likewise.
2295 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2296 * sysdeps/x86_64/preconfigure.in: Likewise.
2297 * sysdeps/x86_64/preconfigure: Regenerated.
2298
7e73e17d
L
22992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2300
2301 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2302 __ILP32__.
2303
c7a6ab72
AB
23042012-04-13 Antoine Balestrat <merkil33@gmail.com>
2305
2306 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2307 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2308
a9e8e0e0
CL
23092012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2310
2311 [BZ #13973]
2312 * locale/iso-639.def: Fix gl language name. Spotted by
2313 Yaron Shahrabani.
2314
ec98af7d
RM
23152012-04-12 Roland McGrath <roland@hack.frob.com>
2316
2317 [BZ #2074]
2318 * libio/libio.h (__io_write_fn): Update comment.
2319
247c3ede
PB
23202012-04-12 Petr Baudis <pasky@ucw.cz>
2321
2322 [BZ #2074]
2323 * stdio.texi (Hook Functions): The user provided writer function
2324 is not allowed to return -1.
2325
55939d6d
DM
23262012-04-11 David S. Miller <davem@davemloft.net>
2327
2328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2329
90020f5a
MF
23302012-04-11 Mike Frysinger <vapier@gentoo.org>
2331
2332 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2333 Add a leading slash to rtkaio.
2334
288f9098
JM
23352012-04-11 Jim Meyering <meyering@redhat.com>
2336
90020f5a
MF
2337 [BZ #11959]
2338 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2339 It is not necessarily an error to ignore fwrite's return
2340 value. One can reliably use ferror to test for errors after
2341 the fact.
288f9098 2342
4be2b570
L
23432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2344
2345 * bits/types.h (__snseconds_t): New type.
2346 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2347
2348 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2350 (__SNSECONDS_T_TYPE): Likewise.
2351 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2352 (__SNSECONDS_T_TYPE): Likewise.
2353 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2354 (__SNSECONDS_T_TYPE): Likewise.
2355
288f9098 23562012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2357
2358 [BZ #2636]
2359 * manual/time.texi (Processor Time): Return type of times is
2360 elapsed real time since an arbitrary point in the past.
2361 (CPU Time): Move CLK_TCK from here...
2362 (Processor Time): ...to here. Correct description.
2363 * manual/conf.texi (Constants for Sysconf): Correct description of
2364 _SC_CLK_TCK.
2365
d7dd4413
DM
23662012-04-10 David S. Miller <davem@davemloft.net>
2367
2368 [BZ #13967]
2369 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2370 where the is a gap between DT_REL(A) and DT_JMPREL.
2371
b46068fc
L
23722012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2373
2374 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2375 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2376 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2377
73d65cc3
SP
23782012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2379
2380 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2381 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2382 (dl_main): Handle --inhibit-cache.
2383 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2384 _dl_inhibit_cache.
2385 * elf/dl-load.c (_dl_map_object): Use it.
2386 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2387
bcc8d661
JM
23882012-04-09 Joseph Myers <joseph@codesourcery.com>
2389
8f9a2fae
JM
2390 [BZ #13872]
2391 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2392 (__ieee754_powl): Saturate large exponents rather than testing for
2393 overflow of y*log2(x).
2394 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2395 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2396 exceptions.
2397
bcc8d661
JM
2398 [BZ #11521]
2399 * math/s_ctan.c: Include <float.h>.
2400 (__ctan): Avoid internal overflow or cancellation in calculating
2401 denominator.
2402 * math/s_ctanf.c: Likewise.
2403 * math/s_ctanl.c: Likewise.
2404 * math/s_ctanh.c: Likewise.
2405 * math/s_ctanhf.c: Likewise.
2406 * math/s_ctanhl.c: Likewise.
2407 * math/libm-test.inc (ctan_test): Add more tests.
2408 (ctanh_test): Likewise.
2409 * sysdeps/i386/fpu/libm-test-ulps: Update.
2410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2411
823fbbb4
AJ
24122012-04-09 Andreas Jaeger <aj@suse.de>
2413
03879793
AJ
2414 [BZ #6894]
2415 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2416 is an optional BSD extension.
2417
823fbbb4
AJ
2418 [BZ #10254]
2419 * manual/stdio.texi (Opening Streams): Document additional fopen
2420 parameters.
2421
8de131cb
RM
24222012-04-09 Roland McGrath <roland@hack.frob.com>
2423
2424 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2425 %eax without telling the compiler.
2426
c0ed9d7d
CD
24272012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2428
2429 [BZ # 13963]
2430 * manual/install.texi: Use sourceware.org.
2431
c483f6b4
JM
24322012-04-09 Joseph Myers <joseph@codesourcery.com>
2433
d7dd9453
JM
2434 [BZ #13873]
2435 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2436 (__ieee754_pow): Generate overflow and underflow using huge*huge
2437 and tiny*tiny rather than just returning constant infinity or zero
2438 for large exponents.
2439 * math/libm-test.inc (pow_test): Require overflow exceptions for
2440 applicable cases of large exponents.
2441
c483f6b4
JM
2442 [BZ #706]
2443 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2444 (__ieee754_pow): Use iterative multiplication algorithm only for
2445 integer exponents with absolute value below 1024. Check for odd
2446 integer exponents when using algorithm for real exponents.
2447 * math/libm-test.inc (pow_test): Add more tests.
2448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2449
d2de7579
JM
24502012-04-08 Joseph Myers <joseph@codesourcery.com>
2451
2452 [BZ #13705]
2453 * math/libm-test.inc (exp_test): Do not allow overflow exception
2454 on underflow test.
2455
f77f1232
AJ
24562012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2457
2458 [BZ #13705]
2459 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2460 instead of __kernel_standard_f.
2461
3884932b
MF
24622012-04-08 Mike Frysinger <vapier@gentoo.org>
2463
2464 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2465 * sysdeps/x86_64/memset_chk.S: Likewise.
2466
54472e9c
AJ
24672012-04-08 Andreas Jaeger <aj@suse.de>
2468
6ab0fbfc
AJ
2469 [BZ #10153]
2470 * manual/startup.texi (Environment Access): Describe return value
2471 for putenv and setenv.
2472
61efba8c
AJ
2473 [BZ #6895]
2474 * manual/filesys.texi (Directory Entries): Add description for
2475 DT_LNK.
2476
95c3f29a
AJ
2477 [BZ #6890]
2478 * manual/filesys.texi (Directory Entries): Clarify that it's file
2479 system not operating system in the description of DT_UNKNOWN.
2480
54472e9c
AJ
2481 [BZ #6578]
2482 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2483
624254b1
SC
24842012-04-08 Stephen Compall <s11@member.fsf.org>
2485
2486 [BZ #6649]
2487 * manual/llio.texi (Opening and Closing Files): Add cross
2488 reference to explain mode argument.
2489
1e4920e0
MF
24902012-04-07 Mike Frysinger <vapier@gentoo.org>
2491
2492 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2493 * sysdeps/x86_64/memset_chk.S: Likewise.
2494
5ed848f3
DM
24952012-04-07 David S. Miller <davem@davemloft.net>
2496
2497 * elf/elf.h (R_SPARC_WDISP10): Define.
2498 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2499 R_SPARC_SIZE32.
2500 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2501 R_SPARC_SIZE64 and R_SPARC_H34.
2502
96154cd8
CD
25032012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2504
2505 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2506 conditions and remove no longer applicable assertion.
2507
9904dc47
L
25082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2509
2510 * bits/byteswap.h: Include <features.h>.
2511 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2512 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2513
f8887d0a
L
25142012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2515
2516 * bits/byteswap.h (__bswap_16): Removed.
2517 Include <bits/byteswap-16.h> to get __bswap_16.
2518 * sysdeps/i386/bits/byteswap.h: Likewise.
2519 * sysdeps/s390/bits/byteswap.h: Likewise.
2520 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2521 * bits/byteswap-16.h: New file.
2522 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2523 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2524 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2525 * string/Makefile (headers): Add bits/byteswap-16.h.
2526
62470f60
PP
25272012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2528
2529 [BZ #13895]
2530 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2531 extra indirection.
2532 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2533 * nss/tst-nss-static.c: New.
2534
4dad7bab
RM
25352012-04-06 Robert Millan <rmh@gnu.org>
2536
2537 [BZ #6486]
2538 * manual/llio.texi (File Position Primitive): lseek
2539 refers to WHENCE when it really means OFFSET.
2540
e9142a17
AJ
25412012-04-06 Andreas Jaeger <aj@suse.de>
2542
2c040eff
AJ
2543 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2544 strncmp declarations.
2545
e9142a17
AJ
2546 * abilist/libc.abilist: Add __poll and __ppoll.
2547
ff9f1c5f
DM
25482012-04-05 David S. Miller <davem@davemloft.net>
2549
dcd2ae90
DM
2550 * scripts/check-local-headers.sh: Accept a host triplet in the
2551 path matched by the exclude regexp.
2552
993eb054
DM
2553 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2554 definition.
2555 * sysdeps/powerpc/powerpc32/dl-machine.h
2556 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2557 * sysdeps/s390/s390-32/dl-machine.h
2558 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2559 * sysdeps/sparc/sparc32/dl-machine.h
2560 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2561 * sysdeps/sparc/sparc64/dl-machine.h
2562 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2563
ff9f1c5f
DM
2564 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2565 lazy binding.
48e2e132 2566 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2567 undefined symbol errors.
2568
48e2e132 2569 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2570 DT_NEEDED entries.
2571
e80d6f94
MM
25722012-04-05 Michael Matz <matz@suse.de>
2573
2574 [BZ #13592]
2575 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2576
349fa79f
AJ
25772012-04-05 Andreas Jaeger <aj@suse.de>
2578
2579 [BZ #13908]
2580 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2581 comment.
2582
f402708f
KK
25832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2584
2585 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2586 which ROUND is no valid rounding mode.
2587
2ecccfc9
KK
25882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2589
2590 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2591 read again.
2592 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2593
8a53f50f
KK
25942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2595
2596 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2597 an exception using FPU order intentionally.
2598
25992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2600
2601 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2602 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2603 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2604 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2605
d653abb7
SJ
26062012-04-05 Simon Josefsson <simon@josefsson.org>
2607
2608 [BZ #12340]
2609 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2610 EINVAL when BUFLEN is too smal.
2611
c3b1bf7d
TS
26122012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2613
2614 [BZ #13553]
2615 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2616 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2617
b1aa60f3
AJ
26182012-04-03 Andreas Jaeger <aj@suse.de>
2619
c3b1bf7d 2620 [BZ #13938]
67f60a26
AJ
2621 * manual/setjmp.texi (System V contexts): Fix sentence.
2622
b1aa60f3
AJ
2623 [BZ #13926]
2624 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2625 New macro for this case.
2626 [!__GNUC__] (__bswap_64): New inline function for this case.
2627 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2628 * bits/byteswap.h: Likewise.
2629 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2630 ull, guard with __GLIBC_HAVE_LONG_LONG.
2631
2632 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2633 __GLIBC_HAVE_LONG_LONG.
2634
2635 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2636 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2637
39c59c35
TMQMF
26382012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2639
2640 [BZ #13691]
2641 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2642 inptr and inend, rather than using last_ch.
2643
135ffda8
DM
26442012-04-02 David S. Miller <davem@davemloft.net>
2645
2646 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2647 * stdio-common/printf-parse.h (read_int): Change return type to
2648 'int', return -1 on INT_MAX overflow.
2649 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2650 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2651 overflows INT_MAX. Check for overflow of in-format-string precision
2652 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2653 SIZE_MAX not INT_MAX for integer overflow test.
2654 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2655 skip the construct in the format string but do not record anything.
2656 * stdio-common/bug22.c: Adjust to test both width/prevision
2657 INT_MAX overflow as well as total length INT_MAX overflow. Check
2658 explicitly for proper errno values.
2659
228c019e
TS
26602012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2661
302cadd3
TS
2662 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2663 CHAR_MAX.
2664 * string/test-strcmp.c [! WIDE]: Likewise.
2665 * time/tst-mktime2.c: Likewise for INT_MAX.
2666 * string/test-string.h: #include <sys/param.h> for MIN.
2667
228c019e
TS
2668 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2669 * sysdeps/i386/init-first.c (init): Likewise.
2670 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2671 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2672 * sysdeps/sh/init-first.c (init): Likewise.
2673
cfa633f5
UD
26742012-04-01 Ulrich Drepper <drepper@gmail.com>
2675
2676 * po/ru.po: Update from translation team.
d1635ef8 2677 * po/vi.po: Likewise.
cfa633f5 2678
6cd0a5ea
SP
26792012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2680
2681 * resolv/nss_dns/dns-host.c: Merge copyright years.
2682
4b43400f
LD
26832012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2684
2685 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2686 Optimize memcpy with prefetch if
2687 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2688 src, dst pointers have unequal 16 byte alignments.
2689
48c41d04
SP
26902012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2691
2692 [BZ #13928]
2693 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2694 from a CNAME entry and return the minimum ttl for the query.
2695 (gaih_getanswer_slice): Likewise.
2696
b8dc394d
JL
26972012-03-30 Jeff Law <law@redhat.com>
2698
2699 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2700 due to long keys.
2701 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2702 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2703
2f5a5ed0
JL
2704 * resolv/nss_dns/dns-host.c: Update copyright year.
2705
1d39e359
UD
27062012-03-30 Ulrich Drepper <drepper@gmail.com>
2707
c030f70c 2708 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2709 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2710
1d39e359
UD
2711 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2712 comments for sendmmsg.
2713
27142012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2715
2716 [BZ #13691]
2717 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2718 with only 1 character between 0x0041 and 0x01b0.
2719 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2720 * wcsmbs/tst-mbsnrtowcs.c: New file.
2721
20fde227
DM
27222012-03-29 David S. Miller <davem@davemloft.net>
2723
2724 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2725 small copies by hand.
2726
984a4237
JL
27272012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2728
2729 [BZ #13761]
2730 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2731 _nss_compat_initgroups_dyn): Fall back to malloc/free
2732 for large group memberships.
2733
18c9d62b
DM
27342012-03-28 David S. Miller <davem@davemloft.net>
2735
88d85d4f
DM
2736 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2737 that branches into memcpy.
2738 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2739 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2741 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2743 bits.
2744 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2745 implementation too.
2746 * sysdeps/sparc/mempcpy.S: New file.
2747
e5aa83e1
DM
2748 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2749 the IFUNC routine in the libc case.
2750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2751
88570753
DM
2752 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2753 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2754 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2755 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2756 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2757 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2758 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2759 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2760
249d7567
DM
2761 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2762 loop to 256 bytes instead of 64 bytes and fix test signedness.
2763
18c9d62b
DM
2764 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2765 * sysdeps/sparc/sparc32/Makefile: rather than here...
2766 * sysdeps/sparc/sparc64/Makefile: and here.
2767
05f3d1f6
UD
27682012-03-28 Ulrich Drepper <drepper@gmail.com>
2769
2770 * malloc/mallocbug.c: Avoid warnings about unused variables.
2771
86ae07a8
JL
27722012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2773
2774 [BZ #13760]
2775 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2776 in the right place. Discard and retry query if response is
2777 larger than input buffer size.
2778
41bf21a1
JM
27792012-03-28 Joseph Myers <joseph@codesourcery.com>
2780
d6270972
JM
2781 [BZ #369]
2782 [BZ #2678]
2783 [BZ #3866]
2784 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2785 x for large integer exponent.
2786 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2787 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2788 sign of result as needed afterwards.
2789 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2790 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2791 result for underflowing pow the same as for overflow.
2792 (__kernel_standard_l): Handle powl overflow and underflow here
2793 rather than calling __kernel_standard.
2794 * math/libm-test.inc (pow_test): Add more tests.
2795
414fca03 2796 [BZ #3868]
41bf21a1
JM
2797 [BZ #13879]
2798 [BZ #13910]
2799 [BZ #13911]
2800 [BZ #13912]
2801 [BZ #13913]
2802 [BZ #13915]
2803 [BZ #13916]
2804 [BZ #13917]
2805 [BZ #13918]
2806 [BZ #13919]
2807 [BZ #13920]
2808 [BZ #13921]
2809 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2810 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2811 (__kernel_standard_l): New function.
2812 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2813 __kernel_standard.
2814 * math/w_acosl.c (__acosl): Likewise.
2815 * math/w_asinl.c (__asinl): Likewise.
2816 * math/w_atan2l.c (__atan2l): Likewise.
2817 * math/w_atanhl.c (__atanhl): Likewise.
2818 * math/w_coshl.c (__coshl): Likewise.
2819 * math/w_exp10l.c (__exp10l): Likewise.
2820 * math/w_exp2l.c (__exp2l): Likewise.
2821 * math/w_fmodl.c (__fmodl): Likewise.
2822 * math/w_hypotl.c (__hypotl): Likewise.
2823 * math/w_j0l.c (__j0l, __y0l): Likewise.
2824 * math/w_j1l.c (__j1l, __y1l): Likewise.
2825 * math/w_jnl.c (__jnl, __ynl): Likewise.
2826 * math/w_lgammal.c (__lgammal): Likewise.
2827 * math/w_log10l.c (__log10l): Likewise.
2828 * math/w_log2l.c (__log2l): Likewise.
2829 * math/w_logl.c (__logl): Likewise.
2830 * math/w_powl.c (__powl): Likewise.
2831 * math/w_remainderl.c (__remainderl): Likewise.
2832 * math/w_scalbl.c (sysv_scalbl): Likewise.
2833 * math/w_sinhl.c (__sinhl): Likewise.
2834 * math/w_sqrtl.c (__sqrtl): Likewise.
2835 * math/w_tgammal.c (__tgammal): Likewise.
2836 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2837 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2838 * math/libm-test.inc (acos_test): Add more tests.
2839 (acosh_test): Likewise.
2840 (asin_test): Likewise.
2841 (atanh_test): Likewise.
2842 (exp_test): Likewise.
2843 (exp10_test): Likewise.
2844 (exp2_test): Likewise.
2845 (expm1_test): Likewise.
2846 (lgamma_test): Likewise.
2847 (log_test): Likewise.
2848 (log10_test): Likewise.
2849 (log1p_test): Likewise.
2850 (log2_test): Likewise.
2851 (pow_test): Do not allow some spurious overflow exceptions.
2852 (sqrt_test): Add more tests.
2853 (tgamma_test): Likewise.
2854 (y0_test): Likewise.
2855 (y1_test): Likewise.
2856 (yn_test): Likewise.
2857
dd62fda6
AB
28582012-03-27 Anton Blanchard <anton@samba.org>
2859
2860 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2861 MAP_HUGETLB.
2862 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2863 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2864 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2865
1e3cdfda
AJ
28662012-03-27 David S. Miller <davem@davemloft.net>
2867
b855ab85
DM
2868 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2869
1e3cdfda
AJ
2870 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2871 have-as-vis3 check.
2872
28732012-03-27 Andreas Jaeger <aj@suse.de>
2874
2875 * sysdeps/x86_64/elf/configure.in: Moved to ...
2876 * sysdeps/x86_64/configure.in: ... here.
2877 * sysdeps/x86_64/elf/start.S: Moved to ...
2878 * sysdeps/x86_64/start.S: ... here.
2879 * sysdeps/x86_64/elf/configure: Delete.
2880
2881 * sysdeps/x86_64/configure.in: Merge contents from
2882 sysdeps/i386/configure.in (without i686 check).
2883
2884 * sysdeps/i386/elf/Versions: Merge into ...
2885 * sysdeps/i386/Versions: ... this.
2886 * sysdeps/i386/elf/Versions: Delete file.
2887 * sysdeps/i386/elf/start.S: Moved to ...
2888 * sysdeps/i386/start.S: ...here.
2889 * sysdeps/i386/elf/configure.in: Merge into...
2890 * sysdeps/i386/configure.in: ...here.
2891 * sysdeps/i386/elf/configure.in: Delete file.
2892 * sysdeps/i386/elf/configure: Delete file.
2893
2894 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2895 * debug/backtracesyms.c: ... here.
2896 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2897 * debug/backtracesymsfd.c: ... here.
2898 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2899 * sysdeps/generic/ifunc-sel.h: ... here.
2900
2901 * sysdeps/unix/i386/start.c: Delete file.
2902 * sysdeps/unix/sparc/start.c: Delete file.
2903 * sysdeps/unix/start.c: Delete file.
2904
2905 * sysdeps/sh/elf/configure.in: Moved to ...
2906 * sysdeps/sh/configure.in: ... here.
2907 * sysdeps/sh/elf/start.S: Moved to ...
2908 * sysdeps/sh/start.S: ... here.
2909 * sysdeps/sh/elf/configure: Delete file.
2910
2911 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2912 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2913 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2914 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2915 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2916 * sysdeps/powerpc/powerpc64/start.S: here.
2917 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2918 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2919 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2920 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2921 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2922
2923 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2924 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2925 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2926 * sysdeps/powerpc/powerpc32/start.S: ... here.
2927 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2928 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2929 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2930
2931 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2932 * sysdeps/powerpc/ifunc-sel.h: ... here.
2933 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2934 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2935
2936 * sysdeps/sparc/elf/configure.in: Moved to ...
2937 * sysdeps/sparc/configure.in: ... here.
2938 * sysdeps/sparc/elf/configure: Delete file.
2939 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2940 * sysdeps/sparc/sparc32/start.S: ... here.
2941 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2942 * sysdeps/sparc/sparc64/start.S: ... here.
2943 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2944 * sysdeps/sparc/sparc32/Makefile: ... this.
2945 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2946 * sysdeps/sparc/sparc64/Makefile: ... this.
2947
2948 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2949 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2950 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2951 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2952 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2953 * sysdeps/s390/s390-32/setjmp.S: ... here.
2954 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2955 * sysdeps/s390/s390-32/configure.in: ... here.
2956 * sysdeps/s390/s390-32/elf/configure: Delete file.
2957 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2958 * sysdeps/s390/s390-32/start.S: ... here.
2959
2960 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2961 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2962 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2963 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2964 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2965 * sysdeps/s390/s390-64/setjmp.S: ... here.
2966 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2967 * sysdeps/s390/s390-64/configure.in: ... here
2968 * sysdeps/s390/s390-64/elf/configure: Delete file.
2969 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2970 * sysdeps/s390/s390-64/start.S: ... here.
2971 * sysdeps/s390/s390-64/elf/configure: Delete.
2972
2973 * configure.in: Remove support for elf directories in sysdeps.
2974
2975 * configure: Regenerated.
2976 * sysdeps/i386/configure: Regenerated.
2977 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2978 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2979 * sysdeps/s390/s390-32/configure: Regenerated.
2980 * sysdeps/s390/s390-64/configure: Regenerated.
2981 * sysdeps/sh/configure: Regenerated.
2982 * sysdeps/sparc/configure: Regenerated.
2983 * sysdeps/x86_64/configure: Regenerated.
2984
a3f61311
AS
29852012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2986
c876e002
AS
2987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2988
a3f61311
AS
2989 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2990 denormal result into account.
2991
ac4c54f0
RM
29922012-03-25 Roland McGrath <roland@hack.frob.com>
2993
2994 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2995 Reported by Allan McRae <allan@archlinux.org>.
2996
6a9b9c02
JL
29972012-03-23 Jeff Law <law@redhat.com>
2998
2999 * nss/getnssent.c (__nss_getent): Fix typo.
3000
4c42a0c1
DM
30012012-03-23 David S. Miller <davem@davemloft.net>
3002
3003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3004
1532c7ac
L
30052012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3006
3007 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3008 to pad to uint64_t for each field.
3009 (dl_tls_index): Replace unsigned long with uint64_t.
3010
3ff42526
PP
30112012-03-23 Daniel Jacobowitz <dmj@google.com>
3012 Paul Pluzhnikov <ppluzhnikov@google.com>
3013
3014 [BZ #6528]
3015 * grp/Makefile (otherlibs): Don't set it.
3016 * inet/Makefile (otherlibs): Likewise.
3017 * login/Makefile (otherlibs): Likewise.
3018 * nscd/Makefile (otherlibs): Likewise.
3019 * posix/Makefile (otherlibs): Likewise.
3020 * pwd/Makefile (otherlibs): Likewise.
3021 * rt/Makefile (otherlibs): Likewise.
3022 * sunrpc/Makefile (otherlibs): Likewise.
3023 * nss/Makefile (otherlibs): Likewise.
3024 Add libnss_files to routines and static-only-routines.
3025 ($(objpfx)getent): Remove rule.
3026 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3027 static-only-routines.
3028
7c69cd14
JM
30292012-03-22 Joseph Myers <joseph@codesourcery.com>
3030
3031 [BZ #13892]
3032 * math/s_cexp.c: Include <float.h>.
3033 (__cexp): Handle exp result overflowing not necessarily
3034 overflowing both real and imaginary parts of result.
3035 * math/s_cexpf.c: Likewise.
3036 * math/s_cexpl.c: Likewise.
3037 * math/libm-test.inc (cexp_test): Add more tests.
3038 * sysdeps/i386/fpu/libm-test-ulps: Update.
3039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3040
81b035fe
L
30412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3042
3043 * include/link.h (ELFW): New macro.
3044 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3045 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3046
1da7940c
L
30472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3048
3049 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3050 with uint64_t.
3051
b749dbb9
L
30522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3053
3054 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3055 declaration.
3056 (struct La_x32_retval): Likewise.
3057
2ff87f3f
L
30582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3059
3060 * sysdeps/x86_64/preconfigure.in: New file.
3061 * sysdeps/x86_64/preconfigure: New generated file.
3062
c0df8e69
JM
30632012-03-22 Joseph Myers <joseph@codesourcery.com>
3064
48e44791
JM
3065 [BZ #13824]
3066 * math/e_exp2l.c: Include <float.h>.
3067 (__ieee754_exp2l): Handle overflow and underflow cases
3068 separately. Only pass fractional part of argument to
3069 __ieee754_expl.
3070 * math/libm-test.inc (exp2_test): Add more tests.
3071
c0df8e69
JM
3072 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3073 negating x to take absolute value.
3074 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3075 Likewise.
3076 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3077 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3078 Likewise.
3079 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3080 computing low part if x was negated.
3081 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3082
c8e43ba7
L
30832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3084
3085 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3086 la_x32_gnu_pltexit.
3087 (pltexit): Cast int_retval to ptrdiff_t.
3088 * elf/tst-auditmod3b.c: Likewise.
3089 * elf/tst-auditmod4b.c: Likewise.
3090 * elf/tst-auditmod5b.c: Likewise.
3091 * elf/tst-auditmod6b.c: Likewise.
3092 * elf/tst-auditmod6c.c: Likewise.
3093 * elf/tst-auditmod7b.c: Likewise.
3094
3095 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3096 and x32_gnu_pltexit.
3097
3098 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3099 __ELF_NATIVE_CLASS.
3100 (La_x32_regs): New macro.
3101 (La_x32_retval): Likewise.
3102 (la_x32_gnu_pltenter): New function prototype.
3103 (la_x32_gnu_pltexit): Likewise.
3104
7998fa78
AS
31052012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3106
dcb33988
AS
3107 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3108 exponent.
3109
233fc563
AS
3110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3111
7998fa78
AS
3112 * configure.in (libc_cv_cc_nofma): Check for option to disable
3113 generation of FMA instructions.
3114 * configure: Regenerate.
3115 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3116 * sysdeps/ieee754/dbl-64/Makefile: New file.
3117 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3118 Remove brandred-fma4.
3119 (CFLAGS-brandred-fma4.c): Remove.
3120 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3121 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3122 define.
3123 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3124 define.
3125
8e95c99a
L
31262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3127
3128 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3129 LLONG_MAX != LONG_MAX.
3130 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3131 (_fitoa_word): Likewise.
3132 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3133 LLONG_MAX != LONG_MAX.
3134 * stdio-common/_itowa.h: Include <_itoa.h>.
3135 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3136 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3137 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3138 only if not defined.
3139 (_ITOA_WORD_TYPE): Likewise.
3140 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3141 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3142
6f4db457
DM
31432012-03-21 David S. Miller <davem@davemloft.net>
3144
3145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3146
7785fe5a
L
31472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3148
3149 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3150 of x86_64 when setting libc_cv_slibdir, libdir and
3151 libc_cv_localedir.
3152 * sysdeps/unix/sysv/linux/configure: Regenerated.
3153
4535cd55
JM
31542012-03-21 Joseph Myers <joseph@codesourcery.com>
3155
3156 * manual/lang.texi (Old Varargs): Remove section.
3157 (How Variadic): Update menu.
3158 (va_start): Do not mention varargs.h.
3159
17228132
TS
31602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3161 Joseph Myers <joseph@codesourcery.com>
3162
3163 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3164 link test.
3165 * configure: Regenerated.
3166
8149f976
TS
31672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3168
05f3d1f6
UD
3169 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3170 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3171 conformtest.pl
8149f976 3172
1a4ac776
JM
31732012-03-21 Joseph Myers <joseph@codesourcery.com>
3174
be22ce65
JM
3175 * NOTES: Remove.
3176 * Makefile (files-for-dist): Remove NOTES.
3177 (NOTES): Remove rule.
3178 * README: Don't refer to NOTES.
3179 * manual/creature.texi: Don't include macros.texi.
3180 * manual/intro.texi (creature.texi): Remove comment referring to
3181 NOTES.
3182
40b601fb
JM
3183 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3184 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3185 * configure: Regenerated.
3186 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3187 LIBC_TRY_CC_OPTION.
3188 (libc_cv_as_i686): Likewise.
3189 (libc_cv_cc_avx): Likewise.
3190 (libc_cv_cc_sse2avx): Likewise.
3191 (libc_cv_cc_fma4): Likewise.
3192 (libc_cv_cc_novzeroupper): Likewise.
3193 * sysdeps/i386/configure: Regenerated.
3194
1a4ac776
JM
3195 [BZ #13883]
3196 * sysdeps/i386/fpu/s_cexp.S: Remove.
3197 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3198 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3199 * math/libm-test.inc (cexp_test): Add more tests.
3200 * sysdeps/i386/fpu/libm-test-ulps: Update.
3201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3202
a458e7fe
AM
32032012-03-21 Allan McRae <allan@archlinux.org>
3204
3205 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3206
0cb7efc5
JM
32072012-03-21 Joseph Myers <joseph@codesourcery.com>
3208
3209 [BZ #13871]
3210 * math/w_exp2.c: Do not include <float.h>.
3211 (o_threshold, u_threshold): Remove.
3212 (__exp2): Calculate result before checking finiteness and calling
3213 __kernel_standard.
3214 * math/w_exp2f.c: Likewise.
3215 * math/w_exp2l.c: Likewise.
3216 * math/libm-test.inc (exp2_test): Require overflow exception for
3217 1e6 input.
2460d3aa
JM
3218
3219 [BZ #3866]
3220 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3221 range of signed 64-bit integers before using fistpll. Remove
3222 checks for whether integers fit in mantissa bits.
3223 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3224 the range of signed 32-bit integers before using fistpl. Remove
3225 checks for whether integers fit in mantissa bits.
3226 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3227 (__ieee754_powl): Test for y outside the range of signed 64-bit
3228 integers before using fistpll. Reduce 64-bit values to 63-bit
3229 ones as needed.
3230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3231 divide-by-zero is raised for zero to large negative powers.
3232 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3233 (__ieee754_powl): Test for y outside the range of signed 64-bit
3234 integers before using fistpll. Reduce 64-bit values to 63-bit
3235 ones as needed.
3236 * math/libm-test.inc (pow_test): Add more tests.
3237
eb96ffb0
L
32382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3239
3240 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3241 <stdio-common/_itoa.h>.
3242 * debug/segfault.c: Likewise.
3243 * elf/dl-cache.c: Likewise.
3244 * elf/dl-minimal.c: Likewise.
3245 * elf/dl-misc.c: Likewise.
3246 * elf/dl-sysdep.c: Likewise.
3247 * elf/dl-version.c: Likewise.
3248 * elf/rtld.c: Likewise.
3249 * hurd/hurdsock.c: Likewise.
3250 * hurd/lookup-retry.c: Likewise.
3251 * malloc/malloc.c: Likewise.
3252 * malloc/mtrace.c: Likewise.
3253 * nscd/nscd_getgr_r.c: Likewise.
3254 * nscd/nscd_getpw_r.c: Likewise.
3255 * nscd/nscd_getserv_r.c: Likewise.
3256 * posix/getopt_init.c: Likewise.
3257 * posix/wordexp.c: Likewise.
3258 * stdio-common/_itoa.c: Likewise.
3259 * stdio-common/printf_fphex.c: Likewise.
3260 * stdio-common/vfprintf.c: Likewise.
3261 * string/_strerror.c: Likewise.
3262 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3263 * sysdeps/i386/i686/hp-timing.h: Likewise.
3264 * sysdeps/mach/_strerror.c: Likewise.
3265 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3266 * sysdeps/mach/hurd/sethostid.c: Likewise.
3267 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3268 * sysdeps/mach/xpg-strerror.c: Likewise.
3269 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3270 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3271 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3272 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3273 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3274 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3275 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3276 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3277 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3278 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3279 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3280 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3281 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3282 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3283 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3284 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3285 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3286 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3287 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3288 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3289 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3290
3291 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3292
3293 * stdio-common/_itoa.h: Moved to ...
3294 * sysdeps/generic/_itoa.h: Here.
3295
3296 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3297
3298 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3299 instead of "_itoa.h" and "_itowa.h".
3300 * stdio-common/vfprintf.: Likewise.
3301
d1af992d
L
33022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3303
3304 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3305 <bits/wordsize.h>.
3306 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3307 (__signbit): Likwise.
3308 (llrintf): Likwise.
3309 (llrint): Likwise.
3310
114883e0
L
33112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3312
3313 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3314 __WORDSIZE != 64.
3315
c135cc1b
JM
33162012-03-20 Joseph Myers <joseph@codesourcery.com>
3317
3318 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3319 OVERFLOW_EXCEPTION_OK.
3320 * math/libm-test.inc ("Philosophy"): Update comment about
3321 exception testing.
3322 (OVERFLOW_EXCEPTION): Define.
3323 (OVERFLOW_EXCEPTION_OK): Likewise.
3324 (INVALID_EXCEPTION_OK): Renumber.
3325 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3326 (IGNORE_ZERO_INF_SIGN): Likewise.
3327 (test_exceptions): Handle FE_OVERFLOW.
3328 (exp10_test): Expect overflow exceptions.
3329 (exp2_test): Likewise.
3330 (expm1_test): Likewise.
3331 (nextafter_test): Likewise.
3332 (pow_test): Likewise.
3333 (scalbn_test): Likewise.
3334 (scalbln_test): Likewise.
3335
95443d88
L
33362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 * sysdeps/x86_64/bits/atomic.h
3339 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3340 64bit integer.
3341 (atomic_exchange_acq): Likewise.
3342 (__arch_exchange_and_add_body): Likewise.
3343 (__arch_add_body): Likewise.
3344 (atomic_add_negative): Likewise.
3345 (atomic_add_zero): Likewise.
3346
490df6c4
L
33472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3348
c2722551 3349 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3350 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3351
5e52b189
L
33522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3353
3354 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3355 Check __x86_64__ instead of __WORDSIZE.
3356
a9879d4c
L
33572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3358
3359 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3360
5df98260
DM
33612012-03-19 David S. Miller <davem@davemloft.net>
3362
e1497744
DM
3363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3364
5df98260
DM
3365 * sysdeps/sparc/fpu/fenv_private.h: New file.
3366 * sysdeps/sparc/fpu/math_private.h: Use it.
3367 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3368 Remove.
3369 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3370 (libc_feholdexcept_setroundl): Remove.
3371 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3372 Remove.
3373 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3374 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3375
b4c35121
L
33762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3377
3378 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3379 int64_t instead of long int.
3380 (INSERT_WORDS64): Likwise.
3381
56965fd7
L
33822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3383
3384 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3385 _Unwind_GetCFA return to _Unwind_Ptr first.
3386
83d1aec8
JM
33872012-03-19 Joseph Myers <joseph@codesourcery.com>
3388
1897ad44
JM
3389 [BZ #13629]
3390 * math/s_clog.c: Include <float.h>.
3391 (__clog): Scale large or subnormal inputs.
3392 * math/s_clogf.c: Likewise.
3393 * math/s_clogl.c: Likewise.
3394 * math/s_clog10.c: Include <float.h>.
3395 (M_LOG10_2): Define.
3396 (__clog10): Scale large or subnormal inputs.
3397 * math/s_clog10f.c: Likewise.
3398 * math/s_clog10l.c: Likewise.
3399 * math/libm-test.inc (clog_test): Add more tests.
3400 (clog10_test): Likewise.
3401 * sysdeps/i386/fpu/libm-test-ulps: Update.
3402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3403
7726d6a9
JM
3404 [BZ #11451]
3405 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3406 x and y.
3407 * math/libm-test.inc (atan2_test): Add another test.
3408
83d1aec8
JM
3409 * Makerules (common-objdir-compile): Remove.
3410 * sysdeps/unix/Makefile (config-generated): Do not add
3411 $(unix-generated) to variable.
3412 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3413 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3414 Remove rule.
3415 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3416 Likewise.
3417 [generic bits/local_lim.h] (before-compile): Do not append to
3418 variable.
3419 [generic bits/local_lim.h] (common-generated): Likewise.
3420 [generic sys/param.h] (before-compile): Do not append to variable.
3421 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3422 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3423 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3424 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3425 include.
3426 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3427 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3428 [generic sys/param.h] ($(addprefix
3429 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3430 [generic sys/param.h] (common-generated): Do not append to
3431 variable.
3432 [generic sys/param.h] (sysdep_headers): Likewise.
3433 [generic bits/errno.h] (before-compile): Do not append to
3434 variable.
3435 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3436 rule.
3437 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3438 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3439 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3440 [generic bits/errno.h] (common-generated): Do not append to
3441 variable.
3442 [generic bits/ioctls.h] (before-compile): Do not append to
3443 variable.
3444 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3445 rule.
3446 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3447 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3448 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3449 rule.
3450 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3451 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3452 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3453 [generic bits/ioctls.h] (common-generated): Do not append to
3454 variable.
3455 [generic sys/syscall.h] (syscall.h): Remove variable.
3456 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3457 rule.
3458 [generic sys/syscall.h] (before-compile): Do not append to
3459 variable.
3460 [generic sys/syscall.h] (common-generated): Likewise.
3461 * sysdeps/unix/errnos-tmpl.c: Remove file.
3462 * sysdeps/unix/errnos.awk: Likewise.
3463 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3464 * sysdeps/unix/ioctls.awk: Likewise.
3465 * sysdeps/unix/mk-local_lim.c: Likewise.
3466 * sysdeps/unix/snarf-ioctls: Likewise.
3467
4851a949
RH
34682012-03-19 Richard Henderson <rth@twiddle.net>
3469
bd37f2ee
RH
3470 * sysdeps/i386/fpu/fenv_private.h: New file.
3471 * sysdeps/i386/fpu/math_private.h: Use it.
3472 (math_opt_barrier, math_force_eval): Remove.
3473 (libc_feholdexcept_setround_53bit): Remove.
3474 (libc_feupdateenv_53bit): Remove.
3475 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3476 (math_opt_barrier, math_force_eval): Remove.
3477 (libc_feholdexcept): Remove.
3478 (libc_feholdexcept_setround): Remove.
3479 (libc_fetestexcept, libc_fesetenv): Remove.
3480 (libc_feupdateenv_test): Remove.
3481 (libc_feupdateenv, libc_feholdsetround): Remove.
3482 (libc_feresetround): Remove.
3483
d0adc922
RH
3484 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3485 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3486
0fe0f1f8
RH
3487 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3488 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3489 (libc_feupdateenv_testl): New.
3490 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3491 (libc_feupdateenv_testf): New.
3492 (libc_feupdateenv): Use libc_feupdateenv_test.
3493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3494 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3495
eb92c487
RH
3496 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3497 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3498 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3499 (libc_feresetround_noex): New.
3500 (libc_feresetround_noexf): New.
3501 (libc_feresetround_noexl): New.
3502 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3503 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3504 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3505 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3506 SET_RESTORE_ROUND.
3507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3508 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3509 (__cos): Likewise.
3510 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3511 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3512 SET_RESTORE_ROUND_NOEX.
3513 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3514 SET_RESTORE_ROUND_NOEXF.
3515 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3516 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3517 (libc_feholdsetroundf): New.
3518 (libc_feresetround, libc_feresetroundf): New.
3519
7d2e8012
RH
3520 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3521 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3522 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3523
b4dabbb4
RH
3524 * sysdeps/generic/math_private.h: Include <fenv.h>.
3525 (default_libc_feholdexcept): New.
3526 (default_libc_feholdexcept_setround): New.
3527 (default_libc_fesetenv, default_libc_feupdateenv): New.
3528 (libc_feholdexcept): Only define if undefined.
3529 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3530 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3531 (libc_feholdexcept_setroundl): Likewise.
3532 (libc_feholdexcept_setround_53bit): Likewise.
3533 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3534 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3535 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3536 (libc_feupdateenv_53bit): Likewise.
3537 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3538 (libc_feholdexcept): Convert from macro to inline function.
3539 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3540 (libc_fesetenv, libc_feupdateenv): Likewise.
3541
4851a949
RH
3542 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3543 not previously defined.
3544 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3545 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3546 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3547 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3548 * sysdeps/ieee754/flt-32/math_private.h: New file.
3549 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3550 math_private.h below SET_FLOAT_WORD.
3551 (__isnan, __isinf_ns, __finite): Remove.
3552 (__isnanf, __isinf_nsf, __finitef): Remove.
3553
e79d442e
AS
35542012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3555
3556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3557
90b80344
DM
35582012-03-17 David S. Miller <davem@davemloft.net>
3559
3560 [BZ #6471]
3561 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3562 for 2.16.
3563
edc21804
DM
35642012-03-16 David S. Miller <davem@davemloft.net>
3565
77e927af
DM
3566 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3567 warnings.
3568
374976dd
DM
3569 [BZ #6471]
3570 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3571 properly.
3572 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3573 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3574 sysdep_routines when subdir is sysvipc.
3575 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3576 __getshmlba helper.
3577
edc21804
DM
3578 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3579
473c3ef3
L
35802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3581
3582 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3583 [__LP64__].
3584
eb0f39b6
L
35852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3586
3587 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3588 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3589 (__lround): Renamed to ...
3590 (__llround): This. Replace long int with long long int.
3591 Define lround functions as aliases of llround functions.
3592 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3593
6b6cd74b
L
35942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3595
3596 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3597 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3598 adresses to uintptr_t. Replace "long int" and "unsigned long
3599 int" with "greg_t" on va_arg.
3600
f1a77b01
L
36012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3602
3603 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3604 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3605
3606 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3607 Move e_machine check before EI_CLASS check. Handle x32
3608 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3609 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3610 SKIP_EM_IA_64 and include
3611 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3612
3613 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3614 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3615 (add_system_dir): New macro.
3616
3617 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3618 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3619
11b90b9f
JM
36202012-03-16 Joseph Myers <joseph@codesourcery.com>
3621
c36e1d23
JM
3622 [BZ #2551]
3623 [BZ #2552]
3624 [BZ #2553]
3625 [BZ #2554]
3626 [BZ #2562]
3627 [BZ #2563]
3628 [BZ #2565]
3629 [BZ #2566]
3630 [BZ #2576]
3631 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3632 (y0): Likewise.
3633 * math/w_j0f.c (j0f): Likewise.
3634 (y0f): Likewise.
3635 * math/w_j0l.c (__j0l): Likewise.
3636 (__y0l): Likewise.
3637 * math/w_j1.c (j1): Likewise.
3638 (y1): Likewise.
3639 * math/w_j1f.c (j1f): Likewise.
3640 (y1f): Likewise.
3641 * math/w_j1l.c (__j1l): Likewise.
3642 (__y1l): Likewise.
3643 * math/w_jn.c (jn): Likewise.
3644 (yn): Likewise.
3645 * math/w_jnf.c (jnf): Likewise.
3646 (ynf): Likewise.
3647 * math/w_jnl.c (__jnl): Likewise.
3648 (__ynl): Likewise.
3649 * math/libm-test.inc (j0_test): Add more tests.
3650 (j1_test): Likewise.
3651 (jn_test): Likewise. Add trailing semicolon to existing test.
3652 (y0_test): Likewise.
3653 (y1_test): Likewise.
3654 * sysdeps/i386/fpu/libm-test-ulps: Update.
3655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3656
11b90b9f
JM
3657 [BZ #13851]
3658 [BZ #13854]
3659 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3660 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3661 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3662 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3663 (__tanl): Set errno for infinite argument.
3664 * sysdeps/i386/fpu/mptan.c: Remove.
3665 * sysdeps/i386/fpu/s_tan.S: Likewise.
3666 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3667 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3668 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3669 * math/libm-test.inc (tan_test): Add more tests and enable more
3670 tests for double and long double.
3671 * sysdeps/i386/fpu/libm-test-ulps: Update.
3672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3673
6a1bd2a1
JK
36742012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3675
3676 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3677 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3678
10a803e0
RM
36792012-03-16 Roland McGrath <roland@hack.frob.com>
3680
3681 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3682 * configure.in: Use it for both main tree and add-ons.
3683 * configure: Regenerated.
3684
f196c7f7
L
36852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3686
3687 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3688
8848d99d
JM
36892012-03-16 Joseph Myers <joseph@codesourcery.com>
3690
96cbe7f4
JM
3691 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3692 in comment.
3693
8848d99d
JM
3694 [BZ #13851]
3695 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3696 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3700 infinite argument.
3701 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3702 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3703 != 0 for prec == 2.
3704 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3705 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3706 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3707 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3708 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3709 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3710 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3711 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3712 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3713 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3714 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3715 * math/libm-test.inc (cos_test): Add more tests and enable more
3716 tests for long double.
3717 (sin_test): Likewise.
3718 (sincos_test): Likewise.
3719 * sysdeps/i386/fpu/libm-test-ulps: Update.
3720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3721
dd7f4703
DM
37222012-03-16 David S. Miller <davem@davemloft.net>
3723
3724 * sysdeps/sparc/fpu/math_private.h: New file.
3725
006f1daa
DM
37262012-03-15 David S. Miller <davem@davemloft.net>
3727
c0c83bc8
DM
3728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3729 file.
e6a62e18 3730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3732 file.
e6a62e18
DM
3733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3739 sysdep routines.
3740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3741
88cb87d9
DM
3742 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3743 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3744
006f1daa 3745 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3747 sparc-ifunc.h
006f1daa 3748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3750 Likewise.
3751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3752 Likewise.
006f1daa
DM
3753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3757 Likewise.
006f1daa
DM
3758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3763 Likewise.
3764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3765 Likewise.
006f1daa
DM
3766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3772 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3773 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3784 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3785 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3786 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3787 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3788 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3790
11e0098e
AS
37912012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3792
3793 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3794 scaling.
3795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3796
e85b09d0
AJ
37972012-03-15 Andreas Jaeger <aj@suse.de>
3798
3799 [BZ #13852]
3800 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3801 ieee754/flt-32 implementation for sin, cos and sincos.
3802 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3803 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3804 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3805 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3806 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3807 ieee754/flt-32 implementation for tan.
3808
3809 * math/libm-test.inc (cos_test): Enable some large input tests for
3810 float as well
3811 (sin_test): Likewise.
3812 (sincos_test): Likewise.
3813 (tan_test): Add tests for large input.
3814
3815 * sysdeps/i386/fpu/libm-test-ulps: Update.
3816
81c64153
AJ
38172012-03-15 Andreas Jaeger <aj@suse.de>
3818
3819 [BZ #13658]
3820 * math/libm-test.inc (cos_test): Add more test cases.
3821 (sin_test): Likewise.
3822 (sincos_test): Likewise.
3823
7bbfa5c6
AJ
38242012-03-15 Andreas Jaeger <aj@suse.de>
3825
3826 [BZ #13837]
3827 * math/libm-test.inc (cos_test): Add a test case for large input
3828 value.
3829 (sin_test): Likewise.
3830 (sincos_test): Likewise.
3831
38322012-03-15 Andreas Jaeger <aj@suse.de>,
3833 Joseph Myers <joseph@codesourcery.com>
3834
3835 [BZ #13658]
0671f479 3836 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3837 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3838 * sysdeps/i386/fpu/branred.c: Likewise.
3839 * sysdeps/i386/fpu/dosincos.c: Likewise.
3840 * sysdeps/i386/fpu/mpa.c: Likewise.
3841 * sysdeps/i386/fpu/s_cos.S: Likewise.
3842 * sysdeps/i386/fpu/s_sin.S: Likewise.
3843 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3844 * sysdeps/i386/fpu/sincos32.c: Likewise.
3845
3846 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3847 Define.
3848 (libc_feupdateenv_53bit): Define.
3849 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3850 Define.
3851 (libc_feupdateenv_53bit): Define.
3852
3853 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3854 53 bit (without extend i386 double precision).
3855
3856 * math/libm-test.inc (sincos_test): Add tests for large input.
3857 (sin): Likewise.
3858 (cos): Likewise.
3859
3860 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3861
9cad04ea
AS
38622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3863
3864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3865
f7062b9a
DM
38662012-03-15 David S. Miller <davem@davemloft.net>
3867
3868 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3869 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3870 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3871 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3884 file.
f7062b9a 3885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3887 file.
f7062b9a 3888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3890 file.
f7062b9a 3891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3893 file.
f7062b9a
DM
3894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3895 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3896 fmin/fmax sysdep routines.
3897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3898
7bd951ff
DM
38992012-03-14 David S. Miller <davem@davemloft.net>
3900
559398ab
DM
3901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3912 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3921 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3922 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3923 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3924 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3925 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3930 routines.
3931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3932 file.
559398ab 3933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3935 file.
559398ab 3936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3938 file.
559398ab 3939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3941 file.
559398ab 3942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3944 file.
559398ab 3945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3947 file.
3948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3949 file.
3950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3951 file.
3952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3953 file.
3954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3955 New file.
3956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3957 file.
3958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3959 file.
559398ab 3960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3962 file.
559398ab 3963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3965 file.
559398ab 3966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3968 file.
559398ab 3969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3971 VIS3 routines.
559398ab
DM
3972
3973 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3974 New file.
3975
5a1c1e32
DM
3976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3977
eae47a36
DM
3978 * sysdeps/sparc/configure.in: New file.
3979 * sysdeps/sparc/configure: Generate.
3980 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3981 * configure: Regenerate.
3982 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3983 * config.make.in (have-as-vis3): New.
3984 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3985 available use -Av9d instead of -Av9a.
3986 * sysdeps/sparc/sparc64/Makefile: Likewise.
3987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3989 New file.
3990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3991 file.
3992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3993 New file.
3994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3995 file.
eae47a36
DM
3996 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3997 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3999 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4000 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4001
c0c83bc8
DM
4002 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4003 fzeros/fnegs to load 0x80000000 into a float register instead of
4004 using the stack.
7bd951ff
DM
4005 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4006
bd951ccb
JM
40072012-03-14 Joseph Myers <joseph@codesourcery.com>
4008
4009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4010 bits/syscall.h.
4011 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4012 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4013 ($(inst_includedir)/bits/syscall.h): Remove rule.
4014 ($(objpfx)bits/syscall.d): Include instead of
4015 $(objpfx)syscall-list.d.
4016 (generated): Change syscall-list.h and syscall-list.d to
4017 bits/syscall.h and bits/syscall.d.
4018
bb4e6db2
RM
40192012-03-14 Roland McGrath <roland@hack.frob.com>
4020
4021 [BZ #13846]
4022 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4023
aa4a2ae1
JM
40242012-03-14 Joseph Myers <joseph@codesourcery.com>
4025
e456826d
JM
4026 [BZ #13841]
4027 * math/s_csqrt.c: Include <float.h>.
4028 (__csqrt): Scale large or subnormal inputs.
4029 * math/s_csqrtf.c: Likewise.
4030 * math/s_csqrtl.c: Likewise.
4031 * math/libm-test.inc (csqrt_test): Add more tests.
4032 * sysdeps/i386/fpu/libm-test-ulps: Update.
4033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4034
aa4a2ae1
JM
4035 [BZ #13840]
4036 * math/libm-test.inc (hypot_test): Add more tests.
4037
7c10fd35
DM
40382012-03-13 David S. Miller <davem@davemloft.net>
4039
4040 [BZ #13840]
4041 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4042 double-precision for the calculation instead of scaling.
4043
f453b98b
JM
40442012-03-13 Joseph Myers <joseph@codesourcery.com>
4045
4046 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4047 manipulate bits before adding and subtracting TWO52[sx].
4048 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4049 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4050 Likewise.
4051 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4052
09a3453f
DM
40532012-03-13 David S. Miller <davem@davemloft.net>
4054
8e59da90
DM
4055 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4056 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4057 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4058 rtld-global-offsets.h
4059 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4060
2a8ab7f2
DM
4061 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4062 large parameters.
4063
10f62770
DM
4064 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4065
5f0bdb18
DM
4066 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4067 'err' in the ifdef scope in which it is actually used.
4068
09a3453f
DM
4069 * nss/nss_db/db-init.c: Include string.h
4070
b4b2eb5e
DM
40712012-03-12 David S. Miller <davem@davemloft.net>
4072
98bb2f1c
DM
4073 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4074 masking out of the most significant byte of random value used.
4075 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4076 Fix coding style in previous change.
4077
b4b2eb5e
DM
4078 * sysdeps/unix/sysv/linux/kernel-features.h
4079 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4080 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4081 expression.
4082 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4083 later.
4084
6e226b09
DM
40852012-03-11 David S. Miller <davem@davemloft.net>
4086
a1bcbd40
DM
4087 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4088 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4089 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4090 for 'resultvar' otherwise things get truncated on 64-bit.
4091
cb9d6174
DM
4092 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4093 Fix masking out of the most significant byte of random value used.
4094
6e226b09
DM
4095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4096
058c132d
AS
40972012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4098
4099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4100
2d2cd515
DM
41012012-03-09 David S. Miller <davem@davemloft.net>
4102
4103 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4104 variables with appropriate CPP guards.
4105 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4106 frame pointer, not the stack pointer. Correct layout comments. Fix test
4107 on resulting framesize and the management of the outregs buffer for pltexit.
4108 Preserve floating point return values across _dl_call_pltexit call.
4109 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4110 framesize and the management of the outregs buffer for pltexit.
4111 Preserve floating point return values across _dl_call_pltexit
4112 call.
4113 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4114 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4115 (print_exit): Fix format string for return register value.
4116
9a07f9d0
JM
41172012-03-10 Joseph Myers <joseph@codesourcery.com>
4118
4119 * sunrpc/Makefile (others): Add rpcgen.
4120 ($(objpfx)rpcgen): Remove special build rule and dependency on
4121 libc.
4122 * sunrpc/rpcgen.c: New file.
4123
547b5e30
PE
41242012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4125
c524201a
PE
4126 [BZ #13673]
4127 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4128 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4129 * sysdeps/i386/crti.S: Likewise.
4130 * sysdeps/i386/crtn.S: Likewise.
4131 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4132 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4133 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4134 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4135 * sysdeps/sh/crti.S: Likewise.
4136 * sysdeps/sh/crtn.S: Likewise.
4137 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4138
7b6235f2
PE
4139 [BZ #13673]
4140 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4141 with URL.
4142 * locale/programs/locfile-kw.gperf: Likewise.
4143 * locale/programs/charmap-kw.h: Regenerated.
4144 * locale/programs/locfile-kw.h: Likewise.
4145
547b5e30
PE
4146 [BZ #13673]
4147 * intl/plural.y: Replace FSF snail mail address with URL.
4148 * intl/plural.c: Regenerated.
4149
5f0a5dae
RH
41502012-03-09 Richard Henderson <rth@twiddle.net>
4151
4152 * include/math_private.h: Remove file.
4153 * math/math_private.h: Move file ...
4154 * sysdeps/generic/math_private.h: ... here.
4155
b8c03620
RH
4156 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4157 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4158 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4159
4e234f5d 4160 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4161 and <math_private.h>.
4162 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4163 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4164 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4165 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4166 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4173 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4250 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4251 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4252 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4253 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4254 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4255 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4256 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4257 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4258 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4259 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4260 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4261 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4262 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4263 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4264 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4265 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4266 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4267 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4268 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4269 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4270 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4271 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4272 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4273 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4274 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4275 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4276 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4277 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4278 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4279 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4280 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4281 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4282 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4283 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4284 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4285 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4286 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4287 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4288 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4289 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4290 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4291 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4292 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4293 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4294 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4295 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4296 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4297 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4298 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4299 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4300 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4301 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4302 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4303 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4304 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4305 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4306 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4307 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4308 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4309 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4310 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4311 * sysdeps/ieee754/k_standard.c: Likewise.
4312 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4313 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4345 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4427 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4431 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4432 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4434 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4439 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4443 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4444 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4446 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4447 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4452 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4453 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4460 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4461 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4462 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4468 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4470 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4472 * sysdeps/ieee754/s_lib_version.c: Likewise.
4473 * sysdeps/ieee754/s_matherr.c: Likewise.
4474 * sysdeps/ieee754/s_signgam.c: Likewise.
4475 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4476 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4477 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4478 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4479 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4480 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4481 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4482 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4483 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4484 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4485 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4486 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4487 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4488 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4489 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4490 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4491 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4492 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4493 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4494 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4495 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4496
1991fa03
JM
44972012-03-09 Joseph Myers <joseph@codesourcery.com>
4498
4499 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4500 * sunrpc/rpc_main.c: Likewise.
4501 * sunrpc/rpc_svcout.c: Likewise.
4502
60d6f5a6
DM
45032012-03-09 David S. Miller <davem@davemloft.net>
4504
4505 * include/math_private.h: New file.
4506
4962050e
JM
45072012-03-09 Joseph Myers <joseph@codesourcery.com>
4508
02a6f887
JM
4509 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4510 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4511 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4512 from <bits/socket_type.h>.
4513 (enum __socket_type): Don't define here.
4514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4516 bits/socket_type.h.
4517
c6e013c1
JM
4518 [BZ #13566]
4519 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4520 checking __USE_GNU.
4521
4962050e
JM
4522 * Makerules ($(inst_includedir)/%.h): New rule.
4523 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4524 (install-others): Remove variable setting.
4525 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4526
38842f45
RH
45272012-03-08 Richard Henderson <rth@twiddle.net>
4528
67bb6da6
RH
4529 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4530 from macro to inline function; merge with the
4531 !__LIBC_INTERNAL_MATH_INLINES version.
4532 (__ieee754_sqrtf): Likewise.
4533
15194b4b
RH
4534 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4535 to inline function.
4536 (__rintf, __floor, __floorf): Likewise.
4537
64e21ede
RH
4538 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4539 macro to inline function.
4540 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4541
38842f45
RH
4542 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4543 not <math/math_private.h>.
4544
c64bf5fe
DM
45452012-03-08 David S. Miller <davem@davemloft.net>
4546
4547 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4548 copyright year.
4549 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4550
82d86f28
TS
45512012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4552
4553 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4554 normalization.
4555 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4556 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4557
aea5d727
UD
45582012-03-08 Ulrich Drepper <drepper@gmail.com>
4559
4560 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4561 be defined individually, they must be defined as a block. Define
4562 S for printing a string instead of hidint the different by using a
4563 macro for adding the 'l'.
4564 * stdio-common/tst-fphex-wide.c: Adjust.
4565
70bca0a3
MP
45662012-03-07 Marek Polacek <polacek@redhat.com>
4567
4568 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4569
65b81130
MP
45702012-03-08 Marek Polacek <polacek@redhat.com>
4571
4572 [BZ #13806]
4573 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4574 * stdio-common/tst-fphex.c: Define a few macros to make the
4575 test reusable. Use them.
4576 * stdio-common/tst-fphex-wide.c: New file.
4577
07037eeb
JM
45782012-03-08 Joseph Myers <joseph@codesourcery.com>
4579
a7a93d50
JM
4580 [BZ #6911]
4581 * manual/macros.texi (gnusystems): New macro.
4582 (nongnusystems): Likewise.
4583 (gnulinuxhurdsystems): Likewise.
4584 (gnuhurdsystems): Likewise..
4585 (gnulinuxsystems): Likewise.
4586 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4587 variants of the GNU system, not "GNU system".
4588 * manual/conf.texi: Likewise.
4589 * manual/errno.texi: Likewise. Update example of errno macro
4590 expansion.
4591 * manual/filesys.texi: Likewise.
4592 (getumask): Document as specific to GNU/Hurd.
4593 * manual/install.texi: Likewise. Reword some references to
4594 GNU/Linux.
4595 * manual/intro.texi: Likewise.
4596 * manual/io.texi: Likewise.
4597 (File Name Portability): Detail which constraints are inapplicable
4598 to all GNU systems and which are only inapplicable to GNU/Hurd.
4599 * manual/job.texi: Likewise.
4600 * manual/llio.texi: Likewise.
4601 (O_NOCTTY): Document as present on GNU/Linux.
4602 * manual/maint.texi: Likewise.
4603 * manual/memory.texi: Likewise.
4604 * manual/pattern.texi: Likewise.
4605 * manual/pipe.texi: Likewise.
4606 * manual/process.texi: Likewise.
4607 * manual/resource.texi: Likewise.
4608 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4609 child on GNU/Hurd.
4610 * manual/setjmp.texi: Likewise.
4611 * manual/signal.texi: Likewise.
4612 * manual/startup.texi: Likewise.
4613 * manual/stdio.texi: Likewise.
4614 * manual/terminal.texi: Likewise.
4615 (ONLCR): Document as POSIX.
4616 (OXTABS): Document availability on GNU/Linux as XTABS.
4617 (ONOEOT): Document availability separately from other bits.
4618 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4619 * manual/time.texi: Likewise.
4620 * manual/users.texi: Likewise.
4621 * INSTALL: Regenerated.
4622 * sysdeps/gnu/errlist.c: Regenerated.
4623
07037eeb
JM
4624 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4625 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4626 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4627 puts.
4628 * configure: Regenerated.
4629
d1d3431a
JM
46302012-03-07 Joseph Myers <joseph@codesourcery.com>
4631
af6a1e37
JM
4632 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4633 default includes instead of AC_HEADER_CHECK.
4634 * sysdeps/i386/configure: Regenerated.
4635
d1d3431a
JM
4636 [BZ #10716]
4637 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4638 * math/s_cacoshf.c (__cacoshf): Likewise.
4639 * math/s_cacoshl.c (__cacoshl): Likewise.
4640 * math/s_casinh.c (__casinh): Set signs of result from argument.
4641 * math/s_casinhf.c (__casinhf): Likewise.
4642 * math/s_casinhl.c (__casinhl): Likewise.
4643 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4644 (casinh_test): Add more tests.
4645 * sysdeps/i386/fpu/libm-test-ulps: Update.
4646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4647
482ff4da
UD
46482012-03-07 Ulrich Drepper <drepper@gmail.com>
4649
872fda05
UD
4650 * po/zh_TW.po: Update from translation team.
4651
a4300c7a
UD
4652 * login/Makefile (distribute): Remove variable.
4653 * catgets/Makefile: Likewise.
4654 * mach/Makefile: Likewise.
4655 * malloc/Makefile: Likewise.
4656 * misc/Makefile: Likewise.
4657 * iconv/Makefile: Likewise.
4658 * nscd/Makefile: Likewise.
4659 * hurd/Makefile: Likewise.
4660 * manual/Makefile: Likewise.
4661 * locale/Makefile: Likewise.
4662 * intl/Makefile: Likewise.
4663 * conform/Makefile: Likewise.
4664 * nss/Makefile: Likewise.
4665 * time/Makefile: Likewise.
4666 * soft-fp/Makefile: Likewise.
4667 * dirent/Makefile: Likewise.
4668 * gmon/Makefile: Likewise.
4669 * po/Makefile: Likewise.
4670 * rt/Makefile: Likewise.
4671 * socket/Makefile: Likewise.
4672 * math/Makefile: Likewise.
4673 * signal/Makefile: Likewise.
4674 * debug/Makefile: Likewise.
4675 * elf/Makefile: Likewise.
4676 * timezone/Makefile: Likewise.
4677 * stdlib/Makefile: Likewise.
4678 * iconvdata/Makefile: Likewise.
4679 * sunrpc/Makefile: Likewise.
4680 * io/Makefile: Likewise.
4681 * argp/Makefile: Likewise.
4682 * inet/Makefile: Likewise.
4683 * hesiod/Makefile: Likewise.
4684 * grp/Makefile: Likewise.
4685 * csu/Makefile: Likewise.
4686 * wctype/Makefile: Likewise.
4687 * crypt/Makefile: Likewise.
4688 * libio/Makefile: Likewise.
4689 * string/Makefile: Likewise.
4690 * nis/Makefile: Likewise.
4691 * resolv/Makefile: Likewise.
4692 * stdio-common/Makefile: Likewise.
4693 * wcsmbs/Makefile: Likewise.
4694 * dlfcn/Makefile: Likewise.
4695 * posix/Makefile: Likewise.
4696
3b7c4e74 4697 [BZ #6959]
482ff4da
UD
4698 * timezone/Makefile: Don't install timezone files, just the programs
4699 and scripts.
4700
f72ed77d
UD
47012012-03-06 Ulrich Drepper <drepper@gmail.com>
4702
a000466f
UD
4703 * nss/databases.def: Add missing gshadow entry.
4704
f72ed77d
UD
4705 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4706
a53b7a4e
MP
47072012-03-06 Marek Polacek <polacek@redhat.com>
4708
4709 [BZ #13726]
4710 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4711 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4712 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4713 * stdio-common/tst-long-dbl-fphex.c: New file.
4714
e9258400
DM
47152012-03-06 David S. Miller <davem@davemloft.net>
4716
4717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4718 (set_obp_int): New function.
4719 (get_obp_int): New function.
4720 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4721 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4722 Avoid unused variable warnings on 'val' and use builtin_expect.
4723 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4724 __builtin_expect.
e9258400
DM
4725 (INLINE_CLONE_SYSCALL): Likewise.
4726
3bd2c723
DM
47272012-03-05 David S. Miller <davem@davemloft.net>
4728
4729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4730
bbb78d03
AS
47312012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4732
884c5db4
AS
4733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4734
bbb78d03
AS
4735 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4736 only for |x| >= 40.
4737 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4738
1c9f702a 47392012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4740
4741 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4742 Replace gettimeofday with __vdso_gettimeofday.
4743
7be16f82
RM
4744 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4745 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4746 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4747
4748 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4749 time with __vdso_time.
4750
ed58a00f
JM
47512012-03-05 Joseph Myers <joseph@codesourcery.com>
4752
4753 * manual/lang.texi (size_t): Note types to which size_t may be
4754 equivalent with the GNU C Library, but do not describe when
4755 differences between them are significant.
4756
30ee4ced
AJ
47572012-03-05 Andreas Jaeger <aj@suse.de>
4758
4759 * sysdeps/i386/fpu/libm-test-ulps: Update.
4760
b7cd39e8
JM
47612012-03-05 Joseph Myers <joseph@codesourcery.com>
4762
4763 [BZ #3976]
4764 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4765 (__ieee754_pow): Save and restore rounding mode and use
4766 round-to-nearest for main computations.
4767 * math/libm-test.inc (pow_test_tonearest): New function.
4768 (pow_test_towardzero): Likewise.
4769 (pow_test_downward): Likewise.
4770 (pow_test_upward): Likewise.
4771 (main): Call the new functions.
4772 * sysdeps/i386/fpu/libm-test-ulps: Update.
4773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4774
4775 [BZ #3976]
4776 * math/libm-test.inc (cosh_test_tonearest): New function.
4777 (cosh_test_towardzero): Likewise.
4778 (cosh_test_downward): Likewise.
4779 (cosh_test_upward): Likewise.
4780 (sinh_test_tonearest): Likewise.
4781 (sinh_test_towardzero): Likewise.
4782 (sinh_test_downward): Likewise.
4783 (sinh_test_upward): Likewise.
4784 (main): Call the new functions.
4785 * sysdeps/i386/fpu/libm-test-ulps: Update.
4786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4787
6c6a98c9
TV
47882012-03-05 Tom de Vries <tom@codesourcery.com>
4789
4790 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4791 default stack guard is set in last bytes.
4792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4793
21bb2d2e 47942012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4795
21bb2d2e 4796 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4797
21bb2d2e
AJ
4798 [BZ #13656]
4799 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4800 possibly allocate from heap instead of stack.
4801 * stdio-common/bug-vfprintf-nargs.c: New file.
4802 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4803
c6922934
AS
48042012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4805
4806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4807
bc957d53
MP
48082012-03-03 Marek Polacek <polacek@redhat.com>
4809
4810 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4811 * math/math_private.h: Likewise.
4812 * stdlib/tst-strtod.c: Likewise.
4813 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4814 * sysdeps/x86_64/bits/atomic.h: Likewise.
4815
6358490d
DM
48162012-03-02 David S. Miller <davem@davemloft.net>
4817
4818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4822 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4823 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4824 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4825 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4826
01ae168d
RM
48272012-03-02 Roland McGrath <roland@hack.frob.com>
4828
d9a17c07
RM
4829 [BZ #13792]
4830 * manual/examples/README: New file, says the example source files
4831 can be used under GPL>=2.
4832 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4833 line containing just "*/".
4834 * manual/examples/add.c: Add copyright header (GPL>=2).
4835 * manual/examples/argp-ex1.c: Likewise.
4836 * manual/examples/argp-ex2.c: Likewise.
4837 * manual/examples/argp-ex3.c: Likewise.
4838 * manual/examples/argp-ex4.c: Likewise.
4839 * manual/examples/atexit.c: Likewise.
4840 * manual/examples/db.c: Likewise.
4841 * manual/examples/dir.c: Likewise.
4842 * manual/examples/dir2.c: Likewise.
4843 * manual/examples/execinfo.c: Likewise.
4844 * manual/examples/filecli.c: Likewise.
4845 * manual/examples/filesrv.c: Likewise.
4846 * manual/examples/fmtmsgexpl.c: Likewise.
4847 * manual/examples/genpass.c: Likewise.
4848 * manual/examples/inetcli.c: Likewise.
4849 * manual/examples/inetsrv.c: Likewise.
4850 * manual/examples/isockad.c: Likewise.
4851 * manual/examples/longopt.c: Likewise.
4852 * manual/examples/memopen.c: Likewise.
4853 * manual/examples/memstrm.c: Likewise.
4854 * manual/examples/mkfsock.c: Likewise.
4855 * manual/examples/mkisock.c: Likewise.
4856 * manual/examples/mygetpass.c: Likewise.
4857 * manual/examples/pipe.c: Likewise.
4858 * manual/examples/popen.c: Likewise.
4859 * manual/examples/rprintf.c: Likewise.
4860 * manual/examples/search.c: Likewise.
4861 * manual/examples/select.c: Likewise.
4862 * manual/examples/setjmp.c: Likewise.
4863 * manual/examples/sigh1.c: Likewise.
4864 * manual/examples/sigusr.c: Likewise.
4865 * manual/examples/stpcpy.c: Likewise.
4866 * manual/examples/strdupa.c: Likewise.
4867 * manual/examples/strftim.c: Likewise.
4868 * manual/examples/strncat.c: Likewise.
4869 * manual/examples/subopt.c: Likewise.
4870 * manual/examples/swapcontext.c: Likewise.
4871 * manual/examples/termios.c: Likewise.
4872 * manual/examples/testopt.c: Likewise.
4873 * manual/examples/testpass.c: Likewise.
4874 * manual/examples/timeval_subtract.c: Likewise.
4875
01ae168d
RM
4876 [BZ #13792]
4877 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4878 function to ...
4879 * manual/timeval_subtract.c.texi: ... here, new file.
4880
49efa33d
DM
48812012-03-02 David S. Miller <davem@davemloft.net>
4882
4883 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4884
28afd92d
JM
48852012-03-02 Joseph Myers <joseph@codesourcery.com>
4886
804360ed
JM
4887 [BZ #3976]
4888 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4889 (__sin): Save and restore rounding mode and use round-to-nearest
4890 for all computations.
4891 (__cos): Save and restore rounding mode and use round-to-nearest
4892 for all computations.
4893 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4894 <fenv.h>.
4895 (tan): Save and restore rounding mode and use round-to-nearest for
4896 all computations.
4897 * math/libm-test.inc (cos_test_tonearest): New function.
4898 (cos_test_towardzero): Likewise.
4899 (cos_test_downward): Likewise.
4900 (cos_test_upward): Likewise.
4901 (sin_test_tonearest): Likewise.
4902 (sin_test_towardzero): Likewise.
4903 (sin_test_downward): Likewise.
4904 (sin_test_upward): Likewise.
4905 (tan_test_tonearest): Likewise.
4906 (tan_test_towardzero): Likewise.
4907 (tan_test_downward): Likewise.
4908 (tan_test_upward): Likewise.
4909 (main): Call the new functions.
4910 * sysdeps/i386/fpu/libm-test-ulps: Update.
4911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4912
a6d06d7b
JM
4913 [BZ #10135]
4914 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4915 small n, then large n, before computing and testing k+n.
4916 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4918 Likewise.
4919 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4920 Likewise.
4921 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4922 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4923 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4924 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4925 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4926 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4927 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4928 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4929 * math/libm-test.inc (scalbn_test): Add more tests.
4930 (scalbln_test): Likewise.
4931
07e12bb3
JM
4932 * manual/filesys.texi (mode_t): Describe constraints on size and
4933 signedness, not exact equivalence to a particular type.
4934 (ino_t): Likewise.
4935 (ino64_t): Likewise.
4936 (dev_t): Likewise.
4937 (nlink_t): Likewise.
4938 (blkcnt_t): Likewise.
4939 (blkcnt64_t): Likewise.
4940 * manual/llio.texi (off_t): Likewise.
4941
28afd92d
JM
4942 [BZ #3976]
4943 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4944 (__ieee754_exp): Save and restore rounding mode and use
4945 round-to-nearest for all computations.
4946 * math/libm-test.inc (exp_test_tonearest): New function.
4947 (exp_test_towardzero): Likewise.
4948 (exp_test_downward): Likewise.
4949 (exp_test_upward): Likewise.
4950 (main): Call the new functions.
4951 * sysdeps/i386/fpu/libm-test-ulps: Update.
4952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4953
b1eeb65d
CD
49542012-03-01 Chris Demetriou <cgd@google.com>
4955
4956 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4957 have predictable order.
4958
53362a4b
DM
49592012-03-01 David S. Miller <davem@davemloft.net>
4960
3c969083
DM
4961 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4962
759707de
DM
4963 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4964 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4965 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4966 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4967
dfdb8ff2
DM
4968 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4969 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4970 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4972 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4973 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4974 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4975 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4976 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4977
ead89f96
DM
4978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4979
7f66bd07
DM
4980 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4981 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4982 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4983
53362a4b
DM
4984 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4985 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4986 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4987 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4988 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4989 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4990 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4991 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4992 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4993 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4994 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4995 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4996 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4997 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4998 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4999 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5000 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5001 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5002 * sysdeps/sparc/elf/configure: Regenerated.
5003
7b1902cb
JM
50042012-03-01 Joseph Myers <joseph@codesourcery.com>
5005
bec039bc
JM
5006 * configure.in (AS, LD): Require binutils 2.20 or later.
5007 * configure: Regenerated.
5008 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5009 as required minimum version.
5010 * INSTALL: Regenerated.
5011
7b1902cb
JM
5012 [BZ #2541]
5013 [BZ #4108]
5014 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5015 before squaring exponent.
5016 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5017 bottom long double and 27 bits of top long double before squaring
5018 exponent.
5019 * math/libm-test.inc (erfc_test): Add more tests.
5020 * sysdeps/i386/fpu/libm-test-ulps: Update.
5021 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5023
f775c276
KT
50242012-03-01 Kai Tietz <ktietz@redhat.com>
5025
5026 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5027 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5028 containing bit-fields.
5029 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5030 * soft-fp/single.h (_FP_UNION_S): Likewise.
5031 * soft-fp/double.h (_FP_UNION_D): Likewise.
5032
5b8a4d4a
JM
50332012-02-29 Joseph Myers <joseph@codesourcery.com>
5034
0bab47b6
JM
5035 [BZ #13786]
5036 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5037 not include ../strcmp.S.
5038 [USE_AS_STRNCASECMP_L]: Likewise.
5039 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5040 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5041 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5042 (__strncasecmp_l_ia32): Define as alias to
5043 __strncasecmp_l_nonascii.
5044
0fcad3e2
JM
5045 [BZ #5794]
5046 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5047 * sysdeps/i386/fpu/libm-test-ulps: Update.
5048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5049
5b8a4d4a
JM
5050 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5052
8fdceb2e
JL
50532012-02-29 Jeff Law <law@redhat.com>
5054
5055 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5056 out of bounds read.
5057
1f393a11
MP
50582012-02-29 Marek Polacek <polacek@redhat.com>
5059
5060 [BZ #13706]
5061 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5062 * elf/Makefile: Add rules to run tst-unused-dep.out.
5063
8847f037
DM
50642012-02-28 David S. Miller <davem@davemloft.net>
5065
5066 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5067 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5068 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5069 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5070 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5071 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5072
169d7f11
JM
50732012-02-29 Joseph Myers <joseph@codesourcery.com>
5074
5075 * math/libm-test.inc (llround_test): Move one test from
5076 lround_test. Use TEST_f_L in moved test.
5077 (lround_test): Move misplaced test to llround_test. Add testcase
5078 from bug 2561.
5079
39adf059
UD
50802012-02-28 Ulrich Drepper <drepper@gmail.com>
5081
5082 * sysdeps/x86_64/fpu/e_expf.S: New file.
5083 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5084
71b5d1c5
SB
50852012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5086
5087 [BZ #13637]
5088 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5089 of remain_len that may cause incomplete multi-byte character and
5090 false match.
5091 * posix/bug-regex33.c: New file.
5092 * posix/Makefile (tests): Add bug-regex33.
5093
1f77f049
JM
50942012-02-28 Joseph Myers <joseph@codesourcery.com>
5095
5096 * manual/macros.texi: New file.
5097 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5098 * manual/libc.texinfo: Include macros.texi.
5099 * manual/creatute.texi: Likewise.
5100 * manual/install.texi: Likewise.
5101 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5102 @glibcadj{} in references to the GNU C Library.
5103 * manual/charset.texi: Likewise.
5104 * manual/conf.texi: Likewise.
5105 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5106 when not using those macros.
5107 * manual/creature.texi: Likewise.
5108 * manual/crypt.texi: Likewise.
5109 * manual/errno.texi: Likewise.
5110 * manual/filesys.texi: Likewise.
5111 * manual/header.texi: Likewise.
5112 * manual/install.texi: Likewise.
5113 * manual/intro.texi: Likewise.
5114 * manual/io.texi: Likewise.
5115 * manual/job.texi: Likewise.
5116 * manual/lang.texi: Likewise.
5117 * manual/libc.texiinfo: Likewise.
5118 * manual/llio.texi: Likewise.
5119 * manual/locale.texi: Likewise.
5120 * manual/maint.texi: Likewise.
5121 * manual/math.texi: Likewise.
5122 * manual/memory.texi: Likewise.
5123 * manual/message.texi: Likewise.
5124 * manual/nss.texi: Likewise.
5125 * manual/pattern.texi: Likewise.
5126 * manual/process.texi: Likewise.
5127 * manual/resource.texi: Likewise.
5128 * manual/search.texi: Likewise.
5129 * manual/setjmp.texi: Likewise.
5130 * manual/signal.texi: Likewise.
5131 * manual/socket.texi: Likewise.
5132 * manual/startup.texi: Likewise.
5133 * manual/stdio.texi: Likewise.
5134 * manual/string.texi: Likewise.
5135 * manual/sysinfo.texi: Likewise.
5136 * manual/syslog.texi: Likewise.
5137 * manual/terminal.texi: Likewise.
5138 * manual/time.texi: Likewise.
5139 * manual/users.texi: Likewise.
5140 * INSTALL: Regenerated.
5141 * NOTES: Regenerated.
d40c5d54 5142 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5143
450bf206
AS
51442012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5145
5146 * include/dirent.h: Include <dirstream.h> before
5147 <dirent/dirent.h>.
5148
741a235b
DM
51492012-02-28 David S. Miller <davem@davemloft.net>
5150
5151 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5152 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5153 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5154 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5155
d6b5aa58
DM
51562012-02-27 David S. Miller <davem@davemloft.net>
5157
1aff59a3
DM
5158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5160 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5161 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5162
d6b5aa58
DM
5163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5164 frame pointer instead of stack pointer relative arg slot.
5165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5166 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5167 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5168
433f48bf
CD
51692012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5170
5171 [BZ #3992]
5172 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5173
d674b76d
DM
51742012-02-27 David S. Miller <davem@davemloft.net>
5175
5176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5180 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5181 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5182 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5183 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5184
0e7727f7
JM
51852012-02-27 Joseph Myers <joseph@codesourcery.com>
5186
5187 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5188 later. Allow versions 5-9.
43be4ca2 5189 * configure: Regenerated.
0e7727f7
JM
5190 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5191 required minimum version and 4.6 as recommended version. Do not
5192 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5193 * INSTALL: Regenerated.
0e7727f7 5194
a78bc654
DM
51952012-02-27 David S. Miller <davem@davemloft.net>
5196
428d5830
DM
5197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5201 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5202 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5203 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5204 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5205
a78bc654
DM
5206 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5207 manipulate bits before adding and subtracting TWO112[sx].
5208 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5209
4579f81c
RM
52102012-02-27 Roland McGrath <roland@hack.frob.com>
5211
36c8acb4
RM
5212 [BZ #13775]
5213 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5214 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5215 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5216 being in POSIX, because they are in 1003.1-2008.
5217
84ad622b
RM
5218 * rt/tst-aio.c: Include <fcntl.h>.
5219 * rt/tst-aio7.c: Likewise.
5220 * rt/tst-aio64.c: Likewise.
5221
4579f81c
RM
5222 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5223
abd923db
JM
52242012-02-27 Joseph Myers <joseph@codesourcery.com>
5225
5226 * manual/install.texi (--with-headers): Describe headers as
5227 interface headers, not private headers.
5228 (Specific advice for GNU/Linux systems): Describe use of headers
5229 from "make headers_install", not private headers from older
5230 kernels.
43be4ca2 5231 * INSTALL: Regenerated.
abd923db
JM
5232 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5233 Change to 2.6.19.
5234 * sysdeps/unix/sysv/linux/configure: Regenerated.
5235
6664049b
JM
5236 * manual/llio.texi (fclean): Remove documentation.
5237
bb8b6697
JM
5238 * manual/Makefile (libc-texi-generated): New variable. Include
5239 version.texi.
5240 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5241 $(libc-texi-generated), not duplicated list of files.
5242 (version.texi, stamp-version): New rules.
5243 (realclean): Remove $(libc-texi-generated), not individual files
5244 from that list. Do not remove dir-add.texinfo.
5245 * manual/libc.texinfo: Comment out uses of edition numbers and
5246 references to printed manual. Remove last-updated dates.
5247 (EDITION): Comment out.
5248 (ISBN): Likewise.
5249 (VERSION, UPDATED): Remove.
5250 (version.texi): Include.
5251
12e5c3b9
AS
52522012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5253
5254 * sysdeps/posix/spawni.c: Include <signal.h>.
5255 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5256 * sysdeps/pthread/aio_fsync.c: Likewise.
5257
4efeffc1 52582012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5259
ba63ba08
UD
5260 * conform/Makefile (tests): Run only when not cross-compiling and
5261 when fast-check is not defined.
5262
d94a4670
UD
5263 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5264 * conform/data/limits.h-data: Fixes for POSIX2008.
5265 * conform/run-conformtest.sh: Run all tests.
5266 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5267 headers.
5268 * include/bits/dlfcn.h: Likewise.
5269 * include/langinfo.h: Likewise.
5270 * include/monetary.h: Likewise.
5271 * include/sys/poll.h: Likewise.
5272
5273 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5274 for __USE_GNU.
5275 * posix/spawn.h: Define __need_sigset_t.
5276 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5277 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5278 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5279 to get sigevent_t only.
5280 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5281 only for __USE_GNU.
5282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5283 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5284 process_vm_writev only for __USE_GNU.
5285 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5286
5287 * conform/Makefile: For now ignore errors from run-conformtest.
5288 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5289 POSIX to avoid namespace pollution. Don't prepend headers.
5290 * conform/data/aio.h-data: Fixes for POSIX testing.
5291 * conform/data/fcntl.h-data: Likewise.
5292 * conform/data/glob.h-data: Likewise.
5293 * conform/data/grp.h-data: Likewise.
5294 * conform/data/pthread.h-data: Likewise.
5295 * conform/data/pwd.h-data: Likewise.
5296 * conform/data/signal.h-data: Likewise.
5297 * conform/data/spawn.h-data: Likewise.
5298 * conform/data/stdio.h-data: Likewise.
5299 * conform/data/stdlib.h-data: Likewise.
5300 * conform/data/stropts.h-data: Likewise.
5301 * conform/data/sys/mman.h-data: Likewise.
5302 * conform/data/sys/stat.h-data: Likewise.
5303 * conform/data/sys/types.h-data: Likewise.
5304 * conform/data/sys/wait.h-data: Likewise.
5305 * conform/data/time.h-data: Likewise.
5306 * conform/data/unistd.h-data: Likewise.
5307 * conform/data/utime.h-data: Likewise.
5308
5309 * io/sys/stat.h: fchmod was always in POSIX.
5310 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5311 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5312 * rt/aio.h: Define __need_timespec before including <time.h>.
5313 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5314 struct. Add forward declaration of pthread_attr_t and use it in
5315 sigevent.
5316 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5317 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5318 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5319 always remove CLK_TCK definition.
5320
c20105c3
AS
53212012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5322
5323 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5324
7a270350
UD
53252012-02-25 Ulrich Drepper <drepper@gmail.com>
5326
31341567
UD
5327 * conform/run-conformtest.sh: New file.
5328 * conform/Makefile: Run run-conformtest for tests.
5329 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5330 support.
5331
5332 * conform/data/uchar.h-data: New file.
5333 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5334 * conform/data/arpa/inet.h-data: Likewise.
5335 * conform/data/assert.h-data: Likewise.
5336 * conform/data/complex.h-data: Likewise.
5337 * conform/data/cpio.h-data: Likewise.
5338 * conform/data/ctype.h-data: Likewise.
5339 * conform/data/dirent.h-data: Likewise.
5340 * conform/data/dlfcn.h-data: Likewise.
5341 * conform/data/errno.h-data: Likewise.
5342 * conform/data/fcntl.h-data: Likewise.
5343 * conform/data/float.h-data: Likewise.
5344 * conform/data/fmtmsg.h-data: Likewise.
5345 * conform/data/fnmatch.h-data: Likewise.
5346 * conform/data/ftw.h-data: Likewise.
5347 * conform/data/glob.h-data: Likewise.
5348 * conform/data/grp.h-data: Likewise.
5349 * conform/data/iconv.h-data: Likewise.
5350 * conform/data/inttypes.h-data: Likewise.
5351 * conform/data/langinfo.h-data: Likewise.
5352 * conform/data/libgen.h-data: Likewise.
5353 * conform/data/limits.h-data: Likewise.
5354 * conform/data/locale.h-data: Likewise.
5355 * conform/data/math.h-data: Likewise.
5356 * conform/data/monetary.h-data: Likewise.
5357 * conform/data/mqueue.h-data: Likewise.
5358 * conform/data/ndbm.h-data: Likewise.
5359 * conform/data/net/if.h-data: Likewise.
5360 * conform/data/netdb.h-data: Likewise.
5361 * conform/data/netinet/in.h-data: Likewise.
5362 * conform/data/nl_types.h-data: Likewise.
5363 * conform/data/poll.h-data: Likewise.
5364 * conform/data/pthread.h-data: Likewise.
5365 * conform/data/pwd.h-data: Likewise.
5366 * conform/data/regex.h-data: Likewise.
5367 * conform/data/sched.h-data: Likewise.
5368 * conform/data/search.h-data: Likewise.
5369 * conform/data/semaphore.h-data: Likewise.
5370 * conform/data/setjmp.h-data: Likewise.
5371 * conform/data/signal.h-data: Likewise.
5372 * conform/data/spawn.h-data: Likewise.
5373 * conform/data/stdarg.h-data: Likewise.
5374 * conform/data/stdio.h-data: Likewise.
5375 * conform/data/stdlib.h-data: Likewise.
5376 * conform/data/string.h-data: Likewise.
5377 * conform/data/strings.h-data: Likewise.
5378 * conform/data/stropts.h-data: Likewise.
5379 * conform/data/sys/ipc.h-data: Likewise.
5380 * conform/data/sys/mman.h-data: Likewise.
5381 * conform/data/sys/msg.h-data: Likewise.
5382 * conform/data/sys/resource.h-data: Likewise.
5383 * conform/data/sys/select.h-data: Likewise.
5384 * conform/data/sys/sem.h-data: Likewise.
5385 * conform/data/sys/shm.h-data: Likewise.
5386 * conform/data/sys/socket.h-data: Likewise.
5387 * conform/data/sys/stat.h-data: Likewise.
5388 * conform/data/sys/statvfs.h-data: Likewise.
5389 * conform/data/sys/time.h-data: Likewise.
5390 * conform/data/sys/timeb.h-data: Likewise.
5391 * conform/data/sys/times.h-data: Likewise.
5392 * conform/data/sys/types.h-data: Likewise.
5393 * conform/data/sys/uio.h-data: Likewise.
5394 * conform/data/sys/un.h-data: Likewise.
5395 * conform/data/sys/utsname.h-data: Likewise.
5396 * conform/data/sys/wait.h-data: Likewise.
5397 * conform/data/syslog.h-data: Likewise.
5398 * conform/data/tar.h-data: Likewise.
5399 * conform/data/termios.h-data: Likewise.
5400 * conform/data/utime.h-data: Likewise.
5401 * conform/data/utmpx.h-data: Likewise.
5402 * conform/data/varargs.h-data: Likewise.
5403 * conform/data/wchar.h-data: Likewise.
5404 * conform/data/wctype.h-data: Likewise.
5405 * conform/data/wordexp.h-data: Likewise.
5406
5407 * include/stropts.h: New file.
5408 * include/uchar.h: New file.
5409 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5410 * include/assert.h: Likewise.
5411 * include/ctype.h: Likewise.
5412 * include/dirent.h: Likewise.
5413 * include/dlfcn.h: Likewise.
5414 * include/fcntl.h: Likewise.
5415 * include/fnmatch.h: Likewise.
5416 * include/glob.h: Likewise.
5417 * include/grp.h: Likewise.
5418 * include/libio.h: Likewise.
5419 * include/locale.h: Likewise.
5420 * include/math.h: Likewise.
5421 * include/net/if.h: Likewise.
5422 * include/netdb.h: Likewise.
5423 * include/netinet/in.h: Likewise.
5424 * include/pthread.h: Likewise.
5425 * include/pwd.h: Likewise.
5426 * include/regex.h: Likewise.
5427 * include/sched.h: Likewise.
5428 * include/search.h: Likewise.
5429 * include/setjmp.h: Likewise.
5430 * include/signal.h: Likewise.
5431 * include/stdio.h: Likewise.
5432 * include/stdlib.h: Likewise.
5433 * include/string.h: Likewise.
5434 * include/sys/cdefs.h: Likewise.
5435 * include/sys/mman.h: Likewise.
5436 * include/sys/msg.h: Likewise.
5437 * include/sys/resource.h: Likewise.
5438 * include/sys/select.h: Likewise.
5439 * include/sys/socket.h: Likewise.
5440 * include/sys/stat.h: Likewise.
5441 * include/sys/statvfs.h: Likewise.
5442 * include/sys/time.h: Likewise.
5443 * include/sys/times.h: Likewise.
5444 * include/sys/uio.h: Likewise.
5445 * include/sys/utsname.h: Likewise.
5446 * include/sys/wait.h: Likewise.
5447 * include/termios.h: Likewise.
5448 * include/time.h: Likewise.
5449 * include/ulimit.h: Likewise.
5450 * include/unistd.h: Likewise.
5451 * include/utime.h: Likewise.
5452 * include/wchar.h: Likewise.
5453 * include/wctype.h: Likewise.
5454 * include/wordexp.h: Likewise.
5455
5456 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5457
7a270350
UD
5458 * time/time.h: TIME_UTC must be a macro.
5459 Make timespec_get available for ISO C11 only as well.
5460
7724defc
UD
54612012-02-24 Ulrich Drepper <drepper@gmail.com>
5462
5463 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5464 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5465
6b1d1d46
JM
54662012-02-24 Joseph Myers <joseph@codesourcery.com>
5467
5468 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5469
0f8bbd69
JM
54702012-02-24 Joseph Myers <joseph@codesourcery.com>
5471
5472 * manual/texinfo.tex: Update to version 2012-01-19.16.
5473
66ab80bc
JM
54742012-02-24 Joseph Myers <joseph@codesourcery.com>
5475
5476 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5477
74981cc5
RM
54782012-02-24 Roland McGrath <roland@hack.frob.com>
5479
ee968201
RM
5480 [BZ #13738]
5481 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5482 * manual/fdl-1.3.texi: New file.
5483 * manual/fdl-1.1.texi: File removed.
5484
74981cc5
RM
5485 [BZ #13738]
5486 * manual/libc.texinfo (FDL_VERSION): New @set.
5487 Use it for mention of FDL in cover text.
5488 (Documentation License): Use it in @include file name.
5489
7bb764bc
JM
54902012-02-22 Joseph Myers <joseph@codesourcery.com>
5491 Roland McGrath <roland@hack.frob.com>
5492
5493 [BZ #5461]
5494 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5495 not LONG_LONG_MAX and LONG_LONG_MIN.
5496 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5497 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5498 name.
5499 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5500
6cbeae47
JM
55012012-02-22 Joseph Myers <joseph@codesourcery.com>
5502
5503 [BZ #2547]
5504 [BZ #11365]
5505 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5506 manipulate bits before adding and subtracting TWO23[sx].
5507 * math/libm-test.inc (nearbyint_test): Add more tests.
5508
fe45ce09
JM
55092012-02-22 Joseph Myers <joseph@codesourcery.com>
5510
5511 [BZ #2548]
5512 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5513 bits before adding and subtracting TWO23[sx].
5514 * math/libm-test.inc (rint_test): Add more tests.
5515 (rint_test_tonearest): Likewise.
5516 (rint_test_towardzero): Likewise.
5517 (rint_test_downward): Likewise.
5518 (rint_test_upward: Likewise.
5519
ff3b3d82
JM
55202012-02-22 Joseph Myers <joseph@codesourcery.com>
5521
5522 [BZ #10110]
5523 * include/stdc-predef.h: New file. Extracted from features.h.
5524 * include/features.h: Include stdc-predef.h.
5525 * Makefile (headers): Add stdc-predef.h.
5526 * CONFORMANCE (Compiler limitations): Update.
5527
ef0aab35
JM
55282012-02-22 Joseph Myers <joseph@codesourcery.com>
5529
5530 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5531
58639409
DM
55322012-02-21 David S. Miller <davem@davemloft.net>
5533
5534 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5535 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5536
c0e70b25
DM
55372012-02-20 David S. Miller <davem@davemloft.net>
5538
5539 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5540 using a normal save/restore sequence, rather than allocating a
5541 dummy stack frame just to store a frame pointer and restore.
5542 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5543
fb06851d
JM
55442012-02-21 Joseph Myers <joseph@codesourcery.com>
5545
5546 * manual/install.texi: Fix stray word in line-wrapped comment.
5547
7a8b71c3
DM
55482012-02-20 David S. Miller <davem@davemloft.net>
5549
d510c123
DM
5550 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5551 both binutils and gcc support GOTDATA.
5552
0722d7c2
DM
5553 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5554 "rd %pc" in the PIC register setup sequences.
5555
3d2b3019
DM
5556 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5557 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5558 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5559 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5560 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5562 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5563 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5564 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5565 (SYSCALL_ERROR_HANDLER): Likewise.
5566 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5567 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5569 (SYSCALL_ERROR_HANDLER): Likewise.
5570
c80098a9
DM
5571 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5572 (HAVE_GCC_GOTDATA): New.
5573 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5574 relocation support in both binutils and gcc.
5575 * sysdeps/sparc/elf/configure: Regenerate.
5576
3a2545a0
DM
5577 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5578 * sysdeps/sparc/sparc32/elf/configure: Delete.
5579 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5580 * sysdeps/sparc/sparc64/elf/configure: Delete.
5581 * sysdeps/sparc/elf/configure.in: New file.
5582 * sysdeps/sparc/elf/configure: Generate.
5583
7a8b71c3
DM
5584 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5585 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5586 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5587 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5588 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5589
f1e86fca
JM
55902012-02-21 Joseph Myers <joseph@codesourcery.com>
5591
5592 * manual/install.texi: Do not mention specific glibc version
5593 numbers.
5594 * manual/libc.texinfo (VERSION, UPDATED): Update.
5595 (@copying): Use @copyright{} and range of years.
5596
0e7dfaef
JM
55972012-02-21 Joseph Myers <joseph@codesourcery.com>
5598
5599 [BZ #13695]
5600 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5601 [crti.S not in sysdirs] (generated): Do not append.
5602 [crti.S not in sysdirs] (omit-deps): Likewise.
5603 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5604 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5605 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5606 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5607 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5608 Likewise.
5609 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5610 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5611 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5612 * csu/defs.awk: Remove file.
5613 * sysdeps/generic/initfini.c: Likewise.
5614 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5615 variable.
5616 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5617 Likewise.
5618
599af3ca
JM
56192012-02-20 Joseph Myers <joseph@codesourcery.com>
5620
5621 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5622 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5623 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5624 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5625 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5626 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5627 <bits/epoll.h>.
5628 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5629 (__EPOLL_PACKED): Define to empty if not defined by
5630 <bits/epoll.h>.
5631 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5633 bits/epoll.h.
5634
0e499750
JM
56352012-02-20 Joseph Myers <joseph@codesourcery.com>
5636
5637 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5638 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5639 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5640 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5641 <bits/timerfd.h>.
5642 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5644 bits/timerfd.h.
5645
5ad91f6e
JM
56462012-02-20 Joseph Myers <joseph@codesourcery.com>
5647
5648 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5649 in C locale.
5650 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5651 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5652 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5654
06b99b02
AJ
56552012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5656
5657 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5658 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5659
7638c0fd
AS
56602012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5661
5662 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5663 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5664 defined.
5665 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5666 Likewise.
5667 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5668 entry for 2.16.
5669
92221550
AJ
56702012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5671
5672 * math/w_acos.c: Use non-signaling floating-point comparisons.
5673 * math/w_acosf.c: Likewise.
5674 * math/w_acosh.c: Likewise.
5675 * math/w_acoshf.c: Likewise.
5676 * math/w_acoshl.c: Likewise.
5677 * math/w_acosl.c: Likewise.
5678 * math/w_asin.c: Likewise.
5679 * math/w_asinf.c: Likewise.
5680 * math/w_asinl.c: Likewise.
5681 * math/w_atanh.c: Likewise.
5682 * math/w_atanhf.c: Likewise.
5683 * math/w_atanhl.c: Likewise.
5684 * math/w_exp2.c: Likewise.
5685 * math/w_exp2f.c: Likewise.
5686 * math/w_exp2l.c: Likewise.
5687 * math/w_j0.c: Likewise.
5688 * math/w_j0f.c: Likewise.
5689 * math/w_j0l.c: Likewise.
5690 * math/w_j1.c: Likewise.
5691 * math/w_j1f.c: Likewise.
5692 * math/w_j1l.c: Likewise.
5693 * math/w_jn.c: Likewise.
5694 * math/w_jnf.c: Likewise.
5695 * math/w_log.c: Likewise.
5696 * math/w_log10.c: Likewise.
5697 * math/w_log10f.c: Likewise.
5698 * math/w_log10l.c: Likewise.
5699 * math/w_log2.c: Likewise.
5700 * math/w_log2f.c: Likewise.
5701 * math/w_log2l.c: Likewise.
5702 * math/w_logf.c: Likewise.
5703 * math/w_logl.c: Likewise.
5704 * math/w_sqrt.c: Likewise.
5705 * math/w_sqrtf.c: Likewise.
5706 * math/w_sqrtl.c: Likewise.
5707 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5708 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5709 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5710 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5711 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5712
ebaf36eb
JM
57132012-02-19 Joseph Myers <joseph@codesourcery.com>
5714
5715 [BZ #9739]
5716 * manual/string.texi (strnlen): Use correct parameter name in
5717 equivalent expression.
5718
71c254a6
JM
57192012-02-19 Joseph Myers <joseph@codesourcery.com>
5720
5721 [BZ #11174]
5722 * manual/users.texi (seteuid): Consistently use neweuid for
5723 argument name.
5724
16d2c631
JM
57252012-02-19 Joseph Myers <joseph@codesourcery.com>
5726
5727 [BZ #13704]
5728 * manual/nss.texi (Services in the NSS configuration): Correct
5729 list of services in example configuration file.
5730
cd837b09
NB
57312012-02-19 Nick Bowler <nbowler@draconx.ca>
5732
5733 [BZ #11322]
5734 * manual/arith.texi: Remove statements about negative zero
5735 behaving identically to zero.
5736
02c4bbad
JM
57372012-02-18 Joseph Myers <joseph@codesourcery.com>
5738
5739 [BZ #5993]
5740 * manual/install.texi: Do not document upgrading from libc5.
5741
366842e7
JM
57422012-02-18 Joseph Myers <joseph@codesourcery.com>
5743
5744 [BZ #4596]
5745 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5746
dd54084d
DM
57472012-02-18 David S. Miller <davem@davemloft.net>
5748
5749 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5750 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5751 %o7 across the call.
5752 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5753 instead.
5754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5755 SETUP_PIC_REG_LEAF.
5756 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5757 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5758 * sysdeps/sparc/crtn.S: Likewise.
5759
2bcc53a3
UD
57602012-02-17 Ulrich Drepper <drepper@gmail.com>
5761
5762 * aout/Makefile: Remove.
5763
09c093b5
RK
57642012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5765
5766 [BZ #13058]
5767 * manual/examples/argp-ex1.c (main): Format definition in GNU
5768 style.
5769 * manual/examples/argp-ex2.c (main): Likewise.
5770 * manual/examples/argp-ex3.c (main): Likewise.
5771 * manual/examples/argp-ex4.c (main): Likewise.
5772 * manual/examples/longopt.c (main): Use new-style prototype
5773 definition.
5774 * manual/examples/strncat.c (main): Specify return type and use
5775 (void) for arguments.
5776 * manual/examples/subopt.c (main): Use char **argv argument.
5777
2ee633a2
JM
57782012-02-17 Joseph Myers <joseph@codesourcery.com>
5779
5780 [BZ #5077]
5781 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5782 rounding modes.
5783
0520adde
FB
57842012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5785
5786 [BZ #6907]
5787 * manual/string.texi (strchr): Change when strchrnul is
5788 recommended.
5789
3f4081cd
DGM
57902012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5791
5792 [BZ #174]
5793 * manual/locale.texi (setlocale): Document LOCPATH.
5794
d1b10e78
JM
57952012-02-17 Joseph Myers <joseph@codesourcery.com>
5796
5797 [BZ #10210]
5798 * manual/process.texi (execle): Move @dots{} before last argument.
5799
79c6869c
PB
58002012-02-17 Paul Bolle <pebolle@tiscali.nl>
5801
5802 [BZ #12047]
5803 * manual/charset.texi (Generic Charset Conversion): Fix typo
5804 (LC_TYPE -> LC_CTYPE).
5805
cc6e48bc
NB
58062012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5807
5808 [BZ #5805]
5809 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5810 (scalbnf): Likewise.
5811 (scalbnl): Likewise.
5812 (scalbln): Likewise.
5813 (scalblnf): Likewise.
5814 (scalblnl): Likewise.
5815 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5816 (vwarnx): Likewise.
5817 (verr): Likewise.
5818 (verrx): Likewise.
5819 * manual/filesys.texi (telldir): Use braces around return type.
5820 * manual/llio.texi (mmap): Add space after comma.
5821 (mmap64): Likewise.
5822 * manual/math.texi (jn): Use @var{} on parameter names.
5823 (jnf): Likewise.
5824 (jnl): Likewise.
5825 (yn): Likewise.
5826 (ynf): Likewise.
5827 (ynl): Likewise.
5828 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5829 line.
5830 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5831 "...".
5832 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5833 (sched_get_priority_max): Likewise.
5834 * manual/signal.texi (sigvec): Add space after comma.
5835 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5836 names.
5837 (if_indextoname): Likewise.
5838 (if_freenameindex): Likewise.
5839 (sendto): Use ',' instead of '.' in prototype.
5840 * manual/startup.texi (syscall): Use @dots{} instead of literal
5841 "...".
5842 * manual/stdio.texi (__fpending): Separate initial words of
5843 paragraph from @deftypefun line.
5844 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5845 "...".
5846 (vsyslog): Use @var{} on parameter names.
5847 * manual/terminal.texi (stty): Use @var{} on parameter names.
5848 * manual/users.texi (getutmp): Use @var{} on parameter names.
5849 (getutmpx): Likewise.
5850
5b23062f
JM
58512012-02-17 Joseph Myers <joseph@codesourcery.com>
5852
5853 [BZ #6884]
5854 * manual/stdio.texi (fopen): Fix typos in description of
5855 ",ccs=STRING".
5856
8dee4833
AJ
58572012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5858
5859 [BZ #4026]
5860 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5861 get clock_id definition.
5862
9078ce93
TS
58632012-02-17 Thomas Schwinge <thomas@schwinge.name>
5864
5865 [BZ #4822]
5866 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5867 (madvise): Cast every argument to void on its own.
5868
3835c55f
JM
58692012-02-17 Joseph Myers <joseph@codesourcery.com>
5870
5871 [BZ #9902]
5872 * manual/startup.texi (Exit Status): Fix typo.
5873
35c47e37
JM
58742012-02-17 Joseph Myers <joseph@codesourcery.com>
5875
5876 [BZ #10140]
5877 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5878 * manual/examples/argp-ex2.c: Likewise.
5879 * manual/examples/argp-ex3.c: Likewise.
5880
e3b69ca7
RH
58812012-02-16 Richard Henderson <rth@redhat.com>
5882
5883 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5884 * sysdeps/s390/s390-32/initfini.c: Remove.
5885 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5886 * sysdeps/s390/s390-64/initfini.c: Remove.
5887
df83af67
KK
58882012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5889
5890 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5891 compiler output for sysdeps/generic/initfini.c.
5892 * sysdeps/sh/elf/initfini.c: Remove file.
5893
f63f3380
DM
58942012-02-16 David S. Miller <davem@davemloft.net>
5895
fb59b3a4
DM
5896 [BZ #11494]
5897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5898
f63f3380
DM
5899 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5900 * sysdeps/sparc/crti.S: New file.
5901 * sysdeps/sparc/crtn.S: New file.
5902 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5903 * sysdeps/sparc/sparc64/Makefile: Likewise.
5904
df6a4a4a
MF
59052012-02-15 Mike Frysinger <vapier@gentoo.org>
5906
6dd8f3dc 5907 [BZ #3335]
df6a4a4a
MF
5908 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5909
1cac7236
RM
59102012-02-15 Roland McGrath <roland@hack.frob.com>
5911
d2c736f8
RM
5912 [BZ #4822]
5913 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5914
1cac7236
RM
5915 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5916 (write, read, close): Likewise.
5917 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5918
8e475601
JM
59192012-02-15 Joseph Myers <joseph@codesourcery.com>
5920
5921 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5922 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5923 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5924 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5925 <bits/signalfd.h>.
5926 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5928 bits/signalfd.h.
5929
ed656b40
MP
59302012-02-14 Marek Polacek <polacek@redhat.com>
5931
5932 * sysdeps/x86_64/crti.S: New file.
5933 * sysdeps/x86_64/crtn.S: New file.
5934 * sysdeps/x86_64/elf/initfini.c: Remove file.
5935
2a979d3a
JM
59362012-02-13 Joseph Myers <joseph@codesourcery.com>
5937
5938 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5939 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5940 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5941 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5942 <bits/inotify.h>.
5943 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5945 bits/inotify.h.
5946
2a418ac3
JM
59472012-02-13 Joseph Myers <joseph@codesourcery.com>
5948
5949 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5950 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5951 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5952 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5953 <bits/eventfd.h>.
5954 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5956 bits/eventfd.h.
5957
fb779be7
TS
59582012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5959
e19e83c5
RM
5960 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5961 __feraiseexcept instead of feraiseexcept.
7c35ffed 5962
fb779be7
TS
5963 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5964 nanosleep invocations.
5965 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5966 strings, and add error checking for a nanosleep invocations.
5967
59ba27a6
PE
59682012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5969
5970 Replace FSF snail mail address with URLs, as per GNU coding standards.
5971 Most of the snail mail addresses were wrong anyway, and omitting
5972 them makes the source code easier to maintain. Almost all of the
5973 changes are to license notices and to locale LC_IDENTIFICATION
5974 addresses, except for this one:
5975 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5976 not its snail mail address.
5977
57b957eb
RH
59782012-02-09 Richard Henderson <rth@twiddle.net>
5979
af850b1c
RH
5980 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5981 of kernel-features.h.
5982
57b957eb
RH
5983 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5984
6b73181a
MP
59852012-02-08 Marek Polacek <polacek@redhat.com>
5986
5987 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5988 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5989 * sysdeps/gnu/_G_config.h: Likewise.
5990 * sysdeps/generic/_G_config.h: Likewise.
5991
26ecc33a
AS
59922012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5993
6c6dbc63
AS
5994 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5995 tests.
5996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5997
e216c012
AS
5998 * sysdeps/powerpc/powerpc32/crti.S: New file.
5999 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6000 * sysdeps/powerpc/powerpc64/crti.S: New file.
6001 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6002
26ecc33a
AS
6003 * Makeconfig (have-initfini): Don't set.
6004 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6005 * configure.in (nopic_initfini): Don't substitute.
6006 * config.h.in (HAVE_INITFINI): Don't #undef.
6007 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6008 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6009
3add8e13
JM
60102012-02-08 Joseph Myers <joseph@codesourcery.com>
6011
6012 Support crti.S and crtn.S provided directly by architectures.
6013 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6014 [crti.S in sysdirs] (omit-deps): Likewise.
6015 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6016 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6017 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6018 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6019 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6020 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6021 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6022 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6023 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6024 compiler output for sysdeps/generic/initfini.c.
6025 * sysdeps/i386/elf/Makefile: Remove file.
6026 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6027
a22f12b4
MP
60282012-02-07 Marek Polacek <polacek@redhat.com>
6029
6030 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6031 * sysdeps/gnu/_G_config.h: Likewise.
6032 * sysdeps/mach/hurd/_G_config.h: Likewise.
6033
148cf100
MP
60342012-02-07 Marek Polacek <polacek@redhat.com>
6035
6036 * math/Makefile (tests): Add tst-CMPLX2.
6037 * math/tst-CMPLX2.c: New file.
6038
cfdc0dd7
AS
60392012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6040
84ba42c4
AS
6041 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6042
cfdc0dd7
AS
6043 * math/libm-test.inc (jn_test): Add missing L suffix.
6044
622c86f4
MP
60452012-02-06 Marek Polacek <polacek@redhat.com>
6046
6047 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6048 * sysdeps/i386/fpu/e_powf.S: Likewise.
6049 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6050 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6051 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6052 * sysdeps/i386/fpu/e_pow.S: Likewise.
6053 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6054 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6055 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6056 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6057 * sysdeps/i386/fpu/e_log2.S: Likewise.
6058 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6059 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6060 * sysdeps/i386/fpu/e_powl.S: Likewise.
6061 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6062 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6063 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6064 * sysdeps/i386/fpu/e_logl.S: Likewise.
6065 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6066 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6067 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6068 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6069 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6070 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6071 * sysdeps/i386/fpu/e_log.S: Likewise.
6072 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6073 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6074 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6075 * sysdeps/i386/fpu/e_logf.S: Likewise.
6076 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6077 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6078 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6079 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6080 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6081 * sysdeps/i386/fpu/e_log10.S: Likewise.
6082 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6083 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6084 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6085 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6086 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6087 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6088 * sysdeps/i386/asm-syntax.h: Likewise.
6089 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6090 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6091 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6092 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6093 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6094 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6095 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6096 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6097 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6098 * sysdeps/powerpc/sysdep.h: Likewise.
6099 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6100 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6101
d4a54ac6
JM
61022012-02-06 Joseph Myers <joseph@codesourcery.com>
6103
6104 [BZ #411]
6105 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6106
314054ea
JM
61072012-02-06 Joseph Myers <joseph@codesourcery.com>
6108
6109 * sysdeps/i386/sysdep.h: Include <features.h>.
6110 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6111 version.
6112
d8e0ca50
JM
61132012-02-05 Joseph Myers <joseph@codesourcery.com>
6114
6115 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6116 Define.
6117 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6118 LOAD_PIC_REG_STR.
6119
b1da7dd9
JM
61202012-02-03 Joseph Myers <joseph@codesourcery.com>
6121
6122 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6123 (SETUP_PIC_REG): Use GET_PC_THUNK.
6124 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6125 macro.
6126
9a1d9254
JM
61272012-02-03 Joseph Myers <joseph@codesourcery.com>
6128
6129 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6130 for non-PIC compilation.
6131 (SETUP_PIC_REG): Add .p2align directive.
6132 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6133 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6134 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6135 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6136 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6137 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6138 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6139 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6140 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6141 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6142 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6143 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6144 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6145 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6146 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6147 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6148 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6149 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6150 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6151 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6152 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6153 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6154 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6155 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6156 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6157 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6158 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6159 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6160 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6161 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6162 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6163 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6164 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6165 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6166 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6167 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6168 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6169 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6170 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6171 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6172 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6173
65dc3b75
JM
61742012-02-03 Joseph Myers <joseph@codesourcery.com>
6175
6176 * math/tst-CMPLX.c: Include <stdio.h>.
6177
d55bf177
JM
61782012-01-31 Joseph Myers <joseph@codesourcery.com>
6179
6180 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6181 float.
6182 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6183 * sysdeps/sparc/bits/mathdef.h: Likewise.
6184
69db4f8f
MP
61852012-01-31 Marek Polacek <polacek@redhat.com>
6186
6187 * libio/libio.h: Don't define _PARAMS.
6188 * locale/programs/config.h: Don't define PARAMS.
6189 * stdlib/strtol_l.c: Likewise.
6190 (__strtol_l): Remove PARAMS from the prototype.
6191
41b81892
UD
61922012-01-31 Ulrich Drepper <drepper@gmail.com>
6193
3b49edc0
UD
6194 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6195 names. Just use the correct names. Remove unnecessary wrapper
6196 functions.
6197 * malloc/arena.c: Likewise.
6198 * malloc/hooks.c: Likewise.
6199
41b81892
UD
6200 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6201 ARENA_TEST says not to. Simplify test for creation of a new arena.
6202 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6203
27a25b6e
UD
62042012-01-30 Ulrich Drepper <drepper@gmail.com>
6205
6206 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6207 into tail calls.
6208 (update_get_addr): New function.
6209 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6210 GET_ADDR_MODULE parameter.
6211
c8a89e7d
JM
62122012-01-30 Joseph Myers <joseph@codesourcery.com>
6213
6214 * crypt/cert.c: Remove __STDC__ conditionals.
6215 * crypt/crypt-entry.c: Likewise.
6216 * crypt/crypt_util.c: Likewise.
6217 * libio/filedoalloc.c: Likewise.
6218 * libio/fileops.c: Likewise.
6219 * libio/genops.c: Likewise.
6220 * libio/iofclose.c: Likewise.
6221 * libio/iofdopen.c: Likewise.
6222 * libio/iofopen.c: Likewise.
6223 * libio/iofopen64.c: Likewise.
6224 * libio/iogetdelim.c: Likewise.
6225 * libio/iopopen.c: Likewise.
6226 * libio/obprintf.c: Likewise.
6227 * libio/oldfileops.c: Likewise.
6228 * libio/oldiofclose.c: Likewise.
6229 * libio/oldiofdopen.c: Likewise.
6230 * libio/oldiofopen.c: Likewise.
6231 * libio/oldiopopen.c: Likewise.
6232 * libio/wfiledoalloc.c: Likewise.
6233 * libio/wgenops.c: Likewise.
6234 * locale/programs/xmalloc.c: Likewise.
6235 * misc/syslog.c: Likewise.
6236 * stdio-common/xbug.c: Likewise.
6237 * string/memchr.c: Likewise.
6238 * string/memcmp.c: Likewise.
6239 * string/memrchr.c: Likewise.
6240 * string/rawmemchr.c: Likewise.
6241 * sysdeps/posix/getcwd.c: Likewise.
6242 * time/strftime_l.c: Likewise.
6243
3b100462
JM
62442012-01-30 Joseph Myers <joseph@codesourcery.com>
6245
6246 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6247 * config.make.in (config-cflags-sse2avx): Define.
6248 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6249 Fix typo.
6250
607998af
CM
62512012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6252
6253 * scripts/config.guess: Update from upstream config git repository.
6254 * scripts/config.sub: Likewise.
6255
3601428f
CM
62562012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6257
3ac8b282
CM
6258 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6259 (EM_NUM): Update.
6260 (R_TILEPRO_*, R_TILEGX_*): New macros.
6261
e034841e
CM
6262 * scripts/firstversions.awk: Fix bug in version range handling.
6263
540d7568
CM
6264 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6265
3601428f
CM
6266 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6267
463de862
CM
6268 * include/sys/epoll.h: New file.
6269 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6270 libc_hidden_def.
6271
73139a76
UD
62722012-01-28 Ulrich Drepper <drepper@gmail.com>
6273
96bc5b45
UD
6274 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6275 Avoid unnecessary __WORDSIZE == 64 test.
6276 (fmaxf): Use VEX format if possible.
6277 (fmax): Likewise.
6278 (fminf): Likewise.
6279 (fmin): Likewise.
6280
56f6f6a2
UD
6281 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6282 * math/math_private.h: Remove libc_fegetround* and
6283 libc_fesetround*.
6284 * sysdeps/i386/configure.in: Check for -msse2avx.
6285 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6286 also if SSE2AVX is defined.
6287 Remove libc_fegetround* and libc_fesetround*.
6288 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6289 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6290 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6291 of HAS_YMM_USABLE.
6292 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6293 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6294 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6295 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6296 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6297
73139a76
UD
6298 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6299
d73f93a4
AZ
63002012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6301
6302 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6303 size is not set.
6304 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6305
6ee65ed6
UD
63062012-01-27 Ulrich Drepper <drepper@gmail.com>
6307
6308 [BZ #13618]
6309 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6310 relocation.
6311 * Makeconfig (libm): Define.
6312 * elf/Makefile: Add rules to build and run tst-relsort1.
6313 * elf/tst-relsort1.c: New file.
6314 * elf/tst-relsort1mod1.c: New file.
6315 * elf/tst-relsort1mod2.c: New file.
6316
8db21882
JM
63172012-01-27 Joseph Myers <joseph@codesourcery.com>
6318
6319 * math/s_ldexp.c: Remove __STDC__ conditionals.
6320 * math/s_ldexpf.c: Likewise.
6321 * math/s_ldexpl.c: Likewise.
6322 * math/s_nextafter.c: Likewise.
6323 * math/s_nexttowardf.c: Likewise.
6324 * math/s_significand.c: Likewise.
6325 * math/s_significandf.c: Likewise.
6326 * math/s_significandl.c: Likewise.
6327 * math/w_jnl.c: Likewise.
6328 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6329 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6330 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6331 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6332 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6333 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6334 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6335 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6336 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6337 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6338 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6339 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6340 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6341 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6342 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6343 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6344 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6345 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6347 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6348 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6349 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6350 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6351 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6352 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6353 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6354 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6355 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6356 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6357 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6358 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6359 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6360 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6361 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6362 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6363 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6364 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6365 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6366 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6367 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6368 * sysdeps/ieee754/k_standard.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6386 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6392 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6394 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6395 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6396 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6398 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6399 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6400 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6401 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6404 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6405 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6412 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6413 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6414 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6415 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6416 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6417 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6418 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6420 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6430 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6435 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6443 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6444 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6445 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6448 * sysdeps/ieee754/s_matherr.c: Likewise.
6449 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6450 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6451 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6452 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6453
965a54a4
JM
64542012-01-26 Joseph Myers <joseph@codesourcery.com>
6455
6456 * crypt/md5.h: Remove __STDC__ conditionals.
6457 * libio/libioP.h: Likewise.
6458 * locale/programs/config.h: Likewise.
6459 * sysdeps/generic/sysdep.h: Likewise.
6460 * sysdeps/i386/asm-syntax.h: Likewise.
6461 * sysdeps/s390/asm-syntax.h: Likewise.
6462 * sysdeps/unix/sysdep.h: Likewise.
6463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6465
7071ad79
JM
64662012-01-26 Joseph Myers <joseph@codesourcery.com>
6467
6468 * libio/libio.h: Remove __STDC__ conditionals.
6469 * malloc/obstack.h: Likewise.
6470 * math/complex.h: Likewise.
6471 * math/math.h: Likewise.
6472 * sysdeps/generic/_G_config.h: Likewise.
6473 * sysdeps/gnu/_G_config.h: Likewise.
6474 * sysdeps/mach/hurd/_G_config.h: Likewise.
6475 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6476 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6477 * sysdeps/sparc/bits/mathdef.h: Likewise.
6478
afc5ed09
UD
64792012-01-26 Ulrich Drepper <drepper@gmail.com>
6480
6481 [BZ #13583]
6482 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6483 Clean up HAS_* macros.
afc5ed09 6484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6485 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6486 possible.
6487 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6488 HAS_AVX.
6489 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6490 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6491 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6492 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6493 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6494
bdb6de1d
JM
64952012-01-25 Joseph Myers <joseph@codesourcery.com>
6496
6497 * elf/tst-unique3.cc (gets): Remove declaration.
6498 * elf/tst-unique3lib.cc (gets): Likewise.
6499 * elf/tst-unique3lib2.cc (gets): Likewise.
6500 * elf/tst-unique4.cc (gets): Likewise.
6501
b15549e6
UD
65022012-01-24 Ulrich Drepper <drepper@gmail.com>
6503
6504 * include/stdio.h: Add C++ protection. Add gets declarations and
6505 definitions.
6506 * debug/tst-chk1.c: Don't declare gets here.
6507 * stdio-common/tst-gets.c: Likewise.
6508
a037381f
JM
65092012-01-24 Joseph Myers <joseph@codesourcery.com>
6510
6511 * posix/glob: Remove directory.
6512
f1d4aa75
JM
65132012-01-24 Joseph Myers <joseph@codesourcery.com>
6514
6515 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6516
81c0c964
PT
65172012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6518
6519 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6520 of the non-standard EPFNOSUPPORT.
6521
0ea698ae
ST
65222011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6523
6524 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6525 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6526 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6527
d220b117
UD
65282012-01-21 Ulrich Drepper <drepper@gmail.com>
6529
6530 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6531
3e1aa84e
UD
65322012-01-20 Ulrich Drepper <drepper@gmail.com>
6533
6534 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6535 transient errors.
6536 * nscd/grpcache.c (cache_addgr): Likewise.
6537 * nscd/hstcache.c (cache_addhst): Likewise.
6538 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6539 * nscd/pwdcache.c (cache_addpw): Likewise.
6540 * nscd/servicescache.c (cache_addserv): Likewise.
6541
400aa020
UD
65422012-01-16 Ulrich Drepper <drepper@gmail.com>
6543
d77e7869
UD
6544 * malloc/malloc.c: Various cleanups.
6545 * malloc/hooks.c: Likewise.
6546
400aa020
UD
6547 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6548 * stdlib/bug-fmtmsg1.c: New file.
6549
6550 * stdlib/fmtmsg.c (init): Add missing unlock.
6551 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6552
e0a309cf
MP
65532012-01-12 Marek Polacek <polacek@redhat.com>
6554
6555 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6556 and _GNU_SOURCE.
6557
929d11c7
WS
65582012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6559
6560 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6561 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6562 macro to ensure uniqueness of label name.
6563 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6564 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6565
41d0e869
UD
65662012-01-11 Ulrich Drepper <drepper@gmail.com>
6567
0cc5ed3b
UD
6568 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6569
41d0e869
UD
6570 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6571 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6572 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6573 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6574
a47a831a
UD
65752012-01-10 Ulrich Drepper <drepper@gmail.com>
6576
daa891c0
UD
6577 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6578
6579 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6580 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6581 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6582
e58ef0f2
UD
6583 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6584
a47a831a 6585 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6586 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6587 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6588 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6589
6590 * math/bits/math-finite.h: Add ldexp support.
6591
a0bfc9c7
MP
65922012-01-10 Marek Polacek <polacek@redhat.com>
6593
6594 * locale/programs/localedef.h (show_archive_content): Add noreturn
6595 attribute.
6596
d6e97a1d
UD
65972012-01-09 Ulrich Drepper <drepper@gmail.com>
6598
6599 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6600
d5835c26
UD
66012012-01-08 Ulrich Drepper <drepper@gmail.com>
6602
e5f484c6
UD
6603 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6604
d5835c26
UD
6605 * io/Makefile (headers): Add bits/poll2.h.
6606
d1f741e9
WS
66072011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6608
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6610 typo #include statement.
6611
ec09c1c4
UD
66122012-01-08 Ulrich Drepper <drepper@gmail.com>
6613
6614 * include/sys/cdefs.h: Define __attribute_alloc_size.
6615 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6616 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6617 * elf/pldd.c: Likewise.
6618 * iconv/iconv_charmap.c: Likewise.
6619 * iconv/iconvconfig.c: Likewise.
6620 * iconv/strtab.c: Likewise.
6621 * locale/programs/locale.c: Likewise.
6622 * locale/programs/localedef.h: Likewise.
6623 * locale/programs/simple-hash.c: Likewise.
6624 * nscd/nscd.h: Likewise.
6625 * nss/makedb.c: Likewise.
6626 * sysdeps/generic/ldconfig.h: Likewise.
6627 * locale/programs/localedef.c: Remove xmalloc prototype.
6628 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6629
20b38e03
PP
66302012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6631
6632 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6633 appropriate.
6634
a0da5fe1
UD
66352012-01-08 Ulrich Drepper <drepper@gmail.com>
6636
1d5a644a 6637 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6638 * math/tst-CMPLX.c: New file.
1d5a644a 6639
8784a6db
UD
6640 * math/complex.h (CMPLXL): Fix typo.
6641
d9a216c0
UD
6642 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6643 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6644 GLIBC_2.16.
6645 * debug/tst-chk1.c: Add poll and ppoll tests.
6646 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6647 * include/sys/poll.h: Add hidden proto for ppoll.
6648 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6649 * sysdeps/mach/hurd/ppoll.c: Likewise.
6650 * io/ppoll.c: Likewise.
6651 * debug/poll_chk.c: New file.
6652 * debug/ppoll_chk.c: New file.
6653 * include/bits/poll2.h: New file.
6654 * io/bits/poll2.h: New file.
6655
ac097f5c
UD
6656 [BZ #1350]
6657 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6658
2119dcfa
UD
6659 * configure.in: static is always set to yes. Remove.
6660 * config.make.in: Don't set build-static.
6661 * Makeconfig: Remove use of build-static.
6662 * dlfcn/Makefile: Likewise.
6663 * elf/Makefile: Likewise.
6664 * math/Makefile: Likewise.
6665 * misc/Makefile: Likewise.
6666 * nptl/Makefile: Likewise.
6667 * sysdeps/mach/hurd/Makefile: Likewise.
6668
121766a9
UD
6669 * configure.in: PWD_P is not used anymore.
6670 * config.make.in: Remove PWD_P entry.
6671
51a1d39c 6672 * configure.in: Remove last remnants of RANLIB.
8720d066 6673 No need to check for signed size_t anymore.
215f4bdc
UD
6674 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6675 and IA-64.
3857022a 6676 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6677 * aclocal.m4: Likewise.
6678
d3ed7225
UD
6679 * wcsmbs/mbrtoc16.c: Implement using towc function.
6680 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6681 * wcsmbs/wcsmbsload.c: Likewise.
6682 * iconv/gconv_simple.c: Likewise.
6683 * iconv/gconv_int.h: Likewise.
6684 * iconv/gconv_builtin.h: Likewise.
6685 * iconv/iconv_prog.c: Remove CHAR16 handling.
6686
6687 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6688
6689 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6690
a0da5fe1
UD
6691 * configure.in: Remove --with-elf and --enable-bounded options.
6692 Dont set base_machine for ia64. More non-ELF conditions removed.
6693 Remove testing and setting of leading underscore information.
6694 * config.make.in (build-bounded): Set to no.
6695 * config.h.in: Remove NO_UNDERSCORES entry.
6696 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6697 them.
6698 * csu/start.c: Remove !NO_UNDERSCORE code.
6699 * locale/localeinfo.h: Likewise.
6700 * sysdeps/generic/machine-gmon.h: Likewise.
6701 * sysdeps/generic/sysdep.h: Likewise.
6702 * sysdeps/i386/sysdep.h: Likewise.
6703 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6704 * sysdeps/mach/sysdep.h: Likewise.
6705 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6706 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6707 * sysdeps/sh/sysdep.h: Likewise.
6708 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6709 * sysdeps/unix/i386/sysdep.S: Likewise.
6710 * sysdeps/unix/sparc/start.c: Likewise.
6711 * sysdeps/unix/sparc/sysdep.S: Likewise.
6712 * sysdeps/unix/sparc/sysdep.h: Likewise.
6713 * sysdeps/unix/start.c: Likewise.
6714 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6715 * sysdeps/x86_64/sysdep.h: Likewise.
6716
df78418a
UD
67172012-01-07 Ulrich Drepper <drepper@gmail.com>
6718
a784e502
UD
6719 [BZ #13553]
6720 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6721 for non-gcc.
6722 * argp/argp-fmtstream.h: Use const instead __const.
6723 * argp/argp.h: Likewise.
6724 * assert/assert.h: Likewise.
6725 * bits/fenv.h: Likewise.
6726 * bits/sched.h: Likewise.
6727 * bits/sigset.h: Likewise.
6728 * bits/sigthread.h: Likewise.
6729 * catgets/nl_types.h: Likewise.
6730 * conform/data/pthread.h-data: Likewise.
6731 * crypt/crypt-private.h: Likewise.
6732 * crypt/crypt.h: Likewise.
6733 * crypt/crypt_util.c: Likewise.
6734 * ctype/ctype.h: Likewise.
6735 * debug/execinfo.h: Likewise.
6736 * debug/mbsnrtowcs_chk.c: Likewise.
6737 * debug/mbsrtowcs_chk.c: Likewise.
6738 * debug/wcsnrtombs_chk.c: Likewise.
6739 * debug/wcsrtombs_chk.c: Likewise.
6740 * debug/wcstombs_chk.c: Likewise.
6741 * dirent/dirent.h: Likewise.
6742 * dlfcn/dlfcn.h: Likewise.
6743 * elf/neededtest4.c: Likewise.
6744 * grp/grp.h: Likewise.
6745 * gshadow/gshadow.h: Likewise.
6746 * iconv/gconv.h: Likewise.
6747 * iconv/gconv_int.h: Likewise.
6748 * iconv/gconv_simple.c: Likewise.
6749 * iconv/iconv.h: Likewise.
6750 * iconv/loop.c: Likewise.
6751 * iconv/skeleton.c: Likewise.
6752 * include/aio.h: Likewise.
6753 * include/aliases.h: Likewise.
6754 * include/argz.h: Likewise.
6755 * include/arpa/inet.h: Likewise.
6756 * include/assert.h: Likewise.
6757 * include/dirent.h: Likewise.
6758 * include/dlfcn.h: Likewise.
6759 * include/execinfo.h: Likewise.
6760 * include/fcntl.h: Likewise.
6761 * include/fenv.h: Likewise.
6762 * include/glob.h: Likewise.
6763 * include/grp.h: Likewise.
6764 * include/libintl.h: Likewise.
6765 * include/mntent.h: Likewise.
6766 * include/netdb.h: Likewise.
6767 * include/pwd.h: Likewise.
6768 * include/rpc/netdb.h: Likewise.
6769 * include/sched.h: Likewise.
6770 * include/search.h: Likewise.
6771 * include/shadow.h: Likewise.
6772 * include/signal.h: Likewise.
6773 * include/stdio.h: Likewise.
6774 * include/stdlib.h: Likewise.
6775 * include/string.h: Likewise.
6776 * include/sys/socket.h: Likewise.
6777 * include/sys/stat.h: Likewise.
6778 * include/sys/statfs.h: Likewise.
6779 * include/sys/statvfs.h: Likewise.
6780 * include/sys/syslog.h: Likewise.
6781 * include/sys/time.h: Likewise.
6782 * include/sys/uio.h: Likewise.
6783 * include/time.h: Likewise.
6784 * include/unistd.h: Likewise.
6785 * include/utmp.h: Likewise.
6786 * include/wchar.h: Likewise.
6787 * include/wctype.h: Likewise.
6788 * inet/aliases.h: Likewise.
6789 * inet/arpa/inet.h: Likewise.
6790 * inet/netinet/ether.h: Likewise.
6791 * inet/netinet/in.h: Likewise.
6792 * intl/libintl.h: Likewise.
6793 * io/bits/fcntl2.h: Likewise.
6794 * io/fcntl.h: Likewise.
6795 * io/ftw.h: Likewise.
6796 * io/sys/poll.h: Likewise.
6797 * io/sys/stat.h: Likewise.
6798 * io/sys/statfs.h: Likewise.
6799 * io/sys/statvfs.h: Likewise.
6800 * io/utime.h: Likewise.
6801 * libio/bits/stdio.h: Likewise.
6802 * libio/bits/stdio2.h: Likewise.
6803 * libio/libio.h: Likewise.
6804 * libio/libioP.h: Likewise.
6805 * libio/stdio.h: Likewise.
6806 * locale/lc-ctype.c: Likewise.
6807 * locale/locale.h: Likewise.
6808 * login/utmp.h: Likewise.
6809 * malloc/arena.c: Likewise.
6810 * malloc/malloc.c: Likewise.
6811 * malloc/malloc.h: Likewise.
6812 * malloc/mcheck.c: Likewise.
6813 * malloc/mtrace.c: Likewise.
6814 * math/bits/mathcalls.h: Likewise.
6815 * math/fenv.h: Likewise.
6816 * math/math_private.h: Likewise.
6817 * misc/bits/error.h: Likewise.
6818 * misc/bits/syslog.h: Likewise.
6819 * misc/err.h: Likewise.
6820 * misc/error.h: Likewise.
6821 * misc/fstab.h: Likewise.
6822 * misc/mntent.h: Likewise.
6823 * misc/regexp.h: Likewise.
6824 * misc/search.h: Likewise.
6825 * misc/sgtty.h: Likewise.
6826 * misc/sys/mman.h: Likewise.
6827 * misc/sys/syslog.h: Likewise.
6828 * misc/sys/uio.h: Likewise.
6829 * misc/sys/xattr.h: Likewise.
6830 * misc/ttyent.h: Likewise.
6831 * nis/rpcsvc/ypclnt.h: Likewise.
6832 * nss/nss.h: Likewise.
6833 * posix/bits/unistd.h: Likewise.
6834 * posix/fnmatch.h: Likewise.
6835 * posix/glob.h: Likewise.
6836 * posix/sched.h: Likewise.
6837 * posix/spawn.h: Likewise.
6838 * posix/sys/wait.h: Likewise.
6839 * posix/unistd.h: Likewise.
6840 * posix/wordexp.h: Likewise.
6841 * pwd/pwd.h: Likewise.
6842 * resolv/netdb.h: Likewise.
6843 * resource/sys/resource.h: Likewise.
6844 * rt/aio.h: Likewise.
6845 * rt/bits/mqueue2.h: Likewise.
6846 * rt/mqueue.h: Likewise.
6847 * shadow/shadow.h: Likewise.
6848 * signal/signal.h: Likewise.
6849 * socket/send.c: Likewise.
6850 * socket/sendto.c: Likewise.
6851 * socket/sys/socket.h: Likewise.
6852 * stdio-common/printf.h: Likewise.
6853 * stdlib/bits/stdlib.h: Likewise.
6854 * stdlib/fmtmsg.h: Likewise.
6855 * stdlib/monetary.h: Likewise.
6856 * stdlib/stdlib.h: Likewise.
6857 * stdlib/ucontext.h: Likewise.
6858 * streams/stropts.h: Likewise.
6859 * string/argz.h: Likewise.
6860 * string/bits/string2.h: Likewise.
6861 * string/string.h: Likewise.
6862 * string/strings.h: Likewise.
6863 * sunrpc/rpc/auth.h: Likewise.
6864 * sunrpc/rpc/auth_des.h: Likewise.
6865 * sunrpc/rpc/clnt.h: Likewise.
6866 * sunrpc/rpc/netdb.h: Likewise.
6867 * sunrpc/rpc/pmap_clnt.h: Likewise.
6868 * sunrpc/rpc/xdr.h: Likewise.
6869 * sysdeps/generic/inttypes.h: Likewise.
6870 * sysdeps/generic/net/if.h: Likewise.
6871 * sysdeps/generic/sys/swap.h: Likewise.
6872 * sysdeps/gnu/net/if.h: Likewise.
6873 * sysdeps/gnu/utmpx.h: Likewise.
6874 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6875 * sysdeps/i386/i486/bits/string.h: Likewise.
6876 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6877 * sysdeps/s390/bits/string.h: Likewise.
6878 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6879 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6880 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6881 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6882 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6883 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6884 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6885 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6886 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6887 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6888 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6889 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6890 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6891 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6892 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6893 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6894 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6896 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6897 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6898 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6899 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6900 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6901 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6902 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6903 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6904 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6905 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6906 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6907 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6908 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6909 * sysvipc/sys/ipc.h: Likewise.
6910 * sysvipc/sys/msg.h: Likewise.
6911 * sysvipc/sys/sem.h: Likewise.
6912 * sysvipc/sys/shm.h: Likewise.
6913 * termios/termios.h: Likewise.
6914 * time/sys/time.h: Likewise.
6915 * time/time.h: Likewise.
6916 * wcsmbs/bits/wchar2.h: Likewise.
6917 * wcsmbs/uchar.h: Likewise.
6918 * wcsmbs/wchar.h: Likewise.
6919 * wctype/wctype.h: Likewise.
6920
0269750c
UD
6921 [BZ #13551]
6922 * Makeconfig: Remove all but ELF support including AIX support.
6923 * Makerules: Likewise.
6924 * config.h.in: Likewise.
6925 * config.make.in: Likewise.
6926 * configure: Likewise.
6927 * configure.in: Likewise.
6928 * csu/Makefile: Likewise.
6929 * csu/version.c: Likewise.
6930 * debug/Makefile: Likewise.
6931 * dlfcn/Makefile: Likewise.
6932 * elf/Makefile: Likewise.
6933 * extra-lib.mk: Likewise.
6934 * iconv/Makefile: Likewise.
6935 * include/libc-symbols.h: Likewise.
6936 * include/shlib-compat.h: Likewise.
6937 * resolv/Makefile: Likewise.
6938 * resolv/res_libc.c: Likewise.
6939 * rt/Makefile: Likewise.
6940 * sysdeps/i386/asm-syntax.h: Likewise.
6941 * sysdeps/i386/sysdep.h: Likewise.
6942 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6943 * sysdeps/mach/sysdep.h: Likewise.
6944 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6945 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6946 * sysdeps/s390/asm-syntax.h: Likewise.
6947 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6948 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6949 * sysdeps/sh/sysdep.h: Likewise.
6950 * sysdeps/unix/sparc/sysdep.h: Likewise.
6951 * sysdeps/wordsize-32/divdi3.c: Likewise.
6952 * sysdeps/x86_64/sysdep.h: Likewise.
6953
00bbd29b
UD
6954 * argp/Versions: Remove _argp_unlock_xxx.
6955
6956 [BZ #13559]
6957 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6958 * abilist/libBrokenLocale.abilist: Likewise.
6959 * abilist/libanl.abilist: Likewise.
6960 * abilist/libc.abilist: Likewise.
6961 * abilist/libcrypt.abilist: Likewise.
6962 * abilist/libdl.abilist: Likewise.
6963 * abilist/libm.abilist: Likewise.
6964 * abilist/libnsl.abilist: Likewise.
6965 * abilist/libpthread.abilist: Likewise.
6966 * abilist/libresolv.abilist: Likewise.
6967 * abilist/librt.abilist: Likewise.
6968 * abilist/libthread_db.abilist: Likewise.
6969 * abilist/libutil.abilist: Likewise.
6970 * abilist/libnss_db.abilist: New file.
6971
6972 * scripts/abilist.awk: Add support for indirect functions.
6973
a2693a0e
UD
6974 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6975
3f05895f
UD
6976 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6977
ecb6fb48
UD
6978 * shlib-versions: Remove entries for ports architectures.
6979
664f8cb9
UD
6980 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6981 files in ports.
6982 * elf/stackguard-macros.h: Remove support for IA-64.
6983 * elf/tst-auditmod1.c: Likewise.
6984 * sysdeps/generic/ldsodefs.h: Likewise.
6985
7ae81d88
UD
6986 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6987 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6988 configure files.
6989
bdeba135
UD
6990 [BZ #13552]
6991 * configure.in: Remove --enable-omitfp support.
6992 * FAQ.in: Adjust.
6993 * config.make.in: Likewise.
6994 * Makeconfig: Likewise.
6995 * manual/install.texi: Likewise.
6996
d75a0a62
UD
6997 In case anyone cares, the IA-64 architecture could move to ports.
6998 * sysdeps/ia64/*: Removed.
6999 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7000 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7001
dcc9756b
UD
7002 [BZ #13555]
7003 * configure.in: Remove entries for unsupported architectures.
7004
d3761ebc 7005 [BZ #13533]
9954432e
UD
7006 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7007 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7008 routines.
7009 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7010 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7011 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7012 fall back to using wcrtomb.
7013 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7014 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7015 renaming.
7016 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7017 * wcsmbs/tst-c16c32-1.c: New file.
7018
7019 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7020 local variable.
7021
c3a87236
UD
7022 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7023
28926a1b
UD
7024 * elf/tst-unique3.cc: Add explicit declaration of gets.
7025 * elf/tst-unique3lib.cc: Likewise.
7026 * elf/tst-unique3lib2.cc: Likewise.
7027 * elf/tst-unique4.cc: Likewise.
7028
df78418a
UD
7029 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7030
8ecd6b2a
JM
70312012-01-06 Joseph Myers <joseph@codesourcery.com>
7032
7033 [BZ #13566]
7034 * assert/assert.h (static_assert): Don't define for C++.
7035 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7036 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7037
9f115170
UD
70382012-01-03 Ulrich Drepper <drepper@gmail.com>
7039
5e0d0300
UD
7040 * iconv/loop.c (single loop): Fix assertion in storing of
7041 remaining bytes.
7042
9f115170
UD
7043 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7044
81fb02b0
UD
70452012-01-01 Ulrich Drepper <drepper@gmail.com>
7046
7047 * posix/getconf.c: Update copyright year.
7048 * nss/getent.c: Likewise.
a316c1f6 7049 * nss/makedb.c: Likewise.
81fb02b0
UD
7050 * iconv/iconvconfig.c: Likewise.
7051 * iconv/iconv_prog.c: Likewise.
7052 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7053 * elf/pldd.c: Likewise.
7054 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7055 * catgets/gencat.c: Likewise.
7056 * csu/version.c: Likewise.
7057 * elf/ldd.bash.in: Likewise.
7058 * elf/sprof.c (print_version): Likewise.
7059 * locale/programs/locale.c: Likewise.
7060 * locale/programs/localedef.c: Likewise.
a316c1f6 7061 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7062 * nscd/nscd.c (print_version): Likewise.
7063 * debug/xtrace.sh: Likewise.
7064 * malloc/memusage.sh: Likewise.
7065 * malloc/mtrace.pl: Likewise.
7066 * debug/catchsegv.sh: Likewise.
7067
2ba92745
JJ
70682011-12-30 Jakub Jelinek <jakub@redhat.com>
7069
7070 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7071 pure attribute.
7072
dadebdae
UD
70732011-12-24 Ulrich Drepper <drepper@gmail.com>
7074
d3761ebc 7075 [BZ #13533]
db6af3eb
UD
7076 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7077 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7078 transformations.
7079 * iconv/gconv_int.h: Likewise.
7080 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7081 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7082 from libc for GLIBC_2.16.
7083 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7084 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7085 * wcsmbs/uchar.h: Really define mbstate_t.
7086 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7087 * wcsmbs/c16rtomb.c: New file.
7088 * wcsmbs/mbrtoc16.c: New file.
7089 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7090 for C/POSIX locale.
7091 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7092 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7093
dadebdae
UD
7094 * wcsmbs/wchar.h: Add missing __restrict.
7095
67371b56
UD
70962011-12-23 Ulrich Drepper <drepper@gmail.com>
7097
74033a25
UD
7098 [BZ #13532]
7099 * time/Makefile (routines): Add timespec_get.
7100 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7101 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7102 timespec for ISO C11.
7103 * time/timespec_get.c: New file.
7104 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7105 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7106
380d7e87
UD
7107 [BZ #13531]
7108 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7109 * stdlib/stdlib.h: Declare aligned_alloc.
7110 * Versions.def: Add GLIBC_2.16 for libc.
7111 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7112
4e9e7a35
UD
7113 [BZ 13527]
7114 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7115 ISO C11.
7116
380d7e87 7117 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7118 code.
7119
03a71829
UD
7120 [BZ #13528]
7121 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7122
839e283e
UD
7123 [BZ #13529]
7124 * assert/assert.h (static_assert): Define.
7125
ce5294e2 7126 * version.h: Update for 2.16 development version.
90fa7312 7127
8d44e150 7128 [BZ #13526]
d7809905
UD
7129 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7130 _ISOC11_SOURCE.
7131
c0da14cd
UD
7132 * version.h (RELEASE): Bump for 2.15 release.
7133 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7134
530a3249
MP
7135 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7136 Patch by Marek Polacek <mpolacek@redhat.com>.
7137
67371b56
UD
7138 * bits/byteswap.h: Protect long long constants with __extension__.
7139 * sysdeps/i386/bits/byteswap.h: Likewise.
7140 * sysdeps/ia64/bits/byteswap.h: Likewise.
7141 * sysdeps/s390/bits/byteswap.h: Likewise.
7142 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7143
15db4de1
LD
71442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7145
7146 [BZ #13540]
bbe315ea
LD
7147 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7148 destination buffer.
15db4de1
LD
7149 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7150
2b2596b1
MP
71512011-12-23 Marek Polacek <polacek@redhat.com>
7152
7153 * elf/dl-addr.c (determine_info): Add inline keyword.
7154 * elf/tst-auditmod4b.c (check_avx): Likewise.
7155 * elf/tst-auditmod6b.c (check_avx): Likewise.
7156 * elf/tst-auditmod6c.c (check_avx): Likewise.
7157 * elf/tst-auditmod7b.c (check_avx): Likewise.
7158
70c6c246
UD
71592011-12-23 Ulrich Drepper <drepper@gmail.com>
7160
7161 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7162 !__SSE_MATH__.
7163
c044cf14
LD
71642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7165
15db4de1 7166 [BZ #13540]
c044cf14
LD
7167 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7168 processing for last bytes.
7169
6b13d9d9
BH
71702011-08-06 Bruno Haible <bruno@clisp.org>
7171
d455f537
BH
7172 [BZ #13061]
7173 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7174 U+0385, not to U+1FEE.
7175
6b13d9d9
BH
7176 [BZ #13062]
7177 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7178 entry for U+00A5 U+0301.
7179
db910efd
UD
71802011-12-22 Ulrich Drepper <drepper@gmail.com>
7181
27deeafc
UD
7182 [BZ #13166]
7183 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7184 buffer for the output is too small.
7185
aed9d171
UD
7186 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7187 optimization.
7188
db910efd
UD
7189 [BZ #13185]
7190 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7191 SSE flags if possible.
7192
2bd779ae
LD
71932011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7194
e7f9dac3 7195 [BZ #13540]
2bd779ae
LD
7196 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7197 processing for last bytes.
7198
154bfc16
JM
71992011-12-22 Joseph Myers <joseph@codesourcery.com>
7200
7201 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7202 (syscall-list-default-options, syscall-list-default-condition)
7203 (syscall-list-includes): Define.
7204 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7205 list of ABIs and options and #if conditions for each ABI. Do not
7206 handle common syscalls between ABIs specially.
7207 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7208 Remove.
7209 (syscall-list-variants, syscall-list-32bit-options)
7210 (syscall-list-32bit-condition, syscall-list-64bit-options)
7211 (syscall-list-64bit-condition): Define.
7212 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7213 (syscall-list-variants, syscall-list-32bit-options)
7214 (syscall-list-32bit-condition, syscall-list-64bit-options)
7215 (syscall-list-64bit-condition): Define.
7216 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7217 Remove.
7218 (syscall-list-variants, syscall-list-32bit-options)
7219 (syscall-list-32bit-condition, syscall-list-64bit-options)
7220 (syscall-list-64bit-condition): Define.
7221 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7222 Remove.
7223 (syscall-list-variants, syscall-list-32bit-options)
7224 (syscall-list-32bit-condition, syscall-list-64bit-options)
7225 (syscall-list-64bit-condition): Define.
7226
21eaf3a5
UD
72272011-12-22 Ulrich Drepper <drepper@gmail.com>
7228
16c6f992
UD
7229 * locale/iso-639.def: Add brx entry.
7230
41043168
UD
7231 [BZ #13328]
7232 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7233 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7234
21eaf3a5
UD
7235 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7236 __feraiseexcept_renamed.
7237
e3a851a2
UD
72382011-12-21 Ulrich Drepper <drepper@gmail.com>
7239
4920765e
UD
7240 [BZ #13538]
7241 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7242 EPOLLET with unsigned values.
7243 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7244 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7245
e3a851a2
UD
7246 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7247 to large cancellation.
7248 * math/s_cacoshf.c: Likewise.
7249 * math/s_cacoshl.c: Likewise.
7250
b27e24b8
RK
72512011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7252
7253 [BZ #13305]
aebefeee 7254 [BZ #12786]
b27e24b8
RK
7255 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7256 * math/s_cacoshf.c: Likewise.
7257 * math/s_cacoshl.c: Likewise.
7258
ee190f67
UD
72592011-12-21 Ulrich Drepper <drepper@gmail.com>
7260
7261 [BZ #13439]
7262 * iconv/gconv.h: Define __GCONV_SWAP.
7263 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7264 * iconvdata/utf-16.c: Likewise.
7265 * iconvdata/utf-32.c: Likewise.
7266
707f25df
AS
72672011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7268
7269 [BZ #13524]
7270 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7271 numerator after shifting it by one limb.
7272
d2daaa1e
RÁE
72732011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7274
7275 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7276 under [__USE_EXTERN_INLINES].
7277
a4647e72
UD
72782011-12-17 Ulrich Drepper <drepper@gmail.com>
7279
7280 [BZ #13446]
7281 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7282
f0b264f1
AZ
72832011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7284
7285 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7286 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7287 optimized code.
7288 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7289 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7290 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7291 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7292 for strncasecmp/strncasecmp_l compilation.
7293 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7294 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7295
8ef4f244
MP
72962011-12-08 Marek Polacek <mpolacek@redhat.com>
7297
7298 [BZ #13484]
7299 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7300 of __asm__.
7301
97ac2654
UD
73022011-12-17 Ulrich Drepper <drepper@gmail.com>
7303
7304 [BZ #13506]
7305 * time/tzfile.c (__tzfile_read): Check values from file header.
7306
91d2a845
WS
73072011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7308
7309 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7310 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7311 * powerpc/powerpc32/dl-start.S: Likewise.
7312 * powerpc/powerpc32/elf/start.S: Likewise.
7313 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7314 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7315 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7316 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7317 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7318 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7319 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7320 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7321 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7322 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7323 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7324 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7325 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7326 * powerpc/powerpc32/memset.S: Likewise.
7327 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7328 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7329 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7330 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7331 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7332 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7333 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7334 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7335 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7336 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7337 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7338 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7339 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7340
a1267ba1
AZ
73412011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7342
7343 * math/libm-test.inc: Added more nearbyint tests.
7344 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7345 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7347 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7348
ad8ac1bd
RL
73492011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7350
7351 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7352 FD_CLOEXEC.
7353
1d3e4b61
UD
73542011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7355
7356 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7357 Add wcscpy-ssse3 wcscpy-c.
7358 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7359 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7360 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7361 * sysdeps/x86_64/wcschr.S: New file.
7362 * sysdeps/x86_64/wcsrchr.S: New file.
7363 * string/test-strcmp.c: Remove checking of wcscmp function for
7364 wrong alignments.
7365 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7366 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7367 wcsrchr-sse2 wcsrchr-c.
7368 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7369 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7370 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7371 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7372 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7373 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7374 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7375 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7376 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7377 * wcsmbc/wcschr.c (WCSCHR): New macro.
7378
5b330a2d
UD
73792011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7380
7381 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7382 * wcsmbs/test-wcsrchr.c: New file.
7383 * string/test-strrchr.c: Add wcsrchr support.
7384 (WIDE): New macro.
7385 * wcsmbs/test-wcscpy.c: New file.
7386 * string/test-strcpy.c: Add wcscpy support.
7387 (WIDE): New macro.
26428b7c 7388
f039c043
UD
73892011-12-10 Ulrich Drepper <drepper@gmail.com>
7390
7391 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7392 the inner loop.
7393
850fb039
AS
73942011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7395
7396 [BZ #13472]
7397 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7398
4efbd5cb
UD
73992011-12-04 Ulrich Drepper <drepper@gmail.com>
7400
52ff5dd0 7401 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7402 Minor optimizations.
52ff5dd0 7403
4efbd5cb
UD
7404 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7405 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7406 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7407
8a426e12
UD
74082011-12-03 Ulrich Drepper <drepper@gmail.com>
7409
aff2453d
UD
7410 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7411 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7412 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7413 for gcc to avoid warnings.
7414 * inet/Makefile (tests): Add tst-checks.
7415 * inet/tst-checks.c: New file.
7416
7417 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7418 warning.
7419
7420 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7421 __wmemcmp_sse2.
7422
7423 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7424 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7425
8a426e12
UD
7426 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7427
9bea3473
UD
74282011-12-02 Ulrich Drepper <drepper@gmail.com>
7429
3a965496
UD
7430 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7431 problem.
7432
9bea3473
UD
7433 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7434
f101631b
UD
74352011-11-29 Joseph Myers <joseph@codesourcery.com>
7436
7437 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7438 conditional on GCC version.
7439 (__arch_compare_and_exchange_val_8_acq)
7440 (__arch_compare_and_exchange_val_16_acq)
7441 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7442 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7443 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7444
a98275aa
UD
74452011-12-02 Joseph Myers <joseph@codesourcery.com>
7446
7447 * sysdeps/sh/backtrace.c: New file.
7448
d4cc29a2
AS
74492011-12-02 Andreas Schwab <schwab@redhat.com>
7450
7451 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7452 parenthesis.
7453
6257af2d
AS
74542011-12-01 Andreas Schwab <schwab@redhat.com>
7455
7456 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7457 falling back to utime.
7458
b5f44c1a
AS
74592011-11-30 Andreas Schwab <schwab@redhat.com>
7460
7461 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7462 expectations for float.
7463
f3a6cc0a
AS
74642011-11-29 Andreas Schwab <schwab@redhat.com>
7465
7466 * locale/weight.h (findidx): Add parameter len.
7467 * locale/weightwc.h (findidx): Likewise.
7468 * posix/fnmatch_loop.c (FCT): Adjust caller.
7469 * posix/regcomp.c (build_equiv_class): Likewise.
7470 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7471 * posix/regexec.c (check_node_accept_bytes): Likewise.
7472 * string/strcoll_l.c (STRCOLL): Likewise.
7473 * string/strxfrm_l.c (STRXFRM): Likewise.
7474
9d65ea3a
UD
74752011-11-17 Ulrich Drepper <drepper@gmail.com>
7476
7477 * Makefile.in: Remove CVSOPT handling.
7478 * configure.in: Remove use of AC_REVISION.
7479 * iconvdata/Makefile (distribute): No need to filter out CVS.
7480 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7481 handling.
7482
5583a086
AS
74832011-11-16 Andreas Schwab <schwab@redhat.com>
7484
7485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7486 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7487 [USE_AS_STRNCASECMP_L]: Likewise.
7488 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7489 NO_TLS_DIRECT_SEG_REFS.
7490 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7491 Fix argument offsets for non-PIC.
7492 [USE_AS_STRNCASECMP_L]: Likewise.
7493 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7494 NO_TLS_DIRECT_SEG_REFS.
7495
d62a8200
UD
74962011-11-15 Ulrich Drepper <drepper@gmail.com>
7497
9d65ea3a 7498 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7499 O_CLOEXEC.
7500 * locale/loadlocale.c (_nl_load_locale): Likewise.
7501
09f93bd3
AS
75022011-11-15 Andreas Schwab <schwab@redhat.com>
7503
446514f9
AS
7504 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7505 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7506 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7507 (SYSCALL_GETTIME): Set errno on error.
7508
09f93bd3
AS
7509 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7510 count references to noai6ai_cached.
7511
312be3f9
UD
75122011-11-15 Ulrich Drepper <drepper@gmail.com>
7513
7514 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7515
7516 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7517 FD_CLOEXEC for /proc/self/maps.
7518
7519 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7520 FD_CLOEXEC for /proc/meminfo.
7521
7522 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7523 gai.conf.
7524
7525 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7526 FD_CLOEXEC for given file.
7527
7528 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7529
7530 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7531 FD_CLOEXEC for /etc/hosts.
7532 (_gethtent): Likewise.
7533
7534 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7535
7536 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7537 cancellation and set FD_CLOEXEC for /etc/netgroup.
7538
7539 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7540 reading /etc/publickey.
7541
7542 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7543 allow cancellation when reading /etc/group.
7544
7545 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7546 cancellation.
7547 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7548
7549 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7550 when using data file.
7551
7552 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7553
7554 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7555 (write_nis_obj): Use "c" and "e" in fopen.
7556
7557 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7558
7559 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7560
7561 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7562
7563 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7564
7565 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7566 locale.alias.
7567
7568 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7569
7570 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7571
7572 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7573
7574 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7575 file parsing and set FD_CLOEXEC.
7576
82af0fa8
UD
75772011-11-14 Ulrich Drepper <drepper@gmail.com>
7578
7579 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7580
a5fb313c
AS
75812011-11-14 Andreas Schwab <schwab@redhat.com>
7582
7583 * malloc/arena.c (arena_get2): Don't call reused_arena when
7584 _int_new_arena failed.
7585
6abf3465
UD
75862011-11-14 Ulrich Drepper <drepper@gmail.com>
7587
7588 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7589 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7590 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7591 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7592 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7593 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7594 to compile strcasecmp and strncasecmp.
7595 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7596 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7597
7598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7599
76e3966e
UD
76002011-11-13 Ulrich Drepper <drepper@gmail.com>
7601
7602 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7603 locale-defines.sym to gen-as-const-headers.
7604 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7605 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7606 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7607 to compile strcasecmp and strncasecmp.
7608 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7609 strcasecmp_l and strncasecmp_l.
7610 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7611 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7612 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7613 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7614 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7615 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7616 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7617 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7618 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7619 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7620 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7621
ab26144e
UD
76222011-11-12 Ulrich Drepper <drepper@gmail.com>
7623
7edb22ef
UD
7624 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7625 result of SYSDEP_GETTIME_CPU to retval.
7626 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7627 parameter list to macro. Remove trailing semicolon. Adjust users.
7628
9694fc44
UD
7629 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7630 variable.
7631
8ad89ef8
UD
7632 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7633 mantissa words.
7634 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7635
0c822ef9
UD
7636 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7637 from unused variable.
7638
874e0564
UD
7639 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7640 DWARF definitions.
7641 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7642 for assembling.
7643
3a2edc79
UD
7644 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7645 over namespaces.
7646
f3c2577f
UD
7647 * sunrpc/rpc_prot.c (rejected): Fix case value.
7648
294ce126
UD
7649 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7650 unsigned long long int to avoid warnings in shift.
7651
5e2b63c6
UD
7652 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7653 of use of trans.
7654 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7655 variable tmp.
7656
e7f4b08e
UD
7657 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7658 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7659 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7660
ab26144e
UD
7661 * nis/nis_table.c (nis_list): Use variable of correct type for
7662 result of __follow_path call.
7663
8a6d5255
AZ
76642011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7665
7666 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7667 of math functions ceil, trunc, floor, round, and sqrt, when
7668 avaliable on the platform.
7669 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7670 name clash.
7671 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7672 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7673 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7674
aaddc98c
MP
76752011-10-30 Marek Polacek <mpolacek@redhat.com>
7676
7677 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7678 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7679
95b7042b
RM
76802011-11-11 Roland McGrath <roland@hack.frob.com>
7681
7682 * include/unistd.h: Fix __readlink return type.
7683 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7684
57769839
UD
76852011-11-11 Ulrich Drepper <drepper@gmail.com>
7686
7687 * stdlib/ucontext.h: Undo last change for makecontext.
7688
edc5984d
AS
76892011-11-11 Andreas Schwab <schwab@redhat.com>
7690
98591e58
AS
7691 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7692
edc5984d
AS
7693 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7694 * setjmp/setjmp.h: Mark functions as non-leaf.
7695 * setjmp/bits/setjmp2.h: Likewise.
7696 * stdlib/ucontext.h: Likewise.
7697
77cdc054
AS
76982011-11-10 Andreas Schwab <schwab@redhat.com>
7699
7700 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7701 (reused_arena): Don't check arena limit.
7702 (arena_get2): Atomically check arena limit.
7703
fe72eebd
UD
77042011-11-08 Ulrich Drepper <drepper@gmail.com>
7705
5f078c32
UD
7706 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7707 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7708
fe72eebd
UD
7709 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7710 instructions.
7711
ae1bc2fa
AS
77122011-11-07 Andreas Schwab <schwab@redhat.com>
7713
7583a88d
AS
7714 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7715 handler when locking.
7716
ae1bc2fa
AS
7717 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7718 Fix size of allocated buffer.
7719
10fb0bfa
AS
77202011-11-04 Andreas Schwab <schwab@redhat.com>
7721
998832a4
AS
7722 [BZ #10103]
7723 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7724 declarations for long double functions.
7725 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7726
10fb0bfa
AS
7727 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7728
3d7ba52b
AS
77292011-11-03 Andreas Schwab <schwab@redhat.com>
7730
a9ae54a1
AS
7731 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7732 installed.
7733
3d7ba52b
AS
7734 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7735 is disabled.
7736
bc8db248
ST
77372011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7738
7739 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7740
45b96dd6
AS
77412011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7742
647776f6
AS
7743 * include/alloca.h (stackinfo_alloca_round): Define.
7744 (extend_alloca): Use it.
7745 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7746 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7747 here.
7748
d91a8b93
AS
7749 * scripts/check-local-headers.sh: Ignore libaudit.h.
7750
45b96dd6
AS
7751 * nscd/Makefile (extra-objs): Make recursively expanded.
7752
432d41ce
UD
77532011-11-01 Ulrich Drepper <drepper@gmail.com>
7754
34372fc6
UD
7755 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7756 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7757
fadb59f8
UD
7758 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7759 * posix/tst-rfc3484-2.c: Likewise.
7760 * posix/tst-rfc3484-3.c: Likewise.
7761
78239589
UD
7762 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7763 process_vm_writev.
7764 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7765 process_vm_writev.
7766 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7767 process_vm_writev from libc using GLIBC_2.15 version.
7768
432d41ce
UD
7769 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7770
02f9c6cf
PP
77712011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7772
7773 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7774 stack usage.
7775
3a2c0242
UD
77762011-10-31 Ulrich Drepper <drepper@gmail.com>
7777
f4ec4833
UD
7778 [BZ #13367]
7779 * nss/getent.c (initgroups_keys): Show error message in case no group
7780 names are given.
7781
3a2c0242
UD
7782 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7783 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7784 __bump_nl_timestamp.
7785 * nscd/connections (nscd_init): When host database is served open
7786 netlink socket and request notification about configuration changes.
7787 (main_loop_poll): Track netlink file descriptor and bump timestamp
7788 in case data becomes available.
7789 (main_loop_epoll): Likewise.
7790 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7791 (database_pers_head): Add extra_data fileds.
7792 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7793 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7794 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7795 Adjust caller.
7796 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7797 in6ai data, call __free_in6ai.
7798 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7799 Add -DHAVE_NETLINK.
7800 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7801 interface information. Reuse previous data if netlink timestamp
7802 is not changed.
7803 (__bump_nl_timestamp): New function.
7804 (__free_in6ai): New function.
7805
636064eb
UD
78062011-10-30 Ulrich Drepper <drepper@gmail.com>
7807
7808 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7809 close_not_cancel_no_status here.
7810 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7811
9beb2334
UD
78122011-10-29 Ulrich Drepper <drepper@gmail.com>
7813
6ef76f3b
UD
7814 [BZ #13276]
7815 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7816 return value.
7817
0ffc4f3e 7818 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7819 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7820 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7821
cb95113e
UD
78222011-07-03 Andreas Jaeger <aj@suse.de>
7823
7824 [BZ #10709]
7825 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7826 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7827 * math/libm-test.inc (sin_test): Add test case.
7828
a1b560ff
UD
78292011-10-29 Ulrich Drepper <drepper@gmail.com>
7830
c9aaface
UD
7831 [BZ #13337]
7832 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7833 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7834
d272e7f1
UD
7835 * elf/chroot_canon.c (chroot_canon): Cleanups.
7836
1bc33071
UD
7837 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7838
1760874d
TJ
7839 [BZ #13335]
7840 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7841 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7842
51d91b18
UD
7843 * string/test-strchr.c: Make usable for strchrnul testing.
7844 * string/test-strchrnul.c: New file.
7845 * string/Makefile (strop-tests): Add strchrnul.
7846
a1b560ff 7847 * po/it.po: Update from translation team.
b611fb81 7848 * po/es.po: Likewise.
a1b560ff 7849
a5b81e1f
UD
78502011-10-28 Ulrich Drepper <drepper@gmail.com>
7851
fd52bc6d
UD
7852 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7853 the three constants needed as parameters. Drop the others.
7854 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7855 __m128i_strloadu_tolower.
52e4b9eb
UD
7856 Create and initialize variable zero and use it in all the places
7857 where _mm_setzero_si128 was used.
fd52bc6d 7858
a5b81e1f
UD
7859 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7860 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7861 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7862 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7863 anymore.
7864 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7865 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7866 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7867 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7868 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7869 __mpranred, __mptan.
7870 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7871 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7872 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7873 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7874 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7875 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7877 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7878 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7879
b4343346
AS
78802011-10-28 Andreas Schwab <schwab@redhat.com>
7881
0c92d8a8
AS
7882 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7883 redefine if SHARED.
7884 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7885
b4343346
AS
7886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7887 wide char related routines to wcsmbs subdir.
7888
3871f58f
AS
78892011-10-27 Andreas Schwab <schwab@redhat.com>
7890
7891 [BZ #13344]
7892 * misc/sys/cdefs.h (__THROWNL): Define.
7893 * posix/unistd.h: Use __THREADNL instead of __THREAD
7894 for memory synchronization functions.
7895
94d44d9f
RM
78962011-10-26 Roland McGrath <roland@hack.frob.com>
7897
21b64b15 7898 [BZ #13349]
94d44d9f
RM
7899 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7900 doesn't exist.
7901 * manual/stdio.texi (Obstack Streams): Node removed.
7902
f6ce9294
AS
79032011-10-26 Andreas Schwab <schwab@redhat.com>
7904
80479147
AS
7905 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7906 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7907 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7908
f6ce9294
AS
7909 * math/math_private.h (math_force_eval): Allow non-addressable
7910 arguments.
7911 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7912
618280a1
UD
79132011-10-25 Ulrich Drepper <drepper@gmail.com>
7914
e0016b11
UD
7915 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7916 file is not needed.
7917
7918 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7919 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7921 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7922 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7923 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7924 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7925 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7926 Add AVX variants.
7927 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7928 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7929 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7930 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7931 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7932 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7933 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7934 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7935 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7936 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7937 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7938 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7939 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7940 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7941 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7942 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7943 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7944 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7945 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7946
7947 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7948 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7949
618280a1
UD
7950 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7951 place. Use VEX encoding when compiling for AVX.
7952
37822576
AS
79532011-10-25 Andreas Schwab <schwab@redhat.com>
7954
1f1e1947
AS
7955 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7956 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7957
37822576
AS
7958 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7959
31ea014d
UD
79602011-10-25 Ulrich Drepper <drepper@gmail.com>
7961
d7826aa1 7962 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7963 useless if() expression.
d7826aa1
UD
7964 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7968 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7969 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7970 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7971 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7972 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7973 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7974 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7975 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7976 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7977 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7978 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7979 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7980 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7981 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7982 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7983
31ea014d
UD
7984 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7985
16437fec
AS
79862011-10-25 Andreas Schwab <schwab@redhat.com>
7987
7988 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7989 condition.
7990 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7991
31d3cc00
UD
79922011-10-25 Ulrich Drepper <drepper@gmail.com>
7993
7994 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7995 .text section. Avoid duplicate constants.
7996 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7998 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7999 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8004 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8005 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8006 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8007 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8008 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8011 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8013 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8014 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8016 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8017 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8018 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8019 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8020 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8021 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8022 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8023 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8024 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8025 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8026 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8027 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8028 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8029 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8030 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8031 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8032 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8033 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8034 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8035 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8036 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8037 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8038 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8039 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8040 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8041
58985aa9
UD
80422011-10-24 Ulrich Drepper <drepper@gmail.com>
8043
202c9deb
UD
8044 * sysdeps/x86_64/dla.h: Move to ...
8045 * sysdeps/x86_64/fpu/dla.h: ...here.
8046 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8047 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8048
af968f62
UD
8049 * config.make.in: Add have-mfma4 entry.
8050 * configure.in: Substitute libc_cv_cc_fma4.
8051 * math/Makefile (dbl-only-routines): Add sincostab.
8052 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8053 Use __sincostab not sincos.
8054 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8055 name is a macro.
8056 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8060 using __copysign.
8061 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8062 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8063 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8064 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8065 and __inv.
8066 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8067 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8068 __copysign.
8069 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8070 define aliases when function name is a macro.
8071 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8072 sysdeps/ieee754/dbl-64/sincos.tbl.
8073 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8074 fma4-enabled routines.
8075 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8076 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8077 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8078 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8079 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8080 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8081 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8082 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8083 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8084 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8085 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8086 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8087 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8088 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8089 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8090 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8091 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8092 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8093 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8094 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8095 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8096 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8098 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8099 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8100 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8101 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8102 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8103 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8104 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8105
58985aa9
UD
8106 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8107 rename.
8108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8116
a201fbcf
AS
81172011-10-24 Andreas Schwab <schwab@redhat.com>
8118
8119 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8120
fc2ee42a
LD
81212011-10-23 Ulrich Drepper <drepper@gmail.com>
8122
bb3129bd
UD
8123 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8124
0275fff8
UD
8125 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8126 prediction.
8127 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8128
2fa2ae85
UD
8129 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8130 Remove unused variable magic_bits.
8131 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8132
fc2ee42a
LD
8133 * string/strnlen.c: Define and use STRNLEN macro.
8134 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8135 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8136 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8137 * wcsmbs/wcslen.c: Define and use WCSLEN.
8138 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8139 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8140 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8141 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8142 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8143 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8144 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8145
ce7dd29f
LD
81462011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8147
8148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8149 strnlen-sse2-no-bsf.
8150 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8151 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8152 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8153 Add strnlen support.
8154 (USE_AS_STRNLEN): New macro.
8155 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8156 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8157 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8158 * sysdeps/x86_64/wcslen.S: New file.
8159
979c70a3
MZ
81602011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8161
8162 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8163 XMM-moves are used for copying on small sizes.
8164
2d09f82f
LD
81652011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8166
8167 * wcsmbs/Makefile (strop-tests): Add wcschr.
8168 * wcsmbs/test-wcschr.c: New file.
8169 * string/test-strchr.c: Update.
8170 Add wcschr support.
8171 (WIDE): New macro.
8172
619fccca
LD
81732011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8174
2d09f82f 8175 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8176 * wcsmbs/test-wcslen.c: New file.
8177 * string/test-strlen.c: Update.
8178 Add wcslen support.
8179 (WIDE): New macro.
8180
09f699ea
UD
81812011-10-23 Ulrich Drepper <drepper@gmail.com>
8182
8183 * po/it.po: Update from translation team.
8184
95584d3b
LD
81852011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8186
8187 * sysdeps/x86_64/wcscmp.S: Update.
8188 Fix wrong comparison semantics.
8189 wcscmp shall use signed comparison not unsigned.
8190 Don't use substraction to avoid overflow bug.
8191 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8192 * wcsmbc/wcscmp.c: Likewise.
8193 * string/test-strcmp.c: Likewise.
8194 Add new tests to check cases with negative values.
8195
c8b3296b
UD
81962011-10-23 Ulrich Drepper <drepper@gmail.com>
8197
8198 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8199 * sysdeps/x86_64/dla.h: ...here. New file.
8200 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8209
246ad57a
AS
82102011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8211
8212 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8213 __ynl_finite aliases.
8214
a1a87169
UD
82152011-10-22 Ulrich Drepper <drepper@gmail.com>
8216
0d355eb7
UD
8217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8218
a1a87169
UD
8219 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8220 define DLA_FMA.
8221 [DLA_FMA] (EMULV): Use DLA_FMA.
8222 [DLA_FMA] (MUL12): Use EMULV.
8223 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8224 that are not needed.
8225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8232
ee2aafe0
AS
82332011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8234
8235 * math/s_nan.c: Undef __nan.
8236 * math/s_nanf.c: Undef __nanf.
8237 * math/s_nanl.c: Undef __nanl.
8238 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8239 "math_private.h".
8240
bc62c2fb
UD
82412011-10-22 Ulrich Drepper <drepper@gmail.com>
8242
77425c63
UD
8243 * math/s_catan.c: Add branch predictions.
8244 * math/s_catanf.c: Likewise.
8245 * math/s_catanh.c: Likewise.
8246 * math/s_catanhf.c: Likewise.
8247 * math/s_catanhl.c: Likewise.
8248 * math/s_catanl.c: Likewise.
8249 * math/s_cexp.c: Likewise.
8250 * math/s_cexpf.c: Likewise.
8251 * math/s_cexpl.c: Likewise.
8252 * math/s_clog.c: Likewise.
8253 * math/s_clog10.c: Likewise.
8254 * math/s_clog10f.c: Likewise.
8255 * math/s_clog10l.c: Likewise.
8256 * math/s_clogf.c: Likewise.
8257 * math/s_clogl.c: Likewise.
8258 * math/s_csqrt.c: Likewise.
8259 * math/s_csqrtf.c: Likewise.
8260 * math/s_csqrtl.c: Likewise.
8261 * math/s_ctanf.c: Likewise.
8262 * math/s_ctanh.c: Likewise.
8263 * math/s_ctanhf.c: Likewise.
8264 * math/s_ctanhl.c: Likewise.
8265 * math/s_ctanl.c: Likewise.
8266
bc62c2fb
UD
8267 * math/math_private.h: Define __nan, __nanf, __nanl.
8268 * math/s_cacosh.c: Include <math_private.h>.
8269 * math/s_cacoshl.c: Likewise.
8270 * math/s_casinh.c: Likewise.
8271 * math/s_casinhf.c: Likewise.
8272 * math/s_casinhl.c: Likewise.
8273 * math/s_ccos.c: Rely entire on ccosh.
8274 * math/s_ccosf.c: Rely entire on ccoshf.
8275 * math/s_ccosl.c: Rely entirely on ccoshl.
8276 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8277 Remove tests for FE_INVALID.
8278 * math/s_ccoshf.c: Likewise.
8279 * math/s_ccoshl.c: Likewise.
8280 * math/s_csin.c: Likewise.
8281 * math/s_csinf.c: Likewise.
8282 * math/s_csinh.c Likewise.
8283 * math/s_csinhf.c: Likewise.
8284 * math/s_csinhl.c: Likewise.
8285 * math/s_csinl.c: Likewise.
8286 * math/s_ctan.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8288 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8289 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8290
8ec250a4
UD
82912011-10-21 Ulrich Drepper <drepper@gmail.com>
8292
c196fed8
UD
8293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8294 compilation problems.
8295
8ec250a4
UD
8296 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8297 __builtin_expect.
8298
8d4f46c6
UD
82992011-10-20 Ulrich Drepper <drepper@gmail.com>
8300
ed72b654
UD
8301 * sysdeps/i386/configure.in: Test for -mfma4 option.
8302 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8303 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8304 COMMON_CPUID_INDEX_80000001.
8305 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8306 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8307 use it if FMA3 is not supported.
8308 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8309
8d4f46c6
UD
8310 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8311 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8312
d45c60c2
AS
83132011-10-20 Andreas Schwab <schwab@redhat.com>
8314
8315 [BZ #12892]
8316 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8317 it would create a cycle with a link time dependency.
8318
d9a4d2ab
UD
83192011-10-19 Ulrich Drepper <drepper@gmail.com>
8320
855d1560
UD
8321 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8322 instruction.
8323 * string/Makefile (strop-tests): Add rawmemchr.
8324 * string/test-rawmemchr.c: New file.
8325
d9a4d2ab
UD
8326 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8327 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8328 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8329 when compiling str{,n}casecmp and when AVX is available. Hook up
8330 new optimized code in initializers.
8331
8f3b1ffe
AS
83322011-10-19 Andreas Schwab <schwab@redhat.com>
8333
8334 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8335 __feraiseexcept instead of feraiseexcept.
8336
d38f1dba
UD
83372011-10-18 Ulrich Drepper <drepper@gmail.com>
8338
d9a8d0ab
UD
8339 * math/math_private.h: Define defaults for libc_fetestexcept and
8340 libc_feupdateenv.
8341 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8342 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8343 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8344 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8345 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8346 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8347 libc_fetestexcept and libc_feupdateenv.
8348
4855e3dd
UD
8349 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8350 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8351 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8352 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8353 libc_feholdexcept_setround.
8354
581d30e3
UD
8355 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8356 Add s_nearbyint-c and s_nearbyintf-c.
8357 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8358 nearbyintf inlines.
8359 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8360 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8361 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8362 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8363
d38f1dba
UD
8364 * math/math_private.h: Define defaults for libc_fegetround,
8365 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8366 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8367 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8368 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8369 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8370 standard functions.
8371 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8372 Remove comments and hacks for old compiler versions.
8373 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8374 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8375 libc_feholdexceptl.
8376
caa6c9d8
AS
83772011-10-18 Andreas Schwab <schwab@redhat.com>
8378
8379 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8380 (__feraiseexcept_renamed): Add __NTH.
8381 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8382 namespace violations.
8383
97c066e6
UD
83842011-10-17 Ulrich Drepper <drepper@gmail.com>
8385
99ce7b04
UD
8386 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8387
1004d182
UD
8388 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8389
228a984d
UD
8390 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8391 recently added interfaces.
8392 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8393
c8553a6a
UD
8394 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8395 about macro parameter expansion.
8396
ed22dcf6
UD
8397 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8398 __NO_MATH_INLINES is defined. Cleanups.
8399
8400 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8401 and __floorf is target has SSE4.1.
8402 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8403 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8404 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8405 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8406
b171c137
UD
8407 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8408 name.
8409 (floorf): Likewise.
8410
97c066e6
UD
8411 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8412
629f62ef
AS
84132011-10-17 Andreas Schwab <schwab@redhat.com>
8414
49a43d80
AS
8415 * misc/sys/cdefs.h: Fix last change.
8416
629f62ef
AS
8417 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8418 database lookup.
8419
e453f6cd
UD
84202011-10-16 Ulrich Drepper <drepper@gmail.com>
8421
aa78043a
UD
8422 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8423
ad0f5cad
UD
8424 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8425 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8426 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8427 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8428 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8429 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8431 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8432 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8433 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8434 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8435 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8436 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8437 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8438 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8439 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8440 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8441 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8442 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8443 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8444 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8445 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8446
8447 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8448 ceil, ceilf, floor, floorf.
8449
8450 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8451 Perform IRELATIVE relocations last.
8452
e453f6cd
UD
8453 * elf/do-rel.h: Add another parameter nrelative, replacing the
8454 local variable with the same name. Change name of the function
8455 to end in Rel or Rela (uppercase).
8456 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8457 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8458 elf_dynamic_do_##reloc function.
8459
fd5bdc09
UD
84602011-10-15 Ulrich Drepper <drepper@gmail.com>
8461
79b195b5
UD
8462 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8463 is sufficient, at least on modern CPUs.
8464
d4a28569
UD
8465 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8466
b61099b5
UD
8467 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8468 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8469
bcf01e6d
UD
8470 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8471 __expl_finite.
8472 * math/bits/math-finite.h: Add entries for exp.
8473 * math/e_expl.c: Add __*_finite alias.
8474 * sysdeps/i386/fpu/e_exp.S: Likewise.
8475 * sysdeps/i386/fpu/e_expf.S: Likewise.
8476 * sysdeps/i386/fpu/e_expl.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8478 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8479 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8480 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8482 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8483 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8484
ba1a0d59
UD
8485 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8486 is sufficient, at least on modern CPUs.
8487
fd5bdc09
UD
8488 * ctype/ctype-info.c (__ctype_init): Define.
8489 * include/ctype.h (__ctype_init): Declare.
8490 (__ctype_b_loc): The variable is always initialized.
8491 (__ctype_toupper_loc): Likewise.
8492 (__ctype_tolower_loc): Likewise.
8493 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8494 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8495
7872cfb0
AS
84962011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8497
b468825a
AS
8498 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8499
7872cfb0
AS
8500 * configure.in: Also look in $cxxmachine/include for C++ system
8501 headers.
8502
be13f7bf
LD
85032011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8504
8505 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8506 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8507 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8508 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8509 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8510 (USE_AS_WMEMCMP): New macro.
8511 Fixing indents.
8512 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8513 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8514 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8515 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8517 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8518 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8519 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8520 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8521 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8522 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8523 (USE_AS_WMEMCMP): New macro.
8524 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8525 * sysdeps/string/test-memcmp.c: Update.
8526 Fix simple_wmemcmp.
8527 Add new tests.
8528 * wcsmbs/wmemcmp.c: Update.
8529 (WMEMCMP): New macro.
8530 Fix overflow bug.
8531
556a2007
AJ
85322011-10-12 Andreas Jaeger <aj@suse.de>
8533
8534 [BZ #13268]
8535 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8536
538faaa7
UD
85372011-10-15 Ulrich Drepper <drepper@gmail.com>
8538
ab6737ff
UD
8539 * libio/iofwide.c (do_length): Avoid warning.
8540
538faaa7
UD
8541 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8542
396a21b1
UD
85432011-10-14 Ulrich Drepper <drepper@gmail.com>
8544
cdf2901f
UD
8545 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8546
38ad40ce
UD
8547 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8548 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8549 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8550 * sysdeps/i386/i686/fpu/e_log.S: New file.
8551 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8552 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8553
396a21b1
UD
8554 * ctype/ctype.h: Add support for inlined isXXX functions when
8555 compiling C++ code.
8556
6b1f68c9
AS
85572011-10-14 Andreas Schwab <schwab@redhat.com>
8558
349290c0
AS
8559 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8560
6b1f68c9
AS
8561 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8562
f2282d42
RM
85632011-10-13 Roland McGrath <roland@hack.frob.com>
8564
8565 [BZ #13291]
8566 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8567
5298ffa8
AS
85682011-10-13 Andreas Schwab <schwab@redhat.com>
8569
714fad23
AS
8570 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8571 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8572 feraiseexcept.
8573
81dcc7fb
AS
8574 * sysdeps/x86_64/memrchr.S: Check for zero size.
8575
5298ffa8
AS
8576 * string/stratcliff.c: Add memrchr tests.
8577
951fbcec
LD
85782011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8579
8580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8581 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8582 rawmemchr-sse2 rawmemchr-sse2-bsf.
8583 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8584 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8585 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8586 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8587 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8588 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8589 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8590 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8591 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8592 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8593 * string/memrchr.c (MEMRCHR): New macro.
8594
0ac5ae23
UD
85952011-10-12 Ulrich Drepper <drepper@gmail.com>
8596
8597 Add integration with gcc's -ffinite-math-only and optimize wrapper
8598 functions in libm.
8599 * Versions.def: Define GLIBC_2.15 version for libm.
8600 * math/Makefile (headers): Add bits/math-finite.h.
8601 * math/bits/math-finite.h: New file.
8602 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8603 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8604 * math/e_acoshl.c: Add __*_finite alias.
8605 * math/e_acosl.c: Likewise.
8606 * math/e_asinl.c: Likewise.
8607 * math/e_atan2l.c: Likewise.
8608 * math/e_atanhl.c: Likewise.
8609 * math/e_coshl.c: Likewise.
8610 * math/e_exp10.c: Likewise.
8611 * math/e_exp10f.c: Likewise.
8612 * math/e_exp10l.c: Likewise.
8613 * math/e_exp2l.c: Likewise.
8614 * math/e_fmodl.c: Likewise.
8615 * math/e_gammal_r.c: Likewise.
8616 * math/e_hypotl.c: Likewise.
8617 * math/e_j0l.c: Likewise.
8618 * math/e_j1l.c: Likewise.
8619 * math/e_jnl.c: Likewise.
8620 * math/e_lgammal_r.c: Likewise.
8621 * math/e_log10l.c: Likewise.
8622 * math/e_log2l.c: Likewise.
8623 * math/e_logl.c: Likewise.
8624 * math/e_powl.c: Likewise.
8625 * math/e_sinhl.c: Likewise.
8626 * math/e_sqrtl.c: Likewise.
8627 * math/e_scalb.c: Completely rewritten and optimized.
8628 * math/e_scalbf.c: Likewise.
8629 * math/e_scalbl.c: Likewise.
8630 * math/w_acos.c: Likewise.
8631 * math/w_acosf.c: Likewise.
8632 * math/w_acosl.c: Likewise.
8633 * math/w_acosh.c: Likewise.
8634 * math/w_acoshf.c: Likewise.
8635 * math/w_acoshl.c: Likewise.
8636 * math/w_asin.c: Likewise.
8637 * math/w_asinf.c: Likewise.
8638 * math/w_asinl.c: Likewise.
8639 * math/w_atan2.c: Likewise.
8640 * math/w_atan2f.c: Likewise.
8641 * math/w_atan2l.c: Likewise.
8642 * math/w_atanh.c: Likewise.
8643 * math/w_atanhf.c: Likewise.
8644 * math/w_atanhl.c: Likewise.
8645 * math/w_exp10.c: Likewise.
8646 * math/w_exp10f.c: Likewise.
8647 * math/w_exp10l.c: Likewise.
8648 * math/w_fmod.c: Likewise.
8649 * math/w_fmodf.c: Likewise.
8650 * math/w_fmodl.c: Likewise.
8651 * math/w_j0.c: Likewise.
8652 * math/w_j0f.c: Likewise.
8653 * math/w_j0l.c: Likewise.
8654 * math/w_j1.c: Likewise.
8655 * math/w_j1f.c: Likewise.
8656 * math/w_j1l.c: Likewise.
8657 * math/w_jn.c: Likewise.
8658 * math/w_jnf.c: Likewise.
8659 * math/w_log.c: Likewise.
8660 * math/w_logf.c: Likewise.
8661 * math/w_logl.c: Likewise.
8662 * math/w_log10.c: Likewise.
8663 * math/w_log10f.c: Likewise.
8664 * math/w_log10l.c: Likewise.
8665 * math/w_log2.c: Likewise.
8666 * math/w_log2f.c: Likewise.
8667 * math/w_log2l.c: Likewise.
8668 * math/w_pow.c: Likewise.
8669 * math/w_powf.c: Likewise.
8670 * math/w_powl.c: Likewise.
8671 * math/w_remainder.c: Likewise.
8672 * math/w_remainderf.c: Likewise.
8673 * math/w_remainderl.c: Likewise.
8674 * math/w_scalb.c: Likewise.
8675 * math/w_scalbf.c: Likewise.
8676 * math/w_scalbl.c: Likewise.
8677 * math/w_sqrt.c: Likewise.
8678 * math/w_sqrtf.c: Likewise.
8679 * math/w_sqrtl.c: Likewise.
8680 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8681 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8682 used.
8683 * math/math_private.h: Declare __kernel_standard_f.
8684 * math/w_cosh.c: Remove cruft and optimize a bit.
8685 * math/w_coshf.c: Likewise.
8686 * math/w_coshl.c: Likewise.
8687 * math/w_exp2.c: Likewise.
8688 * math/w_exp2f.c: Likewise.
8689 * math/w_exp2l.c: Likewise.
8690 * math/w_hypot.c: Likewise.
8691 * math/w_hypotf.c: Likewise.
8692 * math/w_hypotl.c: Likewise.
8693 * math/w_lgamma.c: Likewise.
8694 * math/w_lgamma_r.c: Likewise.
8695 * math/w_lgammaf.c: Likewise.
8696 * math/w_lgammaf_r.c: Likewise.
8697 * math/w_lgammal.c: Likewise.
8698 * math/w_lgammal_r.c: Likewise.
8699 * math/w_sinh.c: Likewise.
8700 * math/w_sinhf.c: Likewise.
8701 * math/w_sinhl.c: Likewise.
8702 * math/w_tgamma.c: Likewise.
8703 * math/w_tgammaf.c: Likewise.
8704 * math/w_tgammal.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8706 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8707 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8708 Minor optimizations. Pretty printing. Remove cruft.
8709 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8710 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8711 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8712 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8713 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8714 * sysdeps/i386/fpu/e_asin.S: Likewise.
8715 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8716 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8717 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8718 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8719 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8720 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8721 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8722 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8723 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8724 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8725 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8726 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8727 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8728 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8729 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8730 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8731 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8732 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8733 * sysdeps/i386/fpu/e_log.S: Likewise.
8734 * sysdeps/i386/fpu/e_log10.S: Likewise.
8735 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8736 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8737 * sysdeps/i386/fpu/e_log2.S: Likewise.
8738 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8739 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8740 * sysdeps/i386/fpu/e_logf.S: Likewise.
8741 * sysdeps/i386/fpu/e_logl.S: Likewise.
8742 * sysdeps/i386/fpu/e_pow.S: Likewise.
8743 * sysdeps/i386/fpu/e_powf.S: Likewise.
8744 * sysdeps/i386/fpu/e_powl.S: Likewise.
8745 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8746 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8747 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8748 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8749 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8750 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8751 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8752 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8753 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8754 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8755 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8756 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8757 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8758 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8759 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8760 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8761 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8764 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8774 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8775 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8776 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8777 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8778 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8779 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8780 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8781 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8782 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8783 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8784 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8785 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8786 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8787 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8788 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8789 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8790 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8791 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8792 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8793 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8794 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8795 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8800 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8804 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8806 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8807 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8810 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8811 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8834 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8837 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8839 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8840 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8842 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8845 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8846 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8847 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8848 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8849 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8850 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8851 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8852 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8853 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8854 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8855 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8856 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8857 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8858 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8859 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8860 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8861 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8862 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8863 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8864 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8865 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8866 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8867 (__isnanf): Likewise.
8868 (__isinf_ns): Likewise.
8869 (__isinf_nsf): Likewise.
8870 (__finite): Likewise.
8871 (__finitef): Likewise.
8872 (__ieee754_sqrt): Define as macro.
8873 (__ieee754_sqrtf): Define as macro.
8874 (__ieee754_sqrtl): Define as macro.
8875 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8876 inlined copy.
8877 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8878 __FINITE_MATH_ONLY__ consistent.
8879 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8880
12cc2fcd
AS
88812011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8882
a843a204
AS
8883 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8884 of rawmemchr.
8885
12cc2fcd
AS
8886 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8887
c853acd5
UD
88882011-10-09 Ulrich Drepper <drepper@gmail.com>
8889
8890 * po/ja.po: Update from translation team.
8891
c658d255
RM
88922011-10-08 Roland McGrath <roland@hack.frob.com>
8893
110946e4
RM
8894 * locale/programs/locarchive.c (prepare_address_space): New function.
8895 (create_archive, enlarge_archive, open_archive): Use it.
8896
50604220
RM
8897 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8898 inside [SHARED], where it is used.
8899
c658d255
RM
8900 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8901
8902 * nss/getent.c (netgroup_keys): Remove unused variable.
8903 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8904
6a621eb7
UD
89052011-10-08 Ulrich Drepper <drepper@gmail.com>
8906
7edb55ce
UD
8907 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8908 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8910 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8911 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8912 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8913 * math/Makefile (libm-calls): Add s_isinf_ns.
8914 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8915 * math/multc3.c: Likewise.
8916 * math/s_casin.c: Likewise.
8917 * math/s_casinf.c: Likewise.
8918 * math/s_casinl.c: Likewise.
8919 * math/s_ccos.c: Likewise.
8920 * math/s_ccosf.c: Likewise.
8921 * math/s_ccosl.c: Likewise.
8922 * math/s_ctan.c: Likewise.
8923 * math/s_ctanf.c: Likewise.
8924 * math/s_ctanh.c: Likewise.
8925 * math/s_ctanhf.c: Likewise.
8926 * math/s_ctanhl.c: Likewise.
8927 * math/s_ctanl.c: Likewise.
8928 * math/w_fmod.c: Likewise.
8929 * math/w_fmodf.c: Likewise.
8930 * math/w_fmodl.c: Likewise.
8931 * math/w_remainder.c: Likewise.
8932 * math/w_remainderf.c: Likewise.
8933 * math/w_remainderl.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8935 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8936 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8938 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8939 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8940 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8941 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8942
187da0ae
UD
8943 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8944 of the number.
8945 * stdio-common/printf_fphex.c: Likewise.
8946 * stdio-common/printf_size.c: Likewise.
8947
9277c064
UD
8948 * math/e_exp10.c: Include math_private.h using <...> not "...".
8949 * math/e_exp10f.c: Likewise.
8950 * math/e_exp10l.c: Likewise.
8951 * math/e_exp2l.c: Likewise.
8952 * math/e_j0l.c: Likewise.
8953 * math/e_j1l.c: Likewise.
8954 * math/e_jnl.c: Likewise.
8955 * math/e_lgammal_r.c: Likewise.
8956 * math/e_rem_pio2l.c: Likewise.
8957 * math/e_scalb.c: Likewise.
8958 * math/e_scalbf.c: Likewise.
8959 * math/e_scalbl.c: Likewise.
8960 * math/k_cosl.c: Likewise.
8961 * math/k_sinl.c: Likewise.
8962 * math/k_tanl.c: Likewise.
8963 * math/s_cacoshf.c: Likewise.
8964 * math/s_catan.c: Likewise.
8965 * math/s_catanf.c: Likewise.
8966 * math/s_catanh.c: Likewise.
8967 * math/s_catanhf.c: Likewise.
8968 * math/s_catanhl.c: Likewise.
8969 * math/s_catanl.c: Likewise.
8970 * math/s_ccosh.c: Likewise.
8971 * math/s_ccoshf.c: Likewise.
8972 * math/s_ccoshl.c: Likewise.
8973 * math/s_cexp.c: Likewise.
8974 * math/s_cexpf.c: Likewise.
8975 * math/s_cexpl.c: Likewise.
8976 * math/s_clog.c: Likewise.
8977 * math/s_clog10.c: Likewise.
8978 * math/s_clog10f.c: Likewise.
8979 * math/s_clog10l.c: Likewise.
8980 * math/s_clogf.c: Likewise.
8981 * math/s_clogl.c: Likewise.
8982 * math/s_csin.c: Likewise.
8983 * math/s_csinf.c: Likewise.
8984 * math/s_csinh.c: Likewise.
8985 * math/s_csinhf.c: Likewise.
8986 * math/s_csinhl.c: Likewise.
8987 * math/s_csinl.c: Likewise.
8988 * math/s_csqrt.c: Likewise.
8989 * math/s_csqrtf.c: Likewise.
8990 * math/s_csqrtl.c: Likewise.
8991 * math/s_ctan.c: Likewise.
8992 * math/s_ctanf.c: Likewise.
8993 * math/s_ctanh.c: Likewise.
8994 * math/s_ctanhf.c: Likewise.
8995 * math/s_ctanhl.c: Likewise.
8996 * math/s_ctanl.c: Likewise.
8997 * math/s_ldexp.c: Likewise.
8998 * math/s_ldexpf.c: Likewise.
8999 * math/s_ldexpl.c: Likewise.
9000 * math/s_significand.c: Likewise.
9001 * math/s_significandf.c: Likewise.
9002 * math/s_significandl.c: Likewise.
9003 * math/w_acos.c: Likewise.
9004 * math/w_acosf.c: Likewise.
9005 * math/w_acosh.c: Likewise.
9006 * math/w_acoshf.c: Likewise.
9007 * math/w_acoshl.c: Likewise.
9008 * math/w_acosl.c: Likewise.
9009 * math/w_asin.c: Likewise.
9010 * math/w_asinf.c: Likewise.
9011 * math/w_asinl.c: Likewise.
9012 * math/w_atan2.c: Likewise.
9013 * math/w_atan2f.c: Likewise.
9014 * math/w_atan2l.c: Likewise.
9015 * math/w_atanh.c: Likewise.
9016 * math/w_atanhf.c: Likewise.
9017 * math/w_atanhl.c: Likewise.
9018 * math/w_cosh.c: Likewise.
9019 * math/w_coshf.c: Likewise.
9020 * math/w_coshl.c: Likewise.
9021 * math/w_dremf.c: Likewise.
9022 * math/w_exp10.c: Likewise.
9023 * math/w_exp10f.c: Likewise.
9024 * math/w_exp10l.c: Likewise.
9025 * math/w_exp2.c: Likewise.
9026 * math/w_exp2f.c: Likewise.
9027 * math/w_fmod.c: Likewise.
9028 * math/w_fmodf.c: Likewise.
9029 * math/w_fmodl.c: Likewise.
9030 * math/w_hypot.c: Likewise.
9031 * math/w_hypotf.c: Likewise.
9032 * math/w_hypotl.c: Likewise.
9033 * math/w_j0.c: Likewise.
9034 * math/w_j0f.c: Likewise.
9035 * math/w_j0l.c: Likewise.
9036 * math/w_j1.c: Likewise.
9037 * math/w_j1f.c: Likewise.
9038 * math/w_j1l.c: Likewise.
9039 * math/w_jn.c: Likewise.
9040 * math/w_jnf.c: Likewise.
9041 * math/w_jnl.c: Likewise.
9042 * math/w_lgamma.c: Likewise.
9043 * math/w_lgamma_r.c: Likewise.
9044 * math/w_lgammaf.c: Likewise.
9045 * math/w_lgammaf_r.c: Likewise.
9046 * math/w_lgammal.c: Likewise.
9047 * math/w_lgammal_r.c: Likewise.
9048 * math/w_log.c: Likewise.
9049 * math/w_log10.c: Likewise.
9050 * math/w_log10f.c: Likewise.
9051 * math/w_log10l.c: Likewise.
9052 * math/w_log2.c: Likewise.
9053 * math/w_log2f.c: Likewise.
9054 * math/w_log2l.c: Likewise.
9055 * math/w_logf.c: Likewise.
9056 * math/w_logl.c: Likewise.
9057 * math/w_pow.c: Likewise.
9058 * math/w_powf.c: Likewise.
9059 * math/w_powl.c: Likewise.
9060 * math/w_remainder.c: Likewise.
9061 * math/w_remainderf.c: Likewise.
9062 * math/w_remainderl.c: Likewise.
9063 * math/w_scalb.c: Likewise.
9064 * math/w_scalbf.c: Likewise.
9065 * math/w_scalbl.c: Likewise.
9066 * math/w_sinh.c: Likewise.
9067 * math/w_sinhf.c: Likewise.
9068 * math/w_sinhl.c: Likewise.
9069 * math/w_sqrt.c: Likewise.
9070 * math/w_sqrtf.c: Likewise.
9071 * math/w_sqrtl.c: Likewise.
9072 * math/w_tgamma.c: Likewise.
9073 * math/w_tgammaf.c: Likewise.
9074 * math/w_tgammal.c: Likewise.
9075
6a621eb7
UD
9076 * po/ja.po: Update from translation team.
9077
bf582445
AJ
90782011-09-29 Andreas Jaeger <aj@suse.de>
9079
f9efbf3a
AJ
9080 [BZ #13179]
9081 * sunrpc/netname.c (netname2host): Fix logic.
9082
bf582445
AJ
9083 [BZ #6779]
9084 [BZ #6783]
9085 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9086 correctly.
9087 * math/w_remainder.c (__remainder): Likewise.
9088 * math/w_remainderf.c (__remainderf): Likewise.
9089 * math/libm-test.inc (remainder_test): Add test cases.
9090
48693bea
AK
90912011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9092
9093 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9094 sdiv_qrnnd.
9095
42622229
LD
90962011-10-07 Ulrich Drepper <drepper@gmail.com>
9097
9098 * string/test-memcmp.c: Avoid unncessary #defines.
9099 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9100
093ecf92
LD
91012011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9102
9103 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9104 Use new sse2 version for core i3 - i7 as it's faster
9105 than sse42 version.
9106 (bit_Prefer_PMINUB_for_stringop): New.
9107 * sysdeps/x86_64/rawmemchr.S: Update.
9108 Replace with faster SSE2 version.
9109 * sysdeps/x86_64/memrchr.S: New file.
9110 * sysdeps/x86_64/memchr.S: Update.
9111 Replace with faster SSE2 version.
9112
fde56e5c
MP
91132011-09-12 Marek Polacek <mpolacek@redhat.com>
9114
9115 * elf/dl-load.c (lose): Add cast to avoid warning.
9116
21fd49a9
UD
91172011-10-07 Ulrich Drepper <drepper@gmail.com>
9118
5a06e643
UD
9119 * po/ca.po: Update from translation team.
9120
684ae515
UD
9121 * inet/getnetgrent_r.c: Hook up nscd.
9122 * nscd/Makefile (routines): Add nscd_netgroup.
9123 (nscd-modules): Add netgroupcache.
9124 (CFLAGS-netgroupcache.c): Define.
9125 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9126 (cache_search): Add const to second parameter.
9127 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9128 INNETGR.
9129 (dbs): Add netgrdb entry.
9130 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9131 (verify_persistent_db): Handle netgrdb.
9132 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9133 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9134 GETFDNETGR.
9135 (netgroup_response_header): Define.
9136 (innetgroup_response_header): Define.
9137 (datahead): Add netgroup_response_header and innetgroup_response_header
9138 elements.
9139 * nscd/nscd.conf: Add entries for netgroup cache.
9140 * nscd/nscd.h (dbtype): Add netgrdb.
9141 (_PATH_NSCD_NETGROUP_DB): Define.
9142 (netgroup_iov_disabled): Declare.
9143 (xmalloc, xcalloc, xrealloc): Move declarations here.
9144 (cache_search): Adjust prototype.
9145 Add netgroup-related prototypes.
9146 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9147 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9148 (__nscd_innetgr): Declare.
9149 * nscd/selinux.c (perms): Use access_vector_t as element type and
9150 add netgroup-related initializers.
9151 * nscd/netgroupcache.c: New file.
9152 * nscd/nscd_netgroup.c: New file.
9153 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9154 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9155 For four parameters use innetgr.
9156 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9157 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9158 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9159 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9160
21fd49a9
UD
9161 * nscd/connections.c (register_traced_file): Don't register file
9162 for disabled databases.
9163
054c0457
UD
91642011-10-06 Ulrich Drepper <drepper@gmail.com>
9165
32b63198
UD
9166 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9167
054c0457
UD
9168 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9169 from tree and freeing node.
9170
64031225
JO
91712011-09-25 Jiri Olsa <jolsa@redhat.com>
9172
9173 * nss/nsswitch.c (__nss_database_lookup): Handle
9174 nss_parse_service_list out of memory case.
9175
0490345c
JO
91762011-09-15 Jiri Olsa <jolsa@redhat.com>
9177
9178 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9179 out of memory case.
9180
3a62d00d
AS
91812011-10-04 Andreas Schwab <schwab@redhat.com>
9182
9183 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9184 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9185 pass it down.
9186 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9187 elf_machine_rela, elf_machine_lazy_rel.
9188 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9189 (ELF_DYNAMIC_DO_REL): Likewise.
9190 (ELF_DYNAMIC_DO_RELA): Likewise.
9191 (ELF_DYNAMIC_RELOCATE): Likewise.
9192 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9193 to ELF_DYNAMIC_DO_REL.
9194 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9195 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9196 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9197 elf_machine_rela.
9198 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9199 skip_ifunc, don't call ifunc function if non-zero.
9200 (elf_machine_rela): Likewise.
9201 (elf_machine_lazy_rel): Likewise.
9202 (elf_machine_lazy_rela): Likewise.
9203 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9204 (elf_machine_lazy_rel): Likewise.
9205 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9206 Likewise.
9207 (elf_machine_lazy_rel): Likewise.
9208 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9209 Likewise.
9210 (elf_machine_lazy_rel): Likewise.
9211 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9212 (elf_machine_lazy_rel): Likewise.
9213 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9214 (elf_machine_lazy_rel): Likewise.
9215 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9216 (elf_machine_lazy_rel): Likewise.
9217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9218 (elf_machine_lazy_rel): Likewise.
9219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9220 (elf_machine_lazy_rel): Likewise.
9221 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9222 (elf_machine_lazy_rel): Likewise.
9223
68577918
UD
92242011-09-28 Ulrich Drepper <drepper@gmail.com>
9225
9226 * nss/nss_files/files-init.c (_nss_files_init): Use static
9227 initialization for all the *_traced_file variables.
9228
68822d74
AS
92292011-09-28 Andreas Schwab <schwab@redhat.com>
9230
9231 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9232
2056100b
RM
92332011-09-27 Roland McGrath <roland@hack.frob.com>
9234
9235 [BZ #13226]
9236 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9237
32c76b63
AS
92382011-09-27 Andreas Schwab <schwab@redhat.com>
9239
9240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9241 Reread the line before reparsing it.
9242
bf972c9d
AS
92432011-09-26 Andreas Schwab <schwab@redhat.com>
9244
9245 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9246
e057a1b5
JM
92472011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9248 Maxim Kuvyrkov <maxim@codesourcery.com>
9249 Joseph Myers <joseph@codesourcery.com>
9250
9251 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9252 if needed for __stack_chk_guard.
9253
bc7e1c36
RM
92542011-09-19 Roland McGrath <roland@hack.frob.com>
9255
ecb1482f
RM
9256 * sysdeps/posix/spawni.c (script_execute): Always define it.
9257 It will be optimized away if unused.
9258 (maybe_script_execute): New function.
9259 (__spawni): Call it.
9260
bc7e1c36
RM
9261 * Makerules: Don't include tls.make.
9262 (config-tls): Always set to thread.
9263 * tls.make.c: File removed.
9264
1c3b002b
MF
92652011-09-19 Mike Frysinger <vapier@gentoo.org>
9266
9267 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9268 * config.make.in (CPPFLAGS-config): New substituted variable.
9269
2840865d
UD
92702011-09-15 Ulrich Drepper <drepper@gmail.com>
9271
88738eb6
UD
9272 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9273
cbf645a6 9274 [BZ #13192]
2840865d
UD
9275 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9276 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9277
b402e91a
RM
92782011-09-15 Roland McGrath <roland@hack.frob.com>
9279
9280 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9281 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9283 (CALL_FAIL): Likewise.
9284 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9285 (CALL_FAIL): Macro removed.
9286 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9287
4c1a1f71
UD
92882011-09-15 Ulrich Drepper <drepper@gmail.com>
9289
9290 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9291 for __FINITE_MATH_ONLY__ == 1.
9292
edc121be
AS
92932011-09-15 Andreas Schwab <schwab@redhat.com>
9294
9295 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9296 __ieee754_sqrt instead of sqrt.
9297 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9298 __ieee754_sqrtf instead of sqrtf.
9299 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9300 __floorf instead of floorf.
9301 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9302 __floorf, __truncf instead of floorf, truncf.
9303
cd205654
UD
93042011-09-14 Ulrich Drepper <drepper@gmail.com>
9305
ee4d0315
UD
9306 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9307
cd205654
UD
9308 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9309 __extern_always_inline.
9310 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9311 32-bit.
9312
48b67d71
AS
93132011-09-14 Andreas Schwab <schwab@redhat.com>
9314
9315 * elf/rtld.c (dl_main): Also relocate in dependency order when
9316 doing symbol dependency testing.
9317
1ae12c75
AS
93182011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9319
9320 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9321 Always define `refsym'.
9322
995a80df
AS
93232011-09-13 Andreas Schwab <schwab@redhat.com>
9324
e529793b
AS
9325 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9326 (__FD_ELT): Renamed from __FDELT.
9327 * misc/bits/select2.h (__FD_ELT): Likewise.
9328 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9329 __FD_MASK instead of __FDELT, __FDMASK.
9330 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9331 Likewise.
9332 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9333 Likewise.
9334
52d4fef8
AS
9335 * elf/Makefile (gen-ldd): Fix pattern.
9336
995a80df
AS
9337 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9338 (init_tls): Likewise.
9339
8682f8b0
UD
93402011-09-12 Ulrich Drepper <drepper@gmail.com>
9341
9342 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9343
de82006d
AS
93442011-09-12 Andreas Schwab <schwab@redhat.com>
9345
a7c8e6a1
AS
9346 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9347 `struct cmsghdr *' instead of `void *'.
9348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9349 Likewise.
9350
0f31fe77
AS
93512011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9352
9353 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9354 if non-absolute.
9355 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9356 ldd_rewrite_script.
0f31fe77 9357
32b4c839
UD
93582011-09-11 Ulrich Drepper <drepper@gmail.com>
9359
83cd1420
UD
9360 * configure.in: Remove --with-tls option.
9361 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9362 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9363 out in case it is missing.
9364 * sysdeps/ia64/elf/configure.in: Likewise.
9365 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9366 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9367 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9368 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9369 * sysdeps/sh/elf/configure.in: Likewise.
9370 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9371 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9372 * sysdeps/x86_64/elf/configure.in: Likewise.
9373 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9374 * sysdeps/mach/hurd/tls.h: Likewise.
9375
633f745d
UD
9376 [BZ #13067]
9377 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9378
f318beb8
UD
9379 [BZ #13090]
9380 * configure.in: Fix use of AC_INIT.
9381
32b4c839
UD
9382 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9383
3ce1f295
UD
93842011-09-10 Ulrich Drepper <drepper@gmail.com>
9385
bb016596
UD
9386 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9387 __set_errno.
8e58439c
UD
9388 * malloc/hooks.c: Likewise.
9389
aebae053 9390 [BZ #11929]
02d46fc4
UD
9391 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9392 variables statically.
9393 (narenas): Initialize.
9394 (list_lock): Initialize.
bb016596
UD
9395 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9396 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9397 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9398 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9399 Add initializers to main_arena and mp_.
9400 (malloc_state): Remove pagesize member. Change all users to use
9401 GLRO(dl_pagesize).
9402
9403 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9404 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9405 is always initialized.
9406
22a89187
UD
9407 * malloc/malloc.c: Removed unused configurations and dead code.
9408 * malloc/arena.c: Likewise.
9409 * malloc/hooks.c: Likewise.
02d46fc4 9410 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9411
d063d164
UD
9412 * include/tls.h: Removed. USE___THREAD must always be defined.
9413 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9414 * elf/dl-libc.c: Likewise.
9415 * elf/dl-tsd.c: Likewise.
9416 * include/errno.h: Likewise.
9417 * include/netdb.h: Likewise.
9418 * include/resolv.h: Likewise.
9419 * inet/herrno-loc.c: Likewise.
9420 * inet/herrno.c: Likewise.
9421 * malloc/arena.c: Likewise.
9422 * malloc/hooks.c: Likewise.
9423 * malloc/malloc.c: Likewise.
9424 * resolv/res-state.c: Likewise.
9425 * resolv/res_libc.c: Likewise.
9426 * sysdeps/i386/dl-machine.h: Likewise.
9427 * sysdeps/ia64/dl-machine.h: Likewise.
9428 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9429 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9430 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9431 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9432 * sysdeps/sh/dl-machine.h: Likewise.
9433 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9434 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9435 * sysdeps/unix/i386/sysdep.S: Likewise.
9436 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9437 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9438 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9439 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9440 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9441 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9442 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9443 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9446 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9447 * sysdeps/x86_64/dl-machine.h: Likewise.
9448 * tls.make.c: Likewise.
9449
3ce1f295
UD
9450 * configure.in: Remove --with-__thread option. Make tests for
9451 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9452 tls_model attribute fail if no support is available. Remove
9453 USE_IN_LIBIO.
9454 * Makeconfig: Adjust for dropped configure option. All features are
9455 now mandatory.
9456 * Makerules: Likewise.
9457 * Versions.def: Likewise.
9458 * argp/argp-fmtstream.c: Likewise.
9459 * argp/argp-fmtstream.h: Likewise.
9460 * argp/argp-help.c: Likewise.
9461 * assert/assert.c: Likewise.
9462 * config.h.in: Likewise.
9463 * config.make.in: Likewise.
9464 * configure: Likewise.
9465 * configure.in: Likewise.
9466 * csu/Versions: Likewise.
9467 * csu/init.c: Likewise.
9468 * elf/tst-audit2.c: Likewise.
9469 * elf/tst-tls10.c: Likewise.
9470 * elf/tst-tls10.h: Likewise.
9471 * elf/tst-tls11.c: Likewise.
9472 * elf/tst-tls12.c: Likewise.
9473 * elf/tst-tls14.c: Likewise.
9474 * elf/tst-tlsmod11.c: Likewise.
9475 * elf/tst-tlsmod12.c: Likewise.
9476 * elf/tst-tlsmod13.c: Likewise.
9477 * elf/tst-tlsmod13a.c: Likewise.
9478 * elf/tst-tlsmod14a.c: Likewise.
9479 * elf/tst-tlsmod15b.c: Likewise.
9480 * elf/tst-tlsmod16a.c: Likewise.
9481 * elf/tst-tlsmod16b.c: Likewise.
9482 * elf/tst-tlsmod7.c: Likewise.
9483 * elf/tst-tlsmod8.c: Likewise.
9484 * elf/tst-tlsmod9.c: Likewise.
9485 * gmon/gmon.c: Likewise.
9486 * grp/fgetgrent_r.c: Likewise.
9487 * grp/putgrent.c: Likewise.
9488 * hurd/fopenport.c: Likewise.
9489 * include/libc-symbols.h: Likewise.
9490 * include/tls.h: Likewise.
9491 * intl/gettextP.h: Likewise.
9492 * intl/loadinfo.h: Likewise.
9493 * locale/global-locale.c: Likewise.
9494 * locale/localeinfo.h: Likewise.
9495 * mach/devstream.c: Likewise.
9496 * malloc/arena.c: Likewise.
9497 * malloc/set-freeres.c: Likewise.
9498 * misc/err.c: Likewise.
9499 * misc/getttyent.c: Likewise.
9500 * misc/mntent_r.c: Likewise.
9501 * posix/getopt.c: Likewise.
9502 * posix/wordexp.c: Likewise.
9503 * pwd/fgetpwent_r.c: Likewise.
9504 * resolv/Versions: Likewise.
9505 * resolv/res_hconf.c: Likewise.
9506 * shadow/fgetspent_r.c: Likewise.
9507 * shadow/putspent.c: Likewise.
9508 * stdio-common/printf_fphex.c: Likewise.
9509 * stdio-common/tmpfile.c: Likewise.
9510 * stdlib/abort.c: Likewise.
9511 * stdlib/fmtmsg.c: Likewise.
9512 * sunrpc/auth_unix.c: Likewise.
9513 * sunrpc/clnt_perr.c: Likewise.
9514 * sunrpc/clnt_tcp.c: Likewise.
9515 * sunrpc/clnt_udp.c: Likewise.
9516 * sunrpc/clnt_unix.c: Likewise.
9517 * sunrpc/openchild.c: Likewise.
9518 * sunrpc/svc_simple.c: Likewise.
9519 * sunrpc/svc_tcp.c: Likewise.
9520 * sunrpc/svc_udp.c: Likewise.
9521 * sunrpc/svc_unix.c: Likewise.
9522 * sunrpc/xdr.c: Likewise.
9523 * sunrpc/xdr_array.c: Likewise.
9524 * sunrpc/xdr_rec.c: Likewise.
9525 * sunrpc/xdr_ref.c: Likewise.
9526 * sunrpc/xdr_stdio.c: Likewise.
9527
1248c1c4
PB
95282011-09-09 Ulrich Drepper <drepper@gmail.com>
9529
9530 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9531
95322011-07-03 Andreas Jaeger <aj@suse.de>
9533
9534 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9535 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9536 regenerate with gen-libm-tests.pl.
9537
95382010-05-12 Petr Baudis <pasky@suse.cz>
9539
9540 [BZ #11589]
9541 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9542 around j0() zero points by switching to j1().
9543 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9547
f22e1074
UD
95482011-09-09 Ulrich Drepper <drepper@gmail.com>
9549
f19009c1
UD
9550 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9551 instead of 0.
9552 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9553 instead of 0. .
9554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9555 Patch in part by Pavel Roskin <proski@gnu.org>.
9556
3f8cc204
UD
9557 [BZ #13138]
9558 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9559 realloc.
9560 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9561 Free memory block if necessary.
9562
f22e1074
UD
9563 [BZ #12847]
9564 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9565 be NULL. Don't lock in this case.
9566
0a2349f9
RM
95672011-09-09 Roland McGrath <roland@hack.frob.com>
9568
9569 * elf/elf.h (ELFOSABI_GNU): New macro.
9570 (ELFOSABI_LINUX): Define to that.
9571
f3cdd467
DZ
95722011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9573
9574 * string/strncat.c (strncat): Undef the symbol in case it has been
9575 defined in bits/string.h.
9576
74718d13
UD
95772011-09-09 Ulrich Drepper <drepper@gmail.com>
9578
633e9e0f
UD
9579 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9580
0a2349f9 9581 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9582 link map.
9583
f9924780
AJ
95842011-08-17 Andreas Jaeger <aj@suse.de>
9585
9586 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9587
7f5517aa
PP
95882011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9589 Ian Lance Taylor <iant@google.com>
9590
9591 * math/libm-test.inc (lround_test): New testcase.
9592 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9593
762011fe
UD
95942011-09-08 Ulrich Drepper <drepper@gmail.com>
9595
92963737
UD
9596 * Makefile: Remove support for automatic cvs check-ins.
9597 * Makerules: Likewise.
9598 * config.make.in: Likewise.
9599 * configure.in: Likewise.
9600 * intl/Makefile: Likewise.
9601 * locale/Makefile: Likewise.
9602 * po/Makefile: Likewise.
9603 * posix/Makefile: Likewise.
9604 * sysdeps/gnu/Makefile: Likewise.
9605 * sysdeps/mach/hurd/Makefile: Likewise.
9606 * sysdeps/sparc/sparc32/Makefile: Likewise.
9607
b0727fd8
JS
9608 [BZ #13118]
9609 * posix/Makefile (bug-regex32-ENV): Define.
9610 Patch by John Stanley <jpsinthemix@verizon.net>.
9611
a0f33f99
UD
9612 * misc/Makefile (headers): Add bits/select2.h.
9613 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9614 * misc/bits/select2.h: New file.
9615 * include/bits/select2.h: New file.
9616 * debug/Makefile (routines): Add fdelt_chk.
9617 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9618 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9619 FD_ISSET.
9620 * debug/fdelt_chk.c: New file.
9621
762011fe
UD
9622 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9623 * wcsmbs/test-wmemcmp.c: Likewise.
9624 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9625 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9626
96272011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9628
9629 * string/Makefile (strop-tests): Add memcmp.
9630 * string/test-wmemcmp.c: New file.
9631 * string/test-memcmp.c: Add wmemcmp support.
9632
7f513ec8
RM
96332011-09-08 Roland McGrath <roland@hack.frob.com>
9634
0442afb4
RM
9635 [BZ #13153]
9636 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9637 2011-07-19 change.
9638
7f513ec8
RM
9639 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9640 garbage value in a __mach_port_mod_refs call in the cases of the
9641 task-self and thread-self ports.
9642
a12b2239
ST
96432011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9644
9645 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9646
610f9ab4
AS
96472011-09-08 Andreas Schwab <schwab@redhat.com>
9648
7f513ec8 9649 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9650
48882a1a
LD
96512011-09-07 Ulrich Drepper <drepper@gmail.com>
9652
b49865be
UD
9653 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9654
fdc86bc9
UD
9655 * elf/dl-libc.c (dlerror_run): Pass back error code from
9656 dl_catch_error.
9657
c966526a
UD
9658 [BZ #13123]
9659 * elf/dl-load.c (lose): Free l_origin if it is valid.
9660
48882a1a
LD
9661 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9662 names.
9663 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9664 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9665 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9666 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9667 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9668 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9669
77a2a8b4
AZ
96702011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9671
9672 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9673 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9674 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9675 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9676 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9677 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9678 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9679 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9680 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9681 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9682
24f579d8
AM
96832011-08-15 Alan Modra <amodra@gmail.com>
9684
9685 [BZ #13092]
9686 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9687 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9688 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9689 ppc_mcount to static-only-routines.
9690 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9691 __mcount_internal.
9692 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9693 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9694
3d4837df
UD
96952011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9696
9697 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9698 for finite and infinity parameters.
9699
22700377
WS
97002011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9701
9702 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9703 and add nop instructions for throughput optimization.
9704 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9705
5025581e
WS
97062011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9707
9708 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9709 aligned copy for power7 with vector-scalar instructions.
9710 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9711
08a300c9
L
97122011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9713
9714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9715 AVX check.
9716
59178ef9
AS
97172011-09-07 Andreas Schwab <schwab@redhat.com>
9718
9719 [BZ #13144]
9720 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9721 last change.
9722
e38ba7ab
UD
97232011-09-07 Ulrich Drepper <drepper@gmail.com>
9724
9725 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9726 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9727 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9728 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9729 clock_gettime.
9730
d53a73ac
UD
97312011-09-06 Ulrich Drepper <drepper@gmail.com>
9732
fc8bffcc
UD
9733 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9734 Forgot to demangle the pointer.
9735
ceaa0c5d
UD
9736 * sysdeps/i386/sysdep.h: Define atom_text_section.
9737 * sysdeps/x86_64/sysdep.h: Likewise.
9738 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9739 section with atom_text_section.
9740 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9741 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9742 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9743 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9744 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9745
a77d3c17
UD
9746 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9747 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9748 already be defined. Change to take two parameters and don't assign
9749 result to variable. Adjust all users.
9750 Define INTERNAL_GETTIME if not already defined.
9751 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9752 call.
9753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9754 HAVE_CLOCK_GETTIME_VSYSCALL.
9755 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9756
d53a73ac
UD
9757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9758 gettimeofday vsyscall, just use time.
9759
a8f84144
AS
97602011-09-06 Andreas Schwab <schwab@redhat.com>
9761
9762 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9763 <errno.h>.
9764
ef606249
UD
97652011-09-06 Ulrich Drepper <drepper@gmail.com>
9766
9767 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9768 syscall on x86-64.
9769 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9770 syscall.
9771 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9772 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9773 syscall if possible.
9774
6585cb60
UD
97752011-09-05 Ulrich Drepper <drepper@gmail.com>
9776
9777 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9778 e_ident. Don't pass to find_mapsXX.
9779 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9780
a5f524e4
LD
97812011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9782
9783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9784 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9785 * sysdeps/x86_64/multiarch/strchr.S: Update.
9786 Check bit_slow_BSF bit.
9787 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9788 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9789 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9790
554881ef
UD
97912011-09-05 Ulrich Drepper <drepper@gmail.com>
9792
d96de963
UD
9793 [BZ #13134]
9794 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9795 before glibc 2.15.
9796 (tryshell): Define.
9797 (__spawni): Change last parameter to be flag. Test
9798 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9799 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9800 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9801 * posix/spawni.c: Likewise.
9802 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9803 * posix/spawnp.c: Likewise. Change normal version to use
9804 SPAWN_XFLAGS_USE_PATH.
9805 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9806 SPAWN_XFLAGS_TRY_SHELL.
9807
d48e5868
UD
9808 [BZ #13150]
9809 * posix/glob.h: Remove gcc 1.x support.
9810
554881ef
UD
9811 [BZ #13068]
9812 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9813
693fb948
LD
98142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9815
9816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9817 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9818 strrchr-sse2-bsf
9819 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9820 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9821 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9822 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9823 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9824 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9825
1b48c537
UD
98262011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9827
49d42c37
UD
9828 * sysdeps/x86_64/wcscmp.S: New file.
9829
1b48c537
UD
9830 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9831 wcscmp-c wcscmp-sse2
9832 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9833 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9834 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9835 * wcsmbs/wcscmp.c: Allow renaming.
9836
15c95c5d
DM
98372011-09-05 David S. Miller <davem@davemloft.net>
9838
9839 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9840 stack slot, rather than the struct return pointer slot.
9841 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9842 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9844 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9845
2f0ad8f3
UD
98462011-09-05 Ulrich Drepper <drepper@gmail.com>
9847
d88ae418
UD
9848 * po/ja.po: Update from translation team.
9849
2f0ad8f3
UD
9850 [BZ #13144]
9851 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9852 kernel in 64-bit binaries.
9853
5f4318d1
DM
98542011-09-01 David S. Miller <davem@davemloft.net>
9855
9856 * elf/elf.h (HWCAP_SPARC_*): Move to..
9857 * sysdeps/sparc/sysdep.h: this new file and add new values.
9858 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9859 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9860 _DL_HWCAP_COUNT to 24.
9861 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9862 entries.
9863 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9864 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9865 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9867 instead of magic constants.
9868 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9869
3ba57516
DM
98702011-08-31 David S. Miller <davem@davemloft.net>
9871
9872 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9873 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9874 Reimplement to do errno handling inline.
9875 (SYSCALL_ERROR_HANDLER): New macro.
9876 (__SYSCALL_STRING): Do not do errno handling in asm.
9877 (__CLONE_SYSCALL_STRING): Delete.
9878 (__INTERNAL_SYSCALL_STRING): Delete.
9879 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9880 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9881 (PSEUDO): Reimplement to do errno handling inline.
9882 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9883 (SYSCALL_ERROR_HANDLER): New macro.
9884 (__SYSCALL_STRING): Do not do errno handling in asm.
9885 (__CLONE_SYSCALL_STRING): Delete.
9886 (__INTERNAL_SYSCALL_STRING): Delete.
9887 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9888 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9889 i386.
9890 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9891 (inline_syscall*): Add 'err' argument.
9892 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9893 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9894 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9895 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9896
9897 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9898 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9899
2bc17433
AS
99002011-08-30 Andreas Schwab <schwab@redhat.com>
9901
9902 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9903
fbeb5f4d
JO
99042011-08-29 Jiri Olsa <jolsa@redhat.com>
9905
9906 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9907 directive.
9908
ad69cc26
DM
99092011-08-24 David S. Miller <davem@davemloft.net>
9910
9911 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9912
39dd69df
AS
99132011-08-24 Andreas Schwab <schwab@redhat.com>
9914
9915 * elf/Makefile: Add rules to build and run unload8 test.
9916 * elf/unload8.c: New file.
9917 * elf/unload8mod1.c: New file.
9918 * elf/unload8mod1x.c: New file.
9919 * elf/unload8mod2.c: New file.
9920 * elf/unload8mod3.c: New file.
9921
9922 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9923 it wasn't used.
9924
2c0b250a
DM
99252011-08-23 David S. Miller <davem@davemloft.net>
9926
9927 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9928 subtract stack bias.
9929 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9930 %sp not %fp in calculations.
9931 (_JMPBUF_UNWINDS_ADJ): Likewise.
9932
22044b48
DM
9933 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9934 (aio_suspend): Call it to force an exception region around the
9935 AIO_MISC_WAIT() invocation.
9936
2cae4995
AS
99372011-08-23 Andreas Schwab <schwab@redhat.com>
9938
9939 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9940 backslash.
9941
873a772e
AJ
99422011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9943
9944 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9945 protection macro.
9946 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9947 and <dl-machine.h>.
9948 (Elf64_FuncDesc): Remove.
9949
25ad0df1
DM
99502011-08-22 David S. Miller <davem@davemloft.net>
9951
9952 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9953 sigaltstack check, add missing cfi directives.
9954 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9955 missing cfi directives, and sigaltstack handling.
9956
e888bcbe
AS
99572011-08-16 Andreas Schwab <schwab@redhat.com>
9958
9959 [BZ #11724]
9960 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9961 object is seen twice.
9962 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9963
9964 * elf/Makefile (distribute): Add tst-initorder2.c.
9965 (tests): Add tst-initorder2.
9966 (modules-names): Add tst-initorder2a tst-initorder2b
9967 tst-initorder2c tst-initorder2d. Add rules to build them.
9968 ($(objpfx)tst-initorder2.out): New rule.
9969 * elf/tst-initorder2.c: New file.
9970 * elf/tst-initorder2.exp: New file.
9971
87162f46
AS
99722011-08-22 Andreas Schwab <schwab@redhat.com>
9973
70538b7f
AS
9974 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9975
f55ffe58
AS
9976 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9977 dependencies back to end of function.
9978
87162f46
AS
9979 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9980 $(elfobjdir)/ld.so.
9981
91b392a4
UD
99822011-08-21 Ulrich Drepper <drepper@gmail.com>
9983
9984 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9985 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9987 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9988 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9989 of __vdso_gettimeofday.
9990 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9991 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9992 attribute_hidden.
9993 (_libc_vdso_platform_setup): Remove initialization of
9994 __vdso_gettimeofday and __vdso_time.
9995
5c43483f
UD
99962011-08-20 Ulrich Drepper <drepper@gmail.com>
9997
775a77e7
UD
9998 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9999 and fgetc_unlocked.
10000 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10001 getc_unlocked.
89f447ed 10002
49c74ba9
UD
10003 * elf/dl-open.c (add_to_global): Report additions to the global scope
10004 for LD_DEBUG=scopes.
10005 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10006 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10007
5c43483f
UD
10008 [BZ #13114]
10009 * stdio-common/Makefile (tests): Add bug24.
10010 * stdio-common/bug24.c: New file.
10011
a101b025
AJ
100122011-08-19 Andreas Jaeger <aj@suse.de>
10013
10014 [BZ #13114]
10015 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10016 non-existant file when using close-on-exec mode.
10017
c88f1766
UD
100182011-08-20 Ulrich Drepper <drepper@gmail.com>
10019
0276a718
UD
10020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10021 the very first instruction.
10022
c88f1766
UD
10023 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10024 the CFI state in the end.
10025 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10026 inclusion of dl-trampoline.h.
10027 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10028
51ccffa0
AS
100292011-08-19 Andreas Schwab <schwab@redhat.com>
10030
94d7165f
AS
10031 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10032 expectations for long double.
10033
51ccffa0
AS
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10035 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10036
fd708658 100372011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10038
10039 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10040 artificual limit depends upon the system page size.
10041
44f0a71e
UD
100422011-08-17 Ulrich Drepper <drepper@gmail.com>
10043
10044 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10045 * resolv/Makefile: Define CFLAGS-libresolv.
10046
8de79a24
AS
100472011-08-17 Andreas Schwab <schwab@redhat.com>
10048
10049 * nss/makedb.c (compute_tables): Make variables used in nested
10050 function static.
10051
27724598
UD
100522011-08-17 Ulrich Drepper <drepper@gmail.com>
10053
c5305d88
UD
10054 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10055 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10056 if buffer was too small.
10057
27724598
UD
10058 * elf/pldd.c (main): Attach to all threads in the process.
10059 Rewrite /proc handling to use *at functions.
10060
076fe015
UD
100612011-08-16 Ulrich Drepper <drepper@gmail.com>
10062
174baab3
UD
10063 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10064 specifies first scope to show.
10065 (dl_open_worker): Update callers. Move printing scope of new
10066 object to before the relocation.
44f0a71e 10067 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10068 * sysdeps/generic/ldsodefs.h: Update declaration.
10069
076fe015
UD
10070 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10071 string for the scope number.
10072
a60df2c3
UD
100732011-08-14 Ulrich Drepper <drepper@gmail.com>
10074
10075 * nscd/servicescache.c (cache_addserv): Make sure written is always
10076 initialized.
10077
5e4287d1
RM
100782011-08-14 Roland McGrath <roland@hack.frob.com>
10079
85ae0589
RM
10080 * sysdeps/i386/i486/bits/atomic.h
10081 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10082 statement expression, so as to suppress "set but not used" warning.
10083 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10084
69f63097
RM
10085 * string/strncat.c (STRNCAT): Use prototype definition.
10086
675456ef
RM
10087 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10088 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10089 -Iprograms here.
10090 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10091 (localedef-modules): Add localedef.
10092 (locale-modules): Add locale.
10093
5e4287d1
RM
10094 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10095 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10096 to avoid a warning.
10097
9c96ff23
DM
100982011-08-14 David S. Miller <davem@davemloft.net>
10099
10100 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10101 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10102
f9ddf089
UD
101032011-08-13 Ulrich Drepper <drepper@gmail.com>
10104
44f0a71e 10105 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10106 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10107 * elf/rtld.c (dl_main): Set l_name of vDSO.
10108 Call _dl_show_scope when DL_DEBUG_SCOPES.
10109 (process_dl_debug): Recognize scopes flag and also set it for all.
10110 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10111 Declare _dl_show_scope.
10112
1dc27704
UD
10113 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10114 (do_dlopen): Pass caller_dlopen to dl_open.
10115 (__libc_dlopen_mode): Initialize caller_dlopen.
10116
f9ddf089
UD
10117 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10118 of libc. Make tolower call locale-independent. Optimize a bit by
10119 using isdigit instead of isalnum.
10120 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10121
9ac533d3
UD
101222011-08-12 Ulrich Drepper <drepper@gmail.com>
10123
10124 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10125 was a dependency or dynamically loaded.
10126
89edf2e9
UD
101272011-08-11 Ulrich Drepper <drepper@gmail.com>
10128
8e999d29
UD
10129 * intl/l10nflist.c: Allow architecture-specific pop function.
10130 * sysdeps/x86_64/l10nflist.c: New file.
10131
89edf2e9
UD
10132 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10133 classification.
10134
14d96785
AS
101352011-08-10 Andreas Schwab <schwab@redhat.com>
10136
10137 * include/dirent.h: Add libc_hidden_proto for scandirat and
10138 scandirat64. Don't declare __scandirat64.
10139 * dirent/scandirat.c: Add libc_hidden_def.
10140 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10141 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10142
6761ac04
DM
101432011-08-10 David S. Miller <davem@davemloft.net>
10144
10145 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10146 enum.
10147 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10148 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10149 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10150
c55fbd1e
UD
101512011-08-09 Ulrich Drepper <drepper@gmail.com>
10152
10153 * Versions.def [libc]: Add GLIBC_2.15.
10154 * dirent/Makefile (routines): Add scandirat and scandirat64.
10155 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10156 GLIBC_2.15.
10157 * dirent/dirent.h: Declare scandirat and scandirat64.
10158 * dirent/scandirat.c: New file.
10159 * dirent/scandirat64.c: New file.
10160 * sysdeps/wordsize-64/scandirat.c: New file.
10161 * sysdeps/wordsize-64/scandirat64.c: New file.
10162 * dirent/opendir.c: Define opendirat.
10163 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10164 using scandirat.
10165 * dirent/scandir64.c: Adjust for scandir.c change.
10166 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10167 __scandirat64, and __scandir_cancel_handler.
10168 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10169 additional parameter and use openat instead of open (outside of ld.so).
10170 Add new __opendir as wrapper around __opendirat.
10171 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10172 here without requiring old scandirat implementation.
10173
879165f2
UD
101742011-08-08 Ulrich Drepper <drepper@gmail.com>
10175
10176 * dirent/scandir.c (cancel_handler): Renamed to
10177 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10178 defined. Adjust users.
10179 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10180 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10181
cb7e923b
UD
101822011-08-04 Ulrich Drepper <drepper@gmail.com>
10183
16292edd
UD
10184 * string/test-string.h (IMPL): Use __STRING to expand name and then
10185 stringify it.
10186
cb7e923b
UD
10187 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10188 of cleanups.
10189
cff82933
LD
101902011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10191
10192 * string/Makefile: Update.
10193 (strop-tests): Append strncat.
10194 * string/test-wcscmp.c: New file.
10195 New comprehensive test for wcscmp.
10196 * string/test-strcmp.c: Update.
10197 (WIDE): New define.
10198
9be9bfcc
AS
101992011-07-22 Andreas Schwab <schwab@redhat.com>
10200
10201 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10202 line.
10203
2e96f1c7
AS
102042011-07-26 Andreas Schwab <schwab@redhat.com>
10205
10206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10207 encoding to ACE if AI_IDN.
10208
85188888
JJ
102092011-08-01 Jakub Jelinek <jakub@redhat.com>
10210
10211 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10212 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10213
5fa16e9b
LD
102142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10215
10216 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10217 Fix overflow bug in strncat.
10218 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10219
10220 * string/test-strncat.c: Update.
10221 Add new tests for checking overflow bugs.
10222
102232011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10224
10225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10226 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10227 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10228 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10229 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10230 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10231 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10232 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10233 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10234
10235 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10236 (USE_AS_STRCAT): Define.
10237 Add strcat and strncat support.
10238 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10239
8c1a459f
AS
102402011-07-25 Andreas Schwab <schwab@redhat.com>
10241
10242 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10243 __n bigger than INT_MAX+1.
10244 (__strncmp_g): Likewise.
10245
bba33c28
UD
102462011-07-23 Ulrich Drepper <drepper@gmail.com>
10247
798be72d
UD
10248 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10249 * libio/stido.h: Likewise.
10250
8accd4dc
UD
10251 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10252 (AF_NFC): Define.
10253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10254 (AF_NFC): Define.
10255
cbff0d96
UD
10256 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10257 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10258 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10259 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10260 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10261
9191c04a
UD
10262 [BZ #13021]
10263 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10264 installed.
10265
bba33c28
UD
10266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10267 typo.
10268 (_dl_x86_64_save_sse): Likewise.
10269
90f139dd
UD
102702011-07-22 Ulrich Drepper <drepper@gmail.com>
10271
1aae088a
UD
10272 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10273 OSXSAVE.
10274 (_dl_x86_64_save_sse): Likewise.
10275
8e2045f5
UD
10276 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10277
90f139dd
UD
10278 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10279
1d002f25
AS
102802011-07-21 Andreas Schwab <schwab@redhat.com>
10281
10282 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10283 change.
10284 (_dl_x86_64_save_sse): Use correct AVX check.
10285
21137f89
UD
102862011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10287
10288 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10289 bug in strncpy/strncat.
10290 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10291
a65c0b7a
UD
102922011-07-21 Ulrich Drepper <drepper@gmail.com>
10293
10294 * string/tester.c (test_strcat): Add tests for different alignments
10295 of source and destination.
10296 (test_strncat): Likewise.
10297
6986b98a
UD
102982011-07-20 Ulrich Drepper <drepper@gmail.com>
10299
90bb2039
UD
10300 [BZ #12852]
10301 * posix/glob.c (glob): Check passed in values before using them in
10302 expressions to avoid some overflows.
10303 (glob_in_dir): Likewise.
10304
5644ef54
UD
10305 [BZ #13007]
10306 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10307 check for AVX enablement so that we don't crash with old kernels and
10308 new hardware.
10309 * elf/tst-audit4.c: Add same checks here.
10310 * elf/tst-audit6.c: Likewise.
10311
10312 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10313
bfc9dc9b
AS
103142011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10315
10316 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10317
702e64bb
UD
103182011-07-20 Ulrich Drepper <drepper@gmail.com>
10319
10320 * po/cs.po: Update from translation team.
10321 * po/bg.po: Likewise.
10322
295e904f
MP
103232011-07-12 Marek Polacek <mpolacek@redhat.com>
10324
10325 * misc/sys/cdefs.h: Add support for const attribute.
10326 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10327 to gnu_dev_{major,minor,makedev} functions.
10328
3ff94596
MP
103292011-07-20 Marek Polacek <mpolacek@redhat.com>
10330
10331 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10332
28b59fca
AS
103332011-07-20 Andreas Schwab <schwab@redhat.com>
10334
10335 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10336 strlen results.
10337
19df733e
AK
103382011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10339
10340 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10341 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10342 register in order to avoid conflicts with the soft frame pointer
10343 being held in r11 when necessary.
10344 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10345 (INTERNAL_VSYSCALL_NCS): Likewise.
10346
c8835729
MP
103472011-07-14 Marek Polacek <mpolacek@redhat.com>
10348
10349 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10350 * elf/dl-fini.c (_dl_fini): Adjust caller.
10351 * elf/dl-close.c (_dl_close_worker): Likewise.
10352 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10353
b902330c
MP
103542011-07-15 Marek Polacek <mpolacek@redhat.com>
10355
8991e135
MP
10356 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10357 "aux_cache->nlibs < 0".
10358
b902330c
MP
10359 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10360 in the reload-count case.
10361
99710781
LD
103622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10363
10364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10365 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10366 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10367 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10368 * sysdeps/x86_64/multiarch/strcat.S: New file.
10369 * sysdeps/x86_64/multiarch/strncat.S: New file.
10370 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10371 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10372 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10373 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10374 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10375 (USE_AS_STRCAT): Define.
10376 Add strcat and strncat support.
10377 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10378 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10379 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10380 * string/strncat.c: Update.
10381 (USE_AS_STRNCAT): Define.
10382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10383 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10384 and i7.
10385 * sysdeps/x86_64/multiarch/init-arch.h
10386 (bit_Prefer_PMINUB_for_stringop): New.
10387 (index_Prefer_PMINUB_for_stringop): Likewise.
10388 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10389 bit_Prefer_PMINUB_for_stringop.
10390
7dc6bd90
UD
103912011-07-19 Ulrich Drepper <drepper@gmail.com>
10392
10393 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10394 buffer64.
10395 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10396 of casting of buffer.
10397 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10398 buffer32 and buffer64.
10399 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10400 writes instead of casting of buffer.
10401 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10402 buffer32.
10403 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10404 casting of buffer.
10405
e0e72284
AS
104062011-07-19 Andreas Schwab <schwab@redhat.com>
10407
10408 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10409
feb1eb0b
UD
104102011-07-19 Ulrich Drepper <drepper@gmail.com>
10411
10412 * nscd/nscd.c (termination_handler): Don't do anything for a database
10413 if it has not yet been initialized.
10414
298711ff
UD
104152011-07-18 Ulrich Drepper <drepper@gmail.com>
10416
10417 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10418
104192011-07-15 Marek Polacek <mpolacek@redhat.com>
10420
10421 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10422
f9d68389
UD
104232011-07-18 Ulrich Drepper <drepper@gmail.com>
10424
10425 * po/nl.po: Update from translation team.
10426 * po/sv.po: Likewise.
10427
db290cf5
RM
104282011-07-16 Roland McGrath <roland@hack.frob.com>
10429
10430 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10431 now disallowed by GCC.
5c550700 10432
fd5e21c7
RM
10433 * configure.in (use-default-link): Default to yes if a test -shared
10434 link meets our qualifications.
10435 * configure: Regenerated.
10436
5c550700
RM
10437 * config.make.in (output-format): New variable.
10438 * configure.in: Check for ld --print-output-format support.
10439 * configure: Regenerated.
10440 * Makerules ($(common-objpfx)format.lds)
10441 [$(output-format) != unknown]: Just use $(output-format),
10442 instead of the linker-script munging.
10443
9fa2c032
RM
104442011-07-14 Roland McGrath <roland@hack.frob.com>
10445
a6928d51
RM
10446 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10447 of $(common-objpfx)shlib.lds.
10448 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10449
661607b3
RM
10450 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10451 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10452
9fa2c032
RM
10453 * configure.in (-z relro check): Adjust test code to add a large
10454 writable data section after it.
10455 * configure: Regenerated.
10456
defe9061
RM
104572011-07-11 Roland McGrath <roland@hack.frob.com>
10458
10459 * configure.in (-z relro check): Fix test code to make the variable
10460 truly const.
10461 * configure: Regenerated.
10462
319b9ad4
UD
104632011-07-11 Ulrich Drepper <drepper@gmail.com>
10464
10465 * nscd/nscd.h (struct traced_file): Define.
10466 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10467 elements. Add traced_files.
10468 (inotify_fd): Declare.
10469 (register_traced_file): Declare.
10470 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10471 (inotify_fd): Export.
10472 (resolv_conf_descr): Remove.
10473 (nscd_init): Move inotify descriptor creation to main.
10474 Don't register files for notification here.
10475 (register_traced_file): New function.
10476 (invalidate_cache): Don't use reset_res to determine whether to call
10477 res_init, go through the list of registered files.
10478 (main_loop_poll): The inotify descriptors are now stored in the
10479 structures for the traced files.
10480 (main_loop_epoll): Likewise
10481 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10482 to __nss_disable_nscd.
10483 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10484 for a database anymore. Check the records for all the registered
10485 files instead.
10486 * nss/Makefile (libnss_files-routines): Add files-init.
10487 (libnss_db-routines): Add db-init.
10488 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10489 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10490 * nss/nss_db/db-init.c: New file.
10491 * nss/nss_files/files-init.c: New file.
10492 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10493 __nss_lookup_function.
10494 (__nss_lookup_function): Call nss_load_library.
10495 (nss_load_all_libraries): New function.
10496 (__nss_disable_nscd): Take parameter with callback function for files
10497 to register. Set is_nscd. Load all the DSOs for the NSS modules
10498 used for the cached services.
10499 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10500 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10501 options for features to all the files in nscd.
10502
10503 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10504
23bee3e8
RM
105052011-07-10 Roland McGrath <roland@hack.frob.com>
10506
10507 * csu/elf-init.c (__libc_csu_init): Comment typo.
10508
46a5b7f0
UD
105092011-07-09 Ulrich Drepper <drepper@gmail.com>
10510
10511 * po/pl.po: Update from translation team.
10512 * po/ja.po: Likewise.
10513 * po/ru.po: Likewise.
10514 * po/ko.po: Likewise.
10515 * po/fr.po: Likewise.
10516
d30cf5bb
RM
105172011-07-09 Roland McGrath <roland@hack.frob.com>
10518
113ddea4
RM
10519 * configure.in (.ctors/.dtors header and trailer check):
10520 Use an empirical test on a built program.
10521 * configure: Regenerated.
10522
574920b4
RM
10523 * configure.in (-z relro check): Use an empirical test on a built DSO.
10524 Detect, but do not require, on ia64.
10525 * configure: Regenerated.
10526
d30cf5bb
RM
10527 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10528 Update tests that use readelf to use $READELF instead.
10529 * configure: Regenerated.
10530
8538fdb3
UD
105312011-07-08 Ulrich Drepper <drepper@gmail.com>
10532
10533 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10534 if the result is not used.
10535
04d08991
AJ
105362011-07-05 Andreas Jaeger <aj@suse.de>
10537
10538 [BZ#9696]
10539 * stdlib/tst-strtod.c: Add testcase.
10540
de283087
AD
105412011-07-07 Ulrich Drepper <drepper@gmail.com>
10542
4e5f31c8 10543 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10544 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10545 The latter has a higher limit. Take additional parameter to pass to
10546 the new function.
10547 (__pathconf): Pass file to __statfs_link_max.
10548 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10549 __statfs_link_max.
10550 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10551 __statfs_link_max.
10552
de283087
AD
10553 [BZ #12868]
10554 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10555 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10556 Handle Lustre.
10557 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10558 (__statfs_filesize_max): Likewise.
10559 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10560
c75fa153
AJ
105612011-07-05 Andreas Jaeger <aj@suse.de>
10562
10563 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10564
1a544854
UD
105652011-07-06 Marek Polacek <mpolacek@redhat.com>
10566
10567 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10568 `status' variable.
10569 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10570 Likewise.
10571
6f0eec67
UD
105722011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10573
10574 * Makefile (strop-tests): Add strncat.
10575 * string/test-strncat.c: New file.
10576
aae30307
UD
105772011-06-30 Marek Polacek <mpolacek@redhat.com>
10578
10579 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10580
c0cfb5eb
UD
105812011-06-21 Andreas Jaeger <aj@suse.de>
10582
10583 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10584 Copy rule from iconvdata/Makefile.
10585
01636b21
UD
105862011-07-06 Ulrich Drepper <drepper@gmail.com>
10587
10588 [BZ #12922]
10589 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10590 but no long options are defined, just return 'W'.
10591
9895c8bc
UD
105922011-06-22 Marek Polacek <mpolacek@redhat.com>
10593
10594 [BZ #9696]
10595 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10596
5d4cf042
UD
105972011-07-06 Ulrich Drepper <drepper@gmail.com>
10598
10599 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10600 netgroups to read.
960e5535 10601 (innetgr): Likewise.
5d4cf042 10602
751eb97e
RM
106032011-07-05 Roland McGrath <roland@hack.frob.com>
10604
10605 * config.make.in (install_root): Default to $(DESTDIR).
10606
f15f1e45
UD
106072011-07-05 Ulrich Drepper <drepper@gmail.com>
10608
10609 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10610
4e34ac6a
RM
106112011-07-02 Roland McGrath <roland@hack.frob.com>
10612
5e9b6af4
RM
10613 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10614
84f9ea0f
RM
10615 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10616 containing directory rather than embedding absolute directory names.
10617
ea5ee9f7
RM
10618 * scripts/check-local-headers.sh: Rewritten using awk.
10619 Match by word, not by line. Print error messages for matches.
10620 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10621
1b74661a
RM
10622 * Makerules [shlib-lds-flags empty]:
10623 ($(common-objpfx)libc_pic.opts): New target.
10624 ($(common-objpfx)libc_pic.os.clean): New target.
10625 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10626
10627 * config.make.in (OBJCOPY): New variable.
10628 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10629 * configure: Regenerated.
10630
f781ef40
RM
10631 * config.make.in (use-default-link): New variable.
10632 * configure.in (use_default_link): Grok --with-default-link to set it.
10633 * configure: Regenerated.
10634 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10635 (shlib-lds, shlib-lds-flags): Define to empty.
10636
2d4fa81e
RM
10637 * Makerules (shlib-lds): New variable.
10638 (shlib-lds-flags): New variable.
10639 (build-shlib, build-moduile, build-module-asneeded): Use it.
10640 ($(common-objpfx)libc.so): Use $(shlib-lds).
10641 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10642 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10643
31fffa6b
RM
10644 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10645 DT_FLAGS/DT_FLAGS_1 with zero flags.
10646
4e34ac6a
RM
10647 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10648 linker script munging.
10649
fcfc776b
UD
106502011-07-02 Ulrich Drepper <drepper@gmail.com>
10651
10652 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10653 as 128-bit value.
10654 * crypt/sha512.c (sha512_process_block): Perform total addition using
10655 128-bit if possible.
10656 (__sha512_finish_ctx): Likewise.
10657 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10658 as 64-bit value.
10659 * crypt/sha256.c (SWAP64): Define.
10660 (sha256_process_block): Perform total addition using 64-bit if
10661 possible.
10662 (__sha256_finish_ctx): Likewise.
10663
99231d9a
UD
106642011-07-01 Ulrich Drepper <drepper@gmail.com>
10665
10666 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10667 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10668 * nscd/hstcache.c (cache_addhst): Likewise.
10669 * nscd/grpcache.c (cache_addgr): Likewise.
10670 * nscd/aicache.c (addhstaiX): Likewise
10671 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10672
445b4a53
TK
106732011-07-01 Thorsten Kukuk <kukuk@suse.de>
10674
10675 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10676 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10677 * nscd/hstcache.c (cache_addhst): Likewise.
10678 * nscd/grpcache.c (cache_addgr): Likewise.
10679 * nscd/aicache.c (addhstaiX): Likewise
10680
6d4d8e8e
AS
106812011-07-01 Andreas Schwab <schwab@redhat.com>
10682
10683 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10684 domain only when needed.
10685
89f654c5
AS
106862011-06-30 Andreas Schwab <schwab@redhat.com>
10687
10688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10689 is always restored.
10690
cf3b23ff
UD
106912011-06-29 Ulrich Drepper <drepper@gmail.com>
10692
10693 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10694 are re-adding the entry.
10695 * nscd/servicescache.c (cache_addserv): Likewise.
10696
751626f9
AJ
106972011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10698
10699 * sysdeps/generic/dl-irel.h: fix protection against multiple
10700 inclusions.
10701 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10702
9113ea1f
UD
107032011-06-28 Ulrich Drepper <drepper@gmail.com>
10704
5c0b8d90
UD
10705 [BZ #12935]
10706 * malloc/memusage.sh: Fix quoting in message.
10707 * debug/xtrace.sh: Likewise.
10708
9113ea1f
UD
10709 * configure.in: Remove support for --experimental-malloc option, make
10710 it the default.
10711 * config.make.in: Likewise.
10712 * malloc/Makefile: Likewise.
10713
a4172181
AS
107142011-06-27 Andreas Schwab <schwab@redhat.com>
10715
10716 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10717 two-byte characters.
10718
78a7eee7
RM
107192011-06-27 Roland McGrath <roland@hack.frob.com>
10720
62bede13
RM
10721 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10722 AC_CACHE_CHECK invocation.
10723 * configure: Regenerated.
10724
78a7eee7
RM
10725 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10726
5ce33a62
UD
107272011-06-27 Ulrich Drepper <drepper@gmail.com>
10728
034807a9
UD
10729 [BZ #12350]
10730 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10731 bit from old_res_options.
10732
4902da17
UD
10733 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10734
5ce33a62
UD
10735 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10736 value type for setfct.
10737
c2344f56
L
107382011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10739
10740 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10741 __gettimeofday instead of gettimeofday.
10742
68468076
UD
107432011-06-26 Ulrich Drepper <drepper@gmail.com>
10744
10745 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10746
acb0d739
L
107472011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10748
10749 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10750
10751 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10752 info.
10753
8912479f
L
107542011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10755
10756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10757 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10758 strcpy-sse2-unaligned strncpy-sse2-unaligned
10759 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10760 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10761 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10762 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10763 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10764 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10765 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10766 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10767 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10768 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10769 (STRCPY): Support SSE2 and SSSE3 versions.
10770
d5495a11
UD
107712011-06-24 Ulrich Drepper <drepper@gmail.com>
10772
10773 [BZ #12874]
10774 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10775 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10776 kernels which artificially limit size of requests.
10777
0b1cbaae
L
107782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10779
10780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10781 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10782 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10783 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10784 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10785 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10786 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10787 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10788 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10789 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10790 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10791 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10792 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10793 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10794 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10796 Enable unaligned load optimization for Intel Core i3, i5 and i7
10797 processors.
10798 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10799 Define.
10800 (index_Fast_Unaligned_Load): Define.
10801 (HAS_FAST_UNALIGNED_LOAD): Define.
10802
07f494a0
MP
108032011-06-23 Marek Polacek <mpolacek@redhat.com>
10804
10805 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10806
fa3fc0fe
UD
108072011-06-22 Ulrich Drepper <drepper@gmail.com>
10808
10809 [BZ #12907]
10810 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10811 until it is clear that the information is realy needed.
10812 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10813
e12df166
AS
108142011-06-22 Andreas Schwab <schwab@redhat.com>
10815
10816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10817
852eb34d
UD
108182011-06-22 Ulrich Drepper <drepper@gmail.com>
10819
84e2a551
UD
10820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10821 /sys/devices/system/cpu/online if it is usable.
10822
852eb34d
UD
10823 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10824 reading the information from the /proc filesystem to once a second.
10825
6e502e19
UD
108262011-06-21 Andreas Jaeger <aj@suse.de>
10827
10828 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10829 NULL after inclusion of kernel headers.
10830
75d39ff2
UD
108312011-06-21 Ulrich Drepper <drepper@gmail.com>
10832
51f9aa6a
UD
10833 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10834 calls to internal_setent.
10835
c0244a9d
UD
10836 [BZ #12885]
10837 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10838 addresses using gethostbyname4_r ignore IPv4 addresses.
10839
c5e3c2ae
UD
10840 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10841 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10842
75d39ff2
UD
10843 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10844
42675c6f
DM
108452011-06-20 David S. Miller <davem@davemloft.net>
10846
10847 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10848 inclusions.
10849 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10850
10851 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10852 (elf_irel): Use it.
10853 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10854 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10855 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10856 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10857 * sysdeps/x86_64/dl-irel.h: Likewise.
10858
10859 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10860 * elf/dl-sym.c: Likewise.
10861
57912a71
UD
108622011-06-15 Ulrich Drepper <drepper@gmail.com>
10863
10864 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10865 need to dereference resplen2.
10866
ee22793d
AS
108672011-06-14 Andreas Schwab <schwab@redhat.com>
10868
10869 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10870
a9e836b0
UD
108712011-06-15 Ulrich Drepper <drepper@gmail.com>
10872
77fb9117
UD
10873 * Makeconfig: Define vardbdir and inst_vardbdir.
10874 * nss/Makefile: Add rules to install db-Makefile.
10875
40c1b22c
UD
10876 * nss/nss_db/db-XXX.c: Cleanup.
10877
9f2da732
UD
10878 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10879 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10880 GLIBC_PRIVATE.
10881 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10882 * nss/makedb.c: Implement -g option to specify that value strings
10883 are generated and should not be added to table iterated over for
10884 get*ent calls.
10885 * nss/nss_db/db-initgroups.c: New file.
10886
82e9a1f7
UD
10887 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10888 interface.
10889
c41af17e
UD
10890 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10891 (internal_getgrouplist): Adjust to name change.
10892 Update use_initgroups_entry if this is not the first call.
10893 * nss/databases.def: Add initgroups entry.
10894
a9e836b0
UD
10895 * nss/makedb.c (compute_tables): Check result of multiple hash table
10896 sizes to minimize maximum chain length.
10897
2666d441
UD
108982011-06-14 Ulrich Drepper <drepper@gmail.com>
10899
10900 * Versions.def: Add entry for libnss_db.
10901 * shlib-versions: Likewise.
10902 * nss/Makefile: Add rules to build libnss_db.
10903 * nss/Versions: Add libnss_db information. Organize libnss_files
10904 entries better.
10905 * nss/db-Makefile: Add gshadow support. Change rules for the new
10906 makedb progra. Some minor improvements to generate smaller files.
10907 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10908 here from...
10909 * nss/makedb.c: ...here.
10910 Improve database format to be smaller and require less memory at
10911 runtime.
10912 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10913 db anymore.
10914 * nss/nss_db/db-netgrp.c: Likewise.
10915 * nss/nss_db/db-open.c: Likewise.
10916 * nss/nss_files/flies-XXX.x: Adjust comments.
10917 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10918 * nss/nss_files/files-grp.c: Likewise.
10919 * nss/nss_files/files-hosts.c: Likewise.
10920 * nss/nss_files/files-network.c: Likewise.
10921 * nss/nss_files/files-proto.c: Likewise.
10922 * nss/nss_files/files-pwd.c: Likewise.
10923 * nss/nss_files/files-rpc.c: Likewise.
10924 * nss/nss_files/files-service.c: Likewise.
10925 * nss/nss_files/files-sgrp.c: Likewise.
10926 * nss/nss_files/files-spwd.c: Likewise.
10927 * nss/nss_db/db-alias.c: Removed.
10928 * nss/nss_db/dummy-db.h: Removed.
10929
9ee76b5a
UD
109302011-06-02 Ulrich Drepper <drepper@gmail.com>
10931
10932 * nss/makedb.c: Rewritten to not use database library.
10933 * nss/Makefile: Update to build new makedb program.
10934
c71ca1f8
AJ
109352011-06-14 Andreas Jaeger <aj@suse.de>
10936
10937 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10938 memset declaration.
10939
3154bfb8
UD
109402011-06-10 Andreas Schwab <schwab@redhat.com>
10941
10942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10943 tmpbuf.
10944
b350afab
RM
109452011-06-10 Roland McGrath <roland@hack.frob.com>
10946
decd4e50
RM
10947 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10948 * elf/Makefile ($(objpfx)ld.so): Likewise.
10949
5615eaf2
RM
10950 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10951 Don't list ld.so twice in dependencies.
10952
10953 * posix/bug-regex31.c: Include <stdlib.h>.
10954
10955 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10956
10957 * nis/nss_compat/compat-spwd.c
10958 (getspent_next_nss_netgr): Remove unused variable.
10959 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10960
10961 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10962 nonmembers" output to use the right array.
10963
10964 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10965
10966 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10967
10968 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10969 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10970 * catgets/gencat.c (read_input_file): Likewise.
10971 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10972
10973 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10974 variable definition inside #if's controlling its use.
10975
10976 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10977
10978 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10979
10980 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10981
10982 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10983 unreachable code.
10984
10985 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10986
b68e08db
RM
10987 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10988 * configure: Regenerated.
10989
b350afab
RM
10990 * Makerules: Revert last change.
10991 * elf/Makefile: Likewise.
10992
28368601
RM
109932011-06-09 Roland McGrath <roland@hack.frob.com>
10994
10995 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10996 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10997 (reloc-link): Likewise.
10998
11988f8f
UD
109992011-06-09 Ulrich Drepper <drepper@gmail.com>
11000
11001 * elf/Makefile: Add rules to build pldd.
11002 * elf/pldd.c: New file.
11003 * elf/pldd-xx.c: New file.
11004
e80fab37
UD
110052011-06-07 Ulrich Drepper <drepper@gmail.com>
11006
11007 * version.h: Update for 2.15 development version.
11008
9b849836
DM
110092011-06-07 David S. Miller <davem@davemloft.net>
11010
11011 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11012 ifuncs.
11013 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11014 elf_machine_lazy_rel): Likewise.
11015 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11016 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11017 elf_machine_lazy_rel): Likewise.
11018 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11019 dl_hwcap via passed in argument.
11020 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11021 Likewise.
11022
5a31b283
AK
110232011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11024
11025 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11026
069e52f8
RM
110272011-06-06 Roland McGrath <roland@hack.frob.com>
11028
11029 [BZ #12849]
11030 * manual/fdl-1.1.texi: New file, verbatim from:
11031 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11032 * manual/lgpl-2.1.texi: New file, verbatim from:
11033 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11034 * manual/Makefile (licenses): New variable, list those new file names.
11035 (texis): Use it.
11036 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11037
11038 * manual/fdl.texi: File removed.
11039 * manual/lesser.texi: File removed.
11040 * manual/libc.texinfo (Copying, Documentation License):
11041 Use new @include file names, put @appendix directive before @include.
11042
f16846a5
JJ
110432011-06-04 Jakub Jelinek <jakub@redhat.com>
11044
11045 [BZ #12841]
11046 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11047 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11048 (mq_open): Add __NTH.
11049
3d29045b
L
110502011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11051
11052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11053 Assume Intel Core i3/i5/i7 processor if AVX is available.
11054
8c297311
UD
110552011-05-31 Ulrich Drepper <drepper@gmail.com>
11056
11057 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11058 typo.
11059
c8fc0c91
UD
110602011-05-31 Andreas Schwab <schwab@redhat.com>
11061
11062 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11063 memory. Use alloca_account. Fix memory leak when retrying.
11064
5b27a807
UD
110652011-05-31 Ulrich Drepper <drepper@gmail.com>
11066
356f8bc6
UD
11067 * version.h (RELEASE): Bump for 2.14 release.
11068 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11069
5b27a807
UD
11070 * config.make.in (RANLIB): Remove entry.
11071
01f16ab0
UD
110722011-05-30 Ulrich Drepper <drepper@gmail.com>
11073
41fce8bd
UD
11074 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11075 (libc.pot): Work around missing support for .ksh extension in xgettext.
11076
4769ae77
UD
11077 [BZ #12684]
11078 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11079 if both request failed.
11080 (send_dg): In case of server errors clear resplen or *resplen2.
11081
6b1e7d19
UD
11082 [BZ #12454]
11083 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11084 when there are multiple maps.
11085 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11086 (_dl_fini): Remove test here.
11087
01f16ab0
UD
11088 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11089
b1ebd700
UD
110902011-05-29 Ulrich Drepper <drepper@gmail.com>
11091
7ae22829
UD
11092 [BZ #12350]
11093 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11094 bit from old_res_options.
11095 (gaih_inet): Likewise.
11096
553149f6 11097 [BZ #11099]
18a84741 11098 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11099 as signed.
11100
652ffab1
UD
11101 * resolv/res_init.c (res_setoptions): Make the code more compact.
11102
16985fd0
UD
11103 [BZ #11558]
11104 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11105 set RES_USEVC.
11106
0464f746
UD
11107 [BZ #11634]
11108 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11109
7d17596c
UD
11110 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11111
cf6bbbd7
UD
11112 [BZ #11781]
11113 * malloc/malloc.h: Declare malloc hook variables as volatile.
11114
13f1ab36
UD
11115 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11116 in last patch.
11117
b1ebd700
UD
11118 [BZ #11799]
11119 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11120 raise in the comment.
80e2212d
UD
11121 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11122 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11123 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11124
ce67228d
UD
111252011-05-28 Ulrich Drepper <drepper@gmail.com>
11126
8887a920
UD
11127 [BZ #12811]
11128 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11129 grow the buffers more if it already has to be sufficient.
11130 (build_wcs_upper_buffer): Likewise.
11131 * posix/regexec.c (check_matching): Likewise.
11132 (clean_state_log_if_needed): Likewise.
11133 (extend_buffers): Don't enlarge buffers beyond size of the input
11134 buffer.
11135 Patches mostly by Emil Wojak <emil@wojak.eu>.
11136 * posix/bug-regex32.c: New file.
11137 * posix/Makefile (tests): Add bug-regex32.
11138
4f031072
UD
11139 * locale/findlocale.c (_nl_find_locale): Return right away if
11140 _nl_explode_name failed.
11141 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11142
d0478f0c
UD
11143 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11144
de81b246
UD
11145 * debug/xtrace.sh: Unify messages.
11146 * malloc/memusage.sh: Likewise.
11147
c738465a
UD
11148 [BZ #12813]
11149 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11150 time symbol from vDSO. Substitute with vsyscall if not available.
11151 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11152 __vdso_time.
11153
f1f929d7
UD
11154 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11155 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11156 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11157 Add sendmmsg and internal_sendmmsg.
11158 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11159 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11160 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11161
ce67228d
UD
11162 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11163 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11164 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11165
e57420c6
UD
111662011-05-27 Ulrich Drepper <drepper@gmail.com>
11167
a8509ca5
UD
11168 [BZ #12813]
11169 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11170 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11171 available.
11172 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11173 __vdso_getcpu.
11174
e57420c6
UD
11175 [BZ #12814]
11176 * iconvdata/Makefile (tests): Add bug-iconv9.
11177 * iconvdata/bug-iconv9.c: New file.
11178
4d07db15
AS
111792011-05-27 Andreas Schwab <schwab@redhat.com>
11180
11181 [BZ #12814]
11182 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11183
ea486f69
JJ
111842011-05-25 Jakub Jelinek <jakub@redhat.com>
11185
11186 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11187 (struct user_regs_struct): Change intcs field back to cs.
11188
6f038433
UD
111892011-05-25 Ulrich Drepper <drepper@gmail.com>
11190
11191 * po/ja.po: Update from translation team.
11192
67f86a25
UD
111932011-05-23 Ulrich Drepper <drepper@gmail.com>
11194
11195 [BZ #12795]
11196 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11197 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11198
def7fbd6
AS
111992011-05-20 Andreas Schwab <schwab@redhat.com>
11200
11201 * stdlib/longlong.h: Update from GCC.
11202
f50ef8f1
AS
112032011-05-23 Andreas Schwab <schwab@redhat.com>
11204
11205 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11206 parameter name.
11207 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11208 Add parameter name.
11209 (__sysconf): Pass it down.
11210
de7ce8f1
UD
112112011-05-22 Ulrich Drepper <drepper@gmail.com>
11212
f2962a71
UD
11213 [BZ #12671]
11214 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11215 some situations.
11216 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11217 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11218 add in in __libc_use_alloca calls. Adjust callers.
11219 (glob): Use malloc in some situations.
11220
de7ce8f1
UD
11221 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11222 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11223 pltexit.
11224
aec84f53
UD
112252011-05-21 Ulrich Drepper <drepper@gmail.com>
11226
05bb4a68
UD
11227 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11228 and CLOCK_BOOTTIME_ALARM.
11229
7ea72f99
UD
11230 [BZ #12782]
11231 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11232 is returned.
11233
7e4afad5
UD
11234 * string/_strerror.c (__strerror_r): Print negative errors as signed
11235 numbers.
11236
8e211fec
UD
11237 [BZ #12777]
11238 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11239 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11240 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11241
f7d82dc9
UD
11242 * configure.in: Fix typo in redirection and correct removal of test
11243 files in two cases.
11244
cc9e536d
UD
11245 [BZ #12788]
11246 * locale/setlocale.c (new_composite_name): Fix test to check for
11247 identical name of all categories.
11248
aec84f53
UD
11249 [BZ #12792]
11250 * libio/filedoalloc.c (local_isatty): New function.
11251 (_IO_file_doallocate): Use local_isatty.
11252 * stdio-common/perror.c (perror): In case a new stream is used
11253 forward the stream error.
11254 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11255 error flag.
11256
78e64fdc
RT
112572011-05-20 Ulrich Drepper <drepper@gmail.com>
11258
34a9094f
UD
11259 [BZ #11869]
11260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11261 alloca.
11262 * include/alloca.h (extend_alloca_account): Define.
11263
78e64fdc
RT
11264 [BZ #11857]
11265 * posix/regex.h: Fix comments with documentation of user-accessible
11266 fields after compilation and describe correct free'ing of pattern
11267 after re_compile_pattern.
11268 Patch by Reuben Thomas <rrt@sc3d.org>.
11269
457bddfc
RA
112702011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11271
11272 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11273 and -mno-altivec to prevent the compiler from using Altivec and/or
11274 VSX instructions when the corresponding registers are not available.
11275
a4527b51
AS
112762011-05-19 Andreas Schwab <schwab@redhat.com>
11277
11278 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11279
ed690b2f
UD
112802011-05-19 Ulrich Drepper <drepper@gmail.com>
11281
11282 * libio/freopen.c (freopen): Use __dup2, not dup2.
11283 * libio/freopen64.c (freopen64): Likewise.
11284
8db73634
L
112852011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11286
11287 [BZ #12775]
11288 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11289 * math/Makefile (tests): Add test-powl.
11290 (CFLAGS-test-powl.c): Define.
11291 * math/test-powl.c: New file.
11292
0a197a9d
L
112932011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11294
11295 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11296
ee30c380
UD
112972011-05-17 Ulrich Drepper <drepper@gmail.com>
11298
11299 [BZ #11837]
11300 * iconvdata/gb18030.c: Update to GB18020-2005.
11301
6ce75379
UD
113022011-05-16 Ulrich Drepper <drepper@gmail.com>
11303
a4b89fd8
AR
11304 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11305 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11306 Patch by Aharon Robbins <arnold@skeeve.com>.
11307
ea389b12
UD
11308 [BZ #11892]
11309 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11310 on the stack.
11311
68a3f91f
UD
11312 [BZ #11895]
11313 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11314 through underflows.
11315
15cc7dd1
UD
11316 [BZ #12766]
11317 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11318 point to strings before performing equality test for error_one_per_line
11319 mode.
11320
f3799213
UD
11321 [BZ #11697]
11322 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11323
d79a9c94
UD
11324 [BZ #11820]
11325 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11326 (struct user_fpregs_struct): Avoid __uint*_t types.
11327
56e5eb46
UD
11328 [BZ #6420]
11329 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11330 symbol info. Use it instead of calling _dl_addr locally.
11331 (lock_and_info): New function.
11332 (tr_freehook): Call lock_and_info and pass symbol info as additional
11333 parameter to tr_where.
11334 (tr_mallochook): Likewise.
11335 (tr_reallochook): Likewise.
11336 (tr_memalignhook): Likewise.
11337
6ce75379
UD
11338 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11339 used and couldn't be at all thread-safe.
11340
f8a3b5bf
UD
113412011-05-15 Ulrich Drepper <drepper@gmail.com>
11342
94b7cc37
UD
11343 * libio/freopen.c (freopen): Don't close old file descriptor
11344 before the new one is opened. Instead dup the new file descriptor
11345 to the old one after the new stream is created.
11346 * libio/freopen64.c (freopen64): Likewise.
11347 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11348 * libio/fileops.c (_IO_new_file_close_it): Handle new
11349 _IO_FLAGS2_NOCLOSE flag.
11350 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11351 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11352 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11353 _IO_FLAGS2_NOCLOSE flag.
11354 * include/unistd.h: Add hidden_proto for dup3.
11355 Define __have_dup3.
11356 * io/dup3.c: Define hidden symbol.
11357 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11358
bd25564e
UD
11359 [BZ #7101]
11360 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11361 when an incomplete long option is used.
11362 * posix/tst-getopt_long1.c: New file.
11363 * posix/Makefile (tests): Add tst-getopt_long1.
11364
c84cfef4
UD
11365 [BZ #10138]
11366 * scripts/config.guess: Update from autoconf-2.68.
11367 * scripts/config.sub: Likewise.
11368
3b85df27
UD
11369 [BZ #10157]
11370 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11371 tests into ...
11372 (has_cpuclock): ...this. New function.
11373 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11374 macro here based on has_cpuclock code.
11375
15a856b1
UD
11376 [BZ #10149]
11377 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11378 First byte (not low byte) is now always NUL.
11379 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11380
05f399e6
UD
11381 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11382 Use non-cancelable interfaces.
11383
10a52685 11384 [BZ #9809]
94ecc67d
UD
11385 * locale/iso-639.def: Add entry for Sorani.
11386
f8a3b5bf
UD
11387 [BZ #11901]
11388 * include/stdlib.h: Move include protection to the right place.
11389 Define abort_msg_s. Declare __abort_msg with it.
11390 * stdlib/abort.c (__abort_msg): Adjust type.
11391 * assert/assert.c (__assert_fail_base): New function. Majority
11392 of code from __assert_fail. Allocate memory for __abort_msg with
11393 mmap.
11394 (__assert_fail): Now call __assert_fail_base.
11395 * assert/assert-perr.c: Remove bulk of implementation. Use
11396 __assert_fail_base.
11397 * include/assert.hL Declare __assert_fail_base.
11398 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11399 mmap.
11400 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11401
1af4e298
UD
114022011-05-14 Ulrich Drepper <drepper@gmail.com>
11403
f8a3b5bf 11404 [BZ #11952]
d26dfc60
MG
11405 [BZ #12453]
11406 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11407 until all modules are registered in the DTV.
11408 * elf/Makefile: Add rules to build and run tst-tls19.
11409 * elf/tst-tls19.c: New file.
11410 * elf/tst-tls19mod1.c: New file.
11411 * elf/tst-tls19mod2.c: New file.
11412 * elf/tst-tls19mod3.c: New file.
11413 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11414
2fc54d6f
UD
11415 [BZ #12083]
11416 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11417 correctly.
11418
98d76b46
UD
11419 [BZ #12601]
11420 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11421 two-byte sequence errors.
11422 * iconvdata/Makefile (tests): Add bug-iconv8.
11423 * iconvdata/bug-iconv8.c: New file.
11424
da3c19ef
UD
11425 [BZ #12626]
11426 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11427 buf2 definition.
11428
ca408c15
UD
11429 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11430
d6f67f7d
UD
11431 [BZ #12432]
11432 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11433 (dummy_getcfa): New function.
11434 (init): Get _Unwind_GetCFA address, use dummy if not found.
11435 (backtrace_helper): In recursion check, also check whether CFA changes.
11436 (__backtrace): Completely initialize arg.
11437
1af4e298 11438 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11439 storing incomplete byte sequence in state object. Avoid testing for
11440 guaranteed too small input if we know there is enough data available.
1af4e298 11441
da62f81b
AS
114422011-05-11 Andreas Schwab <schwab@redhat.com>
11443
11444 * Makeconfig (+link-pie): Indent.
11445 * Rules (binaries-pie): Define if $(have-fpie) and
11446 $(build-shared).
11447 (binaries-shared): Also filter out $(binaries-pie).
11448 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11449 * nscd/Makefile (others-pie): Add nscd.
11450 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11451 ($(objpfx)nscd): Remove command override.
11452 * login/Makefile (others-pie): Add pt_chown.
11453 ($(objpfx)pt_chown): Remove command override.
11454 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11455 remove command overrides.
11456
fcabc0f8
UD
114572011-05-13 Ulrich Drepper <drepper@gmail.com>
11458
20030ae6
UD
11459 * libio/tst_putwc.c: Fix error messages.
11460
fcabc0f8
UD
11461 [BZ #12724]
11462 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11463 currently writing and seek to current position when not.
11464 * libio/Makefile (tests): Add bug-fclose1.
11465 * libio/bug-fclose1.c: New file.
11466
320a5dc0
PB
114672011-05-12 Ulrich Drepper <drepper@gmail.com>
11468
11469 [BZ #12511]
11470 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11471 don't set DF_1_NODELETE here.
11472 (do_lookup_x): When entering new entry test for copy relocation
11473 and if necessary set DF_1_NODELETE flag.
11474 * elf/tst-unique4.cc: New file.
11475 * elf/tst-unique4.h: New file.
11476 * elf/tst-unique4lib.cc: New file.
11477 * elf/Makefile: Add rules to build and run tst-unique4.
11478 Patch by Piotr Bury <pbury@goahead.com>.
11479
22836f52
UD
114802011-05-11 Ulrich Drepper <drepper@gmail.com>
11481
f574184a
UD
11482 [BZ #12052]
11483 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11484
e1fb097f
UD
11485 [BZ #12625]
11486 * misc/mntent_r.c (addmntent): Flush the stream after the output
11487
22836f52
UD
11488 [BZ #12393]
11489 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11490 (is_trusted_path_normalize): Skip initial colon. Append slash
11491 to empty buffer. Duplicate is_trusted_path code but allow
11492 constructed patch to be prefix.
11493 (is_dst): Allow $ORIGIN followed by /.
11494 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11495 Correct testing of result of is_trusted_path_normalize
11496 (decompose_rpath): Fix warning.
11497
7b3b0b2a
UD
114982011-05-10 Ulrich Drepper <drepper@gmail.com>
11499
11500 [BZ #11257]
11501 * grp/initgroups.c (internal_getgrouplist): When we found the service
11502 list through the initgroups entry in nsswitch.conf do not always
11503 continue on a successful lookup. Don't always use the
eac80ce2 11504 __nss_group_database value if it is set.
7b3b0b2a
UD
11505 * nss/nsswitch.conf (initgroups): Change action for successful db
11506 lookup to continue for compatibility.
11507
2a81eaa5
UD
115082011-05-09 Ulrich Drepper <drepper@gmail.com>
11509
be97a69e
UD
11510 [BZ #11532]
11511 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11512 and CP774 modules.
11513 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11514 and CP774 modules.
11515 * iconvdata/tst-tables.sh: Likewise.
11516 * iconvdata/cp770.c: New file.
11517 * iconvdata/cp771.c: New file.
11518 * iconvdata/cp772.c: New file.
11519 * iconvdata/cp773.c: New file.
11520 * iconvdata/cp774.c: New file.
11521 * iconvdata/testdata/CP770: New file.
11522 * iconvdata/testdata/CP770..UTF8: New file.
11523 * iconvdata/testdata/CP771: New file.
11524 * iconvdata/testdata/CP771..UTF8: New file.
11525 * iconvdata/testdata/CP772: New file.
11526 * iconvdata/testdata/CP772..UTF8: New file.
11527 * iconvdata/testdata/CP773: New file.
11528 * iconvdata/testdata/CP773..UTF8: New file.
11529 * iconvdata/testdata/CP774: New file.
11530 * iconvdata/testdata/CP774..UTF8: New file.
11531
11532 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11533 END CHARMAP line.
11534 * iconvdata/gen-8bit-gap.sh: Likewise.
11535 * iconvdata/gen-8bit.sh: Likewise.
11536
c1e9e399
UD
11537 * locale/iso-639.def: Add ary entry.
11538
24c55fb3 11539 [BZ #11258]
96b4b1b0
UD
11540 * locale/C-translit.h.in: Add U20A1 transliteration.
11541
bdc2f971
KB
11542 [BZ #12178]
11543 * locale/iso-639.def: Add wae entry.
11544 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11545
2952b117
UD
11546 [BZ #12545]
11547 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11548 for n.
11549
2a81eaa5
UD
11550 [BZ #12711]
11551 * locale/C-translit.h.in: Add entry for U20B9.
11552 Patch by pravin.d.s@gmail.com.
11553
28377d1b
UD
115542011-05-08 Ulrich Drepper <drepper@gmail.com>
11555
7fb90fb8
UD
11556 [BZ #12713]
11557 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11558 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11559 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11560 in rtld. Use *stat64.
7fb90fb8 11561 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11562 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11563 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11564 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11565 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11566 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11567 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11568 __fstatat64 macros.
7fb90fb8
UD
11569 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11570 * dirent/rewinddir.c: Add libc_hidden_def.
11571 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11572 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11573
28377d1b
UD
11574 * include/dirent.h (__alloc_dir): Add flags parameter.
11575 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11576 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11577 __alloc_dir.
11578 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11579 from fdopendir if O_CLOEXEC is already set.
11580
66bdbaa4
AM
115812011-03-15 Alan Modra <amodra@gmail.com>
11582
11583 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11584 l_tls_firstbyte_offset non-zero. Save padding offset in
11585 l_tls_firstbyte_offset for later use.
11586 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11587 freeing static tls block.
11588
95721191
JN
115892011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11590
11591 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11592 where #ifdef was intended. The intent is to prevent ARG_MAX from
11593 being defined by the kernel headers.
11594
f87dfb1f
UD
115952011-05-07 Ulrich Drepper <drepper@gmail.com>
11596
11597 [BZ #12734]
11598 * resolv/resolv.h: Define RES_NOTLDQUERY.
11599 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11600 no-tld-query and set RES_NOTLDQUERY.
11601 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11602 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11603 modern BIND to search name as TLD unless forbidden.
11604
47c3cd7a
UD
116052011-05-07 Petr Baudis <pasky@suse.cz>
11606 Ulrich Drepper <drepper@gmail.com>
11607
11608 [BZ #12393]
11609 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11610 (is_trusted_path): ...to here.
c1e9ea35 11611 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11612 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11613 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11614
8a35c912
PP
116152011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11616
11617 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11618 __BEGIN/__END_DECLS.
11619
acd41f47
UD
116202011-05-06 Ulrich Drepper <drepper@gmail.com>
11621
11622 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11623 NSS_STATUS_NOTFOUND if no record was found.
11624
597df647
AS
116252011-05-05 Andreas Schwab <schwab@redhat.com>
11626
11627 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11628 (headers-not-in-tirpc): Remove rpc/netdb.h
11629 * resolv/netdb.h: Revert last change.
11630
b9af1301
PP
116312011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11632
11633 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11634 circular dependency between libgcc.a and libc.a.
11635
4e34d5f5
AS
116362011-05-05 Andreas Schwab <schwab@redhat.com>
11637
11638 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11639 * nis/Makefile: Don't install rpcsvc/*.
11640 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11641 instead of <rpc/types.h>.
11642 (MAXHOSTNAMELEN): Define.
11643
00ee369c
AS
116442011-05-03 Andreas Schwab <schwab@redhat.com>
11645
11646 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11647
0b592a30
MB
116482011-04-28 Maciej Babinski <mbabinski@google.com>
11649
11650 [BZ #12714]
11651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11652 gethostbyname4_r when IPv6 results are possible.
11653
6e04cbbe
UD
116542011-05-02 Ulrich Drepper <drepper@gmail.com>
11655
11656 [BZ #12723]
11657 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11658 _PC_PIPE_BUF handling.
11659
e4ecafe0
BH
116602011-04-30 Bruno Haible <bruno@clisp.org>
11661
11662 [BZ #12717]
11663 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11664 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11665 to 'int'.
11666 * inet/getnameinfo.c (getnameinfo): Likewise.
11667
125ee683
UD
116682011-04-29 Ulrich Drepper <drepper@gmail.com>
11669
11670 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11671 to groups setting in database lookup.
11672 * nss/nsswitch.conf: Add initgroups entry.
11673
b722481a
EB
116742011-04-22 Ulrich Drepper <drepper@gmail.com>
11675
11676 [BZ #12685]
11677 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11678 mode string.
11679 Patch by Eric Blake <eblake@redhat.com>.
11680
4df46dbd
L
116812011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11682
11683 * sunrpc/Makefile (need-export-routines): Add svc_run.
11684 (routines): Remove svc_run.
11685 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11686 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11687 * sunrpc/svc_run.c (svc_run): Likewise.
11688 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11689
e84142d2
UD
116902011-04-21 Ulrich Drepper <drepper@gmail.com>
11691
11692 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11693 problem in reallocation in last patch.
11694
877175d8
UD
116952011-04-20 Ulrich Drepper <drepper@gmail.com>
11696
11697 * sunrpc/Makefile: Move inclusion of Rules.
11698
ab8eed78
UD
116992011-04-19 Ulrich Drepper <drepper@gmail.com>
11700
11701 * nss/nss_files/files-initgroups.c: New file.
11702 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11703 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11704 _nss_files_initgroups_dyn.
11705
e3d8f584
RS
117062011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11707
11708 * elf/elf.h (R_ARM_IRELATIVE): Define.
11709
af190f45
UD
117102011-04-19 Ulrich Drepper <drepper@gmail.com>
11711
11712 * po/ru.po: Update from translation team.
11713
53cf59ef
UD
117142011-04-17 Ulrich Drepper <drepper@gmail.com>
11715
11716 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11717 dependencies.
11718
4c559bcd
MF
117192011-02-06 Mike Frysinger <vapier@gentoo.org>
11720
11721 [BZ #12653]
11722 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11723 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11724 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11725 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11726 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11727
4420675c
AS
117282011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11729
11730 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11731 differing bytes.
11732 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11733 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11734 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11735
75ea32ab
UD
117362011-04-17 Ulrich Drepper <drepper@gmail.com>
11737
11738 [BZ #12420]
11739 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11740 storing it.
11741 * stdlib/bug-getcontext.c: New file.
11742 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11743
27390476
AK
117442011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11745
11746 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11747 instructions into .machine "z9-109".
11748 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11749 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11750
10442705
AK
117512011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11752
11753 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11754 between environment variables and auxiliary vector.
11755
7b57bfe5
UD
117562011-04-16 Ulrich Drepper <drepper@gmail.com>
11757
11758 * Makefile: Add rules to build linkobj/libc.so.
11759 * include/libc-symbols.h: Define libc_hidden_nolink.
11760 * include/rpc/auth.h: Mark functions which are to be hidden.
11761 * include/rpc/auth_des.h: Likewise.
11762 * include/rpc/auth_unix.h: Likewise.
11763 * include/rpc/clnt.h: Likewise.
11764 * include/rpc/des_crypt.h: Likewise.
11765 * include/rpc/key_prot.h: Likewise.
11766 * include/rpc/pmap_clnt.h: Likewise.
11767 * include/rpc/pmap_prot.h: Likewise.
11768 * include/rpc/pmap_rmt.h: Likewise.
11769 * include/rpc/rpc_msg.h: Likewise.
11770 * include/rpc/svc.h: Likewise.
11771 * include/rpc/svc_auth.h: Likewise.
11772 * include/rpc/xdr.h: Likewise.
11773 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11774 * nss/Makefile: Likewise.
11775 * sunrpc/Makefile: Don't install headers. Build library with normal
11776 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11777 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11778 for the compat linking library. Remove use of INTDEF/INTUSE.
11779 * sunrpc/auth_none.c: Likewise.
11780 * sunrpc/auth_unix.c: Likewise.
11781 * sunrpc/authdes_prot.c: Likewise.
11782 * sunrpc/authuxprot.c: Likewise.
11783 * sunrpc/clnt_gen.c: Likewise.
11784 * sunrpc/clnt_perr.c: Likewise.
11785 * sunrpc/clnt_raw.c: Likewise.
11786 * sunrpc/clnt_simp.c: Likewise.
11787 * sunrpc/clnt_tcp.c: Likewise.
11788 * sunrpc/clnt_udp.c: Likewise.
11789 * sunrpc/clnt_unix.c: Likewise.
11790 * sunrpc/des_crypt.c: Likewise.
11791 * sunrpc/des_soft.c: Likewise.
11792 * sunrpc/get_myaddr.c: Likewise.
11793 * sunrpc/key_call.c: Likewise.
11794 * sunrpc/key_prot.c: Likewise.
11795 * sunrpc/netname.c: Likewise.
11796 * sunrpc/pm_getmaps.c: Likewise.
11797 * sunrpc/pm_getport.c: Likewise.
11798 * sunrpc/pmap_clnt.c: Likewise.
11799 * sunrpc/pmap_prot.c: Likewise.
11800 * sunrpc/pmap_prot2.c: Likewise.
11801 * sunrpc/pmap_rmt.c: Likewise.
11802 * sunrpc/publickey.c: Likewise.
11803 * sunrpc/rpc_cmsg.c: Likewise.
11804 * sunrpc/rpc_common.c: Likewise.
11805 * sunrpc/rpc_dtable.c: Likewise.
11806 * sunrpc/rpc_prot.c: Likewise.
11807 * sunrpc/rpc_thread.c: Likewise.
11808 * sunrpc/rtime.c: Likewise.
11809 * sunrpc/svc.c: Likewise.
11810 * sunrpc/svc_auth.c: Likewise.
11811 * sunrpc/svc_authux.c: Likewise.
11812 * sunrpc/svc_raw.c: Likewise.
11813 * sunrpc/svc_run.c: Likewise.
11814 * sunrpc/svc_simple.c: Likewise.
11815 * sunrpc/svc_tcp.c: Likewise.
11816 * sunrpc/svc_udp.c: Likewise.
11817 * sunrpc/svc_unix.c: Likewise.
11818 * sunrpc/svcauth_des.c: Likewise.
11819 * sunrpc/xcrypt.c: Likewise.
11820 * sunrpc/xdr.c: Likewise.
11821 * sunrpc/xdr_array.c: Likewise.
11822 * sunrpc/xdr_float.c: Likewise.
11823 * sunrpc/xdr_intXX_t.c: Likewise.
11824 * sunrpc/xdr_mem.c: Likewise.
11825 * sunrpc/xdr_rec.c: Likewise.
11826 * sunrpc/xdr_ref.c: Likewise.
11827 * sunrpc/xdr_sizeof.c: Likewise.
11828 * sunrpc/xdr_stdio.c: Likewise.
11829
e6c61494
UD
118302011-04-10 Ulrich Drepper <drepper@gmail.com>
11831
11832 [BZ #12650]
11833 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11834 * sysdeps/ia64/dl-tls.h: Likewise.
11835 * sysdeps/powerpc/dl-tls.h: Likewise.
11836 * sysdeps/s390/dl-tls.h: Likewise.
11837 * sysdeps/sh/dl-tls.h: Likewise.
11838 * sysdeps/sparc/dl-tls.h: Likewise.
11839 * sysdeps/x86_64/dl-tls.h: Likewise.
11840 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11841
34fe483e
AS
118422011-03-14 Andreas Schwab <schwab@redhat.com>
11843
11844 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11845 rpath element also skip the following colon.
11846 (expand_dynamic_string_token): Add is_path parameter and pass
11847 down to DL_DST_REQUIRED and _dl_dst_substitute.
11848 (decompose_rpath): Call expand_dynamic_string_token with
11849 non-zero is_path. Ignore empty rpaths.
11850 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11851 with zero is_path.
11852
f12a32e6
AS
118532011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11854
11855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11856 Make cancelable.
11857
38a7d692
UD
118582011-04-09 Ulrich Drepper <drepper@gmail.com>
11859
11860 [BZ #12655]
11861 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11862 Patch by Filipe David Manana <fdmanana@apache.org>.
11863
e451d22b
AS
118642011-04-07 Andreas Schwab <schwab@redhat.com>
11865
11866 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11867 Maintain aligned stack.
11868 (CHECK_RSP): Remove unused macro.
11869
dedc7c7b
UD
118702011-04-03 Ulrich Drepper <drepper@gmail.com>
11871
11872 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11873 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11874
94521213
UD
118752011-04-02 Ulrich Drepper <drepper@gmail.com>
11876
11877 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11878
8cb700c0 11879 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11880
0354e355
L
118812011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11882
11883 [BZ #12518]
11884 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11885 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11886 * sysdeps/x86_64/memmove.c: New file.
11887 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11888 (memcpy): Renamed to ...
11889 (__new_memcpy): This.
11890 (memcpy): Provide GLIBC_2_14 memcpy.
11891 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11892 (memcpy): Provide GLIBC_2_2_5 memcpy.
11893
8593482f
UD
118942011-04-01 Ulrich Drepper <drepper@gmail.com>
11895
11896 [BZ #12631]
11897 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11898
81a5726b
AS
118992011-03-30 Andreas Schwab <schwab@redhat.com>
11900
11901 * misc/syncfs.c: New file.
11902 * misc/Makefile (routines): Add syncfs.
11903 * posix/unistd.h: Declare syncfs.
11904 * sysdeps/unix/syscalls.list: Add syncfs.
11905
00e5419f
AS
119062011-04-01 Andreas Schwab <schwab@redhat.com>
11907
11908 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11909 open_by_handle_at.
11910 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11911 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11913 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11915 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11916 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11917
748876bf
UD
119182011-04-01 Ulrich Drepper <drepper@gmail.com>
11919
658e451d
UD
11920 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11921 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11922 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11924 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11926 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11927
748876bf
UD
11928 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11929 sync_file_range.c with -fexceptions.
11930 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11931 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11932 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11933 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11934 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11935 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11936 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11937 sync_file_range as cancellation point
11938 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11939 now a wrapper around __call_sync_file_range with cancellation handling.
11940 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11941 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11942 function name to __call_sync_file_range.
11943 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11944 Add call_sync_file_range.
748876bf 11945
6e63d5e1
AS
119462011-04-01 Andreas Schwab <schwab@redhat.com>
11947
11948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11949 bits/timex.h.
6e63d5e1 11950
46998f74
UD
119512011-04-01 Ulrich Drepper <drepper@gmail.com>
11952
4c1423ed
UD
11953 * iconv/iconv.h: Fix typo in comment.
11954 * io/fcntl.h: Likewise.
11955 * libio/stdio.h: Likewise.
11956 * posix/spawn.h: Likewise.
11957 * posix/unistd.h: Likewise.
11958 * stdlib/stdlib.h: Likewise.
11959 * time/time.h: Likewise.
11960 * wcsmbs/wchar.h: Likewise.
11961
158648c0
UD
11962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11963 open_by_handle): Add.
11964 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11965 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11966 Augment a few comments.
11967 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11968 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11969 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11970 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11971 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11972 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11973 open_by_handle.
11974
46998f74
UD
11975 * io/fcntl.h (AT_EMPTY_PATH): Define.
11976
83fe108b
UD
119772011-03-30 Ulrich Drepper <drepper@gmail.com>
11978
11979 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11980 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11981 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11982 to...
11983 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11984 * Versions.def: Add GLIBC_2.14.
11985 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11986 Export.
83fe108b 11987
bb242059
UD
119882011-03-22 Ulrich Drepper <drepper@gmail.com>
11989
11990 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11991 round counter.
11992 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11993
c97a1282
L
119942011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11995
11996 [BZ #12597]
11997 * string/test-strncmp.c (do_page_test): New function.
11998 (check2): Likewise.
11999 (test_main): Call check2.
12000 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12001
2a115601
UD
120022011-03-20 Ulrich Drepper <drepper@gmail.com>
12003
12004 [BZ #12587]
12005 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12006 Handle cache information in CPU leaf 4.
12007 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12008
8126d904
UD
120092011-03-18 Ulrich Drepper <drepper@gmail.com>
12010
042c49c6 12011 [BZ #12583]
8126d904
UD
12012 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12013 character representation.
12014 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12015
ccfe366e
RA
120162011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12017
12018 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12019 END(__isnan) to END(__isnanf) to match function entry point/label
12020 EALIGN(__isnanf,...).
12021
c6e13027
JJ
120222011-03-10 Jakub Jelinek <jakub@redhat.com>
12023
12024 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12025
33f85a3f
UD
120262011-03-10 Ulrich Drepper <drepper@gmail.com>
12027
028478fa
UD
12028 [BZ #12510]
12029 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12030 copy from the symbol referenced in the relocation to initialize the
12031 used variable.
12032 Patch by Piotr Bury <pbury@goahead.com>.
12033 * elf/Makefile: Add rules to build and tst-unique3.
12034 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12035 * elf/tst-unique3.cc: New file.
12036 * elf/tst-unique3.h: New file.
12037 * elf/tst-unique3lib.cc: New file.
12038 * elf/tst-unique3lib2.cc: New file.
12039
33f85a3f
UD
12040 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12041
03592fc7
MF
120422011-03-10 Mike Frysinger <vapier@gentoo.org>
12043
12044 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12045 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12046 to _start.
03592fc7 12047
6a5ee102
UD
120482011-03-06 Ulrich Drepper <drepper@gmail.com>
12049
12050 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12051 to-be-loaded object along a path to loader is ld.so.
12052
7e4ba49c
HJ
120532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12054 Ulrich Drepper <drepper@gmail.com>
12055
12056 * sysdeps/x86_64/memset.S: After aligning destination, code
12057 branches to different locations depending on the value of
12058 misalignment, when multiarch is enabled. Fix this.
12059
120602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12061
12062 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12063 Set _x86_64_preferred_memory_instruction for AMD processsors.
12064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12065 Set bit_Prefer_SSE_for_memop for AMD processors.
12066
13a804de
UD
120672011-03-04 Ulrich Drepper <drepper@gmail.com>
12068
12069 * libio/fmemopen.c (fmemopen): Optimize a bit.
12070
9d25c392
AS
120712011-03-03 Andreas Schwab <schwab@redhat.com>
12072
12073 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12074
a5543c6a
RM
120752011-03-03 Roland McGrath <roland@redhat.com>
12076
12077 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12078
012d35f7
DM
120792011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12080
7e4ba49c 12081 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12082 __bzero_ultra1 instead of __memset_ultra1.
12083
4bff6e01
AS
120842011-02-23 Andreas Schwab <schwab@redhat.com>
12085 Ulrich Drepper <drepper@gmail.com>
12086
12087 [BZ #12509]
12088 * include/link.h (struct link_map): Add l_orig_initfini.
12089 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12090 returning unsuccessfully.
12091 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12092 close of a file loaded at startup, restore the original l_initfini
12093 list.
12094 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12095 list, store the pointer.
12096 * elf/Makefile ($(objpfx)noload-mem): New rule.
12097 (noload-ENV): Define.
12098 (tests): Add $(objpfx)noload-mem.
12099 * elf/noload.c: Include <memcheck.h>.
12100 (main): Call mtrace. Close all opened handles.
12101
f2092faf
AS
121022011-02-17 Andreas Schwab <schwab@redhat.com>
12103
12104 [BZ #12454]
12105 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12106 dependencies are missing.
12107
6c8a2e88
ST
121082011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12109
f2092faf 12110 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12111 Hurd needs munmap.
12112 * sysdeps/mach/hurd/ifreq.h: New file.
12113
84a42118
PB
121142011-01-27 Petr Baudis <pasky@suse.cz>
12115 Ulrich Drepper <drepper@gmail.com>
12116
071f805e 12117 [BZ 12445]#
84a42118
PB
12118 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12119 to extend_alloca().
12120 * stdio-common/bug23.c: New file.
12121 * stdio-common/Makefile (tests): Add bug23.
12122
e23fe25b
AS
121232010-09-28 Andreas Schwab <schwab@redhat.com>
12124 Ulrich Drepper <drepper@gmail.com>
12125
12126 [BZ #12489]
12127 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12128 before performing relro protection. At old place add assertion
12129 to make sure nothing changed.
12130
d3f02e10
NS
121312011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12132 Glauber de Oliveira Costa <glommer@gmail.com>
12133
12134 * elf/elf.h: Add new ARM TLS relocs.
12135
d55fd7a5
RA
121362011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12137
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12139 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12140 cast from r3.
12141 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12142 'tests' variable.
12143 * sysdeps/wordsize-64/tst-writev.c: New file.
12144
2206397e
RA
121452011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12146
12147 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12148 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12149 insns in _dl_start to prevent a TOC reference before relocs are
12150 resolved.
12151
e9433893
UD
121522011-02-15 Ulrich Drepper <drepper@gmail.com>
12153
12154 [BZ #12469]
12155 * Makeconfig: Remove RANLIB definition.
12156 * Makerules: Don't use RANLIB.
12157 * aclocal.m4: Remove ranlib test.
12158 * configure.in: No need to check for ranlib.
12159 * elf/rtld-Rules: Don't use RANLIB.
12160
f75286c6
ST
121612011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12162
8e31c82d
ST
12163 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12164 protection macro.
12165 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12166 inclusion protection macro.
12167
f75286c6
ST
12168 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12169 SIGRTMIN and SIGRTMAX and print information in that case only when
12170 SIGRTMIN is defined.
12171
c1d0e639
JJ
121722011-02-11 Jakub Jelinek <jakub@redhat.com>
12173
12174 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12175 arginfo fn returning -1.
12176
12177 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12178 and thousands string is zero terminated.
12179
edf9294e
AS
121802011-02-03 Andreas Schwab <schwab@redhat.com>
12181
12182 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12183 sysdeps/unix/sysv/linux/bits/socket.h.
12184
2b7e92df
ST
121852011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12186
edf9294e
AS
12187 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12188 (__CPU_COUNT): Remove old macros.
12189 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12190 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12191 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12192 (__sched_cpualloc, __sched_cpufree): Add declarations.
12193
a4c7ea7b
UD
121942011-02-05 Ulrich Drepper <drepper@gmail.com>
12195
12196 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12197 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12198 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12199 (readdhstai): Return value of addhstaiX call.
12200 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12201 (addgrbyX): Return value returned by cache_addgr.
12202 (readdgrbyname): Return value returned by addgrbyX.
12203 (readdgrbygid): Likewise.
12204 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12205 (addpwbyX): Return value returned by cache_addpw.
12206 (readdpwbyname): Return value returned by addhstbyX.
12207 (readdpwbyuid): Likewise.
12208 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12209 (addservbyX): Return value returned by cache_addserv.
12210 (readdservbyname): Return value returned by addservbyX:
12211 (readdservbyport): Likewise.
12212 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12213 (addhstbyX): Return value returned by cache_addhst.
12214 (readdhstbyname): Return value returned by addhstbyX.
12215 (readdhstbyaddr): Likewise.
12216 (readdhstbynamev6): Likewise.
12217 (readdhstbyaddrv6): Likewise.
12218 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12219 (readdinitgroups): Return value returned by addinitgroupsX.
12220 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12221 (prune_cache): Keep track of timeout value of re-added entries.
12222 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12223 * nscd/nscd.h: Adjust prototypes of readd* functions.
12224
a0bf67cc
RM
122252011-02-04 Roland McGrath <roland@redhat.com>
12226
12227 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12228 (nis_stats): Likewise.
12229 * nis/nis_modify.c (nis_modify): Likewise.
12230 * nis/nis_remove.c (nis_remove): Likewise.
12231 * nis/nis_add.c (nis_add): Likewise.
12232
12233 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12234
12235 * posix/fnmatch_loop.c: Add some consts.
12236
12237 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12238
435b95eb
L
122392011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12240
12241 [BZ #12460]
12242 * config.make.in (config-cflags-novzeroupper): Define.
12243 * configure.in: Substitute libc_cv_cc_novzeroupper.
12244 * elf/Makefile (AVX-CFLAGS): Define.
12245 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12246 (CFLAGS-tst-auditmod4a.c): Likewise.
12247 (CFLAGS-tst-auditmod4b.c): Likewise.
12248 (CFLAGS-tst-auditmod6b.c): Likewise.
12249 (CFLAGS-tst-auditmod6c.c): Likewise.
12250 (CFLAGS-tst-auditmod7b.c): Likewise.
12251 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12252
8517b15e
UD
122532011-02-02 Ulrich Drepper <drepper@gmail.com>
12254
12255 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12256 function to the callback.
12257 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12258
10a656fe
AS
122592011-02-02 Andreas Schwab <schwab@redhat.com>
12260
12261 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12262 of errno.
12263
968dad0a
UD
122642011-01-19 Ulrich Drepper <drepper@gmail.com>
12265
9f94d2ea 12266 [BZ #11724]
968dad0a
UD
12267 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12268 of constructors.
12269 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12270 of destructors.
12271 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12272
12273 [BZ #11724]
12274 * elf/Makefile: Add rules to build and run new test.
12275 * elf/tst-initorder.c: New file.
12276 * elf/tst-initorder.exp: New file.
12277 * elf/tst-initordera1.c: New file.
12278 * elf/tst-initordera2.c: New file.
12279 * elf/tst-initordera3.c: New file.
12280 * elf/tst-initordera4.c: New file.
12281 * elf/tst-initorderb1.c: New file.
12282 * elf/tst-initorderb2.c: New file.
12283 * elf/tst-order-a1.c: New file.
12284 * elf/tst-order-a2.c: New file.
12285 * elf/tst-order-a3.c: New file.
12286 * elf/tst-order-a4.c: New file.
12287 * elf/tst-order-b1.c: New file.
12288 * elf/tst-order-b2.c: New file.
12289 * elf/tst-order-main.c: New file.
12290 New test case by George Gensure <werkt0@gmail.com>.
12291
86e92359
UD
122922010-10-01 Andreas Schwab <schwab@redhat.com>
12293
12294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12295 decoding ACE if AI_CANONIDN.
12296
5d5732b0
UD
122972011-01-18 Ulrich Drepper <drepper@gmail.com>
12298
12299 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12300
a77e8cbc
UD
123012011-01-17 Ulrich Drepper <drepper@gmail.com>
12302
6392473f
UD
12303 * version.h (RELEASE): Bump for 2.13 release.
12304 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12305
620a0529
UD
12306 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12307
18ba70a5
UD
12308 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12309 MADV_NOHUGEPAGE.
32465c3e
UD
12310 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12311 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12312 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12313 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12314 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12315 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12316
c0dafcf1
UD
12317 * posix/getconf.c: Update copyright year.
12318 * catgets/gencat.c: Likewise.
12319 * csu/version.c: Likewise.
12320 * debug/catchsegv.sh: Likewise.
12321 * debug/xtrace.sh: Likewise.
12322 * elf/ldconfig.c: Likewise.
12323 * elf/ldd.bash.in: Likewise.
12324 * elf/sprof.c (print_version): Likewise.
12325 * iconv/iconv_prog.c: Likewise.
12326 * iconv/iconvconfig.c: Likewise.
12327 * locale/programs/locale.c: Likewise.
12328 * locale/programs/localedef.c: Likewise.
12329 * malloc/memusage.sh: Likewise.
12330 * malloc/mtrace.pl: Likewise.
12331 * nscd/nscd.c (print_version): Likewise.
12332 * nss/getent.c: Likewise.
12333
a77e8cbc
UD
12334 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12335 PF_CAIF, and PF_ALG.
12336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12337
77e8bddf
AS
123382011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12339
1f20b93a
AS
12340 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12341 (modules-names): Use them.
12342 (ifunc-test-modules, ifunc-pie-tests): Define.
12343 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12344 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12345 (test-extras): Likewise.
12346 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12347 $(compile-command.c).
12348 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12349 (all-built-dso): Define.
12350 (check-textrel.out, check-execstack.out): Depend on it.
12351
77e8bddf
AS
12352 * configure.in: Don't override --enable-multi-arch.
12353
bc425b33
UD
123542011-01-15 Ulrich Drepper <drepper@gmail.com>
12355
12356 [BZ #6812]
12357 * nscd/hstcache.c (tryagain): Define.
12358 (cache_addhst): Return tryagain not notfound for temporary errors.
12359 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12360 failed.
12361
794c3ad3
UD
123622011-01-14 Ulrich Drepper <drepper@gmail.com>
12363
70181fdd
UD
12364 [BZ #10563]
12365 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12366 to make the syscall.
12367 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12368
794c3ad3
UD
12369 [BZ #12378]
12370 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12371 and fall back to matching as normal character if the string ends before
12372 the matching ']' is found. This is what POSIX requires.
12373 * posix/testfnm.c: Adjust test result.
12374 * posix/globtest.sh: Adjust test result. Add new test.
12375 * posix/tst-fnmatch.input: Likewise.
12376 * posix/tst-fnmatch2.c: Add new test.
12377
68dc9497
AS
123782010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12379
12380 * elf/Makefile (check-execstack): Revert last change. Depend on
12381 check-execstack.h.
12382 (check-execstack.h): New target.
12383 (generated): Add check-execstack.h.
12384 * elf/check-execstack.c: Include "check-execstack.h".
12385 (main): Revert last change.
12386 (handle_file): Return zero if GNU_STACK is absent and
12387 DEFAULT_STACK_PERMS doesn't include PF_X.
12388
451f001b
UD
123892011-01-13 Ulrich Drepper <drepper@gmail.com>
12390
cfa28e56
UD
12391 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12392 in child fails because the descriptor is already closed.
8cf8ce17
UD
12393 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12394 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12395 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12396
1086d70d
UD
12397 [BZ #12397]
12398 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12399 syscall.
12400
451f001b
UD
12401 [BZ #10484]
12402 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12403 temporary buffer used to handle multi lookups locally.
a85b5cb4 12404 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12405
08769175
UD
124062011-01-12 Ulrich Drepper <drepper@gmail.com>
12407
12408 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12409 loader is ld.so.
12410
5e49c52e
UD
124112011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12412
12413 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12414 alignment for SSE2.
12415
60522a5f
UD
124162011-01-12 Ulrich Drepper <drepper@gmail.com>
12417
12418 [BZ #12394]
12419 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12420 characters. When rounding increased number of integer digits recompute
12421 number of groups.
12422 * stdio-common/tst-grouping.c: New file.
12423 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12424
f257bbd7
UD
124252011-01-09 Ulrich Drepper <drepper@gmail.com>
12426
12427 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12428 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12429
12430 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12431 void.
12432 * bits/select.h: Likewise.
12433
fa9c15cb
UD
124342011-01-08 Ulrich Drepper <drepper@gmail.com>
12435
12436 * po/ja.po: Update from translation team.
12437
16c2895f
DM
124382011-01-04 David S. Miller <davem@sunset.davemloft.net>
12439
12440 [BZ #11155]
12441 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12442 implementation just like for lxstat, fxstatat, et al.
12443
2543fef2
JM
124442010-12-27 Jim Meyering <meyering@redhat.com>
12445
12446 [BZ #12348]
12447 * posix/regexec.c (build_trtable): Return failure indication upon
12448 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12449
98727dbe
UD
124502010-12-25 Ulrich Drepper <drepper@gmail.com>
12451
5bd6dc5c
UD
12452 [BZ #12201]
12453 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12454 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12455 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12456 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12457
97983464
UD
12458 [BZ #12207]
12459 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12460
98727dbe
UD
12461 [BZ #12204]
12462 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12463 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12464
4a531bb0
L
124652010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12466
12467 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12468 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12469 script has SORT_BY_INIT_PRIORITY.
12470 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12471 NO_CTORS_DTORS_SECTIONS is defined.
12472 * elf/soinit.c: Likewise.
12473 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12474 NO_CTORS_DTORS_SECTIONS is defined.
12475 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12476 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12477 * sysdeps/sh/init-first.c: Likewise.
12478 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12479
07eb4b71
UD
124802010-12-24 Ulrich Drepper <drepper@gmail.com>
12481
12482 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12483 always use the slow path.
12484
30950a5f
RA
124852010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12486
12487 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12488 similar rule which adds the sysdep directories to the header search in
12489 order to pick up the correct platform stackinfo.h.
12490 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12491 perform test if it is, otherwise return successfully without testing.
12492 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12493 DEFAULT_STACK_PERMS define in stackinfo.h.
12494 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12495 defined in stackinfo.h.
12496 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12497 DEFAULT_STACK_PERMS defined in stackinfo.h.
12498 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12499 * sysdeps/ia64/stackinfo.h: Likewise.
12500 * sysdeps/s390/stackinfo.h: Likewise.
12501 * sysdeps/sh/stackinfo.h: Likewise.
12502 * sysdeps/sparc/stackinfo.h: Likewise.
12503 * sysdeps/x86_64/stackinfo.h: Likewise.
12504 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12505 PF_X for powerpc64. Retain PF_X for powerpc32.
12506
db753e2c
UD
125072010-12-19 Ulrich Drepper <drepper@gmail.com>
12508
14b697f7
UD
12509 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12510 accurately.
db753e2c
UD
12511 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12512 GETDENTS_64BIT_ALIGNED.
12513
28300719
UD
125142010-12-14 Ulrich Drepper <dreper@gmail.com>
12515
14b697f7 12516 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12517
4f197237
AS
125182010-12-10 Andreas Schwab <schwab@redhat.com>
12519
dbb0472f
AS
12520 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12521 _GNU_SOURCE.
12522
4f197237
AS
12523 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12524 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12525 Remove __restrict.
12526 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12527 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12528
fb88ac72
UD
125292010-12-09 Ulrich Drepper <drepper@gmail.com>
12530
12531 [BZ #11655]
12532 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12533 are initialized.
12534
42acbb92
JJ
125352010-12-09 Jakub Jelinek <jakub@redhat.com>
12536
12537 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12538
c038d98d
UD
125392010-12-03 Ulrich Drepper <drepper@gmail.com>
12540
12541 * po/it.po: Update from translation team.
12542
3a4a2499
L
125432010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12544
12545 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12546 unused codes.
12547
1e24cf6e
UD
125482010-11-30 Ulrich Drepper <drepper@gmail.com>
12549
12550 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12551
a7690819
AS
125522010-11-24 Andreas Schwab <schwab@redhat.com>
12553
12554 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12555 specially.
12556 (gaih_getanswer_slice): Likewise.
12557
3bf8d1b1
JJ
125582010-10-20 Jakub Jelinek <jakub@redhat.com>
12559
12560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12561
6db52fbb
PB
125622010-05-31 Petr Baudis <pasky@suse.cz>
12563
12564 [BZ #11149]
12565 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12566 silently even in the chroot mode.
12567
eaca7569
UD
125682010-11-22 Ulrich Drepper <drepper@gmail.com>
12569
12570 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12571 last patch a bit. Pretty printing
12572
3056dcdb
UD
125732010-05-31 Petr Baudis <pasky@suse.cz>
12574
12575 [BZ #10085]
12576 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12577 initialization of skip_initgroups_dyn.
12578
cf7c9078
UD
125792010-11-19 Ulrich Drepper <drepper@gmail.com>
12580
12581 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12582 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12583
a1fb5e3e
UD
125842010-11-16 Ulrich Drepper <drepper@gmail.com>
12585
12586 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12587
3540d66b
AS
125882010-11-11 Andreas Schwab <schwab@redhat.com>
12589
12590 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12591 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12592 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12593 ($(objpfx)tst-fnmatch-mem): New rule.
12594 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12595 * posix/tst-fnmatch.c (main): Call mtrace.
12596
13b69574
L
125972010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12598
12599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12600 Support Intel processor model 6 and model 0x2c.
12601
da93d214
LM
126022010-11-10 Luis Machado <luisgpm@br.ibm.com>
12603
12604 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12605 signed comparison.
12606
8ca52c6e
L
126072010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12608
12609 [BZ #12205]
12610 * string/test-strncasecmp.c (check_result): New function.
12611 (do_one_test): Use it.
12612 (check1): New function.
12613 (test_main): Use it.
12614 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12615 Support strcasecmp and strncasecmp.
12616
69da074d
UD
126172010-11-08 Ulrich Drepper <drepper@gmail.com>
12618
12619 [BZ #12194]
12620 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12621 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12622
ff02d528
L
126232010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12624
12625 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12626 IFUNC support.
12627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12628 memset-x86-64.
12629 * sysdeps/x86_64/multiarch/bzero.S: New file.
12630 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12631 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12632 * sysdeps/x86_64/multiarch/memset.S: New file.
12633 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12635 Set bit_Prefer_SSE_for_memop for Intel processors.
12636 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12637 Define.
12638 (index_Prefer_SSE_for_memop): Define.
12639 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12640
344d0b54
LM
126412010-11-04 Luis Machado <luisgpm@br.ibm.com>
12642
12643 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12644 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12645
c0dde15b
UD
126462010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12647
12648 [BZ #12191]
12649 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12650 (__x86_64_raw_data_cache_size_half): Likewise.
12651 (__x86_64_raw_shared_cache_size): Likewise.
12652 (__x86_64_raw_shared_cache_size_half): Likewise.
12653
12654 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12655 (__x86_64_raw_data_cache_size_half): Likewise.
12656 (__x86_64_raw_shared_cache_size): Likewise.
12657 (__x86_64_raw_shared_cache_size_half): Likewise.
12658 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12659 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12660 and __x86_64_raw_shared_cache_size_half. Round
12661 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12662 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12663 to multiple of 256 bytes.
12664
0e516e0e
MS
126652010-11-03 Ulrich Drepper <drepper@gmail.com>
12666
12667 [BZ #12167]
12668 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12669 of inacessible symlinks. Verify result of symlink before returning it.
12670 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12671 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12672
0e012e87
ER
126732010-10-28 Erich Ritz <erichritz@gmail.com>
12674
12675 * math/math.h (isinf): Fix typo in comment.
12676
de0ff7bc
UD
126772010-11-01 Ulrich Drepper <drepper@gmail.com>
12678
12679 * po/da.po: Update from translation team.
12680
fa41c84d
UD
126812010-10-26 Ulrich Drepper <drepper@gmail.com>
12682
12683 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12684 is added to the list.
12685
f0967738
AK
126862010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12687 Ulrich Drepper <drepper@gmail.com>
12688
12689 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12690 the global list here. Move code to...
12691 (_dl_add_to_namespace_list): ...here. New function.
12692 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12693 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12694 * elf/dl-load.c (lose): Don't remove the element from the list.
12695 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12696 (_dl_map_object): Likewise.
12697
126982010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12699
12700 [BZ #12159]
12701 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12702 into all bytes of SSE register.
12703 Patch by Richard Li <richardpku@gmail.com>.
12704
f0967738 127052010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12706
12707 [BZ #12140]
12708 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12709 perturbing.
12710
d0b9e94f
MB
127112010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12712
12713 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12714 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12715 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12716 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12718 submachine.
12719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12720
8e9f92e9
AS
127212010-10-22 Andreas Schwab <schwab@redhat.com>
12722
12723 * include/dlfcn.h (__RTLD_SECURE): Define.
12724 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12725 mode & __RTLD_SECURE instead.
12726 (open_path): Rename preloaded parameter to secure.
12727 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12728 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12729 * elf/dl-deps.c (openaux): Likewise.
12730 * elf/rtld.c (struct map_args): Remove is_preloaded.
12731 (map_doit): Don't use it.
12732 (dl_main): Likewise.
12733 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12734 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12735
bc96fbda
AS
127362010-09-09 Andreas Schwab <schwab@redhat.com>
12737
12738 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12739 (sysd-rules-targets): Remove duplicates.
12740 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12741 rtld-%.$o dependency.
12742
22cd1c9b
AS
127432010-10-18 Andreas Schwab <schwab@redhat.com>
12744
12745 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12746 _dl_map_object do it.
12747
18edac48
UD
127482010-10-19 Ulrich Drepper <drepper@gmail.com>
12749
12750 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12751 fast fma builtins, define the macros in the C99 standard.
12752 (FP_FAST_FMAF): Likewise.
12753 (FP_FAST_FMAL): Likewise.
12754 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12755
12756 * bits/mathdef.h: Update copyright year.
12757 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12758
d2050124
MM
127592010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12760
12761 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12762 builtins, define the macros in the C99 standard.
12763 (FP_FAST_FMAF): Likewise.
12764 (FP_FAST_FMAL): Likewise.
12765 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12766 multiply/add.
12767 (FP_FAST_FMAF): Likewise.
12768
475facd1
JJ
127692010-10-15 Jakub Jelinek <jakub@redhat.com>
12770
12771 [BZ #3268]
12772 * math/libm-test.inc (fma_test): Some new testcases.
12773 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12774 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12775 y and infinite z. Do multiplication by C already in long double.
12776 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12778 y and infinite z. Do bitwise or of inexact bit into u.d.
12779 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12780 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12781 * sysdeps/i386/fpu/s_fma.S: Removed.
12782 * sysdeps/i386/fpu/s_fmal.S: Removed.
12783
7c08a05c
JJ
127842010-10-16 Jakub Jelinek <jakub@redhat.com>
12785
12786 [BZ #3268]
12787 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12789 computation is not scheduled after fetestexcept. Fix value
12790 of minimum denormal long double.
12791
f3f7372d
JJ
127922010-10-14 Jakub Jelinek <jakub@redhat.com>
12793
12794 [BZ #3268]
12795 * math/libm-test.inc (fma_test): Add some more tests.
12796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12797 correctly.
12798
14d43591
AS
127992010-10-15 Andreas Schwab <schwab@redhat.com>
12800
12801 * scripts/data/localplt-s390-linux-gnu.data: New file.
12802 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12803
5e908464
JJ
128042010-10-13 Jakub Jelinek <jakub@redhat.com>
12805
12806 [BZ #3268]
12807 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12808 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12809 instead of dbl-64.
12810 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12811 inlines.
12812 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12814 if one of x and y is very large and the other is subnormal.
12815 * sysdeps/s390/fpu/s_fmaf.c: New file.
12816 * sysdeps/s390/fpu/s_fma.c: New file.
12817 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12818 * sysdeps/powerpc/fpu/s_fma.S: New file.
12819 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12820 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12821 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12822
128232010-10-12 Jakub Jelinek <jakub@redhat.com>
12824
12825 [BZ #3268]
12826 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12827 fma tests.
12828 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12829 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12830 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12831 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12832 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12833 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12835
b833d51f
UD
128362010-10-12 Ulrich Drepper <drepper@redhat.com>
12837
12838 [BZ #12078]
12839 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12840 * posix/bug-regex31.input: Add test case.
12841
1751705d
UD
128422010-10-11 Ulrich Drepper <drepper@gmail.com>
12843
e9b9cbf5
UD
12844 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12845 * posix/bug-regex31.input: New file.
12846
12847 [BZ #12078]
12848 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12849 (parse_sub_exp): Fix last change, use postorder.
12850
ef06edbe
UD
12851 * posix/bug-regex31.c: New file.
12852 * posix/Makefile: Add rules to build and run bug-regex31.
12853
a129c80d
UD
12854 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12855
12856 [BZ #12078]
12857 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12858
b76b818e
UD
12859 [BZ #12108]
12860 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12861 to have entries in sys_siglist.
12862
1751705d
UD
12863 [BZ #12093]
12864 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12865 be NULL.
12866
9ff8d36f
JJ
128672010-10-07 Jakub Jelinek <jakub@redhat.com>
12868
12869 [BZ #3268]
12870 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12871 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12872 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12873 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12874 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12875 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12876 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12877 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12878 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12879 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12880 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12881 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12882 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12883 * math/ftestexcept.c (fetestexcept): Likewise.
12884 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12885 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12886 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12887 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12888 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12889 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12890 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12891
af325969
UD
128922010-10-11 Ulrich Drepper <drepper@gmail.com>
12893
c579b202 12894 [BZ #12107]
af325969
UD
12895 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12896 newline.
12897
67a67b95
UD
128982010-10-06 Ulrich Drepper <drepper@gmail.com>
12899
12900 * string/bug-strstr1.c: New file.
12901 * string/Makefile: Add rules to build and run bug-strstr1.
12902
5fb308bc
EB
129032010-10-05 Eric Blake <eblake@redhat.com>
12904
12905 [BZ #12092]
12906 * string/str-two-way.h (two_way_long_needle): Always clear memory
12907 when skipping input due to the shift table.
12908
45db99c7
UD
129092010-10-03 Ulrich Drepper <drepper@gmail.com>
12910
3b111893
UD
12911 [BZ #12005]
12912 * malloc/mcheck.c: Handle large requests.
12913
45db99c7
UD
12914 [BZ #12077]
12915 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12916 for strncmp and strncasecmp.
12917 * string/stratcliff.c: Add tests for strcmp and strncmp.
12918 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12919
cf7a1eb8
NI
129202010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12921
12922 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12923 __set_fpscr.
12924
6484ba5e
AJ
129252010-09-30 Andreas Jaeger <aj@suse.de>
12926
12927 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12928 (CGROUP_SUPER_MAGIC): Define.
12929 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12930 Handle btrfs and cgroup file systems.
12931 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12932 Likewise.
12933
91c42559
LM
129342010-09-27 Luis Machado <luisgpm@br.ibm.com>
12935
12936 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12937 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12938
87a97932
AK
129392010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12940
12941 [BZ #12067]
12942 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12943 trying to locate the ELF header.
12944
c21cc9bc
AS
129452010-09-27 Andreas Schwab <schwab@redhat.com>
12946
12947 [BZ #11611]
12948 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12949 Mask out sign-bit copies when constructing f_fsid.
12950
315970f6
PB
129512010-09-24 Petr Baudis <pasky@suse.cz>
12952
12953 * debug/stack_chk_fail_local.c: Add missing licence exception.
12954 * debug/warning-nop.c: Likewise.
12955
1ac7a2c7
JM
129562010-09-15 Joseph Myers <joseph@codesourcery.com>
12957
12958 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12959 implementing getdents64 using getdents syscall, set d_type if
12960 __ASSUME_GETDENTS32_D_TYPE.
12961
56801c50
AS
129622010-09-16 Andreas Schwab <schwab@redhat.com>
12963
12964 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12965 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12966
dda51327
UD
129672010-09-21 Ulrich Drepper <drepper@redhat.com>
12968
12969 [BZ #12037]
12970 * posix/unistd.h: Undo change of feature selection for ftruncate from
12971 2010-01-11.
12972
8ffcee4a
UD
129732010-09-20 Ulrich Drepper <drepper@redhat.com>
12974
a545ecd9 12975 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12976 detection.
12977
e24f0a8b
AS
129782010-09-20 Andreas Schwab <schwab@redhat.com>
12979
12980 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12981 fanotify_mark.
12982 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12983
7291c56f
AS
129842010-09-14 Andreas Schwab <schwab@redhat.com>
12985
12986 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12987 variables after CHECK_SP call.
12988 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12989
bc5fb037
AS
129902010-09-13 Andreas Schwab <schwab@redhat.com>
12991 Ulrich Drepper <drepper@redhat.com>
12992
12993 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12994 re-relocationg ld.so.
12995 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12996 _dl_init_paths call.
12997 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12998 here anymore.
12999
e66e7419
UD
130002010-09-14 Ulrich Drepper <drepper@redhat.com>
13001
13002 * resolv/res_init.c (__res_vinit): Count the default server we added.
13003
c044aa75
CLT
130042010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13005 Ulrich Drepper <drepper@redhat.com>
13006
13007 [BZ #11968]
13008 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13009 (____longjmp_chk): Use %ebx for saving value across system call.
13010 Add unwind info.
13011
32cf4069
AS
130122010-09-06 Andreas Schwab <schwab@redhat.com>
13013
13014 * manual/Makefile: Don't mix pattern rules with normal rules.
13015
817328ee
AS
130162010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13017
13018 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13019 operation.
13020 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13021 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13022 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13023 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13024 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13025 Likewise.
13026
29fddf61
UD
130272010-09-04 Ulrich Drepper <drepper@redhat.com>
13028
13029 [BZ #11979]
13030 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13031 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13032
0959ffc9
UD
130332010-09-02 Ulrich Drepper <drepper@redhat.com>
13034
13035 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13036 * sysdeps/x86_64/addmul_1.S: Likewise.
13037 * sysdeps/x86_64/lshift.S: Likewise.
13038 * sysdeps/x86_64/mul_1.S: Likewise.
13039 * sysdeps/x86_64/rshift.S: Likewise.
13040 * sysdeps/x86_64/sub_n.S: Likewise.
13041 * sysdeps/x86_64/submul_1.S: Likewise.
13042
ece29840
ST
130432010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13044
0959ffc9
UD
13045 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13046 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13047 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13048 * bits/sched.h [__need_schedparam]
ece29840 13049 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13050 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13051 (__defined_schedparam): Define to 1.
ece29840
ST
13052 (__sched_param): New structure, identical to sched_param.
13053 (__need_schedparam): Undefine.
13054
e53a31fe
MF
130552010-08-31 Mike Frysinger <vapier@gentoo.org>
13056
fdc0c10d
MF
13057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13058 (epoll_create1): Declare.
13059
e53a31fe
MF
13060 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13061
a726d796
AS
130622010-08-31 Andreas Schwab <schwab@redhat.com>
13063
13064 [BZ #7066]
13065 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13066 shifting retval into place.
13067
2f3e3dc7
UD
130682010-09-01 Ulrich Drepper <drepper@redhat.com>
13069
f2933da9
UD
13070 * nis/rpcsvc/nis.h: Update copyright notice.
13071 * nis/rpcsvc/nis.x: Likewise.
13072 * nis/rpcsvc/nis_callback.h: Likewise.
13073 * nis/rpcsvc/nis_callback.x: Likewise.
13074 * nis/rpcsvc/nis_object.x: Likewise.
13075 * nis/rpcsvc/nis_tags.h: Likewise.
13076 * nis/rpcsvc/yp.h: Likewise.
13077 * nis/rpcsvc/yp.x: Likewise.
13078 * nis/rpcsvc/ypupd.h: Likewise.
13079 * nis/yp_xdr.c: Likewise.
13080 * nis/ypupdate_xdr.c: Likewise.
13081
2f3e3dc7
UD
13082 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13083 mainly the body of pmap_getport. Add parameters to specify timeouts.
13084 (pmap_getport): Use __libc_rpc_getport.
13085 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13086 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13087 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13088
f3dcc2f9
AS
130892010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13090
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13092 fanotify_mark.
13093
6d34eb5b
RM
130942010-08-27 Roland McGrath <roland@redhat.com>
13095
13096 * sysdeps/i386/i686/multiarch/Makefile
13097 (CFLAGS-varshift.c): New variable.
13098
9ea3de11
UD
130992010-08-27 Ulrich Drepper <drepper@redhat.com>
13100
c96d23fc
UD
13101 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13102 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13103
9ea3de11
UD
13104 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13105
13106 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13107
623aac7f
L
131082010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13109
13110 * sysdeps/x86_64/strlen.S: Unroll the loop.
13111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13112 strlen-sse2 strlen-sse2-bsf.
13113 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13114 __strlen_no_bsf if bit_Slow_BSF is set.
13115 (__strlen_sse42): Removed.
13116 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13117 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13118
8b2b7715
RM
131192010-08-25 Roland McGrath <roland@redhat.com>
13120
13121 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13122 * sysdeps/x86_64/multiarch/varshift.c: New file.
13123 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13124 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13125 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13126 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13127
e73015f2
L
131282010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13129
13130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13131 strlen-sse2 strlen-sse2-bsf.
13132 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13133 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13134 (__strlen_sse2): Removed.
13135 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13136 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13138 bit_Slow_BSF for Atom.
13139 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13140 (index_Slow_BSF): Define.
13141 (HAS_SLOW_BSF): Define.
13142
df24a73e
UD
131432010-08-25 Ulrich Drepper <drepper@redhat.com>
13144
13145 [BZ #10851]
13146 * resolv/res_init.c (__res_vinit): When no server address at all
13147 is given default to loopback.
13148
f2ac4868
RM
131492010-08-24 Roland McGrath <roland@redhat.com>
13150
09055553
RM
13151 * configure.in: Remove config-name.h generation.
13152 * configure: Regenerated.
13153 * config-name.in: File removed.
13154 * scripts/config-uname.sh: New file.
13155 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13156 ($(objdir)config-name.h): New target.
13157
f2ac4868
RM
13158 * sunrpc/rpc_parse.h: Avoid nested comment.
13159
73f27d5e
RH
131602010-08-24 Richard Henderson <rth@redhat.com>
13161 Ulrich Drepper <drepper@redhat.com>
13162 H.J. Lu <hongjiu.lu@intel.com>
13163
13164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13166 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13167 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13168 _mm_alignr_epi8 with _mm_loadu_si128.
13169 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13170 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13171 (__m128i_shift_right): Removed.
13172 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13173 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13174 * sysdeps/x86_64/multiarch/varshift.h: New file.
13175 * sysdeps/x86_64/multiarch/varshift.S: New file.
13176
84b9230c
MF
131772010-08-21 Mike Frysinger <vapier@gentoo.org>
13178
13179 * configure.in: Move assembler checks to before sysdep dir checking.
13180
9bbd0ddc
PB
131812010-08-20 Petr Baudis <pasky@suse.cz>
13182
13183 * LICENSES: Sync the sunrpc license.
13184
9da4bb31
UD
131852010-08-19 Ulrich Drepper <drepper@redhat.com>
13186
a7ab6ec8
UD
13187 * sunrpc/auth_des.c: Update copyright notice once again.
13188 * sunrpc/auth_none.c: Likewise.
13189 * sunrpc/auth_unix.c: Likewise.
13190 * sunrpc/authdes_prot.c: Likewise.
13191 * sunrpc/authuxprot.c: Likewise.
13192 * sunrpc/bindrsvprt.c: Likewise.
13193 * sunrpc/clnt_gen.c: Likewise.
13194 * sunrpc/clnt_perr.c: Likewise.
13195 * sunrpc/clnt_raw.c: Likewise.
13196 * sunrpc/clnt_simp.c: Likewise.
13197 * sunrpc/clnt_tcp.c: Likewise.
13198 * sunrpc/clnt_udp.c: Likewise.
13199 * sunrpc/clnt_unix.c: Likewise.
13200 * sunrpc/des_crypt.c: Likewise.
13201 * sunrpc/des_soft.c: Likewise.
13202 * sunrpc/get_myaddr.c: Likewise.
13203 * sunrpc/getrpcport.c: Likewise.
13204 * sunrpc/key_call.c: Likewise.
13205 * sunrpc/key_prot.c: Likewise.
13206 * sunrpc/openchild.c: Likewise.
13207 * sunrpc/pm_getmaps.c: Likewise.
13208 * sunrpc/pm_getport.c: Likewise.
13209 * sunrpc/pmap_clnt.c: Likewise.
13210 * sunrpc/pmap_prot.c: Likewise.
13211 * sunrpc/pmap_prot2.c: Likewise.
13212 * sunrpc/pmap_rmt.c: Likewise.
13213 * sunrpc/rpc/auth.h: Likewise.
13214 * sunrpc/rpc/auth_unix.h: Likewise.
13215 * sunrpc/rpc/clnt.h: Likewise.
13216 * sunrpc/rpc/des_crypt.h: Likewise.
13217 * sunrpc/rpc/key_prot.h: Likewise.
13218 * sunrpc/rpc/netdb.h: Likewise.
13219 * sunrpc/rpc/pmap_clnt.h: Likewise.
13220 * sunrpc/rpc/pmap_prot.h: Likewise.
13221 * sunrpc/rpc/pmap_rmt.h: Likewise.
13222 * sunrpc/rpc/rpc.h: Likewise.
13223 * sunrpc/rpc/rpc_des.h: Likewise.
13224 * sunrpc/rpc/rpc_msg.h: Likewise.
13225 * sunrpc/rpc/svc.h: Likewise.
13226 * sunrpc/rpc/svc_auth.h: Likewise.
13227 * sunrpc/rpc/types.h: Likewise.
13228 * sunrpc/rpc/xdr.h: Likewise.
13229 * sunrpc/rpc_clntout.c: Likewise.
13230 * sunrpc/rpc_cmsg.c: Likewise.
13231 * sunrpc/rpc_common.c: Likewise.
13232 * sunrpc/rpc_cout.c: Likewise.
13233 * sunrpc/rpc_dtable.c: Likewise.
13234 * sunrpc/rpc_hout.c: Likewise.
13235 * sunrpc/rpc_main.c: Likewise.
13236 * sunrpc/rpc_parse.c: Likewise.
13237 * sunrpc/rpc_parse.h: Likewise.
13238 * sunrpc/rpc_prot.c: Likewise.
13239 * sunrpc/rpc_sample.c: Likewise.
13240 * sunrpc/rpc_scan.c: Likewise.
13241 * sunrpc/rpc_scan.h: Likewise.
13242 * sunrpc/rpc_svcout.c: Likewise.
13243 * sunrpc/rpc_tblout.c: Likewise.
13244 * sunrpc/rpc_util.c: Likewise.
13245 * sunrpc/rpc_util.h: Likewise.
13246 * sunrpc/rpcinfo.c: Likewise.
13247 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13248 * sunrpc/rpcsvc/key_prot.x: Likewise.
13249 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13250 * sunrpc/rpcsvc/mount.x: Likewise.
13251 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13252 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13253 * sunrpc/rpcsvc/rex.x: Likewise.
13254 * sunrpc/rpcsvc/rstat.x: Likewise.
13255 * sunrpc/rpcsvc/rusers.x: Likewise.
13256 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13257 * sunrpc/rpcsvc/spray.x: Likewise.
13258 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13259 * sunrpc/rtime.c: Likewise.
13260 * sunrpc/svc.c: Likewise.
13261 * sunrpc/svc_auth.c: Likewise.
13262 * sunrpc/svc_authux.c: Likewise.
13263 * sunrpc/svc_raw.c: Likewise.
13264 * sunrpc/svc_run.c: Likewise.
13265 * sunrpc/svc_simple.c: Likewise.
13266 * sunrpc/svc_tcp.c: Likewise.
13267 * sunrpc/svc_udp.c: Likewise.
13268 * sunrpc/svc_unix.c: Likewise.
13269 * sunrpc/svcauth_des.c: Likewise.
13270 * sunrpc/xcrypt.c: Likewise.
13271 * sunrpc/xdr.c: Likewise.
13272 * sunrpc/xdr_array.c: Likewise.
13273 * sunrpc/xdr_float.c: Likewise.
13274 * sunrpc/xdr_mem.c: Likewise.
13275 * sunrpc/xdr_rec.c: Likewise.
13276 * sunrpc/xdr_ref.c: Likewise.
13277 * sunrpc/xdr_sizeof.c: Likewise.
13278 * sunrpc/xdr_stdio.c: Likewise.
13279
9da4bb31
UD
13280 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13281 handling.
13282
bdaa77bc
AS
132832010-08-19 Andreas Schwab <schwab@redhat.com>
13284
13285 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13286
fe2f79db
LM
132872010-08-19 Luis Machado <luisgpm@br.ibm.com>
13288
13289 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13290 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13291 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13292 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13293 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13294 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13295 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13296 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13297 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13298 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13299 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13300 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13301 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13302 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13303
b9b42ee0
AB
133042010-07-26 Anton Blanchard <anton@samba.org>
13305
13306 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13307 * malloc/arena.c (heap_trim): Likewise.
13308
1c06ba31
UD
133092010-08-16 Ulrich Drepper <drepper@redhat.com>
13310
13311 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13312 here. Not...
13313 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13314 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13315
f8392f40
L
133162010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13317
13318 * sysdeps/i386/elf/Makefile: New file.
13319
3162f12e
AS
133202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13321
13322 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13323 from fanotify_init.
13324 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13325 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13326
28c90b2c
UD
133272010-08-15 Ulrich Drepper <drepper@redhat.com>
13328
13329 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13330 of strncasecmp_l.
1feccb6c 13331 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13332
ca6bb004
UD
133332010-08-14 Ulrich Drepper <drepper@redhat.com>
13334
e9f82e0d
UD
13335 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13336 strncase_l-nonascii.
13337 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13338 Add strncase_l-ssse3.
13339 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13340 * sysdeps/x86_64/strcmp.S: Likewise.
13341 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13342 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13343 * sysdeps/x86_64/strncase.S: New file.
13344 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13345 * sysdeps/x86_64/strncase_l.S: New file.
13346 * string/Makefile (strop-tests): Add strncasecmp.
13347 * string/test-strncasecmp.c: New file.
13348
13349 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13350 warning.
13351
ca6bb004
UD
13352 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13353 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13354
052fa7b3
AS
133552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13356
13357 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13358
962dba78
UD
133592010-08-12 Ulrich Drepper <drepper@redhat.com>
13360
13361 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13362 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13363 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13364
bebff237
AM
133652010-05-01 Alan Modra <amodra@gmail.com>
13366
13367 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13368 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13369 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13370 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13371 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13372 tidying. Don't tail-call __sigjmp_save for static lib.
13373 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13374 save location.
13375 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13376 (CALL_MCOUNT): Add eh info, and nop after bl.
13377 (TAIL_CALL_SYSCALL_ERROR): New macro.
13378 (PSEUDO_RET): Use it.
13379 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13380 Correct save location of integer regs and cr.
13381 (_dl_profile_resolve): Correct cr save location. Delete nops
13382 after bl when SHARED. Reduce cfi size a little by better
13383 placement of cfi directives.
13384 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13385 make a stack frame. Instead use parm save area as a temp.
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13387 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13389 Don't make a stack frame for parent, use parm save area.
13390 Increase child stack frame to 112 bytes. Don't save unused reg,
13391 and adjust reg usage. Set up cfi on error recovery and
13392 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13394 (__makecontext): Add dummy nop after jump to exit.
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13396 Use correct parm save area and cr save, reduce stack frame.
13397 Correct cfi for possible PSEUDO_RET frame setup.
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13399 Branch to local label emitted by PSEUDO_RET rather than
13400 __syscall_error.
13401
02637374
AS
134022010-08-12 Andreas Schwab <schwab@redhat.com>
13403
13404 [BZ #11904]
13405 * locale/programs/locale.c (print_assignment): New function.
13406 (show_locale_vars): Use it.
13407
c3e2f19b
UD
134082010-08-11 Ulrich Drepper <drepper@redhat.com>
13409
3cdaa6ad
UD
13410 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13411 field.
13412 (struct statfs64): Likewise.
13413 (_STATFS_F_FLAGS): Define.
13414 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13415 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13416 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13417 (ST_VALID): Define locally.
13418 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13419 __statvfs_getflags, use the provided value.
13420 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13421 __ASSUME_STATFS_F_FLAGS.
13422
754f7da3
UD
13423 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13424
10b3bedc
UD
13425 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13426 Add sys/fanotify.h.
13427 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13428 fanotify_mask for GLIBC_2.13.
13429 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13430 fanotify_init and fanotify_mark.
13431 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13432 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13433
c08fb0d7
UD
13434 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13435 Add prlimit.
13436 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13437 prlimit64 for GLIBC_2.13.
13438 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13439 prlimit64.
13440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13441 syscall.
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13443 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13444 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13445 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13446 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13447 add prlimit alias.
13448 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13449
15bac72b
UD
13450 [BZ #11903]
13451 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13452 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13453
c3e2f19b
UD
13454 * nss/Makefile: Add rules to build and run tst-nss-test1.
13455 * shlib-versions: Add entry for libnss_test1.
13456 * nss/nss_test1.c: New file.
13457 * nss/tst-nss-test1.c: New file.
13458
13459 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13460 (__nss_configure_lookup): Set appropriate entry in
13461 __nss_configure_lookup to true.
13462 * nss/nsswitch.h: Define enum with indeces of databases in
13463 databases and __nss_database_custom arrays. Declare
13464 __nss_database_custom.
13465 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13466 to avoid using nscd when custom rules are installed.
13467 * nss/getXXbyYY_r.c: Likewise.
13468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13469
13470 * nss/nss_files/files-parse.c: Whitespace fixes.
13471
f15ce4d8
UD
134722010-08-09 Ulrich Drepper <drepper@redhat.com>
13473
13474 [BZ #11883]
13475 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13476 * posix/fnmatch_loop.c: Likewise.
13477
d22e4cc9
AK
134782010-07-17 Andi Kleen <ak@linux.intel.com>
13479
13480 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13481 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13482 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13483 * Versions.def [GLIBC_2.13]: Add.
13484
805bc17d
UD
134852010-08-06 Ulrich Drepper <drepper@redhat.com>
13486
13487 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13488 Also fail if tpwd after pwuid call is NULL.
13489
5a42321d
ST
134902010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13491
13492 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13493 when converting to ms.
13494
fd3ebeda
ST
134952010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13496
13497 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13498 EOPNOTSUPP errors with ENOTTY.
13499 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13500 EOPNOTSUPP errors with ENOTTY.
13501
73507d3a
UD
135022010-07-31 Ulrich Drepper <drepper@redhat.com>
13503
13504 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13505 Add strcasecmp_l-ssse3.
13506 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13507 strcasecmp.
13508 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13509 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13510 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13511
fe36dd02
UD
135122010-07-30 Ulrich Drepper <drepper@redhat.com>
13513
66f6765a
UD
13514 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13515
42e08a54
UD
13516 * string/Makefile (strop-tests): Add strcasecmp.
13517 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13518 strcasecmp_l-nonascii.
13519 (gen-as-const-headers): Add locale-defines.sym.
13520 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13521 * sysdeps/x86_64/strcasecmp.S: New file.
13522 * sysdeps/x86_64/strcasecmp_l.S: New file.
13523 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13524 * sysdeps/x86_64/locale-defines.sym: New file.
13525 * string/test-strcasecmp.c: New file.
13526
fe36dd02
UD
13527 * string/test-strcasestr.c: Test both ends of the range of characters.
13528 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13529
48cbc0d6
RM
135302010-07-29 Roland McGrath <roland@redhat.com>
13531
76e6d6bc 13532 [BZ #11856]
48cbc0d6
RM
13533 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13534
880113d9
UD
135352010-07-27 Ulrich Drepper <drepper@redhat.com>
13536
13537 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13538 for ld.so.
13539
deb9cabb
AS
135402010-07-27 Andreas Schwab <schwab@redhat.com>
13541
13542 * manual/memory.texi (Malloc Tunable Parameters): Document
13543 M_PERTURB.
13544
1c7570ff
RM
135452010-07-26 Roland McGrath <roland@redhat.com>
13546
13547 [BZ #11840]
13548 * configure.in (-fgnu89-inline check): Set and substitute
13549 gnu89_inline, not libc_cv_gnu89_inline.
13550 * configure: Regenerated.
13551 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13552
24fb0f88
UD
135532010-07-26 Ulrich Drepper <drepper@redhat.com>
13554
13555 * string/test-strnlen.c: New file.
13556 * string/Makefile (strop-tests): Add strnlen.
13557 * string/tester.c (test_strnlen): Add a few more test cases.
13558 * string/tst-strlen.c: Better error reporting.
13559
13560 * sysdeps/x86_64/strnlen.S: New file.
13561
8e96b93a
UD
135622010-07-24 Ulrich Drepper <drepper@redhat.com>
13563
13564 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13565 lower-latency instructions.
13566
dbc676d4
UD
135672010-07-23 Ulrich Drepper <drepper@redhat.com>
13568
13569 * string/test-strcasestr.c: New file.
13570 * string/test-strstr.c: New file.
13571 * string/Makefile (strop-tests): Add strstr and strcasestr.
13572 * string/str-two-way.h: Don't undefine MAX.
13573 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13574
f6a31e0e
AS
135752010-07-21 Andreas Schwab <schwab@redhat.com>
13576
13577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13578 strcasestr-nonascii.
13579 (CFLAGS-strcasestr-nonascii.c): Define.
13580 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13581 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13582 Remove unused attribute.
13583
5dbc3b6c
RM
135842010-07-20 Roland McGrath <roland@redhat.com>
13585
13586 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13587 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13588 ld.so.cache was broken. With it, there is no way to disable dsocaps
13589 like LD_HWCAP_MASK can disable hwcaps.
13590
23d101d8
EPM
135912010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13592
13593 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13594
cc9f2e47
UD
135952010-07-16 Ulrich Drepper <drepper@redhat.com>
13596
13597 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13598 call in strcasestr.
13599 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13600 __strcasestr_sse42_nonascii.
13601 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13602 strcasestr-nonascii.c.
13603 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13604
77c1b069
LM
136052010-06-15 Luis Machado <luisgpm@br.ibm.com>
13606
13607 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13608 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13609 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13610 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13611
440566c3
UD
136122010-07-09 Ulrich Drepper <drepper@redhat.com>
13613
13614 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13615 fcntl.
13616
5be9d05d
AS
136172010-07-06 Andreas Schwab <schwab@redhat.com>
13618
c30b7ee2 13619 [BZ #11577]
5be9d05d
AS
13620 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13621 dl_signal_cerror.
13622
8a492a67
UD
136232010-07-06 Ulrich Drepper <drepper@redhat.com>
13624
13625 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13626 _PC_PIPE_BUF using F_GETPIPE_SZ.
13627
713df3d5
RM
136282010-07-05 Roland McGrath <roland@redhat.com>
13629
13630 * manual/arith.texi (Rounding Functions): Fix rint description
13631 implicit in round description.
13632
702e8f14
UD
136332010-07-02 Ulrich Drepper <drepper@redhat.com>
13634
13635 * elf/Makefile: Fix linking for a few tests to make recent linker
13636 happy.
13637
52ed8be9
AS
136382010-06-30 Andreas Schwab <schwab@redhat.com>
13639
13640 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13641 $(common-objpfx)libc_nonshared.a.
13642
f47c9a11
LM
136432010-06-21 Luis Machado <luisgpm@br.ibm.com>
13644
13645 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13646 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13647 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13648 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13649 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13650 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13651 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13652 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13667 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13668 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13669 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13670 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13671 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13672 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13673 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13674 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13675 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13676 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13677 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13678 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13693
6fb8cbcb
L
136942010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13695
13696 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13697 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13698 * string/memmove.c (memmove): Renamed to ...
13699 (MEMMOVE): ...this. Default to memmove.
13700 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13701 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13702 (END_CHK): Define.
13703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13704 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13705 mempcpy-ssse3-back memmove-ssse3-back.
13706 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13707 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13708 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13709 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13710 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13711 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13712 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13713 * sysdeps/x86_64/multiarch/memmove.c: New file.
13714 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13715 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13716 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13717 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13718 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13719 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13720 Define.
13721 (index_Fast_Copy_Backward): Define.
13722 (HAS_ARCH_FEATURE): Define.
13723 (HAS_FAST_REP_STRING): Define.
13724 (HAS_FAST_COPY_BACKWARD): Define.
13725
4e733bac 137262010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13727
13728 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13729 Restore proper fallback handling.
13730
63c4ed22
UD
137312010-06-19 Ulrich Drepper <drepper@redhat.com>
13732
ac2b484c
UD
13733 [BZ #11701]
13734 * posix/group_member.c (__group_member): Correct checking loop.
13735
63c4ed22
UD
13736 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13737 OOM in getpwuid_r correctly. Return error number when the caller
13738 should return, otherwise -1.
13739 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13740 call returning > 0 value.
13741 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13742
765ade4b
AS
137432010-06-07 Andreas Schwab <schwab@redhat.com>
13744
13745 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13746 libc_nonshared.a from targets in modules-names.
13747
80da2e09
KS
137482010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13749
13750 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13751 requires it.
13752
158db122
LM
137532010-06-10 Luis Machado <luisgpm@br.ibm.com>
13754
13755 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13756 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13757 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13759
caa78cf8
AS
137602010-06-02 Andreas Schwab <schwab@redhat.com>
13761
13762 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13763
b2ef2c01
UD
137642010-06-14 Ulrich Drepper <drepper@redhat.com>
13765
13766 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13767 and F_GETPIPE_SZ.
13768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13773 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13774
fbd643b6
RM
137752010-06-14 Roland McGrath <roland@redhat.com>
13776
13777 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13778
f32f2869
JJ
137792010-06-07 Jakub Jelinek <jakub@redhat.com>
13780
13781 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13782 __REDIRECT followed by __THROW.
13783 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13784 * posix/getopt.h (getopt): Likewise.
13785
2a50c078
EPM
137862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13787
13788 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13789 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13790 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13791 in AT_FLAGS.
13792 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13793 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13794
eb5ad2eb
LM
137952010-05-28 Luis Machado <luisgpm@br.ibm.com>
13796
13797 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13798
3c88fe1e
L
137992010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13800
13801 [BZ #11640]
13802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13803 Properly check family and model.
13804
d2f73151
TY
138052010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13806
13807 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13808
ebd2e13d
LM
138092010-05-24 Luis Machado <luisgpm@br.ibm.com>
13810
13811 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13812
b32b8b45
UD
138132010-05-21 Ulrich Drepper <drepper@redhat.com>
13814
13815 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13816 symbol reference.
13817
9acbe24d
AS
138182010-05-19 Andreas Schwab <schwab@redhat.com>
13819
13820 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13821 symbol reference.
13822
f0ccf6ea
AS
138232010-05-21 Andreas Schwab <schwab@redhat.com>
13824
3d04ff3a
AS
13825 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13826 and internal_recvmmsg.
13827 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13828 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13829 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13830 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13831
f0ccf6ea
AS
13832 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13833 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13834 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13835
5b08ac57
AS
138362010-05-20 Andreas Schwab <schwab@redhat.com>
13837
13838 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13839
4828935d
LM
138402010-05-17 Luis Machado <luisgpm@br.ibm.com>
13841
13842 POWER7 optimizations.
13843 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13844 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13845
373d545e
UD
138462010-05-19 Ulrich Drepper <drepper@redhat.com>
13847
13848 * version.h: Update for 2.13 development version.
13849
21a2b1ae
AS
138502010-05-12 Andrew Stubbs <ams@codesourcery.com>
13851
13852 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13853 exceptions. Return 0.
13854
3f7dcb2b
RM
138552010-05-07 Roland McGrath <roland@redhat.com>
13856
13857 * elf/ldconfig.c (main): Add a const.
13858
5f24d53a 138592010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13860
a160f8d8
UD
13861 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13862 (args_options): Add no-idn option.
13863 (ahosts_keys_int): Add idn_flags to ai_flags.
13864 (parse_option): Handle 'i' option to clear idn_flags.
13865
5f24d53a
UD
13866 * malloc/malloc.c (_int_free): Possible race in the most recently
13867 added check. Only act on the data if no current modification
13868 happened.
265bb1ce
UD
13869
13870See ChangeLog.17 for earlier changes.