]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use uint64_t on 64-bit integer
[thirdparty/glibc.git] / ChangeLog
CommitLineData
febb44a4
TS
12012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2
3 [BZ #13673]
4 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5 * sysdeps/mach/hurd/dup3.c: Likewise.
6 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7 * sysdeps/powerpc/memmove.c:: Likewise.
8
0a10fb9e
L
92012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10
11 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13
df8a552f
L
142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15
16 * elf/elf.h (R_X86_64_RELATIVE64): New.
17 (R_X86_64_NUM): Updated.
18 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22 tst-quad1pie tst-quad2pie
23 (modules-names): Add tst-quadmod1 tst-quadmod2.
24 ($(objpfx)tst-quad1): New dependency.
25 ($(objpfx)tst-quad2): Likewise.
26 ($(objpfx)tst-quad1pie): Likewise.
27 ($(objpfx)tst-quad2pie): Likewise.
28 * sysdeps/x86_64/tst-quad1.c: New file.
29 * sysdeps/x86_64/tst-quad1pie.c: New file.
30 * sysdeps/x86_64/tst-quad2.c: Likewise.
31 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36
f34d6f84
ST
372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38
f42d41d1
ST
39 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41 * streams/stropts.h (t_scalar_t): Define type.
42
3c3571fc
ST
43 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44 (_PATH_PRESERVE): Set to "/var/lib".
45 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46
61f06bd3
ST
47 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48 instead of int.
49
918d4d71
ST
50 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51 if __dir_mkfile succeeded.
52
f34d6f84
ST
53 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
54 checking for _hurd_dtablesize. Unlock it right after having
55 finished _hurd_dtable allocation.
56
10589b4a
TS
572012-05-10 Thomas Schwinge <thomas@schwinge.name>
58
674cdbc7
TS
59 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
60 * sysdeps/mach/hurd/configure: Regenerated.
61 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62 special-casing to...
63 * sysdeps/gnu/configure.in: ... this new file.
64 * sysdeps/unix/sysv/linux/configure: Regenerated.
65 * sysdeps/gnu/configure: New generated file.
66
8e41b99f
TS
67 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
68 for Linux: use nsec instead of usec, as well as:
69 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
70 members of type struct timespec.
71 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72 New macros.
73 (struct stat64): Likewise.
74 (_STATBUF_ST_NSEC): New macro.
75 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
76
10589b4a
TS
77 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78 __strtoul_internal rather than strtoul.
79
63643c85
PT
802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
81
82 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
83 and reject them.
84
3faebe6a
ST
852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
86
87 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
88 which preserves existing values.
89 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
90
c6474b07
PT
912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
92
93 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
94 TIMEOUT values. Return EINVAL for NFDS values either negative or
95 greater than FD_SETSIZE.
96
1043890b
ST
972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
98
99 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
100 allocated, call __vm_protect to finish enabling the existing space, and
101 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
102 allocate the remainder.
103
37ed8b9b
PT
1042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
105
106 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
107 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
108
db653660
ST
1092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
110
37ed8b9b
PT
111 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
112 sysdeps/mach/hurd/readlink.c.
b29d4053 113
db653660
ST
114 * posix/tst-sysconf.c (posix_options): Only use
115 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
116 _POSIX_SYNCHRONIZED_IO when they are defined
117 * sysdeps/mach/hurd/bits/posix_opt.h:
118 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
119 (_XOPEN_REALTIME): Undefine macro.
120 (_XOPEN_REALTIME_THREADS): Undefine macro.
121 (_XOPEN_SHM): Undefine macro.
122 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
123 macro to -1.
124 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
125 macro to -1.
126 (_POSIX_ASYNC_IO): Undefine macro.
127 (_POSIX_PRIORITIZED_IO): Undefine macro.
128 (_POSIX_SPIN_LOCKS): Define macro to -1.
129
ee16e894
ST
130 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
131 SA_NODEFER, SA_RESETHAND.
132 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
133 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
134 F_DUPFD_CLOEXEC.
135
6103ae3b
TS
1362012-05-10 Thomas Schwinge <thomas@schwinge.name>
137
138 * elf/Makefile (pldd-modules): Define unconditionally.
139
80b4e5f3
TS
1402012-05-10 Thomas Schwinge <thomas@schwinge.name>
141
142 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
143
edadcbd6
ST
1442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
145
146 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
147 Return ENOENT when name is empty.
148 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
149
80694780
TS
1502012-05-10 Thomas Schwinge <thomas@schwinge.name>
151
1792c087
TS
152 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
153
80694780
TS
154 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
155
6b645f0d
ST
1562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
157
80694780
TS
158 Fix mlock in all cases except non-readable pages.
159 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
160 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 161
6b645f0d
ST
162 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
163 (__mkdir): When path is `/', just fail with EEXIST.
164 * sysdeps/mach/hurd/mkdirat.c: Likewise.
165
e468f8a3
TS
1662012-05-10 Thomas Schwinge <thomas@schwinge.name>
167
168 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
169 <sys/uio.h> (for writev).
170 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
171 and <sys/param.h> (for MIN).
172
a4186cff
PT
1732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
174
175 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
176 REQUESTED_TIME. Properly set the remaining time and return EINTR
177 if interrupted.
178
510bbf14
TS
1792012-05-10 Thomas Schwinge <thomas@schwinge.name>
180
181 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
182 Depend on against $(link-rpcuserlibs).
183
5d5722e8
ST
1842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
185
a4186cff
PT
186 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
187 (__libc_stack_end): Do not use attribute_relro.
188 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
189 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 190 to libthread-provided value.
a4186cff
PT
191 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
192 attribute_relro.
5d5722e8 193
37233df9
TS
1942012-05-10 Thomas Schwinge <thomas@schwinge.name>
195
be971a2b
TS
196 [BZ #3748]
197 * bits/libc-lock.h (__libc_once_get): New macro.
198 * sysdeps/mach/bits/libc-lock.h: Likewise.
199 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
200 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
201 instead of using implementation details.
202
37233df9
TS
203 * libio/fileops.c: Unconditionally include <kernel-features.h>.
204 * libio/freopen.c: Likewise.
205 * libio/freopen64.c: Likewise.
206 * misc/syslog.c: Likewise.
207 * nscd/connections.c: Likewise.
208 * nscd/netgroupcache.c: Likewise.
209 * sysdeps/posix/getcwd.c: Likewise.
210
38de94a5
RM
2112012-05-10 Roland McGrath <roland@hack.frob.com>
212
213 * math/w_ilogbf.c: Add #include <limits.h>.
214
67530489
ST
2152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
216
a4186cff 217 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
218 path instead of returning without unlocking.
219
67530489
ST
220 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
221 immediate-write ioctls.
222 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
223
5aa3a74a
TS
2242012-05-10 Thomas Schwinge <thomas@schwinge.name>
225
18bad2ae
TS
226 * sysdeps/mach/hurd/i386/init-first.c (init): Use
227 __builtin_frame_address instead of making assumptions about the
228 location of the return address relative to DATA. Force early load of
229 the return address.
230 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
231 __builtin_frame_address.
232
5aa3a74a
TS
233 dup3 for GNU Hurd.
234 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
235 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
236 implement dup3 and do some further code clean-ups.
237 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
238 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
239
ecd0de9a
ST
2402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
241
cd9fa985
ST
242 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
243
a4186cff
PT
244 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
245 HURD_CRITICAL_END around holding _hurd_dtable_lock.
246 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
247 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
248 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
249 d->port.lock.
802ca5a5 250
a4186cff
PT
251 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
252 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
253 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 254
bcf55240
TS
2552012-05-10 Thomas Schwinge <thomas@schwinge.name>
256
6960eb42
TS
257 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
258 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
259 definitions.
260
eb43375f
TS
261 accept4 for GNU Hurd.
262 * include/sys/socket.h (__libc_accept4): New prototype.
263 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
264 to implement __libc_accept4.
265 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
266 __libc_accept4.
267 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
268
bcf55240
TS
269 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
270 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
271 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
272 signal-defines.sym.
273
6178c55b
ST
2742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
275
a4186cff 276 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 277
6f080c2f
TS
2782012-05-10 Thomas Schwinge <thomas@schwinge.name>
279
280 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
281 assertion on O_CLOEXEC flag.
282 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
283 * hurd/intern-fd.c: Likewise.
284 * hurd/port2fd.c: Likewise.
285
bcfe3a54
ST
2862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
287
288 [BZ #3906]
289 * bits/in.h (IPV6_PKTINFO): Define new macro.
290 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
291
89c9aa49
AZ
2922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
293
294 [BZ #13954]
295 [BZ #13955]
296 [BZ #13956]
297 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
298 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
299 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
300 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
301 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
302 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
303 * math/libm-test.inc (logb_test) : Additional logb tests.
304
021db4be
AJ
3052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
306 Andreas Jaeger <aj@suse.de>
307
308 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
309 * configure: Regenerated.
310 * config.h.in (LINK_OBSOLETE_RPC): New macro.
311 * config.make.in (link-obsolete-rpc): New substituted variable.
312 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
313 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
314 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
315 (shared-only-routines): Don't set it under [link-obsolete-rpc],
316 so that libc.a contains the symbols.
317 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
318 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
319 * sunrpc/auth_none.c: Likewise.
320 * sunrpc/auth_unix.c: Likewise.
321 * sunrpc/authdes_prot.c: Likewise.
322 * sunrpc/authuxprot.c: Likewise.
323 * sunrpc/clnt_gen.c: Likewise.
324 * sunrpc/clnt_perr.c: Likewise.
325 * sunrpc/clnt_raw.c: Likewise.
326 * sunrpc/clnt_simp.c: Likewise.
327 * sunrpc/clnt_tcp.c: Likewise.
328 * sunrpc/clnt_udp.c: Likewise.
329 * sunrpc/clnt_unix.c: Likewise.
330 * sunrpc/des_crypt.c: Likewise.
331 * sunrpc/des_soft.c: Likewise.
332 * sunrpc/get_myaddr.c: Likewise.
333 * sunrpc/key_call.c: Likewise.
334 * sunrpc/key_prot.c: Likewise.
335 * sunrpc/netname.c: Likewise.
336 * sunrpc/pm_getmaps.c: Likewise.
337 * sunrpc/pm_getport.c: Likewise.
338 * sunrpc/pmap_clnt.c: Likewise.
339 * sunrpc/pmap_prot.c: Likewise.
340 * sunrpc/pmap_prot2.c: Likewise.
341 * sunrpc/pmap_rmt.c: Likewise.
342 * sunrpc/publickey.c: Likewise.
343 * sunrpc/rpc_cmsg.c: Likewise.
344 * sunrpc/rpc_common.c: Likewise.
345 * sunrpc/rpc_dtable.c: Likewise.
346 * sunrpc/rpc_prot.c: Likewise.
347 * sunrpc/rpc_thread.c: Likewise.
348 * sunrpc/rtime.c: Likewise.
349 * sunrpc/svc.c: Likewise.
350 * sunrpc/svc_auth.c: Likewise.
351 * sunrpc/svc_raw.c: Likewise.
352 * sunrpc/svc_run.c: Likewise.
353 * sunrpc/svc_tcp.c: Likewise.
354 * sunrpc/svc_udp.c: Likewise.
355 * sunrpc/svc_unix.c: Likewise.
356 * sunrpc/svcauth_des.c: Likewise.
357 * sunrpc/xcrypt.c: Likewise.
358 * sunrpc/xdr.c: Likewise.
359 * sunrpc/xdr_array.c: Likewise.
360 * sunrpc/xdr_float.c: Likewise.
361 * sunrpc/xdr_intXX_t.c: Likewise.
362 * sunrpc/xdr_mem.c: Likewise.
363 * sunrpc/xdr_rec.c: Likewise.
364 * sunrpc/xdr_ref.c: Likewise.
365 * sunrpc/xdr_sizeof.c: Likewise.
366 * sunrpc/xdr_stdio.c: Likewise.
367
b5c086a2
RM
3682012-05-10 Roland McGrath <roland@hack.frob.com>
369
370 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
371 change. Update copyright years.
372
6d74dd09
JM
3732012-05-10 Joseph Myers <joseph@codesourcery.com>
374
375 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
376
28e72501
MK
3772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
378 Joseph Myers <joseph@codesourcery.com>
379 Paul Pluzhnikov <ppluzhnikov@google.com>
380
381 [BZ #14012]
382 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
383 requiring rpcgen.
384 [cross-compiling] (extra-libs): Likewise.
385 [cross-compiling] (extra-libs-others): Likewise.
386 [cross-compiling] (librpcsvc-routines): Likewise.
387 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
388 [cross-compiling] (omit-deps): Likewise.
389 (sunrpc-CPPFLAGS): New variable.
390 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
391 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
392 (cross-rpcgen-objs): New variable.
393 (extra-objs): Append $(cross-rpcgen-objs).
394 ($(cross-rpcgen-objs)): New rule.
395 ($(objpfx)cross-rpcgen): Likewise.
396 (rpcgen-cmd): Define to use $(built-program-file). Expand
397 comment.
398 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
399 ($(objpfx)x%.stmp): Likewise.
400 * sunrpc/proto.h [IS_IN_build] (_): Define.
401 [IS_IN_build] (_libc_intl_domainname): Likewise.
402
c8c59454
L
4032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
404
405 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
406 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
407 and R_X86_64_TPOFF64.
408
6f27cd16
JM
4092012-05-10 Joseph Myers <joseph@codesourcery.com>
410
411 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
412 sysdeps/unix/sysv/syscalls.list.
413 (stime): Likewise.
414 (utime): Likewise.
415 * sysdeps/unix/sysv/syscalls.list: Remove file.
416
02467e1c
PE
4172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
418
419 [BZ #3440]
420 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
421 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
422 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
423 (__LC_IDENTIFICATION): Make these macros useful in #if
424 expressions, as required by C99.
425
da392631
AS
4262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
427
428 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
429 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
430 after this.
431
8115f29b
L
4322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
433
434 * stdlib/longlong.h: Updated from GCC.
435
bdd74070
AJ
4362012-05-09 Andreas Jaeger <aj@suse.de>
437
edfe0dbe
AJ
438 * nscd/nscd.c (run_modes): Make named enum, reorder so that
439 default is first entry.
440 (run_mode): Set type.
441 (main): Remove informal message about syslog.
442 (options): Fix typo.
443
bcfe3a54
ST
444 [BZ #14053]
445 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 446 to asm.
bcfe3a54
ST
447 (lrint): Likewise.
448 (llrintf): Likewise.
449 (llrint): Likewise.
450 (rint): Likewise.
451 (rintf): Likewise.
452 (nearbyint): Likewise.
453 (nearbyintf): Likewise.
bdd74070 454
91d8d69e
AJ
4552012-05-09 Andreas Jaeger <aj@suse.de>
456 Pedro Alves <palves@redhat.com>
457
458 * nscd/nscd.c (run_mode): Use enum.
459 (main): Cleanup coding style issue.
460
bb90b80b
AJ
4612012-05-09 Alexandre Oliva <aoliva@redhat.com>
462 Andreas Jaeger <aj@suse.de>
463
bcfe3a54
ST
464 * nscd/nscd.c (go_background): Replaced with...
465 (run_mode): ... this.
bb90b80b 466 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
467 (options): Add -F --foreground.
468 (main): Implement it.
469 (parse_opt): Parse it.
bb90b80b 470
1a4b75a1
AJ
4712012-05-09 Andreas Jaeger <aj@suse.de>
472
473 [BZ #14083]
474 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
475 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
476 -Wconversion warning.
477 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
478 Likewise.
479
b1cc2472
JM
4802012-05-09 Joseph Myers <joseph@codesourcery.com>
481
482 * conform/data/locale.h-data (NULL): Use macro-constant. Require
483 == 0.
484 (LC_ALL): Use macro-int-constant.
485 (LC_COLLATE): Likewise.
486 (LC_CTYPE): Likewise.
487 (LC_MESSAGES): Likewise.
488 (LC_MONETARY): Likewise.
489 (LC_NUMERIC): Likewise.
490 (LC_TIME): Likewise.
491 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
492 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
493 [ISO || ISO99 || ISO11] (*_t): Do not allow.
494 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
495 Specify type.
496 [C99-based standards] (float_t): Expect type.
497 [C99-based standards] (double_t): Expect type.
498 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
499 type.
500 [C99-based standards] (HUGE_VALL): Likewise.
501 [C99-based standards] (INFINITY): Likewise.
502 [C99-based standards] (NAN): Likewise.
503 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
504 [C99-based standards] (FP_NAN): Likewise.
505 [C99-based standards] (FP_NORMAL): Likewise.
506 [C99-based standards] (FP_SUBNORMAL): Likewise.
507 [C99-based standards] (FP_ZERO): Likewise.
508 [C99-based standards] (FP_FAST_FMA): Use
509 optional-macro-int-constant. Specify type. Require == 1.
510 [C99-based standards] (FP_FAST_FMAF): Likewise.
511 [C99-based standards] (FP_FAST_FMAL): Likewise.
512 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
513 [C99-based standards] (FP_ILOGBNAN): Likewise.
514 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
515 Specify type.
516 [C99-based standards] (MATH_ERREXCEPT): Likewise.
517 [C99-based standards] (math_errhandling): Specify type.
518 [ISO99 || ISO11] (signgam): Do not allow.
519 [non-C99-based standards] (copysignf): Do not allow.
520 [non-C99-based standards] (exp2f): Likewise.
521 [non-C99-based standards] (log2f): Likewise.
522 [non-C99-based standards] (modff): Allow.
523 [non-C99-based standards] (erff): Do not allow.
524 [non-C99-based standards] (erfcf): Likewise.
525 [non-C99-based standards] (gammaf): Likewise.
526 [non-C99-based standards] (hypotf): Likewise.
527 [non-C99-based standards] (j0f): Likewise.
528 [non-C99-based standards] (j1f): Likewise.
529 [non-C99-based standards] (jnf): Likewise.
530 [non-C99-based standards] (lgammaf): Likewise.
531 [non-C99-based standards] (tgammaf): Likewise.
532 [non-C99-based standards] (y0f): Likewise.
533 [non-C99-based standards] (y1f): Likewise.
534 [non-C99-based standards] (ynf): Likewise.
535 [non-C99-based standards] (isnanf): Likewise.
536 [non-C99-based standards] (acoshf): Likewise.
537 [non-C99-based standards] (asinhf): Likewise.
538 [non-C99-based standards] (atanhf): Likewise.
539 [non-C99-based standards] (cbrtf): Likewise.
540 [non-C99-based standards] (expm1f): Likewise.
541 [non-C99-based standards] (ilogbf): Likewise.
542 [non-C99-based standards] (log1pf): Likewise.
543 [non-C99-based standards] (logbf): Likewise.
544 [non-C99-based standards] (nextafterf): Likewise.
545 [non-C99-based standards] (remainderf): Likewise.
546 [non-C99-based standards] (rintf): Likewise.
547 [non-C99-based standards] (scalbf): Likewise.
548 [non-C99-based standards] (copysignl): Likewise.
549 [non-C99-based standards] (exp2l): Likewise.
550 [non-C99-based standards] (log2l): Likewise.
551 [non-C99-based standards] (modfl): Allow.
552 [non-C99-based standards] (erfl): Do not allow.
553 [non-C99-based standards] (erfcl): Likewise.
554 [non-C99-based standards] (gammal): Likewise.
555 [non-C99-based standards] (hypotl): Likewise.
556 [non-C99-based standards] (j0l): Likewise.
557 [non-C99-based standards] (j1l): Likewise.
558 [non-C99-based standards] (jnl): Likewise.
559 [non-C99-based standards] (lgammal): Likewise.
560 [non-C99-based standards] (tgammal): Likewise.
561 [non-C99-based standards] (y0l): Likewise.
562 [non-C99-based standards] (y1l): Likewise.
563 [non-C99-based standards] (ynl): Likewise.
564 [non-C99-based standards] (isnanl): Likewise.
565 [non-C99-based standards] (acoshl): Likewise.
566 [non-C99-based standards] (asinhl): Likewise.
567 [non-C99-based standards] (atanhl): Likewise.
568 [non-C99-based standards] (cbrtl): Likewise.
569 [non-C99-based standards] (expm1l): Likewise.
570 [non-C99-based standards] (ilogbl): Likewise.
571 [non-C99-based standards] (log1pl): Likewise.
572 [non-C99-based standards] (logbl): Likewise.
573 [non-C99-based standards] (nextafterl): Likewise.
574 [non-C99-based standards] (remainderl): Likewise.
575 [non-C99-based standards] (rintl): Likewise.
576 [non-C99-based standards] (scalbl): Likewise.
577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
578 [non-C99-based standards] (FP_*): Do not allow.
579 [C99-based standards] (FP_*): Change to
580 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
581 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
582 allow.
583 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
584 (SIG_ERR): Likewise.
585 [X/Open-based standards] (SIG_HOLD): Likewise.
586 (SIG_IGN): Likewise.
587 (SIGABRT): Use macro-int-constant. Specify type. Require
588 positive value.
589 (SIGFPE): Likewise.
590 (SIGILL): Likewise.
591 (SIGINT): Likewise.
592 (SIGSEGV): Likewise.
593 (SIGTER): Likewise.
594 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
595 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
596 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
597 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
598 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
599 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
600 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
601 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
602 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
603 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
604 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
605 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
606 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
607 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
608 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
609 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
610 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
611 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
612 [X/Open-based standards] (SIGTRAP): Likewise.
613 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
614 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
615 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
616 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
617 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
618 allow.
619
b9f1922d
IW
6202012-05-08 Ian Wienand <ianw@vmware.com>
621
622 [BZ #14080]
623 * time/tzset.c (__tzset_parse_tz): Update default rules for
624 daylight time changes in the Energy Policy Act of 2005.
625
1db86e88
AJ
6262012-05-09 Andreas Jaeger <aj@suse.de>
627
628 [BZ #13983]
629 * elf/ldconfig.c (parse_conf): Change string to make clear that
630 ldconfig only issued a warning if ld.so.conf does not exist.
631
dee4a4e3
DM
6322012-05-08 David S. Miller <davem@davemloft.net>
633
ee0db190
DM
634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
635 movxtod instead of popping the value on the stack.
636
dee4a4e3
DM
637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
638
6a43ec98
CD
6392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
640
641 * config.h.in: Add HAVE_ARM_PCS_VFP.
642
05c2c961
RMG
6432012-05-08 Roland Mc Grath <roland@hack.frob.com>
644
bcfe3a54
ST
645 [BZ #13979]
646 * include/features.h: Warn if user requests __FORTIFY_SOURCE
647 checking but the checks are disabled for any reason.
05c2c961 648
4b30f61a
L
6492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
650
651 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
652 and ELF64_R_TYPE with ELFW(R_TYPE).
653
eee2bc67
JM
6542012-05-08 Joseph Myers <joseph@codesourcery.com>
655
7ea5391a
JM
656 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
657 (ulimit): Likewise.
658
eee2bc67
JM
659 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
660 (settimeofday): Likewise.
661
abb66a67
MF
6622012-05-08 Mike Frysinger <vapier@gentoo.org>
663
664 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
665 a struct th_u2 inside the union, and move tu_block/tu_code into
666 a new th_u3 union of tu_block/tu_code inside of that. Move
667 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
668 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
669 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
670 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
671 (th_stuff): Change to th_u1.tu_stuff.
672 (th_data): Define.
673 (th_msg): Change to th_u1.th_u2.tu_data.
674
7f18b530
DM
6752012-05-07 David S. Miller <davem@davemloft.net>
676
05760585
DM
677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
678
7f18b530
DM
679 [BZ #14074]
680 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
681 (SETUP_PIC_REG): Use it.
682 (SETUP_PIC_REG_LEAF): Use it.
683
495fd99f
JM
6842012-05-07 Joseph Myers <joseph@codesourcery.com>
685
686 [BZ #13885]
687 [BZ #13923]
688 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
689 USE_AS_EXPM1L.
690 (EXPL_FINITE): Likewise.
691 (FLDLOG): Likewise.
692 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
693 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
694 e_expl.S.
695 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
696 USE_AS_EXPM1L.
697 (EXPL_FINITE): Likewise.
698 (FLDLOG): Likewise.
699 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
700 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
701 e_expl.S.
702 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
703 test of -max_value argument for long double.
704 * sysdeps/i386/fpu/libm-test-ulps: Update.
705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
706
6693d694
DM
7072012-05-06 David S. Miller <davem@davemloft.net>
708
709 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
710 quad soft-float symbols whose references which are compiler
711 generated.
712 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
713
6c23e11c
JM
7142012-05-06 Joseph Myers <joseph@codesourcery.com>
715
d8b82cad
JM
716 [BZ #13884]
717 [BZ #13914]
718 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
719 USE_AS_EXP10L.
720 (EXPL_FINITE): Likewise.
721 (FLDLOG): Likewise.
722 (c0): Likewise.
723 (c1): Likewise.
724 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
725 Adjust comments for base varying.
726 (__expl_finite): Change alias to EXPL_FINITE.
727 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
728 e_expl.S.
729 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
730 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
731 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
732 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
733 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
734 USE_AS_EXP10L.
735 (EXPL_FINITE): Likewise.
736 (FLDLOG): Likewise.
737 (c0): Likewise.
738 (c1): Likewise.
739 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
740 Adjust comments for base varying.
741 (__expl_finite): Change alias to EXPL_FINITE.
742 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
743 tests for bugs.
744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
745
6c23e11c
JM
746 [BZ #14064]
747 * math/libm-test.inc (check_float_internal): Correct ulp
748 calculation for subnormal expected results.
749
29ba805c
AJ
7502012-05-06 Andreas Jaeger <aj@suse.de>
751
752 * Makeconfig (+math-flags): New, set to -frounding-math.
753 (+cflags): Add +math-flags so that all of glibc gets compiled with
754 it.
755
756 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
757
7b17aeda
JM
7582012-05-05 Joseph Myers <joseph@codesourcery.com>
759
5779f134
JM
760 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
761 Disable one test.
762
41498f4d
JM
763 [BZ #13787]
764 [BZ #13922]
765 [BZ #14036]
766 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
767 (__ieee754_expl): Allow for and saturate large arguments.
768 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
769 (u_threshold): Likewise.
770 (__exp): Call __ieee754_exp before checking for overflow and
771 underflow.
772 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
773 (u_threshold): Likewise.
774 (__expf): Call __ieee754_expf before checking for overflow and
775 underflow.
776 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
777 (u_threshold): Likewise.
778 (__expl): Call __ieee754_expl before checking for overflow and
779 underflow.
780 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
781 (__ieee754_expl): Allow for and saturate large arguments.
782 * math/libm-test.inc (exp_test): Add another test. Do not allow
783 missing overflow exception on overflow.
784 (expm1_test): Do not allow missing overflow exception on overflow.
785
6698b8bf
JM
786 * sysdeps/i386/fpu/e_expl.c: Move to ...
787 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
788 rather than using inline asm.
789 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
790 * sysdeps/x86_64/fpu/e_expl.S: Copy from
791 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
792
7b17aeda
JM
793 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
794 (nice): Likewise.
795 (poll): Likewise.
796 (signal): Likewise.
797 (time): Likewise.
798 (times): Likewise.
799
f7c85819
JM
8002012-05-04 Joseph Myers <joseph@codesourcery.com>
801
802 * sysdeps/unix/syscalls.list (adjtime): Add entry from
803 sysdeps/unix/common/syscalls.list.
804 (fchmod): Likewise.
805 (fchown): Likewise.
806 (ftruncate): Likewise.
807 (getrusage): Likewise.
808 (gettimeofday): Likewise.
809 (setpgid): Likewise.
810 (setregid): Likewise.
811 (setreuid): Likewise.
812 (sigaction): Likewise.
813 (truncate): Likewise.
814 (vhangup): Likewise.
815 * sysdeps/unix/common/syscalls.list: Remove file.
816 * sysdeps/unix/bsd/Implies: Don't include unix/common.
817 * sysdeps/unix/sysv/linux/Implies: Likewise.
818
336270d0
L
8192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
820
821 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
823 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
824 Moved to ...
825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
826 Here.
827 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
828 to ...
829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
830 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
831 to ...
832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
833 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
834 to ...
835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
836 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
837 to ...
838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
839 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
840 to ...
841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
842 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
843 to ...
844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
845 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
846 to ...
847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
848 Here.
849 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
850 to ...
851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
852 Here.
853 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
854 to ...
855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
856 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
857 Moved to ...
858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
859 Here.
860 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
861 to ...
862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
863
d128e450
JM
8642012-05-04 Joseph Myers <joseph@codesourcery.com>
865
fa8ee516
JM
866 * sysdeps/unix/common/bits/dirent.h: Remove file.
867 * sysdeps/unix/common/bits/fcntl.h: Likewise.
868
d128e450
JM
869 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
870 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
871 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
872 * sysdeps/unix/bsd/isatty.c: Likewise.
873 * sysdeps/unix/bsd/tcdrain.c: Likewise.
874 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
875 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
876
ff8faaf0 8772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 878
62881be4 879 [BZ #13563]
31dc8730
AZ
880 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
881 long double comparison inaccuracies.
882 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
884
6fef930c
AS
8852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
886
887 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
888 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
889
8f203e6c
JM
8902012-05-04 Joseph Myers <joseph@codesourcery.com>
891
892 [BZ #14049]
893 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
894 nonzero digits before rounding a hex value.
895 * stdlib/tst-strtod.c (tests): Add another test.
896
5197d9c2
AK
8972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
898
899 * sysdeps/s390/fpu/libm-test-ulps: Update.
900
f0c1dedf
AJ
9012012-05-03 Andreas Jaeger <aj@suse.de>
902
903 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
904 does not get optimized out.
905 (malloc_opt_barrier): New.
906
a65ef2ae 9072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 908 Roland McGrath <roland@hack.frob.com>
a65ef2ae 909
2b942cb7 910 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 911 intermediate file deletion.
2b942cb7 912 (generated): Add .symlist files.
a65ef2ae 913
54b71e02
JM
9142012-05-03 Joseph Myers <joseph@codesourcery.com>
915
916 [BZ #13775]
917 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
918 Redirect under this condition.
919 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
920 [__USE_GNU] (__dprintf_chk): Not under this condition.
921 [__USE_GNU] (__vdprintf_chk): Likewise.
922 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
923 under this condition.
924 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
925 [__USE_XOPEN2K8] (dprintf): Define under this condition.
926 [__USE_XOPEN2K8] (vdprintf): Likewise.
927 [__USE_GNU] (__dprintf_chk): Not under this condition.
928 [__USE_GNU] (__vdprintf_chk): Likewise.
929 [__USE_GNU] (dprintf): Likewise.
930 [__USE_GNU] (vdprintf): Likewise.
931
d3dfcc41
RM
9322012-05-03 Roland McGrath <roland@hack.frob.com>
933
934 * elf/Makefile (common-generated): Set this instead of generated for
935 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
936 $(all-built-dso)-derived lists.
937
7ac30cc5
AJ
9382012-05-03 Andreas Jaeger <aj@suse.de>
939
0c51e550
AJ
940 * sysdeps/i386/fpu/libm-test-ulps: Update.
941
7ac30cc5
AJ
942 * FAQ: Removed.
943 * FAQ.in: Likewise.
944 * scripts/gen-FAQ.pl: Likewise.
945 * manual/install.texi (Installation): Point to online location of
946 FAQ.
947 * Makefile (files-for-dist): Remove FAQ.
948 (FAQ): Remove.
949
d4c2917f
AM
9502012-05-02 Allan McRae <allan@archlinux.org>
951
952 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
953 (LDFLAGS-reldepmod5.so): Likewise.
954 (LDFLAGS-reldep6mod1.so): Likewise.
955 (LDFLAGS-reldep6mod4.so): Likewise.
956 (LDFLAGS-reldep8mod3.so): Likewise.
957 (LDFLAGS-unload4mod1.so): Likewise.
958 (LDFLAGS-unload4mod2.so): Likewise.
959 (LDFLAGS-tst-initorder): Likewise.
960 (LDFLAGS-tst-initordera2.so): Likewise.
961 (LDFLAGS-tst-initordera3.so): Likewise.
962 (LDFLAGS-tst-initordera4.so): Likewise.
963 (LDFLAGS-tst-initorderb2.so): Likewise.
964 (LDFLAGS-noload): Likewise.
965 (LDFLAGS-next): Likewise.
966 (LDFLAGS-order2mod1.so): Likewise.
967 (LDFLAGS-order2mod2.so): Likewise.
968 (LDFLAGS-tst-initorder2): Likewise.
969 (LDFLAGS-tst-initorder2a.so): Likewise.
970 (LDFLAGS-tst-initorder2b.so): Likewise.
971 (LDFLAGS-tst-initorder2c.so): Likewise.
972 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
973
d77f993f
DM
9742012-05-02 David S. Miller <davem@davemloft.net>
975
976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
977
171a70b4
PP
9782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
979
980 [BZ #14055]
981 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
982
0be196ad
AJ
9832012-05-02 Andreas Jaeger <aj@suse.de>
984
985 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
986 since we manipulate rounding mode.
987 (CPPFLAGS-test-idouble.c): Likewise.
988 (CPPFLAGS-test-ifloat.c): Likewise.
989 (CFLAGS-test-ldouble.c): Likewise.
990 (CFLAGS-test-double.c): Likewise.
991 (CFLAGS-test-float.c): Likewise.
992 (CFLAGS-test-misc.c): Likewise.
993 (CFLAGS-test-test-fenv.c): Likewise.
994
4f9d04aa
AZ
9952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
996
2b942cb7
RM
997 [BZ #2550]
998 [BZ #2570]
999 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1000 comparisons to determine direction to adjust input.
4f9d04aa 1001
82a79e7d
RM
10022012-05-01 Roland McGrath <roland@hack.frob.com>
1003
f5a01ca9
RM
1004 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1005 output to the target.
1006
90fe4186
RM
1007 * scripts/localplt.awk: New file.
1008 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1009 (check-localplt-CFLAGS): Variable removed.
1010 ($(all-built-dso:=.jmprel)): New static pattern rule.
1011 (generated): Add those targets.
1012 (localplt-built-dso): New variable.
1013 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1014
1015 * elf/check-localplt.c: File removed.
1016
82397ed6
RM
1017 * scripts/check-execstack.awk: New file.
1018 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1019 (check-execstack-CFLAGS): Variable removed.
1020 ($(objpfx)check-execstack.h): Target removed.
1021 ($(objpfx)execstack-default): New target.
1022 (generated): Add that instead of check-execstack.h.
1023 ($(all-built-dso:=.phdr)): New static pattern rule.
1024 (generated): Add those targets.
1025 * elf/check-execstack.c: File removed.
1026
82a79e7d
RM
1027 * scripts/check-textrel.awk: New file.
1028 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1029 (check-textrel-CFLAGS): Variable removed.
1030 (all-built-dso): Use := to define.o
1031 ($(all-built-dso:=.dyn)): New static pattern rule.
1032 (generated): Add those targets.
1033 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1034 * config.make.in (READELF): New substituted variable.
1035 * elf/check-textrel.c: File removed.
1036
62fde54f 10372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1038
615605c9
JM
1039 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1040 allow.
1041 * conform/data/ctype.h-data [C99-based standards] (isblank):
1042 Expect function.
1043 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1044 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1045 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1046 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1047 Specify type. Require positive value.
1048 (EILSEQ): Likewise.
1049 (ERANGE): Likewise.
1050 [ISO || POSIX] (EILSEQ): Do not expect.
1051 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1052 Specify type. Require positive value.
1053 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1054 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1055 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1056 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1057 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1058 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1059 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1060 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1061 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1062 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1063 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1064 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1065 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1066 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1067 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1068 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1069 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1070 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1071 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1072 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1073 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1074 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1075 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1076 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1077 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1078 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1079 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1080 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1081 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1082 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1083 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1084 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1085 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1086 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1087 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1088 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1089 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1090 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1091 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1092 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1093 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1094 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1095 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1096 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1097 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1098 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1099 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1100 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1101 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1102 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1103 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1104 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1105 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1106 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1108 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1109 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1110 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1111 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1112 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1113 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1114 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1115 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1116 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1117 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1118 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1119 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1120 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1121 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1122 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1123 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1124 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1125 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1126 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1127 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1128 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1129 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1130 Require >= 2.
1131 (FLT_ROUNDS): Expect as macro, not constant.
1132 (FLT_MANT_DIG): Use macro-int-constant.
1133 (DBL_MANT_DIG): Likewise.
1134 (LDBL_MANT_DIG): Likewise.
1135 (FLT_DIG): Likewise.
1136 (DBL_DIG): Likewise.
1137 (LDBL_DIG): Likewise.
1138 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1139 (DBL_MIN_EXP): Likewise.
1140 (LDBL_MIN_EXP): Likewise.
1141 (FLT_MAX_EXP): Use macro-int-constant.
1142 (DBL_MAX_EXP): Likewise.
1143 (LDBL_MAX_EXP): Likewise.
1144 (FLT_MAX_10_EXP): Likewise.
1145 (DBL_MAX_10_EXP): Likewise.
1146 (LDBL_MAX_10_EXP): Likewise.
1147 (FLT_MAX): Use macro-constant.
1148 (DBL_MAX): Likewise.
1149 (LDBL_MAX): Likewise.
1150 (FLT_EPSILON): Use macro-constant. Give upper bound.
1151 (DBL_EPSILON): Likewise.
1152 (LDBL_EPSILON): Likewise.
1153 (FLT_MIN): Likewise.
1154 (DBL_MIN): Likewise.
1155 (LDBL_MIN): Likewise.
1156 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1157 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1158 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1159 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1160 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1161 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1162 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1163 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1164 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1165 [ISO11] (FLT_TRUE_MIN): Likewise.
1166 [ISO11] (LDBL_TRUE_MIN): Likewise.
1167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1168 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1169 (SCHAR_MIN): Use macro-int-constant. Specify type.
1170 (SCHAR_MAX): Likewise.
1171 (UCHAR_MAX): Likewise.
1172 (CHAR_MIN): Likewise.
1173 (CHAR_MAX): Likewise.
1174 (MB_LEN_MAX): Use macro-int-constant.
1175 (SHRT_MIN): Use macro-int-constant. Specify type.
1176 (SHRT_MAX): Likewise.
1177 (USHRT_MAX): Likewise.
1178 (INT_MAX): Likewise.
1179 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1180 bound negative.
1181 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1182 bound with "U".
1183 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1184 bound with "L".
1185 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1186 bound negative. Suffix upper bound with "L".
1187 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1188 bound with "UL".
1189 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1190 Specify type.
1191 [C99-based standards] (LLONG_MAX): Likewise.
1192 [C99-based standards] (ULLONG_MAX): Likewise.
1193 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1194 == 0.
1195 [ISO11] (max_align_t): Require type.
1196 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1197
c9140a62
JM
1198 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1199 from $CFLAGS, without defining away __attribute__ calls.
1200 (checknamespace): Use $CFLAGS_namespace.
1201
9af0bf29
JM
1202 * conform/conformtest.pl (@keywords): Only include C99 keywords
1203 for standards based on C99 or C11.
1204
343222a2
JM
1205 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1206 Disable tests.
1207 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1208 UNIX98]: Likewise.
1209
661f8cf0
JM
1210 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1211 usability of symbols in #if.
1212
ee74b9cb
JM
1213 * conform/conformtest.pl: If macro or constant types start
1214 "promoted:", expect the symbol to be of the following type
1215 promoted by the integer promotions.
62fde54f 1216
aafc49b3
JM
1217 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1218 in one place. Also handle "macro-constant".
1219
fefdf574
JM
1220 * conform/conformtest.pl: Only accept expected macro values with
1221 "==". Parse all "macro" lines in one place.
1222 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1223
f2d922fe
JM
1224 * conform/conformtest.pl: Handle braced types on "constant" lines
1225 instead of handling "typed-constant".
1226 * conform/data/signal.h-data: Use "constant" instead of
1227 "typed-constant".
1228
d22956c9
JM
1229 * conform/conformtest.pl: Handle "optional-" at start of lines in
1230 one place rather than duplicating several cases. Handle each
1231 format of "macro" line with initial "optional-".
1232
028e2e38
JM
1233 * conform/conformtest.pl: Only accept expected constant or
1234 optional-constant values with "==". Parse all "constant" lines in
1235 one place. Parse all "optional-constant" lines in one place.
1236 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1237 * conform/data/fmtmsg.h-data: Likewise.
1238 * conform/data/netinet/in.h-data: Likewise.
1239 * conform/data/tar.h-data: Likewise.
1240 * conform/data/limits.h-data: Use "==" form on "constant" and
1241 "optional-constant" lines.
1242
1b8f2850
JM
1243 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1244 Use -std=c99 for XOPEN2K.
1245 (@knownproblems): Remove.
1246 (newtoken): Don't check %isknown.
1247
a05a144b
JM
1248 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1249 Do not expect macro.
1250 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1251 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1252 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1253 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1254 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1255 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1256 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1257 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1259 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1260 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1261 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1262 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1263 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1267 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1268 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1269 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1270 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1271 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1272 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1273 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1274 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1275 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1276 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1277 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1278 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1279 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1280 [XPG3] (acosh): Likewise.
1281 [XPG3] (asinh): Likewise.
1282 [XPG3] (atanh): Likewise.
1283 [XPG3] (cbrt): Likewise.
1284 [XPG3] (expm1): Likewise.
1285 [XPG3] (ilogb): Likewise.
1286 [XPG3] (log1p): Likewise.
1287 [XPG3] (logb): Likewise.
1288 [XPG3] (nextafter): Likewise.
1289 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1290 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1291 [XPG3] (remainder): Likewise.
1292 [XPG3] (rint): Likewise.
1293 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1294 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1295 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1299 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1300 [UNIX98 || XOPEN2K] (scalb): Expect.
1301 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1302 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1308 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1311 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1312 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1313 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1314 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1315 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1329 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1330 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1331 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1332 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1336 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1349 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1350 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1351 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1353 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1354 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1355 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1359 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1364 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1365 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1366 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1367 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1368 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1370 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1371 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1372 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1373 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1374 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1375 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1376 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1378 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1379 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1380 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1381 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1382 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1383 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1384 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1385 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1386 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1387 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1388 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1389 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1390 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1391 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1392 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1393 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1394 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1395 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1396 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1397 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1398 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1399 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1400 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1401 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1402 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1403 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1404 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1405 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1406 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1407 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1408 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1409 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1410 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1411 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1412 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1413 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1414 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1415 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1416 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1417 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1418 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1419 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1420 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1421 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1422 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1423 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1424 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1425 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1426 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1427 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1428 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1429 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1430 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1431 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1432 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1433 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1434 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1435 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1436 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1437 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1438
73c5ebe3
JM
1439 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1440 _XOPEN_SOURCE_EXTENDED for XPG4.
1441
39c33b6c
JM
1442 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1443
62fde54f
JM
1444 * Makeconfig (localtime): Remove variable.
1445 (inst_localtime-file): Likewise.
1446
0741d64c
AS
14472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1448
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1450 Update.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1452 Update.
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1454 Update.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1456 Update.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1458 Update.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1460 Update.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1462 Update.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1464 Update.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1466 Update.
1467
7cb029ee
JM
14682012-05-01 Joseph Myers <joseph@codesourcery.com>
1469
1470 [BZ #2550]
1471 [BZ #2570]
1472 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1473 comparisons to determine direction to adjust input.
1474 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1475 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1476 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1477 Likewise.
1478 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1479 Likewise.
1480 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1481 Likewise.
1482 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1483 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1484 Likewise.
1485 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1486 Likewise.
1487 * math/libm-test.inc (nexttoward_test): Add more tests.
1488
412bd966
AS
14892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1490
1491 [BZ #14040]
1492 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1493 in version GLIBC_2.1, not GLIBC_2.0.
1494 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1495 Likewise.
1496
9568c0c2
JM
14972012-04-30 Joseph Myers <joseph@codesourcery.com>
1498
adfbc8ac
JM
1499 [BZ #13942]
1500 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1501 (1 - x) * (1 + x).
1502 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1503 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1504 * math/libm-test.inc (acos_test): Add more tests.
1505 (asin_test): Likewise.
1506 * sysdeps/i386/fpu/libm-test-ulps: Update.
1507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1508
5ba3cc69
JM
1509 [BZ #14034]
1510 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1511 of square root.
1512 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1513 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1514 * math/libm-test.inc (acos_test_tonearest): New function.
1515 (acos_test_towardzero): Likewise.
1516 (acos_test_downward): Likewise.
1517 (acos_test_upward): Likewise.
1518 (asin_test_tonearest): Likewise.
1519 (asin_test_towardzero): Likewise.
1520 (asin_test_downward): Likewise.
1521 (asin_test_upward): Likewise.
1522 (main): Call the new functions.
1523 * sysdeps/i386/fpu/libm-test-ulps: Update.
1524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1525
9568c0c2
JM
1526 [BZ #13884]
1527 [BZ #13924]
1528 * math/e_exp10.c: Include <float.h>.
1529 (__ieee754_exp10): Handle underflow here rather than multiplying
1530 large negative argument by M_LN10.
1531 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1532 of __ieee754_expf.
1533 * math/e_exp10l.c: Include <float.h>.
1534 (__ieee754_exp10l): Handle underflow here rather than multiplying
1535 large negative argument by M_LN10l.
1536 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1537 spurious overflow exception on underflow.
1538
5ac3ea17
MP
15392012-04-29 Marek Polacek <polacek@redhat.com>
1540
1541 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1542 (__fortify_function): New macro.
1543 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1544 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1545 __extern_always_inline.
1546 * libio/bits/stdio2.h: Likewise.
1547 * libio/bits/stdio.h: Likewise.
1548 * string/string.h: Likewise.
1549 * string/bits/string3.h: Likewise.
1550 * include/stdio.h: Likewise.
1551 * stdlib/bits/stdlib.h: Likewise.
1552 * stdlib/stdlib.h: Likewise.
1553 * rt/bits/mqueue2.h: Likewise.
1554 * rt/mqueue.h: Likewise.
1555 * posix/bits/unistd.h: Likewise.
1556 * posix/unistd.h: Likewise.
1557 * io/bits/poll2.h: Likewise.
1558 * io/bits/fcntl2.h: Likewise.
1559 * io/fcntl.h: Likewise.
1560 * io/sys/poll.h: Likewise.
1561 * misc/bits/syslog.h: Likewise.
1562 * misc/bits/syslog-ldbl.h: Likewise.
1563 * misc/sys/syslog.h: Likewise.
1564 * socket/bits/socket2.h: Likewise.
1565 * socket/sys/socket.h: Likewise.
1566 * debug/tst-chk1.c: Likewise.
1567 * wcsmbs/bits/wchar2.h: Likewise.
1568 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1569 * wcsmbs/wchar.h: Likewise.
1570
ecf0ebfb
AJ
15712012-04-29 Andreas Jaeger <aj@suse.de>
1572
1573 * Makerules (tests): Remove enable-check-abi protection.
1574 (check-abi-warn): Remove.
1575 (check-abi-%): Remove check-abi-warn usage.
1576
1577 * configure.in: Remove check-abi configure option.
1578 * configure: Regenerated.
1579 * config.make.in (enable-check-abi): Remove.
1580
6d5c57fa
AS
15812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1582
24c5d07e 1583 [BZ #14033]
ded5180a
AS
1584 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1585 double functions to double *_finite functions.
1586
7e0d315d
AS
1587 [BZ #13941]
1588 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1589 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1590 LDBL_MIN_EXP.
1591 * stdio-common/Makefile (tests): Add tst-sprintf3.
1592 * stdio-common/tst-sprintf3.c: New file.
1593
6d5c57fa
AS
1594 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1595 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1596
0749ff8b
JM
15972012-04-28 Joseph Myers <joseph@codesourcery.com>
1598
1599 * conform/conformtest.pl: Remove duplicate typed-constant
1600 handling.
1601
8dbd5d7b
DM
16022012-04-28 David S. Miller <davem@davemloft.net>
1603
1604 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1605 (check-abi-%): Remove AWK script prerequisite and explicit
1606 abilist directory.
1607 (check-abi): Rewrite to just diff the symlist with the abilist.
1608 (config-tls, config-abi-config): Delete, no longer used.
1609 (update-abi-%): Remove AWK script and explicit abilist directory.
1610 (update-abi): Rewrite to simply compare and conditionally copy the
1611 symlist and the sysdep abilist file. Remove update-abi-config
1612 checks.
1613 * abilist/ld.abilist: Remove.
1614 * abilist/libBrokenLocale.abilist: Remove.
1615 * abilist/libanl.abilist: Remove.
1616 * abilist/libcrypt.abilist: Remove.
1617 * abilist/libdl.abilist: Remove.
1618 * abilist/librt.abilist: Remove.
1619 * abilist/libthread_db.abilist: Remove.
1620 * abilist/libutil.abilist: Remove.
1621 * scripts/extract-abilist.awk: Remove.
1622 * scripts/merge-abilist.awk: Remove.
1623 * sysdeps/generic/libcidn.abilist: New file.
1624 * sysdeps/generic/libnss_compat.abilist: New file.
1625 * sysdeps/generic/libnss_db.abilist: New file.
1626 * sysdeps/generic/libnss_dns.abilist: New file.
1627 * sysdeps/generic/libnss_files.abilist: New file.
1628 * sysdeps/generic/libnss_hesiod.abilist: New file.
1629 * sysdeps/generic/libnss_nis.abilist: New file.
1630 * sysdeps/generic/libnss_nisplus.abilist: New file.
1631 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1632 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1633 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1634 file.
1635 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1636 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1637 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1638 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1639 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1640 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1641 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1642 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1643 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1644 file.
1645 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1646 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1647 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1648 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1649 file.
1650 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1651 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1652 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1653 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1654 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1655 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1656 file.
1657 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1658 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1659 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1660 file.
1661 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1663 New file.
1664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1665 New file.
1666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1667 New file.
1668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1669 New file.
1670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1671 New file.
1672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1673 New file.
1674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1675 New file.
1676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1677 New file.
1678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1679 New file.
1680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1681 New file.
1682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1683 New file.
1684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1685 New file.
1686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1687 New file.
1688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1689 file.
1690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1691 New file.
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1693 New file.
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1695 file.
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1697 New file.
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1699 New file.
1700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1701 file.
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1703 New file.
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1705 New file.
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1707 New file.
1708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1709 New file.
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1711 New file.
1712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1713 New file.
1714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1716 file.
1717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1718 New file.
1719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1720 file.
1721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1722 file.
1723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1724 file.
1725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1726 file.
1727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1728 file.
1729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1730 New file.
1731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1732 file.
1733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1734 file.
1735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1736 New file.
1737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1738 file.
1739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1741 file.
1742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1743 New file.
1744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1745 file.
1746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1747 file.
1748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1749 file.
1750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1751 file.
1752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1753 file.
1754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1755 New file.
1756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1757 file.
1758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1759 file.
1760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1761 New file.
1762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1763 file.
1764 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1765 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1766 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1767 file.
1768 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1769 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1770 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1771 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1772 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1773 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1774 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1775 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1776 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1777 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1780 file.
1781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1782 New file.
1783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1784 file.
1785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1786 file.
1787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1788 file.
1789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1790 file.
1791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1792 file.
1793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1794 New file.
1795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1796 New file.
1797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1798 file.
1799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1800 New file.
1801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1802 file.
1803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1805 file.
1806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1807 New file.
1808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1809 file.
1810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1811 file.
1812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1813 file.
1814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1815 file.
1816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1817 file.
1818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1819 New file.
1820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1821 New file.
1822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1823 file.
1824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1825 New file.
1826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1827 file.
1828
41d73a1b
JM
18292012-04-28 Joseph Myers <joseph@codesourcery.com>
1830
1831 * conform/conformtest.pl: Fix typo in handling typed-constant from
1832 allow-header.
1833
28aeeda4
JM
18342012-04-27 Joseph Myers <joseph@codesourcery.com>
1835
adae8f5e
JM
1836 * README: Cut down references to pre-2.6 Linux kernels and
1837 Linuxthreads. Update lists of configurations in libc and ports
1838 and sort alphabetically. Say "or newer" with Linux kernel version
1839 requirements.
1840
28aeeda4
JM
1841 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1842
a462cb63
RA
18432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1844
1845 [BZ #887]
1846 * math/libm-test.inc (logb_test_downward): New test to expose
1847 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1848 rounding mode.
1849
6ad3493e
JM
18502012-04-27 Joseph Myers <joseph@codesourcery.com>
1851
1852 [BZ #14027]
1853 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1854 to be done.
1855 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1856 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1857
2ce4f015
JM
18582012-04-26 Joseph Myers <joseph@codesourcery.com>
1859
5aeb141a
JM
1860 * sysdeps/unix/i386/brk.S: Remove file.
1861 * sysdeps/unix/i386/dl-brk.S: Likewise.
1862 * sysdeps/unix/i386/pipe.S: Likewise.
1863 * sysdeps/unix/i386/sigreturn.S: Likewise.
1864 * sysdeps/unix/i386/syscall.S: Likewise.
1865 * sysdeps/unix/i386/vfork.S: Likewise.
1866 * sysdeps/unix/i386/wait.S: Likewise.
1867
7143acae
JM
1868 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1869 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1870
2ce4f015
JM
1871 * configure.in (arm*-none*): Do not allow without
1872 --enable-hacker-mode.
1873 (netbsd*): Remove case setting base_os.
1874 (386bsd*): Likewise.
1875 (freebsd*): Likewise.
1876 (bsdi*): Likewise.
1877 (osf*): Likewise.
1878 (sunos*): Likewise.
1879 (ultrix*): Likewise.
1880 (newsos*): Likewise.
1881 (dynix*): Likewise.
1882 (*bsd*): Likewise.
1883 (sysv*): Likewise.
1884 (isc*): Likewise.
1885 (esix*): Likewise.
1886 (sco*): Likewise.
1887 (minix*): Likewise.
1888 (irix4*): Likewise.
1889 (irix6*): Likewise.
1890 (solaris[2-9]*): Likewise.
1891 (none): Likewise.
1892 * configure: Regenerated.
1893
0ac229c8
AZ
18942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1895
1896 [BZ #11521]
1897 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1898 overflow or cancellation in calculating denominator.
1899 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1900 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1901 down expression to avoid unexpected rounding in newer GCCs.
1902 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1903
33f244f4
DM
19042012-04-26 David S. Miller <davem@davemloft.net>
1905
1906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1907 long-double compat symbols.
1908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1921
cfa1f3e8
DM
19222012-04-25 David S. Miller <davem@davemloft.net>
1923
1924 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1925 HWCAP_* values only after the memory barriers have been defined.
1926 (atomic_full_barrier): Define.
1927 (atomic_read_barrier): Define.
1928 (atomic_write_barrier): Define.
1929
6e236b92
SP
19302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1931
1932 * shlib-versions: Add libgcc_s version information.
1933 * sysdeps/generic/libgcc_s.h: Remove.
1934 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1935 libgcc_s.h.
1936 * sysdeps/gnu/unwind-resume.c: Likewise.
1937 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1938
aab39a09
DM
19392012-04-25 David S. Miller <davem@davemloft.net>
1940
1941 * sysdeps/unix/sparc/brk.S: Delete.
1942 * sysdeps/unix/sparc/dl-brk.S: Delete.
1943 * sysdeps/unix/sparc/pipe.S: Delete.
1944 * sysdeps/unix/sparc/sysdep.S: Delete.
1945 * sysdeps/unix/sparc/sysdep.h: Delete.
1946 * sysdeps/unix/sparc/vfork.S: Delete.
1947 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1948 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1949 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1950 ret_ERRVAL, r0, r1, MOVE): Define.
1951 (JUMPTARGET): Remove.
1952 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1953 sysdeps/unix/sparc/sysdep.h
1954 (ENTRY, END): Remove.
1955 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1956
a3cc4f48
JM
19572012-04-25 Joseph Myers <joseph@codesourcery.com>
1958
2ed8cda2
JM
1959 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1960 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1961 -DIS_IN_build.
1962
35d76d59
JM
1963 * timezone/README: Update upstream location and email address for
1964 tzcode and tzdata.
1965 * timezone/zdump.c: Update from tzcode 2012b.
1966 * timezone/zic.c: Likewise.
1967
a3cc4f48
JM
1968 * configure.in (libc_cv_as_needed): Remove test.
1969 * configure: Regenerated.
1970 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1971 conditional definition.
1972 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1973 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1974 * config.make.in (have-as-needed): Remove variable.
1975
ceab42c3
SP
19762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1977 Paul Pluzhnikov <ppluzhnikov@google.com>
1978
1979 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1980 strings correctly.
1981
3ce2865f
CLT
19822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1983
1984 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1985 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1986 * sysdeps/sh/strlen.S: Likewise.
1987
f37e0d68
JM
19882012-04-24 Joseph Myers <joseph@codesourcery.com>
1989
ae186e9a
JM
1990 * sysdeps/unix/fork.S: Remove file.
1991 * sysdeps/unix/i386/fork.S: Likewise.
1992 * sysdeps/unix/sparc/fork.S: Likewise.
1993
b96914af
JM
1994 * sysdeps/unix/system.c: Remove file.
1995 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1996
f37e0d68
JM
1997 * sysdeps/unix/getegid.S: Remove file.
1998 * sysdeps/unix/geteuid.S: Likewise.
1999
87ef29ca
RM
20002012-04-24 Roland McGrath <roland@hack.frob.com>
2001
83bcd236
RM
2002 * scripts/check-localplt.awk: New file.
2003 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2004 of diff.
2005 * scripts/data/localplt-generic.data: Add a comment.
2006
87ef29ca
RM
2007 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2008 NODE when __dir_mkfile failed.
2009 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2010 Reported by Ludovic Courtès <ludo@gnu.org>.
2011
e5a6e567
AJ
20122012-04-24 Andreas Jaeger <aj@suse.de>
2013
2014 * Makerules (common-clean): Also remove gen-as-const-headers
2015 files.
2016
c1820385
JM
20172012-04-24 Joseph Myers <joseph@codesourcery.com>
2018
2019 * Makerules (native-compile): Do not change working directory for
2020 build. Use $(OUTPUT_OPTION) in command.
2021 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2022
94e02fc4
AZ
20232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2024
2025 [BZ #13886]
2026 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2027 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2028 * math/libm-test.inc (floor_test): Add more tests.
2029 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2030
3a533ca3
JM
20312012-04-24 Joseph Myers <joseph@codesourcery.com>
2032
940ab4b3
JM
2033 * sysdeps/unix/getdents.c: Remove file.
2034 * sysdeps/unix/sysv/getdents.c: Likewise.
2035 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2036
90e037bd
JM
2037 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2038 sysdeps/unix/mman/syscalls.list.
2039 (mmap): Likewise.
2040 (mprotect): Likewise.
2041 (msync): Likewise.
2042 (munmap): Likewise.
2043 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2044 * sysdeps/unix/mman/syscalls.list: Remove.
2045 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2046
3a533ca3
JM
2047 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2048 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2049 * configure: Regenerated.
2050 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2051 $(libgcc_s_suffix).
2052 * config.make.in (libgcc_s_suffix): Remove variable.
2053
1ad743de
JM
20542012-04-23 Joseph Myers <joseph@codesourcery.com>
2055
4ad451e2
JM
2056 * sysdeps/unix/sysv/gethostname.c: Move to ...
2057 * sysdeps/posix/gethostname.c: ... here.
2058
5e37ce39
JM
2059 * sysdeps/unix/execve.S: Remove file.
2060
1ad743de
JM
2061 * sysdeps/unix/_exit.S: Remove file.
2062
4e681b5b
AJ
20632012-04-23 Andreas Jaeger <aj@suse.de>
2064
2065 [BZ #13739]
2066 * manual/Makefile: Remove make dist support, there's no
2067 need for a stand-alone documentation tar ball.
2068 (TEXI2DVI): Define always, it's not in Makeconfig.
2069 (dist): Removed.
2070 (tar-it): Removed.
2071 (edition): Removed.
2072 (glibc-doc-$(edition).tar): Removed
2073 (%.Z): Removed.
2074 (%.gz): Removed.
2075 (%.uu): Removed.
2076 (ETAGS): Remove, it's in Makeconfig.
2077 (move-if-change): Remove, it's in Makeconfig.
2078
c0baea34
PE
20792013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2080
2081 [BZ #13970]
2082 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2083 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2084 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2085 (strtod_l, strtof_l, strtold_l): Remove __wur.
2086 It is not necessarily an error to ignore strtol's return value.
2087 One can reliably look at the stored endptr to decide whether
2088 the number had valid syntax.
2089
7c0616fa
AJ
20902012-04-21 Andreas Jaeger <aj@suse.de>
2091
803cb6b7 2092 [BZ #13739]
7c0616fa
AJ
2093 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2094
b0fe253f
JM
20952012-04-21 Joseph Myers <joseph@codesourcery.com>
2096
2097 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2098 * sysdeps/unix/sysv/Versions: Remove file.
2099
8280f22d
MT
21002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2101
2102 [BZ #13927]
2103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2104
75ce411f 21052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2106
2107 [BZ #7064]
2108 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2109 version from __vm86.
2110
097d59fa
JM
21112012-04-20 Joseph Myers <joseph@codesourcery.com>
2112
a90f3bcb
JM
2113 * sysdeps/unix/common/lxstat.c: Remove file.
2114 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2115
edc7ea78
JM
2116 * sysdeps/unix/sysv/Makefile: Remove file.
2117
cb78c221
JM
2118 * sysdeps/unix/sysv/direct.h: Remove file.
2119
efa6a45f
JM
2120 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2121 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2122 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2123 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2124 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2125 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2126 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2127
9c9f2d0c
JM
2128 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2129
4541c83b
JM
2130 * sysdeps/unix/xmknod.c: Remove file.
2131 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2132
f5d153a0
JM
2133 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2134
aa746595
JM
2135 * sysdeps/unix/sysv/i386/time.S: Remove file.
2136
cce5905e
JM
2137 * sysdeps/unix/fxstat.c: Remove file.
2138 * sysdeps/unix/xstat.c: Likewise.
2139 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2140
37fa3841
JM
2141 * sysdeps/unix/sysv/sigaction.c: Remove file.
2142
ff1962a3
JM
2143 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2144 (sysdep_headers): Remove variable.
2145 [termio.h not in sysdep_headers] (generated): Likewise.
2146 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2147 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2148 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2149 * sysdeps/unix/sysv/tcflow.c: Likewise.
2150 * sysdeps/unix/sysv/tcflush.c: Likewise.
2151 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2152 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2153 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2154 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2155 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2156
e7740d31
JM
2157 * sysdeps/unix/siglist.c: Remove file.
2158
ee06f18b
JM
2159 * sysdeps/unix/getppid.S: Remove file.
2160
097d59fa
JM
2161 * sysdeps/unix/mkdir.c: Remove file.
2162 * sysdeps/unix/rmdir.c: Likewise.
2163
ff3d51ec
AS
21642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2165
2166 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2167 ERR_MAX value.
2168 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2169 errlist-compat value.
2170
50f81fd7
DM
21712012-04-18 David S. Miller <davem@davemloft.net>
2172
2173 * sysdeps/generic/memcopy.h (reg_char): Delete.
2174 * debug/strcat_chk.c: Use char, not reg_char.
2175 * debug/strcpy_chk.c: Likewise.
2176 * debug/strncat_chk.c: Likewise.
2177 * debug/strncpy_chk.c: Likewise.
2178 * string/memchr.c: Likewise.
2179 * string/memrchr.c: Likewise.
2180 * string/rawmemchr.c: Likewise.
2181 * string/strcat.c: Likewise.
2182 * string/strchr.c: Likewise.
2183 * string/strchrnul.c: Likewise.
2184 * string/strcmp.c: Likewise.
2185 * string/strcpy.c: Likewise.
2186 * string/strncat.c: Likewise.
2187 * string/strncmp.c: Likewise.
2188 * string/strncpy.c: Likewise.
2189
8ff41c46
WS
21902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2191
2192 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2193 __builtin_memcopy is called when src and dest ranges are known to not
2194 overlap.
2195
6b652f46
WS
21962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2197
2198 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2199 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2200 fwd_align_merge macro call.
2201 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2202 bwd_align_merge macro call.
2203 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2204
b282631e
WS
22052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2206
2207 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2208 bwd_align_merge macros.
2209 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2210 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2211 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2212
95aa737c
DM
22132012-04-18 David S. Miller <davem@davemloft.net>
2214
2215 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2216
7a99a614
AJ
22172012-04-18 Andreas Jaeger <aj@suse.de>
2218
2219 [BZ# 6794]
2220 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2221 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2222 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2223
2224 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2225 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2226 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2227
2228 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2229 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2230 Adjust for changed ldbl-128 files.
2231
2232 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2233 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2234 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2235
e5270c23
DM
22362012-04-17 David S. Miller <davem@davemloft.net>
2237
2238 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2239
fb5e92c9
AS
22402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2241
2242 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2243 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2244 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2245 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2246 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2247 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2248
76da7265
AZ
22492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2250
2251 [BZ #6794]
2252 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2253 * math/libm-test.inc: Add ilogb errno and exception tests.
2254 * math/w_ilogb.c: New file: ilogb wrapper.
2255 * math/w_ilogbf.c: New file: ilogbf wrapper.
2256 * math/w_ilogbl.c: New file: ilogbl wrapper.
2257 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2258 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2259 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2260 exception being thrown with 0.0 as argument.
2261 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2262 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2263 exception being thrown with 0.0 as argument.
2264 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2265 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2266 exception being thrown with 0.0 as argument.
2267 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2268 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2269 exception being thrown with 0.0 as argument.
2270 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2271 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2272 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2273 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2274 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2275 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2276 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2277 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2278 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2279
0396e69d
PB
22802012-04-17 Petr Baudis <pasky@ucw.cz>
2281
2282 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2283 with altivec.
2284
750b5926
MP
22852012-04-16 Marek Polacek <polacek@redhat.com>
2286
2287 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2288
751728a1
MP
22892012-04-16 Marek Polacek <polacek@redhat.com>
2290
2291 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2292 operands of fdivp instruction.
2293
34a27407
L
22942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2295
2296 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2297 * elf/tst-auditmod3b.c: Likewise.
2298 * elf/tst-auditmod4b.c: Likewise.
2299 * elf/tst-auditmod5b.c: Likewise.
2300 * elf/tst-auditmod6b.c: Likewise.
2301 * elf/tst-auditmod6c.c: Likewise.
2302 * elf/tst-auditmod7b.c: Likewise.
2303 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2304 * sysdeps/x86_64/preconfigure.in: Likewise.
2305 * sysdeps/x86_64/preconfigure: Regenerated.
2306
7e73e17d
L
23072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2308
2309 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2310 __ILP32__.
2311
c7a6ab72
AB
23122012-04-13 Antoine Balestrat <merkil33@gmail.com>
2313
2314 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2315 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2316
a9e8e0e0
CL
23172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2318
2319 [BZ #13973]
2320 * locale/iso-639.def: Fix gl language name. Spotted by
2321 Yaron Shahrabani.
2322
ec98af7d
RM
23232012-04-12 Roland McGrath <roland@hack.frob.com>
2324
2325 [BZ #2074]
2326 * libio/libio.h (__io_write_fn): Update comment.
2327
247c3ede
PB
23282012-04-12 Petr Baudis <pasky@ucw.cz>
2329
2330 [BZ #2074]
2331 * stdio.texi (Hook Functions): The user provided writer function
2332 is not allowed to return -1.
2333
55939d6d
DM
23342012-04-11 David S. Miller <davem@davemloft.net>
2335
2336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2337
90020f5a
MF
23382012-04-11 Mike Frysinger <vapier@gentoo.org>
2339
2340 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2341 Add a leading slash to rtkaio.
2342
288f9098
JM
23432012-04-11 Jim Meyering <meyering@redhat.com>
2344
90020f5a
MF
2345 [BZ #11959]
2346 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2347 It is not necessarily an error to ignore fwrite's return
2348 value. One can reliably use ferror to test for errors after
2349 the fact.
288f9098 2350
4be2b570
L
23512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2352
2353 * bits/types.h (__snseconds_t): New type.
2354 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2355
2356 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2357 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2358 (__SNSECONDS_T_TYPE): Likewise.
2359 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2360 (__SNSECONDS_T_TYPE): Likewise.
2361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2362 (__SNSECONDS_T_TYPE): Likewise.
2363
288f9098 23642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2365
2366 [BZ #2636]
2367 * manual/time.texi (Processor Time): Return type of times is
2368 elapsed real time since an arbitrary point in the past.
2369 (CPU Time): Move CLK_TCK from here...
2370 (Processor Time): ...to here. Correct description.
2371 * manual/conf.texi (Constants for Sysconf): Correct description of
2372 _SC_CLK_TCK.
2373
d7dd4413
DM
23742012-04-10 David S. Miller <davem@davemloft.net>
2375
2376 [BZ #13967]
2377 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2378 where the is a gap between DT_REL(A) and DT_JMPREL.
2379
b46068fc
L
23802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2383 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2384 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2385
73d65cc3
SP
23862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2387
2388 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2389 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2390 (dl_main): Handle --inhibit-cache.
2391 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2392 _dl_inhibit_cache.
2393 * elf/dl-load.c (_dl_map_object): Use it.
2394 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2395
bcc8d661
JM
23962012-04-09 Joseph Myers <joseph@codesourcery.com>
2397
8f9a2fae
JM
2398 [BZ #13872]
2399 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2400 (__ieee754_powl): Saturate large exponents rather than testing for
2401 overflow of y*log2(x).
2402 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2403 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2404 exceptions.
2405
bcc8d661
JM
2406 [BZ #11521]
2407 * math/s_ctan.c: Include <float.h>.
2408 (__ctan): Avoid internal overflow or cancellation in calculating
2409 denominator.
2410 * math/s_ctanf.c: Likewise.
2411 * math/s_ctanl.c: Likewise.
2412 * math/s_ctanh.c: Likewise.
2413 * math/s_ctanhf.c: Likewise.
2414 * math/s_ctanhl.c: Likewise.
2415 * math/libm-test.inc (ctan_test): Add more tests.
2416 (ctanh_test): Likewise.
2417 * sysdeps/i386/fpu/libm-test-ulps: Update.
2418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2419
823fbbb4
AJ
24202012-04-09 Andreas Jaeger <aj@suse.de>
2421
03879793
AJ
2422 [BZ #6894]
2423 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2424 is an optional BSD extension.
2425
823fbbb4
AJ
2426 [BZ #10254]
2427 * manual/stdio.texi (Opening Streams): Document additional fopen
2428 parameters.
2429
8de131cb
RM
24302012-04-09 Roland McGrath <roland@hack.frob.com>
2431
2432 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2433 %eax without telling the compiler.
2434
c0ed9d7d
CD
24352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2436
2437 [BZ # 13963]
2438 * manual/install.texi: Use sourceware.org.
2439
c483f6b4
JM
24402012-04-09 Joseph Myers <joseph@codesourcery.com>
2441
d7dd9453
JM
2442 [BZ #13873]
2443 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2444 (__ieee754_pow): Generate overflow and underflow using huge*huge
2445 and tiny*tiny rather than just returning constant infinity or zero
2446 for large exponents.
2447 * math/libm-test.inc (pow_test): Require overflow exceptions for
2448 applicable cases of large exponents.
2449
c483f6b4
JM
2450 [BZ #706]
2451 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2452 (__ieee754_pow): Use iterative multiplication algorithm only for
2453 integer exponents with absolute value below 1024. Check for odd
2454 integer exponents when using algorithm for real exponents.
2455 * math/libm-test.inc (pow_test): Add more tests.
2456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2457
d2de7579
JM
24582012-04-08 Joseph Myers <joseph@codesourcery.com>
2459
2460 [BZ #13705]
2461 * math/libm-test.inc (exp_test): Do not allow overflow exception
2462 on underflow test.
2463
f77f1232
AJ
24642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2465
2466 [BZ #13705]
2467 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2468 instead of __kernel_standard_f.
2469
3884932b
MF
24702012-04-08 Mike Frysinger <vapier@gentoo.org>
2471
2472 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2473 * sysdeps/x86_64/memset_chk.S: Likewise.
2474
54472e9c
AJ
24752012-04-08 Andreas Jaeger <aj@suse.de>
2476
6ab0fbfc
AJ
2477 [BZ #10153]
2478 * manual/startup.texi (Environment Access): Describe return value
2479 for putenv and setenv.
2480
61efba8c
AJ
2481 [BZ #6895]
2482 * manual/filesys.texi (Directory Entries): Add description for
2483 DT_LNK.
2484
95c3f29a
AJ
2485 [BZ #6890]
2486 * manual/filesys.texi (Directory Entries): Clarify that it's file
2487 system not operating system in the description of DT_UNKNOWN.
2488
54472e9c
AJ
2489 [BZ #6578]
2490 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2491
624254b1
SC
24922012-04-08 Stephen Compall <s11@member.fsf.org>
2493
2494 [BZ #6649]
2495 * manual/llio.texi (Opening and Closing Files): Add cross
2496 reference to explain mode argument.
2497
1e4920e0
MF
24982012-04-07 Mike Frysinger <vapier@gentoo.org>
2499
2500 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2501 * sysdeps/x86_64/memset_chk.S: Likewise.
2502
5ed848f3
DM
25032012-04-07 David S. Miller <davem@davemloft.net>
2504
2505 * elf/elf.h (R_SPARC_WDISP10): Define.
2506 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2507 R_SPARC_SIZE32.
2508 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2509 R_SPARC_SIZE64 and R_SPARC_H34.
2510
96154cd8
CD
25112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2512
2513 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2514 conditions and remove no longer applicable assertion.
2515
9904dc47
L
25162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2517
2518 * bits/byteswap.h: Include <features.h>.
2519 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2520 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2521
f8887d0a
L
25222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2523
2524 * bits/byteswap.h (__bswap_16): Removed.
2525 Include <bits/byteswap-16.h> to get __bswap_16.
2526 * sysdeps/i386/bits/byteswap.h: Likewise.
2527 * sysdeps/s390/bits/byteswap.h: Likewise.
2528 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2529 * bits/byteswap-16.h: New file.
2530 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2531 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2532 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2533 * string/Makefile (headers): Add bits/byteswap-16.h.
2534
62470f60
PP
25352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2536
2537 [BZ #13895]
2538 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2539 extra indirection.
2540 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2541 * nss/tst-nss-static.c: New.
2542
4dad7bab
RM
25432012-04-06 Robert Millan <rmh@gnu.org>
2544
2545 [BZ #6486]
2546 * manual/llio.texi (File Position Primitive): lseek
2547 refers to WHENCE when it really means OFFSET.
2548
e9142a17
AJ
25492012-04-06 Andreas Jaeger <aj@suse.de>
2550
2c040eff
AJ
2551 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2552 strncmp declarations.
2553
e9142a17
AJ
2554 * abilist/libc.abilist: Add __poll and __ppoll.
2555
ff9f1c5f
DM
25562012-04-05 David S. Miller <davem@davemloft.net>
2557
dcd2ae90
DM
2558 * scripts/check-local-headers.sh: Accept a host triplet in the
2559 path matched by the exclude regexp.
2560
993eb054
DM
2561 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2562 definition.
2563 * sysdeps/powerpc/powerpc32/dl-machine.h
2564 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2565 * sysdeps/s390/s390-32/dl-machine.h
2566 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2567 * sysdeps/sparc/sparc32/dl-machine.h
2568 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2569 * sysdeps/sparc/sparc64/dl-machine.h
2570 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2571
ff9f1c5f
DM
2572 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2573 lazy binding.
48e2e132 2574 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2575 undefined symbol errors.
2576
48e2e132 2577 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2578 DT_NEEDED entries.
2579
e80d6f94
MM
25802012-04-05 Michael Matz <matz@suse.de>
2581
2582 [BZ #13592]
2583 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2584
349fa79f
AJ
25852012-04-05 Andreas Jaeger <aj@suse.de>
2586
2587 [BZ #13908]
2588 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2589 comment.
2590
f402708f
KK
25912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2592
2593 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2594 which ROUND is no valid rounding mode.
2595
2ecccfc9
KK
25962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2597
2598 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2599 read again.
2600 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2601
8a53f50f
KK
26022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2603
2604 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2605 an exception using FPU order intentionally.
2606
26072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2608
2609 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2610 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2611 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2612 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2613
d653abb7
SJ
26142012-04-05 Simon Josefsson <simon@josefsson.org>
2615
2616 [BZ #12340]
2617 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2618 EINVAL when BUFLEN is too smal.
2619
c3b1bf7d
TS
26202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2621
2622 [BZ #13553]
2623 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2624 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2625
b1aa60f3
AJ
26262012-04-03 Andreas Jaeger <aj@suse.de>
2627
c3b1bf7d 2628 [BZ #13938]
67f60a26
AJ
2629 * manual/setjmp.texi (System V contexts): Fix sentence.
2630
b1aa60f3
AJ
2631 [BZ #13926]
2632 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2633 New macro for this case.
2634 [!__GNUC__] (__bswap_64): New inline function for this case.
2635 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2636 * bits/byteswap.h: Likewise.
2637 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2638 ull, guard with __GLIBC_HAVE_LONG_LONG.
2639
2640 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2641 __GLIBC_HAVE_LONG_LONG.
2642
2643 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2644 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2645
39c59c35
TMQMF
26462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2647
2648 [BZ #13691]
2649 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2650 inptr and inend, rather than using last_ch.
2651
135ffda8
DM
26522012-04-02 David S. Miller <davem@davemloft.net>
2653
2654 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2655 * stdio-common/printf-parse.h (read_int): Change return type to
2656 'int', return -1 on INT_MAX overflow.
2657 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2658 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2659 overflows INT_MAX. Check for overflow of in-format-string precision
2660 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2661 SIZE_MAX not INT_MAX for integer overflow test.
2662 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2663 skip the construct in the format string but do not record anything.
2664 * stdio-common/bug22.c: Adjust to test both width/prevision
2665 INT_MAX overflow as well as total length INT_MAX overflow. Check
2666 explicitly for proper errno values.
2667
228c019e
TS
26682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2669
302cadd3
TS
2670 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2671 CHAR_MAX.
2672 * string/test-strcmp.c [! WIDE]: Likewise.
2673 * time/tst-mktime2.c: Likewise for INT_MAX.
2674 * string/test-string.h: #include <sys/param.h> for MIN.
2675
228c019e
TS
2676 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2677 * sysdeps/i386/init-first.c (init): Likewise.
2678 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2679 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2680 * sysdeps/sh/init-first.c (init): Likewise.
2681
cfa633f5
UD
26822012-04-01 Ulrich Drepper <drepper@gmail.com>
2683
2684 * po/ru.po: Update from translation team.
d1635ef8 2685 * po/vi.po: Likewise.
cfa633f5 2686
6cd0a5ea
SP
26872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2688
2689 * resolv/nss_dns/dns-host.c: Merge copyright years.
2690
4b43400f
LD
26912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2692
2693 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2694 Optimize memcpy with prefetch if
2695 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2696 src, dst pointers have unequal 16 byte alignments.
2697
48c41d04
SP
26982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2699
2700 [BZ #13928]
2701 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2702 from a CNAME entry and return the minimum ttl for the query.
2703 (gaih_getanswer_slice): Likewise.
2704
b8dc394d
JL
27052012-03-30 Jeff Law <law@redhat.com>
2706
2707 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2708 due to long keys.
2709 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2710 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2711
2f5a5ed0
JL
2712 * resolv/nss_dns/dns-host.c: Update copyright year.
2713
1d39e359
UD
27142012-03-30 Ulrich Drepper <drepper@gmail.com>
2715
c030f70c 2716 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2717 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2718
1d39e359
UD
2719 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2720 comments for sendmmsg.
2721
27222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2723
2724 [BZ #13691]
2725 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2726 with only 1 character between 0x0041 and 0x01b0.
2727 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2728 * wcsmbs/tst-mbsnrtowcs.c: New file.
2729
20fde227
DM
27302012-03-29 David S. Miller <davem@davemloft.net>
2731
2732 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2733 small copies by hand.
2734
984a4237
JL
27352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2736
2737 [BZ #13761]
2738 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2739 _nss_compat_initgroups_dyn): Fall back to malloc/free
2740 for large group memberships.
2741
18c9d62b
DM
27422012-03-28 David S. Miller <davem@davemloft.net>
2743
88d85d4f
DM
2744 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2745 that branches into memcpy.
2746 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2747 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2748 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2749 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2751 bits.
2752 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2753 implementation too.
2754 * sysdeps/sparc/mempcpy.S: New file.
2755
e5aa83e1
DM
2756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2757 the IFUNC routine in the libc case.
2758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2759
88570753
DM
2760 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2761 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2762 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2763 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2764 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2765 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2766 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2767 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2768
249d7567
DM
2769 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2770 loop to 256 bytes instead of 64 bytes and fix test signedness.
2771
18c9d62b
DM
2772 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2773 * sysdeps/sparc/sparc32/Makefile: rather than here...
2774 * sysdeps/sparc/sparc64/Makefile: and here.
2775
05f3d1f6
UD
27762012-03-28 Ulrich Drepper <drepper@gmail.com>
2777
2778 * malloc/mallocbug.c: Avoid warnings about unused variables.
2779
86ae07a8
JL
27802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2781
2782 [BZ #13760]
2783 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2784 in the right place. Discard and retry query if response is
2785 larger than input buffer size.
2786
41bf21a1
JM
27872012-03-28 Joseph Myers <joseph@codesourcery.com>
2788
d6270972
JM
2789 [BZ #369]
2790 [BZ #2678]
2791 [BZ #3866]
2792 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2793 x for large integer exponent.
2794 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2795 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2796 sign of result as needed afterwards.
2797 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2798 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2799 result for underflowing pow the same as for overflow.
2800 (__kernel_standard_l): Handle powl overflow and underflow here
2801 rather than calling __kernel_standard.
2802 * math/libm-test.inc (pow_test): Add more tests.
2803
414fca03 2804 [BZ #3868]
41bf21a1
JM
2805 [BZ #13879]
2806 [BZ #13910]
2807 [BZ #13911]
2808 [BZ #13912]
2809 [BZ #13913]
2810 [BZ #13915]
2811 [BZ #13916]
2812 [BZ #13917]
2813 [BZ #13918]
2814 [BZ #13919]
2815 [BZ #13920]
2816 [BZ #13921]
2817 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2818 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2819 (__kernel_standard_l): New function.
2820 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2821 __kernel_standard.
2822 * math/w_acosl.c (__acosl): Likewise.
2823 * math/w_asinl.c (__asinl): Likewise.
2824 * math/w_atan2l.c (__atan2l): Likewise.
2825 * math/w_atanhl.c (__atanhl): Likewise.
2826 * math/w_coshl.c (__coshl): Likewise.
2827 * math/w_exp10l.c (__exp10l): Likewise.
2828 * math/w_exp2l.c (__exp2l): Likewise.
2829 * math/w_fmodl.c (__fmodl): Likewise.
2830 * math/w_hypotl.c (__hypotl): Likewise.
2831 * math/w_j0l.c (__j0l, __y0l): Likewise.
2832 * math/w_j1l.c (__j1l, __y1l): Likewise.
2833 * math/w_jnl.c (__jnl, __ynl): Likewise.
2834 * math/w_lgammal.c (__lgammal): Likewise.
2835 * math/w_log10l.c (__log10l): Likewise.
2836 * math/w_log2l.c (__log2l): Likewise.
2837 * math/w_logl.c (__logl): Likewise.
2838 * math/w_powl.c (__powl): Likewise.
2839 * math/w_remainderl.c (__remainderl): Likewise.
2840 * math/w_scalbl.c (sysv_scalbl): Likewise.
2841 * math/w_sinhl.c (__sinhl): Likewise.
2842 * math/w_sqrtl.c (__sqrtl): Likewise.
2843 * math/w_tgammal.c (__tgammal): Likewise.
2844 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2845 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2846 * math/libm-test.inc (acos_test): Add more tests.
2847 (acosh_test): Likewise.
2848 (asin_test): Likewise.
2849 (atanh_test): Likewise.
2850 (exp_test): Likewise.
2851 (exp10_test): Likewise.
2852 (exp2_test): Likewise.
2853 (expm1_test): Likewise.
2854 (lgamma_test): Likewise.
2855 (log_test): Likewise.
2856 (log10_test): Likewise.
2857 (log1p_test): Likewise.
2858 (log2_test): Likewise.
2859 (pow_test): Do not allow some spurious overflow exceptions.
2860 (sqrt_test): Add more tests.
2861 (tgamma_test): Likewise.
2862 (y0_test): Likewise.
2863 (y1_test): Likewise.
2864 (yn_test): Likewise.
2865
dd62fda6
AB
28662012-03-27 Anton Blanchard <anton@samba.org>
2867
2868 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2869 MAP_HUGETLB.
2870 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2871 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2873
1e3cdfda
AJ
28742012-03-27 David S. Miller <davem@davemloft.net>
2875
b855ab85
DM
2876 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2877
1e3cdfda
AJ
2878 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2879 have-as-vis3 check.
2880
28812012-03-27 Andreas Jaeger <aj@suse.de>
2882
2883 * sysdeps/x86_64/elf/configure.in: Moved to ...
2884 * sysdeps/x86_64/configure.in: ... here.
2885 * sysdeps/x86_64/elf/start.S: Moved to ...
2886 * sysdeps/x86_64/start.S: ... here.
2887 * sysdeps/x86_64/elf/configure: Delete.
2888
2889 * sysdeps/x86_64/configure.in: Merge contents from
2890 sysdeps/i386/configure.in (without i686 check).
2891
2892 * sysdeps/i386/elf/Versions: Merge into ...
2893 * sysdeps/i386/Versions: ... this.
2894 * sysdeps/i386/elf/Versions: Delete file.
2895 * sysdeps/i386/elf/start.S: Moved to ...
2896 * sysdeps/i386/start.S: ...here.
2897 * sysdeps/i386/elf/configure.in: Merge into...
2898 * sysdeps/i386/configure.in: ...here.
2899 * sysdeps/i386/elf/configure.in: Delete file.
2900 * sysdeps/i386/elf/configure: Delete file.
2901
2902 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2903 * debug/backtracesyms.c: ... here.
2904 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2905 * debug/backtracesymsfd.c: ... here.
2906 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2907 * sysdeps/generic/ifunc-sel.h: ... here.
2908
2909 * sysdeps/unix/i386/start.c: Delete file.
2910 * sysdeps/unix/sparc/start.c: Delete file.
2911 * sysdeps/unix/start.c: Delete file.
2912
2913 * sysdeps/sh/elf/configure.in: Moved to ...
2914 * sysdeps/sh/configure.in: ... here.
2915 * sysdeps/sh/elf/start.S: Moved to ...
2916 * sysdeps/sh/start.S: ... here.
2917 * sysdeps/sh/elf/configure: Delete file.
2918
2919 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2920 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2921 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2922 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2923 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2924 * sysdeps/powerpc/powerpc64/start.S: here.
2925 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2926 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2927 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2928 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2929 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2930
2931 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2932 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2933 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2934 * sysdeps/powerpc/powerpc32/start.S: ... here.
2935 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2936 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2937 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2938
2939 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2940 * sysdeps/powerpc/ifunc-sel.h: ... here.
2941 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2942 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2943
2944 * sysdeps/sparc/elf/configure.in: Moved to ...
2945 * sysdeps/sparc/configure.in: ... here.
2946 * sysdeps/sparc/elf/configure: Delete file.
2947 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2948 * sysdeps/sparc/sparc32/start.S: ... here.
2949 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2950 * sysdeps/sparc/sparc64/start.S: ... here.
2951 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2952 * sysdeps/sparc/sparc32/Makefile: ... this.
2953 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2954 * sysdeps/sparc/sparc64/Makefile: ... this.
2955
2956 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2957 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2958 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2959 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2960 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2961 * sysdeps/s390/s390-32/setjmp.S: ... here.
2962 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2963 * sysdeps/s390/s390-32/configure.in: ... here.
2964 * sysdeps/s390/s390-32/elf/configure: Delete file.
2965 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2966 * sysdeps/s390/s390-32/start.S: ... here.
2967
2968 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2969 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2970 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2971 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2972 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2973 * sysdeps/s390/s390-64/setjmp.S: ... here.
2974 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2975 * sysdeps/s390/s390-64/configure.in: ... here
2976 * sysdeps/s390/s390-64/elf/configure: Delete file.
2977 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2978 * sysdeps/s390/s390-64/start.S: ... here.
2979 * sysdeps/s390/s390-64/elf/configure: Delete.
2980
2981 * configure.in: Remove support for elf directories in sysdeps.
2982
2983 * configure: Regenerated.
2984 * sysdeps/i386/configure: Regenerated.
2985 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2986 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2987 * sysdeps/s390/s390-32/configure: Regenerated.
2988 * sysdeps/s390/s390-64/configure: Regenerated.
2989 * sysdeps/sh/configure: Regenerated.
2990 * sysdeps/sparc/configure: Regenerated.
2991 * sysdeps/x86_64/configure: Regenerated.
2992
a3f61311
AS
29932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2994
c876e002
AS
2995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2996
a3f61311
AS
2997 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2998 denormal result into account.
2999
ac4c54f0
RM
30002012-03-25 Roland McGrath <roland@hack.frob.com>
3001
3002 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3003 Reported by Allan McRae <allan@archlinux.org>.
3004
6a9b9c02
JL
30052012-03-23 Jeff Law <law@redhat.com>
3006
3007 * nss/getnssent.c (__nss_getent): Fix typo.
3008
4c42a0c1
DM
30092012-03-23 David S. Miller <davem@davemloft.net>
3010
3011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3012
1532c7ac
L
30132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3014
3015 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3016 to pad to uint64_t for each field.
3017 (dl_tls_index): Replace unsigned long with uint64_t.
3018
3ff42526
PP
30192012-03-23 Daniel Jacobowitz <dmj@google.com>
3020 Paul Pluzhnikov <ppluzhnikov@google.com>
3021
3022 [BZ #6528]
3023 * grp/Makefile (otherlibs): Don't set it.
3024 * inet/Makefile (otherlibs): Likewise.
3025 * login/Makefile (otherlibs): Likewise.
3026 * nscd/Makefile (otherlibs): Likewise.
3027 * posix/Makefile (otherlibs): Likewise.
3028 * pwd/Makefile (otherlibs): Likewise.
3029 * rt/Makefile (otherlibs): Likewise.
3030 * sunrpc/Makefile (otherlibs): Likewise.
3031 * nss/Makefile (otherlibs): Likewise.
3032 Add libnss_files to routines and static-only-routines.
3033 ($(objpfx)getent): Remove rule.
3034 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3035 static-only-routines.
3036
7c69cd14
JM
30372012-03-22 Joseph Myers <joseph@codesourcery.com>
3038
3039 [BZ #13892]
3040 * math/s_cexp.c: Include <float.h>.
3041 (__cexp): Handle exp result overflowing not necessarily
3042 overflowing both real and imaginary parts of result.
3043 * math/s_cexpf.c: Likewise.
3044 * math/s_cexpl.c: Likewise.
3045 * math/libm-test.inc (cexp_test): Add more tests.
3046 * sysdeps/i386/fpu/libm-test-ulps: Update.
3047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3048
81b035fe
L
30492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3050
3051 * include/link.h (ELFW): New macro.
3052 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3053 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3054
1da7940c
L
30552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3056
3057 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3058 with uint64_t.
3059
b749dbb9
L
30602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3061
3062 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3063 declaration.
3064 (struct La_x32_retval): Likewise.
3065
2ff87f3f
L
30662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3067
3068 * sysdeps/x86_64/preconfigure.in: New file.
3069 * sysdeps/x86_64/preconfigure: New generated file.
3070
c0df8e69
JM
30712012-03-22 Joseph Myers <joseph@codesourcery.com>
3072
48e44791
JM
3073 [BZ #13824]
3074 * math/e_exp2l.c: Include <float.h>.
3075 (__ieee754_exp2l): Handle overflow and underflow cases
3076 separately. Only pass fractional part of argument to
3077 __ieee754_expl.
3078 * math/libm-test.inc (exp2_test): Add more tests.
3079
c0df8e69
JM
3080 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3081 negating x to take absolute value.
3082 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3083 Likewise.
3084 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3085 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3086 Likewise.
3087 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3088 computing low part if x was negated.
3089 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3090
c8e43ba7
L
30912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3092
3093 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3094 la_x32_gnu_pltexit.
3095 (pltexit): Cast int_retval to ptrdiff_t.
3096 * elf/tst-auditmod3b.c: Likewise.
3097 * elf/tst-auditmod4b.c: Likewise.
3098 * elf/tst-auditmod5b.c: Likewise.
3099 * elf/tst-auditmod6b.c: Likewise.
3100 * elf/tst-auditmod6c.c: Likewise.
3101 * elf/tst-auditmod7b.c: Likewise.
3102
3103 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3104 and x32_gnu_pltexit.
3105
3106 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3107 __ELF_NATIVE_CLASS.
3108 (La_x32_regs): New macro.
3109 (La_x32_retval): Likewise.
3110 (la_x32_gnu_pltenter): New function prototype.
3111 (la_x32_gnu_pltexit): Likewise.
3112
7998fa78
AS
31132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3114
dcb33988
AS
3115 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3116 exponent.
3117
233fc563
AS
3118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3119
7998fa78
AS
3120 * configure.in (libc_cv_cc_nofma): Check for option to disable
3121 generation of FMA instructions.
3122 * configure: Regenerate.
3123 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3124 * sysdeps/ieee754/dbl-64/Makefile: New file.
3125 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3126 Remove brandred-fma4.
3127 (CFLAGS-brandred-fma4.c): Remove.
3128 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3129 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3130 define.
3131 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3132 define.
3133
8e95c99a
L
31342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3135
3136 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3137 LLONG_MAX != LONG_MAX.
3138 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3139 (_fitoa_word): Likewise.
3140 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3141 LLONG_MAX != LONG_MAX.
3142 * stdio-common/_itowa.h: Include <_itoa.h>.
3143 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3144 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3145 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3146 only if not defined.
3147 (_ITOA_WORD_TYPE): Likewise.
3148 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3149 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3150
6f4db457
DM
31512012-03-21 David S. Miller <davem@davemloft.net>
3152
3153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3154
7785fe5a
L
31552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3156
3157 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3158 of x86_64 when setting libc_cv_slibdir, libdir and
3159 libc_cv_localedir.
3160 * sysdeps/unix/sysv/linux/configure: Regenerated.
3161
4535cd55
JM
31622012-03-21 Joseph Myers <joseph@codesourcery.com>
3163
3164 * manual/lang.texi (Old Varargs): Remove section.
3165 (How Variadic): Update menu.
3166 (va_start): Do not mention varargs.h.
3167
17228132
TS
31682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3169 Joseph Myers <joseph@codesourcery.com>
3170
3171 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3172 link test.
3173 * configure: Regenerated.
3174
8149f976
TS
31752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3176
05f3d1f6
UD
3177 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3178 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3179 conformtest.pl
8149f976 3180
1a4ac776
JM
31812012-03-21 Joseph Myers <joseph@codesourcery.com>
3182
be22ce65
JM
3183 * NOTES: Remove.
3184 * Makefile (files-for-dist): Remove NOTES.
3185 (NOTES): Remove rule.
3186 * README: Don't refer to NOTES.
3187 * manual/creature.texi: Don't include macros.texi.
3188 * manual/intro.texi (creature.texi): Remove comment referring to
3189 NOTES.
3190
40b601fb
JM
3191 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3192 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3193 * configure: Regenerated.
3194 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3195 LIBC_TRY_CC_OPTION.
3196 (libc_cv_as_i686): Likewise.
3197 (libc_cv_cc_avx): Likewise.
3198 (libc_cv_cc_sse2avx): Likewise.
3199 (libc_cv_cc_fma4): Likewise.
3200 (libc_cv_cc_novzeroupper): Likewise.
3201 * sysdeps/i386/configure: Regenerated.
3202
1a4ac776
JM
3203 [BZ #13883]
3204 * sysdeps/i386/fpu/s_cexp.S: Remove.
3205 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3206 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3207 * math/libm-test.inc (cexp_test): Add more tests.
3208 * sysdeps/i386/fpu/libm-test-ulps: Update.
3209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3210
a458e7fe
AM
32112012-03-21 Allan McRae <allan@archlinux.org>
3212
3213 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3214
0cb7efc5
JM
32152012-03-21 Joseph Myers <joseph@codesourcery.com>
3216
3217 [BZ #13871]
3218 * math/w_exp2.c: Do not include <float.h>.
3219 (o_threshold, u_threshold): Remove.
3220 (__exp2): Calculate result before checking finiteness and calling
3221 __kernel_standard.
3222 * math/w_exp2f.c: Likewise.
3223 * math/w_exp2l.c: Likewise.
3224 * math/libm-test.inc (exp2_test): Require overflow exception for
3225 1e6 input.
2460d3aa
JM
3226
3227 [BZ #3866]
3228 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3229 range of signed 64-bit integers before using fistpll. Remove
3230 checks for whether integers fit in mantissa bits.
3231 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3232 the range of signed 32-bit integers before using fistpl. Remove
3233 checks for whether integers fit in mantissa bits.
3234 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3235 (__ieee754_powl): Test for y outside the range of signed 64-bit
3236 integers before using fistpll. Reduce 64-bit values to 63-bit
3237 ones as needed.
3238 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3239 divide-by-zero is raised for zero to large negative powers.
3240 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3241 (__ieee754_powl): Test for y outside the range of signed 64-bit
3242 integers before using fistpll. Reduce 64-bit values to 63-bit
3243 ones as needed.
3244 * math/libm-test.inc (pow_test): Add more tests.
3245
eb96ffb0
L
32462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3247
3248 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3249 <stdio-common/_itoa.h>.
3250 * debug/segfault.c: Likewise.
3251 * elf/dl-cache.c: Likewise.
3252 * elf/dl-minimal.c: Likewise.
3253 * elf/dl-misc.c: Likewise.
3254 * elf/dl-sysdep.c: Likewise.
3255 * elf/dl-version.c: Likewise.
3256 * elf/rtld.c: Likewise.
3257 * hurd/hurdsock.c: Likewise.
3258 * hurd/lookup-retry.c: Likewise.
3259 * malloc/malloc.c: Likewise.
3260 * malloc/mtrace.c: Likewise.
3261 * nscd/nscd_getgr_r.c: Likewise.
3262 * nscd/nscd_getpw_r.c: Likewise.
3263 * nscd/nscd_getserv_r.c: Likewise.
3264 * posix/getopt_init.c: Likewise.
3265 * posix/wordexp.c: Likewise.
3266 * stdio-common/_itoa.c: Likewise.
3267 * stdio-common/printf_fphex.c: Likewise.
3268 * stdio-common/vfprintf.c: Likewise.
3269 * string/_strerror.c: Likewise.
3270 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3271 * sysdeps/i386/i686/hp-timing.h: Likewise.
3272 * sysdeps/mach/_strerror.c: Likewise.
3273 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3274 * sysdeps/mach/hurd/sethostid.c: Likewise.
3275 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3276 * sysdeps/mach/xpg-strerror.c: Likewise.
3277 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3278 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3279 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3280 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3281 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3282 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3283 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3284 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3285 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3286 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3287 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3288 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3289 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3290 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3291 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3292 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3293 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3294 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3295 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3296 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3297 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3298
3299 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3300
3301 * stdio-common/_itoa.h: Moved to ...
3302 * sysdeps/generic/_itoa.h: Here.
3303
3304 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3305
3306 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3307 instead of "_itoa.h" and "_itowa.h".
3308 * stdio-common/vfprintf.: Likewise.
3309
d1af992d
L
33102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3311
3312 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3313 <bits/wordsize.h>.
3314 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3315 (__signbit): Likwise.
3316 (llrintf): Likwise.
3317 (llrint): Likwise.
3318
114883e0
L
33192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3320
3321 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3322 __WORDSIZE != 64.
3323
c135cc1b
JM
33242012-03-20 Joseph Myers <joseph@codesourcery.com>
3325
3326 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3327 OVERFLOW_EXCEPTION_OK.
3328 * math/libm-test.inc ("Philosophy"): Update comment about
3329 exception testing.
3330 (OVERFLOW_EXCEPTION): Define.
3331 (OVERFLOW_EXCEPTION_OK): Likewise.
3332 (INVALID_EXCEPTION_OK): Renumber.
3333 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3334 (IGNORE_ZERO_INF_SIGN): Likewise.
3335 (test_exceptions): Handle FE_OVERFLOW.
3336 (exp10_test): Expect overflow exceptions.
3337 (exp2_test): Likewise.
3338 (expm1_test): Likewise.
3339 (nextafter_test): Likewise.
3340 (pow_test): Likewise.
3341 (scalbn_test): Likewise.
3342 (scalbln_test): Likewise.
3343
95443d88
L
33442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3345
3346 * sysdeps/x86_64/bits/atomic.h
3347 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3348 64bit integer.
3349 (atomic_exchange_acq): Likewise.
3350 (__arch_exchange_and_add_body): Likewise.
3351 (__arch_add_body): Likewise.
3352 (atomic_add_negative): Likewise.
3353 (atomic_add_zero): Likewise.
3354
490df6c4
L
33552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3356
c2722551 3357 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3358 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3359
5e52b189
L
33602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3361
3362 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3363 Check __x86_64__ instead of __WORDSIZE.
3364
a9879d4c
L
33652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3366
3367 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3368
5df98260
DM
33692012-03-19 David S. Miller <davem@davemloft.net>
3370
e1497744
DM
3371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3372
5df98260
DM
3373 * sysdeps/sparc/fpu/fenv_private.h: New file.
3374 * sysdeps/sparc/fpu/math_private.h: Use it.
3375 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3376 Remove.
3377 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3378 (libc_feholdexcept_setroundl): Remove.
3379 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3380 Remove.
3381 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3382 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3383
b4c35121
L
33842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3385
3386 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3387 int64_t instead of long int.
3388 (INSERT_WORDS64): Likwise.
3389
56965fd7
L
33902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3391
3392 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3393 _Unwind_GetCFA return to _Unwind_Ptr first.
3394
83d1aec8
JM
33952012-03-19 Joseph Myers <joseph@codesourcery.com>
3396
1897ad44
JM
3397 [BZ #13629]
3398 * math/s_clog.c: Include <float.h>.
3399 (__clog): Scale large or subnormal inputs.
3400 * math/s_clogf.c: Likewise.
3401 * math/s_clogl.c: Likewise.
3402 * math/s_clog10.c: Include <float.h>.
3403 (M_LOG10_2): Define.
3404 (__clog10): Scale large or subnormal inputs.
3405 * math/s_clog10f.c: Likewise.
3406 * math/s_clog10l.c: Likewise.
3407 * math/libm-test.inc (clog_test): Add more tests.
3408 (clog10_test): Likewise.
3409 * sysdeps/i386/fpu/libm-test-ulps: Update.
3410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3411
7726d6a9
JM
3412 [BZ #11451]
3413 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3414 x and y.
3415 * math/libm-test.inc (atan2_test): Add another test.
3416
83d1aec8
JM
3417 * Makerules (common-objdir-compile): Remove.
3418 * sysdeps/unix/Makefile (config-generated): Do not add
3419 $(unix-generated) to variable.
3420 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3421 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3422 Remove rule.
3423 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3424 Likewise.
3425 [generic bits/local_lim.h] (before-compile): Do not append to
3426 variable.
3427 [generic bits/local_lim.h] (common-generated): Likewise.
3428 [generic sys/param.h] (before-compile): Do not append to variable.
3429 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3430 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3431 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3432 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3433 include.
3434 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3435 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3436 [generic sys/param.h] ($(addprefix
3437 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3438 [generic sys/param.h] (common-generated): Do not append to
3439 variable.
3440 [generic sys/param.h] (sysdep_headers): Likewise.
3441 [generic bits/errno.h] (before-compile): Do not append to
3442 variable.
3443 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3444 rule.
3445 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3446 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3447 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3448 [generic bits/errno.h] (common-generated): Do not append to
3449 variable.
3450 [generic bits/ioctls.h] (before-compile): Do not append to
3451 variable.
3452 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3453 rule.
3454 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3455 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3456 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3457 rule.
3458 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3459 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3460 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3461 [generic bits/ioctls.h] (common-generated): Do not append to
3462 variable.
3463 [generic sys/syscall.h] (syscall.h): Remove variable.
3464 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3465 rule.
3466 [generic sys/syscall.h] (before-compile): Do not append to
3467 variable.
3468 [generic sys/syscall.h] (common-generated): Likewise.
3469 * sysdeps/unix/errnos-tmpl.c: Remove file.
3470 * sysdeps/unix/errnos.awk: Likewise.
3471 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3472 * sysdeps/unix/ioctls.awk: Likewise.
3473 * sysdeps/unix/mk-local_lim.c: Likewise.
3474 * sysdeps/unix/snarf-ioctls: Likewise.
3475
4851a949
RH
34762012-03-19 Richard Henderson <rth@twiddle.net>
3477
bd37f2ee
RH
3478 * sysdeps/i386/fpu/fenv_private.h: New file.
3479 * sysdeps/i386/fpu/math_private.h: Use it.
3480 (math_opt_barrier, math_force_eval): Remove.
3481 (libc_feholdexcept_setround_53bit): Remove.
3482 (libc_feupdateenv_53bit): Remove.
3483 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3484 (math_opt_barrier, math_force_eval): Remove.
3485 (libc_feholdexcept): Remove.
3486 (libc_feholdexcept_setround): Remove.
3487 (libc_fetestexcept, libc_fesetenv): Remove.
3488 (libc_feupdateenv_test): Remove.
3489 (libc_feupdateenv, libc_feholdsetround): Remove.
3490 (libc_feresetround): Remove.
3491
d0adc922
RH
3492 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3493 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3494
0fe0f1f8
RH
3495 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3496 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3497 (libc_feupdateenv_testl): New.
3498 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3499 (libc_feupdateenv_testf): New.
3500 (libc_feupdateenv): Use libc_feupdateenv_test.
3501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3502 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3503
eb92c487
RH
3504 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3505 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3506 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3507 (libc_feresetround_noex): New.
3508 (libc_feresetround_noexf): New.
3509 (libc_feresetround_noexl): New.
3510 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3511 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3512 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3513 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3514 SET_RESTORE_ROUND.
3515 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3516 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3517 (__cos): Likewise.
3518 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3519 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3520 SET_RESTORE_ROUND_NOEX.
3521 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3522 SET_RESTORE_ROUND_NOEXF.
3523 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3524 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3525 (libc_feholdsetroundf): New.
3526 (libc_feresetround, libc_feresetroundf): New.
3527
7d2e8012
RH
3528 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3529 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3530 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3531
b4dabbb4
RH
3532 * sysdeps/generic/math_private.h: Include <fenv.h>.
3533 (default_libc_feholdexcept): New.
3534 (default_libc_feholdexcept_setround): New.
3535 (default_libc_fesetenv, default_libc_feupdateenv): New.
3536 (libc_feholdexcept): Only define if undefined.
3537 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3538 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3539 (libc_feholdexcept_setroundl): Likewise.
3540 (libc_feholdexcept_setround_53bit): Likewise.
3541 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3542 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3543 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3544 (libc_feupdateenv_53bit): Likewise.
3545 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3546 (libc_feholdexcept): Convert from macro to inline function.
3547 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3548 (libc_fesetenv, libc_feupdateenv): Likewise.
3549
4851a949
RH
3550 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3551 not previously defined.
3552 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3553 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3554 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3555 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3556 * sysdeps/ieee754/flt-32/math_private.h: New file.
3557 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3558 math_private.h below SET_FLOAT_WORD.
3559 (__isnan, __isinf_ns, __finite): Remove.
3560 (__isnanf, __isinf_nsf, __finitef): Remove.
3561
e79d442e
AS
35622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3563
3564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3565
90b80344
DM
35662012-03-17 David S. Miller <davem@davemloft.net>
3567
3568 [BZ #6471]
3569 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3570 for 2.16.
3571
edc21804
DM
35722012-03-16 David S. Miller <davem@davemloft.net>
3573
77e927af
DM
3574 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3575 warnings.
3576
374976dd
DM
3577 [BZ #6471]
3578 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3579 properly.
3580 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3581 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3582 sysdep_routines when subdir is sysvipc.
3583 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3584 __getshmlba helper.
3585
edc21804
DM
3586 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3587
473c3ef3
L
35882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3589
3590 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3591 [__LP64__].
3592
eb0f39b6
L
35932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3594
3595 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3596 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3597 (__lround): Renamed to ...
3598 (__llround): This. Replace long int with long long int.
3599 Define lround functions as aliases of llround functions.
3600 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3601
6b6cd74b
L
36022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3603
3604 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3605 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3606 adresses to uintptr_t. Replace "long int" and "unsigned long
3607 int" with "greg_t" on va_arg.
3608
f1a77b01
L
36092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3610
3611 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3612 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3613
3614 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3615 Move e_machine check before EI_CLASS check. Handle x32
3616 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3617 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3618 SKIP_EM_IA_64 and include
3619 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3620
3621 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3622 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3623 (add_system_dir): New macro.
3624
3625 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3626 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3627
11b90b9f
JM
36282012-03-16 Joseph Myers <joseph@codesourcery.com>
3629
c36e1d23
JM
3630 [BZ #2551]
3631 [BZ #2552]
3632 [BZ #2553]
3633 [BZ #2554]
3634 [BZ #2562]
3635 [BZ #2563]
3636 [BZ #2565]
3637 [BZ #2566]
3638 [BZ #2576]
3639 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3640 (y0): Likewise.
3641 * math/w_j0f.c (j0f): Likewise.
3642 (y0f): Likewise.
3643 * math/w_j0l.c (__j0l): Likewise.
3644 (__y0l): Likewise.
3645 * math/w_j1.c (j1): Likewise.
3646 (y1): Likewise.
3647 * math/w_j1f.c (j1f): Likewise.
3648 (y1f): Likewise.
3649 * math/w_j1l.c (__j1l): Likewise.
3650 (__y1l): Likewise.
3651 * math/w_jn.c (jn): Likewise.
3652 (yn): Likewise.
3653 * math/w_jnf.c (jnf): Likewise.
3654 (ynf): Likewise.
3655 * math/w_jnl.c (__jnl): Likewise.
3656 (__ynl): Likewise.
3657 * math/libm-test.inc (j0_test): Add more tests.
3658 (j1_test): Likewise.
3659 (jn_test): Likewise. Add trailing semicolon to existing test.
3660 (y0_test): Likewise.
3661 (y1_test): Likewise.
3662 * sysdeps/i386/fpu/libm-test-ulps: Update.
3663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3664
11b90b9f
JM
3665 [BZ #13851]
3666 [BZ #13854]
3667 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3668 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3669 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3670 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3671 (__tanl): Set errno for infinite argument.
3672 * sysdeps/i386/fpu/mptan.c: Remove.
3673 * sysdeps/i386/fpu/s_tan.S: Likewise.
3674 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3675 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3676 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3677 * math/libm-test.inc (tan_test): Add more tests and enable more
3678 tests for double and long double.
3679 * sysdeps/i386/fpu/libm-test-ulps: Update.
3680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3681
6a1bd2a1
JK
36822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3683
3684 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3685 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3686
10a803e0
RM
36872012-03-16 Roland McGrath <roland@hack.frob.com>
3688
3689 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3690 * configure.in: Use it for both main tree and add-ons.
3691 * configure: Regenerated.
3692
f196c7f7
L
36932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3694
3695 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3696
8848d99d
JM
36972012-03-16 Joseph Myers <joseph@codesourcery.com>
3698
96cbe7f4
JM
3699 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3700 in comment.
3701
8848d99d
JM
3702 [BZ #13851]
3703 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3704 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3708 infinite argument.
3709 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3710 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3711 != 0 for prec == 2.
3712 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3713 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3714 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3715 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3716 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3717 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3718 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3719 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3720 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3721 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3722 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3723 * math/libm-test.inc (cos_test): Add more tests and enable more
3724 tests for long double.
3725 (sin_test): Likewise.
3726 (sincos_test): Likewise.
3727 * sysdeps/i386/fpu/libm-test-ulps: Update.
3728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3729
dd7f4703
DM
37302012-03-16 David S. Miller <davem@davemloft.net>
3731
3732 * sysdeps/sparc/fpu/math_private.h: New file.
3733
006f1daa
DM
37342012-03-15 David S. Miller <davem@davemloft.net>
3735
c0c83bc8
DM
3736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3737 file.
e6a62e18 3738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3740 file.
e6a62e18
DM
3741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3746 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3747 sysdep routines.
3748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3749
88cb87d9
DM
3750 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3751 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3752
006f1daa 3753 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3755 sparc-ifunc.h
006f1daa 3756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3758 Likewise.
3759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3760 Likewise.
006f1daa
DM
3761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3765 Likewise.
006f1daa
DM
3766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3771 Likewise.
3772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3773 Likewise.
006f1daa
DM
3774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3792 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3793 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3794 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3795 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3796 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3797 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3798
11e0098e
AS
37992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3800
3801 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3802 scaling.
3803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3804
e85b09d0
AJ
38052012-03-15 Andreas Jaeger <aj@suse.de>
3806
3807 [BZ #13852]
3808 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3809 ieee754/flt-32 implementation for sin, cos and sincos.
3810 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3811 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3812 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3813 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3814 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3815 ieee754/flt-32 implementation for tan.
3816
3817 * math/libm-test.inc (cos_test): Enable some large input tests for
3818 float as well
3819 (sin_test): Likewise.
3820 (sincos_test): Likewise.
3821 (tan_test): Add tests for large input.
3822
3823 * sysdeps/i386/fpu/libm-test-ulps: Update.
3824
81c64153
AJ
38252012-03-15 Andreas Jaeger <aj@suse.de>
3826
3827 [BZ #13658]
3828 * math/libm-test.inc (cos_test): Add more test cases.
3829 (sin_test): Likewise.
3830 (sincos_test): Likewise.
3831
7bbfa5c6
AJ
38322012-03-15 Andreas Jaeger <aj@suse.de>
3833
3834 [BZ #13837]
3835 * math/libm-test.inc (cos_test): Add a test case for large input
3836 value.
3837 (sin_test): Likewise.
3838 (sincos_test): Likewise.
3839
38402012-03-15 Andreas Jaeger <aj@suse.de>,
3841 Joseph Myers <joseph@codesourcery.com>
3842
3843 [BZ #13658]
0671f479 3844 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3845 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3846 * sysdeps/i386/fpu/branred.c: Likewise.
3847 * sysdeps/i386/fpu/dosincos.c: Likewise.
3848 * sysdeps/i386/fpu/mpa.c: Likewise.
3849 * sysdeps/i386/fpu/s_cos.S: Likewise.
3850 * sysdeps/i386/fpu/s_sin.S: Likewise.
3851 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3852 * sysdeps/i386/fpu/sincos32.c: Likewise.
3853
3854 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3855 Define.
3856 (libc_feupdateenv_53bit): Define.
3857 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3858 Define.
3859 (libc_feupdateenv_53bit): Define.
3860
3861 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3862 53 bit (without extend i386 double precision).
3863
3864 * math/libm-test.inc (sincos_test): Add tests for large input.
3865 (sin): Likewise.
3866 (cos): Likewise.
3867
3868 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3869
9cad04ea
AS
38702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3871
3872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3873
f7062b9a
DM
38742012-03-15 David S. Miller <davem@davemloft.net>
3875
3876 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3877 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3878 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3879 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3892 file.
f7062b9a 3893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3895 file.
f7062b9a 3896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3898 file.
f7062b9a 3899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3901 file.
f7062b9a
DM
3902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3904 fmin/fmax sysdep routines.
3905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3906
7bd951ff
DM
39072012-03-14 David S. Miller <davem@davemloft.net>
3908
559398ab
DM
3909 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3913 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3914 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3915 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3916 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3929 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3930 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3931 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3932 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3933 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3934 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3935 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3938 routines.
3939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3940 file.
559398ab 3941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3943 file.
559398ab 3944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3946 file.
559398ab 3947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3949 file.
559398ab 3950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3952 file.
559398ab 3953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3955 file.
3956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3957 file.
3958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3959 file.
3960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3961 file.
3962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3963 New file.
3964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3965 file.
3966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3967 file.
559398ab 3968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3970 file.
559398ab 3971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3973 file.
559398ab 3974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3976 file.
559398ab 3977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3979 VIS3 routines.
559398ab
DM
3980
3981 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3982 New file.
3983
5a1c1e32
DM
3984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3985
eae47a36
DM
3986 * sysdeps/sparc/configure.in: New file.
3987 * sysdeps/sparc/configure: Generate.
3988 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3989 * configure: Regenerate.
3990 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3991 * config.make.in (have-as-vis3): New.
3992 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3993 available use -Av9d instead of -Av9a.
3994 * sysdeps/sparc/sparc64/Makefile: Likewise.
3995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3997 New file.
3998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3999 file.
4000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4001 New file.
4002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4003 file.
eae47a36
DM
4004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4005 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4006 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4007 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4008 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4009
c0c83bc8
DM
4010 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4011 fzeros/fnegs to load 0x80000000 into a float register instead of
4012 using the stack.
7bd951ff
DM
4013 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4014
bd951ccb
JM
40152012-03-14 Joseph Myers <joseph@codesourcery.com>
4016
4017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4018 bits/syscall.h.
4019 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4020 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4021 ($(inst_includedir)/bits/syscall.h): Remove rule.
4022 ($(objpfx)bits/syscall.d): Include instead of
4023 $(objpfx)syscall-list.d.
4024 (generated): Change syscall-list.h and syscall-list.d to
4025 bits/syscall.h and bits/syscall.d.
4026
bb4e6db2
RM
40272012-03-14 Roland McGrath <roland@hack.frob.com>
4028
4029 [BZ #13846]
4030 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4031
aa4a2ae1
JM
40322012-03-14 Joseph Myers <joseph@codesourcery.com>
4033
e456826d
JM
4034 [BZ #13841]
4035 * math/s_csqrt.c: Include <float.h>.
4036 (__csqrt): Scale large or subnormal inputs.
4037 * math/s_csqrtf.c: Likewise.
4038 * math/s_csqrtl.c: Likewise.
4039 * math/libm-test.inc (csqrt_test): Add more tests.
4040 * sysdeps/i386/fpu/libm-test-ulps: Update.
4041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4042
aa4a2ae1
JM
4043 [BZ #13840]
4044 * math/libm-test.inc (hypot_test): Add more tests.
4045
7c10fd35
DM
40462012-03-13 David S. Miller <davem@davemloft.net>
4047
4048 [BZ #13840]
4049 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4050 double-precision for the calculation instead of scaling.
4051
f453b98b
JM
40522012-03-13 Joseph Myers <joseph@codesourcery.com>
4053
4054 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4055 manipulate bits before adding and subtracting TWO52[sx].
4056 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4057 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4058 Likewise.
4059 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4060
09a3453f
DM
40612012-03-13 David S. Miller <davem@davemloft.net>
4062
8e59da90
DM
4063 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4064 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4065 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4066 rtld-global-offsets.h
4067 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4068
2a8ab7f2
DM
4069 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4070 large parameters.
4071
10f62770
DM
4072 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4073
5f0bdb18
DM
4074 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4075 'err' in the ifdef scope in which it is actually used.
4076
09a3453f
DM
4077 * nss/nss_db/db-init.c: Include string.h
4078
b4b2eb5e
DM
40792012-03-12 David S. Miller <davem@davemloft.net>
4080
98bb2f1c
DM
4081 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4082 masking out of the most significant byte of random value used.
4083 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4084 Fix coding style in previous change.
4085
b4b2eb5e
DM
4086 * sysdeps/unix/sysv/linux/kernel-features.h
4087 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4088 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4089 expression.
4090 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4091 later.
4092
6e226b09
DM
40932012-03-11 David S. Miller <davem@davemloft.net>
4094
a1bcbd40
DM
4095 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4096 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4097 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4098 for 'resultvar' otherwise things get truncated on 64-bit.
4099
cb9d6174
DM
4100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4101 Fix masking out of the most significant byte of random value used.
4102
6e226b09
DM
4103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4104
058c132d
AS
41052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4106
4107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4108
2d2cd515
DM
41092012-03-09 David S. Miller <davem@davemloft.net>
4110
4111 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4112 variables with appropriate CPP guards.
4113 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4114 frame pointer, not the stack pointer. Correct layout comments. Fix test
4115 on resulting framesize and the management of the outregs buffer for pltexit.
4116 Preserve floating point return values across _dl_call_pltexit call.
4117 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4118 framesize and the management of the outregs buffer for pltexit.
4119 Preserve floating point return values across _dl_call_pltexit
4120 call.
4121 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4122 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4123 (print_exit): Fix format string for return register value.
4124
9a07f9d0
JM
41252012-03-10 Joseph Myers <joseph@codesourcery.com>
4126
4127 * sunrpc/Makefile (others): Add rpcgen.
4128 ($(objpfx)rpcgen): Remove special build rule and dependency on
4129 libc.
4130 * sunrpc/rpcgen.c: New file.
4131
547b5e30
PE
41322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4133
c524201a
PE
4134 [BZ #13673]
4135 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4136 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4137 * sysdeps/i386/crti.S: Likewise.
4138 * sysdeps/i386/crtn.S: Likewise.
4139 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4140 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4141 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4142 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4143 * sysdeps/sh/crti.S: Likewise.
4144 * sysdeps/sh/crtn.S: Likewise.
4145 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4146
7b6235f2
PE
4147 [BZ #13673]
4148 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4149 with URL.
4150 * locale/programs/locfile-kw.gperf: Likewise.
4151 * locale/programs/charmap-kw.h: Regenerated.
4152 * locale/programs/locfile-kw.h: Likewise.
4153
547b5e30
PE
4154 [BZ #13673]
4155 * intl/plural.y: Replace FSF snail mail address with URL.
4156 * intl/plural.c: Regenerated.
4157
5f0a5dae
RH
41582012-03-09 Richard Henderson <rth@twiddle.net>
4159
4160 * include/math_private.h: Remove file.
4161 * math/math_private.h: Move file ...
4162 * sysdeps/generic/math_private.h: ... here.
4163
b8c03620
RH
4164 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4165 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4166 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4167
4e234f5d 4168 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4169 and <math_private.h>.
4170 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4171 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4172 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4173 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4174 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4258 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4259 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4260 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4261 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4262 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4263 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4264 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4265 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4266 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4267 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4268 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4269 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4270 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4271 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4272 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4273 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4274 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4275 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4276 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4277 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4278 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4279 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4280 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4281 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4282 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4283 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4284 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4285 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4286 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4287 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4288 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4289 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4290 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4291 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4292 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4293 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4294 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4295 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4296 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4297 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4298 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4299 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4300 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4301 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4302 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4303 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4304 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4305 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4306 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4307 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4308 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4309 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4310 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4311 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4312 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4313 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4314 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4315 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4316 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4317 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4318 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4319 * sysdeps/ieee754/k_standard.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4345 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4347 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4423 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4435 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4439 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4440 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4442 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4443 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4444 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4446 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4447 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4452 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4453 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4460 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4468 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4469 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4470 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4472 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4473 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4474 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4475 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4476 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4478 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4480 * sysdeps/ieee754/s_lib_version.c: Likewise.
4481 * sysdeps/ieee754/s_matherr.c: Likewise.
4482 * sysdeps/ieee754/s_signgam.c: Likewise.
4483 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4484 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4485 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4486 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4487 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4488 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4489 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4490 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4491 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4492 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4493 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4494 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4495 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4496 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4497 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4498 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4499 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4500 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4501 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4502 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4503 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4504
1991fa03
JM
45052012-03-09 Joseph Myers <joseph@codesourcery.com>
4506
4507 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4508 * sunrpc/rpc_main.c: Likewise.
4509 * sunrpc/rpc_svcout.c: Likewise.
4510
60d6f5a6
DM
45112012-03-09 David S. Miller <davem@davemloft.net>
4512
4513 * include/math_private.h: New file.
4514
4962050e
JM
45152012-03-09 Joseph Myers <joseph@codesourcery.com>
4516
02a6f887
JM
4517 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4518 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4519 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4520 from <bits/socket_type.h>.
4521 (enum __socket_type): Don't define here.
4522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4524 bits/socket_type.h.
4525
c6e013c1
JM
4526 [BZ #13566]
4527 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4528 checking __USE_GNU.
4529
4962050e
JM
4530 * Makerules ($(inst_includedir)/%.h): New rule.
4531 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4532 (install-others): Remove variable setting.
4533 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4534
38842f45
RH
45352012-03-08 Richard Henderson <rth@twiddle.net>
4536
67bb6da6
RH
4537 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4538 from macro to inline function; merge with the
4539 !__LIBC_INTERNAL_MATH_INLINES version.
4540 (__ieee754_sqrtf): Likewise.
4541
15194b4b
RH
4542 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4543 to inline function.
4544 (__rintf, __floor, __floorf): Likewise.
4545
64e21ede
RH
4546 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4547 macro to inline function.
4548 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4549
38842f45
RH
4550 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4551 not <math/math_private.h>.
4552
c64bf5fe
DM
45532012-03-08 David S. Miller <davem@davemloft.net>
4554
4555 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4556 copyright year.
4557 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4558
82d86f28
TS
45592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4560
4561 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4562 normalization.
4563 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4564 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4565
aea5d727
UD
45662012-03-08 Ulrich Drepper <drepper@gmail.com>
4567
4568 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4569 be defined individually, they must be defined as a block. Define
4570 S for printing a string instead of hidint the different by using a
4571 macro for adding the 'l'.
4572 * stdio-common/tst-fphex-wide.c: Adjust.
4573
70bca0a3
MP
45742012-03-07 Marek Polacek <polacek@redhat.com>
4575
4576 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4577
65b81130
MP
45782012-03-08 Marek Polacek <polacek@redhat.com>
4579
4580 [BZ #13806]
4581 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4582 * stdio-common/tst-fphex.c: Define a few macros to make the
4583 test reusable. Use them.
4584 * stdio-common/tst-fphex-wide.c: New file.
4585
07037eeb
JM
45862012-03-08 Joseph Myers <joseph@codesourcery.com>
4587
a7a93d50
JM
4588 [BZ #6911]
4589 * manual/macros.texi (gnusystems): New macro.
4590 (nongnusystems): Likewise.
4591 (gnulinuxhurdsystems): Likewise.
4592 (gnuhurdsystems): Likewise..
4593 (gnulinuxsystems): Likewise.
4594 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4595 variants of the GNU system, not "GNU system".
4596 * manual/conf.texi: Likewise.
4597 * manual/errno.texi: Likewise. Update example of errno macro
4598 expansion.
4599 * manual/filesys.texi: Likewise.
4600 (getumask): Document as specific to GNU/Hurd.
4601 * manual/install.texi: Likewise. Reword some references to
4602 GNU/Linux.
4603 * manual/intro.texi: Likewise.
4604 * manual/io.texi: Likewise.
4605 (File Name Portability): Detail which constraints are inapplicable
4606 to all GNU systems and which are only inapplicable to GNU/Hurd.
4607 * manual/job.texi: Likewise.
4608 * manual/llio.texi: Likewise.
4609 (O_NOCTTY): Document as present on GNU/Linux.
4610 * manual/maint.texi: Likewise.
4611 * manual/memory.texi: Likewise.
4612 * manual/pattern.texi: Likewise.
4613 * manual/pipe.texi: Likewise.
4614 * manual/process.texi: Likewise.
4615 * manual/resource.texi: Likewise.
4616 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4617 child on GNU/Hurd.
4618 * manual/setjmp.texi: Likewise.
4619 * manual/signal.texi: Likewise.
4620 * manual/startup.texi: Likewise.
4621 * manual/stdio.texi: Likewise.
4622 * manual/terminal.texi: Likewise.
4623 (ONLCR): Document as POSIX.
4624 (OXTABS): Document availability on GNU/Linux as XTABS.
4625 (ONOEOT): Document availability separately from other bits.
4626 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4627 * manual/time.texi: Likewise.
4628 * manual/users.texi: Likewise.
4629 * INSTALL: Regenerated.
4630 * sysdeps/gnu/errlist.c: Regenerated.
4631
07037eeb
JM
4632 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4633 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4634 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4635 puts.
4636 * configure: Regenerated.
4637
d1d3431a
JM
46382012-03-07 Joseph Myers <joseph@codesourcery.com>
4639
af6a1e37
JM
4640 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4641 default includes instead of AC_HEADER_CHECK.
4642 * sysdeps/i386/configure: Regenerated.
4643
d1d3431a
JM
4644 [BZ #10716]
4645 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4646 * math/s_cacoshf.c (__cacoshf): Likewise.
4647 * math/s_cacoshl.c (__cacoshl): Likewise.
4648 * math/s_casinh.c (__casinh): Set signs of result from argument.
4649 * math/s_casinhf.c (__casinhf): Likewise.
4650 * math/s_casinhl.c (__casinhl): Likewise.
4651 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4652 (casinh_test): Add more tests.
4653 * sysdeps/i386/fpu/libm-test-ulps: Update.
4654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4655
482ff4da
UD
46562012-03-07 Ulrich Drepper <drepper@gmail.com>
4657
872fda05
UD
4658 * po/zh_TW.po: Update from translation team.
4659
a4300c7a
UD
4660 * login/Makefile (distribute): Remove variable.
4661 * catgets/Makefile: Likewise.
4662 * mach/Makefile: Likewise.
4663 * malloc/Makefile: Likewise.
4664 * misc/Makefile: Likewise.
4665 * iconv/Makefile: Likewise.
4666 * nscd/Makefile: Likewise.
4667 * hurd/Makefile: Likewise.
4668 * manual/Makefile: Likewise.
4669 * locale/Makefile: Likewise.
4670 * intl/Makefile: Likewise.
4671 * conform/Makefile: Likewise.
4672 * nss/Makefile: Likewise.
4673 * time/Makefile: Likewise.
4674 * soft-fp/Makefile: Likewise.
4675 * dirent/Makefile: Likewise.
4676 * gmon/Makefile: Likewise.
4677 * po/Makefile: Likewise.
4678 * rt/Makefile: Likewise.
4679 * socket/Makefile: Likewise.
4680 * math/Makefile: Likewise.
4681 * signal/Makefile: Likewise.
4682 * debug/Makefile: Likewise.
4683 * elf/Makefile: Likewise.
4684 * timezone/Makefile: Likewise.
4685 * stdlib/Makefile: Likewise.
4686 * iconvdata/Makefile: Likewise.
4687 * sunrpc/Makefile: Likewise.
4688 * io/Makefile: Likewise.
4689 * argp/Makefile: Likewise.
4690 * inet/Makefile: Likewise.
4691 * hesiod/Makefile: Likewise.
4692 * grp/Makefile: Likewise.
4693 * csu/Makefile: Likewise.
4694 * wctype/Makefile: Likewise.
4695 * crypt/Makefile: Likewise.
4696 * libio/Makefile: Likewise.
4697 * string/Makefile: Likewise.
4698 * nis/Makefile: Likewise.
4699 * resolv/Makefile: Likewise.
4700 * stdio-common/Makefile: Likewise.
4701 * wcsmbs/Makefile: Likewise.
4702 * dlfcn/Makefile: Likewise.
4703 * posix/Makefile: Likewise.
4704
3b7c4e74 4705 [BZ #6959]
482ff4da
UD
4706 * timezone/Makefile: Don't install timezone files, just the programs
4707 and scripts.
4708
f72ed77d
UD
47092012-03-06 Ulrich Drepper <drepper@gmail.com>
4710
a000466f
UD
4711 * nss/databases.def: Add missing gshadow entry.
4712
f72ed77d
UD
4713 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4714
a53b7a4e
MP
47152012-03-06 Marek Polacek <polacek@redhat.com>
4716
4717 [BZ #13726]
4718 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4719 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4720 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4721 * stdio-common/tst-long-dbl-fphex.c: New file.
4722
e9258400
DM
47232012-03-06 David S. Miller <davem@davemloft.net>
4724
4725 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4726 (set_obp_int): New function.
4727 (get_obp_int): New function.
4728 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4729 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4730 Avoid unused variable warnings on 'val' and use builtin_expect.
4731 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4732 __builtin_expect.
e9258400
DM
4733 (INLINE_CLONE_SYSCALL): Likewise.
4734
3bd2c723
DM
47352012-03-05 David S. Miller <davem@davemloft.net>
4736
4737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4738
bbb78d03
AS
47392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4740
884c5db4
AS
4741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4742
bbb78d03
AS
4743 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4744 only for |x| >= 40.
4745 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4746
1c9f702a 47472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4748
4749 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4750 Replace gettimeofday with __vdso_gettimeofday.
4751
7be16f82
RM
4752 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4753 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4754 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4755
4756 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4757 time with __vdso_time.
4758
ed58a00f
JM
47592012-03-05 Joseph Myers <joseph@codesourcery.com>
4760
4761 * manual/lang.texi (size_t): Note types to which size_t may be
4762 equivalent with the GNU C Library, but do not describe when
4763 differences between them are significant.
4764
30ee4ced
AJ
47652012-03-05 Andreas Jaeger <aj@suse.de>
4766
4767 * sysdeps/i386/fpu/libm-test-ulps: Update.
4768
b7cd39e8
JM
47692012-03-05 Joseph Myers <joseph@codesourcery.com>
4770
4771 [BZ #3976]
4772 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4773 (__ieee754_pow): Save and restore rounding mode and use
4774 round-to-nearest for main computations.
4775 * math/libm-test.inc (pow_test_tonearest): New function.
4776 (pow_test_towardzero): Likewise.
4777 (pow_test_downward): Likewise.
4778 (pow_test_upward): Likewise.
4779 (main): Call the new functions.
4780 * sysdeps/i386/fpu/libm-test-ulps: Update.
4781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4782
4783 [BZ #3976]
4784 * math/libm-test.inc (cosh_test_tonearest): New function.
4785 (cosh_test_towardzero): Likewise.
4786 (cosh_test_downward): Likewise.
4787 (cosh_test_upward): Likewise.
4788 (sinh_test_tonearest): Likewise.
4789 (sinh_test_towardzero): Likewise.
4790 (sinh_test_downward): Likewise.
4791 (sinh_test_upward): Likewise.
4792 (main): Call the new functions.
4793 * sysdeps/i386/fpu/libm-test-ulps: Update.
4794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4795
6c6a98c9
TV
47962012-03-05 Tom de Vries <tom@codesourcery.com>
4797
4798 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4799 default stack guard is set in last bytes.
4800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4801
21bb2d2e 48022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4803
21bb2d2e 4804 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4805
21bb2d2e
AJ
4806 [BZ #13656]
4807 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4808 possibly allocate from heap instead of stack.
4809 * stdio-common/bug-vfprintf-nargs.c: New file.
4810 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4811
c6922934
AS
48122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4813
4814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4815
bc957d53
MP
48162012-03-03 Marek Polacek <polacek@redhat.com>
4817
4818 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4819 * math/math_private.h: Likewise.
4820 * stdlib/tst-strtod.c: Likewise.
4821 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4822 * sysdeps/x86_64/bits/atomic.h: Likewise.
4823
6358490d
DM
48242012-03-02 David S. Miller <davem@davemloft.net>
4825
4826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4830 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4831 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4832 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4833 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4834
01ae168d
RM
48352012-03-02 Roland McGrath <roland@hack.frob.com>
4836
d9a17c07
RM
4837 [BZ #13792]
4838 * manual/examples/README: New file, says the example source files
4839 can be used under GPL>=2.
4840 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4841 line containing just "*/".
4842 * manual/examples/add.c: Add copyright header (GPL>=2).
4843 * manual/examples/argp-ex1.c: Likewise.
4844 * manual/examples/argp-ex2.c: Likewise.
4845 * manual/examples/argp-ex3.c: Likewise.
4846 * manual/examples/argp-ex4.c: Likewise.
4847 * manual/examples/atexit.c: Likewise.
4848 * manual/examples/db.c: Likewise.
4849 * manual/examples/dir.c: Likewise.
4850 * manual/examples/dir2.c: Likewise.
4851 * manual/examples/execinfo.c: Likewise.
4852 * manual/examples/filecli.c: Likewise.
4853 * manual/examples/filesrv.c: Likewise.
4854 * manual/examples/fmtmsgexpl.c: Likewise.
4855 * manual/examples/genpass.c: Likewise.
4856 * manual/examples/inetcli.c: Likewise.
4857 * manual/examples/inetsrv.c: Likewise.
4858 * manual/examples/isockad.c: Likewise.
4859 * manual/examples/longopt.c: Likewise.
4860 * manual/examples/memopen.c: Likewise.
4861 * manual/examples/memstrm.c: Likewise.
4862 * manual/examples/mkfsock.c: Likewise.
4863 * manual/examples/mkisock.c: Likewise.
4864 * manual/examples/mygetpass.c: Likewise.
4865 * manual/examples/pipe.c: Likewise.
4866 * manual/examples/popen.c: Likewise.
4867 * manual/examples/rprintf.c: Likewise.
4868 * manual/examples/search.c: Likewise.
4869 * manual/examples/select.c: Likewise.
4870 * manual/examples/setjmp.c: Likewise.
4871 * manual/examples/sigh1.c: Likewise.
4872 * manual/examples/sigusr.c: Likewise.
4873 * manual/examples/stpcpy.c: Likewise.
4874 * manual/examples/strdupa.c: Likewise.
4875 * manual/examples/strftim.c: Likewise.
4876 * manual/examples/strncat.c: Likewise.
4877 * manual/examples/subopt.c: Likewise.
4878 * manual/examples/swapcontext.c: Likewise.
4879 * manual/examples/termios.c: Likewise.
4880 * manual/examples/testopt.c: Likewise.
4881 * manual/examples/testpass.c: Likewise.
4882 * manual/examples/timeval_subtract.c: Likewise.
4883
01ae168d
RM
4884 [BZ #13792]
4885 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4886 function to ...
4887 * manual/timeval_subtract.c.texi: ... here, new file.
4888
49efa33d
DM
48892012-03-02 David S. Miller <davem@davemloft.net>
4890
4891 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4892
28afd92d
JM
48932012-03-02 Joseph Myers <joseph@codesourcery.com>
4894
804360ed
JM
4895 [BZ #3976]
4896 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4897 (__sin): Save and restore rounding mode and use round-to-nearest
4898 for all computations.
4899 (__cos): Save and restore rounding mode and use round-to-nearest
4900 for all computations.
4901 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4902 <fenv.h>.
4903 (tan): Save and restore rounding mode and use round-to-nearest for
4904 all computations.
4905 * math/libm-test.inc (cos_test_tonearest): New function.
4906 (cos_test_towardzero): Likewise.
4907 (cos_test_downward): Likewise.
4908 (cos_test_upward): Likewise.
4909 (sin_test_tonearest): Likewise.
4910 (sin_test_towardzero): Likewise.
4911 (sin_test_downward): Likewise.
4912 (sin_test_upward): Likewise.
4913 (tan_test_tonearest): Likewise.
4914 (tan_test_towardzero): Likewise.
4915 (tan_test_downward): Likewise.
4916 (tan_test_upward): Likewise.
4917 (main): Call the new functions.
4918 * sysdeps/i386/fpu/libm-test-ulps: Update.
4919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4920
a6d06d7b
JM
4921 [BZ #10135]
4922 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4923 small n, then large n, before computing and testing k+n.
4924 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4926 Likewise.
4927 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4928 Likewise.
4929 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4930 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4931 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4932 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4933 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4934 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4935 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4936 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4937 * math/libm-test.inc (scalbn_test): Add more tests.
4938 (scalbln_test): Likewise.
4939
07e12bb3
JM
4940 * manual/filesys.texi (mode_t): Describe constraints on size and
4941 signedness, not exact equivalence to a particular type.
4942 (ino_t): Likewise.
4943 (ino64_t): Likewise.
4944 (dev_t): Likewise.
4945 (nlink_t): Likewise.
4946 (blkcnt_t): Likewise.
4947 (blkcnt64_t): Likewise.
4948 * manual/llio.texi (off_t): Likewise.
4949
28afd92d
JM
4950 [BZ #3976]
4951 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4952 (__ieee754_exp): Save and restore rounding mode and use
4953 round-to-nearest for all computations.
4954 * math/libm-test.inc (exp_test_tonearest): New function.
4955 (exp_test_towardzero): Likewise.
4956 (exp_test_downward): Likewise.
4957 (exp_test_upward): Likewise.
4958 (main): Call the new functions.
4959 * sysdeps/i386/fpu/libm-test-ulps: Update.
4960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4961
b1eeb65d
CD
49622012-03-01 Chris Demetriou <cgd@google.com>
4963
4964 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4965 have predictable order.
4966
53362a4b
DM
49672012-03-01 David S. Miller <davem@davemloft.net>
4968
3c969083
DM
4969 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4970
759707de
DM
4971 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4972 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4973 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4974 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4975
dfdb8ff2
DM
4976 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4977 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4978 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4980 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4981 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4982 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4983 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4984 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4985
ead89f96
DM
4986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4987
7f66bd07
DM
4988 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4989 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4991
53362a4b
DM
4992 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4993 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4994 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4995 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4996 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4997 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4998 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4999 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5000 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5001 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5002 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5003 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5004 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5005 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5006 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5007 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5008 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5009 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5010 * sysdeps/sparc/elf/configure: Regenerated.
5011
7b1902cb
JM
50122012-03-01 Joseph Myers <joseph@codesourcery.com>
5013
bec039bc
JM
5014 * configure.in (AS, LD): Require binutils 2.20 or later.
5015 * configure: Regenerated.
5016 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5017 as required minimum version.
5018 * INSTALL: Regenerated.
5019
7b1902cb
JM
5020 [BZ #2541]
5021 [BZ #4108]
5022 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5023 before squaring exponent.
5024 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5025 bottom long double and 27 bits of top long double before squaring
5026 exponent.
5027 * math/libm-test.inc (erfc_test): Add more tests.
5028 * sysdeps/i386/fpu/libm-test-ulps: Update.
5029 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5031
f775c276
KT
50322012-03-01 Kai Tietz <ktietz@redhat.com>
5033
5034 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5035 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5036 containing bit-fields.
5037 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5038 * soft-fp/single.h (_FP_UNION_S): Likewise.
5039 * soft-fp/double.h (_FP_UNION_D): Likewise.
5040
5b8a4d4a
JM
50412012-02-29 Joseph Myers <joseph@codesourcery.com>
5042
0bab47b6
JM
5043 [BZ #13786]
5044 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5045 not include ../strcmp.S.
5046 [USE_AS_STRNCASECMP_L]: Likewise.
5047 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5048 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5049 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5050 (__strncasecmp_l_ia32): Define as alias to
5051 __strncasecmp_l_nonascii.
5052
0fcad3e2
JM
5053 [BZ #5794]
5054 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5055 * sysdeps/i386/fpu/libm-test-ulps: Update.
5056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5057
5b8a4d4a
JM
5058 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5060
8fdceb2e
JL
50612012-02-29 Jeff Law <law@redhat.com>
5062
5063 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5064 out of bounds read.
5065
1f393a11
MP
50662012-02-29 Marek Polacek <polacek@redhat.com>
5067
5068 [BZ #13706]
5069 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5070 * elf/Makefile: Add rules to run tst-unused-dep.out.
5071
8847f037
DM
50722012-02-28 David S. Miller <davem@davemloft.net>
5073
5074 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5075 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5076 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5077 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5078 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5079 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5080
169d7f11
JM
50812012-02-29 Joseph Myers <joseph@codesourcery.com>
5082
5083 * math/libm-test.inc (llround_test): Move one test from
5084 lround_test. Use TEST_f_L in moved test.
5085 (lround_test): Move misplaced test to llround_test. Add testcase
5086 from bug 2561.
5087
39adf059
UD
50882012-02-28 Ulrich Drepper <drepper@gmail.com>
5089
5090 * sysdeps/x86_64/fpu/e_expf.S: New file.
5091 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5092
71b5d1c5
SB
50932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5094
5095 [BZ #13637]
5096 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5097 of remain_len that may cause incomplete multi-byte character and
5098 false match.
5099 * posix/bug-regex33.c: New file.
5100 * posix/Makefile (tests): Add bug-regex33.
5101
1f77f049
JM
51022012-02-28 Joseph Myers <joseph@codesourcery.com>
5103
5104 * manual/macros.texi: New file.
5105 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5106 * manual/libc.texinfo: Include macros.texi.
5107 * manual/creatute.texi: Likewise.
5108 * manual/install.texi: Likewise.
5109 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5110 @glibcadj{} in references to the GNU C Library.
5111 * manual/charset.texi: Likewise.
5112 * manual/conf.texi: Likewise.
5113 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5114 when not using those macros.
5115 * manual/creature.texi: Likewise.
5116 * manual/crypt.texi: Likewise.
5117 * manual/errno.texi: Likewise.
5118 * manual/filesys.texi: Likewise.
5119 * manual/header.texi: Likewise.
5120 * manual/install.texi: Likewise.
5121 * manual/intro.texi: Likewise.
5122 * manual/io.texi: Likewise.
5123 * manual/job.texi: Likewise.
5124 * manual/lang.texi: Likewise.
5125 * manual/libc.texiinfo: Likewise.
5126 * manual/llio.texi: Likewise.
5127 * manual/locale.texi: Likewise.
5128 * manual/maint.texi: Likewise.
5129 * manual/math.texi: Likewise.
5130 * manual/memory.texi: Likewise.
5131 * manual/message.texi: Likewise.
5132 * manual/nss.texi: Likewise.
5133 * manual/pattern.texi: Likewise.
5134 * manual/process.texi: Likewise.
5135 * manual/resource.texi: Likewise.
5136 * manual/search.texi: Likewise.
5137 * manual/setjmp.texi: Likewise.
5138 * manual/signal.texi: Likewise.
5139 * manual/socket.texi: Likewise.
5140 * manual/startup.texi: Likewise.
5141 * manual/stdio.texi: Likewise.
5142 * manual/string.texi: Likewise.
5143 * manual/sysinfo.texi: Likewise.
5144 * manual/syslog.texi: Likewise.
5145 * manual/terminal.texi: Likewise.
5146 * manual/time.texi: Likewise.
5147 * manual/users.texi: Likewise.
5148 * INSTALL: Regenerated.
5149 * NOTES: Regenerated.
d40c5d54 5150 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5151
450bf206
AS
51522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5153
5154 * include/dirent.h: Include <dirstream.h> before
5155 <dirent/dirent.h>.
5156
741a235b
DM
51572012-02-28 David S. Miller <davem@davemloft.net>
5158
5159 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5160 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5161 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5162 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5163
d6b5aa58
DM
51642012-02-27 David S. Miller <davem@davemloft.net>
5165
1aff59a3
DM
5166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5168 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5169 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5170
d6b5aa58
DM
5171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5172 frame pointer instead of stack pointer relative arg slot.
5173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5174 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5175 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5176
433f48bf
CD
51772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5178
5179 [BZ #3992]
5180 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5181
d674b76d
DM
51822012-02-27 David S. Miller <davem@davemloft.net>
5183
5184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5188 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5189 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5190 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5191 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5192
0e7727f7
JM
51932012-02-27 Joseph Myers <joseph@codesourcery.com>
5194
5195 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5196 later. Allow versions 5-9.
43be4ca2 5197 * configure: Regenerated.
0e7727f7
JM
5198 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5199 required minimum version and 4.6 as recommended version. Do not
5200 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5201 * INSTALL: Regenerated.
0e7727f7 5202
a78bc654
DM
52032012-02-27 David S. Miller <davem@davemloft.net>
5204
428d5830
DM
5205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5209 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5210 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5211 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5212 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5213
a78bc654
DM
5214 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5215 manipulate bits before adding and subtracting TWO112[sx].
5216 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5217
4579f81c
RM
52182012-02-27 Roland McGrath <roland@hack.frob.com>
5219
36c8acb4
RM
5220 [BZ #13775]
5221 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5222 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5223 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5224 being in POSIX, because they are in 1003.1-2008.
5225
84ad622b
RM
5226 * rt/tst-aio.c: Include <fcntl.h>.
5227 * rt/tst-aio7.c: Likewise.
5228 * rt/tst-aio64.c: Likewise.
5229
4579f81c
RM
5230 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5231
abd923db
JM
52322012-02-27 Joseph Myers <joseph@codesourcery.com>
5233
5234 * manual/install.texi (--with-headers): Describe headers as
5235 interface headers, not private headers.
5236 (Specific advice for GNU/Linux systems): Describe use of headers
5237 from "make headers_install", not private headers from older
5238 kernels.
43be4ca2 5239 * INSTALL: Regenerated.
abd923db
JM
5240 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5241 Change to 2.6.19.
5242 * sysdeps/unix/sysv/linux/configure: Regenerated.
5243
6664049b
JM
5244 * manual/llio.texi (fclean): Remove documentation.
5245
bb8b6697
JM
5246 * manual/Makefile (libc-texi-generated): New variable. Include
5247 version.texi.
5248 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5249 $(libc-texi-generated), not duplicated list of files.
5250 (version.texi, stamp-version): New rules.
5251 (realclean): Remove $(libc-texi-generated), not individual files
5252 from that list. Do not remove dir-add.texinfo.
5253 * manual/libc.texinfo: Comment out uses of edition numbers and
5254 references to printed manual. Remove last-updated dates.
5255 (EDITION): Comment out.
5256 (ISBN): Likewise.
5257 (VERSION, UPDATED): Remove.
5258 (version.texi): Include.
5259
12e5c3b9
AS
52602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5261
5262 * sysdeps/posix/spawni.c: Include <signal.h>.
5263 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5264 * sysdeps/pthread/aio_fsync.c: Likewise.
5265
4efeffc1 52662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5267
ba63ba08
UD
5268 * conform/Makefile (tests): Run only when not cross-compiling and
5269 when fast-check is not defined.
5270
d94a4670
UD
5271 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5272 * conform/data/limits.h-data: Fixes for POSIX2008.
5273 * conform/run-conformtest.sh: Run all tests.
5274 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5275 headers.
5276 * include/bits/dlfcn.h: Likewise.
5277 * include/langinfo.h: Likewise.
5278 * include/monetary.h: Likewise.
5279 * include/sys/poll.h: Likewise.
5280
5281 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5282 for __USE_GNU.
5283 * posix/spawn.h: Define __need_sigset_t.
5284 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5285 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5286 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5287 to get sigevent_t only.
5288 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5289 only for __USE_GNU.
5290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5291 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5292 process_vm_writev only for __USE_GNU.
5293 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5294
5295 * conform/Makefile: For now ignore errors from run-conformtest.
5296 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5297 POSIX to avoid namespace pollution. Don't prepend headers.
5298 * conform/data/aio.h-data: Fixes for POSIX testing.
5299 * conform/data/fcntl.h-data: Likewise.
5300 * conform/data/glob.h-data: Likewise.
5301 * conform/data/grp.h-data: Likewise.
5302 * conform/data/pthread.h-data: Likewise.
5303 * conform/data/pwd.h-data: Likewise.
5304 * conform/data/signal.h-data: Likewise.
5305 * conform/data/spawn.h-data: Likewise.
5306 * conform/data/stdio.h-data: Likewise.
5307 * conform/data/stdlib.h-data: Likewise.
5308 * conform/data/stropts.h-data: Likewise.
5309 * conform/data/sys/mman.h-data: Likewise.
5310 * conform/data/sys/stat.h-data: Likewise.
5311 * conform/data/sys/types.h-data: Likewise.
5312 * conform/data/sys/wait.h-data: Likewise.
5313 * conform/data/time.h-data: Likewise.
5314 * conform/data/unistd.h-data: Likewise.
5315 * conform/data/utime.h-data: Likewise.
5316
5317 * io/sys/stat.h: fchmod was always in POSIX.
5318 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5319 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5320 * rt/aio.h: Define __need_timespec before including <time.h>.
5321 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5322 struct. Add forward declaration of pthread_attr_t and use it in
5323 sigevent.
5324 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5325 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5326 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5327 always remove CLK_TCK definition.
5328
c20105c3
AS
53292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5330
5331 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5332
7a270350
UD
53332012-02-25 Ulrich Drepper <drepper@gmail.com>
5334
31341567
UD
5335 * conform/run-conformtest.sh: New file.
5336 * conform/Makefile: Run run-conformtest for tests.
5337 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5338 support.
5339
5340 * conform/data/uchar.h-data: New file.
5341 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5342 * conform/data/arpa/inet.h-data: Likewise.
5343 * conform/data/assert.h-data: Likewise.
5344 * conform/data/complex.h-data: Likewise.
5345 * conform/data/cpio.h-data: Likewise.
5346 * conform/data/ctype.h-data: Likewise.
5347 * conform/data/dirent.h-data: Likewise.
5348 * conform/data/dlfcn.h-data: Likewise.
5349 * conform/data/errno.h-data: Likewise.
5350 * conform/data/fcntl.h-data: Likewise.
5351 * conform/data/float.h-data: Likewise.
5352 * conform/data/fmtmsg.h-data: Likewise.
5353 * conform/data/fnmatch.h-data: Likewise.
5354 * conform/data/ftw.h-data: Likewise.
5355 * conform/data/glob.h-data: Likewise.
5356 * conform/data/grp.h-data: Likewise.
5357 * conform/data/iconv.h-data: Likewise.
5358 * conform/data/inttypes.h-data: Likewise.
5359 * conform/data/langinfo.h-data: Likewise.
5360 * conform/data/libgen.h-data: Likewise.
5361 * conform/data/limits.h-data: Likewise.
5362 * conform/data/locale.h-data: Likewise.
5363 * conform/data/math.h-data: Likewise.
5364 * conform/data/monetary.h-data: Likewise.
5365 * conform/data/mqueue.h-data: Likewise.
5366 * conform/data/ndbm.h-data: Likewise.
5367 * conform/data/net/if.h-data: Likewise.
5368 * conform/data/netdb.h-data: Likewise.
5369 * conform/data/netinet/in.h-data: Likewise.
5370 * conform/data/nl_types.h-data: Likewise.
5371 * conform/data/poll.h-data: Likewise.
5372 * conform/data/pthread.h-data: Likewise.
5373 * conform/data/pwd.h-data: Likewise.
5374 * conform/data/regex.h-data: Likewise.
5375 * conform/data/sched.h-data: Likewise.
5376 * conform/data/search.h-data: Likewise.
5377 * conform/data/semaphore.h-data: Likewise.
5378 * conform/data/setjmp.h-data: Likewise.
5379 * conform/data/signal.h-data: Likewise.
5380 * conform/data/spawn.h-data: Likewise.
5381 * conform/data/stdarg.h-data: Likewise.
5382 * conform/data/stdio.h-data: Likewise.
5383 * conform/data/stdlib.h-data: Likewise.
5384 * conform/data/string.h-data: Likewise.
5385 * conform/data/strings.h-data: Likewise.
5386 * conform/data/stropts.h-data: Likewise.
5387 * conform/data/sys/ipc.h-data: Likewise.
5388 * conform/data/sys/mman.h-data: Likewise.
5389 * conform/data/sys/msg.h-data: Likewise.
5390 * conform/data/sys/resource.h-data: Likewise.
5391 * conform/data/sys/select.h-data: Likewise.
5392 * conform/data/sys/sem.h-data: Likewise.
5393 * conform/data/sys/shm.h-data: Likewise.
5394 * conform/data/sys/socket.h-data: Likewise.
5395 * conform/data/sys/stat.h-data: Likewise.
5396 * conform/data/sys/statvfs.h-data: Likewise.
5397 * conform/data/sys/time.h-data: Likewise.
5398 * conform/data/sys/timeb.h-data: Likewise.
5399 * conform/data/sys/times.h-data: Likewise.
5400 * conform/data/sys/types.h-data: Likewise.
5401 * conform/data/sys/uio.h-data: Likewise.
5402 * conform/data/sys/un.h-data: Likewise.
5403 * conform/data/sys/utsname.h-data: Likewise.
5404 * conform/data/sys/wait.h-data: Likewise.
5405 * conform/data/syslog.h-data: Likewise.
5406 * conform/data/tar.h-data: Likewise.
5407 * conform/data/termios.h-data: Likewise.
5408 * conform/data/utime.h-data: Likewise.
5409 * conform/data/utmpx.h-data: Likewise.
5410 * conform/data/varargs.h-data: Likewise.
5411 * conform/data/wchar.h-data: Likewise.
5412 * conform/data/wctype.h-data: Likewise.
5413 * conform/data/wordexp.h-data: Likewise.
5414
5415 * include/stropts.h: New file.
5416 * include/uchar.h: New file.
5417 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5418 * include/assert.h: Likewise.
5419 * include/ctype.h: Likewise.
5420 * include/dirent.h: Likewise.
5421 * include/dlfcn.h: Likewise.
5422 * include/fcntl.h: Likewise.
5423 * include/fnmatch.h: Likewise.
5424 * include/glob.h: Likewise.
5425 * include/grp.h: Likewise.
5426 * include/libio.h: Likewise.
5427 * include/locale.h: Likewise.
5428 * include/math.h: Likewise.
5429 * include/net/if.h: Likewise.
5430 * include/netdb.h: Likewise.
5431 * include/netinet/in.h: Likewise.
5432 * include/pthread.h: Likewise.
5433 * include/pwd.h: Likewise.
5434 * include/regex.h: Likewise.
5435 * include/sched.h: Likewise.
5436 * include/search.h: Likewise.
5437 * include/setjmp.h: Likewise.
5438 * include/signal.h: Likewise.
5439 * include/stdio.h: Likewise.
5440 * include/stdlib.h: Likewise.
5441 * include/string.h: Likewise.
5442 * include/sys/cdefs.h: Likewise.
5443 * include/sys/mman.h: Likewise.
5444 * include/sys/msg.h: Likewise.
5445 * include/sys/resource.h: Likewise.
5446 * include/sys/select.h: Likewise.
5447 * include/sys/socket.h: Likewise.
5448 * include/sys/stat.h: Likewise.
5449 * include/sys/statvfs.h: Likewise.
5450 * include/sys/time.h: Likewise.
5451 * include/sys/times.h: Likewise.
5452 * include/sys/uio.h: Likewise.
5453 * include/sys/utsname.h: Likewise.
5454 * include/sys/wait.h: Likewise.
5455 * include/termios.h: Likewise.
5456 * include/time.h: Likewise.
5457 * include/ulimit.h: Likewise.
5458 * include/unistd.h: Likewise.
5459 * include/utime.h: Likewise.
5460 * include/wchar.h: Likewise.
5461 * include/wctype.h: Likewise.
5462 * include/wordexp.h: Likewise.
5463
5464 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5465
7a270350
UD
5466 * time/time.h: TIME_UTC must be a macro.
5467 Make timespec_get available for ISO C11 only as well.
5468
7724defc
UD
54692012-02-24 Ulrich Drepper <drepper@gmail.com>
5470
5471 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5472 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5473
6b1d1d46
JM
54742012-02-24 Joseph Myers <joseph@codesourcery.com>
5475
5476 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5477
0f8bbd69
JM
54782012-02-24 Joseph Myers <joseph@codesourcery.com>
5479
5480 * manual/texinfo.tex: Update to version 2012-01-19.16.
5481
66ab80bc
JM
54822012-02-24 Joseph Myers <joseph@codesourcery.com>
5483
5484 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5485
74981cc5
RM
54862012-02-24 Roland McGrath <roland@hack.frob.com>
5487
ee968201
RM
5488 [BZ #13738]
5489 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5490 * manual/fdl-1.3.texi: New file.
5491 * manual/fdl-1.1.texi: File removed.
5492
74981cc5
RM
5493 [BZ #13738]
5494 * manual/libc.texinfo (FDL_VERSION): New @set.
5495 Use it for mention of FDL in cover text.
5496 (Documentation License): Use it in @include file name.
5497
7bb764bc
JM
54982012-02-22 Joseph Myers <joseph@codesourcery.com>
5499 Roland McGrath <roland@hack.frob.com>
5500
5501 [BZ #5461]
5502 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5503 not LONG_LONG_MAX and LONG_LONG_MIN.
5504 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5505 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5506 name.
5507 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5508
6cbeae47
JM
55092012-02-22 Joseph Myers <joseph@codesourcery.com>
5510
5511 [BZ #2547]
5512 [BZ #11365]
5513 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5514 manipulate bits before adding and subtracting TWO23[sx].
5515 * math/libm-test.inc (nearbyint_test): Add more tests.
5516
fe45ce09
JM
55172012-02-22 Joseph Myers <joseph@codesourcery.com>
5518
5519 [BZ #2548]
5520 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5521 bits before adding and subtracting TWO23[sx].
5522 * math/libm-test.inc (rint_test): Add more tests.
5523 (rint_test_tonearest): Likewise.
5524 (rint_test_towardzero): Likewise.
5525 (rint_test_downward): Likewise.
5526 (rint_test_upward: Likewise.
5527
ff3b3d82
JM
55282012-02-22 Joseph Myers <joseph@codesourcery.com>
5529
5530 [BZ #10110]
5531 * include/stdc-predef.h: New file. Extracted from features.h.
5532 * include/features.h: Include stdc-predef.h.
5533 * Makefile (headers): Add stdc-predef.h.
5534 * CONFORMANCE (Compiler limitations): Update.
5535
ef0aab35
JM
55362012-02-22 Joseph Myers <joseph@codesourcery.com>
5537
5538 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5539
58639409
DM
55402012-02-21 David S. Miller <davem@davemloft.net>
5541
5542 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5543 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5544
c0e70b25
DM
55452012-02-20 David S. Miller <davem@davemloft.net>
5546
5547 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5548 using a normal save/restore sequence, rather than allocating a
5549 dummy stack frame just to store a frame pointer and restore.
5550 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5551
fb06851d
JM
55522012-02-21 Joseph Myers <joseph@codesourcery.com>
5553
5554 * manual/install.texi: Fix stray word in line-wrapped comment.
5555
7a8b71c3
DM
55562012-02-20 David S. Miller <davem@davemloft.net>
5557
d510c123
DM
5558 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5559 both binutils and gcc support GOTDATA.
5560
0722d7c2
DM
5561 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5562 "rd %pc" in the PIC register setup sequences.
5563
3d2b3019
DM
5564 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5565 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5566 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5567 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5568 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5570 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5571 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5572 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5573 (SYSCALL_ERROR_HANDLER): Likewise.
5574 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5575 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5576 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5577 (SYSCALL_ERROR_HANDLER): Likewise.
5578
c80098a9
DM
5579 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5580 (HAVE_GCC_GOTDATA): New.
5581 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5582 relocation support in both binutils and gcc.
5583 * sysdeps/sparc/elf/configure: Regenerate.
5584
3a2545a0
DM
5585 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5586 * sysdeps/sparc/sparc32/elf/configure: Delete.
5587 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5588 * sysdeps/sparc/sparc64/elf/configure: Delete.
5589 * sysdeps/sparc/elf/configure.in: New file.
5590 * sysdeps/sparc/elf/configure: Generate.
5591
7a8b71c3
DM
5592 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5593 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5594 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5595 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5596 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5597
f1e86fca
JM
55982012-02-21 Joseph Myers <joseph@codesourcery.com>
5599
5600 * manual/install.texi: Do not mention specific glibc version
5601 numbers.
5602 * manual/libc.texinfo (VERSION, UPDATED): Update.
5603 (@copying): Use @copyright{} and range of years.
5604
0e7dfaef
JM
56052012-02-21 Joseph Myers <joseph@codesourcery.com>
5606
5607 [BZ #13695]
5608 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5609 [crti.S not in sysdirs] (generated): Do not append.
5610 [crti.S not in sysdirs] (omit-deps): Likewise.
5611 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5612 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5613 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5614 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5615 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5616 Likewise.
5617 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5618 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5619 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5620 * csu/defs.awk: Remove file.
5621 * sysdeps/generic/initfini.c: Likewise.
5622 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5623 variable.
5624 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5625 Likewise.
5626
599af3ca
JM
56272012-02-20 Joseph Myers <joseph@codesourcery.com>
5628
5629 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5630 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5631 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5632 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5633 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5634 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5635 <bits/epoll.h>.
5636 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5637 (__EPOLL_PACKED): Define to empty if not defined by
5638 <bits/epoll.h>.
5639 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5641 bits/epoll.h.
5642
0e499750
JM
56432012-02-20 Joseph Myers <joseph@codesourcery.com>
5644
5645 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5646 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5647 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5648 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5649 <bits/timerfd.h>.
5650 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5652 bits/timerfd.h.
5653
5ad91f6e
JM
56542012-02-20 Joseph Myers <joseph@codesourcery.com>
5655
5656 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5657 in C locale.
5658 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5659 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5660 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5662
06b99b02
AJ
56632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5664
5665 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5666 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5667
7638c0fd
AS
56682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5669
5670 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5671 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5672 defined.
5673 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5674 Likewise.
5675 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5676 entry for 2.16.
5677
92221550
AJ
56782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5679
5680 * math/w_acos.c: Use non-signaling floating-point comparisons.
5681 * math/w_acosf.c: Likewise.
5682 * math/w_acosh.c: Likewise.
5683 * math/w_acoshf.c: Likewise.
5684 * math/w_acoshl.c: Likewise.
5685 * math/w_acosl.c: Likewise.
5686 * math/w_asin.c: Likewise.
5687 * math/w_asinf.c: Likewise.
5688 * math/w_asinl.c: Likewise.
5689 * math/w_atanh.c: Likewise.
5690 * math/w_atanhf.c: Likewise.
5691 * math/w_atanhl.c: Likewise.
5692 * math/w_exp2.c: Likewise.
5693 * math/w_exp2f.c: Likewise.
5694 * math/w_exp2l.c: Likewise.
5695 * math/w_j0.c: Likewise.
5696 * math/w_j0f.c: Likewise.
5697 * math/w_j0l.c: Likewise.
5698 * math/w_j1.c: Likewise.
5699 * math/w_j1f.c: Likewise.
5700 * math/w_j1l.c: Likewise.
5701 * math/w_jn.c: Likewise.
5702 * math/w_jnf.c: Likewise.
5703 * math/w_log.c: Likewise.
5704 * math/w_log10.c: Likewise.
5705 * math/w_log10f.c: Likewise.
5706 * math/w_log10l.c: Likewise.
5707 * math/w_log2.c: Likewise.
5708 * math/w_log2f.c: Likewise.
5709 * math/w_log2l.c: Likewise.
5710 * math/w_logf.c: Likewise.
5711 * math/w_logl.c: Likewise.
5712 * math/w_sqrt.c: Likewise.
5713 * math/w_sqrtf.c: Likewise.
5714 * math/w_sqrtl.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5717 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5718 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5719 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5720
ebaf36eb
JM
57212012-02-19 Joseph Myers <joseph@codesourcery.com>
5722
5723 [BZ #9739]
5724 * manual/string.texi (strnlen): Use correct parameter name in
5725 equivalent expression.
5726
71c254a6
JM
57272012-02-19 Joseph Myers <joseph@codesourcery.com>
5728
5729 [BZ #11174]
5730 * manual/users.texi (seteuid): Consistently use neweuid for
5731 argument name.
5732
16d2c631
JM
57332012-02-19 Joseph Myers <joseph@codesourcery.com>
5734
5735 [BZ #13704]
5736 * manual/nss.texi (Services in the NSS configuration): Correct
5737 list of services in example configuration file.
5738
cd837b09
NB
57392012-02-19 Nick Bowler <nbowler@draconx.ca>
5740
5741 [BZ #11322]
5742 * manual/arith.texi: Remove statements about negative zero
5743 behaving identically to zero.
5744
02c4bbad
JM
57452012-02-18 Joseph Myers <joseph@codesourcery.com>
5746
5747 [BZ #5993]
5748 * manual/install.texi: Do not document upgrading from libc5.
5749
366842e7
JM
57502012-02-18 Joseph Myers <joseph@codesourcery.com>
5751
5752 [BZ #4596]
5753 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5754
dd54084d
DM
57552012-02-18 David S. Miller <davem@davemloft.net>
5756
5757 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5758 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5759 %o7 across the call.
5760 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5761 instead.
5762 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5763 SETUP_PIC_REG_LEAF.
5764 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5765 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5766 * sysdeps/sparc/crtn.S: Likewise.
5767
2bcc53a3
UD
57682012-02-17 Ulrich Drepper <drepper@gmail.com>
5769
5770 * aout/Makefile: Remove.
5771
09c093b5
RK
57722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5773
5774 [BZ #13058]
5775 * manual/examples/argp-ex1.c (main): Format definition in GNU
5776 style.
5777 * manual/examples/argp-ex2.c (main): Likewise.
5778 * manual/examples/argp-ex3.c (main): Likewise.
5779 * manual/examples/argp-ex4.c (main): Likewise.
5780 * manual/examples/longopt.c (main): Use new-style prototype
5781 definition.
5782 * manual/examples/strncat.c (main): Specify return type and use
5783 (void) for arguments.
5784 * manual/examples/subopt.c (main): Use char **argv argument.
5785
2ee633a2
JM
57862012-02-17 Joseph Myers <joseph@codesourcery.com>
5787
5788 [BZ #5077]
5789 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5790 rounding modes.
5791
0520adde
FB
57922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5793
5794 [BZ #6907]
5795 * manual/string.texi (strchr): Change when strchrnul is
5796 recommended.
5797
3f4081cd
DGM
57982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5799
5800 [BZ #174]
5801 * manual/locale.texi (setlocale): Document LOCPATH.
5802
d1b10e78
JM
58032012-02-17 Joseph Myers <joseph@codesourcery.com>
5804
5805 [BZ #10210]
5806 * manual/process.texi (execle): Move @dots{} before last argument.
5807
79c6869c
PB
58082012-02-17 Paul Bolle <pebolle@tiscali.nl>
5809
5810 [BZ #12047]
5811 * manual/charset.texi (Generic Charset Conversion): Fix typo
5812 (LC_TYPE -> LC_CTYPE).
5813
cc6e48bc
NB
58142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5815
5816 [BZ #5805]
5817 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5818 (scalbnf): Likewise.
5819 (scalbnl): Likewise.
5820 (scalbln): Likewise.
5821 (scalblnf): Likewise.
5822 (scalblnl): Likewise.
5823 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5824 (vwarnx): Likewise.
5825 (verr): Likewise.
5826 (verrx): Likewise.
5827 * manual/filesys.texi (telldir): Use braces around return type.
5828 * manual/llio.texi (mmap): Add space after comma.
5829 (mmap64): Likewise.
5830 * manual/math.texi (jn): Use @var{} on parameter names.
5831 (jnf): Likewise.
5832 (jnl): Likewise.
5833 (yn): Likewise.
5834 (ynf): Likewise.
5835 (ynl): Likewise.
5836 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5837 line.
5838 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5839 "...".
5840 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5841 (sched_get_priority_max): Likewise.
5842 * manual/signal.texi (sigvec): Add space after comma.
5843 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5844 names.
5845 (if_indextoname): Likewise.
5846 (if_freenameindex): Likewise.
5847 (sendto): Use ',' instead of '.' in prototype.
5848 * manual/startup.texi (syscall): Use @dots{} instead of literal
5849 "...".
5850 * manual/stdio.texi (__fpending): Separate initial words of
5851 paragraph from @deftypefun line.
5852 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5853 "...".
5854 (vsyslog): Use @var{} on parameter names.
5855 * manual/terminal.texi (stty): Use @var{} on parameter names.
5856 * manual/users.texi (getutmp): Use @var{} on parameter names.
5857 (getutmpx): Likewise.
5858
5b23062f
JM
58592012-02-17 Joseph Myers <joseph@codesourcery.com>
5860
5861 [BZ #6884]
5862 * manual/stdio.texi (fopen): Fix typos in description of
5863 ",ccs=STRING".
5864
8dee4833
AJ
58652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5866
5867 [BZ #4026]
5868 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5869 get clock_id definition.
5870
9078ce93
TS
58712012-02-17 Thomas Schwinge <thomas@schwinge.name>
5872
5873 [BZ #4822]
5874 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5875 (madvise): Cast every argument to void on its own.
5876
3835c55f
JM
58772012-02-17 Joseph Myers <joseph@codesourcery.com>
5878
5879 [BZ #9902]
5880 * manual/startup.texi (Exit Status): Fix typo.
5881
35c47e37
JM
58822012-02-17 Joseph Myers <joseph@codesourcery.com>
5883
5884 [BZ #10140]
5885 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5886 * manual/examples/argp-ex2.c: Likewise.
5887 * manual/examples/argp-ex3.c: Likewise.
5888
e3b69ca7
RH
58892012-02-16 Richard Henderson <rth@redhat.com>
5890
5891 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5892 * sysdeps/s390/s390-32/initfini.c: Remove.
5893 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5894 * sysdeps/s390/s390-64/initfini.c: Remove.
5895
df83af67
KK
58962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5897
5898 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5899 compiler output for sysdeps/generic/initfini.c.
5900 * sysdeps/sh/elf/initfini.c: Remove file.
5901
f63f3380
DM
59022012-02-16 David S. Miller <davem@davemloft.net>
5903
fb59b3a4
DM
5904 [BZ #11494]
5905 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5906
f63f3380
DM
5907 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5908 * sysdeps/sparc/crti.S: New file.
5909 * sysdeps/sparc/crtn.S: New file.
5910 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5911 * sysdeps/sparc/sparc64/Makefile: Likewise.
5912
df6a4a4a
MF
59132012-02-15 Mike Frysinger <vapier@gentoo.org>
5914
6dd8f3dc 5915 [BZ #3335]
df6a4a4a
MF
5916 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5917
1cac7236
RM
59182012-02-15 Roland McGrath <roland@hack.frob.com>
5919
d2c736f8
RM
5920 [BZ #4822]
5921 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5922
1cac7236
RM
5923 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5924 (write, read, close): Likewise.
5925 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5926
8e475601
JM
59272012-02-15 Joseph Myers <joseph@codesourcery.com>
5928
5929 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5930 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5931 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5932 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5933 <bits/signalfd.h>.
5934 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5936 bits/signalfd.h.
5937
ed656b40
MP
59382012-02-14 Marek Polacek <polacek@redhat.com>
5939
5940 * sysdeps/x86_64/crti.S: New file.
5941 * sysdeps/x86_64/crtn.S: New file.
5942 * sysdeps/x86_64/elf/initfini.c: Remove file.
5943
2a979d3a
JM
59442012-02-13 Joseph Myers <joseph@codesourcery.com>
5945
5946 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5947 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5948 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5949 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5950 <bits/inotify.h>.
5951 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5953 bits/inotify.h.
5954
2a418ac3
JM
59552012-02-13 Joseph Myers <joseph@codesourcery.com>
5956
5957 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5958 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5959 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5960 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5961 <bits/eventfd.h>.
5962 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5964 bits/eventfd.h.
5965
fb779be7
TS
59662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5967
e19e83c5
RM
5968 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5969 __feraiseexcept instead of feraiseexcept.
7c35ffed 5970
fb779be7
TS
5971 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5972 nanosleep invocations.
5973 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5974 strings, and add error checking for a nanosleep invocations.
5975
59ba27a6
PE
59762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5977
5978 Replace FSF snail mail address with URLs, as per GNU coding standards.
5979 Most of the snail mail addresses were wrong anyway, and omitting
5980 them makes the source code easier to maintain. Almost all of the
5981 changes are to license notices and to locale LC_IDENTIFICATION
5982 addresses, except for this one:
5983 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5984 not its snail mail address.
5985
57b957eb
RH
59862012-02-09 Richard Henderson <rth@twiddle.net>
5987
af850b1c
RH
5988 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5989 of kernel-features.h.
5990
57b957eb
RH
5991 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5992
6b73181a
MP
59932012-02-08 Marek Polacek <polacek@redhat.com>
5994
5995 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5996 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5997 * sysdeps/gnu/_G_config.h: Likewise.
5998 * sysdeps/generic/_G_config.h: Likewise.
5999
26ecc33a
AS
60002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6001
6c6dbc63
AS
6002 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6003 tests.
6004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6005
e216c012
AS
6006 * sysdeps/powerpc/powerpc32/crti.S: New file.
6007 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6008 * sysdeps/powerpc/powerpc64/crti.S: New file.
6009 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6010
26ecc33a
AS
6011 * Makeconfig (have-initfini): Don't set.
6012 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6013 * configure.in (nopic_initfini): Don't substitute.
6014 * config.h.in (HAVE_INITFINI): Don't #undef.
6015 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6016 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6017
3add8e13
JM
60182012-02-08 Joseph Myers <joseph@codesourcery.com>
6019
6020 Support crti.S and crtn.S provided directly by architectures.
6021 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6022 [crti.S in sysdirs] (omit-deps): Likewise.
6023 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6024 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6025 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6026 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6027 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6028 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6029 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6030 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6031 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6032 compiler output for sysdeps/generic/initfini.c.
6033 * sysdeps/i386/elf/Makefile: Remove file.
6034 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6035
a22f12b4
MP
60362012-02-07 Marek Polacek <polacek@redhat.com>
6037
6038 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6039 * sysdeps/gnu/_G_config.h: Likewise.
6040 * sysdeps/mach/hurd/_G_config.h: Likewise.
6041
148cf100
MP
60422012-02-07 Marek Polacek <polacek@redhat.com>
6043
6044 * math/Makefile (tests): Add tst-CMPLX2.
6045 * math/tst-CMPLX2.c: New file.
6046
cfdc0dd7
AS
60472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6048
84ba42c4
AS
6049 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6050
cfdc0dd7
AS
6051 * math/libm-test.inc (jn_test): Add missing L suffix.
6052
622c86f4
MP
60532012-02-06 Marek Polacek <polacek@redhat.com>
6054
6055 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6056 * sysdeps/i386/fpu/e_powf.S: Likewise.
6057 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6058 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6059 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6060 * sysdeps/i386/fpu/e_pow.S: Likewise.
6061 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6062 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6063 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6064 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6065 * sysdeps/i386/fpu/e_log2.S: Likewise.
6066 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6067 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6068 * sysdeps/i386/fpu/e_powl.S: Likewise.
6069 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6070 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6071 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6072 * sysdeps/i386/fpu/e_logl.S: Likewise.
6073 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6074 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6075 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6076 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6077 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6078 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6079 * sysdeps/i386/fpu/e_log.S: Likewise.
6080 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6081 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6082 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6083 * sysdeps/i386/fpu/e_logf.S: Likewise.
6084 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6085 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6086 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6087 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6088 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6089 * sysdeps/i386/fpu/e_log10.S: Likewise.
6090 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6091 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6092 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6093 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6094 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6095 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6096 * sysdeps/i386/asm-syntax.h: Likewise.
6097 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6098 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6099 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6100 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6101 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6102 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6103 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6104 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6105 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6106 * sysdeps/powerpc/sysdep.h: Likewise.
6107 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6108 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6109
d4a54ac6
JM
61102012-02-06 Joseph Myers <joseph@codesourcery.com>
6111
6112 [BZ #411]
6113 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6114
314054ea
JM
61152012-02-06 Joseph Myers <joseph@codesourcery.com>
6116
6117 * sysdeps/i386/sysdep.h: Include <features.h>.
6118 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6119 version.
6120
d8e0ca50
JM
61212012-02-05 Joseph Myers <joseph@codesourcery.com>
6122
6123 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6124 Define.
6125 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6126 LOAD_PIC_REG_STR.
6127
b1da7dd9
JM
61282012-02-03 Joseph Myers <joseph@codesourcery.com>
6129
6130 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6131 (SETUP_PIC_REG): Use GET_PC_THUNK.
6132 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6133 macro.
6134
9a1d9254
JM
61352012-02-03 Joseph Myers <joseph@codesourcery.com>
6136
6137 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6138 for non-PIC compilation.
6139 (SETUP_PIC_REG): Add .p2align directive.
6140 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6141 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6142 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6143 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6144 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6145 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6146 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6148 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6149 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6150 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6151 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6152 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6153 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6154 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6155 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6156 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6157 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6158 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6159 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6160 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6161 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6162 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6163 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6164 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6165 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6166 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6167 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6168 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6169 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6170 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6171 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6172 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6173 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6174 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6175 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6176 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6177 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6178 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6179 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6180 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6181
65dc3b75
JM
61822012-02-03 Joseph Myers <joseph@codesourcery.com>
6183
6184 * math/tst-CMPLX.c: Include <stdio.h>.
6185
d55bf177
JM
61862012-01-31 Joseph Myers <joseph@codesourcery.com>
6187
6188 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6189 float.
6190 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6191 * sysdeps/sparc/bits/mathdef.h: Likewise.
6192
69db4f8f
MP
61932012-01-31 Marek Polacek <polacek@redhat.com>
6194
6195 * libio/libio.h: Don't define _PARAMS.
6196 * locale/programs/config.h: Don't define PARAMS.
6197 * stdlib/strtol_l.c: Likewise.
6198 (__strtol_l): Remove PARAMS from the prototype.
6199
41b81892
UD
62002012-01-31 Ulrich Drepper <drepper@gmail.com>
6201
3b49edc0
UD
6202 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6203 names. Just use the correct names. Remove unnecessary wrapper
6204 functions.
6205 * malloc/arena.c: Likewise.
6206 * malloc/hooks.c: Likewise.
6207
41b81892
UD
6208 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6209 ARENA_TEST says not to. Simplify test for creation of a new arena.
6210 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6211
27a25b6e
UD
62122012-01-30 Ulrich Drepper <drepper@gmail.com>
6213
6214 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6215 into tail calls.
6216 (update_get_addr): New function.
6217 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6218 GET_ADDR_MODULE parameter.
6219
c8a89e7d
JM
62202012-01-30 Joseph Myers <joseph@codesourcery.com>
6221
6222 * crypt/cert.c: Remove __STDC__ conditionals.
6223 * crypt/crypt-entry.c: Likewise.
6224 * crypt/crypt_util.c: Likewise.
6225 * libio/filedoalloc.c: Likewise.
6226 * libio/fileops.c: Likewise.
6227 * libio/genops.c: Likewise.
6228 * libio/iofclose.c: Likewise.
6229 * libio/iofdopen.c: Likewise.
6230 * libio/iofopen.c: Likewise.
6231 * libio/iofopen64.c: Likewise.
6232 * libio/iogetdelim.c: Likewise.
6233 * libio/iopopen.c: Likewise.
6234 * libio/obprintf.c: Likewise.
6235 * libio/oldfileops.c: Likewise.
6236 * libio/oldiofclose.c: Likewise.
6237 * libio/oldiofdopen.c: Likewise.
6238 * libio/oldiofopen.c: Likewise.
6239 * libio/oldiopopen.c: Likewise.
6240 * libio/wfiledoalloc.c: Likewise.
6241 * libio/wgenops.c: Likewise.
6242 * locale/programs/xmalloc.c: Likewise.
6243 * misc/syslog.c: Likewise.
6244 * stdio-common/xbug.c: Likewise.
6245 * string/memchr.c: Likewise.
6246 * string/memcmp.c: Likewise.
6247 * string/memrchr.c: Likewise.
6248 * string/rawmemchr.c: Likewise.
6249 * sysdeps/posix/getcwd.c: Likewise.
6250 * time/strftime_l.c: Likewise.
6251
3b100462
JM
62522012-01-30 Joseph Myers <joseph@codesourcery.com>
6253
6254 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6255 * config.make.in (config-cflags-sse2avx): Define.
6256 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6257 Fix typo.
6258
607998af
CM
62592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6260
6261 * scripts/config.guess: Update from upstream config git repository.
6262 * scripts/config.sub: Likewise.
6263
3601428f
CM
62642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6265
3ac8b282
CM
6266 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6267 (EM_NUM): Update.
6268 (R_TILEPRO_*, R_TILEGX_*): New macros.
6269
e034841e
CM
6270 * scripts/firstversions.awk: Fix bug in version range handling.
6271
540d7568
CM
6272 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6273
3601428f
CM
6274 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6275
463de862
CM
6276 * include/sys/epoll.h: New file.
6277 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6278 libc_hidden_def.
6279
73139a76
UD
62802012-01-28 Ulrich Drepper <drepper@gmail.com>
6281
96bc5b45
UD
6282 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6283 Avoid unnecessary __WORDSIZE == 64 test.
6284 (fmaxf): Use VEX format if possible.
6285 (fmax): Likewise.
6286 (fminf): Likewise.
6287 (fmin): Likewise.
6288
56f6f6a2
UD
6289 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6290 * math/math_private.h: Remove libc_fegetround* and
6291 libc_fesetround*.
6292 * sysdeps/i386/configure.in: Check for -msse2avx.
6293 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6294 also if SSE2AVX is defined.
6295 Remove libc_fegetround* and libc_fesetround*.
6296 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6297 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6298 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6299 of HAS_YMM_USABLE.
6300 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6301 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6302 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6303 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6304 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6305
73139a76
UD
6306 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6307
d73f93a4
AZ
63082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6309
6310 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6311 size is not set.
6312 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6313
6ee65ed6
UD
63142012-01-27 Ulrich Drepper <drepper@gmail.com>
6315
6316 [BZ #13618]
6317 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6318 relocation.
6319 * Makeconfig (libm): Define.
6320 * elf/Makefile: Add rules to build and run tst-relsort1.
6321 * elf/tst-relsort1.c: New file.
6322 * elf/tst-relsort1mod1.c: New file.
6323 * elf/tst-relsort1mod2.c: New file.
6324
8db21882
JM
63252012-01-27 Joseph Myers <joseph@codesourcery.com>
6326
6327 * math/s_ldexp.c: Remove __STDC__ conditionals.
6328 * math/s_ldexpf.c: Likewise.
6329 * math/s_ldexpl.c: Likewise.
6330 * math/s_nextafter.c: Likewise.
6331 * math/s_nexttowardf.c: Likewise.
6332 * math/s_significand.c: Likewise.
6333 * math/s_significandf.c: Likewise.
6334 * math/s_significandl.c: Likewise.
6335 * math/w_jnl.c: Likewise.
6336 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6337 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6338 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6339 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6340 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6342 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6343 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6344 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6345 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6346 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6347 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6348 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6349 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6350 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6351 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6352 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6353 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6355 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6356 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6357 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6358 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6359 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6360 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6361 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6362 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6363 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6364 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6365 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6366 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6367 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6368 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6369 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6370 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6371 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6372 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6373 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6374 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6375 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6376 * sysdeps/ieee754/k_standard.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6381 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6386 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6392 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6394 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6395 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6396 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6397 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6398 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6399 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6400 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6401 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6404 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6405 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6409 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6412 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6413 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6414 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6415 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6416 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6417 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6418 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6420 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6438 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6443 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6445 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6451 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6452 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6456 * sysdeps/ieee754/s_matherr.c: Likewise.
6457 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6458 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6460 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6461
965a54a4
JM
64622012-01-26 Joseph Myers <joseph@codesourcery.com>
6463
6464 * crypt/md5.h: Remove __STDC__ conditionals.
6465 * libio/libioP.h: Likewise.
6466 * locale/programs/config.h: Likewise.
6467 * sysdeps/generic/sysdep.h: Likewise.
6468 * sysdeps/i386/asm-syntax.h: Likewise.
6469 * sysdeps/s390/asm-syntax.h: Likewise.
6470 * sysdeps/unix/sysdep.h: Likewise.
6471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6473
7071ad79
JM
64742012-01-26 Joseph Myers <joseph@codesourcery.com>
6475
6476 * libio/libio.h: Remove __STDC__ conditionals.
6477 * malloc/obstack.h: Likewise.
6478 * math/complex.h: Likewise.
6479 * math/math.h: Likewise.
6480 * sysdeps/generic/_G_config.h: Likewise.
6481 * sysdeps/gnu/_G_config.h: Likewise.
6482 * sysdeps/mach/hurd/_G_config.h: Likewise.
6483 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6484 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6485 * sysdeps/sparc/bits/mathdef.h: Likewise.
6486
afc5ed09
UD
64872012-01-26 Ulrich Drepper <drepper@gmail.com>
6488
6489 [BZ #13583]
6490 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6491 Clean up HAS_* macros.
afc5ed09 6492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6493 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6494 possible.
6495 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6496 HAS_AVX.
6497 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6498 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6499 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6500 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6501 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6502
bdb6de1d
JM
65032012-01-25 Joseph Myers <joseph@codesourcery.com>
6504
6505 * elf/tst-unique3.cc (gets): Remove declaration.
6506 * elf/tst-unique3lib.cc (gets): Likewise.
6507 * elf/tst-unique3lib2.cc (gets): Likewise.
6508 * elf/tst-unique4.cc (gets): Likewise.
6509
b15549e6
UD
65102012-01-24 Ulrich Drepper <drepper@gmail.com>
6511
6512 * include/stdio.h: Add C++ protection. Add gets declarations and
6513 definitions.
6514 * debug/tst-chk1.c: Don't declare gets here.
6515 * stdio-common/tst-gets.c: Likewise.
6516
a037381f
JM
65172012-01-24 Joseph Myers <joseph@codesourcery.com>
6518
6519 * posix/glob: Remove directory.
6520
f1d4aa75
JM
65212012-01-24 Joseph Myers <joseph@codesourcery.com>
6522
6523 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6524
81c0c964
PT
65252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6526
6527 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6528 of the non-standard EPFNOSUPPORT.
6529
0ea698ae
ST
65302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6531
6532 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6533 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6534 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6535
d220b117
UD
65362012-01-21 Ulrich Drepper <drepper@gmail.com>
6537
6538 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6539
3e1aa84e
UD
65402012-01-20 Ulrich Drepper <drepper@gmail.com>
6541
6542 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6543 transient errors.
6544 * nscd/grpcache.c (cache_addgr): Likewise.
6545 * nscd/hstcache.c (cache_addhst): Likewise.
6546 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6547 * nscd/pwdcache.c (cache_addpw): Likewise.
6548 * nscd/servicescache.c (cache_addserv): Likewise.
6549
400aa020
UD
65502012-01-16 Ulrich Drepper <drepper@gmail.com>
6551
d77e7869
UD
6552 * malloc/malloc.c: Various cleanups.
6553 * malloc/hooks.c: Likewise.
6554
400aa020
UD
6555 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6556 * stdlib/bug-fmtmsg1.c: New file.
6557
6558 * stdlib/fmtmsg.c (init): Add missing unlock.
6559 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6560
e0a309cf
MP
65612012-01-12 Marek Polacek <polacek@redhat.com>
6562
6563 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6564 and _GNU_SOURCE.
6565
929d11c7
WS
65662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6567
6568 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6569 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6570 macro to ensure uniqueness of label name.
6571 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6572 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6573
41d0e869
UD
65742012-01-11 Ulrich Drepper <drepper@gmail.com>
6575
0cc5ed3b
UD
6576 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6577
41d0e869
UD
6578 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6579 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6580 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6581 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6582
a47a831a
UD
65832012-01-10 Ulrich Drepper <drepper@gmail.com>
6584
daa891c0
UD
6585 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6586
6587 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6588 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6589 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6590
e58ef0f2
UD
6591 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6592
a47a831a 6593 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6594 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6595 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6597
6598 * math/bits/math-finite.h: Add ldexp support.
6599
a0bfc9c7
MP
66002012-01-10 Marek Polacek <polacek@redhat.com>
6601
6602 * locale/programs/localedef.h (show_archive_content): Add noreturn
6603 attribute.
6604
d6e97a1d
UD
66052012-01-09 Ulrich Drepper <drepper@gmail.com>
6606
6607 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6608
d5835c26
UD
66092012-01-08 Ulrich Drepper <drepper@gmail.com>
6610
e5f484c6
UD
6611 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6612
d5835c26
UD
6613 * io/Makefile (headers): Add bits/poll2.h.
6614
d1f741e9
WS
66152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6616
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6618 typo #include statement.
6619
ec09c1c4
UD
66202012-01-08 Ulrich Drepper <drepper@gmail.com>
6621
6622 * include/sys/cdefs.h: Define __attribute_alloc_size.
6623 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6624 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6625 * elf/pldd.c: Likewise.
6626 * iconv/iconv_charmap.c: Likewise.
6627 * iconv/iconvconfig.c: Likewise.
6628 * iconv/strtab.c: Likewise.
6629 * locale/programs/locale.c: Likewise.
6630 * locale/programs/localedef.h: Likewise.
6631 * locale/programs/simple-hash.c: Likewise.
6632 * nscd/nscd.h: Likewise.
6633 * nss/makedb.c: Likewise.
6634 * sysdeps/generic/ldconfig.h: Likewise.
6635 * locale/programs/localedef.c: Remove xmalloc prototype.
6636 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6637
20b38e03
PP
66382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6639
6640 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6641 appropriate.
6642
a0da5fe1
UD
66432012-01-08 Ulrich Drepper <drepper@gmail.com>
6644
1d5a644a 6645 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6646 * math/tst-CMPLX.c: New file.
1d5a644a 6647
8784a6db
UD
6648 * math/complex.h (CMPLXL): Fix typo.
6649
d9a216c0
UD
6650 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6651 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6652 GLIBC_2.16.
6653 * debug/tst-chk1.c: Add poll and ppoll tests.
6654 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6655 * include/sys/poll.h: Add hidden proto for ppoll.
6656 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6657 * sysdeps/mach/hurd/ppoll.c: Likewise.
6658 * io/ppoll.c: Likewise.
6659 * debug/poll_chk.c: New file.
6660 * debug/ppoll_chk.c: New file.
6661 * include/bits/poll2.h: New file.
6662 * io/bits/poll2.h: New file.
6663
ac097f5c
UD
6664 [BZ #1350]
6665 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6666
2119dcfa
UD
6667 * configure.in: static is always set to yes. Remove.
6668 * config.make.in: Don't set build-static.
6669 * Makeconfig: Remove use of build-static.
6670 * dlfcn/Makefile: Likewise.
6671 * elf/Makefile: Likewise.
6672 * math/Makefile: Likewise.
6673 * misc/Makefile: Likewise.
6674 * nptl/Makefile: Likewise.
6675 * sysdeps/mach/hurd/Makefile: Likewise.
6676
121766a9
UD
6677 * configure.in: PWD_P is not used anymore.
6678 * config.make.in: Remove PWD_P entry.
6679
51a1d39c 6680 * configure.in: Remove last remnants of RANLIB.
8720d066 6681 No need to check for signed size_t anymore.
215f4bdc
UD
6682 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6683 and IA-64.
3857022a 6684 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6685 * aclocal.m4: Likewise.
6686
d3ed7225
UD
6687 * wcsmbs/mbrtoc16.c: Implement using towc function.
6688 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6689 * wcsmbs/wcsmbsload.c: Likewise.
6690 * iconv/gconv_simple.c: Likewise.
6691 * iconv/gconv_int.h: Likewise.
6692 * iconv/gconv_builtin.h: Likewise.
6693 * iconv/iconv_prog.c: Remove CHAR16 handling.
6694
6695 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6696
6697 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6698
a0da5fe1
UD
6699 * configure.in: Remove --with-elf and --enable-bounded options.
6700 Dont set base_machine for ia64. More non-ELF conditions removed.
6701 Remove testing and setting of leading underscore information.
6702 * config.make.in (build-bounded): Set to no.
6703 * config.h.in: Remove NO_UNDERSCORES entry.
6704 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6705 them.
6706 * csu/start.c: Remove !NO_UNDERSCORE code.
6707 * locale/localeinfo.h: Likewise.
6708 * sysdeps/generic/machine-gmon.h: Likewise.
6709 * sysdeps/generic/sysdep.h: Likewise.
6710 * sysdeps/i386/sysdep.h: Likewise.
6711 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6712 * sysdeps/mach/sysdep.h: Likewise.
6713 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6714 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6715 * sysdeps/sh/sysdep.h: Likewise.
6716 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6717 * sysdeps/unix/i386/sysdep.S: Likewise.
6718 * sysdeps/unix/sparc/start.c: Likewise.
6719 * sysdeps/unix/sparc/sysdep.S: Likewise.
6720 * sysdeps/unix/sparc/sysdep.h: Likewise.
6721 * sysdeps/unix/start.c: Likewise.
6722 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6723 * sysdeps/x86_64/sysdep.h: Likewise.
6724
df78418a
UD
67252012-01-07 Ulrich Drepper <drepper@gmail.com>
6726
a784e502
UD
6727 [BZ #13553]
6728 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6729 for non-gcc.
6730 * argp/argp-fmtstream.h: Use const instead __const.
6731 * argp/argp.h: Likewise.
6732 * assert/assert.h: Likewise.
6733 * bits/fenv.h: Likewise.
6734 * bits/sched.h: Likewise.
6735 * bits/sigset.h: Likewise.
6736 * bits/sigthread.h: Likewise.
6737 * catgets/nl_types.h: Likewise.
6738 * conform/data/pthread.h-data: Likewise.
6739 * crypt/crypt-private.h: Likewise.
6740 * crypt/crypt.h: Likewise.
6741 * crypt/crypt_util.c: Likewise.
6742 * ctype/ctype.h: Likewise.
6743 * debug/execinfo.h: Likewise.
6744 * debug/mbsnrtowcs_chk.c: Likewise.
6745 * debug/mbsrtowcs_chk.c: Likewise.
6746 * debug/wcsnrtombs_chk.c: Likewise.
6747 * debug/wcsrtombs_chk.c: Likewise.
6748 * debug/wcstombs_chk.c: Likewise.
6749 * dirent/dirent.h: Likewise.
6750 * dlfcn/dlfcn.h: Likewise.
6751 * elf/neededtest4.c: Likewise.
6752 * grp/grp.h: Likewise.
6753 * gshadow/gshadow.h: Likewise.
6754 * iconv/gconv.h: Likewise.
6755 * iconv/gconv_int.h: Likewise.
6756 * iconv/gconv_simple.c: Likewise.
6757 * iconv/iconv.h: Likewise.
6758 * iconv/loop.c: Likewise.
6759 * iconv/skeleton.c: Likewise.
6760 * include/aio.h: Likewise.
6761 * include/aliases.h: Likewise.
6762 * include/argz.h: Likewise.
6763 * include/arpa/inet.h: Likewise.
6764 * include/assert.h: Likewise.
6765 * include/dirent.h: Likewise.
6766 * include/dlfcn.h: Likewise.
6767 * include/execinfo.h: Likewise.
6768 * include/fcntl.h: Likewise.
6769 * include/fenv.h: Likewise.
6770 * include/glob.h: Likewise.
6771 * include/grp.h: Likewise.
6772 * include/libintl.h: Likewise.
6773 * include/mntent.h: Likewise.
6774 * include/netdb.h: Likewise.
6775 * include/pwd.h: Likewise.
6776 * include/rpc/netdb.h: Likewise.
6777 * include/sched.h: Likewise.
6778 * include/search.h: Likewise.
6779 * include/shadow.h: Likewise.
6780 * include/signal.h: Likewise.
6781 * include/stdio.h: Likewise.
6782 * include/stdlib.h: Likewise.
6783 * include/string.h: Likewise.
6784 * include/sys/socket.h: Likewise.
6785 * include/sys/stat.h: Likewise.
6786 * include/sys/statfs.h: Likewise.
6787 * include/sys/statvfs.h: Likewise.
6788 * include/sys/syslog.h: Likewise.
6789 * include/sys/time.h: Likewise.
6790 * include/sys/uio.h: Likewise.
6791 * include/time.h: Likewise.
6792 * include/unistd.h: Likewise.
6793 * include/utmp.h: Likewise.
6794 * include/wchar.h: Likewise.
6795 * include/wctype.h: Likewise.
6796 * inet/aliases.h: Likewise.
6797 * inet/arpa/inet.h: Likewise.
6798 * inet/netinet/ether.h: Likewise.
6799 * inet/netinet/in.h: Likewise.
6800 * intl/libintl.h: Likewise.
6801 * io/bits/fcntl2.h: Likewise.
6802 * io/fcntl.h: Likewise.
6803 * io/ftw.h: Likewise.
6804 * io/sys/poll.h: Likewise.
6805 * io/sys/stat.h: Likewise.
6806 * io/sys/statfs.h: Likewise.
6807 * io/sys/statvfs.h: Likewise.
6808 * io/utime.h: Likewise.
6809 * libio/bits/stdio.h: Likewise.
6810 * libio/bits/stdio2.h: Likewise.
6811 * libio/libio.h: Likewise.
6812 * libio/libioP.h: Likewise.
6813 * libio/stdio.h: Likewise.
6814 * locale/lc-ctype.c: Likewise.
6815 * locale/locale.h: Likewise.
6816 * login/utmp.h: Likewise.
6817 * malloc/arena.c: Likewise.
6818 * malloc/malloc.c: Likewise.
6819 * malloc/malloc.h: Likewise.
6820 * malloc/mcheck.c: Likewise.
6821 * malloc/mtrace.c: Likewise.
6822 * math/bits/mathcalls.h: Likewise.
6823 * math/fenv.h: Likewise.
6824 * math/math_private.h: Likewise.
6825 * misc/bits/error.h: Likewise.
6826 * misc/bits/syslog.h: Likewise.
6827 * misc/err.h: Likewise.
6828 * misc/error.h: Likewise.
6829 * misc/fstab.h: Likewise.
6830 * misc/mntent.h: Likewise.
6831 * misc/regexp.h: Likewise.
6832 * misc/search.h: Likewise.
6833 * misc/sgtty.h: Likewise.
6834 * misc/sys/mman.h: Likewise.
6835 * misc/sys/syslog.h: Likewise.
6836 * misc/sys/uio.h: Likewise.
6837 * misc/sys/xattr.h: Likewise.
6838 * misc/ttyent.h: Likewise.
6839 * nis/rpcsvc/ypclnt.h: Likewise.
6840 * nss/nss.h: Likewise.
6841 * posix/bits/unistd.h: Likewise.
6842 * posix/fnmatch.h: Likewise.
6843 * posix/glob.h: Likewise.
6844 * posix/sched.h: Likewise.
6845 * posix/spawn.h: Likewise.
6846 * posix/sys/wait.h: Likewise.
6847 * posix/unistd.h: Likewise.
6848 * posix/wordexp.h: Likewise.
6849 * pwd/pwd.h: Likewise.
6850 * resolv/netdb.h: Likewise.
6851 * resource/sys/resource.h: Likewise.
6852 * rt/aio.h: Likewise.
6853 * rt/bits/mqueue2.h: Likewise.
6854 * rt/mqueue.h: Likewise.
6855 * shadow/shadow.h: Likewise.
6856 * signal/signal.h: Likewise.
6857 * socket/send.c: Likewise.
6858 * socket/sendto.c: Likewise.
6859 * socket/sys/socket.h: Likewise.
6860 * stdio-common/printf.h: Likewise.
6861 * stdlib/bits/stdlib.h: Likewise.
6862 * stdlib/fmtmsg.h: Likewise.
6863 * stdlib/monetary.h: Likewise.
6864 * stdlib/stdlib.h: Likewise.
6865 * stdlib/ucontext.h: Likewise.
6866 * streams/stropts.h: Likewise.
6867 * string/argz.h: Likewise.
6868 * string/bits/string2.h: Likewise.
6869 * string/string.h: Likewise.
6870 * string/strings.h: Likewise.
6871 * sunrpc/rpc/auth.h: Likewise.
6872 * sunrpc/rpc/auth_des.h: Likewise.
6873 * sunrpc/rpc/clnt.h: Likewise.
6874 * sunrpc/rpc/netdb.h: Likewise.
6875 * sunrpc/rpc/pmap_clnt.h: Likewise.
6876 * sunrpc/rpc/xdr.h: Likewise.
6877 * sysdeps/generic/inttypes.h: Likewise.
6878 * sysdeps/generic/net/if.h: Likewise.
6879 * sysdeps/generic/sys/swap.h: Likewise.
6880 * sysdeps/gnu/net/if.h: Likewise.
6881 * sysdeps/gnu/utmpx.h: Likewise.
6882 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6883 * sysdeps/i386/i486/bits/string.h: Likewise.
6884 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6885 * sysdeps/s390/bits/string.h: Likewise.
6886 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6887 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6888 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6889 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6890 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6891 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6892 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6893 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6894 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6895 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6896 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6897 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6898 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6899 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6900 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6901 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6902 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6903 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6904 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6906 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6907 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6908 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6909 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6910 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6911 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6912 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6913 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6914 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6915 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6916 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6917 * sysvipc/sys/ipc.h: Likewise.
6918 * sysvipc/sys/msg.h: Likewise.
6919 * sysvipc/sys/sem.h: Likewise.
6920 * sysvipc/sys/shm.h: Likewise.
6921 * termios/termios.h: Likewise.
6922 * time/sys/time.h: Likewise.
6923 * time/time.h: Likewise.
6924 * wcsmbs/bits/wchar2.h: Likewise.
6925 * wcsmbs/uchar.h: Likewise.
6926 * wcsmbs/wchar.h: Likewise.
6927 * wctype/wctype.h: Likewise.
6928
0269750c
UD
6929 [BZ #13551]
6930 * Makeconfig: Remove all but ELF support including AIX support.
6931 * Makerules: Likewise.
6932 * config.h.in: Likewise.
6933 * config.make.in: Likewise.
6934 * configure: Likewise.
6935 * configure.in: Likewise.
6936 * csu/Makefile: Likewise.
6937 * csu/version.c: Likewise.
6938 * debug/Makefile: Likewise.
6939 * dlfcn/Makefile: Likewise.
6940 * elf/Makefile: Likewise.
6941 * extra-lib.mk: Likewise.
6942 * iconv/Makefile: Likewise.
6943 * include/libc-symbols.h: Likewise.
6944 * include/shlib-compat.h: Likewise.
6945 * resolv/Makefile: Likewise.
6946 * resolv/res_libc.c: Likewise.
6947 * rt/Makefile: Likewise.
6948 * sysdeps/i386/asm-syntax.h: Likewise.
6949 * sysdeps/i386/sysdep.h: Likewise.
6950 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6951 * sysdeps/mach/sysdep.h: Likewise.
6952 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6953 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6954 * sysdeps/s390/asm-syntax.h: Likewise.
6955 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6956 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6957 * sysdeps/sh/sysdep.h: Likewise.
6958 * sysdeps/unix/sparc/sysdep.h: Likewise.
6959 * sysdeps/wordsize-32/divdi3.c: Likewise.
6960 * sysdeps/x86_64/sysdep.h: Likewise.
6961
00bbd29b
UD
6962 * argp/Versions: Remove _argp_unlock_xxx.
6963
6964 [BZ #13559]
6965 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6966 * abilist/libBrokenLocale.abilist: Likewise.
6967 * abilist/libanl.abilist: Likewise.
6968 * abilist/libc.abilist: Likewise.
6969 * abilist/libcrypt.abilist: Likewise.
6970 * abilist/libdl.abilist: Likewise.
6971 * abilist/libm.abilist: Likewise.
6972 * abilist/libnsl.abilist: Likewise.
6973 * abilist/libpthread.abilist: Likewise.
6974 * abilist/libresolv.abilist: Likewise.
6975 * abilist/librt.abilist: Likewise.
6976 * abilist/libthread_db.abilist: Likewise.
6977 * abilist/libutil.abilist: Likewise.
6978 * abilist/libnss_db.abilist: New file.
6979
6980 * scripts/abilist.awk: Add support for indirect functions.
6981
a2693a0e
UD
6982 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6983
3f05895f
UD
6984 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6985
ecb6fb48
UD
6986 * shlib-versions: Remove entries for ports architectures.
6987
664f8cb9
UD
6988 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6989 files in ports.
6990 * elf/stackguard-macros.h: Remove support for IA-64.
6991 * elf/tst-auditmod1.c: Likewise.
6992 * sysdeps/generic/ldsodefs.h: Likewise.
6993
7ae81d88
UD
6994 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6995 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6996 configure files.
6997
bdeba135
UD
6998 [BZ #13552]
6999 * configure.in: Remove --enable-omitfp support.
7000 * FAQ.in: Adjust.
7001 * config.make.in: Likewise.
7002 * Makeconfig: Likewise.
7003 * manual/install.texi: Likewise.
7004
d75a0a62
UD
7005 In case anyone cares, the IA-64 architecture could move to ports.
7006 * sysdeps/ia64/*: Removed.
7007 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7008 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7009
dcc9756b
UD
7010 [BZ #13555]
7011 * configure.in: Remove entries for unsupported architectures.
7012
d3761ebc 7013 [BZ #13533]
9954432e
UD
7014 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7015 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7016 routines.
7017 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7018 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7019 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7020 fall back to using wcrtomb.
7021 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7022 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7023 renaming.
7024 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7025 * wcsmbs/tst-c16c32-1.c: New file.
7026
7027 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7028 local variable.
7029
c3a87236
UD
7030 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7031
28926a1b
UD
7032 * elf/tst-unique3.cc: Add explicit declaration of gets.
7033 * elf/tst-unique3lib.cc: Likewise.
7034 * elf/tst-unique3lib2.cc: Likewise.
7035 * elf/tst-unique4.cc: Likewise.
7036
df78418a
UD
7037 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7038
8ecd6b2a
JM
70392012-01-06 Joseph Myers <joseph@codesourcery.com>
7040
7041 [BZ #13566]
7042 * assert/assert.h (static_assert): Don't define for C++.
7043 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7044 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7045
9f115170
UD
70462012-01-03 Ulrich Drepper <drepper@gmail.com>
7047
5e0d0300
UD
7048 * iconv/loop.c (single loop): Fix assertion in storing of
7049 remaining bytes.
7050
9f115170
UD
7051 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7052
81fb02b0
UD
70532012-01-01 Ulrich Drepper <drepper@gmail.com>
7054
7055 * posix/getconf.c: Update copyright year.
7056 * nss/getent.c: Likewise.
a316c1f6 7057 * nss/makedb.c: Likewise.
81fb02b0
UD
7058 * iconv/iconvconfig.c: Likewise.
7059 * iconv/iconv_prog.c: Likewise.
7060 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7061 * elf/pldd.c: Likewise.
7062 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7063 * catgets/gencat.c: Likewise.
7064 * csu/version.c: Likewise.
7065 * elf/ldd.bash.in: Likewise.
7066 * elf/sprof.c (print_version): Likewise.
7067 * locale/programs/locale.c: Likewise.
7068 * locale/programs/localedef.c: Likewise.
a316c1f6 7069 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7070 * nscd/nscd.c (print_version): Likewise.
7071 * debug/xtrace.sh: Likewise.
7072 * malloc/memusage.sh: Likewise.
7073 * malloc/mtrace.pl: Likewise.
7074 * debug/catchsegv.sh: Likewise.
7075
2ba92745
JJ
70762011-12-30 Jakub Jelinek <jakub@redhat.com>
7077
7078 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7079 pure attribute.
7080
dadebdae
UD
70812011-12-24 Ulrich Drepper <drepper@gmail.com>
7082
d3761ebc 7083 [BZ #13533]
db6af3eb
UD
7084 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7085 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7086 transformations.
7087 * iconv/gconv_int.h: Likewise.
7088 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7089 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7090 from libc for GLIBC_2.16.
7091 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7092 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7093 * wcsmbs/uchar.h: Really define mbstate_t.
7094 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7095 * wcsmbs/c16rtomb.c: New file.
7096 * wcsmbs/mbrtoc16.c: New file.
7097 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7098 for C/POSIX locale.
7099 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7100 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7101
dadebdae
UD
7102 * wcsmbs/wchar.h: Add missing __restrict.
7103
67371b56
UD
71042011-12-23 Ulrich Drepper <drepper@gmail.com>
7105
74033a25
UD
7106 [BZ #13532]
7107 * time/Makefile (routines): Add timespec_get.
7108 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7109 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7110 timespec for ISO C11.
7111 * time/timespec_get.c: New file.
7112 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7113 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7114
380d7e87
UD
7115 [BZ #13531]
7116 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7117 * stdlib/stdlib.h: Declare aligned_alloc.
7118 * Versions.def: Add GLIBC_2.16 for libc.
7119 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7120
4e9e7a35
UD
7121 [BZ 13527]
7122 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7123 ISO C11.
7124
380d7e87 7125 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7126 code.
7127
03a71829
UD
7128 [BZ #13528]
7129 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7130
839e283e
UD
7131 [BZ #13529]
7132 * assert/assert.h (static_assert): Define.
7133
ce5294e2 7134 * version.h: Update for 2.16 development version.
90fa7312 7135
8d44e150 7136 [BZ #13526]
d7809905
UD
7137 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7138 _ISOC11_SOURCE.
7139
c0da14cd
UD
7140 * version.h (RELEASE): Bump for 2.15 release.
7141 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7142
530a3249
MP
7143 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7144 Patch by Marek Polacek <mpolacek@redhat.com>.
7145
67371b56
UD
7146 * bits/byteswap.h: Protect long long constants with __extension__.
7147 * sysdeps/i386/bits/byteswap.h: Likewise.
7148 * sysdeps/ia64/bits/byteswap.h: Likewise.
7149 * sysdeps/s390/bits/byteswap.h: Likewise.
7150 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7151
15db4de1
LD
71522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7153
7154 [BZ #13540]
bbe315ea
LD
7155 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7156 destination buffer.
15db4de1
LD
7157 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7158
2b2596b1
MP
71592011-12-23 Marek Polacek <polacek@redhat.com>
7160
7161 * elf/dl-addr.c (determine_info): Add inline keyword.
7162 * elf/tst-auditmod4b.c (check_avx): Likewise.
7163 * elf/tst-auditmod6b.c (check_avx): Likewise.
7164 * elf/tst-auditmod6c.c (check_avx): Likewise.
7165 * elf/tst-auditmod7b.c (check_avx): Likewise.
7166
70c6c246
UD
71672011-12-23 Ulrich Drepper <drepper@gmail.com>
7168
7169 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7170 !__SSE_MATH__.
7171
c044cf14
LD
71722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7173
15db4de1 7174 [BZ #13540]
c044cf14
LD
7175 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7176 processing for last bytes.
7177
6b13d9d9
BH
71782011-08-06 Bruno Haible <bruno@clisp.org>
7179
d455f537
BH
7180 [BZ #13061]
7181 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7182 U+0385, not to U+1FEE.
7183
6b13d9d9
BH
7184 [BZ #13062]
7185 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7186 entry for U+00A5 U+0301.
7187
db910efd
UD
71882011-12-22 Ulrich Drepper <drepper@gmail.com>
7189
27deeafc
UD
7190 [BZ #13166]
7191 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7192 buffer for the output is too small.
7193
aed9d171
UD
7194 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7195 optimization.
7196
db910efd
UD
7197 [BZ #13185]
7198 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7199 SSE flags if possible.
7200
2bd779ae
LD
72012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7202
e7f9dac3 7203 [BZ #13540]
2bd779ae
LD
7204 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7205 processing for last bytes.
7206
154bfc16
JM
72072011-12-22 Joseph Myers <joseph@codesourcery.com>
7208
7209 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7210 (syscall-list-default-options, syscall-list-default-condition)
7211 (syscall-list-includes): Define.
7212 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7213 list of ABIs and options and #if conditions for each ABI. Do not
7214 handle common syscalls between ABIs specially.
7215 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7216 Remove.
7217 (syscall-list-variants, syscall-list-32bit-options)
7218 (syscall-list-32bit-condition, syscall-list-64bit-options)
7219 (syscall-list-64bit-condition): Define.
7220 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7221 (syscall-list-variants, syscall-list-32bit-options)
7222 (syscall-list-32bit-condition, syscall-list-64bit-options)
7223 (syscall-list-64bit-condition): Define.
7224 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7225 Remove.
7226 (syscall-list-variants, syscall-list-32bit-options)
7227 (syscall-list-32bit-condition, syscall-list-64bit-options)
7228 (syscall-list-64bit-condition): Define.
7229 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7230 Remove.
7231 (syscall-list-variants, syscall-list-32bit-options)
7232 (syscall-list-32bit-condition, syscall-list-64bit-options)
7233 (syscall-list-64bit-condition): Define.
7234
21eaf3a5
UD
72352011-12-22 Ulrich Drepper <drepper@gmail.com>
7236
16c6f992
UD
7237 * locale/iso-639.def: Add brx entry.
7238
41043168
UD
7239 [BZ #13328]
7240 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7241 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7242
21eaf3a5
UD
7243 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7244 __feraiseexcept_renamed.
7245
e3a851a2
UD
72462011-12-21 Ulrich Drepper <drepper@gmail.com>
7247
4920765e
UD
7248 [BZ #13538]
7249 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7250 EPOLLET with unsigned values.
7251 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7252 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7253
e3a851a2
UD
7254 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7255 to large cancellation.
7256 * math/s_cacoshf.c: Likewise.
7257 * math/s_cacoshl.c: Likewise.
7258
b27e24b8
RK
72592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7260
7261 [BZ #13305]
aebefeee 7262 [BZ #12786]
b27e24b8
RK
7263 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7264 * math/s_cacoshf.c: Likewise.
7265 * math/s_cacoshl.c: Likewise.
7266
ee190f67
UD
72672011-12-21 Ulrich Drepper <drepper@gmail.com>
7268
7269 [BZ #13439]
7270 * iconv/gconv.h: Define __GCONV_SWAP.
7271 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7272 * iconvdata/utf-16.c: Likewise.
7273 * iconvdata/utf-32.c: Likewise.
7274
707f25df
AS
72752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7276
7277 [BZ #13524]
7278 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7279 numerator after shifting it by one limb.
7280
d2daaa1e
RÁE
72812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7282
7283 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7284 under [__USE_EXTERN_INLINES].
7285
a4647e72
UD
72862011-12-17 Ulrich Drepper <drepper@gmail.com>
7287
7288 [BZ #13446]
7289 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7290
f0b264f1
AZ
72912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7292
7293 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7294 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7295 optimized code.
7296 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7297 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7298 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7299 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7300 for strncasecmp/strncasecmp_l compilation.
7301 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7302 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7303
8ef4f244
MP
73042011-12-08 Marek Polacek <mpolacek@redhat.com>
7305
7306 [BZ #13484]
7307 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7308 of __asm__.
7309
97ac2654
UD
73102011-12-17 Ulrich Drepper <drepper@gmail.com>
7311
7312 [BZ #13506]
7313 * time/tzfile.c (__tzfile_read): Check values from file header.
7314
91d2a845
WS
73152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7316
7317 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7318 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7319 * powerpc/powerpc32/dl-start.S: Likewise.
7320 * powerpc/powerpc32/elf/start.S: Likewise.
7321 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7322 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7323 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7324 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7325 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7326 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7327 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7328 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7329 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7330 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7331 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7332 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7333 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7334 * powerpc/powerpc32/memset.S: Likewise.
7335 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7336 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7337 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7338 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7339 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7340 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7341 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7342 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7343 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7344 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7345 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7346 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7347 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7348
a1267ba1
AZ
73492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7350
7351 * math/libm-test.inc: Added more nearbyint tests.
7352 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7353 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7354 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7355 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7356
ad8ac1bd
RL
73572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7358
7359 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7360 FD_CLOEXEC.
7361
1d3e4b61
UD
73622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7363
7364 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7365 Add wcscpy-ssse3 wcscpy-c.
7366 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7367 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7368 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7369 * sysdeps/x86_64/wcschr.S: New file.
7370 * sysdeps/x86_64/wcsrchr.S: New file.
7371 * string/test-strcmp.c: Remove checking of wcscmp function for
7372 wrong alignments.
7373 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7374 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7375 wcsrchr-sse2 wcsrchr-c.
7376 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7377 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7378 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7379 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7380 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7381 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7382 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7383 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7384 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7385 * wcsmbc/wcschr.c (WCSCHR): New macro.
7386
5b330a2d
UD
73872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7388
7389 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7390 * wcsmbs/test-wcsrchr.c: New file.
7391 * string/test-strrchr.c: Add wcsrchr support.
7392 (WIDE): New macro.
7393 * wcsmbs/test-wcscpy.c: New file.
7394 * string/test-strcpy.c: Add wcscpy support.
7395 (WIDE): New macro.
26428b7c 7396
f039c043
UD
73972011-12-10 Ulrich Drepper <drepper@gmail.com>
7398
7399 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7400 the inner loop.
7401
850fb039
AS
74022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7403
7404 [BZ #13472]
7405 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7406
4efbd5cb
UD
74072011-12-04 Ulrich Drepper <drepper@gmail.com>
7408
52ff5dd0 7409 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7410 Minor optimizations.
52ff5dd0 7411
4efbd5cb
UD
7412 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7413 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7414 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7415
8a426e12
UD
74162011-12-03 Ulrich Drepper <drepper@gmail.com>
7417
aff2453d
UD
7418 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7419 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7420 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7421 for gcc to avoid warnings.
7422 * inet/Makefile (tests): Add tst-checks.
7423 * inet/tst-checks.c: New file.
7424
7425 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7426 warning.
7427
7428 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7429 __wmemcmp_sse2.
7430
7431 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7432 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7433
8a426e12
UD
7434 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7435
9bea3473
UD
74362011-12-02 Ulrich Drepper <drepper@gmail.com>
7437
3a965496
UD
7438 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7439 problem.
7440
9bea3473
UD
7441 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7442
f101631b
UD
74432011-11-29 Joseph Myers <joseph@codesourcery.com>
7444
7445 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7446 conditional on GCC version.
7447 (__arch_compare_and_exchange_val_8_acq)
7448 (__arch_compare_and_exchange_val_16_acq)
7449 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7450 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7451 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7452
a98275aa
UD
74532011-12-02 Joseph Myers <joseph@codesourcery.com>
7454
7455 * sysdeps/sh/backtrace.c: New file.
7456
d4cc29a2
AS
74572011-12-02 Andreas Schwab <schwab@redhat.com>
7458
7459 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7460 parenthesis.
7461
6257af2d
AS
74622011-12-01 Andreas Schwab <schwab@redhat.com>
7463
7464 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7465 falling back to utime.
7466
b5f44c1a
AS
74672011-11-30 Andreas Schwab <schwab@redhat.com>
7468
7469 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7470 expectations for float.
7471
f3a6cc0a
AS
74722011-11-29 Andreas Schwab <schwab@redhat.com>
7473
7474 * locale/weight.h (findidx): Add parameter len.
7475 * locale/weightwc.h (findidx): Likewise.
7476 * posix/fnmatch_loop.c (FCT): Adjust caller.
7477 * posix/regcomp.c (build_equiv_class): Likewise.
7478 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7479 * posix/regexec.c (check_node_accept_bytes): Likewise.
7480 * string/strcoll_l.c (STRCOLL): Likewise.
7481 * string/strxfrm_l.c (STRXFRM): Likewise.
7482
9d65ea3a
UD
74832011-11-17 Ulrich Drepper <drepper@gmail.com>
7484
7485 * Makefile.in: Remove CVSOPT handling.
7486 * configure.in: Remove use of AC_REVISION.
7487 * iconvdata/Makefile (distribute): No need to filter out CVS.
7488 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7489 handling.
7490
5583a086
AS
74912011-11-16 Andreas Schwab <schwab@redhat.com>
7492
7493 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7494 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7495 [USE_AS_STRNCASECMP_L]: Likewise.
7496 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7497 NO_TLS_DIRECT_SEG_REFS.
7498 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7499 Fix argument offsets for non-PIC.
7500 [USE_AS_STRNCASECMP_L]: Likewise.
7501 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7502 NO_TLS_DIRECT_SEG_REFS.
7503
d62a8200
UD
75042011-11-15 Ulrich Drepper <drepper@gmail.com>
7505
9d65ea3a 7506 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7507 O_CLOEXEC.
7508 * locale/loadlocale.c (_nl_load_locale): Likewise.
7509
09f93bd3
AS
75102011-11-15 Andreas Schwab <schwab@redhat.com>
7511
446514f9
AS
7512 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7513 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7514 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7515 (SYSCALL_GETTIME): Set errno on error.
7516
09f93bd3
AS
7517 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7518 count references to noai6ai_cached.
7519
312be3f9
UD
75202011-11-15 Ulrich Drepper <drepper@gmail.com>
7521
7522 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7523
7524 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7525 FD_CLOEXEC for /proc/self/maps.
7526
7527 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7528 FD_CLOEXEC for /proc/meminfo.
7529
7530 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7531 gai.conf.
7532
7533 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7534 FD_CLOEXEC for given file.
7535
7536 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7537
7538 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7539 FD_CLOEXEC for /etc/hosts.
7540 (_gethtent): Likewise.
7541
7542 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7543
7544 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7545 cancellation and set FD_CLOEXEC for /etc/netgroup.
7546
7547 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7548 reading /etc/publickey.
7549
7550 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7551 allow cancellation when reading /etc/group.
7552
7553 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7554 cancellation.
7555 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7556
7557 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7558 when using data file.
7559
7560 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7561
7562 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7563 (write_nis_obj): Use "c" and "e" in fopen.
7564
7565 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7566
7567 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7568
7569 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7570
7571 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7572
7573 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7574 locale.alias.
7575
7576 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7577
7578 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7579
7580 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7581
7582 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7583 file parsing and set FD_CLOEXEC.
7584
82af0fa8
UD
75852011-11-14 Ulrich Drepper <drepper@gmail.com>
7586
7587 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7588
a5fb313c
AS
75892011-11-14 Andreas Schwab <schwab@redhat.com>
7590
7591 * malloc/arena.c (arena_get2): Don't call reused_arena when
7592 _int_new_arena failed.
7593
6abf3465
UD
75942011-11-14 Ulrich Drepper <drepper@gmail.com>
7595
7596 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7597 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7598 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7599 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7600 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7601 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7602 to compile strcasecmp and strncasecmp.
7603 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7604 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7605
7606 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7607
76e3966e
UD
76082011-11-13 Ulrich Drepper <drepper@gmail.com>
7609
7610 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7611 locale-defines.sym to gen-as-const-headers.
7612 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7613 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7615 to compile strcasecmp and strncasecmp.
7616 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7617 strcasecmp_l and strncasecmp_l.
7618 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7619 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7620 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7621 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7622 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7623 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7624 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7625 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7626 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7627 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7628 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7629
ab26144e
UD
76302011-11-12 Ulrich Drepper <drepper@gmail.com>
7631
7edb22ef
UD
7632 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7633 result of SYSDEP_GETTIME_CPU to retval.
7634 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7635 parameter list to macro. Remove trailing semicolon. Adjust users.
7636
9694fc44
UD
7637 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7638 variable.
7639
8ad89ef8
UD
7640 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7641 mantissa words.
7642 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7643
0c822ef9
UD
7644 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7645 from unused variable.
7646
874e0564
UD
7647 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7648 DWARF definitions.
7649 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7650 for assembling.
7651
3a2edc79
UD
7652 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7653 over namespaces.
7654
f3c2577f
UD
7655 * sunrpc/rpc_prot.c (rejected): Fix case value.
7656
294ce126
UD
7657 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7658 unsigned long long int to avoid warnings in shift.
7659
5e2b63c6
UD
7660 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7661 of use of trans.
7662 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7663 variable tmp.
7664
e7f4b08e
UD
7665 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7666 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7667 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7668
ab26144e
UD
7669 * nis/nis_table.c (nis_list): Use variable of correct type for
7670 result of __follow_path call.
7671
8a6d5255
AZ
76722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7673
7674 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7675 of math functions ceil, trunc, floor, round, and sqrt, when
7676 avaliable on the platform.
7677 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7678 name clash.
7679 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7680 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7681 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7682
aaddc98c
MP
76832011-10-30 Marek Polacek <mpolacek@redhat.com>
7684
7685 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7686 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7687
95b7042b
RM
76882011-11-11 Roland McGrath <roland@hack.frob.com>
7689
7690 * include/unistd.h: Fix __readlink return type.
7691 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7692
57769839
UD
76932011-11-11 Ulrich Drepper <drepper@gmail.com>
7694
7695 * stdlib/ucontext.h: Undo last change for makecontext.
7696
edc5984d
AS
76972011-11-11 Andreas Schwab <schwab@redhat.com>
7698
98591e58
AS
7699 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7700
edc5984d
AS
7701 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7702 * setjmp/setjmp.h: Mark functions as non-leaf.
7703 * setjmp/bits/setjmp2.h: Likewise.
7704 * stdlib/ucontext.h: Likewise.
7705
77cdc054
AS
77062011-11-10 Andreas Schwab <schwab@redhat.com>
7707
7708 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7709 (reused_arena): Don't check arena limit.
7710 (arena_get2): Atomically check arena limit.
7711
fe72eebd
UD
77122011-11-08 Ulrich Drepper <drepper@gmail.com>
7713
5f078c32
UD
7714 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7715 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7716
fe72eebd
UD
7717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7718 instructions.
7719
ae1bc2fa
AS
77202011-11-07 Andreas Schwab <schwab@redhat.com>
7721
7583a88d
AS
7722 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7723 handler when locking.
7724
ae1bc2fa
AS
7725 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7726 Fix size of allocated buffer.
7727
10fb0bfa
AS
77282011-11-04 Andreas Schwab <schwab@redhat.com>
7729
998832a4
AS
7730 [BZ #10103]
7731 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7732 declarations for long double functions.
7733 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7734
10fb0bfa
AS
7735 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7736
3d7ba52b
AS
77372011-11-03 Andreas Schwab <schwab@redhat.com>
7738
a9ae54a1
AS
7739 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7740 installed.
7741
3d7ba52b
AS
7742 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7743 is disabled.
7744
bc8db248
ST
77452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7746
7747 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7748
45b96dd6
AS
77492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7750
647776f6
AS
7751 * include/alloca.h (stackinfo_alloca_round): Define.
7752 (extend_alloca): Use it.
7753 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7754 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7755 here.
7756
d91a8b93
AS
7757 * scripts/check-local-headers.sh: Ignore libaudit.h.
7758
45b96dd6
AS
7759 * nscd/Makefile (extra-objs): Make recursively expanded.
7760
432d41ce
UD
77612011-11-01 Ulrich Drepper <drepper@gmail.com>
7762
34372fc6
UD
7763 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7764 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7765
fadb59f8
UD
7766 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7767 * posix/tst-rfc3484-2.c: Likewise.
7768 * posix/tst-rfc3484-3.c: Likewise.
7769
78239589
UD
7770 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7771 process_vm_writev.
7772 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7773 process_vm_writev.
7774 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7775 process_vm_writev from libc using GLIBC_2.15 version.
7776
432d41ce
UD
7777 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7778
02f9c6cf
PP
77792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7780
7781 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7782 stack usage.
7783
3a2c0242
UD
77842011-10-31 Ulrich Drepper <drepper@gmail.com>
7785
f4ec4833
UD
7786 [BZ #13367]
7787 * nss/getent.c (initgroups_keys): Show error message in case no group
7788 names are given.
7789
3a2c0242
UD
7790 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7791 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7792 __bump_nl_timestamp.
7793 * nscd/connections (nscd_init): When host database is served open
7794 netlink socket and request notification about configuration changes.
7795 (main_loop_poll): Track netlink file descriptor and bump timestamp
7796 in case data becomes available.
7797 (main_loop_epoll): Likewise.
7798 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7799 (database_pers_head): Add extra_data fileds.
7800 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7801 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7802 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7803 Adjust caller.
7804 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7805 in6ai data, call __free_in6ai.
7806 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7807 Add -DHAVE_NETLINK.
7808 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7809 interface information. Reuse previous data if netlink timestamp
7810 is not changed.
7811 (__bump_nl_timestamp): New function.
7812 (__free_in6ai): New function.
7813
636064eb
UD
78142011-10-30 Ulrich Drepper <drepper@gmail.com>
7815
7816 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7817 close_not_cancel_no_status here.
7818 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7819
9beb2334
UD
78202011-10-29 Ulrich Drepper <drepper@gmail.com>
7821
6ef76f3b
UD
7822 [BZ #13276]
7823 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7824 return value.
7825
0ffc4f3e 7826 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7827 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7828 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7829
cb95113e
UD
78302011-07-03 Andreas Jaeger <aj@suse.de>
7831
7832 [BZ #10709]
7833 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7834 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7835 * math/libm-test.inc (sin_test): Add test case.
7836
a1b560ff
UD
78372011-10-29 Ulrich Drepper <drepper@gmail.com>
7838
c9aaface
UD
7839 [BZ #13337]
7840 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7841 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7842
d272e7f1
UD
7843 * elf/chroot_canon.c (chroot_canon): Cleanups.
7844
1bc33071
UD
7845 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7846
1760874d
TJ
7847 [BZ #13335]
7848 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7849 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7850
51d91b18
UD
7851 * string/test-strchr.c: Make usable for strchrnul testing.
7852 * string/test-strchrnul.c: New file.
7853 * string/Makefile (strop-tests): Add strchrnul.
7854
a1b560ff 7855 * po/it.po: Update from translation team.
b611fb81 7856 * po/es.po: Likewise.
a1b560ff 7857
a5b81e1f
UD
78582011-10-28 Ulrich Drepper <drepper@gmail.com>
7859
fd52bc6d
UD
7860 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7861 the three constants needed as parameters. Drop the others.
7862 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7863 __m128i_strloadu_tolower.
52e4b9eb
UD
7864 Create and initialize variable zero and use it in all the places
7865 where _mm_setzero_si128 was used.
fd52bc6d 7866
a5b81e1f
UD
7867 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7868 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7869 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7870 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7871 anymore.
7872 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7873 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7874 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7875 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7876 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7877 __mpranred, __mptan.
7878 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7879 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7880 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7881 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7882 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7883 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7884 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7885 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7886 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7887
b4343346
AS
78882011-10-28 Andreas Schwab <schwab@redhat.com>
7889
0c92d8a8
AS
7890 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7891 redefine if SHARED.
7892 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7893
b4343346
AS
7894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7895 wide char related routines to wcsmbs subdir.
7896
3871f58f
AS
78972011-10-27 Andreas Schwab <schwab@redhat.com>
7898
7899 [BZ #13344]
7900 * misc/sys/cdefs.h (__THROWNL): Define.
7901 * posix/unistd.h: Use __THREADNL instead of __THREAD
7902 for memory synchronization functions.
7903
94d44d9f
RM
79042011-10-26 Roland McGrath <roland@hack.frob.com>
7905
21b64b15 7906 [BZ #13349]
94d44d9f
RM
7907 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7908 doesn't exist.
7909 * manual/stdio.texi (Obstack Streams): Node removed.
7910
f6ce9294
AS
79112011-10-26 Andreas Schwab <schwab@redhat.com>
7912
80479147
AS
7913 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7914 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7915 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7916
f6ce9294
AS
7917 * math/math_private.h (math_force_eval): Allow non-addressable
7918 arguments.
7919 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7920
618280a1
UD
79212011-10-25 Ulrich Drepper <drepper@gmail.com>
7922
e0016b11
UD
7923 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7924 file is not needed.
7925
7926 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7927 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7928 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7929 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7930 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7931 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7932 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7933 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7934 Add AVX variants.
7935 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7936 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7937 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7938 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7939 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7940 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7941 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7942 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7943 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7944 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7945 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7946 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7947 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7948 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7949 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7950 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7951 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7952 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7953 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7954
7955 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7956 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7957
618280a1
UD
7958 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7959 place. Use VEX encoding when compiling for AVX.
7960
37822576
AS
79612011-10-25 Andreas Schwab <schwab@redhat.com>
7962
1f1e1947
AS
7963 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7964 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7965
37822576
AS
7966 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7967
31ea014d
UD
79682011-10-25 Ulrich Drepper <drepper@gmail.com>
7969
d7826aa1 7970 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7971 useless if() expression.
d7826aa1
UD
7972 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7973 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7974 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7975 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7976 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7977 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7978 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7979 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7980 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7981 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7982 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7983 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7984 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7985 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7986 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7987 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7988 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7989 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7990 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7991
31ea014d
UD
7992 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7993
16437fec
AS
79942011-10-25 Andreas Schwab <schwab@redhat.com>
7995
7996 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7997 condition.
7998 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7999
31d3cc00
UD
80002011-10-25 Ulrich Drepper <drepper@gmail.com>
8001
8002 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8003 .text section. Avoid duplicate constants.
8004 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8006 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8008 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8014 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8016 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8017 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8018 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8019 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8020 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8021 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8022 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8023 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8024 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8025 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8026 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8027 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8028 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8029 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8030 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8031 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8032 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8033 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8034 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8035 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8036 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8037 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8038 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8039 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8040 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8041 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8042 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8043 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8044 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8045 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8046 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8047 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8048 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8049
58985aa9
UD
80502011-10-24 Ulrich Drepper <drepper@gmail.com>
8051
202c9deb
UD
8052 * sysdeps/x86_64/dla.h: Move to ...
8053 * sysdeps/x86_64/fpu/dla.h: ...here.
8054 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8055 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8056
af968f62
UD
8057 * config.make.in: Add have-mfma4 entry.
8058 * configure.in: Substitute libc_cv_cc_fma4.
8059 * math/Makefile (dbl-only-routines): Add sincostab.
8060 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8061 Use __sincostab not sincos.
8062 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8063 name is a macro.
8064 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8068 using __copysign.
8069 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8070 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8071 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8072 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8073 and __inv.
8074 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8075 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8076 __copysign.
8077 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8078 define aliases when function name is a macro.
8079 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8080 sysdeps/ieee754/dbl-64/sincos.tbl.
8081 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8082 fma4-enabled routines.
8083 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8084 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8085 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8086 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8087 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8088 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8089 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8090 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8091 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8092 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8093 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8094 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8095 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8096 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8097 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8098 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8099 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8100 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8101 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8102 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8103 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8104 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8105 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8106 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8107 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8108 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8109 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8110 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8111 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8112 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8113
58985aa9
UD
8114 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8115 rename.
8116 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8118 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8121 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8124
a201fbcf
AS
81252011-10-24 Andreas Schwab <schwab@redhat.com>
8126
8127 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8128
fc2ee42a
LD
81292011-10-23 Ulrich Drepper <drepper@gmail.com>
8130
bb3129bd
UD
8131 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8132
0275fff8
UD
8133 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8134 prediction.
8135 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8136
2fa2ae85
UD
8137 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8138 Remove unused variable magic_bits.
8139 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8140
fc2ee42a
LD
8141 * string/strnlen.c: Define and use STRNLEN macro.
8142 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8143 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8144 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8145 * wcsmbs/wcslen.c: Define and use WCSLEN.
8146 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8147 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8148 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8149 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8150 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8151 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8152 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8153
ce7dd29f
LD
81542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8155
8156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8157 strnlen-sse2-no-bsf.
8158 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8159 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8160 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8161 Add strnlen support.
8162 (USE_AS_STRNLEN): New macro.
8163 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8164 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8165 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8166 * sysdeps/x86_64/wcslen.S: New file.
8167
979c70a3
MZ
81682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8169
8170 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8171 XMM-moves are used for copying on small sizes.
8172
2d09f82f
LD
81732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8174
8175 * wcsmbs/Makefile (strop-tests): Add wcschr.
8176 * wcsmbs/test-wcschr.c: New file.
8177 * string/test-strchr.c: Update.
8178 Add wcschr support.
8179 (WIDE): New macro.
8180
619fccca
LD
81812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8182
2d09f82f 8183 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8184 * wcsmbs/test-wcslen.c: New file.
8185 * string/test-strlen.c: Update.
8186 Add wcslen support.
8187 (WIDE): New macro.
8188
09f699ea
UD
81892011-10-23 Ulrich Drepper <drepper@gmail.com>
8190
8191 * po/it.po: Update from translation team.
8192
95584d3b
LD
81932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8194
8195 * sysdeps/x86_64/wcscmp.S: Update.
8196 Fix wrong comparison semantics.
8197 wcscmp shall use signed comparison not unsigned.
8198 Don't use substraction to avoid overflow bug.
8199 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8200 * wcsmbc/wcscmp.c: Likewise.
8201 * string/test-strcmp.c: Likewise.
8202 Add new tests to check cases with negative values.
8203
c8b3296b
UD
82042011-10-23 Ulrich Drepper <drepper@gmail.com>
8205
8206 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8207 * sysdeps/x86_64/dla.h: ...here. New file.
8208 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8209 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8217
246ad57a
AS
82182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8219
8220 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8221 __ynl_finite aliases.
8222
a1a87169
UD
82232011-10-22 Ulrich Drepper <drepper@gmail.com>
8224
0d355eb7
UD
8225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8226
a1a87169
UD
8227 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8228 define DLA_FMA.
8229 [DLA_FMA] (EMULV): Use DLA_FMA.
8230 [DLA_FMA] (MUL12): Use EMULV.
8231 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8232 that are not needed.
8233 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8240
ee2aafe0
AS
82412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8242
8243 * math/s_nan.c: Undef __nan.
8244 * math/s_nanf.c: Undef __nanf.
8245 * math/s_nanl.c: Undef __nanl.
8246 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8247 "math_private.h".
8248
bc62c2fb
UD
82492011-10-22 Ulrich Drepper <drepper@gmail.com>
8250
77425c63
UD
8251 * math/s_catan.c: Add branch predictions.
8252 * math/s_catanf.c: Likewise.
8253 * math/s_catanh.c: Likewise.
8254 * math/s_catanhf.c: Likewise.
8255 * math/s_catanhl.c: Likewise.
8256 * math/s_catanl.c: Likewise.
8257 * math/s_cexp.c: Likewise.
8258 * math/s_cexpf.c: Likewise.
8259 * math/s_cexpl.c: Likewise.
8260 * math/s_clog.c: Likewise.
8261 * math/s_clog10.c: Likewise.
8262 * math/s_clog10f.c: Likewise.
8263 * math/s_clog10l.c: Likewise.
8264 * math/s_clogf.c: Likewise.
8265 * math/s_clogl.c: Likewise.
8266 * math/s_csqrt.c: Likewise.
8267 * math/s_csqrtf.c: Likewise.
8268 * math/s_csqrtl.c: Likewise.
8269 * math/s_ctanf.c: Likewise.
8270 * math/s_ctanh.c: Likewise.
8271 * math/s_ctanhf.c: Likewise.
8272 * math/s_ctanhl.c: Likewise.
8273 * math/s_ctanl.c: Likewise.
8274
bc62c2fb
UD
8275 * math/math_private.h: Define __nan, __nanf, __nanl.
8276 * math/s_cacosh.c: Include <math_private.h>.
8277 * math/s_cacoshl.c: Likewise.
8278 * math/s_casinh.c: Likewise.
8279 * math/s_casinhf.c: Likewise.
8280 * math/s_casinhl.c: Likewise.
8281 * math/s_ccos.c: Rely entire on ccosh.
8282 * math/s_ccosf.c: Rely entire on ccoshf.
8283 * math/s_ccosl.c: Rely entirely on ccoshl.
8284 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8285 Remove tests for FE_INVALID.
8286 * math/s_ccoshf.c: Likewise.
8287 * math/s_ccoshl.c: Likewise.
8288 * math/s_csin.c: Likewise.
8289 * math/s_csinf.c: Likewise.
8290 * math/s_csinh.c Likewise.
8291 * math/s_csinhf.c: Likewise.
8292 * math/s_csinhl.c: Likewise.
8293 * math/s_csinl.c: Likewise.
8294 * math/s_ctan.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8296 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8297 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8298
8ec250a4
UD
82992011-10-21 Ulrich Drepper <drepper@gmail.com>
8300
c196fed8
UD
8301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8302 compilation problems.
8303
8ec250a4
UD
8304 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8305 __builtin_expect.
8306
8d4f46c6
UD
83072011-10-20 Ulrich Drepper <drepper@gmail.com>
8308
ed72b654
UD
8309 * sysdeps/i386/configure.in: Test for -mfma4 option.
8310 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8311 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8312 COMMON_CPUID_INDEX_80000001.
8313 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8314 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8315 use it if FMA3 is not supported.
8316 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8317
8d4f46c6
UD
8318 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8319 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8320
d45c60c2
AS
83212011-10-20 Andreas Schwab <schwab@redhat.com>
8322
8323 [BZ #12892]
8324 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8325 it would create a cycle with a link time dependency.
8326
d9a4d2ab
UD
83272011-10-19 Ulrich Drepper <drepper@gmail.com>
8328
855d1560
UD
8329 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8330 instruction.
8331 * string/Makefile (strop-tests): Add rawmemchr.
8332 * string/test-rawmemchr.c: New file.
8333
d9a4d2ab
UD
8334 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8335 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8336 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8337 when compiling str{,n}casecmp and when AVX is available. Hook up
8338 new optimized code in initializers.
8339
8f3b1ffe
AS
83402011-10-19 Andreas Schwab <schwab@redhat.com>
8341
8342 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8343 __feraiseexcept instead of feraiseexcept.
8344
d38f1dba
UD
83452011-10-18 Ulrich Drepper <drepper@gmail.com>
8346
d9a8d0ab
UD
8347 * math/math_private.h: Define defaults for libc_fetestexcept and
8348 libc_feupdateenv.
8349 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8350 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8351 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8352 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8353 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8354 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8355 libc_fetestexcept and libc_feupdateenv.
8356
4855e3dd
UD
8357 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8358 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8359 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8360 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8361 libc_feholdexcept_setround.
8362
581d30e3
UD
8363 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8364 Add s_nearbyint-c and s_nearbyintf-c.
8365 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8366 nearbyintf inlines.
8367 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8368 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8369 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8370 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8371
d38f1dba
UD
8372 * math/math_private.h: Define defaults for libc_fegetround,
8373 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8374 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8375 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8376 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8377 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8378 standard functions.
8379 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8380 Remove comments and hacks for old compiler versions.
8381 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8382 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8383 libc_feholdexceptl.
8384
caa6c9d8
AS
83852011-10-18 Andreas Schwab <schwab@redhat.com>
8386
8387 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8388 (__feraiseexcept_renamed): Add __NTH.
8389 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8390 namespace violations.
8391
97c066e6
UD
83922011-10-17 Ulrich Drepper <drepper@gmail.com>
8393
99ce7b04
UD
8394 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8395
1004d182
UD
8396 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8397
228a984d
UD
8398 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8399 recently added interfaces.
8400 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8401
c8553a6a
UD
8402 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8403 about macro parameter expansion.
8404
ed22dcf6
UD
8405 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8406 __NO_MATH_INLINES is defined. Cleanups.
8407
8408 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8409 and __floorf is target has SSE4.1.
8410 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8411 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8412 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8413 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8414
b171c137
UD
8415 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8416 name.
8417 (floorf): Likewise.
8418
97c066e6
UD
8419 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8420
629f62ef
AS
84212011-10-17 Andreas Schwab <schwab@redhat.com>
8422
49a43d80
AS
8423 * misc/sys/cdefs.h: Fix last change.
8424
629f62ef
AS
8425 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8426 database lookup.
8427
e453f6cd
UD
84282011-10-16 Ulrich Drepper <drepper@gmail.com>
8429
aa78043a
UD
8430 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8431
ad0f5cad
UD
8432 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8433 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8434 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8435 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8436 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8437 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8438 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8439 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8440 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8441 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8442 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8443 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8444 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8445 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8446 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8447 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8448 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8449 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8450 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8451 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8452 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8453 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8454
8455 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8456 ceil, ceilf, floor, floorf.
8457
8458 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8459 Perform IRELATIVE relocations last.
8460
e453f6cd
UD
8461 * elf/do-rel.h: Add another parameter nrelative, replacing the
8462 local variable with the same name. Change name of the function
8463 to end in Rel or Rela (uppercase).
8464 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8465 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8466 elf_dynamic_do_##reloc function.
8467
fd5bdc09
UD
84682011-10-15 Ulrich Drepper <drepper@gmail.com>
8469
79b195b5
UD
8470 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8471 is sufficient, at least on modern CPUs.
8472
d4a28569
UD
8473 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8474
b61099b5
UD
8475 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8476 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8477
bcf01e6d
UD
8478 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8479 __expl_finite.
8480 * math/bits/math-finite.h: Add entries for exp.
8481 * math/e_expl.c: Add __*_finite alias.
8482 * sysdeps/i386/fpu/e_exp.S: Likewise.
8483 * sysdeps/i386/fpu/e_expf.S: Likewise.
8484 * sysdeps/i386/fpu/e_expl.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8486 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8487 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8488 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8490 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8491 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8492
ba1a0d59
UD
8493 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8494 is sufficient, at least on modern CPUs.
8495
fd5bdc09
UD
8496 * ctype/ctype-info.c (__ctype_init): Define.
8497 * include/ctype.h (__ctype_init): Declare.
8498 (__ctype_b_loc): The variable is always initialized.
8499 (__ctype_toupper_loc): Likewise.
8500 (__ctype_tolower_loc): Likewise.
8501 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8502 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8503
7872cfb0
AS
85042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8505
b468825a
AS
8506 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8507
7872cfb0
AS
8508 * configure.in: Also look in $cxxmachine/include for C++ system
8509 headers.
8510
be13f7bf
LD
85112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8512
8513 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8514 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8515 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8516 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8517 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8518 (USE_AS_WMEMCMP): New macro.
8519 Fixing indents.
8520 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8521 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8522 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8523 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8525 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8526 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8527 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8528 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8529 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8530 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8531 (USE_AS_WMEMCMP): New macro.
8532 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8533 * sysdeps/string/test-memcmp.c: Update.
8534 Fix simple_wmemcmp.
8535 Add new tests.
8536 * wcsmbs/wmemcmp.c: Update.
8537 (WMEMCMP): New macro.
8538 Fix overflow bug.
8539
556a2007
AJ
85402011-10-12 Andreas Jaeger <aj@suse.de>
8541
8542 [BZ #13268]
8543 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8544
538faaa7
UD
85452011-10-15 Ulrich Drepper <drepper@gmail.com>
8546
ab6737ff
UD
8547 * libio/iofwide.c (do_length): Avoid warning.
8548
538faaa7
UD
8549 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8550
396a21b1
UD
85512011-10-14 Ulrich Drepper <drepper@gmail.com>
8552
cdf2901f
UD
8553 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8554
38ad40ce
UD
8555 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8556 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8557 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8558 * sysdeps/i386/i686/fpu/e_log.S: New file.
8559 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8560 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8561
396a21b1
UD
8562 * ctype/ctype.h: Add support for inlined isXXX functions when
8563 compiling C++ code.
8564
6b1f68c9
AS
85652011-10-14 Andreas Schwab <schwab@redhat.com>
8566
349290c0
AS
8567 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8568
6b1f68c9
AS
8569 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8570
f2282d42
RM
85712011-10-13 Roland McGrath <roland@hack.frob.com>
8572
8573 [BZ #13291]
8574 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8575
5298ffa8
AS
85762011-10-13 Andreas Schwab <schwab@redhat.com>
8577
714fad23
AS
8578 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8579 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8580 feraiseexcept.
8581
81dcc7fb
AS
8582 * sysdeps/x86_64/memrchr.S: Check for zero size.
8583
5298ffa8
AS
8584 * string/stratcliff.c: Add memrchr tests.
8585
951fbcec
LD
85862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8587
8588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8589 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8590 rawmemchr-sse2 rawmemchr-sse2-bsf.
8591 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8592 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8593 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8594 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8595 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8596 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8597 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8598 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8599 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8600 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8601 * string/memrchr.c (MEMRCHR): New macro.
8602
0ac5ae23
UD
86032011-10-12 Ulrich Drepper <drepper@gmail.com>
8604
8605 Add integration with gcc's -ffinite-math-only and optimize wrapper
8606 functions in libm.
8607 * Versions.def: Define GLIBC_2.15 version for libm.
8608 * math/Makefile (headers): Add bits/math-finite.h.
8609 * math/bits/math-finite.h: New file.
8610 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8611 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8612 * math/e_acoshl.c: Add __*_finite alias.
8613 * math/e_acosl.c: Likewise.
8614 * math/e_asinl.c: Likewise.
8615 * math/e_atan2l.c: Likewise.
8616 * math/e_atanhl.c: Likewise.
8617 * math/e_coshl.c: Likewise.
8618 * math/e_exp10.c: Likewise.
8619 * math/e_exp10f.c: Likewise.
8620 * math/e_exp10l.c: Likewise.
8621 * math/e_exp2l.c: Likewise.
8622 * math/e_fmodl.c: Likewise.
8623 * math/e_gammal_r.c: Likewise.
8624 * math/e_hypotl.c: Likewise.
8625 * math/e_j0l.c: Likewise.
8626 * math/e_j1l.c: Likewise.
8627 * math/e_jnl.c: Likewise.
8628 * math/e_lgammal_r.c: Likewise.
8629 * math/e_log10l.c: Likewise.
8630 * math/e_log2l.c: Likewise.
8631 * math/e_logl.c: Likewise.
8632 * math/e_powl.c: Likewise.
8633 * math/e_sinhl.c: Likewise.
8634 * math/e_sqrtl.c: Likewise.
8635 * math/e_scalb.c: Completely rewritten and optimized.
8636 * math/e_scalbf.c: Likewise.
8637 * math/e_scalbl.c: Likewise.
8638 * math/w_acos.c: Likewise.
8639 * math/w_acosf.c: Likewise.
8640 * math/w_acosl.c: Likewise.
8641 * math/w_acosh.c: Likewise.
8642 * math/w_acoshf.c: Likewise.
8643 * math/w_acoshl.c: Likewise.
8644 * math/w_asin.c: Likewise.
8645 * math/w_asinf.c: Likewise.
8646 * math/w_asinl.c: Likewise.
8647 * math/w_atan2.c: Likewise.
8648 * math/w_atan2f.c: Likewise.
8649 * math/w_atan2l.c: Likewise.
8650 * math/w_atanh.c: Likewise.
8651 * math/w_atanhf.c: Likewise.
8652 * math/w_atanhl.c: Likewise.
8653 * math/w_exp10.c: Likewise.
8654 * math/w_exp10f.c: Likewise.
8655 * math/w_exp10l.c: Likewise.
8656 * math/w_fmod.c: Likewise.
8657 * math/w_fmodf.c: Likewise.
8658 * math/w_fmodl.c: Likewise.
8659 * math/w_j0.c: Likewise.
8660 * math/w_j0f.c: Likewise.
8661 * math/w_j0l.c: Likewise.
8662 * math/w_j1.c: Likewise.
8663 * math/w_j1f.c: Likewise.
8664 * math/w_j1l.c: Likewise.
8665 * math/w_jn.c: Likewise.
8666 * math/w_jnf.c: Likewise.
8667 * math/w_log.c: Likewise.
8668 * math/w_logf.c: Likewise.
8669 * math/w_logl.c: Likewise.
8670 * math/w_log10.c: Likewise.
8671 * math/w_log10f.c: Likewise.
8672 * math/w_log10l.c: Likewise.
8673 * math/w_log2.c: Likewise.
8674 * math/w_log2f.c: Likewise.
8675 * math/w_log2l.c: Likewise.
8676 * math/w_pow.c: Likewise.
8677 * math/w_powf.c: Likewise.
8678 * math/w_powl.c: Likewise.
8679 * math/w_remainder.c: Likewise.
8680 * math/w_remainderf.c: Likewise.
8681 * math/w_remainderl.c: Likewise.
8682 * math/w_scalb.c: Likewise.
8683 * math/w_scalbf.c: Likewise.
8684 * math/w_scalbl.c: Likewise.
8685 * math/w_sqrt.c: Likewise.
8686 * math/w_sqrtf.c: Likewise.
8687 * math/w_sqrtl.c: Likewise.
8688 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8689 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8690 used.
8691 * math/math_private.h: Declare __kernel_standard_f.
8692 * math/w_cosh.c: Remove cruft and optimize a bit.
8693 * math/w_coshf.c: Likewise.
8694 * math/w_coshl.c: Likewise.
8695 * math/w_exp2.c: Likewise.
8696 * math/w_exp2f.c: Likewise.
8697 * math/w_exp2l.c: Likewise.
8698 * math/w_hypot.c: Likewise.
8699 * math/w_hypotf.c: Likewise.
8700 * math/w_hypotl.c: Likewise.
8701 * math/w_lgamma.c: Likewise.
8702 * math/w_lgamma_r.c: Likewise.
8703 * math/w_lgammaf.c: Likewise.
8704 * math/w_lgammaf_r.c: Likewise.
8705 * math/w_lgammal.c: Likewise.
8706 * math/w_lgammal_r.c: Likewise.
8707 * math/w_sinh.c: Likewise.
8708 * math/w_sinhf.c: Likewise.
8709 * math/w_sinhl.c: Likewise.
8710 * math/w_tgamma.c: Likewise.
8711 * math/w_tgammaf.c: Likewise.
8712 * math/w_tgammal.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8714 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8715 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8716 Minor optimizations. Pretty printing. Remove cruft.
8717 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8718 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8719 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8720 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8721 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8722 * sysdeps/i386/fpu/e_asin.S: Likewise.
8723 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8724 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8725 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8726 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8727 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8728 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8729 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8730 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8731 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8732 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8733 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8734 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8735 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8736 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8737 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8738 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8739 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8740 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8741 * sysdeps/i386/fpu/e_log.S: Likewise.
8742 * sysdeps/i386/fpu/e_log10.S: Likewise.
8743 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8744 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8745 * sysdeps/i386/fpu/e_log2.S: Likewise.
8746 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8747 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8748 * sysdeps/i386/fpu/e_logf.S: Likewise.
8749 * sysdeps/i386/fpu/e_logl.S: Likewise.
8750 * sysdeps/i386/fpu/e_pow.S: Likewise.
8751 * sysdeps/i386/fpu/e_powf.S: Likewise.
8752 * sysdeps/i386/fpu/e_powl.S: Likewise.
8753 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8754 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8755 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8756 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8757 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8758 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8759 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8760 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8761 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8764 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8774 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8775 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8778 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8779 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8780 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8781 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8782 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8783 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8784 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8785 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8786 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8787 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8788 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8789 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8790 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8791 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8792 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8793 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8794 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8795 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8796 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8797 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8798 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8799 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8800 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8801 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8802 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8803 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8804 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8808 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8812 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8814 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8815 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8817 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8818 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8819 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8827 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8833 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8834 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8835 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8842 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8845 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8847 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8848 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8850 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8853 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8854 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8855 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8856 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8857 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8858 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8859 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8860 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8861 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8862 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8863 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8864 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8865 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8866 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8867 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8868 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8869 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8870 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8871 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8872 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8873 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8874 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8875 (__isnanf): Likewise.
8876 (__isinf_ns): Likewise.
8877 (__isinf_nsf): Likewise.
8878 (__finite): Likewise.
8879 (__finitef): Likewise.
8880 (__ieee754_sqrt): Define as macro.
8881 (__ieee754_sqrtf): Define as macro.
8882 (__ieee754_sqrtl): Define as macro.
8883 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8884 inlined copy.
8885 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8886 __FINITE_MATH_ONLY__ consistent.
8887 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8888
12cc2fcd
AS
88892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8890
a843a204
AS
8891 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8892 of rawmemchr.
8893
12cc2fcd
AS
8894 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8895
c853acd5
UD
88962011-10-09 Ulrich Drepper <drepper@gmail.com>
8897
8898 * po/ja.po: Update from translation team.
8899
c658d255
RM
89002011-10-08 Roland McGrath <roland@hack.frob.com>
8901
110946e4
RM
8902 * locale/programs/locarchive.c (prepare_address_space): New function.
8903 (create_archive, enlarge_archive, open_archive): Use it.
8904
50604220
RM
8905 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8906 inside [SHARED], where it is used.
8907
c658d255
RM
8908 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8909
8910 * nss/getent.c (netgroup_keys): Remove unused variable.
8911 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8912
6a621eb7
UD
89132011-10-08 Ulrich Drepper <drepper@gmail.com>
8914
7edb55ce
UD
8915 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8916 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8917 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8918 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8919 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8920 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8921 * math/Makefile (libm-calls): Add s_isinf_ns.
8922 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8923 * math/multc3.c: Likewise.
8924 * math/s_casin.c: Likewise.
8925 * math/s_casinf.c: Likewise.
8926 * math/s_casinl.c: Likewise.
8927 * math/s_ccos.c: Likewise.
8928 * math/s_ccosf.c: Likewise.
8929 * math/s_ccosl.c: Likewise.
8930 * math/s_ctan.c: Likewise.
8931 * math/s_ctanf.c: Likewise.
8932 * math/s_ctanh.c: Likewise.
8933 * math/s_ctanhf.c: Likewise.
8934 * math/s_ctanhl.c: Likewise.
8935 * math/s_ctanl.c: Likewise.
8936 * math/w_fmod.c: Likewise.
8937 * math/w_fmodf.c: Likewise.
8938 * math/w_fmodl.c: Likewise.
8939 * math/w_remainder.c: Likewise.
8940 * math/w_remainderf.c: Likewise.
8941 * math/w_remainderl.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8943 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8944 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8945 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8946 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8947 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8948 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8949 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8950
187da0ae
UD
8951 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8952 of the number.
8953 * stdio-common/printf_fphex.c: Likewise.
8954 * stdio-common/printf_size.c: Likewise.
8955
9277c064
UD
8956 * math/e_exp10.c: Include math_private.h using <...> not "...".
8957 * math/e_exp10f.c: Likewise.
8958 * math/e_exp10l.c: Likewise.
8959 * math/e_exp2l.c: Likewise.
8960 * math/e_j0l.c: Likewise.
8961 * math/e_j1l.c: Likewise.
8962 * math/e_jnl.c: Likewise.
8963 * math/e_lgammal_r.c: Likewise.
8964 * math/e_rem_pio2l.c: Likewise.
8965 * math/e_scalb.c: Likewise.
8966 * math/e_scalbf.c: Likewise.
8967 * math/e_scalbl.c: Likewise.
8968 * math/k_cosl.c: Likewise.
8969 * math/k_sinl.c: Likewise.
8970 * math/k_tanl.c: Likewise.
8971 * math/s_cacoshf.c: Likewise.
8972 * math/s_catan.c: Likewise.
8973 * math/s_catanf.c: Likewise.
8974 * math/s_catanh.c: Likewise.
8975 * math/s_catanhf.c: Likewise.
8976 * math/s_catanhl.c: Likewise.
8977 * math/s_catanl.c: Likewise.
8978 * math/s_ccosh.c: Likewise.
8979 * math/s_ccoshf.c: Likewise.
8980 * math/s_ccoshl.c: Likewise.
8981 * math/s_cexp.c: Likewise.
8982 * math/s_cexpf.c: Likewise.
8983 * math/s_cexpl.c: Likewise.
8984 * math/s_clog.c: Likewise.
8985 * math/s_clog10.c: Likewise.
8986 * math/s_clog10f.c: Likewise.
8987 * math/s_clog10l.c: Likewise.
8988 * math/s_clogf.c: Likewise.
8989 * math/s_clogl.c: Likewise.
8990 * math/s_csin.c: Likewise.
8991 * math/s_csinf.c: Likewise.
8992 * math/s_csinh.c: Likewise.
8993 * math/s_csinhf.c: Likewise.
8994 * math/s_csinhl.c: Likewise.
8995 * math/s_csinl.c: Likewise.
8996 * math/s_csqrt.c: Likewise.
8997 * math/s_csqrtf.c: Likewise.
8998 * math/s_csqrtl.c: Likewise.
8999 * math/s_ctan.c: Likewise.
9000 * math/s_ctanf.c: Likewise.
9001 * math/s_ctanh.c: Likewise.
9002 * math/s_ctanhf.c: Likewise.
9003 * math/s_ctanhl.c: Likewise.
9004 * math/s_ctanl.c: Likewise.
9005 * math/s_ldexp.c: Likewise.
9006 * math/s_ldexpf.c: Likewise.
9007 * math/s_ldexpl.c: Likewise.
9008 * math/s_significand.c: Likewise.
9009 * math/s_significandf.c: Likewise.
9010 * math/s_significandl.c: Likewise.
9011 * math/w_acos.c: Likewise.
9012 * math/w_acosf.c: Likewise.
9013 * math/w_acosh.c: Likewise.
9014 * math/w_acoshf.c: Likewise.
9015 * math/w_acoshl.c: Likewise.
9016 * math/w_acosl.c: Likewise.
9017 * math/w_asin.c: Likewise.
9018 * math/w_asinf.c: Likewise.
9019 * math/w_asinl.c: Likewise.
9020 * math/w_atan2.c: Likewise.
9021 * math/w_atan2f.c: Likewise.
9022 * math/w_atan2l.c: Likewise.
9023 * math/w_atanh.c: Likewise.
9024 * math/w_atanhf.c: Likewise.
9025 * math/w_atanhl.c: Likewise.
9026 * math/w_cosh.c: Likewise.
9027 * math/w_coshf.c: Likewise.
9028 * math/w_coshl.c: Likewise.
9029 * math/w_dremf.c: Likewise.
9030 * math/w_exp10.c: Likewise.
9031 * math/w_exp10f.c: Likewise.
9032 * math/w_exp10l.c: Likewise.
9033 * math/w_exp2.c: Likewise.
9034 * math/w_exp2f.c: Likewise.
9035 * math/w_fmod.c: Likewise.
9036 * math/w_fmodf.c: Likewise.
9037 * math/w_fmodl.c: Likewise.
9038 * math/w_hypot.c: Likewise.
9039 * math/w_hypotf.c: Likewise.
9040 * math/w_hypotl.c: Likewise.
9041 * math/w_j0.c: Likewise.
9042 * math/w_j0f.c: Likewise.
9043 * math/w_j0l.c: Likewise.
9044 * math/w_j1.c: Likewise.
9045 * math/w_j1f.c: Likewise.
9046 * math/w_j1l.c: Likewise.
9047 * math/w_jn.c: Likewise.
9048 * math/w_jnf.c: Likewise.
9049 * math/w_jnl.c: Likewise.
9050 * math/w_lgamma.c: Likewise.
9051 * math/w_lgamma_r.c: Likewise.
9052 * math/w_lgammaf.c: Likewise.
9053 * math/w_lgammaf_r.c: Likewise.
9054 * math/w_lgammal.c: Likewise.
9055 * math/w_lgammal_r.c: Likewise.
9056 * math/w_log.c: Likewise.
9057 * math/w_log10.c: Likewise.
9058 * math/w_log10f.c: Likewise.
9059 * math/w_log10l.c: Likewise.
9060 * math/w_log2.c: Likewise.
9061 * math/w_log2f.c: Likewise.
9062 * math/w_log2l.c: Likewise.
9063 * math/w_logf.c: Likewise.
9064 * math/w_logl.c: Likewise.
9065 * math/w_pow.c: Likewise.
9066 * math/w_powf.c: Likewise.
9067 * math/w_powl.c: Likewise.
9068 * math/w_remainder.c: Likewise.
9069 * math/w_remainderf.c: Likewise.
9070 * math/w_remainderl.c: Likewise.
9071 * math/w_scalb.c: Likewise.
9072 * math/w_scalbf.c: Likewise.
9073 * math/w_scalbl.c: Likewise.
9074 * math/w_sinh.c: Likewise.
9075 * math/w_sinhf.c: Likewise.
9076 * math/w_sinhl.c: Likewise.
9077 * math/w_sqrt.c: Likewise.
9078 * math/w_sqrtf.c: Likewise.
9079 * math/w_sqrtl.c: Likewise.
9080 * math/w_tgamma.c: Likewise.
9081 * math/w_tgammaf.c: Likewise.
9082 * math/w_tgammal.c: Likewise.
9083
6a621eb7
UD
9084 * po/ja.po: Update from translation team.
9085
bf582445
AJ
90862011-09-29 Andreas Jaeger <aj@suse.de>
9087
f9efbf3a
AJ
9088 [BZ #13179]
9089 * sunrpc/netname.c (netname2host): Fix logic.
9090
bf582445
AJ
9091 [BZ #6779]
9092 [BZ #6783]
9093 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9094 correctly.
9095 * math/w_remainder.c (__remainder): Likewise.
9096 * math/w_remainderf.c (__remainderf): Likewise.
9097 * math/libm-test.inc (remainder_test): Add test cases.
9098
48693bea
AK
90992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9100
9101 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9102 sdiv_qrnnd.
9103
42622229
LD
91042011-10-07 Ulrich Drepper <drepper@gmail.com>
9105
9106 * string/test-memcmp.c: Avoid unncessary #defines.
9107 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9108
093ecf92
LD
91092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9110
9111 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9112 Use new sse2 version for core i3 - i7 as it's faster
9113 than sse42 version.
9114 (bit_Prefer_PMINUB_for_stringop): New.
9115 * sysdeps/x86_64/rawmemchr.S: Update.
9116 Replace with faster SSE2 version.
9117 * sysdeps/x86_64/memrchr.S: New file.
9118 * sysdeps/x86_64/memchr.S: Update.
9119 Replace with faster SSE2 version.
9120
fde56e5c
MP
91212011-09-12 Marek Polacek <mpolacek@redhat.com>
9122
9123 * elf/dl-load.c (lose): Add cast to avoid warning.
9124
21fd49a9
UD
91252011-10-07 Ulrich Drepper <drepper@gmail.com>
9126
5a06e643
UD
9127 * po/ca.po: Update from translation team.
9128
684ae515
UD
9129 * inet/getnetgrent_r.c: Hook up nscd.
9130 * nscd/Makefile (routines): Add nscd_netgroup.
9131 (nscd-modules): Add netgroupcache.
9132 (CFLAGS-netgroupcache.c): Define.
9133 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9134 (cache_search): Add const to second parameter.
9135 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9136 INNETGR.
9137 (dbs): Add netgrdb entry.
9138 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9139 (verify_persistent_db): Handle netgrdb.
9140 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9141 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9142 GETFDNETGR.
9143 (netgroup_response_header): Define.
9144 (innetgroup_response_header): Define.
9145 (datahead): Add netgroup_response_header and innetgroup_response_header
9146 elements.
9147 * nscd/nscd.conf: Add entries for netgroup cache.
9148 * nscd/nscd.h (dbtype): Add netgrdb.
9149 (_PATH_NSCD_NETGROUP_DB): Define.
9150 (netgroup_iov_disabled): Declare.
9151 (xmalloc, xcalloc, xrealloc): Move declarations here.
9152 (cache_search): Adjust prototype.
9153 Add netgroup-related prototypes.
9154 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9155 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9156 (__nscd_innetgr): Declare.
9157 * nscd/selinux.c (perms): Use access_vector_t as element type and
9158 add netgroup-related initializers.
9159 * nscd/netgroupcache.c: New file.
9160 * nscd/nscd_netgroup.c: New file.
9161 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9162 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9163 For four parameters use innetgr.
9164 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9165 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9166 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9167 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9168
21fd49a9
UD
9169 * nscd/connections.c (register_traced_file): Don't register file
9170 for disabled databases.
9171
054c0457
UD
91722011-10-06 Ulrich Drepper <drepper@gmail.com>
9173
32b63198
UD
9174 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9175
054c0457
UD
9176 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9177 from tree and freeing node.
9178
64031225
JO
91792011-09-25 Jiri Olsa <jolsa@redhat.com>
9180
9181 * nss/nsswitch.c (__nss_database_lookup): Handle
9182 nss_parse_service_list out of memory case.
9183
0490345c
JO
91842011-09-15 Jiri Olsa <jolsa@redhat.com>
9185
9186 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9187 out of memory case.
9188
3a62d00d
AS
91892011-10-04 Andreas Schwab <schwab@redhat.com>
9190
9191 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9192 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9193 pass it down.
9194 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9195 elf_machine_rela, elf_machine_lazy_rel.
9196 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9197 (ELF_DYNAMIC_DO_REL): Likewise.
9198 (ELF_DYNAMIC_DO_RELA): Likewise.
9199 (ELF_DYNAMIC_RELOCATE): Likewise.
9200 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9201 to ELF_DYNAMIC_DO_REL.
9202 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9203 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9204 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9205 elf_machine_rela.
9206 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9207 skip_ifunc, don't call ifunc function if non-zero.
9208 (elf_machine_rela): Likewise.
9209 (elf_machine_lazy_rel): Likewise.
9210 (elf_machine_lazy_rela): Likewise.
9211 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9212 (elf_machine_lazy_rel): Likewise.
9213 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9214 Likewise.
9215 (elf_machine_lazy_rel): Likewise.
9216 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9217 Likewise.
9218 (elf_machine_lazy_rel): Likewise.
9219 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9220 (elf_machine_lazy_rel): Likewise.
9221 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9222 (elf_machine_lazy_rel): Likewise.
9223 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9224 (elf_machine_lazy_rel): Likewise.
9225 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9226 (elf_machine_lazy_rel): Likewise.
9227 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9228 (elf_machine_lazy_rel): Likewise.
9229 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9230 (elf_machine_lazy_rel): Likewise.
9231
68577918
UD
92322011-09-28 Ulrich Drepper <drepper@gmail.com>
9233
9234 * nss/nss_files/files-init.c (_nss_files_init): Use static
9235 initialization for all the *_traced_file variables.
9236
68822d74
AS
92372011-09-28 Andreas Schwab <schwab@redhat.com>
9238
9239 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9240
2056100b
RM
92412011-09-27 Roland McGrath <roland@hack.frob.com>
9242
9243 [BZ #13226]
9244 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9245
32c76b63
AS
92462011-09-27 Andreas Schwab <schwab@redhat.com>
9247
9248 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9249 Reread the line before reparsing it.
9250
bf972c9d
AS
92512011-09-26 Andreas Schwab <schwab@redhat.com>
9252
9253 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9254
e057a1b5
JM
92552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9256 Maxim Kuvyrkov <maxim@codesourcery.com>
9257 Joseph Myers <joseph@codesourcery.com>
9258
9259 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9260 if needed for __stack_chk_guard.
9261
bc7e1c36
RM
92622011-09-19 Roland McGrath <roland@hack.frob.com>
9263
ecb1482f
RM
9264 * sysdeps/posix/spawni.c (script_execute): Always define it.
9265 It will be optimized away if unused.
9266 (maybe_script_execute): New function.
9267 (__spawni): Call it.
9268
bc7e1c36
RM
9269 * Makerules: Don't include tls.make.
9270 (config-tls): Always set to thread.
9271 * tls.make.c: File removed.
9272
1c3b002b
MF
92732011-09-19 Mike Frysinger <vapier@gentoo.org>
9274
9275 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9276 * config.make.in (CPPFLAGS-config): New substituted variable.
9277
2840865d
UD
92782011-09-15 Ulrich Drepper <drepper@gmail.com>
9279
88738eb6
UD
9280 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9281
cbf645a6 9282 [BZ #13192]
2840865d
UD
9283 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9284 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9285
b402e91a
RM
92862011-09-15 Roland McGrath <roland@hack.frob.com>
9287
9288 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9289 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9290 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9291 (CALL_FAIL): Likewise.
9292 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9293 (CALL_FAIL): Macro removed.
9294 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9295
4c1a1f71
UD
92962011-09-15 Ulrich Drepper <drepper@gmail.com>
9297
9298 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9299 for __FINITE_MATH_ONLY__ == 1.
9300
edc121be
AS
93012011-09-15 Andreas Schwab <schwab@redhat.com>
9302
9303 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9304 __ieee754_sqrt instead of sqrt.
9305 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9306 __ieee754_sqrtf instead of sqrtf.
9307 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9308 __floorf instead of floorf.
9309 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9310 __floorf, __truncf instead of floorf, truncf.
9311
cd205654
UD
93122011-09-14 Ulrich Drepper <drepper@gmail.com>
9313
ee4d0315
UD
9314 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9315
cd205654
UD
9316 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9317 __extern_always_inline.
9318 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9319 32-bit.
9320
48b67d71
AS
93212011-09-14 Andreas Schwab <schwab@redhat.com>
9322
9323 * elf/rtld.c (dl_main): Also relocate in dependency order when
9324 doing symbol dependency testing.
9325
1ae12c75
AS
93262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9327
9328 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9329 Always define `refsym'.
9330
995a80df
AS
93312011-09-13 Andreas Schwab <schwab@redhat.com>
9332
e529793b
AS
9333 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9334 (__FD_ELT): Renamed from __FDELT.
9335 * misc/bits/select2.h (__FD_ELT): Likewise.
9336 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9337 __FD_MASK instead of __FDELT, __FDMASK.
9338 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9339 Likewise.
9340 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9341 Likewise.
9342
52d4fef8
AS
9343 * elf/Makefile (gen-ldd): Fix pattern.
9344
995a80df
AS
9345 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9346 (init_tls): Likewise.
9347
8682f8b0
UD
93482011-09-12 Ulrich Drepper <drepper@gmail.com>
9349
9350 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9351
de82006d
AS
93522011-09-12 Andreas Schwab <schwab@redhat.com>
9353
a7c8e6a1
AS
9354 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9355 `struct cmsghdr *' instead of `void *'.
9356 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9357 Likewise.
9358
0f31fe77
AS
93592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9360
9361 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9362 if non-absolute.
9363 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9364 ldd_rewrite_script.
0f31fe77 9365
32b4c839
UD
93662011-09-11 Ulrich Drepper <drepper@gmail.com>
9367
83cd1420
UD
9368 * configure.in: Remove --with-tls option.
9369 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9370 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9371 out in case it is missing.
9372 * sysdeps/ia64/elf/configure.in: Likewise.
9373 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9374 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9375 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9376 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9377 * sysdeps/sh/elf/configure.in: Likewise.
9378 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9379 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9380 * sysdeps/x86_64/elf/configure.in: Likewise.
9381 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9382 * sysdeps/mach/hurd/tls.h: Likewise.
9383
633f745d
UD
9384 [BZ #13067]
9385 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9386
f318beb8
UD
9387 [BZ #13090]
9388 * configure.in: Fix use of AC_INIT.
9389
32b4c839
UD
9390 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9391
3ce1f295
UD
93922011-09-10 Ulrich Drepper <drepper@gmail.com>
9393
bb016596
UD
9394 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9395 __set_errno.
8e58439c
UD
9396 * malloc/hooks.c: Likewise.
9397
aebae053 9398 [BZ #11929]
02d46fc4
UD
9399 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9400 variables statically.
9401 (narenas): Initialize.
9402 (list_lock): Initialize.
bb016596
UD
9403 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9404 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9405 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9406 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9407 Add initializers to main_arena and mp_.
9408 (malloc_state): Remove pagesize member. Change all users to use
9409 GLRO(dl_pagesize).
9410
9411 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9412 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9413 is always initialized.
9414
22a89187
UD
9415 * malloc/malloc.c: Removed unused configurations and dead code.
9416 * malloc/arena.c: Likewise.
9417 * malloc/hooks.c: Likewise.
02d46fc4 9418 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9419
d063d164
UD
9420 * include/tls.h: Removed. USE___THREAD must always be defined.
9421 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9422 * elf/dl-libc.c: Likewise.
9423 * elf/dl-tsd.c: Likewise.
9424 * include/errno.h: Likewise.
9425 * include/netdb.h: Likewise.
9426 * include/resolv.h: Likewise.
9427 * inet/herrno-loc.c: Likewise.
9428 * inet/herrno.c: Likewise.
9429 * malloc/arena.c: Likewise.
9430 * malloc/hooks.c: Likewise.
9431 * malloc/malloc.c: Likewise.
9432 * resolv/res-state.c: Likewise.
9433 * resolv/res_libc.c: Likewise.
9434 * sysdeps/i386/dl-machine.h: Likewise.
9435 * sysdeps/ia64/dl-machine.h: Likewise.
9436 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9437 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9438 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9439 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9440 * sysdeps/sh/dl-machine.h: Likewise.
9441 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9442 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9443 * sysdeps/unix/i386/sysdep.S: Likewise.
9444 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9445 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9446 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9447 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9448 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9449 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9450 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9453 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9454 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9455 * sysdeps/x86_64/dl-machine.h: Likewise.
9456 * tls.make.c: Likewise.
9457
3ce1f295
UD
9458 * configure.in: Remove --with-__thread option. Make tests for
9459 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9460 tls_model attribute fail if no support is available. Remove
9461 USE_IN_LIBIO.
9462 * Makeconfig: Adjust for dropped configure option. All features are
9463 now mandatory.
9464 * Makerules: Likewise.
9465 * Versions.def: Likewise.
9466 * argp/argp-fmtstream.c: Likewise.
9467 * argp/argp-fmtstream.h: Likewise.
9468 * argp/argp-help.c: Likewise.
9469 * assert/assert.c: Likewise.
9470 * config.h.in: Likewise.
9471 * config.make.in: Likewise.
9472 * configure: Likewise.
9473 * configure.in: Likewise.
9474 * csu/Versions: Likewise.
9475 * csu/init.c: Likewise.
9476 * elf/tst-audit2.c: Likewise.
9477 * elf/tst-tls10.c: Likewise.
9478 * elf/tst-tls10.h: Likewise.
9479 * elf/tst-tls11.c: Likewise.
9480 * elf/tst-tls12.c: Likewise.
9481 * elf/tst-tls14.c: Likewise.
9482 * elf/tst-tlsmod11.c: Likewise.
9483 * elf/tst-tlsmod12.c: Likewise.
9484 * elf/tst-tlsmod13.c: Likewise.
9485 * elf/tst-tlsmod13a.c: Likewise.
9486 * elf/tst-tlsmod14a.c: Likewise.
9487 * elf/tst-tlsmod15b.c: Likewise.
9488 * elf/tst-tlsmod16a.c: Likewise.
9489 * elf/tst-tlsmod16b.c: Likewise.
9490 * elf/tst-tlsmod7.c: Likewise.
9491 * elf/tst-tlsmod8.c: Likewise.
9492 * elf/tst-tlsmod9.c: Likewise.
9493 * gmon/gmon.c: Likewise.
9494 * grp/fgetgrent_r.c: Likewise.
9495 * grp/putgrent.c: Likewise.
9496 * hurd/fopenport.c: Likewise.
9497 * include/libc-symbols.h: Likewise.
9498 * include/tls.h: Likewise.
9499 * intl/gettextP.h: Likewise.
9500 * intl/loadinfo.h: Likewise.
9501 * locale/global-locale.c: Likewise.
9502 * locale/localeinfo.h: Likewise.
9503 * mach/devstream.c: Likewise.
9504 * malloc/arena.c: Likewise.
9505 * malloc/set-freeres.c: Likewise.
9506 * misc/err.c: Likewise.
9507 * misc/getttyent.c: Likewise.
9508 * misc/mntent_r.c: Likewise.
9509 * posix/getopt.c: Likewise.
9510 * posix/wordexp.c: Likewise.
9511 * pwd/fgetpwent_r.c: Likewise.
9512 * resolv/Versions: Likewise.
9513 * resolv/res_hconf.c: Likewise.
9514 * shadow/fgetspent_r.c: Likewise.
9515 * shadow/putspent.c: Likewise.
9516 * stdio-common/printf_fphex.c: Likewise.
9517 * stdio-common/tmpfile.c: Likewise.
9518 * stdlib/abort.c: Likewise.
9519 * stdlib/fmtmsg.c: Likewise.
9520 * sunrpc/auth_unix.c: Likewise.
9521 * sunrpc/clnt_perr.c: Likewise.
9522 * sunrpc/clnt_tcp.c: Likewise.
9523 * sunrpc/clnt_udp.c: Likewise.
9524 * sunrpc/clnt_unix.c: Likewise.
9525 * sunrpc/openchild.c: Likewise.
9526 * sunrpc/svc_simple.c: Likewise.
9527 * sunrpc/svc_tcp.c: Likewise.
9528 * sunrpc/svc_udp.c: Likewise.
9529 * sunrpc/svc_unix.c: Likewise.
9530 * sunrpc/xdr.c: Likewise.
9531 * sunrpc/xdr_array.c: Likewise.
9532 * sunrpc/xdr_rec.c: Likewise.
9533 * sunrpc/xdr_ref.c: Likewise.
9534 * sunrpc/xdr_stdio.c: Likewise.
9535
1248c1c4
PB
95362011-09-09 Ulrich Drepper <drepper@gmail.com>
9537
9538 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9539
95402011-07-03 Andreas Jaeger <aj@suse.de>
9541
9542 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9543 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9544 regenerate with gen-libm-tests.pl.
9545
95462010-05-12 Petr Baudis <pasky@suse.cz>
9547
9548 [BZ #11589]
9549 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9550 around j0() zero points by switching to j1().
9551 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9552 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9555
f22e1074
UD
95562011-09-09 Ulrich Drepper <drepper@gmail.com>
9557
f19009c1
UD
9558 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9559 instead of 0.
9560 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9561 instead of 0. .
9562 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9563 Patch in part by Pavel Roskin <proski@gnu.org>.
9564
3f8cc204
UD
9565 [BZ #13138]
9566 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9567 realloc.
9568 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9569 Free memory block if necessary.
9570
f22e1074
UD
9571 [BZ #12847]
9572 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9573 be NULL. Don't lock in this case.
9574
0a2349f9
RM
95752011-09-09 Roland McGrath <roland@hack.frob.com>
9576
9577 * elf/elf.h (ELFOSABI_GNU): New macro.
9578 (ELFOSABI_LINUX): Define to that.
9579
f3cdd467
DZ
95802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9581
9582 * string/strncat.c (strncat): Undef the symbol in case it has been
9583 defined in bits/string.h.
9584
74718d13
UD
95852011-09-09 Ulrich Drepper <drepper@gmail.com>
9586
633e9e0f
UD
9587 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9588
0a2349f9 9589 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9590 link map.
9591
f9924780
AJ
95922011-08-17 Andreas Jaeger <aj@suse.de>
9593
9594 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9595
7f5517aa
PP
95962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9597 Ian Lance Taylor <iant@google.com>
9598
9599 * math/libm-test.inc (lround_test): New testcase.
9600 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9601
762011fe
UD
96022011-09-08 Ulrich Drepper <drepper@gmail.com>
9603
92963737
UD
9604 * Makefile: Remove support for automatic cvs check-ins.
9605 * Makerules: Likewise.
9606 * config.make.in: Likewise.
9607 * configure.in: Likewise.
9608 * intl/Makefile: Likewise.
9609 * locale/Makefile: Likewise.
9610 * po/Makefile: Likewise.
9611 * posix/Makefile: Likewise.
9612 * sysdeps/gnu/Makefile: Likewise.
9613 * sysdeps/mach/hurd/Makefile: Likewise.
9614 * sysdeps/sparc/sparc32/Makefile: Likewise.
9615
b0727fd8
JS
9616 [BZ #13118]
9617 * posix/Makefile (bug-regex32-ENV): Define.
9618 Patch by John Stanley <jpsinthemix@verizon.net>.
9619
a0f33f99
UD
9620 * misc/Makefile (headers): Add bits/select2.h.
9621 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9622 * misc/bits/select2.h: New file.
9623 * include/bits/select2.h: New file.
9624 * debug/Makefile (routines): Add fdelt_chk.
9625 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9626 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9627 FD_ISSET.
9628 * debug/fdelt_chk.c: New file.
9629
762011fe
UD
9630 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9631 * wcsmbs/test-wmemcmp.c: Likewise.
9632 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9633 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9634
96352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9636
9637 * string/Makefile (strop-tests): Add memcmp.
9638 * string/test-wmemcmp.c: New file.
9639 * string/test-memcmp.c: Add wmemcmp support.
9640
7f513ec8
RM
96412011-09-08 Roland McGrath <roland@hack.frob.com>
9642
0442afb4
RM
9643 [BZ #13153]
9644 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9645 2011-07-19 change.
9646
7f513ec8
RM
9647 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9648 garbage value in a __mach_port_mod_refs call in the cases of the
9649 task-self and thread-self ports.
9650
a12b2239
ST
96512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9652
9653 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9654
610f9ab4
AS
96552011-09-08 Andreas Schwab <schwab@redhat.com>
9656
7f513ec8 9657 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9658
48882a1a
LD
96592011-09-07 Ulrich Drepper <drepper@gmail.com>
9660
b49865be
UD
9661 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9662
fdc86bc9
UD
9663 * elf/dl-libc.c (dlerror_run): Pass back error code from
9664 dl_catch_error.
9665
c966526a
UD
9666 [BZ #13123]
9667 * elf/dl-load.c (lose): Free l_origin if it is valid.
9668
48882a1a
LD
9669 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9670 names.
9671 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9672 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9673 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9674 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9675 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9676 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9677
77a2a8b4
AZ
96782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9679
9680 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9681 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9682 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9683 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9684 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9685 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9686 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9687 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9688 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9689 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9690
24f579d8
AM
96912011-08-15 Alan Modra <amodra@gmail.com>
9692
9693 [BZ #13092]
9694 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9695 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9696 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9697 ppc_mcount to static-only-routines.
9698 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9699 __mcount_internal.
9700 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9701 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9702
3d4837df
UD
97032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9704
9705 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9706 for finite and infinity parameters.
9707
22700377
WS
97082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9709
9710 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9711 and add nop instructions for throughput optimization.
9712 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9713
5025581e
WS
97142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9715
9716 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9717 aligned copy for power7 with vector-scalar instructions.
9718 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9719
08a300c9
L
97202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9721
9722 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9723 AVX check.
9724
59178ef9
AS
97252011-09-07 Andreas Schwab <schwab@redhat.com>
9726
9727 [BZ #13144]
9728 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9729 last change.
9730
e38ba7ab
UD
97312011-09-07 Ulrich Drepper <drepper@gmail.com>
9732
9733 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9734 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9735 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9736 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9737 clock_gettime.
9738
d53a73ac
UD
97392011-09-06 Ulrich Drepper <drepper@gmail.com>
9740
fc8bffcc
UD
9741 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9742 Forgot to demangle the pointer.
9743
ceaa0c5d
UD
9744 * sysdeps/i386/sysdep.h: Define atom_text_section.
9745 * sysdeps/x86_64/sysdep.h: Likewise.
9746 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9747 section with atom_text_section.
9748 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9749 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9750 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9751 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9752 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9753
a77d3c17
UD
9754 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9755 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9756 already be defined. Change to take two parameters and don't assign
9757 result to variable. Adjust all users.
9758 Define INTERNAL_GETTIME if not already defined.
9759 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9760 call.
9761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9762 HAVE_CLOCK_GETTIME_VSYSCALL.
9763 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9764
d53a73ac
UD
9765 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9766 gettimeofday vsyscall, just use time.
9767
a8f84144
AS
97682011-09-06 Andreas Schwab <schwab@redhat.com>
9769
9770 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9771 <errno.h>.
9772
ef606249
UD
97732011-09-06 Ulrich Drepper <drepper@gmail.com>
9774
9775 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9776 syscall on x86-64.
9777 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9778 syscall.
9779 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9780 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9781 syscall if possible.
9782
6585cb60
UD
97832011-09-05 Ulrich Drepper <drepper@gmail.com>
9784
9785 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9786 e_ident. Don't pass to find_mapsXX.
9787 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9788
a5f524e4
LD
97892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9790
9791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9792 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9793 * sysdeps/x86_64/multiarch/strchr.S: Update.
9794 Check bit_slow_BSF bit.
9795 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9796 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9797 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9798
554881ef
UD
97992011-09-05 Ulrich Drepper <drepper@gmail.com>
9800
d96de963
UD
9801 [BZ #13134]
9802 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9803 before glibc 2.15.
9804 (tryshell): Define.
9805 (__spawni): Change last parameter to be flag. Test
9806 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9807 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9808 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9809 * posix/spawni.c: Likewise.
9810 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9811 * posix/spawnp.c: Likewise. Change normal version to use
9812 SPAWN_XFLAGS_USE_PATH.
9813 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9814 SPAWN_XFLAGS_TRY_SHELL.
9815
d48e5868
UD
9816 [BZ #13150]
9817 * posix/glob.h: Remove gcc 1.x support.
9818
554881ef
UD
9819 [BZ #13068]
9820 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9821
693fb948
LD
98222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9823
9824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9825 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9826 strrchr-sse2-bsf
9827 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9828 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9829 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9830 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9831 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9832 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9833
1b48c537
UD
98342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9835
49d42c37
UD
9836 * sysdeps/x86_64/wcscmp.S: New file.
9837
1b48c537
UD
9838 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9839 wcscmp-c wcscmp-sse2
9840 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9841 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9842 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9843 * wcsmbs/wcscmp.c: Allow renaming.
9844
15c95c5d
DM
98452011-09-05 David S. Miller <davem@davemloft.net>
9846
9847 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9848 stack slot, rather than the struct return pointer slot.
9849 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9850 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9852 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9853
2f0ad8f3
UD
98542011-09-05 Ulrich Drepper <drepper@gmail.com>
9855
d88ae418
UD
9856 * po/ja.po: Update from translation team.
9857
2f0ad8f3
UD
9858 [BZ #13144]
9859 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9860 kernel in 64-bit binaries.
9861
5f4318d1
DM
98622011-09-01 David S. Miller <davem@davemloft.net>
9863
9864 * elf/elf.h (HWCAP_SPARC_*): Move to..
9865 * sysdeps/sparc/sysdep.h: this new file and add new values.
9866 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9867 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9868 _DL_HWCAP_COUNT to 24.
9869 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9870 entries.
9871 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9872 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9873 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9875 instead of magic constants.
9876 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9877
3ba57516
DM
98782011-08-31 David S. Miller <davem@davemloft.net>
9879
9880 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9882 Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
9888 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9889 (PSEUDO): Reimplement to do errno handling inline.
9890 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9891 (SYSCALL_ERROR_HANDLER): New macro.
9892 (__SYSCALL_STRING): Do not do errno handling in asm.
9893 (__CLONE_SYSCALL_STRING): Delete.
9894 (__INTERNAL_SYSCALL_STRING): Delete.
9895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9896 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9897 i386.
9898 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9899 (inline_syscall*): Add 'err' argument.
9900 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9901 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9902 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9903 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9904
9905 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9906 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9907
2bc17433
AS
99082011-08-30 Andreas Schwab <schwab@redhat.com>
9909
9910 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9911
fbeb5f4d
JO
99122011-08-29 Jiri Olsa <jolsa@redhat.com>
9913
9914 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9915 directive.
9916
ad69cc26
DM
99172011-08-24 David S. Miller <davem@davemloft.net>
9918
9919 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9920
39dd69df
AS
99212011-08-24 Andreas Schwab <schwab@redhat.com>
9922
9923 * elf/Makefile: Add rules to build and run unload8 test.
9924 * elf/unload8.c: New file.
9925 * elf/unload8mod1.c: New file.
9926 * elf/unload8mod1x.c: New file.
9927 * elf/unload8mod2.c: New file.
9928 * elf/unload8mod3.c: New file.
9929
9930 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9931 it wasn't used.
9932
2c0b250a
DM
99332011-08-23 David S. Miller <davem@davemloft.net>
9934
9935 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9936 subtract stack bias.
9937 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9938 %sp not %fp in calculations.
9939 (_JMPBUF_UNWINDS_ADJ): Likewise.
9940
22044b48
DM
9941 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9942 (aio_suspend): Call it to force an exception region around the
9943 AIO_MISC_WAIT() invocation.
9944
2cae4995
AS
99452011-08-23 Andreas Schwab <schwab@redhat.com>
9946
9947 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9948 backslash.
9949
873a772e
AJ
99502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9951
9952 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9953 protection macro.
9954 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9955 and <dl-machine.h>.
9956 (Elf64_FuncDesc): Remove.
9957
25ad0df1
DM
99582011-08-22 David S. Miller <davem@davemloft.net>
9959
9960 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9961 sigaltstack check, add missing cfi directives.
9962 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9963 missing cfi directives, and sigaltstack handling.
9964
e888bcbe
AS
99652011-08-16 Andreas Schwab <schwab@redhat.com>
9966
9967 [BZ #11724]
9968 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9969 object is seen twice.
9970 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9971
9972 * elf/Makefile (distribute): Add tst-initorder2.c.
9973 (tests): Add tst-initorder2.
9974 (modules-names): Add tst-initorder2a tst-initorder2b
9975 tst-initorder2c tst-initorder2d. Add rules to build them.
9976 ($(objpfx)tst-initorder2.out): New rule.
9977 * elf/tst-initorder2.c: New file.
9978 * elf/tst-initorder2.exp: New file.
9979
87162f46
AS
99802011-08-22 Andreas Schwab <schwab@redhat.com>
9981
70538b7f
AS
9982 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9983
f55ffe58
AS
9984 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9985 dependencies back to end of function.
9986
87162f46
AS
9987 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9988 $(elfobjdir)/ld.so.
9989
91b392a4
UD
99902011-08-21 Ulrich Drepper <drepper@gmail.com>
9991
9992 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9993 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9994 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9995 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9996 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9997 of __vdso_gettimeofday.
9998 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9999 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10000 attribute_hidden.
10001 (_libc_vdso_platform_setup): Remove initialization of
10002 __vdso_gettimeofday and __vdso_time.
10003
5c43483f
UD
100042011-08-20 Ulrich Drepper <drepper@gmail.com>
10005
775a77e7
UD
10006 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10007 and fgetc_unlocked.
10008 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10009 getc_unlocked.
89f447ed 10010
49c74ba9
UD
10011 * elf/dl-open.c (add_to_global): Report additions to the global scope
10012 for LD_DEBUG=scopes.
10013 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10014 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10015
5c43483f
UD
10016 [BZ #13114]
10017 * stdio-common/Makefile (tests): Add bug24.
10018 * stdio-common/bug24.c: New file.
10019
a101b025
AJ
100202011-08-19 Andreas Jaeger <aj@suse.de>
10021
10022 [BZ #13114]
10023 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10024 non-existant file when using close-on-exec mode.
10025
c88f1766
UD
100262011-08-20 Ulrich Drepper <drepper@gmail.com>
10027
0276a718
UD
10028 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10029 the very first instruction.
10030
c88f1766
UD
10031 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10032 the CFI state in the end.
10033 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10034 inclusion of dl-trampoline.h.
10035 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10036
51ccffa0
AS
100372011-08-19 Andreas Schwab <schwab@redhat.com>
10038
94d7165f
AS
10039 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10040 expectations for long double.
10041
51ccffa0
AS
10042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10043 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10044
fd708658 100452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10046
10047 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10048 artificual limit depends upon the system page size.
10049
44f0a71e
UD
100502011-08-17 Ulrich Drepper <drepper@gmail.com>
10051
10052 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10053 * resolv/Makefile: Define CFLAGS-libresolv.
10054
8de79a24
AS
100552011-08-17 Andreas Schwab <schwab@redhat.com>
10056
10057 * nss/makedb.c (compute_tables): Make variables used in nested
10058 function static.
10059
27724598
UD
100602011-08-17 Ulrich Drepper <drepper@gmail.com>
10061
c5305d88
UD
10062 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10063 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10064 if buffer was too small.
10065
27724598
UD
10066 * elf/pldd.c (main): Attach to all threads in the process.
10067 Rewrite /proc handling to use *at functions.
10068
076fe015
UD
100692011-08-16 Ulrich Drepper <drepper@gmail.com>
10070
174baab3
UD
10071 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10072 specifies first scope to show.
10073 (dl_open_worker): Update callers. Move printing scope of new
10074 object to before the relocation.
44f0a71e 10075 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10076 * sysdeps/generic/ldsodefs.h: Update declaration.
10077
076fe015
UD
10078 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10079 string for the scope number.
10080
a60df2c3
UD
100812011-08-14 Ulrich Drepper <drepper@gmail.com>
10082
10083 * nscd/servicescache.c (cache_addserv): Make sure written is always
10084 initialized.
10085
5e4287d1
RM
100862011-08-14 Roland McGrath <roland@hack.frob.com>
10087
85ae0589
RM
10088 * sysdeps/i386/i486/bits/atomic.h
10089 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10090 statement expression, so as to suppress "set but not used" warning.
10091 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10092
69f63097
RM
10093 * string/strncat.c (STRNCAT): Use prototype definition.
10094
675456ef
RM
10095 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10096 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10097 -Iprograms here.
10098 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10099 (localedef-modules): Add localedef.
10100 (locale-modules): Add locale.
10101
5e4287d1
RM
10102 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10103 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10104 to avoid a warning.
10105
9c96ff23
DM
101062011-08-14 David S. Miller <davem@davemloft.net>
10107
10108 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10109 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10110
f9ddf089
UD
101112011-08-13 Ulrich Drepper <drepper@gmail.com>
10112
44f0a71e 10113 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10114 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10115 * elf/rtld.c (dl_main): Set l_name of vDSO.
10116 Call _dl_show_scope when DL_DEBUG_SCOPES.
10117 (process_dl_debug): Recognize scopes flag and also set it for all.
10118 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10119 Declare _dl_show_scope.
10120
1dc27704
UD
10121 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10122 (do_dlopen): Pass caller_dlopen to dl_open.
10123 (__libc_dlopen_mode): Initialize caller_dlopen.
10124
f9ddf089
UD
10125 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10126 of libc. Make tolower call locale-independent. Optimize a bit by
10127 using isdigit instead of isalnum.
10128 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10129
9ac533d3
UD
101302011-08-12 Ulrich Drepper <drepper@gmail.com>
10131
10132 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10133 was a dependency or dynamically loaded.
10134
89edf2e9
UD
101352011-08-11 Ulrich Drepper <drepper@gmail.com>
10136
8e999d29
UD
10137 * intl/l10nflist.c: Allow architecture-specific pop function.
10138 * sysdeps/x86_64/l10nflist.c: New file.
10139
89edf2e9
UD
10140 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10141 classification.
10142
14d96785
AS
101432011-08-10 Andreas Schwab <schwab@redhat.com>
10144
10145 * include/dirent.h: Add libc_hidden_proto for scandirat and
10146 scandirat64. Don't declare __scandirat64.
10147 * dirent/scandirat.c: Add libc_hidden_def.
10148 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10149 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10150
6761ac04
DM
101512011-08-10 David S. Miller <davem@davemloft.net>
10152
10153 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10154 enum.
10155 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10156 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10157 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10158
c55fbd1e
UD
101592011-08-09 Ulrich Drepper <drepper@gmail.com>
10160
10161 * Versions.def [libc]: Add GLIBC_2.15.
10162 * dirent/Makefile (routines): Add scandirat and scandirat64.
10163 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10164 GLIBC_2.15.
10165 * dirent/dirent.h: Declare scandirat and scandirat64.
10166 * dirent/scandirat.c: New file.
10167 * dirent/scandirat64.c: New file.
10168 * sysdeps/wordsize-64/scandirat.c: New file.
10169 * sysdeps/wordsize-64/scandirat64.c: New file.
10170 * dirent/opendir.c: Define opendirat.
10171 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10172 using scandirat.
10173 * dirent/scandir64.c: Adjust for scandir.c change.
10174 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10175 __scandirat64, and __scandir_cancel_handler.
10176 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10177 additional parameter and use openat instead of open (outside of ld.so).
10178 Add new __opendir as wrapper around __opendirat.
10179 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10180 here without requiring old scandirat implementation.
10181
879165f2
UD
101822011-08-08 Ulrich Drepper <drepper@gmail.com>
10183
10184 * dirent/scandir.c (cancel_handler): Renamed to
10185 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10186 defined. Adjust users.
10187 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10188 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10189
cb7e923b
UD
101902011-08-04 Ulrich Drepper <drepper@gmail.com>
10191
16292edd
UD
10192 * string/test-string.h (IMPL): Use __STRING to expand name and then
10193 stringify it.
10194
cb7e923b
UD
10195 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10196 of cleanups.
10197
cff82933
LD
101982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10199
10200 * string/Makefile: Update.
10201 (strop-tests): Append strncat.
10202 * string/test-wcscmp.c: New file.
10203 New comprehensive test for wcscmp.
10204 * string/test-strcmp.c: Update.
10205 (WIDE): New define.
10206
9be9bfcc
AS
102072011-07-22 Andreas Schwab <schwab@redhat.com>
10208
10209 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10210 line.
10211
2e96f1c7
AS
102122011-07-26 Andreas Schwab <schwab@redhat.com>
10213
10214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10215 encoding to ACE if AI_IDN.
10216
85188888
JJ
102172011-08-01 Jakub Jelinek <jakub@redhat.com>
10218
10219 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10220 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10221
5fa16e9b
LD
102222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10223
10224 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10225 Fix overflow bug in strncat.
10226 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10227
10228 * string/test-strncat.c: Update.
10229 Add new tests for checking overflow bugs.
10230
102312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10232
10233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10234 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10235 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10236 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10237 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10238 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10239 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10240 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10241 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10242
10243 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10244 (USE_AS_STRCAT): Define.
10245 Add strcat and strncat support.
10246 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10247
8c1a459f
AS
102482011-07-25 Andreas Schwab <schwab@redhat.com>
10249
10250 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10251 __n bigger than INT_MAX+1.
10252 (__strncmp_g): Likewise.
10253
bba33c28
UD
102542011-07-23 Ulrich Drepper <drepper@gmail.com>
10255
798be72d
UD
10256 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10257 * libio/stido.h: Likewise.
10258
8accd4dc
UD
10259 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10260 (AF_NFC): Define.
10261 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10262 (AF_NFC): Define.
10263
cbff0d96
UD
10264 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10266 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10267 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10268 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10269
9191c04a
UD
10270 [BZ #13021]
10271 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10272 installed.
10273
bba33c28
UD
10274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10275 typo.
10276 (_dl_x86_64_save_sse): Likewise.
10277
90f139dd
UD
102782011-07-22 Ulrich Drepper <drepper@gmail.com>
10279
1aae088a
UD
10280 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10281 OSXSAVE.
10282 (_dl_x86_64_save_sse): Likewise.
10283
8e2045f5
UD
10284 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10285
90f139dd
UD
10286 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10287
1d002f25
AS
102882011-07-21 Andreas Schwab <schwab@redhat.com>
10289
10290 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10291 change.
10292 (_dl_x86_64_save_sse): Use correct AVX check.
10293
21137f89
UD
102942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10295
10296 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10297 bug in strncpy/strncat.
10298 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10299
a65c0b7a
UD
103002011-07-21 Ulrich Drepper <drepper@gmail.com>
10301
10302 * string/tester.c (test_strcat): Add tests for different alignments
10303 of source and destination.
10304 (test_strncat): Likewise.
10305
6986b98a
UD
103062011-07-20 Ulrich Drepper <drepper@gmail.com>
10307
90bb2039
UD
10308 [BZ #12852]
10309 * posix/glob.c (glob): Check passed in values before using them in
10310 expressions to avoid some overflows.
10311 (glob_in_dir): Likewise.
10312
5644ef54
UD
10313 [BZ #13007]
10314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10315 check for AVX enablement so that we don't crash with old kernels and
10316 new hardware.
10317 * elf/tst-audit4.c: Add same checks here.
10318 * elf/tst-audit6.c: Likewise.
10319
10320 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10321
bfc9dc9b
AS
103222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10323
10324 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10325
702e64bb
UD
103262011-07-20 Ulrich Drepper <drepper@gmail.com>
10327
10328 * po/cs.po: Update from translation team.
10329 * po/bg.po: Likewise.
10330
295e904f
MP
103312011-07-12 Marek Polacek <mpolacek@redhat.com>
10332
10333 * misc/sys/cdefs.h: Add support for const attribute.
10334 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10335 to gnu_dev_{major,minor,makedev} functions.
10336
3ff94596
MP
103372011-07-20 Marek Polacek <mpolacek@redhat.com>
10338
10339 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10340
28b59fca
AS
103412011-07-20 Andreas Schwab <schwab@redhat.com>
10342
10343 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10344 strlen results.
10345
19df733e
AK
103462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10347
10348 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10349 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10350 register in order to avoid conflicts with the soft frame pointer
10351 being held in r11 when necessary.
10352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10353 (INTERNAL_VSYSCALL_NCS): Likewise.
10354
c8835729
MP
103552011-07-14 Marek Polacek <mpolacek@redhat.com>
10356
10357 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10358 * elf/dl-fini.c (_dl_fini): Adjust caller.
10359 * elf/dl-close.c (_dl_close_worker): Likewise.
10360 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10361
b902330c
MP
103622011-07-15 Marek Polacek <mpolacek@redhat.com>
10363
8991e135
MP
10364 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10365 "aux_cache->nlibs < 0".
10366
b902330c
MP
10367 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10368 in the reload-count case.
10369
99710781
LD
103702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10371
10372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10373 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10374 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10375 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10376 * sysdeps/x86_64/multiarch/strcat.S: New file.
10377 * sysdeps/x86_64/multiarch/strncat.S: New file.
10378 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10379 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10380 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10381 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10382 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10383 (USE_AS_STRCAT): Define.
10384 Add strcat and strncat support.
10385 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10387 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10388 * string/strncat.c: Update.
10389 (USE_AS_STRNCAT): Define.
10390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10391 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10392 and i7.
10393 * sysdeps/x86_64/multiarch/init-arch.h
10394 (bit_Prefer_PMINUB_for_stringop): New.
10395 (index_Prefer_PMINUB_for_stringop): Likewise.
10396 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10397 bit_Prefer_PMINUB_for_stringop.
10398
7dc6bd90
UD
103992011-07-19 Ulrich Drepper <drepper@gmail.com>
10400
10401 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10402 buffer64.
10403 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10404 of casting of buffer.
10405 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10406 buffer32 and buffer64.
10407 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10408 writes instead of casting of buffer.
10409 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10410 buffer32.
10411 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10412 casting of buffer.
10413
e0e72284
AS
104142011-07-19 Andreas Schwab <schwab@redhat.com>
10415
10416 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10417
feb1eb0b
UD
104182011-07-19 Ulrich Drepper <drepper@gmail.com>
10419
10420 * nscd/nscd.c (termination_handler): Don't do anything for a database
10421 if it has not yet been initialized.
10422
298711ff
UD
104232011-07-18 Ulrich Drepper <drepper@gmail.com>
10424
10425 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10426
104272011-07-15 Marek Polacek <mpolacek@redhat.com>
10428
10429 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10430
f9d68389
UD
104312011-07-18 Ulrich Drepper <drepper@gmail.com>
10432
10433 * po/nl.po: Update from translation team.
10434 * po/sv.po: Likewise.
10435
db290cf5
RM
104362011-07-16 Roland McGrath <roland@hack.frob.com>
10437
10438 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10439 now disallowed by GCC.
5c550700 10440
fd5e21c7
RM
10441 * configure.in (use-default-link): Default to yes if a test -shared
10442 link meets our qualifications.
10443 * configure: Regenerated.
10444
5c550700
RM
10445 * config.make.in (output-format): New variable.
10446 * configure.in: Check for ld --print-output-format support.
10447 * configure: Regenerated.
10448 * Makerules ($(common-objpfx)format.lds)
10449 [$(output-format) != unknown]: Just use $(output-format),
10450 instead of the linker-script munging.
10451
9fa2c032
RM
104522011-07-14 Roland McGrath <roland@hack.frob.com>
10453
a6928d51
RM
10454 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10455 of $(common-objpfx)shlib.lds.
10456 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10457
661607b3
RM
10458 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10459 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10460
9fa2c032
RM
10461 * configure.in (-z relro check): Adjust test code to add a large
10462 writable data section after it.
10463 * configure: Regenerated.
10464
defe9061
RM
104652011-07-11 Roland McGrath <roland@hack.frob.com>
10466
10467 * configure.in (-z relro check): Fix test code to make the variable
10468 truly const.
10469 * configure: Regenerated.
10470
319b9ad4
UD
104712011-07-11 Ulrich Drepper <drepper@gmail.com>
10472
10473 * nscd/nscd.h (struct traced_file): Define.
10474 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10475 elements. Add traced_files.
10476 (inotify_fd): Declare.
10477 (register_traced_file): Declare.
10478 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10479 (inotify_fd): Export.
10480 (resolv_conf_descr): Remove.
10481 (nscd_init): Move inotify descriptor creation to main.
10482 Don't register files for notification here.
10483 (register_traced_file): New function.
10484 (invalidate_cache): Don't use reset_res to determine whether to call
10485 res_init, go through the list of registered files.
10486 (main_loop_poll): The inotify descriptors are now stored in the
10487 structures for the traced files.
10488 (main_loop_epoll): Likewise
10489 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10490 to __nss_disable_nscd.
10491 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10492 for a database anymore. Check the records for all the registered
10493 files instead.
10494 * nss/Makefile (libnss_files-routines): Add files-init.
10495 (libnss_db-routines): Add db-init.
10496 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10497 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10498 * nss/nss_db/db-init.c: New file.
10499 * nss/nss_files/files-init.c: New file.
10500 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10501 __nss_lookup_function.
10502 (__nss_lookup_function): Call nss_load_library.
10503 (nss_load_all_libraries): New function.
10504 (__nss_disable_nscd): Take parameter with callback function for files
10505 to register. Set is_nscd. Load all the DSOs for the NSS modules
10506 used for the cached services.
10507 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10508 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10509 options for features to all the files in nscd.
10510
10511 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10512
23bee3e8
RM
105132011-07-10 Roland McGrath <roland@hack.frob.com>
10514
10515 * csu/elf-init.c (__libc_csu_init): Comment typo.
10516
46a5b7f0
UD
105172011-07-09 Ulrich Drepper <drepper@gmail.com>
10518
10519 * po/pl.po: Update from translation team.
10520 * po/ja.po: Likewise.
10521 * po/ru.po: Likewise.
10522 * po/ko.po: Likewise.
10523 * po/fr.po: Likewise.
10524
d30cf5bb
RM
105252011-07-09 Roland McGrath <roland@hack.frob.com>
10526
113ddea4
RM
10527 * configure.in (.ctors/.dtors header and trailer check):
10528 Use an empirical test on a built program.
10529 * configure: Regenerated.
10530
574920b4
RM
10531 * configure.in (-z relro check): Use an empirical test on a built DSO.
10532 Detect, but do not require, on ia64.
10533 * configure: Regenerated.
10534
d30cf5bb
RM
10535 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10536 Update tests that use readelf to use $READELF instead.
10537 * configure: Regenerated.
10538
8538fdb3
UD
105392011-07-08 Ulrich Drepper <drepper@gmail.com>
10540
10541 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10542 if the result is not used.
10543
04d08991
AJ
105442011-07-05 Andreas Jaeger <aj@suse.de>
10545
10546 [BZ#9696]
10547 * stdlib/tst-strtod.c: Add testcase.
10548
de283087
AD
105492011-07-07 Ulrich Drepper <drepper@gmail.com>
10550
4e5f31c8 10551 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10552 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10553 The latter has a higher limit. Take additional parameter to pass to
10554 the new function.
10555 (__pathconf): Pass file to __statfs_link_max.
10556 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10557 __statfs_link_max.
10558 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10559 __statfs_link_max.
10560
de283087
AD
10561 [BZ #12868]
10562 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10563 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10564 Handle Lustre.
10565 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10566 (__statfs_filesize_max): Likewise.
10567 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10568
c75fa153
AJ
105692011-07-05 Andreas Jaeger <aj@suse.de>
10570
10571 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10572
1a544854
UD
105732011-07-06 Marek Polacek <mpolacek@redhat.com>
10574
10575 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10576 `status' variable.
10577 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10578 Likewise.
10579
6f0eec67
UD
105802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10581
10582 * Makefile (strop-tests): Add strncat.
10583 * string/test-strncat.c: New file.
10584
aae30307
UD
105852011-06-30 Marek Polacek <mpolacek@redhat.com>
10586
10587 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10588
c0cfb5eb
UD
105892011-06-21 Andreas Jaeger <aj@suse.de>
10590
10591 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10592 Copy rule from iconvdata/Makefile.
10593
01636b21
UD
105942011-07-06 Ulrich Drepper <drepper@gmail.com>
10595
10596 [BZ #12922]
10597 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10598 but no long options are defined, just return 'W'.
10599
9895c8bc
UD
106002011-06-22 Marek Polacek <mpolacek@redhat.com>
10601
10602 [BZ #9696]
10603 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10604
5d4cf042
UD
106052011-07-06 Ulrich Drepper <drepper@gmail.com>
10606
10607 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10608 netgroups to read.
960e5535 10609 (innetgr): Likewise.
5d4cf042 10610
751eb97e
RM
106112011-07-05 Roland McGrath <roland@hack.frob.com>
10612
10613 * config.make.in (install_root): Default to $(DESTDIR).
10614
f15f1e45
UD
106152011-07-05 Ulrich Drepper <drepper@gmail.com>
10616
10617 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10618
4e34ac6a
RM
106192011-07-02 Roland McGrath <roland@hack.frob.com>
10620
5e9b6af4
RM
10621 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10622
84f9ea0f
RM
10623 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10624 containing directory rather than embedding absolute directory names.
10625
ea5ee9f7
RM
10626 * scripts/check-local-headers.sh: Rewritten using awk.
10627 Match by word, not by line. Print error messages for matches.
10628 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10629
1b74661a
RM
10630 * Makerules [shlib-lds-flags empty]:
10631 ($(common-objpfx)libc_pic.opts): New target.
10632 ($(common-objpfx)libc_pic.os.clean): New target.
10633 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10634
10635 * config.make.in (OBJCOPY): New variable.
10636 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10637 * configure: Regenerated.
10638
f781ef40
RM
10639 * config.make.in (use-default-link): New variable.
10640 * configure.in (use_default_link): Grok --with-default-link to set it.
10641 * configure: Regenerated.
10642 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10643 (shlib-lds, shlib-lds-flags): Define to empty.
10644
2d4fa81e
RM
10645 * Makerules (shlib-lds): New variable.
10646 (shlib-lds-flags): New variable.
10647 (build-shlib, build-moduile, build-module-asneeded): Use it.
10648 ($(common-objpfx)libc.so): Use $(shlib-lds).
10649 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10650 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10651
31fffa6b
RM
10652 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10653 DT_FLAGS/DT_FLAGS_1 with zero flags.
10654
4e34ac6a
RM
10655 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10656 linker script munging.
10657
fcfc776b
UD
106582011-07-02 Ulrich Drepper <drepper@gmail.com>
10659
10660 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10661 as 128-bit value.
10662 * crypt/sha512.c (sha512_process_block): Perform total addition using
10663 128-bit if possible.
10664 (__sha512_finish_ctx): Likewise.
10665 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10666 as 64-bit value.
10667 * crypt/sha256.c (SWAP64): Define.
10668 (sha256_process_block): Perform total addition using 64-bit if
10669 possible.
10670 (__sha256_finish_ctx): Likewise.
10671
99231d9a
UD
106722011-07-01 Ulrich Drepper <drepper@gmail.com>
10673
10674 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10675 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10676 * nscd/hstcache.c (cache_addhst): Likewise.
10677 * nscd/grpcache.c (cache_addgr): Likewise.
10678 * nscd/aicache.c (addhstaiX): Likewise
10679 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10680
445b4a53
TK
106812011-07-01 Thorsten Kukuk <kukuk@suse.de>
10682
10683 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10684 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10685 * nscd/hstcache.c (cache_addhst): Likewise.
10686 * nscd/grpcache.c (cache_addgr): Likewise.
10687 * nscd/aicache.c (addhstaiX): Likewise
10688
6d4d8e8e
AS
106892011-07-01 Andreas Schwab <schwab@redhat.com>
10690
10691 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10692 domain only when needed.
10693
89f654c5
AS
106942011-06-30 Andreas Schwab <schwab@redhat.com>
10695
10696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10697 is always restored.
10698
cf3b23ff
UD
106992011-06-29 Ulrich Drepper <drepper@gmail.com>
10700
10701 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10702 are re-adding the entry.
10703 * nscd/servicescache.c (cache_addserv): Likewise.
10704
751626f9
AJ
107052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10706
10707 * sysdeps/generic/dl-irel.h: fix protection against multiple
10708 inclusions.
10709 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10710
9113ea1f
UD
107112011-06-28 Ulrich Drepper <drepper@gmail.com>
10712
5c0b8d90
UD
10713 [BZ #12935]
10714 * malloc/memusage.sh: Fix quoting in message.
10715 * debug/xtrace.sh: Likewise.
10716
9113ea1f
UD
10717 * configure.in: Remove support for --experimental-malloc option, make
10718 it the default.
10719 * config.make.in: Likewise.
10720 * malloc/Makefile: Likewise.
10721
a4172181
AS
107222011-06-27 Andreas Schwab <schwab@redhat.com>
10723
10724 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10725 two-byte characters.
10726
78a7eee7
RM
107272011-06-27 Roland McGrath <roland@hack.frob.com>
10728
62bede13
RM
10729 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10730 AC_CACHE_CHECK invocation.
10731 * configure: Regenerated.
10732
78a7eee7
RM
10733 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10734
5ce33a62
UD
107352011-06-27 Ulrich Drepper <drepper@gmail.com>
10736
034807a9
UD
10737 [BZ #12350]
10738 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10739 bit from old_res_options.
10740
4902da17
UD
10741 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10742
5ce33a62
UD
10743 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10744 value type for setfct.
10745
c2344f56
L
107462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10747
10748 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10749 __gettimeofday instead of gettimeofday.
10750
68468076
UD
107512011-06-26 Ulrich Drepper <drepper@gmail.com>
10752
10753 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10754
acb0d739
L
107552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10756
10757 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10758
10759 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10760 info.
10761
8912479f
L
107622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10763
10764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10765 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10766 strcpy-sse2-unaligned strncpy-sse2-unaligned
10767 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10768 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10769 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10770 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10771 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10772 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10773 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10774 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10775 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10776 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10777 (STRCPY): Support SSE2 and SSSE3 versions.
10778
d5495a11
UD
107792011-06-24 Ulrich Drepper <drepper@gmail.com>
10780
10781 [BZ #12874]
10782 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10783 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10784 kernels which artificially limit size of requests.
10785
0b1cbaae
L
107862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10787
10788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10789 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10790 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10791 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10792 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10793 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10794 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10795 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10796 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10797 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10798 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10799 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10800 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10801 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10802 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10804 Enable unaligned load optimization for Intel Core i3, i5 and i7
10805 processors.
10806 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10807 Define.
10808 (index_Fast_Unaligned_Load): Define.
10809 (HAS_FAST_UNALIGNED_LOAD): Define.
10810
07f494a0
MP
108112011-06-23 Marek Polacek <mpolacek@redhat.com>
10812
10813 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10814
fa3fc0fe
UD
108152011-06-22 Ulrich Drepper <drepper@gmail.com>
10816
10817 [BZ #12907]
10818 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10819 until it is clear that the information is realy needed.
10820 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10821
e12df166
AS
108222011-06-22 Andreas Schwab <schwab@redhat.com>
10823
10824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10825
852eb34d
UD
108262011-06-22 Ulrich Drepper <drepper@gmail.com>
10827
84e2a551
UD
10828 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10829 /sys/devices/system/cpu/online if it is usable.
10830
852eb34d
UD
10831 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10832 reading the information from the /proc filesystem to once a second.
10833
6e502e19
UD
108342011-06-21 Andreas Jaeger <aj@suse.de>
10835
10836 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10837 NULL after inclusion of kernel headers.
10838
75d39ff2
UD
108392011-06-21 Ulrich Drepper <drepper@gmail.com>
10840
51f9aa6a
UD
10841 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10842 calls to internal_setent.
10843
c0244a9d
UD
10844 [BZ #12885]
10845 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10846 addresses using gethostbyname4_r ignore IPv4 addresses.
10847
c5e3c2ae
UD
10848 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10849 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10850
75d39ff2
UD
10851 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10852
42675c6f
DM
108532011-06-20 David S. Miller <davem@davemloft.net>
10854
10855 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10856 inclusions.
10857 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10858
10859 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10860 (elf_irel): Use it.
10861 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10862 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10863 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10864 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10865 * sysdeps/x86_64/dl-irel.h: Likewise.
10866
10867 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10868 * elf/dl-sym.c: Likewise.
10869
57912a71
UD
108702011-06-15 Ulrich Drepper <drepper@gmail.com>
10871
10872 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10873 need to dereference resplen2.
10874
ee22793d
AS
108752011-06-14 Andreas Schwab <schwab@redhat.com>
10876
10877 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10878
a9e836b0
UD
108792011-06-15 Ulrich Drepper <drepper@gmail.com>
10880
77fb9117
UD
10881 * Makeconfig: Define vardbdir and inst_vardbdir.
10882 * nss/Makefile: Add rules to install db-Makefile.
10883
40c1b22c
UD
10884 * nss/nss_db/db-XXX.c: Cleanup.
10885
9f2da732
UD
10886 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10887 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10888 GLIBC_PRIVATE.
10889 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10890 * nss/makedb.c: Implement -g option to specify that value strings
10891 are generated and should not be added to table iterated over for
10892 get*ent calls.
10893 * nss/nss_db/db-initgroups.c: New file.
10894
82e9a1f7
UD
10895 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10896 interface.
10897
c41af17e
UD
10898 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10899 (internal_getgrouplist): Adjust to name change.
10900 Update use_initgroups_entry if this is not the first call.
10901 * nss/databases.def: Add initgroups entry.
10902
a9e836b0
UD
10903 * nss/makedb.c (compute_tables): Check result of multiple hash table
10904 sizes to minimize maximum chain length.
10905
2666d441
UD
109062011-06-14 Ulrich Drepper <drepper@gmail.com>
10907
10908 * Versions.def: Add entry for libnss_db.
10909 * shlib-versions: Likewise.
10910 * nss/Makefile: Add rules to build libnss_db.
10911 * nss/Versions: Add libnss_db information. Organize libnss_files
10912 entries better.
10913 * nss/db-Makefile: Add gshadow support. Change rules for the new
10914 makedb progra. Some minor improvements to generate smaller files.
10915 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10916 here from...
10917 * nss/makedb.c: ...here.
10918 Improve database format to be smaller and require less memory at
10919 runtime.
10920 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10921 db anymore.
10922 * nss/nss_db/db-netgrp.c: Likewise.
10923 * nss/nss_db/db-open.c: Likewise.
10924 * nss/nss_files/flies-XXX.x: Adjust comments.
10925 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10926 * nss/nss_files/files-grp.c: Likewise.
10927 * nss/nss_files/files-hosts.c: Likewise.
10928 * nss/nss_files/files-network.c: Likewise.
10929 * nss/nss_files/files-proto.c: Likewise.
10930 * nss/nss_files/files-pwd.c: Likewise.
10931 * nss/nss_files/files-rpc.c: Likewise.
10932 * nss/nss_files/files-service.c: Likewise.
10933 * nss/nss_files/files-sgrp.c: Likewise.
10934 * nss/nss_files/files-spwd.c: Likewise.
10935 * nss/nss_db/db-alias.c: Removed.
10936 * nss/nss_db/dummy-db.h: Removed.
10937
9ee76b5a
UD
109382011-06-02 Ulrich Drepper <drepper@gmail.com>
10939
10940 * nss/makedb.c: Rewritten to not use database library.
10941 * nss/Makefile: Update to build new makedb program.
10942
c71ca1f8
AJ
109432011-06-14 Andreas Jaeger <aj@suse.de>
10944
10945 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10946 memset declaration.
10947
3154bfb8
UD
109482011-06-10 Andreas Schwab <schwab@redhat.com>
10949
10950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10951 tmpbuf.
10952
b350afab
RM
109532011-06-10 Roland McGrath <roland@hack.frob.com>
10954
decd4e50
RM
10955 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10956 * elf/Makefile ($(objpfx)ld.so): Likewise.
10957
5615eaf2
RM
10958 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10959 Don't list ld.so twice in dependencies.
10960
10961 * posix/bug-regex31.c: Include <stdlib.h>.
10962
10963 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10964
10965 * nis/nss_compat/compat-spwd.c
10966 (getspent_next_nss_netgr): Remove unused variable.
10967 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10968
10969 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10970 nonmembers" output to use the right array.
10971
10972 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10973
10974 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10975
10976 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10977 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10978 * catgets/gencat.c (read_input_file): Likewise.
10979 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10980
10981 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10982 variable definition inside #if's controlling its use.
10983
10984 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10985
10986 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10987
10988 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10989
10990 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10991 unreachable code.
10992
10993 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10994
b68e08db
RM
10995 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10996 * configure: Regenerated.
10997
b350afab
RM
10998 * Makerules: Revert last change.
10999 * elf/Makefile: Likewise.
11000
28368601
RM
110012011-06-09 Roland McGrath <roland@hack.frob.com>
11002
11003 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11004 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11005 (reloc-link): Likewise.
11006
11988f8f
UD
110072011-06-09 Ulrich Drepper <drepper@gmail.com>
11008
11009 * elf/Makefile: Add rules to build pldd.
11010 * elf/pldd.c: New file.
11011 * elf/pldd-xx.c: New file.
11012
e80fab37
UD
110132011-06-07 Ulrich Drepper <drepper@gmail.com>
11014
11015 * version.h: Update for 2.15 development version.
11016
9b849836
DM
110172011-06-07 David S. Miller <davem@davemloft.net>
11018
11019 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11020 ifuncs.
11021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11022 elf_machine_lazy_rel): Likewise.
11023 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11025 elf_machine_lazy_rel): Likewise.
11026 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11027 dl_hwcap via passed in argument.
11028 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11029 Likewise.
11030
5a31b283
AK
110312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11032
11033 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11034
069e52f8
RM
110352011-06-06 Roland McGrath <roland@hack.frob.com>
11036
11037 [BZ #12849]
11038 * manual/fdl-1.1.texi: New file, verbatim from:
11039 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11040 * manual/lgpl-2.1.texi: New file, verbatim from:
11041 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11042 * manual/Makefile (licenses): New variable, list those new file names.
11043 (texis): Use it.
11044 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11045
11046 * manual/fdl.texi: File removed.
11047 * manual/lesser.texi: File removed.
11048 * manual/libc.texinfo (Copying, Documentation License):
11049 Use new @include file names, put @appendix directive before @include.
11050
f16846a5
JJ
110512011-06-04 Jakub Jelinek <jakub@redhat.com>
11052
11053 [BZ #12841]
11054 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11055 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11056 (mq_open): Add __NTH.
11057
3d29045b
L
110582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11059
11060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11061 Assume Intel Core i3/i5/i7 processor if AVX is available.
11062
8c297311
UD
110632011-05-31 Ulrich Drepper <drepper@gmail.com>
11064
11065 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11066 typo.
11067
c8fc0c91
UD
110682011-05-31 Andreas Schwab <schwab@redhat.com>
11069
11070 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11071 memory. Use alloca_account. Fix memory leak when retrying.
11072
5b27a807
UD
110732011-05-31 Ulrich Drepper <drepper@gmail.com>
11074
356f8bc6
UD
11075 * version.h (RELEASE): Bump for 2.14 release.
11076 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11077
5b27a807
UD
11078 * config.make.in (RANLIB): Remove entry.
11079
01f16ab0
UD
110802011-05-30 Ulrich Drepper <drepper@gmail.com>
11081
41fce8bd
UD
11082 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11083 (libc.pot): Work around missing support for .ksh extension in xgettext.
11084
4769ae77
UD
11085 [BZ #12684]
11086 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11087 if both request failed.
11088 (send_dg): In case of server errors clear resplen or *resplen2.
11089
6b1e7d19
UD
11090 [BZ #12454]
11091 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11092 when there are multiple maps.
11093 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11094 (_dl_fini): Remove test here.
11095
01f16ab0
UD
11096 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11097
b1ebd700
UD
110982011-05-29 Ulrich Drepper <drepper@gmail.com>
11099
7ae22829
UD
11100 [BZ #12350]
11101 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11102 bit from old_res_options.
11103 (gaih_inet): Likewise.
11104
553149f6 11105 [BZ #11099]
18a84741 11106 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11107 as signed.
11108
652ffab1
UD
11109 * resolv/res_init.c (res_setoptions): Make the code more compact.
11110
16985fd0
UD
11111 [BZ #11558]
11112 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11113 set RES_USEVC.
11114
0464f746
UD
11115 [BZ #11634]
11116 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11117
7d17596c
UD
11118 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11119
cf6bbbd7
UD
11120 [BZ #11781]
11121 * malloc/malloc.h: Declare malloc hook variables as volatile.
11122
13f1ab36
UD
11123 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11124 in last patch.
11125
b1ebd700
UD
11126 [BZ #11799]
11127 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11128 raise in the comment.
80e2212d
UD
11129 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11130 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11131 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11132
ce67228d
UD
111332011-05-28 Ulrich Drepper <drepper@gmail.com>
11134
8887a920
UD
11135 [BZ #12811]
11136 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11137 grow the buffers more if it already has to be sufficient.
11138 (build_wcs_upper_buffer): Likewise.
11139 * posix/regexec.c (check_matching): Likewise.
11140 (clean_state_log_if_needed): Likewise.
11141 (extend_buffers): Don't enlarge buffers beyond size of the input
11142 buffer.
11143 Patches mostly by Emil Wojak <emil@wojak.eu>.
11144 * posix/bug-regex32.c: New file.
11145 * posix/Makefile (tests): Add bug-regex32.
11146
4f031072
UD
11147 * locale/findlocale.c (_nl_find_locale): Return right away if
11148 _nl_explode_name failed.
11149 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11150
d0478f0c
UD
11151 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11152
de81b246
UD
11153 * debug/xtrace.sh: Unify messages.
11154 * malloc/memusage.sh: Likewise.
11155
c738465a
UD
11156 [BZ #12813]
11157 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11158 time symbol from vDSO. Substitute with vsyscall if not available.
11159 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11160 __vdso_time.
11161
f1f929d7
UD
11162 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11163 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11164 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11165 Add sendmmsg and internal_sendmmsg.
11166 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11167 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11168 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11169
ce67228d
UD
11170 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11171 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11172 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11173
e57420c6
UD
111742011-05-27 Ulrich Drepper <drepper@gmail.com>
11175
a8509ca5
UD
11176 [BZ #12813]
11177 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11178 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11179 available.
11180 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11181 __vdso_getcpu.
11182
e57420c6
UD
11183 [BZ #12814]
11184 * iconvdata/Makefile (tests): Add bug-iconv9.
11185 * iconvdata/bug-iconv9.c: New file.
11186
4d07db15
AS
111872011-05-27 Andreas Schwab <schwab@redhat.com>
11188
11189 [BZ #12814]
11190 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11191
ea486f69
JJ
111922011-05-25 Jakub Jelinek <jakub@redhat.com>
11193
11194 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11195 (struct user_regs_struct): Change intcs field back to cs.
11196
6f038433
UD
111972011-05-25 Ulrich Drepper <drepper@gmail.com>
11198
11199 * po/ja.po: Update from translation team.
11200
67f86a25
UD
112012011-05-23 Ulrich Drepper <drepper@gmail.com>
11202
11203 [BZ #12795]
11204 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11205 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11206
def7fbd6
AS
112072011-05-20 Andreas Schwab <schwab@redhat.com>
11208
11209 * stdlib/longlong.h: Update from GCC.
11210
f50ef8f1
AS
112112011-05-23 Andreas Schwab <schwab@redhat.com>
11212
11213 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11214 parameter name.
11215 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11216 Add parameter name.
11217 (__sysconf): Pass it down.
11218
de7ce8f1
UD
112192011-05-22 Ulrich Drepper <drepper@gmail.com>
11220
f2962a71
UD
11221 [BZ #12671]
11222 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11223 some situations.
11224 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11225 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11226 add in in __libc_use_alloca calls. Adjust callers.
11227 (glob): Use malloc in some situations.
11228
de7ce8f1
UD
11229 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11230 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11231 pltexit.
11232
aec84f53
UD
112332011-05-21 Ulrich Drepper <drepper@gmail.com>
11234
05bb4a68
UD
11235 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11236 and CLOCK_BOOTTIME_ALARM.
11237
7ea72f99
UD
11238 [BZ #12782]
11239 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11240 is returned.
11241
7e4afad5
UD
11242 * string/_strerror.c (__strerror_r): Print negative errors as signed
11243 numbers.
11244
8e211fec
UD
11245 [BZ #12777]
11246 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11247 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11248 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11249
f7d82dc9
UD
11250 * configure.in: Fix typo in redirection and correct removal of test
11251 files in two cases.
11252
cc9e536d
UD
11253 [BZ #12788]
11254 * locale/setlocale.c (new_composite_name): Fix test to check for
11255 identical name of all categories.
11256
aec84f53
UD
11257 [BZ #12792]
11258 * libio/filedoalloc.c (local_isatty): New function.
11259 (_IO_file_doallocate): Use local_isatty.
11260 * stdio-common/perror.c (perror): In case a new stream is used
11261 forward the stream error.
11262 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11263 error flag.
11264
78e64fdc
RT
112652011-05-20 Ulrich Drepper <drepper@gmail.com>
11266
34a9094f
UD
11267 [BZ #11869]
11268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11269 alloca.
11270 * include/alloca.h (extend_alloca_account): Define.
11271
78e64fdc
RT
11272 [BZ #11857]
11273 * posix/regex.h: Fix comments with documentation of user-accessible
11274 fields after compilation and describe correct free'ing of pattern
11275 after re_compile_pattern.
11276 Patch by Reuben Thomas <rrt@sc3d.org>.
11277
457bddfc
RA
112782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11279
11280 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11281 and -mno-altivec to prevent the compiler from using Altivec and/or
11282 VSX instructions when the corresponding registers are not available.
11283
a4527b51
AS
112842011-05-19 Andreas Schwab <schwab@redhat.com>
11285
11286 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11287
ed690b2f
UD
112882011-05-19 Ulrich Drepper <drepper@gmail.com>
11289
11290 * libio/freopen.c (freopen): Use __dup2, not dup2.
11291 * libio/freopen64.c (freopen64): Likewise.
11292
8db73634
L
112932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11294
11295 [BZ #12775]
11296 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11297 * math/Makefile (tests): Add test-powl.
11298 (CFLAGS-test-powl.c): Define.
11299 * math/test-powl.c: New file.
11300
0a197a9d
L
113012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11304
ee30c380
UD
113052011-05-17 Ulrich Drepper <drepper@gmail.com>
11306
11307 [BZ #11837]
11308 * iconvdata/gb18030.c: Update to GB18020-2005.
11309
6ce75379
UD
113102011-05-16 Ulrich Drepper <drepper@gmail.com>
11311
a4b89fd8
AR
11312 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11313 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11314 Patch by Aharon Robbins <arnold@skeeve.com>.
11315
ea389b12
UD
11316 [BZ #11892]
11317 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11318 on the stack.
11319
68a3f91f
UD
11320 [BZ #11895]
11321 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11322 through underflows.
11323
15cc7dd1
UD
11324 [BZ #12766]
11325 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11326 point to strings before performing equality test for error_one_per_line
11327 mode.
11328
f3799213
UD
11329 [BZ #11697]
11330 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11331
d79a9c94
UD
11332 [BZ #11820]
11333 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11334 (struct user_fpregs_struct): Avoid __uint*_t types.
11335
56e5eb46
UD
11336 [BZ #6420]
11337 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11338 symbol info. Use it instead of calling _dl_addr locally.
11339 (lock_and_info): New function.
11340 (tr_freehook): Call lock_and_info and pass symbol info as additional
11341 parameter to tr_where.
11342 (tr_mallochook): Likewise.
11343 (tr_reallochook): Likewise.
11344 (tr_memalignhook): Likewise.
11345
6ce75379
UD
11346 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11347 used and couldn't be at all thread-safe.
11348
f8a3b5bf
UD
113492011-05-15 Ulrich Drepper <drepper@gmail.com>
11350
94b7cc37
UD
11351 * libio/freopen.c (freopen): Don't close old file descriptor
11352 before the new one is opened. Instead dup the new file descriptor
11353 to the old one after the new stream is created.
11354 * libio/freopen64.c (freopen64): Likewise.
11355 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11356 * libio/fileops.c (_IO_new_file_close_it): Handle new
11357 _IO_FLAGS2_NOCLOSE flag.
11358 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11359 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11360 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11361 _IO_FLAGS2_NOCLOSE flag.
11362 * include/unistd.h: Add hidden_proto for dup3.
11363 Define __have_dup3.
11364 * io/dup3.c: Define hidden symbol.
11365 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11366
bd25564e
UD
11367 [BZ #7101]
11368 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11369 when an incomplete long option is used.
11370 * posix/tst-getopt_long1.c: New file.
11371 * posix/Makefile (tests): Add tst-getopt_long1.
11372
c84cfef4
UD
11373 [BZ #10138]
11374 * scripts/config.guess: Update from autoconf-2.68.
11375 * scripts/config.sub: Likewise.
11376
3b85df27
UD
11377 [BZ #10157]
11378 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11379 tests into ...
11380 (has_cpuclock): ...this. New function.
11381 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11382 macro here based on has_cpuclock code.
11383
15a856b1
UD
11384 [BZ #10149]
11385 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11386 First byte (not low byte) is now always NUL.
11387 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11388
05f399e6
UD
11389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11390 Use non-cancelable interfaces.
11391
10a52685 11392 [BZ #9809]
94ecc67d
UD
11393 * locale/iso-639.def: Add entry for Sorani.
11394
f8a3b5bf
UD
11395 [BZ #11901]
11396 * include/stdlib.h: Move include protection to the right place.
11397 Define abort_msg_s. Declare __abort_msg with it.
11398 * stdlib/abort.c (__abort_msg): Adjust type.
11399 * assert/assert.c (__assert_fail_base): New function. Majority
11400 of code from __assert_fail. Allocate memory for __abort_msg with
11401 mmap.
11402 (__assert_fail): Now call __assert_fail_base.
11403 * assert/assert-perr.c: Remove bulk of implementation. Use
11404 __assert_fail_base.
11405 * include/assert.hL Declare __assert_fail_base.
11406 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11407 mmap.
11408 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11409
1af4e298
UD
114102011-05-14 Ulrich Drepper <drepper@gmail.com>
11411
f8a3b5bf 11412 [BZ #11952]
d26dfc60
MG
11413 [BZ #12453]
11414 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11415 until all modules are registered in the DTV.
11416 * elf/Makefile: Add rules to build and run tst-tls19.
11417 * elf/tst-tls19.c: New file.
11418 * elf/tst-tls19mod1.c: New file.
11419 * elf/tst-tls19mod2.c: New file.
11420 * elf/tst-tls19mod3.c: New file.
11421 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11422
2fc54d6f
UD
11423 [BZ #12083]
11424 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11425 correctly.
11426
98d76b46
UD
11427 [BZ #12601]
11428 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11429 two-byte sequence errors.
11430 * iconvdata/Makefile (tests): Add bug-iconv8.
11431 * iconvdata/bug-iconv8.c: New file.
11432
da3c19ef
UD
11433 [BZ #12626]
11434 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11435 buf2 definition.
11436
ca408c15
UD
11437 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11438
d6f67f7d
UD
11439 [BZ #12432]
11440 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11441 (dummy_getcfa): New function.
11442 (init): Get _Unwind_GetCFA address, use dummy if not found.
11443 (backtrace_helper): In recursion check, also check whether CFA changes.
11444 (__backtrace): Completely initialize arg.
11445
1af4e298 11446 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11447 storing incomplete byte sequence in state object. Avoid testing for
11448 guaranteed too small input if we know there is enough data available.
1af4e298 11449
da62f81b
AS
114502011-05-11 Andreas Schwab <schwab@redhat.com>
11451
11452 * Makeconfig (+link-pie): Indent.
11453 * Rules (binaries-pie): Define if $(have-fpie) and
11454 $(build-shared).
11455 (binaries-shared): Also filter out $(binaries-pie).
11456 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11457 * nscd/Makefile (others-pie): Add nscd.
11458 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11459 ($(objpfx)nscd): Remove command override.
11460 * login/Makefile (others-pie): Add pt_chown.
11461 ($(objpfx)pt_chown): Remove command override.
11462 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11463 remove command overrides.
11464
fcabc0f8
UD
114652011-05-13 Ulrich Drepper <drepper@gmail.com>
11466
20030ae6
UD
11467 * libio/tst_putwc.c: Fix error messages.
11468
fcabc0f8
UD
11469 [BZ #12724]
11470 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11471 currently writing and seek to current position when not.
11472 * libio/Makefile (tests): Add bug-fclose1.
11473 * libio/bug-fclose1.c: New file.
11474
320a5dc0
PB
114752011-05-12 Ulrich Drepper <drepper@gmail.com>
11476
11477 [BZ #12511]
11478 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11479 don't set DF_1_NODELETE here.
11480 (do_lookup_x): When entering new entry test for copy relocation
11481 and if necessary set DF_1_NODELETE flag.
11482 * elf/tst-unique4.cc: New file.
11483 * elf/tst-unique4.h: New file.
11484 * elf/tst-unique4lib.cc: New file.
11485 * elf/Makefile: Add rules to build and run tst-unique4.
11486 Patch by Piotr Bury <pbury@goahead.com>.
11487
22836f52
UD
114882011-05-11 Ulrich Drepper <drepper@gmail.com>
11489
f574184a
UD
11490 [BZ #12052]
11491 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11492
e1fb097f
UD
11493 [BZ #12625]
11494 * misc/mntent_r.c (addmntent): Flush the stream after the output
11495
22836f52
UD
11496 [BZ #12393]
11497 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11498 (is_trusted_path_normalize): Skip initial colon. Append slash
11499 to empty buffer. Duplicate is_trusted_path code but allow
11500 constructed patch to be prefix.
11501 (is_dst): Allow $ORIGIN followed by /.
11502 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11503 Correct testing of result of is_trusted_path_normalize
11504 (decompose_rpath): Fix warning.
11505
7b3b0b2a
UD
115062011-05-10 Ulrich Drepper <drepper@gmail.com>
11507
11508 [BZ #11257]
11509 * grp/initgroups.c (internal_getgrouplist): When we found the service
11510 list through the initgroups entry in nsswitch.conf do not always
11511 continue on a successful lookup. Don't always use the
eac80ce2 11512 __nss_group_database value if it is set.
7b3b0b2a
UD
11513 * nss/nsswitch.conf (initgroups): Change action for successful db
11514 lookup to continue for compatibility.
11515
2a81eaa5
UD
115162011-05-09 Ulrich Drepper <drepper@gmail.com>
11517
be97a69e
UD
11518 [BZ #11532]
11519 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11520 and CP774 modules.
11521 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11522 and CP774 modules.
11523 * iconvdata/tst-tables.sh: Likewise.
11524 * iconvdata/cp770.c: New file.
11525 * iconvdata/cp771.c: New file.
11526 * iconvdata/cp772.c: New file.
11527 * iconvdata/cp773.c: New file.
11528 * iconvdata/cp774.c: New file.
11529 * iconvdata/testdata/CP770: New file.
11530 * iconvdata/testdata/CP770..UTF8: New file.
11531 * iconvdata/testdata/CP771: New file.
11532 * iconvdata/testdata/CP771..UTF8: New file.
11533 * iconvdata/testdata/CP772: New file.
11534 * iconvdata/testdata/CP772..UTF8: New file.
11535 * iconvdata/testdata/CP773: New file.
11536 * iconvdata/testdata/CP773..UTF8: New file.
11537 * iconvdata/testdata/CP774: New file.
11538 * iconvdata/testdata/CP774..UTF8: New file.
11539
11540 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11541 END CHARMAP line.
11542 * iconvdata/gen-8bit-gap.sh: Likewise.
11543 * iconvdata/gen-8bit.sh: Likewise.
11544
c1e9e399
UD
11545 * locale/iso-639.def: Add ary entry.
11546
24c55fb3 11547 [BZ #11258]
96b4b1b0
UD
11548 * locale/C-translit.h.in: Add U20A1 transliteration.
11549
bdc2f971
KB
11550 [BZ #12178]
11551 * locale/iso-639.def: Add wae entry.
11552 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11553
2952b117
UD
11554 [BZ #12545]
11555 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11556 for n.
11557
2a81eaa5
UD
11558 [BZ #12711]
11559 * locale/C-translit.h.in: Add entry for U20B9.
11560 Patch by pravin.d.s@gmail.com.
11561
28377d1b
UD
115622011-05-08 Ulrich Drepper <drepper@gmail.com>
11563
7fb90fb8
UD
11564 [BZ #12713]
11565 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11566 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11567 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11568 in rtld. Use *stat64.
7fb90fb8 11569 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11570 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11571 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11572 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11573 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11574 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11575 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11576 __fstatat64 macros.
7fb90fb8
UD
11577 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11578 * dirent/rewinddir.c: Add libc_hidden_def.
11579 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11580 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11581
28377d1b
UD
11582 * include/dirent.h (__alloc_dir): Add flags parameter.
11583 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11584 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11585 __alloc_dir.
11586 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11587 from fdopendir if O_CLOEXEC is already set.
11588
66bdbaa4
AM
115892011-03-15 Alan Modra <amodra@gmail.com>
11590
11591 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11592 l_tls_firstbyte_offset non-zero. Save padding offset in
11593 l_tls_firstbyte_offset for later use.
11594 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11595 freeing static tls block.
11596
95721191
JN
115972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11598
11599 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11600 where #ifdef was intended. The intent is to prevent ARG_MAX from
11601 being defined by the kernel headers.
11602
f87dfb1f
UD
116032011-05-07 Ulrich Drepper <drepper@gmail.com>
11604
11605 [BZ #12734]
11606 * resolv/resolv.h: Define RES_NOTLDQUERY.
11607 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11608 no-tld-query and set RES_NOTLDQUERY.
11609 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11610 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11611 modern BIND to search name as TLD unless forbidden.
11612
47c3cd7a
UD
116132011-05-07 Petr Baudis <pasky@suse.cz>
11614 Ulrich Drepper <drepper@gmail.com>
11615
11616 [BZ #12393]
11617 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11618 (is_trusted_path): ...to here.
c1e9ea35 11619 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11620 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11621 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11622
8a35c912
PP
116232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11624
11625 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11626 __BEGIN/__END_DECLS.
11627
acd41f47
UD
116282011-05-06 Ulrich Drepper <drepper@gmail.com>
11629
11630 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11631 NSS_STATUS_NOTFOUND if no record was found.
11632
597df647
AS
116332011-05-05 Andreas Schwab <schwab@redhat.com>
11634
11635 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11636 (headers-not-in-tirpc): Remove rpc/netdb.h
11637 * resolv/netdb.h: Revert last change.
11638
b9af1301
PP
116392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11640
11641 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11642 circular dependency between libgcc.a and libc.a.
11643
4e34d5f5
AS
116442011-05-05 Andreas Schwab <schwab@redhat.com>
11645
11646 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11647 * nis/Makefile: Don't install rpcsvc/*.
11648 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11649 instead of <rpc/types.h>.
11650 (MAXHOSTNAMELEN): Define.
11651
00ee369c
AS
116522011-05-03 Andreas Schwab <schwab@redhat.com>
11653
11654 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11655
0b592a30
MB
116562011-04-28 Maciej Babinski <mbabinski@google.com>
11657
11658 [BZ #12714]
11659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11660 gethostbyname4_r when IPv6 results are possible.
11661
6e04cbbe
UD
116622011-05-02 Ulrich Drepper <drepper@gmail.com>
11663
11664 [BZ #12723]
11665 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11666 _PC_PIPE_BUF handling.
11667
e4ecafe0
BH
116682011-04-30 Bruno Haible <bruno@clisp.org>
11669
11670 [BZ #12717]
11671 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11672 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11673 to 'int'.
11674 * inet/getnameinfo.c (getnameinfo): Likewise.
11675
125ee683
UD
116762011-04-29 Ulrich Drepper <drepper@gmail.com>
11677
11678 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11679 to groups setting in database lookup.
11680 * nss/nsswitch.conf: Add initgroups entry.
11681
b722481a
EB
116822011-04-22 Ulrich Drepper <drepper@gmail.com>
11683
11684 [BZ #12685]
11685 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11686 mode string.
11687 Patch by Eric Blake <eblake@redhat.com>.
11688
4df46dbd
L
116892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11690
11691 * sunrpc/Makefile (need-export-routines): Add svc_run.
11692 (routines): Remove svc_run.
11693 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11694 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11695 * sunrpc/svc_run.c (svc_run): Likewise.
11696 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11697
e84142d2
UD
116982011-04-21 Ulrich Drepper <drepper@gmail.com>
11699
11700 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11701 problem in reallocation in last patch.
11702
877175d8
UD
117032011-04-20 Ulrich Drepper <drepper@gmail.com>
11704
11705 * sunrpc/Makefile: Move inclusion of Rules.
11706
ab8eed78
UD
117072011-04-19 Ulrich Drepper <drepper@gmail.com>
11708
11709 * nss/nss_files/files-initgroups.c: New file.
11710 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11711 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11712 _nss_files_initgroups_dyn.
11713
e3d8f584
RS
117142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11715
11716 * elf/elf.h (R_ARM_IRELATIVE): Define.
11717
af190f45
UD
117182011-04-19 Ulrich Drepper <drepper@gmail.com>
11719
11720 * po/ru.po: Update from translation team.
11721
53cf59ef
UD
117222011-04-17 Ulrich Drepper <drepper@gmail.com>
11723
11724 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11725 dependencies.
11726
4c559bcd
MF
117272011-02-06 Mike Frysinger <vapier@gentoo.org>
11728
11729 [BZ #12653]
11730 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11731 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11732 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11733 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11734 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11735
4420675c
AS
117362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11737
11738 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11739 differing bytes.
11740 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11741 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11742 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11743
75ea32ab
UD
117442011-04-17 Ulrich Drepper <drepper@gmail.com>
11745
11746 [BZ #12420]
11747 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11748 storing it.
11749 * stdlib/bug-getcontext.c: New file.
11750 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11751
27390476
AK
117522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11753
11754 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11755 instructions into .machine "z9-109".
11756 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11757 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11758
10442705
AK
117592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11760
11761 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11762 between environment variables and auxiliary vector.
11763
7b57bfe5
UD
117642011-04-16 Ulrich Drepper <drepper@gmail.com>
11765
11766 * Makefile: Add rules to build linkobj/libc.so.
11767 * include/libc-symbols.h: Define libc_hidden_nolink.
11768 * include/rpc/auth.h: Mark functions which are to be hidden.
11769 * include/rpc/auth_des.h: Likewise.
11770 * include/rpc/auth_unix.h: Likewise.
11771 * include/rpc/clnt.h: Likewise.
11772 * include/rpc/des_crypt.h: Likewise.
11773 * include/rpc/key_prot.h: Likewise.
11774 * include/rpc/pmap_clnt.h: Likewise.
11775 * include/rpc/pmap_prot.h: Likewise.
11776 * include/rpc/pmap_rmt.h: Likewise.
11777 * include/rpc/rpc_msg.h: Likewise.
11778 * include/rpc/svc.h: Likewise.
11779 * include/rpc/svc_auth.h: Likewise.
11780 * include/rpc/xdr.h: Likewise.
11781 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11782 * nss/Makefile: Likewise.
11783 * sunrpc/Makefile: Don't install headers. Build library with normal
11784 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11785 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11786 for the compat linking library. Remove use of INTDEF/INTUSE.
11787 * sunrpc/auth_none.c: Likewise.
11788 * sunrpc/auth_unix.c: Likewise.
11789 * sunrpc/authdes_prot.c: Likewise.
11790 * sunrpc/authuxprot.c: Likewise.
11791 * sunrpc/clnt_gen.c: Likewise.
11792 * sunrpc/clnt_perr.c: Likewise.
11793 * sunrpc/clnt_raw.c: Likewise.
11794 * sunrpc/clnt_simp.c: Likewise.
11795 * sunrpc/clnt_tcp.c: Likewise.
11796 * sunrpc/clnt_udp.c: Likewise.
11797 * sunrpc/clnt_unix.c: Likewise.
11798 * sunrpc/des_crypt.c: Likewise.
11799 * sunrpc/des_soft.c: Likewise.
11800 * sunrpc/get_myaddr.c: Likewise.
11801 * sunrpc/key_call.c: Likewise.
11802 * sunrpc/key_prot.c: Likewise.
11803 * sunrpc/netname.c: Likewise.
11804 * sunrpc/pm_getmaps.c: Likewise.
11805 * sunrpc/pm_getport.c: Likewise.
11806 * sunrpc/pmap_clnt.c: Likewise.
11807 * sunrpc/pmap_prot.c: Likewise.
11808 * sunrpc/pmap_prot2.c: Likewise.
11809 * sunrpc/pmap_rmt.c: Likewise.
11810 * sunrpc/publickey.c: Likewise.
11811 * sunrpc/rpc_cmsg.c: Likewise.
11812 * sunrpc/rpc_common.c: Likewise.
11813 * sunrpc/rpc_dtable.c: Likewise.
11814 * sunrpc/rpc_prot.c: Likewise.
11815 * sunrpc/rpc_thread.c: Likewise.
11816 * sunrpc/rtime.c: Likewise.
11817 * sunrpc/svc.c: Likewise.
11818 * sunrpc/svc_auth.c: Likewise.
11819 * sunrpc/svc_authux.c: Likewise.
11820 * sunrpc/svc_raw.c: Likewise.
11821 * sunrpc/svc_run.c: Likewise.
11822 * sunrpc/svc_simple.c: Likewise.
11823 * sunrpc/svc_tcp.c: Likewise.
11824 * sunrpc/svc_udp.c: Likewise.
11825 * sunrpc/svc_unix.c: Likewise.
11826 * sunrpc/svcauth_des.c: Likewise.
11827 * sunrpc/xcrypt.c: Likewise.
11828 * sunrpc/xdr.c: Likewise.
11829 * sunrpc/xdr_array.c: Likewise.
11830 * sunrpc/xdr_float.c: Likewise.
11831 * sunrpc/xdr_intXX_t.c: Likewise.
11832 * sunrpc/xdr_mem.c: Likewise.
11833 * sunrpc/xdr_rec.c: Likewise.
11834 * sunrpc/xdr_ref.c: Likewise.
11835 * sunrpc/xdr_sizeof.c: Likewise.
11836 * sunrpc/xdr_stdio.c: Likewise.
11837
e6c61494
UD
118382011-04-10 Ulrich Drepper <drepper@gmail.com>
11839
11840 [BZ #12650]
11841 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11842 * sysdeps/ia64/dl-tls.h: Likewise.
11843 * sysdeps/powerpc/dl-tls.h: Likewise.
11844 * sysdeps/s390/dl-tls.h: Likewise.
11845 * sysdeps/sh/dl-tls.h: Likewise.
11846 * sysdeps/sparc/dl-tls.h: Likewise.
11847 * sysdeps/x86_64/dl-tls.h: Likewise.
11848 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11849
34fe483e
AS
118502011-03-14 Andreas Schwab <schwab@redhat.com>
11851
11852 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11853 rpath element also skip the following colon.
11854 (expand_dynamic_string_token): Add is_path parameter and pass
11855 down to DL_DST_REQUIRED and _dl_dst_substitute.
11856 (decompose_rpath): Call expand_dynamic_string_token with
11857 non-zero is_path. Ignore empty rpaths.
11858 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11859 with zero is_path.
11860
f12a32e6
AS
118612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11862
11863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11864 Make cancelable.
11865
38a7d692
UD
118662011-04-09 Ulrich Drepper <drepper@gmail.com>
11867
11868 [BZ #12655]
11869 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11870 Patch by Filipe David Manana <fdmanana@apache.org>.
11871
e451d22b
AS
118722011-04-07 Andreas Schwab <schwab@redhat.com>
11873
11874 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11875 Maintain aligned stack.
11876 (CHECK_RSP): Remove unused macro.
11877
dedc7c7b
UD
118782011-04-03 Ulrich Drepper <drepper@gmail.com>
11879
11880 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11881 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11882
94521213
UD
118832011-04-02 Ulrich Drepper <drepper@gmail.com>
11884
11885 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11886
8cb700c0 11887 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11888
0354e355
L
118892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11890
11891 [BZ #12518]
11892 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11893 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11894 * sysdeps/x86_64/memmove.c: New file.
11895 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11896 (memcpy): Renamed to ...
11897 (__new_memcpy): This.
11898 (memcpy): Provide GLIBC_2_14 memcpy.
11899 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11900 (memcpy): Provide GLIBC_2_2_5 memcpy.
11901
8593482f
UD
119022011-04-01 Ulrich Drepper <drepper@gmail.com>
11903
11904 [BZ #12631]
11905 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11906
81a5726b
AS
119072011-03-30 Andreas Schwab <schwab@redhat.com>
11908
11909 * misc/syncfs.c: New file.
11910 * misc/Makefile (routines): Add syncfs.
11911 * posix/unistd.h: Declare syncfs.
11912 * sysdeps/unix/syscalls.list: Add syncfs.
11913
00e5419f
AS
119142011-04-01 Andreas Schwab <schwab@redhat.com>
11915
11916 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11917 open_by_handle_at.
11918 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11919 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11921 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11923 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11925
748876bf
UD
119262011-04-01 Ulrich Drepper <drepper@gmail.com>
11927
658e451d
UD
11928 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11929 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11930 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11931 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11932 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11933 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11934 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11935
748876bf
UD
11936 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11937 sync_file_range.c with -fexceptions.
11938 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11939 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11940 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11941 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11942 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11943 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11944 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11945 sync_file_range as cancellation point
11946 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11947 now a wrapper around __call_sync_file_range with cancellation handling.
11948 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11949 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11950 function name to __call_sync_file_range.
11951 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11952 Add call_sync_file_range.
748876bf 11953
6e63d5e1
AS
119542011-04-01 Andreas Schwab <schwab@redhat.com>
11955
11956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11957 bits/timex.h.
6e63d5e1 11958
46998f74
UD
119592011-04-01 Ulrich Drepper <drepper@gmail.com>
11960
4c1423ed
UD
11961 * iconv/iconv.h: Fix typo in comment.
11962 * io/fcntl.h: Likewise.
11963 * libio/stdio.h: Likewise.
11964 * posix/spawn.h: Likewise.
11965 * posix/unistd.h: Likewise.
11966 * stdlib/stdlib.h: Likewise.
11967 * time/time.h: Likewise.
11968 * wcsmbs/wchar.h: Likewise.
11969
158648c0
UD
11970 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11971 open_by_handle): Add.
11972 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11973 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11974 Augment a few comments.
11975 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11980 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11981 open_by_handle.
11982
46998f74
UD
11983 * io/fcntl.h (AT_EMPTY_PATH): Define.
11984
83fe108b
UD
119852011-03-30 Ulrich Drepper <drepper@gmail.com>
11986
11987 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11988 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11989 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11990 to...
11991 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11992 * Versions.def: Add GLIBC_2.14.
11993 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11994 Export.
83fe108b 11995
bb242059
UD
119962011-03-22 Ulrich Drepper <drepper@gmail.com>
11997
11998 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11999 round counter.
12000 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12001
c97a1282
L
120022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12003
12004 [BZ #12597]
12005 * string/test-strncmp.c (do_page_test): New function.
12006 (check2): Likewise.
12007 (test_main): Call check2.
12008 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12009
2a115601
UD
120102011-03-20 Ulrich Drepper <drepper@gmail.com>
12011
12012 [BZ #12587]
12013 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12014 Handle cache information in CPU leaf 4.
12015 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12016
8126d904
UD
120172011-03-18 Ulrich Drepper <drepper@gmail.com>
12018
042c49c6 12019 [BZ #12583]
8126d904
UD
12020 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12021 character representation.
12022 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12023
ccfe366e
RA
120242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12025
12026 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12027 END(__isnan) to END(__isnanf) to match function entry point/label
12028 EALIGN(__isnanf,...).
12029
c6e13027
JJ
120302011-03-10 Jakub Jelinek <jakub@redhat.com>
12031
12032 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12033
33f85a3f
UD
120342011-03-10 Ulrich Drepper <drepper@gmail.com>
12035
028478fa
UD
12036 [BZ #12510]
12037 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12038 copy from the symbol referenced in the relocation to initialize the
12039 used variable.
12040 Patch by Piotr Bury <pbury@goahead.com>.
12041 * elf/Makefile: Add rules to build and tst-unique3.
12042 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12043 * elf/tst-unique3.cc: New file.
12044 * elf/tst-unique3.h: New file.
12045 * elf/tst-unique3lib.cc: New file.
12046 * elf/tst-unique3lib2.cc: New file.
12047
33f85a3f
UD
12048 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12049
03592fc7
MF
120502011-03-10 Mike Frysinger <vapier@gentoo.org>
12051
12052 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12053 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12054 to _start.
03592fc7 12055
6a5ee102
UD
120562011-03-06 Ulrich Drepper <drepper@gmail.com>
12057
12058 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12059 to-be-loaded object along a path to loader is ld.so.
12060
7e4ba49c
HJ
120612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12062 Ulrich Drepper <drepper@gmail.com>
12063
12064 * sysdeps/x86_64/memset.S: After aligning destination, code
12065 branches to different locations depending on the value of
12066 misalignment, when multiarch is enabled. Fix this.
12067
120682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12069
12070 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12071 Set _x86_64_preferred_memory_instruction for AMD processsors.
12072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12073 Set bit_Prefer_SSE_for_memop for AMD processors.
12074
13a804de
UD
120752011-03-04 Ulrich Drepper <drepper@gmail.com>
12076
12077 * libio/fmemopen.c (fmemopen): Optimize a bit.
12078
9d25c392
AS
120792011-03-03 Andreas Schwab <schwab@redhat.com>
12080
12081 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12082
a5543c6a
RM
120832011-03-03 Roland McGrath <roland@redhat.com>
12084
12085 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12086
012d35f7
DM
120872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12088
7e4ba49c 12089 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12090 __bzero_ultra1 instead of __memset_ultra1.
12091
4bff6e01
AS
120922011-02-23 Andreas Schwab <schwab@redhat.com>
12093 Ulrich Drepper <drepper@gmail.com>
12094
12095 [BZ #12509]
12096 * include/link.h (struct link_map): Add l_orig_initfini.
12097 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12098 returning unsuccessfully.
12099 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12100 close of a file loaded at startup, restore the original l_initfini
12101 list.
12102 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12103 list, store the pointer.
12104 * elf/Makefile ($(objpfx)noload-mem): New rule.
12105 (noload-ENV): Define.
12106 (tests): Add $(objpfx)noload-mem.
12107 * elf/noload.c: Include <memcheck.h>.
12108 (main): Call mtrace. Close all opened handles.
12109
f2092faf
AS
121102011-02-17 Andreas Schwab <schwab@redhat.com>
12111
12112 [BZ #12454]
12113 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12114 dependencies are missing.
12115
6c8a2e88
ST
121162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12117
f2092faf 12118 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12119 Hurd needs munmap.
12120 * sysdeps/mach/hurd/ifreq.h: New file.
12121
84a42118
PB
121222011-01-27 Petr Baudis <pasky@suse.cz>
12123 Ulrich Drepper <drepper@gmail.com>
12124
071f805e 12125 [BZ 12445]#
84a42118
PB
12126 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12127 to extend_alloca().
12128 * stdio-common/bug23.c: New file.
12129 * stdio-common/Makefile (tests): Add bug23.
12130
e23fe25b
AS
121312010-09-28 Andreas Schwab <schwab@redhat.com>
12132 Ulrich Drepper <drepper@gmail.com>
12133
12134 [BZ #12489]
12135 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12136 before performing relro protection. At old place add assertion
12137 to make sure nothing changed.
12138
d3f02e10
NS
121392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12140 Glauber de Oliveira Costa <glommer@gmail.com>
12141
12142 * elf/elf.h: Add new ARM TLS relocs.
12143
d55fd7a5
RA
121442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12145
12146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12147 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12148 cast from r3.
12149 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12150 'tests' variable.
12151 * sysdeps/wordsize-64/tst-writev.c: New file.
12152
2206397e
RA
121532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12154
12155 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12156 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12157 insns in _dl_start to prevent a TOC reference before relocs are
12158 resolved.
12159
e9433893
UD
121602011-02-15 Ulrich Drepper <drepper@gmail.com>
12161
12162 [BZ #12469]
12163 * Makeconfig: Remove RANLIB definition.
12164 * Makerules: Don't use RANLIB.
12165 * aclocal.m4: Remove ranlib test.
12166 * configure.in: No need to check for ranlib.
12167 * elf/rtld-Rules: Don't use RANLIB.
12168
f75286c6
ST
121692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12170
8e31c82d
ST
12171 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12172 protection macro.
12173 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12174 inclusion protection macro.
12175
f75286c6
ST
12176 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12177 SIGRTMIN and SIGRTMAX and print information in that case only when
12178 SIGRTMIN is defined.
12179
c1d0e639
JJ
121802011-02-11 Jakub Jelinek <jakub@redhat.com>
12181
12182 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12183 arginfo fn returning -1.
12184
12185 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12186 and thousands string is zero terminated.
12187
edf9294e
AS
121882011-02-03 Andreas Schwab <schwab@redhat.com>
12189
12190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12191 sysdeps/unix/sysv/linux/bits/socket.h.
12192
2b7e92df
ST
121932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12194
edf9294e
AS
12195 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12196 (__CPU_COUNT): Remove old macros.
12197 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12198 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12199 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12200 (__sched_cpualloc, __sched_cpufree): Add declarations.
12201
a4c7ea7b
UD
122022011-02-05 Ulrich Drepper <drepper@gmail.com>
12203
12204 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12205 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12206 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12207 (readdhstai): Return value of addhstaiX call.
12208 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12209 (addgrbyX): Return value returned by cache_addgr.
12210 (readdgrbyname): Return value returned by addgrbyX.
12211 (readdgrbygid): Likewise.
12212 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12213 (addpwbyX): Return value returned by cache_addpw.
12214 (readdpwbyname): Return value returned by addhstbyX.
12215 (readdpwbyuid): Likewise.
12216 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12217 (addservbyX): Return value returned by cache_addserv.
12218 (readdservbyname): Return value returned by addservbyX:
12219 (readdservbyport): Likewise.
12220 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12221 (addhstbyX): Return value returned by cache_addhst.
12222 (readdhstbyname): Return value returned by addhstbyX.
12223 (readdhstbyaddr): Likewise.
12224 (readdhstbynamev6): Likewise.
12225 (readdhstbyaddrv6): Likewise.
12226 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12227 (readdinitgroups): Return value returned by addinitgroupsX.
12228 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12229 (prune_cache): Keep track of timeout value of re-added entries.
12230 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12231 * nscd/nscd.h: Adjust prototypes of readd* functions.
12232
a0bf67cc
RM
122332011-02-04 Roland McGrath <roland@redhat.com>
12234
12235 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12236 (nis_stats): Likewise.
12237 * nis/nis_modify.c (nis_modify): Likewise.
12238 * nis/nis_remove.c (nis_remove): Likewise.
12239 * nis/nis_add.c (nis_add): Likewise.
12240
12241 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12242
12243 * posix/fnmatch_loop.c: Add some consts.
12244
12245 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12246
435b95eb
L
122472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12248
12249 [BZ #12460]
12250 * config.make.in (config-cflags-novzeroupper): Define.
12251 * configure.in: Substitute libc_cv_cc_novzeroupper.
12252 * elf/Makefile (AVX-CFLAGS): Define.
12253 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12254 (CFLAGS-tst-auditmod4a.c): Likewise.
12255 (CFLAGS-tst-auditmod4b.c): Likewise.
12256 (CFLAGS-tst-auditmod6b.c): Likewise.
12257 (CFLAGS-tst-auditmod6c.c): Likewise.
12258 (CFLAGS-tst-auditmod7b.c): Likewise.
12259 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12260
8517b15e
UD
122612011-02-02 Ulrich Drepper <drepper@gmail.com>
12262
12263 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12264 function to the callback.
12265 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12266
10a656fe
AS
122672011-02-02 Andreas Schwab <schwab@redhat.com>
12268
12269 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12270 of errno.
12271
968dad0a
UD
122722011-01-19 Ulrich Drepper <drepper@gmail.com>
12273
9f94d2ea 12274 [BZ #11724]
968dad0a
UD
12275 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12276 of constructors.
12277 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12278 of destructors.
12279 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12280
12281 [BZ #11724]
12282 * elf/Makefile: Add rules to build and run new test.
12283 * elf/tst-initorder.c: New file.
12284 * elf/tst-initorder.exp: New file.
12285 * elf/tst-initordera1.c: New file.
12286 * elf/tst-initordera2.c: New file.
12287 * elf/tst-initordera3.c: New file.
12288 * elf/tst-initordera4.c: New file.
12289 * elf/tst-initorderb1.c: New file.
12290 * elf/tst-initorderb2.c: New file.
12291 * elf/tst-order-a1.c: New file.
12292 * elf/tst-order-a2.c: New file.
12293 * elf/tst-order-a3.c: New file.
12294 * elf/tst-order-a4.c: New file.
12295 * elf/tst-order-b1.c: New file.
12296 * elf/tst-order-b2.c: New file.
12297 * elf/tst-order-main.c: New file.
12298 New test case by George Gensure <werkt0@gmail.com>.
12299
86e92359
UD
123002010-10-01 Andreas Schwab <schwab@redhat.com>
12301
12302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12303 decoding ACE if AI_CANONIDN.
12304
5d5732b0
UD
123052011-01-18 Ulrich Drepper <drepper@gmail.com>
12306
12307 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12308
a77e8cbc
UD
123092011-01-17 Ulrich Drepper <drepper@gmail.com>
12310
6392473f
UD
12311 * version.h (RELEASE): Bump for 2.13 release.
12312 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12313
620a0529
UD
12314 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12315
18ba70a5
UD
12316 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12317 MADV_NOHUGEPAGE.
32465c3e
UD
12318 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12319 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12320 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12321 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12322 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12323 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12324
c0dafcf1
UD
12325 * posix/getconf.c: Update copyright year.
12326 * catgets/gencat.c: Likewise.
12327 * csu/version.c: Likewise.
12328 * debug/catchsegv.sh: Likewise.
12329 * debug/xtrace.sh: Likewise.
12330 * elf/ldconfig.c: Likewise.
12331 * elf/ldd.bash.in: Likewise.
12332 * elf/sprof.c (print_version): Likewise.
12333 * iconv/iconv_prog.c: Likewise.
12334 * iconv/iconvconfig.c: Likewise.
12335 * locale/programs/locale.c: Likewise.
12336 * locale/programs/localedef.c: Likewise.
12337 * malloc/memusage.sh: Likewise.
12338 * malloc/mtrace.pl: Likewise.
12339 * nscd/nscd.c (print_version): Likewise.
12340 * nss/getent.c: Likewise.
12341
a77e8cbc
UD
12342 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12343 PF_CAIF, and PF_ALG.
12344 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12345
77e8bddf
AS
123462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12347
1f20b93a
AS
12348 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12349 (modules-names): Use them.
12350 (ifunc-test-modules, ifunc-pie-tests): Define.
12351 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12352 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12353 (test-extras): Likewise.
12354 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12355 $(compile-command.c).
12356 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12357 (all-built-dso): Define.
12358 (check-textrel.out, check-execstack.out): Depend on it.
12359
77e8bddf
AS
12360 * configure.in: Don't override --enable-multi-arch.
12361
bc425b33
UD
123622011-01-15 Ulrich Drepper <drepper@gmail.com>
12363
12364 [BZ #6812]
12365 * nscd/hstcache.c (tryagain): Define.
12366 (cache_addhst): Return tryagain not notfound for temporary errors.
12367 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12368 failed.
12369
794c3ad3
UD
123702011-01-14 Ulrich Drepper <drepper@gmail.com>
12371
70181fdd
UD
12372 [BZ #10563]
12373 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12374 to make the syscall.
12375 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12376
794c3ad3
UD
12377 [BZ #12378]
12378 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12379 and fall back to matching as normal character if the string ends before
12380 the matching ']' is found. This is what POSIX requires.
12381 * posix/testfnm.c: Adjust test result.
12382 * posix/globtest.sh: Adjust test result. Add new test.
12383 * posix/tst-fnmatch.input: Likewise.
12384 * posix/tst-fnmatch2.c: Add new test.
12385
68dc9497
AS
123862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12387
12388 * elf/Makefile (check-execstack): Revert last change. Depend on
12389 check-execstack.h.
12390 (check-execstack.h): New target.
12391 (generated): Add check-execstack.h.
12392 * elf/check-execstack.c: Include "check-execstack.h".
12393 (main): Revert last change.
12394 (handle_file): Return zero if GNU_STACK is absent and
12395 DEFAULT_STACK_PERMS doesn't include PF_X.
12396
451f001b
UD
123972011-01-13 Ulrich Drepper <drepper@gmail.com>
12398
cfa28e56
UD
12399 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12400 in child fails because the descriptor is already closed.
8cf8ce17
UD
12401 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12402 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12403 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12404
1086d70d
UD
12405 [BZ #12397]
12406 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12407 syscall.
12408
451f001b
UD
12409 [BZ #10484]
12410 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12411 temporary buffer used to handle multi lookups locally.
a85b5cb4 12412 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12413
08769175
UD
124142011-01-12 Ulrich Drepper <drepper@gmail.com>
12415
12416 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12417 loader is ld.so.
12418
5e49c52e
UD
124192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12420
12421 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12422 alignment for SSE2.
12423
60522a5f
UD
124242011-01-12 Ulrich Drepper <drepper@gmail.com>
12425
12426 [BZ #12394]
12427 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12428 characters. When rounding increased number of integer digits recompute
12429 number of groups.
12430 * stdio-common/tst-grouping.c: New file.
12431 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12432
f257bbd7
UD
124332011-01-09 Ulrich Drepper <drepper@gmail.com>
12434
12435 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12436 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12437
12438 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12439 void.
12440 * bits/select.h: Likewise.
12441
fa9c15cb
UD
124422011-01-08 Ulrich Drepper <drepper@gmail.com>
12443
12444 * po/ja.po: Update from translation team.
12445
16c2895f
DM
124462011-01-04 David S. Miller <davem@sunset.davemloft.net>
12447
12448 [BZ #11155]
12449 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12450 implementation just like for lxstat, fxstatat, et al.
12451
2543fef2
JM
124522010-12-27 Jim Meyering <meyering@redhat.com>
12453
12454 [BZ #12348]
12455 * posix/regexec.c (build_trtable): Return failure indication upon
12456 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12457
98727dbe
UD
124582010-12-25 Ulrich Drepper <drepper@gmail.com>
12459
5bd6dc5c
UD
12460 [BZ #12201]
12461 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12462 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12463 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12464 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12465
97983464
UD
12466 [BZ #12207]
12467 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12468
98727dbe
UD
12469 [BZ #12204]
12470 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12471 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12472
4a531bb0
L
124732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12474
12475 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12476 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12477 script has SORT_BY_INIT_PRIORITY.
12478 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12479 NO_CTORS_DTORS_SECTIONS is defined.
12480 * elf/soinit.c: Likewise.
12481 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12482 NO_CTORS_DTORS_SECTIONS is defined.
12483 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12484 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12485 * sysdeps/sh/init-first.c: Likewise.
12486 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12487
07eb4b71
UD
124882010-12-24 Ulrich Drepper <drepper@gmail.com>
12489
12490 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12491 always use the slow path.
12492
30950a5f
RA
124932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12494
12495 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12496 similar rule which adds the sysdep directories to the header search in
12497 order to pick up the correct platform stackinfo.h.
12498 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12499 perform test if it is, otherwise return successfully without testing.
12500 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12501 DEFAULT_STACK_PERMS define in stackinfo.h.
12502 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12503 defined in stackinfo.h.
12504 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12505 DEFAULT_STACK_PERMS defined in stackinfo.h.
12506 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12507 * sysdeps/ia64/stackinfo.h: Likewise.
12508 * sysdeps/s390/stackinfo.h: Likewise.
12509 * sysdeps/sh/stackinfo.h: Likewise.
12510 * sysdeps/sparc/stackinfo.h: Likewise.
12511 * sysdeps/x86_64/stackinfo.h: Likewise.
12512 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12513 PF_X for powerpc64. Retain PF_X for powerpc32.
12514
db753e2c
UD
125152010-12-19 Ulrich Drepper <drepper@gmail.com>
12516
14b697f7
UD
12517 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12518 accurately.
db753e2c
UD
12519 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12520 GETDENTS_64BIT_ALIGNED.
12521
28300719
UD
125222010-12-14 Ulrich Drepper <dreper@gmail.com>
12523
14b697f7 12524 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12525
4f197237
AS
125262010-12-10 Andreas Schwab <schwab@redhat.com>
12527
dbb0472f
AS
12528 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12529 _GNU_SOURCE.
12530
4f197237
AS
12531 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12532 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12533 Remove __restrict.
12534 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12535 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12536
fb88ac72
UD
125372010-12-09 Ulrich Drepper <drepper@gmail.com>
12538
12539 [BZ #11655]
12540 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12541 are initialized.
12542
42acbb92
JJ
125432010-12-09 Jakub Jelinek <jakub@redhat.com>
12544
12545 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12546
c038d98d
UD
125472010-12-03 Ulrich Drepper <drepper@gmail.com>
12548
12549 * po/it.po: Update from translation team.
12550
3a4a2499
L
125512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12552
12553 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12554 unused codes.
12555
1e24cf6e
UD
125562010-11-30 Ulrich Drepper <drepper@gmail.com>
12557
12558 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12559
a7690819
AS
125602010-11-24 Andreas Schwab <schwab@redhat.com>
12561
12562 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12563 specially.
12564 (gaih_getanswer_slice): Likewise.
12565
3bf8d1b1
JJ
125662010-10-20 Jakub Jelinek <jakub@redhat.com>
12567
12568 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12569
6db52fbb
PB
125702010-05-31 Petr Baudis <pasky@suse.cz>
12571
12572 [BZ #11149]
12573 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12574 silently even in the chroot mode.
12575
eaca7569
UD
125762010-11-22 Ulrich Drepper <drepper@gmail.com>
12577
12578 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12579 last patch a bit. Pretty printing
12580
3056dcdb
UD
125812010-05-31 Petr Baudis <pasky@suse.cz>
12582
12583 [BZ #10085]
12584 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12585 initialization of skip_initgroups_dyn.
12586
cf7c9078
UD
125872010-11-19 Ulrich Drepper <drepper@gmail.com>
12588
12589 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12590 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12591
a1fb5e3e
UD
125922010-11-16 Ulrich Drepper <drepper@gmail.com>
12593
12594 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12595
3540d66b
AS
125962010-11-11 Andreas Schwab <schwab@redhat.com>
12597
12598 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12599 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12600 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12601 ($(objpfx)tst-fnmatch-mem): New rule.
12602 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12603 * posix/tst-fnmatch.c (main): Call mtrace.
12604
13b69574
L
126052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12606
12607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12608 Support Intel processor model 6 and model 0x2c.
12609
da93d214
LM
126102010-11-10 Luis Machado <luisgpm@br.ibm.com>
12611
12612 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12613 signed comparison.
12614
8ca52c6e
L
126152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12616
12617 [BZ #12205]
12618 * string/test-strncasecmp.c (check_result): New function.
12619 (do_one_test): Use it.
12620 (check1): New function.
12621 (test_main): Use it.
12622 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12623 Support strcasecmp and strncasecmp.
12624
69da074d
UD
126252010-11-08 Ulrich Drepper <drepper@gmail.com>
12626
12627 [BZ #12194]
12628 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12629 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12630
ff02d528
L
126312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12632
12633 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12634 IFUNC support.
12635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12636 memset-x86-64.
12637 * sysdeps/x86_64/multiarch/bzero.S: New file.
12638 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12639 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12640 * sysdeps/x86_64/multiarch/memset.S: New file.
12641 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12643 Set bit_Prefer_SSE_for_memop for Intel processors.
12644 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12645 Define.
12646 (index_Prefer_SSE_for_memop): Define.
12647 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12648
344d0b54
LM
126492010-11-04 Luis Machado <luisgpm@br.ibm.com>
12650
12651 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12652 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12653
c0dde15b
UD
126542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12655
12656 [BZ #12191]
12657 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12658 (__x86_64_raw_data_cache_size_half): Likewise.
12659 (__x86_64_raw_shared_cache_size): Likewise.
12660 (__x86_64_raw_shared_cache_size_half): Likewise.
12661
12662 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12663 (__x86_64_raw_data_cache_size_half): Likewise.
12664 (__x86_64_raw_shared_cache_size): Likewise.
12665 (__x86_64_raw_shared_cache_size_half): Likewise.
12666 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12667 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12668 and __x86_64_raw_shared_cache_size_half. Round
12669 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12670 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12671 to multiple of 256 bytes.
12672
0e516e0e
MS
126732010-11-03 Ulrich Drepper <drepper@gmail.com>
12674
12675 [BZ #12167]
12676 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12677 of inacessible symlinks. Verify result of symlink before returning it.
12678 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12679 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12680
0e012e87
ER
126812010-10-28 Erich Ritz <erichritz@gmail.com>
12682
12683 * math/math.h (isinf): Fix typo in comment.
12684
de0ff7bc
UD
126852010-11-01 Ulrich Drepper <drepper@gmail.com>
12686
12687 * po/da.po: Update from translation team.
12688
fa41c84d
UD
126892010-10-26 Ulrich Drepper <drepper@gmail.com>
12690
12691 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12692 is added to the list.
12693
f0967738
AK
126942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12695 Ulrich Drepper <drepper@gmail.com>
12696
12697 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12698 the global list here. Move code to...
12699 (_dl_add_to_namespace_list): ...here. New function.
12700 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12701 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12702 * elf/dl-load.c (lose): Don't remove the element from the list.
12703 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12704 (_dl_map_object): Likewise.
12705
127062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12707
12708 [BZ #12159]
12709 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12710 into all bytes of SSE register.
12711 Patch by Richard Li <richardpku@gmail.com>.
12712
f0967738 127132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12714
12715 [BZ #12140]
12716 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12717 perturbing.
12718
d0b9e94f
MB
127192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12720
12721 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12722 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12723 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12724 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12726 submachine.
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12728
8e9f92e9
AS
127292010-10-22 Andreas Schwab <schwab@redhat.com>
12730
12731 * include/dlfcn.h (__RTLD_SECURE): Define.
12732 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12733 mode & __RTLD_SECURE instead.
12734 (open_path): Rename preloaded parameter to secure.
12735 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12736 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12737 * elf/dl-deps.c (openaux): Likewise.
12738 * elf/rtld.c (struct map_args): Remove is_preloaded.
12739 (map_doit): Don't use it.
12740 (dl_main): Likewise.
12741 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12742 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12743
bc96fbda
AS
127442010-09-09 Andreas Schwab <schwab@redhat.com>
12745
12746 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12747 (sysd-rules-targets): Remove duplicates.
12748 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12749 rtld-%.$o dependency.
12750
22cd1c9b
AS
127512010-10-18 Andreas Schwab <schwab@redhat.com>
12752
12753 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12754 _dl_map_object do it.
12755
18edac48
UD
127562010-10-19 Ulrich Drepper <drepper@gmail.com>
12757
12758 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12759 fast fma builtins, define the macros in the C99 standard.
12760 (FP_FAST_FMAF): Likewise.
12761 (FP_FAST_FMAL): Likewise.
12762 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12763
12764 * bits/mathdef.h: Update copyright year.
12765 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12766
d2050124
MM
127672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12768
12769 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12770 builtins, define the macros in the C99 standard.
12771 (FP_FAST_FMAF): Likewise.
12772 (FP_FAST_FMAL): Likewise.
12773 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12774 multiply/add.
12775 (FP_FAST_FMAF): Likewise.
12776
475facd1
JJ
127772010-10-15 Jakub Jelinek <jakub@redhat.com>
12778
12779 [BZ #3268]
12780 * math/libm-test.inc (fma_test): Some new testcases.
12781 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12782 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12783 y and infinite z. Do multiplication by C already in long double.
12784 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12786 y and infinite z. Do bitwise or of inexact bit into u.d.
12787 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12788 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12789 * sysdeps/i386/fpu/s_fma.S: Removed.
12790 * sysdeps/i386/fpu/s_fmal.S: Removed.
12791
7c08a05c
JJ
127922010-10-16 Jakub Jelinek <jakub@redhat.com>
12793
12794 [BZ #3268]
12795 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12797 computation is not scheduled after fetestexcept. Fix value
12798 of minimum denormal long double.
12799
f3f7372d
JJ
128002010-10-14 Jakub Jelinek <jakub@redhat.com>
12801
12802 [BZ #3268]
12803 * math/libm-test.inc (fma_test): Add some more tests.
12804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12805 correctly.
12806
14d43591
AS
128072010-10-15 Andreas Schwab <schwab@redhat.com>
12808
12809 * scripts/data/localplt-s390-linux-gnu.data: New file.
12810 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12811
5e908464
JJ
128122010-10-13 Jakub Jelinek <jakub@redhat.com>
12813
12814 [BZ #3268]
12815 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12816 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12817 instead of dbl-64.
12818 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12819 inlines.
12820 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12822 if one of x and y is very large and the other is subnormal.
12823 * sysdeps/s390/fpu/s_fmaf.c: New file.
12824 * sysdeps/s390/fpu/s_fma.c: New file.
12825 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12826 * sysdeps/powerpc/fpu/s_fma.S: New file.
12827 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12828 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12829 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12830
128312010-10-12 Jakub Jelinek <jakub@redhat.com>
12832
12833 [BZ #3268]
12834 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12835 fma tests.
12836 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12837 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12838 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12839 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12840 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12841 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12843
b833d51f
UD
128442010-10-12 Ulrich Drepper <drepper@redhat.com>
12845
12846 [BZ #12078]
12847 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12848 * posix/bug-regex31.input: Add test case.
12849
1751705d
UD
128502010-10-11 Ulrich Drepper <drepper@gmail.com>
12851
e9b9cbf5
UD
12852 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12853 * posix/bug-regex31.input: New file.
12854
12855 [BZ #12078]
12856 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12857 (parse_sub_exp): Fix last change, use postorder.
12858
ef06edbe
UD
12859 * posix/bug-regex31.c: New file.
12860 * posix/Makefile: Add rules to build and run bug-regex31.
12861
a129c80d
UD
12862 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12863
12864 [BZ #12078]
12865 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12866
b76b818e
UD
12867 [BZ #12108]
12868 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12869 to have entries in sys_siglist.
12870
1751705d
UD
12871 [BZ #12093]
12872 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12873 be NULL.
12874
9ff8d36f
JJ
128752010-10-07 Jakub Jelinek <jakub@redhat.com>
12876
12877 [BZ #3268]
12878 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12879 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12880 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12881 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12882 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12883 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12884 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12885 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12886 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12887 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12888 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12889 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12890 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12891 * math/ftestexcept.c (fetestexcept): Likewise.
12892 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12893 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12894 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12895 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12896 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12897 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12898 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12899
af325969
UD
129002010-10-11 Ulrich Drepper <drepper@gmail.com>
12901
c579b202 12902 [BZ #12107]
af325969
UD
12903 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12904 newline.
12905
67a67b95
UD
129062010-10-06 Ulrich Drepper <drepper@gmail.com>
12907
12908 * string/bug-strstr1.c: New file.
12909 * string/Makefile: Add rules to build and run bug-strstr1.
12910
5fb308bc
EB
129112010-10-05 Eric Blake <eblake@redhat.com>
12912
12913 [BZ #12092]
12914 * string/str-two-way.h (two_way_long_needle): Always clear memory
12915 when skipping input due to the shift table.
12916
45db99c7
UD
129172010-10-03 Ulrich Drepper <drepper@gmail.com>
12918
3b111893
UD
12919 [BZ #12005]
12920 * malloc/mcheck.c: Handle large requests.
12921
45db99c7
UD
12922 [BZ #12077]
12923 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12924 for strncmp and strncasecmp.
12925 * string/stratcliff.c: Add tests for strcmp and strncmp.
12926 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12927
cf7a1eb8
NI
129282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12929
12930 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12931 __set_fpscr.
12932
6484ba5e
AJ
129332010-09-30 Andreas Jaeger <aj@suse.de>
12934
12935 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12936 (CGROUP_SUPER_MAGIC): Define.
12937 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12938 Handle btrfs and cgroup file systems.
12939 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12940 Likewise.
12941
91c42559
LM
129422010-09-27 Luis Machado <luisgpm@br.ibm.com>
12943
12944 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12945 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12946
87a97932
AK
129472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12948
12949 [BZ #12067]
12950 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12951 trying to locate the ELF header.
12952
c21cc9bc
AS
129532010-09-27 Andreas Schwab <schwab@redhat.com>
12954
12955 [BZ #11611]
12956 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12957 Mask out sign-bit copies when constructing f_fsid.
12958
315970f6
PB
129592010-09-24 Petr Baudis <pasky@suse.cz>
12960
12961 * debug/stack_chk_fail_local.c: Add missing licence exception.
12962 * debug/warning-nop.c: Likewise.
12963
1ac7a2c7
JM
129642010-09-15 Joseph Myers <joseph@codesourcery.com>
12965
12966 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12967 implementing getdents64 using getdents syscall, set d_type if
12968 __ASSUME_GETDENTS32_D_TYPE.
12969
56801c50
AS
129702010-09-16 Andreas Schwab <schwab@redhat.com>
12971
12972 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12973 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12974
dda51327
UD
129752010-09-21 Ulrich Drepper <drepper@redhat.com>
12976
12977 [BZ #12037]
12978 * posix/unistd.h: Undo change of feature selection for ftruncate from
12979 2010-01-11.
12980
8ffcee4a
UD
129812010-09-20 Ulrich Drepper <drepper@redhat.com>
12982
a545ecd9 12983 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12984 detection.
12985
e24f0a8b
AS
129862010-09-20 Andreas Schwab <schwab@redhat.com>
12987
12988 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12989 fanotify_mark.
12990 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12991
7291c56f
AS
129922010-09-14 Andreas Schwab <schwab@redhat.com>
12993
12994 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12995 variables after CHECK_SP call.
12996 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12997
bc5fb037
AS
129982010-09-13 Andreas Schwab <schwab@redhat.com>
12999 Ulrich Drepper <drepper@redhat.com>
13000
13001 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13002 re-relocationg ld.so.
13003 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13004 _dl_init_paths call.
13005 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13006 here anymore.
13007
e66e7419
UD
130082010-09-14 Ulrich Drepper <drepper@redhat.com>
13009
13010 * resolv/res_init.c (__res_vinit): Count the default server we added.
13011
c044aa75
CLT
130122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13013 Ulrich Drepper <drepper@redhat.com>
13014
13015 [BZ #11968]
13016 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13017 (____longjmp_chk): Use %ebx for saving value across system call.
13018 Add unwind info.
13019
32cf4069
AS
130202010-09-06 Andreas Schwab <schwab@redhat.com>
13021
13022 * manual/Makefile: Don't mix pattern rules with normal rules.
13023
817328ee
AS
130242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13025
13026 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13027 operation.
13028 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13029 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13030 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13031 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13032 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13033 Likewise.
13034
29fddf61
UD
130352010-09-04 Ulrich Drepper <drepper@redhat.com>
13036
13037 [BZ #11979]
13038 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13039 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13040
0959ffc9
UD
130412010-09-02 Ulrich Drepper <drepper@redhat.com>
13042
13043 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13044 * sysdeps/x86_64/addmul_1.S: Likewise.
13045 * sysdeps/x86_64/lshift.S: Likewise.
13046 * sysdeps/x86_64/mul_1.S: Likewise.
13047 * sysdeps/x86_64/rshift.S: Likewise.
13048 * sysdeps/x86_64/sub_n.S: Likewise.
13049 * sysdeps/x86_64/submul_1.S: Likewise.
13050
ece29840
ST
130512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13052
0959ffc9
UD
13053 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13054 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13055 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13056 * bits/sched.h [__need_schedparam]
ece29840 13057 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13058 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13059 (__defined_schedparam): Define to 1.
ece29840
ST
13060 (__sched_param): New structure, identical to sched_param.
13061 (__need_schedparam): Undefine.
13062
e53a31fe
MF
130632010-08-31 Mike Frysinger <vapier@gentoo.org>
13064
fdc0c10d
MF
13065 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13066 (epoll_create1): Declare.
13067
e53a31fe
MF
13068 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13069
a726d796
AS
130702010-08-31 Andreas Schwab <schwab@redhat.com>
13071
13072 [BZ #7066]
13073 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13074 shifting retval into place.
13075
2f3e3dc7
UD
130762010-09-01 Ulrich Drepper <drepper@redhat.com>
13077
f2933da9
UD
13078 * nis/rpcsvc/nis.h: Update copyright notice.
13079 * nis/rpcsvc/nis.x: Likewise.
13080 * nis/rpcsvc/nis_callback.h: Likewise.
13081 * nis/rpcsvc/nis_callback.x: Likewise.
13082 * nis/rpcsvc/nis_object.x: Likewise.
13083 * nis/rpcsvc/nis_tags.h: Likewise.
13084 * nis/rpcsvc/yp.h: Likewise.
13085 * nis/rpcsvc/yp.x: Likewise.
13086 * nis/rpcsvc/ypupd.h: Likewise.
13087 * nis/yp_xdr.c: Likewise.
13088 * nis/ypupdate_xdr.c: Likewise.
13089
2f3e3dc7
UD
13090 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13091 mainly the body of pmap_getport. Add parameters to specify timeouts.
13092 (pmap_getport): Use __libc_rpc_getport.
13093 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13094 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13095 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13096
f3dcc2f9
AS
130972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13098
13099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13100 fanotify_mark.
13101
6d34eb5b
RM
131022010-08-27 Roland McGrath <roland@redhat.com>
13103
13104 * sysdeps/i386/i686/multiarch/Makefile
13105 (CFLAGS-varshift.c): New variable.
13106
9ea3de11
UD
131072010-08-27 Ulrich Drepper <drepper@redhat.com>
13108
c96d23fc
UD
13109 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13110 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13111
9ea3de11
UD
13112 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13113
13114 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13115
623aac7f
L
131162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13117
13118 * sysdeps/x86_64/strlen.S: Unroll the loop.
13119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13120 strlen-sse2 strlen-sse2-bsf.
13121 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13122 __strlen_no_bsf if bit_Slow_BSF is set.
13123 (__strlen_sse42): Removed.
13124 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13125 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13126
8b2b7715
RM
131272010-08-25 Roland McGrath <roland@redhat.com>
13128
13129 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13130 * sysdeps/x86_64/multiarch/varshift.c: New file.
13131 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13132 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13133 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13134 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13135
e73015f2
L
131362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13137
13138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13139 strlen-sse2 strlen-sse2-bsf.
13140 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13141 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13142 (__strlen_sse2): Removed.
13143 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13144 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13146 bit_Slow_BSF for Atom.
13147 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13148 (index_Slow_BSF): Define.
13149 (HAS_SLOW_BSF): Define.
13150
df24a73e
UD
131512010-08-25 Ulrich Drepper <drepper@redhat.com>
13152
13153 [BZ #10851]
13154 * resolv/res_init.c (__res_vinit): When no server address at all
13155 is given default to loopback.
13156
f2ac4868
RM
131572010-08-24 Roland McGrath <roland@redhat.com>
13158
09055553
RM
13159 * configure.in: Remove config-name.h generation.
13160 * configure: Regenerated.
13161 * config-name.in: File removed.
13162 * scripts/config-uname.sh: New file.
13163 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13164 ($(objdir)config-name.h): New target.
13165
f2ac4868
RM
13166 * sunrpc/rpc_parse.h: Avoid nested comment.
13167
73f27d5e
RH
131682010-08-24 Richard Henderson <rth@redhat.com>
13169 Ulrich Drepper <drepper@redhat.com>
13170 H.J. Lu <hongjiu.lu@intel.com>
13171
13172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13174 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13175 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13176 _mm_alignr_epi8 with _mm_loadu_si128.
13177 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13178 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13179 (__m128i_shift_right): Removed.
13180 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13181 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13182 * sysdeps/x86_64/multiarch/varshift.h: New file.
13183 * sysdeps/x86_64/multiarch/varshift.S: New file.
13184
84b9230c
MF
131852010-08-21 Mike Frysinger <vapier@gentoo.org>
13186
13187 * configure.in: Move assembler checks to before sysdep dir checking.
13188
9bbd0ddc
PB
131892010-08-20 Petr Baudis <pasky@suse.cz>
13190
13191 * LICENSES: Sync the sunrpc license.
13192
9da4bb31
UD
131932010-08-19 Ulrich Drepper <drepper@redhat.com>
13194
a7ab6ec8
UD
13195 * sunrpc/auth_des.c: Update copyright notice once again.
13196 * sunrpc/auth_none.c: Likewise.
13197 * sunrpc/auth_unix.c: Likewise.
13198 * sunrpc/authdes_prot.c: Likewise.
13199 * sunrpc/authuxprot.c: Likewise.
13200 * sunrpc/bindrsvprt.c: Likewise.
13201 * sunrpc/clnt_gen.c: Likewise.
13202 * sunrpc/clnt_perr.c: Likewise.
13203 * sunrpc/clnt_raw.c: Likewise.
13204 * sunrpc/clnt_simp.c: Likewise.
13205 * sunrpc/clnt_tcp.c: Likewise.
13206 * sunrpc/clnt_udp.c: Likewise.
13207 * sunrpc/clnt_unix.c: Likewise.
13208 * sunrpc/des_crypt.c: Likewise.
13209 * sunrpc/des_soft.c: Likewise.
13210 * sunrpc/get_myaddr.c: Likewise.
13211 * sunrpc/getrpcport.c: Likewise.
13212 * sunrpc/key_call.c: Likewise.
13213 * sunrpc/key_prot.c: Likewise.
13214 * sunrpc/openchild.c: Likewise.
13215 * sunrpc/pm_getmaps.c: Likewise.
13216 * sunrpc/pm_getport.c: Likewise.
13217 * sunrpc/pmap_clnt.c: Likewise.
13218 * sunrpc/pmap_prot.c: Likewise.
13219 * sunrpc/pmap_prot2.c: Likewise.
13220 * sunrpc/pmap_rmt.c: Likewise.
13221 * sunrpc/rpc/auth.h: Likewise.
13222 * sunrpc/rpc/auth_unix.h: Likewise.
13223 * sunrpc/rpc/clnt.h: Likewise.
13224 * sunrpc/rpc/des_crypt.h: Likewise.
13225 * sunrpc/rpc/key_prot.h: Likewise.
13226 * sunrpc/rpc/netdb.h: Likewise.
13227 * sunrpc/rpc/pmap_clnt.h: Likewise.
13228 * sunrpc/rpc/pmap_prot.h: Likewise.
13229 * sunrpc/rpc/pmap_rmt.h: Likewise.
13230 * sunrpc/rpc/rpc.h: Likewise.
13231 * sunrpc/rpc/rpc_des.h: Likewise.
13232 * sunrpc/rpc/rpc_msg.h: Likewise.
13233 * sunrpc/rpc/svc.h: Likewise.
13234 * sunrpc/rpc/svc_auth.h: Likewise.
13235 * sunrpc/rpc/types.h: Likewise.
13236 * sunrpc/rpc/xdr.h: Likewise.
13237 * sunrpc/rpc_clntout.c: Likewise.
13238 * sunrpc/rpc_cmsg.c: Likewise.
13239 * sunrpc/rpc_common.c: Likewise.
13240 * sunrpc/rpc_cout.c: Likewise.
13241 * sunrpc/rpc_dtable.c: Likewise.
13242 * sunrpc/rpc_hout.c: Likewise.
13243 * sunrpc/rpc_main.c: Likewise.
13244 * sunrpc/rpc_parse.c: Likewise.
13245 * sunrpc/rpc_parse.h: Likewise.
13246 * sunrpc/rpc_prot.c: Likewise.
13247 * sunrpc/rpc_sample.c: Likewise.
13248 * sunrpc/rpc_scan.c: Likewise.
13249 * sunrpc/rpc_scan.h: Likewise.
13250 * sunrpc/rpc_svcout.c: Likewise.
13251 * sunrpc/rpc_tblout.c: Likewise.
13252 * sunrpc/rpc_util.c: Likewise.
13253 * sunrpc/rpc_util.h: Likewise.
13254 * sunrpc/rpcinfo.c: Likewise.
13255 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13256 * sunrpc/rpcsvc/key_prot.x: Likewise.
13257 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13258 * sunrpc/rpcsvc/mount.x: Likewise.
13259 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13260 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13261 * sunrpc/rpcsvc/rex.x: Likewise.
13262 * sunrpc/rpcsvc/rstat.x: Likewise.
13263 * sunrpc/rpcsvc/rusers.x: Likewise.
13264 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13265 * sunrpc/rpcsvc/spray.x: Likewise.
13266 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13267 * sunrpc/rtime.c: Likewise.
13268 * sunrpc/svc.c: Likewise.
13269 * sunrpc/svc_auth.c: Likewise.
13270 * sunrpc/svc_authux.c: Likewise.
13271 * sunrpc/svc_raw.c: Likewise.
13272 * sunrpc/svc_run.c: Likewise.
13273 * sunrpc/svc_simple.c: Likewise.
13274 * sunrpc/svc_tcp.c: Likewise.
13275 * sunrpc/svc_udp.c: Likewise.
13276 * sunrpc/svc_unix.c: Likewise.
13277 * sunrpc/svcauth_des.c: Likewise.
13278 * sunrpc/xcrypt.c: Likewise.
13279 * sunrpc/xdr.c: Likewise.
13280 * sunrpc/xdr_array.c: Likewise.
13281 * sunrpc/xdr_float.c: Likewise.
13282 * sunrpc/xdr_mem.c: Likewise.
13283 * sunrpc/xdr_rec.c: Likewise.
13284 * sunrpc/xdr_ref.c: Likewise.
13285 * sunrpc/xdr_sizeof.c: Likewise.
13286 * sunrpc/xdr_stdio.c: Likewise.
13287
9da4bb31
UD
13288 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13289 handling.
13290
bdaa77bc
AS
132912010-08-19 Andreas Schwab <schwab@redhat.com>
13292
13293 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13294
fe2f79db
LM
132952010-08-19 Luis Machado <luisgpm@br.ibm.com>
13296
13297 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13298 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13299 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13300 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13301 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13302 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13303 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13304 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13305 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13306 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13307 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13308 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13309 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13310 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13311
b9b42ee0
AB
133122010-07-26 Anton Blanchard <anton@samba.org>
13313
13314 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13315 * malloc/arena.c (heap_trim): Likewise.
13316
1c06ba31
UD
133172010-08-16 Ulrich Drepper <drepper@redhat.com>
13318
13319 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13320 here. Not...
13321 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13322 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13323
f8392f40
L
133242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13325
13326 * sysdeps/i386/elf/Makefile: New file.
13327
3162f12e
AS
133282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13329
13330 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13331 from fanotify_init.
13332 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13333 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13334
28c90b2c
UD
133352010-08-15 Ulrich Drepper <drepper@redhat.com>
13336
13337 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13338 of strncasecmp_l.
1feccb6c 13339 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13340
ca6bb004
UD
133412010-08-14 Ulrich Drepper <drepper@redhat.com>
13342
e9f82e0d
UD
13343 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13344 strncase_l-nonascii.
13345 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13346 Add strncase_l-ssse3.
13347 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13348 * sysdeps/x86_64/strcmp.S: Likewise.
13349 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13350 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13351 * sysdeps/x86_64/strncase.S: New file.
13352 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13353 * sysdeps/x86_64/strncase_l.S: New file.
13354 * string/Makefile (strop-tests): Add strncasecmp.
13355 * string/test-strncasecmp.c: New file.
13356
13357 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13358 warning.
13359
ca6bb004
UD
13360 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13361 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13362
052fa7b3
AS
133632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13364
13365 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13366
962dba78
UD
133672010-08-12 Ulrich Drepper <drepper@redhat.com>
13368
13369 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13370 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13371 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13372
bebff237
AM
133732010-05-01 Alan Modra <amodra@gmail.com>
13374
13375 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13376 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13377 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13378 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13379 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13380 tidying. Don't tail-call __sigjmp_save for static lib.
13381 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13382 save location.
13383 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13384 (CALL_MCOUNT): Add eh info, and nop after bl.
13385 (TAIL_CALL_SYSCALL_ERROR): New macro.
13386 (PSEUDO_RET): Use it.
13387 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13388 Correct save location of integer regs and cr.
13389 (_dl_profile_resolve): Correct cr save location. Delete nops
13390 after bl when SHARED. Reduce cfi size a little by better
13391 placement of cfi directives.
13392 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13393 make a stack frame. Instead use parm save area as a temp.
13394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13395 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13397 Don't make a stack frame for parent, use parm save area.
13398 Increase child stack frame to 112 bytes. Don't save unused reg,
13399 and adjust reg usage. Set up cfi on error recovery and
13400 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13402 (__makecontext): Add dummy nop after jump to exit.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13404 Use correct parm save area and cr save, reduce stack frame.
13405 Correct cfi for possible PSEUDO_RET frame setup.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13407 Branch to local label emitted by PSEUDO_RET rather than
13408 __syscall_error.
13409
02637374
AS
134102010-08-12 Andreas Schwab <schwab@redhat.com>
13411
13412 [BZ #11904]
13413 * locale/programs/locale.c (print_assignment): New function.
13414 (show_locale_vars): Use it.
13415
c3e2f19b
UD
134162010-08-11 Ulrich Drepper <drepper@redhat.com>
13417
3cdaa6ad
UD
13418 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13419 field.
13420 (struct statfs64): Likewise.
13421 (_STATFS_F_FLAGS): Define.
13422 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13423 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13424 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13425 (ST_VALID): Define locally.
13426 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13427 __statvfs_getflags, use the provided value.
13428 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13429 __ASSUME_STATFS_F_FLAGS.
13430
754f7da3
UD
13431 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13432
10b3bedc
UD
13433 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13434 Add sys/fanotify.h.
13435 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13436 fanotify_mask for GLIBC_2.13.
13437 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13438 fanotify_init and fanotify_mark.
13439 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13440 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13441
c08fb0d7
UD
13442 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13443 Add prlimit.
13444 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13445 prlimit64 for GLIBC_2.13.
13446 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13447 prlimit64.
13448 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13449 syscall.
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13451 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13452 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13453 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13454 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13455 add prlimit alias.
13456 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13457
15bac72b
UD
13458 [BZ #11903]
13459 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13460 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13461
c3e2f19b
UD
13462 * nss/Makefile: Add rules to build and run tst-nss-test1.
13463 * shlib-versions: Add entry for libnss_test1.
13464 * nss/nss_test1.c: New file.
13465 * nss/tst-nss-test1.c: New file.
13466
13467 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13468 (__nss_configure_lookup): Set appropriate entry in
13469 __nss_configure_lookup to true.
13470 * nss/nsswitch.h: Define enum with indeces of databases in
13471 databases and __nss_database_custom arrays. Declare
13472 __nss_database_custom.
13473 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13474 to avoid using nscd when custom rules are installed.
13475 * nss/getXXbyYY_r.c: Likewise.
13476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13477
13478 * nss/nss_files/files-parse.c: Whitespace fixes.
13479
f15ce4d8
UD
134802010-08-09 Ulrich Drepper <drepper@redhat.com>
13481
13482 [BZ #11883]
13483 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13484 * posix/fnmatch_loop.c: Likewise.
13485
d22e4cc9
AK
134862010-07-17 Andi Kleen <ak@linux.intel.com>
13487
13488 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13489 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13490 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13491 * Versions.def [GLIBC_2.13]: Add.
13492
805bc17d
UD
134932010-08-06 Ulrich Drepper <drepper@redhat.com>
13494
13495 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13496 Also fail if tpwd after pwuid call is NULL.
13497
5a42321d
ST
134982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13499
13500 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13501 when converting to ms.
13502
fd3ebeda
ST
135032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13504
13505 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13506 EOPNOTSUPP errors with ENOTTY.
13507 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13508 EOPNOTSUPP errors with ENOTTY.
13509
73507d3a
UD
135102010-07-31 Ulrich Drepper <drepper@redhat.com>
13511
13512 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13513 Add strcasecmp_l-ssse3.
13514 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13515 strcasecmp.
13516 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13517 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13518 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13519
fe36dd02
UD
135202010-07-30 Ulrich Drepper <drepper@redhat.com>
13521
66f6765a
UD
13522 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13523
42e08a54
UD
13524 * string/Makefile (strop-tests): Add strcasecmp.
13525 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13526 strcasecmp_l-nonascii.
13527 (gen-as-const-headers): Add locale-defines.sym.
13528 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13529 * sysdeps/x86_64/strcasecmp.S: New file.
13530 * sysdeps/x86_64/strcasecmp_l.S: New file.
13531 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13532 * sysdeps/x86_64/locale-defines.sym: New file.
13533 * string/test-strcasecmp.c: New file.
13534
fe36dd02
UD
13535 * string/test-strcasestr.c: Test both ends of the range of characters.
13536 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13537
48cbc0d6
RM
135382010-07-29 Roland McGrath <roland@redhat.com>
13539
76e6d6bc 13540 [BZ #11856]
48cbc0d6
RM
13541 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13542
880113d9
UD
135432010-07-27 Ulrich Drepper <drepper@redhat.com>
13544
13545 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13546 for ld.so.
13547
deb9cabb
AS
135482010-07-27 Andreas Schwab <schwab@redhat.com>
13549
13550 * manual/memory.texi (Malloc Tunable Parameters): Document
13551 M_PERTURB.
13552
1c7570ff
RM
135532010-07-26 Roland McGrath <roland@redhat.com>
13554
13555 [BZ #11840]
13556 * configure.in (-fgnu89-inline check): Set and substitute
13557 gnu89_inline, not libc_cv_gnu89_inline.
13558 * configure: Regenerated.
13559 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13560
24fb0f88
UD
135612010-07-26 Ulrich Drepper <drepper@redhat.com>
13562
13563 * string/test-strnlen.c: New file.
13564 * string/Makefile (strop-tests): Add strnlen.
13565 * string/tester.c (test_strnlen): Add a few more test cases.
13566 * string/tst-strlen.c: Better error reporting.
13567
13568 * sysdeps/x86_64/strnlen.S: New file.
13569
8e96b93a
UD
135702010-07-24 Ulrich Drepper <drepper@redhat.com>
13571
13572 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13573 lower-latency instructions.
13574
dbc676d4
UD
135752010-07-23 Ulrich Drepper <drepper@redhat.com>
13576
13577 * string/test-strcasestr.c: New file.
13578 * string/test-strstr.c: New file.
13579 * string/Makefile (strop-tests): Add strstr and strcasestr.
13580 * string/str-two-way.h: Don't undefine MAX.
13581 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13582
f6a31e0e
AS
135832010-07-21 Andreas Schwab <schwab@redhat.com>
13584
13585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13586 strcasestr-nonascii.
13587 (CFLAGS-strcasestr-nonascii.c): Define.
13588 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13589 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13590 Remove unused attribute.
13591
5dbc3b6c
RM
135922010-07-20 Roland McGrath <roland@redhat.com>
13593
13594 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13595 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13596 ld.so.cache was broken. With it, there is no way to disable dsocaps
13597 like LD_HWCAP_MASK can disable hwcaps.
13598
23d101d8
EPM
135992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13600
13601 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13602
cc9f2e47
UD
136032010-07-16 Ulrich Drepper <drepper@redhat.com>
13604
13605 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13606 call in strcasestr.
13607 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13608 __strcasestr_sse42_nonascii.
13609 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13610 strcasestr-nonascii.c.
13611 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13612
77c1b069
LM
136132010-06-15 Luis Machado <luisgpm@br.ibm.com>
13614
13615 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13616 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13617 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13618 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13619
440566c3
UD
136202010-07-09 Ulrich Drepper <drepper@redhat.com>
13621
13622 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13623 fcntl.
13624
5be9d05d
AS
136252010-07-06 Andreas Schwab <schwab@redhat.com>
13626
c30b7ee2 13627 [BZ #11577]
5be9d05d
AS
13628 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13629 dl_signal_cerror.
13630
8a492a67
UD
136312010-07-06 Ulrich Drepper <drepper@redhat.com>
13632
13633 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13634 _PC_PIPE_BUF using F_GETPIPE_SZ.
13635
713df3d5
RM
136362010-07-05 Roland McGrath <roland@redhat.com>
13637
13638 * manual/arith.texi (Rounding Functions): Fix rint description
13639 implicit in round description.
13640
702e8f14
UD
136412010-07-02 Ulrich Drepper <drepper@redhat.com>
13642
13643 * elf/Makefile: Fix linking for a few tests to make recent linker
13644 happy.
13645
52ed8be9
AS
136462010-06-30 Andreas Schwab <schwab@redhat.com>
13647
13648 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13649 $(common-objpfx)libc_nonshared.a.
13650
f47c9a11
LM
136512010-06-21 Luis Machado <luisgpm@br.ibm.com>
13652
13653 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13654 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13655 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13656 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13657 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13658 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13659 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13660 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13675 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13676 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13677 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13678 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13679 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13680 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13681 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13682 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13683 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13684 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13685 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13686 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13701
6fb8cbcb
L
137022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13703
13704 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13705 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13706 * string/memmove.c (memmove): Renamed to ...
13707 (MEMMOVE): ...this. Default to memmove.
13708 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13709 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13710 (END_CHK): Define.
13711 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13712 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13713 mempcpy-ssse3-back memmove-ssse3-back.
13714 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13715 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13716 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13717 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13718 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13719 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13720 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13721 * sysdeps/x86_64/multiarch/memmove.c: New file.
13722 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13723 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13724 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13725 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13726 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13727 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13728 Define.
13729 (index_Fast_Copy_Backward): Define.
13730 (HAS_ARCH_FEATURE): Define.
13731 (HAS_FAST_REP_STRING): Define.
13732 (HAS_FAST_COPY_BACKWARD): Define.
13733
4e733bac 137342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13735
13736 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13737 Restore proper fallback handling.
13738
63c4ed22
UD
137392010-06-19 Ulrich Drepper <drepper@redhat.com>
13740
ac2b484c
UD
13741 [BZ #11701]
13742 * posix/group_member.c (__group_member): Correct checking loop.
13743
63c4ed22
UD
13744 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13745 OOM in getpwuid_r correctly. Return error number when the caller
13746 should return, otherwise -1.
13747 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13748 call returning > 0 value.
13749 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13750
765ade4b
AS
137512010-06-07 Andreas Schwab <schwab@redhat.com>
13752
13753 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13754 libc_nonshared.a from targets in modules-names.
13755
80da2e09
KS
137562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13757
13758 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13759 requires it.
13760
158db122
LM
137612010-06-10 Luis Machado <luisgpm@br.ibm.com>
13762
13763 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13764 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13765 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13766 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13767
caa78cf8
AS
137682010-06-02 Andreas Schwab <schwab@redhat.com>
13769
13770 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13771
b2ef2c01
UD
137722010-06-14 Ulrich Drepper <drepper@redhat.com>
13773
13774 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13775 and F_GETPIPE_SZ.
13776 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13777 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13778 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13780 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13781 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13782
fbd643b6
RM
137832010-06-14 Roland McGrath <roland@redhat.com>
13784
13785 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13786
f32f2869
JJ
137872010-06-07 Jakub Jelinek <jakub@redhat.com>
13788
13789 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13790 __REDIRECT followed by __THROW.
13791 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13792 * posix/getopt.h (getopt): Likewise.
13793
2a50c078
EPM
137942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13795
13796 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13797 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13798 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13799 in AT_FLAGS.
13800 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13801 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13802
eb5ad2eb
LM
138032010-05-28 Luis Machado <luisgpm@br.ibm.com>
13804
13805 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13806
3c88fe1e
L
138072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13808
13809 [BZ #11640]
13810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13811 Properly check family and model.
13812
d2f73151
TY
138132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13814
13815 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13816
ebd2e13d
LM
138172010-05-24 Luis Machado <luisgpm@br.ibm.com>
13818
13819 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13820
b32b8b45
UD
138212010-05-21 Ulrich Drepper <drepper@redhat.com>
13822
13823 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13824 symbol reference.
13825
9acbe24d
AS
138262010-05-19 Andreas Schwab <schwab@redhat.com>
13827
13828 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13829 symbol reference.
13830
f0ccf6ea
AS
138312010-05-21 Andreas Schwab <schwab@redhat.com>
13832
3d04ff3a
AS
13833 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13834 and internal_recvmmsg.
13835 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13836 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13837 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13838 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13839
f0ccf6ea
AS
13840 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13841 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13842 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13843
5b08ac57
AS
138442010-05-20 Andreas Schwab <schwab@redhat.com>
13845
13846 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13847
4828935d
LM
138482010-05-17 Luis Machado <luisgpm@br.ibm.com>
13849
13850 POWER7 optimizations.
13851 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13852 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13853
373d545e
UD
138542010-05-19 Ulrich Drepper <drepper@redhat.com>
13855
13856 * version.h: Update for 2.13 development version.
13857
21a2b1ae
AS
138582010-05-12 Andrew Stubbs <ams@codesourcery.com>
13859
13860 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13861 exceptions. Return 0.
13862
3f7dcb2b
RM
138632010-05-07 Roland McGrath <roland@redhat.com>
13864
13865 * elf/ldconfig.c (main): Add a const.
13866
5f24d53a 138672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13868
a160f8d8
UD
13869 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13870 (args_options): Add no-idn option.
13871 (ahosts_keys_int): Add idn_flags to ai_flags.
13872 (parse_option): Handle 'i' option to clear idn_flags.
13873
5f24d53a
UD
13874 * malloc/malloc.c (_int_free): Possible race in the most recently
13875 added check. Only act on the data if no current modification
13876 happened.
265bb1ce
UD
13877
13878See ChangeLog.17 for earlier changes.