]> sourceware.org Git - glibc.git/blame - ChangeLog
Use __builtin_clzll on int64 in __logb
[glibc.git] / ChangeLog
CommitLineData
c044d724
L
12012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4 __builtin_clzl with __builtin_clzll.
5
2523c62b
L
62012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7
8 [BZ #14104]
9 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10 libc_freeres_ptr.
11
d7bb4c42
LD
122012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13
14 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18
9dc4e1fb
MF
192012-05-14 Mike Frysinger <vapier@gentoo.org>
20
21 * NEWS: Update ia64 info.
22
c7df0112
AS
232012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24
25 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26 used as bcopy.
27
dc70356c
TS
282012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29
30 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31 * sysdeps/unix/syscalls.list (dup3): Likewise.
32 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34
9fb1a21f
L
352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36
37 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39
4822a2a5
L
402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41
42 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43 thread pointer.
44 (TLS_IE): Use mov/add instead of movq/addq to load thread
45 pointer.
46 (TLS_GD_PREFIX): New.
47 (TLS_GD): Use it.
48
842b81d6
DM
492012-05-11 David S. Miller <davem@davemloft.net>
50
51 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
53 (_FPU_SETCW): Likewise.
54
1cf463cd
L
552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
56
57 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58 is 32-byte aligned.
59
60cc4a18
AS
602012-05-11 Andreas Schwab <schwab@linux-m68k.org>
61
62 [BZ #11837]
63 * iconvdata/gb18030.c: Update tables.
64 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
65 characters specially.
66 (BODY for TO_LOOP): Add encoding of missing ranges.
67
febb44a4
TS
682012-05-11 Thomas Schwinge <thomas@codesourcery.com>
69
70 [BZ #13673]
71 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
72 * sysdeps/mach/hurd/dup3.c: Likewise.
73 * sysdeps/mach/hurd/readlinkat.c: Likewise.
74 * sysdeps/powerpc/memmove.c:: Likewise.
75
0a10fb9e
L
762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
77
78 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
79 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
80
df8a552f
L
812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82
83 * elf/elf.h (R_X86_64_RELATIVE64): New.
84 (R_X86_64_NUM): Updated.
85 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
86 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
87 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
88 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
89 tst-quad1pie tst-quad2pie
90 (modules-names): Add tst-quadmod1 tst-quadmod2.
91 ($(objpfx)tst-quad1): New dependency.
92 ($(objpfx)tst-quad2): Likewise.
93 ($(objpfx)tst-quad1pie): Likewise.
94 ($(objpfx)tst-quad2pie): Likewise.
95 * sysdeps/x86_64/tst-quad1.c: New file.
96 * sysdeps/x86_64/tst-quad1pie.c: New file.
97 * sysdeps/x86_64/tst-quad2.c: Likewise.
98 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
99 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
100 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
101 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
102 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
103
f34d6f84
ST
1042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
105
f42d41d1
ST
106 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
107 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
108 * streams/stropts.h (t_scalar_t): Define type.
109
3c3571fc
ST
110 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
111 (_PATH_PRESERVE): Set to "/var/lib".
112 (_PATH_RWHODIR): Set to "/var/spool/rwho".
113
61f06bd3
ST
114 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
115 instead of int.
116
918d4d71
ST
117 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
118 if __dir_mkfile succeeded.
119
f34d6f84
ST
120 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
121 checking for _hurd_dtablesize. Unlock it right after having
122 finished _hurd_dtable allocation.
123
10589b4a
TS
1242012-05-10 Thomas Schwinge <thomas@schwinge.name>
125
674cdbc7
TS
126 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
127 * sysdeps/mach/hurd/configure: Regenerated.
128 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
129 special-casing to...
130 * sysdeps/gnu/configure.in: ... this new file.
131 * sysdeps/unix/sysv/linux/configure: Regenerated.
132 * sysdeps/gnu/configure: New generated file.
133
8e41b99f
TS
134 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
135 for Linux: use nsec instead of usec, as well as:
136 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
137 members of type struct timespec.
138 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
139 New macros.
140 (struct stat64): Likewise.
141 (_STATBUF_ST_NSEC): New macro.
142 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
143
10589b4a
TS
144 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
145 __strtoul_internal rather than strtoul.
146
63643c85
PT
1472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
148
149 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
150 and reject them.
151
3faebe6a
ST
1522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
153
154 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
155 which preserves existing values.
156 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
157
c6474b07
PT
1582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
159
160 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
161 TIMEOUT values. Return EINVAL for NFDS values either negative or
162 greater than FD_SETSIZE.
163
1043890b
ST
1642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
165
166 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
167 allocated, call __vm_protect to finish enabling the existing space, and
168 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
169 allocate the remainder.
170
37ed8b9b
PT
1712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
172
173 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
174 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
175
db653660
ST
1762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
177
37ed8b9b
PT
178 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
179 sysdeps/mach/hurd/readlink.c.
b29d4053 180
db653660
ST
181 * posix/tst-sysconf.c (posix_options): Only use
182 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
183 _POSIX_SYNCHRONIZED_IO when they are defined
184 * sysdeps/mach/hurd/bits/posix_opt.h:
185 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
186 (_XOPEN_REALTIME): Undefine macro.
187 (_XOPEN_REALTIME_THREADS): Undefine macro.
188 (_XOPEN_SHM): Undefine macro.
189 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
190 macro to -1.
191 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
192 macro to -1.
193 (_POSIX_ASYNC_IO): Undefine macro.
194 (_POSIX_PRIORITIZED_IO): Undefine macro.
195 (_POSIX_SPIN_LOCKS): Define macro to -1.
196
ee16e894
ST
197 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
198 SA_NODEFER, SA_RESETHAND.
199 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
200 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
201 F_DUPFD_CLOEXEC.
202
6103ae3b
TS
2032012-05-10 Thomas Schwinge <thomas@schwinge.name>
204
205 * elf/Makefile (pldd-modules): Define unconditionally.
206
80b4e5f3
TS
2072012-05-10 Thomas Schwinge <thomas@schwinge.name>
208
209 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
210
edadcbd6
ST
2112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
212
213 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
214 Return ENOENT when name is empty.
215 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
216
80694780
TS
2172012-05-10 Thomas Schwinge <thomas@schwinge.name>
218
1792c087
TS
219 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
220
80694780
TS
221 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
222
6b645f0d
ST
2232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
224
80694780
TS
225 Fix mlock in all cases except non-readable pages.
226 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
227 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 228
6b645f0d
ST
229 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
230 (__mkdir): When path is `/', just fail with EEXIST.
231 * sysdeps/mach/hurd/mkdirat.c: Likewise.
232
e468f8a3
TS
2332012-05-10 Thomas Schwinge <thomas@schwinge.name>
234
235 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
236 <sys/uio.h> (for writev).
237 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
238 and <sys/param.h> (for MIN).
239
a4186cff
PT
2402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
241
242 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
243 REQUESTED_TIME. Properly set the remaining time and return EINTR
244 if interrupted.
245
510bbf14
TS
2462012-05-10 Thomas Schwinge <thomas@schwinge.name>
247
248 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
249 Depend on against $(link-rpcuserlibs).
250
5d5722e8
ST
2512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
252
a4186cff
PT
253 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
254 (__libc_stack_end): Do not use attribute_relro.
255 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
256 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 257 to libthread-provided value.
a4186cff
PT
258 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
259 attribute_relro.
5d5722e8 260
37233df9
TS
2612012-05-10 Thomas Schwinge <thomas@schwinge.name>
262
be971a2b
TS
263 [BZ #3748]
264 * bits/libc-lock.h (__libc_once_get): New macro.
265 * sysdeps/mach/bits/libc-lock.h: Likewise.
266 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
267 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
268 instead of using implementation details.
269
37233df9
TS
270 * libio/fileops.c: Unconditionally include <kernel-features.h>.
271 * libio/freopen.c: Likewise.
272 * libio/freopen64.c: Likewise.
273 * misc/syslog.c: Likewise.
274 * nscd/connections.c: Likewise.
275 * nscd/netgroupcache.c: Likewise.
276 * sysdeps/posix/getcwd.c: Likewise.
277
38de94a5
RM
2782012-05-10 Roland McGrath <roland@hack.frob.com>
279
280 * math/w_ilogbf.c: Add #include <limits.h>.
281
67530489
ST
2822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
283
a4186cff 284 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
285 path instead of returning without unlocking.
286
67530489
ST
287 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
288 immediate-write ioctls.
289 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
290
5aa3a74a
TS
2912012-05-10 Thomas Schwinge <thomas@schwinge.name>
292
18bad2ae
TS
293 * sysdeps/mach/hurd/i386/init-first.c (init): Use
294 __builtin_frame_address instead of making assumptions about the
295 location of the return address relative to DATA. Force early load of
296 the return address.
297 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
298 __builtin_frame_address.
299
5aa3a74a
TS
300 dup3 for GNU Hurd.
301 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
302 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
303 implement dup3 and do some further code clean-ups.
304 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
305 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
306
ecd0de9a
ST
3072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
308
cd9fa985
ST
309 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
310
a4186cff
PT
311 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
312 HURD_CRITICAL_END around holding _hurd_dtable_lock.
313 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
314 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
315 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
316 d->port.lock.
802ca5a5 317
a4186cff
PT
318 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
319 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
320 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 321
bcf55240
TS
3222012-05-10 Thomas Schwinge <thomas@schwinge.name>
323
6960eb42
TS
324 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
325 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
326 definitions.
327
eb43375f
TS
328 accept4 for GNU Hurd.
329 * include/sys/socket.h (__libc_accept4): New prototype.
330 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
331 to implement __libc_accept4.
332 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
333 __libc_accept4.
334 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
335
bcf55240
TS
336 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
337 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
338 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
339 signal-defines.sym.
340
6178c55b
ST
3412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
342
a4186cff 343 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 344
6f080c2f
TS
3452012-05-10 Thomas Schwinge <thomas@schwinge.name>
346
347 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
348 assertion on O_CLOEXEC flag.
349 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
350 * hurd/intern-fd.c: Likewise.
351 * hurd/port2fd.c: Likewise.
352
bcfe3a54
ST
3532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
354
355 [BZ #3906]
356 * bits/in.h (IPV6_PKTINFO): Define new macro.
357 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
358
89c9aa49
AZ
3592012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
360
361 [BZ #13954]
362 [BZ #13955]
363 [BZ #13956]
364 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
365 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
366 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
367 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
368 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
369 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
370 * math/libm-test.inc (logb_test) : Additional logb tests.
371
021db4be
AJ
3722012-05-09 Andreas Schwab <schwab@linux-m68k.org>
373 Andreas Jaeger <aj@suse.de>
374
375 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
376 * configure: Regenerated.
377 * config.h.in (LINK_OBSOLETE_RPC): New macro.
378 * config.make.in (link-obsolete-rpc): New substituted variable.
379 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
380 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
381 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
382 (shared-only-routines): Don't set it under [link-obsolete-rpc],
383 so that libc.a contains the symbols.
384 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
385 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
386 * sunrpc/auth_none.c: Likewise.
387 * sunrpc/auth_unix.c: Likewise.
388 * sunrpc/authdes_prot.c: Likewise.
389 * sunrpc/authuxprot.c: Likewise.
390 * sunrpc/clnt_gen.c: Likewise.
391 * sunrpc/clnt_perr.c: Likewise.
392 * sunrpc/clnt_raw.c: Likewise.
393 * sunrpc/clnt_simp.c: Likewise.
394 * sunrpc/clnt_tcp.c: Likewise.
395 * sunrpc/clnt_udp.c: Likewise.
396 * sunrpc/clnt_unix.c: Likewise.
397 * sunrpc/des_crypt.c: Likewise.
398 * sunrpc/des_soft.c: Likewise.
399 * sunrpc/get_myaddr.c: Likewise.
400 * sunrpc/key_call.c: Likewise.
401 * sunrpc/key_prot.c: Likewise.
402 * sunrpc/netname.c: Likewise.
403 * sunrpc/pm_getmaps.c: Likewise.
404 * sunrpc/pm_getport.c: Likewise.
405 * sunrpc/pmap_clnt.c: Likewise.
406 * sunrpc/pmap_prot.c: Likewise.
407 * sunrpc/pmap_prot2.c: Likewise.
408 * sunrpc/pmap_rmt.c: Likewise.
409 * sunrpc/publickey.c: Likewise.
410 * sunrpc/rpc_cmsg.c: Likewise.
411 * sunrpc/rpc_common.c: Likewise.
412 * sunrpc/rpc_dtable.c: Likewise.
413 * sunrpc/rpc_prot.c: Likewise.
414 * sunrpc/rpc_thread.c: Likewise.
415 * sunrpc/rtime.c: Likewise.
416 * sunrpc/svc.c: Likewise.
417 * sunrpc/svc_auth.c: Likewise.
418 * sunrpc/svc_raw.c: Likewise.
419 * sunrpc/svc_run.c: Likewise.
420 * sunrpc/svc_tcp.c: Likewise.
421 * sunrpc/svc_udp.c: Likewise.
422 * sunrpc/svc_unix.c: Likewise.
423 * sunrpc/svcauth_des.c: Likewise.
424 * sunrpc/xcrypt.c: Likewise.
425 * sunrpc/xdr.c: Likewise.
426 * sunrpc/xdr_array.c: Likewise.
427 * sunrpc/xdr_float.c: Likewise.
428 * sunrpc/xdr_intXX_t.c: Likewise.
429 * sunrpc/xdr_mem.c: Likewise.
430 * sunrpc/xdr_rec.c: Likewise.
431 * sunrpc/xdr_ref.c: Likewise.
432 * sunrpc/xdr_sizeof.c: Likewise.
433 * sunrpc/xdr_stdio.c: Likewise.
434
b5c086a2
RM
4352012-05-10 Roland McGrath <roland@hack.frob.com>
436
437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
438 change. Update copyright years.
439
6d74dd09
JM
4402012-05-10 Joseph Myers <joseph@codesourcery.com>
441
442 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
443
28e72501
MK
4442012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
445 Joseph Myers <joseph@codesourcery.com>
446 Paul Pluzhnikov <ppluzhnikov@google.com>
447
448 [BZ #14012]
449 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
450 requiring rpcgen.
451 [cross-compiling] (extra-libs): Likewise.
452 [cross-compiling] (extra-libs-others): Likewise.
453 [cross-compiling] (librpcsvc-routines): Likewise.
454 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
455 [cross-compiling] (omit-deps): Likewise.
456 (sunrpc-CPPFLAGS): New variable.
457 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
458 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
459 (cross-rpcgen-objs): New variable.
460 (extra-objs): Append $(cross-rpcgen-objs).
461 ($(cross-rpcgen-objs)): New rule.
462 ($(objpfx)cross-rpcgen): Likewise.
463 (rpcgen-cmd): Define to use $(built-program-file). Expand
464 comment.
465 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
466 ($(objpfx)x%.stmp): Likewise.
467 * sunrpc/proto.h [IS_IN_build] (_): Define.
468 [IS_IN_build] (_libc_intl_domainname): Likewise.
469
c8c59454
L
4702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
471
472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
473 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
474 and R_X86_64_TPOFF64.
475
6f27cd16
JM
4762012-05-10 Joseph Myers <joseph@codesourcery.com>
477
478 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
479 sysdeps/unix/sysv/syscalls.list.
480 (stime): Likewise.
481 (utime): Likewise.
482 * sysdeps/unix/sysv/syscalls.list: Remove file.
483
02467e1c
PE
4842012-05-10 Paul Eggert <eggert@cs.ucla.edu>
485
486 [BZ #3440]
487 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
488 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
489 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
490 (__LC_IDENTIFICATION): Make these macros useful in #if
491 expressions, as required by C99.
492
da392631
AS
4932012-05-10 Andreas Schwab <schwab@linux-m68k.org>
494
495 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
496 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
497 after this.
498
8115f29b
L
4992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
500
501 * stdlib/longlong.h: Updated from GCC.
502
bdd74070
AJ
5032012-05-09 Andreas Jaeger <aj@suse.de>
504
edfe0dbe
AJ
505 * nscd/nscd.c (run_modes): Make named enum, reorder so that
506 default is first entry.
507 (run_mode): Set type.
508 (main): Remove informal message about syslog.
509 (options): Fix typo.
510
bcfe3a54
ST
511 [BZ #14053]
512 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 513 to asm.
bcfe3a54
ST
514 (lrint): Likewise.
515 (llrintf): Likewise.
516 (llrint): Likewise.
517 (rint): Likewise.
518 (rintf): Likewise.
519 (nearbyint): Likewise.
520 (nearbyintf): Likewise.
bdd74070 521
91d8d69e
AJ
5222012-05-09 Andreas Jaeger <aj@suse.de>
523 Pedro Alves <palves@redhat.com>
524
525 * nscd/nscd.c (run_mode): Use enum.
526 (main): Cleanup coding style issue.
527
bb90b80b
AJ
5282012-05-09 Alexandre Oliva <aoliva@redhat.com>
529 Andreas Jaeger <aj@suse.de>
530
bcfe3a54
ST
531 * nscd/nscd.c (go_background): Replaced with...
532 (run_mode): ... this.
bb90b80b 533 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
534 (options): Add -F --foreground.
535 (main): Implement it.
536 (parse_opt): Parse it.
bb90b80b 537
1a4b75a1
AJ
5382012-05-09 Andreas Jaeger <aj@suse.de>
539
540 [BZ #14083]
541 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
542 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
543 -Wconversion warning.
544 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
545 Likewise.
546
b1cc2472
JM
5472012-05-09 Joseph Myers <joseph@codesourcery.com>
548
549 * conform/data/locale.h-data (NULL): Use macro-constant. Require
550 == 0.
551 (LC_ALL): Use macro-int-constant.
552 (LC_COLLATE): Likewise.
553 (LC_CTYPE): Likewise.
554 (LC_MESSAGES): Likewise.
555 (LC_MONETARY): Likewise.
556 (LC_NUMERIC): Likewise.
557 (LC_TIME): Likewise.
558 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
559 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
560 [ISO || ISO99 || ISO11] (*_t): Do not allow.
561 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
562 Specify type.
563 [C99-based standards] (float_t): Expect type.
564 [C99-based standards] (double_t): Expect type.
565 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
566 type.
567 [C99-based standards] (HUGE_VALL): Likewise.
568 [C99-based standards] (INFINITY): Likewise.
569 [C99-based standards] (NAN): Likewise.
570 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
571 [C99-based standards] (FP_NAN): Likewise.
572 [C99-based standards] (FP_NORMAL): Likewise.
573 [C99-based standards] (FP_SUBNORMAL): Likewise.
574 [C99-based standards] (FP_ZERO): Likewise.
575 [C99-based standards] (FP_FAST_FMA): Use
576 optional-macro-int-constant. Specify type. Require == 1.
577 [C99-based standards] (FP_FAST_FMAF): Likewise.
578 [C99-based standards] (FP_FAST_FMAL): Likewise.
579 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
580 [C99-based standards] (FP_ILOGBNAN): Likewise.
581 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
582 Specify type.
583 [C99-based standards] (MATH_ERREXCEPT): Likewise.
584 [C99-based standards] (math_errhandling): Specify type.
585 [ISO99 || ISO11] (signgam): Do not allow.
586 [non-C99-based standards] (copysignf): Do not allow.
587 [non-C99-based standards] (exp2f): Likewise.
588 [non-C99-based standards] (log2f): Likewise.
589 [non-C99-based standards] (modff): Allow.
590 [non-C99-based standards] (erff): Do not allow.
591 [non-C99-based standards] (erfcf): Likewise.
592 [non-C99-based standards] (gammaf): Likewise.
593 [non-C99-based standards] (hypotf): Likewise.
594 [non-C99-based standards] (j0f): Likewise.
595 [non-C99-based standards] (j1f): Likewise.
596 [non-C99-based standards] (jnf): Likewise.
597 [non-C99-based standards] (lgammaf): Likewise.
598 [non-C99-based standards] (tgammaf): Likewise.
599 [non-C99-based standards] (y0f): Likewise.
600 [non-C99-based standards] (y1f): Likewise.
601 [non-C99-based standards] (ynf): Likewise.
602 [non-C99-based standards] (isnanf): Likewise.
603 [non-C99-based standards] (acoshf): Likewise.
604 [non-C99-based standards] (asinhf): Likewise.
605 [non-C99-based standards] (atanhf): Likewise.
606 [non-C99-based standards] (cbrtf): Likewise.
607 [non-C99-based standards] (expm1f): Likewise.
608 [non-C99-based standards] (ilogbf): Likewise.
609 [non-C99-based standards] (log1pf): Likewise.
610 [non-C99-based standards] (logbf): Likewise.
611 [non-C99-based standards] (nextafterf): Likewise.
612 [non-C99-based standards] (remainderf): Likewise.
613 [non-C99-based standards] (rintf): Likewise.
614 [non-C99-based standards] (scalbf): Likewise.
615 [non-C99-based standards] (copysignl): Likewise.
616 [non-C99-based standards] (exp2l): Likewise.
617 [non-C99-based standards] (log2l): Likewise.
618 [non-C99-based standards] (modfl): Allow.
619 [non-C99-based standards] (erfl): Do not allow.
620 [non-C99-based standards] (erfcl): Likewise.
621 [non-C99-based standards] (gammal): Likewise.
622 [non-C99-based standards] (hypotl): Likewise.
623 [non-C99-based standards] (j0l): Likewise.
624 [non-C99-based standards] (j1l): Likewise.
625 [non-C99-based standards] (jnl): Likewise.
626 [non-C99-based standards] (lgammal): Likewise.
627 [non-C99-based standards] (tgammal): Likewise.
628 [non-C99-based standards] (y0l): Likewise.
629 [non-C99-based standards] (y1l): Likewise.
630 [non-C99-based standards] (ynl): Likewise.
631 [non-C99-based standards] (isnanl): Likewise.
632 [non-C99-based standards] (acoshl): Likewise.
633 [non-C99-based standards] (asinhl): Likewise.
634 [non-C99-based standards] (atanhl): Likewise.
635 [non-C99-based standards] (cbrtl): Likewise.
636 [non-C99-based standards] (expm1l): Likewise.
637 [non-C99-based standards] (ilogbl): Likewise.
638 [non-C99-based standards] (log1pl): Likewise.
639 [non-C99-based standards] (logbl): Likewise.
640 [non-C99-based standards] (nextafterl): Likewise.
641 [non-C99-based standards] (remainderl): Likewise.
642 [non-C99-based standards] (rintl): Likewise.
643 [non-C99-based standards] (scalbl): Likewise.
644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
645 [non-C99-based standards] (FP_*): Do not allow.
646 [C99-based standards] (FP_*): Change to
647 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
648 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
649 allow.
650 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
651 (SIG_ERR): Likewise.
652 [X/Open-based standards] (SIG_HOLD): Likewise.
653 (SIG_IGN): Likewise.
654 (SIGABRT): Use macro-int-constant. Specify type. Require
655 positive value.
656 (SIGFPE): Likewise.
657 (SIGILL): Likewise.
658 (SIGINT): Likewise.
659 (SIGSEGV): Likewise.
660 (SIGTER): Likewise.
661 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
662 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
663 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
664 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
665 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
666 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
667 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
668 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
669 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
670 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
671 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
672 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
673 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
674 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
675 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
676 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
677 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
678 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
679 [X/Open-based standards] (SIGTRAP): Likewise.
680 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
681 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
682 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
683 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
684 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
685 allow.
686
b9f1922d
IW
6872012-05-08 Ian Wienand <ianw@vmware.com>
688
689 [BZ #14080]
690 * time/tzset.c (__tzset_parse_tz): Update default rules for
691 daylight time changes in the Energy Policy Act of 2005.
692
1db86e88
AJ
6932012-05-09 Andreas Jaeger <aj@suse.de>
694
695 [BZ #13983]
696 * elf/ldconfig.c (parse_conf): Change string to make clear that
697 ldconfig only issued a warning if ld.so.conf does not exist.
698
dee4a4e3
DM
6992012-05-08 David S. Miller <davem@davemloft.net>
700
ee0db190
DM
701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
702 movxtod instead of popping the value on the stack.
703
dee4a4e3
DM
704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
705
6a43ec98
CD
7062012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
707
708 * config.h.in: Add HAVE_ARM_PCS_VFP.
709
05c2c961
RMG
7102012-05-08 Roland Mc Grath <roland@hack.frob.com>
711
bcfe3a54
ST
712 [BZ #13979]
713 * include/features.h: Warn if user requests __FORTIFY_SOURCE
714 checking but the checks are disabled for any reason.
05c2c961 715
4b30f61a
L
7162012-05-08 H.J. Lu <hongjiu.lu@intel.com>
717
718 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
719 and ELF64_R_TYPE with ELFW(R_TYPE).
720
eee2bc67
JM
7212012-05-08 Joseph Myers <joseph@codesourcery.com>
722
7ea5391a
JM
723 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
724 (ulimit): Likewise.
725
eee2bc67
JM
726 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
727 (settimeofday): Likewise.
728
abb66a67
MF
7292012-05-08 Mike Frysinger <vapier@gentoo.org>
730
731 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
732 a struct th_u2 inside the union, and move tu_block/tu_code into
733 a new th_u3 union of tu_block/tu_code inside of that. Move
734 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
735 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
736 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
737 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
738 (th_stuff): Change to th_u1.tu_stuff.
739 (th_data): Define.
740 (th_msg): Change to th_u1.th_u2.tu_data.
741
7f18b530
DM
7422012-05-07 David S. Miller <davem@davemloft.net>
743
05760585
DM
744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
745
7f18b530
DM
746 [BZ #14074]
747 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
748 (SETUP_PIC_REG): Use it.
749 (SETUP_PIC_REG_LEAF): Use it.
750
495fd99f
JM
7512012-05-07 Joseph Myers <joseph@codesourcery.com>
752
753 [BZ #13885]
754 [BZ #13923]
755 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
756 USE_AS_EXPM1L.
757 (EXPL_FINITE): Likewise.
758 (FLDLOG): Likewise.
759 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
760 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
761 e_expl.S.
762 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
763 USE_AS_EXPM1L.
764 (EXPL_FINITE): Likewise.
765 (FLDLOG): Likewise.
766 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
767 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
768 e_expl.S.
769 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
770 test of -max_value argument for long double.
771 * sysdeps/i386/fpu/libm-test-ulps: Update.
772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
773
6693d694
DM
7742012-05-06 David S. Miller <davem@davemloft.net>
775
776 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
777 quad soft-float symbols whose references which are compiler
778 generated.
779 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
780
6c23e11c
JM
7812012-05-06 Joseph Myers <joseph@codesourcery.com>
782
d8b82cad
JM
783 [BZ #13884]
784 [BZ #13914]
785 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
786 USE_AS_EXP10L.
787 (EXPL_FINITE): Likewise.
788 (FLDLOG): Likewise.
789 (c0): Likewise.
790 (c1): Likewise.
791 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
792 Adjust comments for base varying.
793 (__expl_finite): Change alias to EXPL_FINITE.
794 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
795 e_expl.S.
796 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
797 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
798 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
799 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
800 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
801 USE_AS_EXP10L.
802 (EXPL_FINITE): Likewise.
803 (FLDLOG): Likewise.
804 (c0): Likewise.
805 (c1): Likewise.
806 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
807 Adjust comments for base varying.
808 (__expl_finite): Change alias to EXPL_FINITE.
809 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
810 tests for bugs.
811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
812
6c23e11c
JM
813 [BZ #14064]
814 * math/libm-test.inc (check_float_internal): Correct ulp
815 calculation for subnormal expected results.
816
29ba805c
AJ
8172012-05-06 Andreas Jaeger <aj@suse.de>
818
819 * Makeconfig (+math-flags): New, set to -frounding-math.
820 (+cflags): Add +math-flags so that all of glibc gets compiled with
821 it.
822
823 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
824
7b17aeda
JM
8252012-05-05 Joseph Myers <joseph@codesourcery.com>
826
5779f134
JM
827 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
828 Disable one test.
829
41498f4d
JM
830 [BZ #13787]
831 [BZ #13922]
832 [BZ #14036]
833 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
834 (__ieee754_expl): Allow for and saturate large arguments.
835 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
836 (u_threshold): Likewise.
837 (__exp): Call __ieee754_exp before checking for overflow and
838 underflow.
839 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
840 (u_threshold): Likewise.
841 (__expf): Call __ieee754_expf before checking for overflow and
842 underflow.
843 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
844 (u_threshold): Likewise.
845 (__expl): Call __ieee754_expl before checking for overflow and
846 underflow.
847 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
848 (__ieee754_expl): Allow for and saturate large arguments.
849 * math/libm-test.inc (exp_test): Add another test. Do not allow
850 missing overflow exception on overflow.
851 (expm1_test): Do not allow missing overflow exception on overflow.
852
6698b8bf
JM
853 * sysdeps/i386/fpu/e_expl.c: Move to ...
854 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
855 rather than using inline asm.
856 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
857 * sysdeps/x86_64/fpu/e_expl.S: Copy from
858 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
859
7b17aeda
JM
860 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
861 (nice): Likewise.
862 (poll): Likewise.
863 (signal): Likewise.
864 (time): Likewise.
865 (times): Likewise.
866
f7c85819
JM
8672012-05-04 Joseph Myers <joseph@codesourcery.com>
868
869 * sysdeps/unix/syscalls.list (adjtime): Add entry from
870 sysdeps/unix/common/syscalls.list.
871 (fchmod): Likewise.
872 (fchown): Likewise.
873 (ftruncate): Likewise.
874 (getrusage): Likewise.
875 (gettimeofday): Likewise.
876 (setpgid): Likewise.
877 (setregid): Likewise.
878 (setreuid): Likewise.
879 (sigaction): Likewise.
880 (truncate): Likewise.
881 (vhangup): Likewise.
882 * sysdeps/unix/common/syscalls.list: Remove file.
883 * sysdeps/unix/bsd/Implies: Don't include unix/common.
884 * sysdeps/unix/sysv/linux/Implies: Likewise.
885
336270d0
L
8862012-05-04 H.J. Lu <hongjiu.lu@intel.com>
887
888 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
890 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
891 Moved to ...
892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
893 Here.
894 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
895 to ...
896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
897 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
898 to ...
899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
900 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
901 to ...
902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
903 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
904 to ...
905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
906 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
907 to ...
908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
909 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
910 to ...
911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
912 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
913 to ...
914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
915 Here.
916 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
917 to ...
918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
919 Here.
920 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
921 to ...
922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
923 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
924 Moved to ...
925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
926 Here.
927 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
928 to ...
929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
930
d128e450
JM
9312012-05-04 Joseph Myers <joseph@codesourcery.com>
932
fa8ee516
JM
933 * sysdeps/unix/common/bits/dirent.h: Remove file.
934 * sysdeps/unix/common/bits/fcntl.h: Likewise.
935
d128e450
JM
936 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
937 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
938 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
939 * sysdeps/unix/bsd/isatty.c: Likewise.
940 * sysdeps/unix/bsd/tcdrain.c: Likewise.
941 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
942 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
943
ff8faaf0 9442012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 945
62881be4 946 [BZ #13563]
31dc8730
AZ
947 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
948 long double comparison inaccuracies.
949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
951
6fef930c
AS
9522012-05-04 Andreas Schwab <schwab@linux-m68k.org>
953
954 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
956
8f203e6c
JM
9572012-05-04 Joseph Myers <joseph@codesourcery.com>
958
959 [BZ #14049]
960 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
961 nonzero digits before rounding a hex value.
962 * stdlib/tst-strtod.c (tests): Add another test.
963
5197d9c2
AK
9642012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
965
966 * sysdeps/s390/fpu/libm-test-ulps: Update.
967
f0c1dedf
AJ
9682012-05-03 Andreas Jaeger <aj@suse.de>
969
970 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
971 does not get optimized out.
972 (malloc_opt_barrier): New.
973
a65ef2ae 9742012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 975 Roland McGrath <roland@hack.frob.com>
a65ef2ae 976
2b942cb7 977 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 978 intermediate file deletion.
2b942cb7 979 (generated): Add .symlist files.
a65ef2ae 980
54b71e02
JM
9812012-05-03 Joseph Myers <joseph@codesourcery.com>
982
983 [BZ #13775]
984 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
985 Redirect under this condition.
986 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
987 [__USE_GNU] (__dprintf_chk): Not under this condition.
988 [__USE_GNU] (__vdprintf_chk): Likewise.
989 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
990 under this condition.
991 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
992 [__USE_XOPEN2K8] (dprintf): Define under this condition.
993 [__USE_XOPEN2K8] (vdprintf): Likewise.
994 [__USE_GNU] (__dprintf_chk): Not under this condition.
995 [__USE_GNU] (__vdprintf_chk): Likewise.
996 [__USE_GNU] (dprintf): Likewise.
997 [__USE_GNU] (vdprintf): Likewise.
998
d3dfcc41
RM
9992012-05-03 Roland McGrath <roland@hack.frob.com>
1000
1001 * elf/Makefile (common-generated): Set this instead of generated for
1002 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1003 $(all-built-dso)-derived lists.
1004
7ac30cc5
AJ
10052012-05-03 Andreas Jaeger <aj@suse.de>
1006
0c51e550
AJ
1007 * sysdeps/i386/fpu/libm-test-ulps: Update.
1008
7ac30cc5
AJ
1009 * FAQ: Removed.
1010 * FAQ.in: Likewise.
1011 * scripts/gen-FAQ.pl: Likewise.
1012 * manual/install.texi (Installation): Point to online location of
1013 FAQ.
1014 * Makefile (files-for-dist): Remove FAQ.
1015 (FAQ): Remove.
1016
d4c2917f
AM
10172012-05-02 Allan McRae <allan@archlinux.org>
1018
1019 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1020 (LDFLAGS-reldepmod5.so): Likewise.
1021 (LDFLAGS-reldep6mod1.so): Likewise.
1022 (LDFLAGS-reldep6mod4.so): Likewise.
1023 (LDFLAGS-reldep8mod3.so): Likewise.
1024 (LDFLAGS-unload4mod1.so): Likewise.
1025 (LDFLAGS-unload4mod2.so): Likewise.
1026 (LDFLAGS-tst-initorder): Likewise.
1027 (LDFLAGS-tst-initordera2.so): Likewise.
1028 (LDFLAGS-tst-initordera3.so): Likewise.
1029 (LDFLAGS-tst-initordera4.so): Likewise.
1030 (LDFLAGS-tst-initorderb2.so): Likewise.
1031 (LDFLAGS-noload): Likewise.
1032 (LDFLAGS-next): Likewise.
1033 (LDFLAGS-order2mod1.so): Likewise.
1034 (LDFLAGS-order2mod2.so): Likewise.
1035 (LDFLAGS-tst-initorder2): Likewise.
1036 (LDFLAGS-tst-initorder2a.so): Likewise.
1037 (LDFLAGS-tst-initorder2b.so): Likewise.
1038 (LDFLAGS-tst-initorder2c.so): Likewise.
1039 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1040
d77f993f
DM
10412012-05-02 David S. Miller <davem@davemloft.net>
1042
1043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1044
171a70b4
PP
10452012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1046
1047 [BZ #14055]
1048 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1049
0be196ad
AJ
10502012-05-02 Andreas Jaeger <aj@suse.de>
1051
1052 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1053 since we manipulate rounding mode.
1054 (CPPFLAGS-test-idouble.c): Likewise.
1055 (CPPFLAGS-test-ifloat.c): Likewise.
1056 (CFLAGS-test-ldouble.c): Likewise.
1057 (CFLAGS-test-double.c): Likewise.
1058 (CFLAGS-test-float.c): Likewise.
1059 (CFLAGS-test-misc.c): Likewise.
1060 (CFLAGS-test-test-fenv.c): Likewise.
1061
4f9d04aa
AZ
10622012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1063
2b942cb7
RM
1064 [BZ #2550]
1065 [BZ #2570]
1066 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1067 comparisons to determine direction to adjust input.
4f9d04aa 1068
82a79e7d
RM
10692012-05-01 Roland McGrath <roland@hack.frob.com>
1070
f5a01ca9
RM
1071 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1072 output to the target.
1073
90fe4186
RM
1074 * scripts/localplt.awk: New file.
1075 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1076 (check-localplt-CFLAGS): Variable removed.
1077 ($(all-built-dso:=.jmprel)): New static pattern rule.
1078 (generated): Add those targets.
1079 (localplt-built-dso): New variable.
1080 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1081
1082 * elf/check-localplt.c: File removed.
1083
82397ed6
RM
1084 * scripts/check-execstack.awk: New file.
1085 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1086 (check-execstack-CFLAGS): Variable removed.
1087 ($(objpfx)check-execstack.h): Target removed.
1088 ($(objpfx)execstack-default): New target.
1089 (generated): Add that instead of check-execstack.h.
1090 ($(all-built-dso:=.phdr)): New static pattern rule.
1091 (generated): Add those targets.
1092 * elf/check-execstack.c: File removed.
1093
82a79e7d
RM
1094 * scripts/check-textrel.awk: New file.
1095 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1096 (check-textrel-CFLAGS): Variable removed.
1097 (all-built-dso): Use := to define.o
1098 ($(all-built-dso:=.dyn)): New static pattern rule.
1099 (generated): Add those targets.
1100 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1101 * config.make.in (READELF): New substituted variable.
1102 * elf/check-textrel.c: File removed.
1103
62fde54f 11042012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1105
615605c9
JM
1106 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1107 allow.
1108 * conform/data/ctype.h-data [C99-based standards] (isblank):
1109 Expect function.
1110 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1111 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1112 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1113 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1114 Specify type. Require positive value.
1115 (EILSEQ): Likewise.
1116 (ERANGE): Likewise.
1117 [ISO || POSIX] (EILSEQ): Do not expect.
1118 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1119 Specify type. Require positive value.
1120 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1121 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1122 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1123 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1124 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1125 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1126 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1127 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1128 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1129 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1130 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1131 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1132 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1133 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1134 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1135 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1136 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1137 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1138 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1139 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1140 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1141 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1142 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1143 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1144 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1145 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1146 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1147 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1148 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1149 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1150 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1151 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1152 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1153 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1154 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1155 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1156 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1157 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1158 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1159 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1160 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1161 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1162 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1163 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1164 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1165 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1166 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1167 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1168 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1169 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1170 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1171 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1172 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1173 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1174 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1175 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1176 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1177 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1178 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1179 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1180 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1181 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1182 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1183 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1184 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1185 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1186 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1187 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1188 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1189 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1190 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1191 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1192 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1193 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1194 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1195 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1196 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1197 Require >= 2.
1198 (FLT_ROUNDS): Expect as macro, not constant.
1199 (FLT_MANT_DIG): Use macro-int-constant.
1200 (DBL_MANT_DIG): Likewise.
1201 (LDBL_MANT_DIG): Likewise.
1202 (FLT_DIG): Likewise.
1203 (DBL_DIG): Likewise.
1204 (LDBL_DIG): Likewise.
1205 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1206 (DBL_MIN_EXP): Likewise.
1207 (LDBL_MIN_EXP): Likewise.
1208 (FLT_MAX_EXP): Use macro-int-constant.
1209 (DBL_MAX_EXP): Likewise.
1210 (LDBL_MAX_EXP): Likewise.
1211 (FLT_MAX_10_EXP): Likewise.
1212 (DBL_MAX_10_EXP): Likewise.
1213 (LDBL_MAX_10_EXP): Likewise.
1214 (FLT_MAX): Use macro-constant.
1215 (DBL_MAX): Likewise.
1216 (LDBL_MAX): Likewise.
1217 (FLT_EPSILON): Use macro-constant. Give upper bound.
1218 (DBL_EPSILON): Likewise.
1219 (LDBL_EPSILON): Likewise.
1220 (FLT_MIN): Likewise.
1221 (DBL_MIN): Likewise.
1222 (LDBL_MIN): Likewise.
1223 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1224 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1225 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1226 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1227 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1228 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1229 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1230 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1231 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1232 [ISO11] (FLT_TRUE_MIN): Likewise.
1233 [ISO11] (LDBL_TRUE_MIN): Likewise.
1234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1235 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1236 (SCHAR_MIN): Use macro-int-constant. Specify type.
1237 (SCHAR_MAX): Likewise.
1238 (UCHAR_MAX): Likewise.
1239 (CHAR_MIN): Likewise.
1240 (CHAR_MAX): Likewise.
1241 (MB_LEN_MAX): Use macro-int-constant.
1242 (SHRT_MIN): Use macro-int-constant. Specify type.
1243 (SHRT_MAX): Likewise.
1244 (USHRT_MAX): Likewise.
1245 (INT_MAX): Likewise.
1246 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1247 bound negative.
1248 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1249 bound with "U".
1250 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1251 bound with "L".
1252 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1253 bound negative. Suffix upper bound with "L".
1254 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1255 bound with "UL".
1256 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1257 Specify type.
1258 [C99-based standards] (LLONG_MAX): Likewise.
1259 [C99-based standards] (ULLONG_MAX): Likewise.
1260 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1261 == 0.
1262 [ISO11] (max_align_t): Require type.
1263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1264
c9140a62
JM
1265 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1266 from $CFLAGS, without defining away __attribute__ calls.
1267 (checknamespace): Use $CFLAGS_namespace.
1268
9af0bf29
JM
1269 * conform/conformtest.pl (@keywords): Only include C99 keywords
1270 for standards based on C99 or C11.
1271
343222a2
JM
1272 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1273 Disable tests.
1274 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1275 UNIX98]: Likewise.
1276
661f8cf0
JM
1277 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1278 usability of symbols in #if.
1279
ee74b9cb
JM
1280 * conform/conformtest.pl: If macro or constant types start
1281 "promoted:", expect the symbol to be of the following type
1282 promoted by the integer promotions.
62fde54f 1283
aafc49b3
JM
1284 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1285 in one place. Also handle "macro-constant".
1286
fefdf574
JM
1287 * conform/conformtest.pl: Only accept expected macro values with
1288 "==". Parse all "macro" lines in one place.
1289 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1290
f2d922fe
JM
1291 * conform/conformtest.pl: Handle braced types on "constant" lines
1292 instead of handling "typed-constant".
1293 * conform/data/signal.h-data: Use "constant" instead of
1294 "typed-constant".
1295
d22956c9
JM
1296 * conform/conformtest.pl: Handle "optional-" at start of lines in
1297 one place rather than duplicating several cases. Handle each
1298 format of "macro" line with initial "optional-".
1299
028e2e38
JM
1300 * conform/conformtest.pl: Only accept expected constant or
1301 optional-constant values with "==". Parse all "constant" lines in
1302 one place. Parse all "optional-constant" lines in one place.
1303 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1304 * conform/data/fmtmsg.h-data: Likewise.
1305 * conform/data/netinet/in.h-data: Likewise.
1306 * conform/data/tar.h-data: Likewise.
1307 * conform/data/limits.h-data: Use "==" form on "constant" and
1308 "optional-constant" lines.
1309
1b8f2850
JM
1310 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1311 Use -std=c99 for XOPEN2K.
1312 (@knownproblems): Remove.
1313 (newtoken): Don't check %isknown.
1314
a05a144b
JM
1315 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1316 Do not expect macro.
1317 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1329 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1330 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1331 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1332 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1336 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1347 [XPG3] (acosh): Likewise.
1348 [XPG3] (asinh): Likewise.
1349 [XPG3] (atanh): Likewise.
1350 [XPG3] (cbrt): Likewise.
1351 [XPG3] (expm1): Likewise.
1352 [XPG3] (ilogb): Likewise.
1353 [XPG3] (log1p): Likewise.
1354 [XPG3] (logb): Likewise.
1355 [XPG3] (nextafter): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1358 [XPG3] (remainder): Likewise.
1359 [XPG3] (rint): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1364 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1365 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1366 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1367 [UNIX98 || XOPEN2K] (scalb): Expect.
1368 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1369 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1370 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1371 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1372 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1373 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1374 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1375 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1376 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1378 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1379 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1380 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1381 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1382 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1383 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1384 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1385 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1386 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1387 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1388 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1389 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1390 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1391 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1392 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1393 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1394 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1395 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1396 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1397 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1398 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1399 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1400 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1401 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1402 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1403 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1404 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1405 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1406 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1407 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1408 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1409 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1410 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1411 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1412 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1413 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1414 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1415 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1416 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1417 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1418 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1419 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1420 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1421 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1422 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1423 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1424 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1425 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1426 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1427 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1428 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1429 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1430 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1431 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1432 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1433 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1434 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1435 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1436 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1437 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1438 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1439 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1440 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1441 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1442 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1443 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1444 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1445 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1446 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1447 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1448 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1449 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1450 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1451 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1452 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1453 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1454 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1455 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1456 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1457 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1458 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1459 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1460 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1461 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1462 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1463 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1464 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1465 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1466 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1467 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1468 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1469 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1470 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1471 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1472 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1473 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1474 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1475 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1476 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1477 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1478 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1479 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1480 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1481 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1482 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1483 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1484 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1485 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1486 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1487 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1488 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1489 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1490 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1491 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1492 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1493 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1494 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1495 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1496 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1497 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1498 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1499 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1500 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1501 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1502 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1503 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1504 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1505
73c5ebe3
JM
1506 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1507 _XOPEN_SOURCE_EXTENDED for XPG4.
1508
39c33b6c
JM
1509 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1510
62fde54f
JM
1511 * Makeconfig (localtime): Remove variable.
1512 (inst_localtime-file): Likewise.
1513
0741d64c
AS
15142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1515
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1517 Update.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1519 Update.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1521 Update.
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1523 Update.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1525 Update.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1527 Update.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1529 Update.
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1531 Update.
1532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1533 Update.
1534
7cb029ee
JM
15352012-05-01 Joseph Myers <joseph@codesourcery.com>
1536
1537 [BZ #2550]
1538 [BZ #2570]
1539 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1540 comparisons to determine direction to adjust input.
1541 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1542 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1543 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1544 Likewise.
1545 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1546 Likewise.
1547 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1548 Likewise.
1549 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1550 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1551 Likewise.
1552 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1553 Likewise.
1554 * math/libm-test.inc (nexttoward_test): Add more tests.
1555
412bd966
AS
15562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1557
1558 [BZ #14040]
1559 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1560 in version GLIBC_2.1, not GLIBC_2.0.
1561 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1562 Likewise.
1563
9568c0c2
JM
15642012-04-30 Joseph Myers <joseph@codesourcery.com>
1565
adfbc8ac
JM
1566 [BZ #13942]
1567 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1568 (1 - x) * (1 + x).
1569 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1570 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1571 * math/libm-test.inc (acos_test): Add more tests.
1572 (asin_test): Likewise.
1573 * sysdeps/i386/fpu/libm-test-ulps: Update.
1574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1575
5ba3cc69
JM
1576 [BZ #14034]
1577 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1578 of square root.
1579 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1580 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1581 * math/libm-test.inc (acos_test_tonearest): New function.
1582 (acos_test_towardzero): Likewise.
1583 (acos_test_downward): Likewise.
1584 (acos_test_upward): Likewise.
1585 (asin_test_tonearest): Likewise.
1586 (asin_test_towardzero): Likewise.
1587 (asin_test_downward): Likewise.
1588 (asin_test_upward): Likewise.
1589 (main): Call the new functions.
1590 * sysdeps/i386/fpu/libm-test-ulps: Update.
1591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1592
9568c0c2
JM
1593 [BZ #13884]
1594 [BZ #13924]
1595 * math/e_exp10.c: Include <float.h>.
1596 (__ieee754_exp10): Handle underflow here rather than multiplying
1597 large negative argument by M_LN10.
1598 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1599 of __ieee754_expf.
1600 * math/e_exp10l.c: Include <float.h>.
1601 (__ieee754_exp10l): Handle underflow here rather than multiplying
1602 large negative argument by M_LN10l.
1603 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1604 spurious overflow exception on underflow.
1605
5ac3ea17
MP
16062012-04-29 Marek Polacek <polacek@redhat.com>
1607
1608 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1609 (__fortify_function): New macro.
1610 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1611 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1612 __extern_always_inline.
1613 * libio/bits/stdio2.h: Likewise.
1614 * libio/bits/stdio.h: Likewise.
1615 * string/string.h: Likewise.
1616 * string/bits/string3.h: Likewise.
1617 * include/stdio.h: Likewise.
1618 * stdlib/bits/stdlib.h: Likewise.
1619 * stdlib/stdlib.h: Likewise.
1620 * rt/bits/mqueue2.h: Likewise.
1621 * rt/mqueue.h: Likewise.
1622 * posix/bits/unistd.h: Likewise.
1623 * posix/unistd.h: Likewise.
1624 * io/bits/poll2.h: Likewise.
1625 * io/bits/fcntl2.h: Likewise.
1626 * io/fcntl.h: Likewise.
1627 * io/sys/poll.h: Likewise.
1628 * misc/bits/syslog.h: Likewise.
1629 * misc/bits/syslog-ldbl.h: Likewise.
1630 * misc/sys/syslog.h: Likewise.
1631 * socket/bits/socket2.h: Likewise.
1632 * socket/sys/socket.h: Likewise.
1633 * debug/tst-chk1.c: Likewise.
1634 * wcsmbs/bits/wchar2.h: Likewise.
1635 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1636 * wcsmbs/wchar.h: Likewise.
1637
ecf0ebfb
AJ
16382012-04-29 Andreas Jaeger <aj@suse.de>
1639
1640 * Makerules (tests): Remove enable-check-abi protection.
1641 (check-abi-warn): Remove.
1642 (check-abi-%): Remove check-abi-warn usage.
1643
1644 * configure.in: Remove check-abi configure option.
1645 * configure: Regenerated.
1646 * config.make.in (enable-check-abi): Remove.
1647
6d5c57fa
AS
16482012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1649
24c5d07e 1650 [BZ #14033]
ded5180a
AS
1651 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1652 double functions to double *_finite functions.
1653
7e0d315d
AS
1654 [BZ #13941]
1655 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1656 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1657 LDBL_MIN_EXP.
1658 * stdio-common/Makefile (tests): Add tst-sprintf3.
1659 * stdio-common/tst-sprintf3.c: New file.
1660
6d5c57fa
AS
1661 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1662 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1663
0749ff8b
JM
16642012-04-28 Joseph Myers <joseph@codesourcery.com>
1665
1666 * conform/conformtest.pl: Remove duplicate typed-constant
1667 handling.
1668
8dbd5d7b
DM
16692012-04-28 David S. Miller <davem@davemloft.net>
1670
1671 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1672 (check-abi-%): Remove AWK script prerequisite and explicit
1673 abilist directory.
1674 (check-abi): Rewrite to just diff the symlist with the abilist.
1675 (config-tls, config-abi-config): Delete, no longer used.
1676 (update-abi-%): Remove AWK script and explicit abilist directory.
1677 (update-abi): Rewrite to simply compare and conditionally copy the
1678 symlist and the sysdep abilist file. Remove update-abi-config
1679 checks.
1680 * abilist/ld.abilist: Remove.
1681 * abilist/libBrokenLocale.abilist: Remove.
1682 * abilist/libanl.abilist: Remove.
1683 * abilist/libcrypt.abilist: Remove.
1684 * abilist/libdl.abilist: Remove.
1685 * abilist/librt.abilist: Remove.
1686 * abilist/libthread_db.abilist: Remove.
1687 * abilist/libutil.abilist: Remove.
1688 * scripts/extract-abilist.awk: Remove.
1689 * scripts/merge-abilist.awk: Remove.
1690 * sysdeps/generic/libcidn.abilist: New file.
1691 * sysdeps/generic/libnss_compat.abilist: New file.
1692 * sysdeps/generic/libnss_db.abilist: New file.
1693 * sysdeps/generic/libnss_dns.abilist: New file.
1694 * sysdeps/generic/libnss_files.abilist: New file.
1695 * sysdeps/generic/libnss_hesiod.abilist: New file.
1696 * sysdeps/generic/libnss_nis.abilist: New file.
1697 * sysdeps/generic/libnss_nisplus.abilist: New file.
1698 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1699 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1700 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1701 file.
1702 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1703 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1704 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1705 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1706 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1707 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1708 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1709 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1710 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1711 file.
1712 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1713 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1714 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1715 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1716 file.
1717 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1718 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1719 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1720 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1721 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1722 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1723 file.
1724 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1725 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1726 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1727 file.
1728 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1730 New file.
1731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1732 New file.
1733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1734 New file.
1735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1736 New file.
1737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1738 New file.
1739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1740 New file.
1741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1742 New file.
1743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1744 New file.
1745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1746 New file.
1747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1748 New file.
1749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1750 New file.
1751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1752 New file.
1753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1754 New file.
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1756 file.
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1758 New file.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1760 New file.
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1762 file.
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1764 New file.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1766 New file.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1768 file.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1770 New file.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1772 New file.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1774 New file.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1776 New file.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1778 New file.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1780 New file.
1781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1783 file.
1784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1785 New file.
1786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1787 file.
1788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1789 file.
1790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1791 file.
1792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1793 file.
1794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1795 file.
1796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1797 New file.
1798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1799 file.
1800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1801 file.
1802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1803 New file.
1804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1805 file.
1806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1808 file.
1809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1810 New file.
1811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1812 file.
1813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1814 file.
1815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1816 file.
1817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1818 file.
1819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1820 file.
1821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1822 New file.
1823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1824 file.
1825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1826 file.
1827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1828 New file.
1829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1830 file.
1831 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1832 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1833 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1834 file.
1835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1836 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1837 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1838 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1839 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1840 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1841 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1842 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1843 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1844 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1847 file.
1848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1849 New file.
1850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1851 file.
1852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1853 file.
1854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1855 file.
1856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1857 file.
1858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1859 file.
1860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1861 New file.
1862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1863 New file.
1864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1865 file.
1866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1867 New file.
1868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1869 file.
1870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1872 file.
1873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1874 New file.
1875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1876 file.
1877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1878 file.
1879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1880 file.
1881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1882 file.
1883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1884 file.
1885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1886 New file.
1887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1888 New file.
1889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1890 file.
1891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1892 New file.
1893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1894 file.
1895
41d73a1b
JM
18962012-04-28 Joseph Myers <joseph@codesourcery.com>
1897
1898 * conform/conformtest.pl: Fix typo in handling typed-constant from
1899 allow-header.
1900
28aeeda4
JM
19012012-04-27 Joseph Myers <joseph@codesourcery.com>
1902
adae8f5e
JM
1903 * README: Cut down references to pre-2.6 Linux kernels and
1904 Linuxthreads. Update lists of configurations in libc and ports
1905 and sort alphabetically. Say "or newer" with Linux kernel version
1906 requirements.
1907
28aeeda4
JM
1908 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1909
a462cb63
RA
19102012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1911
1912 [BZ #887]
1913 * math/libm-test.inc (logb_test_downward): New test to expose
1914 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1915 rounding mode.
1916
6ad3493e
JM
19172012-04-27 Joseph Myers <joseph@codesourcery.com>
1918
1919 [BZ #14027]
1920 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1921 to be done.
1922 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1923 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1924
2ce4f015
JM
19252012-04-26 Joseph Myers <joseph@codesourcery.com>
1926
5aeb141a
JM
1927 * sysdeps/unix/i386/brk.S: Remove file.
1928 * sysdeps/unix/i386/dl-brk.S: Likewise.
1929 * sysdeps/unix/i386/pipe.S: Likewise.
1930 * sysdeps/unix/i386/sigreturn.S: Likewise.
1931 * sysdeps/unix/i386/syscall.S: Likewise.
1932 * sysdeps/unix/i386/vfork.S: Likewise.
1933 * sysdeps/unix/i386/wait.S: Likewise.
1934
7143acae
JM
1935 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1936 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1937
2ce4f015
JM
1938 * configure.in (arm*-none*): Do not allow without
1939 --enable-hacker-mode.
1940 (netbsd*): Remove case setting base_os.
1941 (386bsd*): Likewise.
1942 (freebsd*): Likewise.
1943 (bsdi*): Likewise.
1944 (osf*): Likewise.
1945 (sunos*): Likewise.
1946 (ultrix*): Likewise.
1947 (newsos*): Likewise.
1948 (dynix*): Likewise.
1949 (*bsd*): Likewise.
1950 (sysv*): Likewise.
1951 (isc*): Likewise.
1952 (esix*): Likewise.
1953 (sco*): Likewise.
1954 (minix*): Likewise.
1955 (irix4*): Likewise.
1956 (irix6*): Likewise.
1957 (solaris[2-9]*): Likewise.
1958 (none): Likewise.
1959 * configure: Regenerated.
1960
0ac229c8
AZ
19612012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1962
1963 [BZ #11521]
1964 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1965 overflow or cancellation in calculating denominator.
1966 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1967 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1968 down expression to avoid unexpected rounding in newer GCCs.
1969 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1970
33f244f4
DM
19712012-04-26 David S. Miller <davem@davemloft.net>
1972
1973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1974 long-double compat symbols.
1975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1988
cfa1f3e8
DM
19892012-04-25 David S. Miller <davem@davemloft.net>
1990
1991 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1992 HWCAP_* values only after the memory barriers have been defined.
1993 (atomic_full_barrier): Define.
1994 (atomic_read_barrier): Define.
1995 (atomic_write_barrier): Define.
1996
6e236b92
SP
19972012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1998
1999 * shlib-versions: Add libgcc_s version information.
2000 * sysdeps/generic/libgcc_s.h: Remove.
2001 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2002 libgcc_s.h.
2003 * sysdeps/gnu/unwind-resume.c: Likewise.
2004 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2005
aab39a09
DM
20062012-04-25 David S. Miller <davem@davemloft.net>
2007
2008 * sysdeps/unix/sparc/brk.S: Delete.
2009 * sysdeps/unix/sparc/dl-brk.S: Delete.
2010 * sysdeps/unix/sparc/pipe.S: Delete.
2011 * sysdeps/unix/sparc/sysdep.S: Delete.
2012 * sysdeps/unix/sparc/sysdep.h: Delete.
2013 * sysdeps/unix/sparc/vfork.S: Delete.
2014 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2015 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2016 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2017 ret_ERRVAL, r0, r1, MOVE): Define.
2018 (JUMPTARGET): Remove.
2019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2020 sysdeps/unix/sparc/sysdep.h
2021 (ENTRY, END): Remove.
2022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2023
a3cc4f48
JM
20242012-04-25 Joseph Myers <joseph@codesourcery.com>
2025
2ed8cda2
JM
2026 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2027 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2028 -DIS_IN_build.
2029
35d76d59
JM
2030 * timezone/README: Update upstream location and email address for
2031 tzcode and tzdata.
2032 * timezone/zdump.c: Update from tzcode 2012b.
2033 * timezone/zic.c: Likewise.
2034
a3cc4f48
JM
2035 * configure.in (libc_cv_as_needed): Remove test.
2036 * configure: Regenerated.
2037 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2038 conditional definition.
2039 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2040 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2041 * config.make.in (have-as-needed): Remove variable.
2042
ceab42c3
SP
20432012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2044 Paul Pluzhnikov <ppluzhnikov@google.com>
2045
2046 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2047 strings correctly.
2048
3ce2865f
CLT
20492012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2050
2051 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2052 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2053 * sysdeps/sh/strlen.S: Likewise.
2054
f37e0d68
JM
20552012-04-24 Joseph Myers <joseph@codesourcery.com>
2056
ae186e9a
JM
2057 * sysdeps/unix/fork.S: Remove file.
2058 * sysdeps/unix/i386/fork.S: Likewise.
2059 * sysdeps/unix/sparc/fork.S: Likewise.
2060
b96914af
JM
2061 * sysdeps/unix/system.c: Remove file.
2062 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2063
f37e0d68
JM
2064 * sysdeps/unix/getegid.S: Remove file.
2065 * sysdeps/unix/geteuid.S: Likewise.
2066
87ef29ca
RM
20672012-04-24 Roland McGrath <roland@hack.frob.com>
2068
83bcd236
RM
2069 * scripts/check-localplt.awk: New file.
2070 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2071 of diff.
2072 * scripts/data/localplt-generic.data: Add a comment.
2073
87ef29ca
RM
2074 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2075 NODE when __dir_mkfile failed.
2076 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2077 Reported by Ludovic Courtès <ludo@gnu.org>.
2078
e5a6e567
AJ
20792012-04-24 Andreas Jaeger <aj@suse.de>
2080
2081 * Makerules (common-clean): Also remove gen-as-const-headers
2082 files.
2083
c1820385
JM
20842012-04-24 Joseph Myers <joseph@codesourcery.com>
2085
2086 * Makerules (native-compile): Do not change working directory for
2087 build. Use $(OUTPUT_OPTION) in command.
2088 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2089
94e02fc4
AZ
20902012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2091
2092 [BZ #13886]
2093 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2094 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2095 * math/libm-test.inc (floor_test): Add more tests.
2096 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2097
3a533ca3
JM
20982012-04-24 Joseph Myers <joseph@codesourcery.com>
2099
940ab4b3
JM
2100 * sysdeps/unix/getdents.c: Remove file.
2101 * sysdeps/unix/sysv/getdents.c: Likewise.
2102 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2103
90e037bd
JM
2104 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2105 sysdeps/unix/mman/syscalls.list.
2106 (mmap): Likewise.
2107 (mprotect): Likewise.
2108 (msync): Likewise.
2109 (munmap): Likewise.
2110 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2111 * sysdeps/unix/mman/syscalls.list: Remove.
2112 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2113
3a533ca3
JM
2114 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2115 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2116 * configure: Regenerated.
2117 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2118 $(libgcc_s_suffix).
2119 * config.make.in (libgcc_s_suffix): Remove variable.
2120
1ad743de
JM
21212012-04-23 Joseph Myers <joseph@codesourcery.com>
2122
4ad451e2
JM
2123 * sysdeps/unix/sysv/gethostname.c: Move to ...
2124 * sysdeps/posix/gethostname.c: ... here.
2125
5e37ce39
JM
2126 * sysdeps/unix/execve.S: Remove file.
2127
1ad743de
JM
2128 * sysdeps/unix/_exit.S: Remove file.
2129
4e681b5b
AJ
21302012-04-23 Andreas Jaeger <aj@suse.de>
2131
2132 [BZ #13739]
2133 * manual/Makefile: Remove make dist support, there's no
2134 need for a stand-alone documentation tar ball.
2135 (TEXI2DVI): Define always, it's not in Makeconfig.
2136 (dist): Removed.
2137 (tar-it): Removed.
2138 (edition): Removed.
2139 (glibc-doc-$(edition).tar): Removed
2140 (%.Z): Removed.
2141 (%.gz): Removed.
2142 (%.uu): Removed.
2143 (ETAGS): Remove, it's in Makeconfig.
2144 (move-if-change): Remove, it's in Makeconfig.
2145
c0baea34
PE
21462013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2147
2148 [BZ #13970]
2149 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2150 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2151 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2152 (strtod_l, strtof_l, strtold_l): Remove __wur.
2153 It is not necessarily an error to ignore strtol's return value.
2154 One can reliably look at the stored endptr to decide whether
2155 the number had valid syntax.
2156
7c0616fa
AJ
21572012-04-21 Andreas Jaeger <aj@suse.de>
2158
803cb6b7 2159 [BZ #13739]
7c0616fa
AJ
2160 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2161
b0fe253f
JM
21622012-04-21 Joseph Myers <joseph@codesourcery.com>
2163
2164 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2165 * sysdeps/unix/sysv/Versions: Remove file.
2166
8280f22d
MT
21672012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2168
2169 [BZ #13927]
2170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2171
75ce411f 21722012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2173
2174 [BZ #7064]
2175 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2176 version from __vm86.
2177
097d59fa
JM
21782012-04-20 Joseph Myers <joseph@codesourcery.com>
2179
a90f3bcb
JM
2180 * sysdeps/unix/common/lxstat.c: Remove file.
2181 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2182
edc7ea78
JM
2183 * sysdeps/unix/sysv/Makefile: Remove file.
2184
cb78c221
JM
2185 * sysdeps/unix/sysv/direct.h: Remove file.
2186
efa6a45f
JM
2187 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2188 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2189 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2190 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2191 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2192 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2193 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2194
9c9f2d0c
JM
2195 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2196
4541c83b
JM
2197 * sysdeps/unix/xmknod.c: Remove file.
2198 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2199
f5d153a0
JM
2200 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2201
aa746595
JM
2202 * sysdeps/unix/sysv/i386/time.S: Remove file.
2203
cce5905e
JM
2204 * sysdeps/unix/fxstat.c: Remove file.
2205 * sysdeps/unix/xstat.c: Likewise.
2206 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2207
37fa3841
JM
2208 * sysdeps/unix/sysv/sigaction.c: Remove file.
2209
ff1962a3
JM
2210 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2211 (sysdep_headers): Remove variable.
2212 [termio.h not in sysdep_headers] (generated): Likewise.
2213 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2214 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2215 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2216 * sysdeps/unix/sysv/tcflow.c: Likewise.
2217 * sysdeps/unix/sysv/tcflush.c: Likewise.
2218 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2219 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2220 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2221 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2222 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2223
e7740d31
JM
2224 * sysdeps/unix/siglist.c: Remove file.
2225
ee06f18b
JM
2226 * sysdeps/unix/getppid.S: Remove file.
2227
097d59fa
JM
2228 * sysdeps/unix/mkdir.c: Remove file.
2229 * sysdeps/unix/rmdir.c: Likewise.
2230
ff3d51ec
AS
22312012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2232
2233 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2234 ERR_MAX value.
2235 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2236 errlist-compat value.
2237
50f81fd7
DM
22382012-04-18 David S. Miller <davem@davemloft.net>
2239
2240 * sysdeps/generic/memcopy.h (reg_char): Delete.
2241 * debug/strcat_chk.c: Use char, not reg_char.
2242 * debug/strcpy_chk.c: Likewise.
2243 * debug/strncat_chk.c: Likewise.
2244 * debug/strncpy_chk.c: Likewise.
2245 * string/memchr.c: Likewise.
2246 * string/memrchr.c: Likewise.
2247 * string/rawmemchr.c: Likewise.
2248 * string/strcat.c: Likewise.
2249 * string/strchr.c: Likewise.
2250 * string/strchrnul.c: Likewise.
2251 * string/strcmp.c: Likewise.
2252 * string/strcpy.c: Likewise.
2253 * string/strncat.c: Likewise.
2254 * string/strncmp.c: Likewise.
2255 * string/strncpy.c: Likewise.
2256
8ff41c46
WS
22572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2258
2259 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2260 __builtin_memcopy is called when src and dest ranges are known to not
2261 overlap.
2262
6b652f46
WS
22632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2264
2265 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2266 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2267 fwd_align_merge macro call.
2268 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2269 bwd_align_merge macro call.
2270 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2271
b282631e
WS
22722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2273
2274 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2275 bwd_align_merge macros.
2276 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2277 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2278 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2279
95aa737c
DM
22802012-04-18 David S. Miller <davem@davemloft.net>
2281
2282 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2283
7a99a614
AJ
22842012-04-18 Andreas Jaeger <aj@suse.de>
2285
2286 [BZ# 6794]
2287 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2288 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2289 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2290
2291 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2292 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2293 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2294
2295 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2296 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2297 Adjust for changed ldbl-128 files.
2298
2299 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2300 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2301 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2302
e5270c23
DM
23032012-04-17 David S. Miller <davem@davemloft.net>
2304
2305 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2306
fb5e92c9
AS
23072012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2308
2309 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2310 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2311 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2312 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2313 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2314 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2315
76da7265
AZ
23162012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2317
2318 [BZ #6794]
2319 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2320 * math/libm-test.inc: Add ilogb errno and exception tests.
2321 * math/w_ilogb.c: New file: ilogb wrapper.
2322 * math/w_ilogbf.c: New file: ilogbf wrapper.
2323 * math/w_ilogbl.c: New file: ilogbl wrapper.
2324 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2325 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2326 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2327 exception being thrown with 0.0 as argument.
2328 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2329 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2330 exception being thrown with 0.0 as argument.
2331 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2332 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2333 exception being thrown with 0.0 as argument.
2334 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2335 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2336 exception being thrown with 0.0 as argument.
2337 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2338 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2339 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2340 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2342 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2343 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2344 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2345 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2346
0396e69d
PB
23472012-04-17 Petr Baudis <pasky@ucw.cz>
2348
2349 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2350 with altivec.
2351
750b5926
MP
23522012-04-16 Marek Polacek <polacek@redhat.com>
2353
2354 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2355
751728a1
MP
23562012-04-16 Marek Polacek <polacek@redhat.com>
2357
2358 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2359 operands of fdivp instruction.
2360
34a27407
L
23612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2362
2363 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2364 * elf/tst-auditmod3b.c: Likewise.
2365 * elf/tst-auditmod4b.c: Likewise.
2366 * elf/tst-auditmod5b.c: Likewise.
2367 * elf/tst-auditmod6b.c: Likewise.
2368 * elf/tst-auditmod6c.c: Likewise.
2369 * elf/tst-auditmod7b.c: Likewise.
2370 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2371 * sysdeps/x86_64/preconfigure.in: Likewise.
2372 * sysdeps/x86_64/preconfigure: Regenerated.
2373
7e73e17d
L
23742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2375
2376 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2377 __ILP32__.
2378
c7a6ab72
AB
23792012-04-13 Antoine Balestrat <merkil33@gmail.com>
2380
2381 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2382 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2383
a9e8e0e0
CL
23842012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2385
2386 [BZ #13973]
2387 * locale/iso-639.def: Fix gl language name. Spotted by
2388 Yaron Shahrabani.
2389
ec98af7d
RM
23902012-04-12 Roland McGrath <roland@hack.frob.com>
2391
2392 [BZ #2074]
2393 * libio/libio.h (__io_write_fn): Update comment.
2394
247c3ede
PB
23952012-04-12 Petr Baudis <pasky@ucw.cz>
2396
2397 [BZ #2074]
2398 * stdio.texi (Hook Functions): The user provided writer function
2399 is not allowed to return -1.
2400
55939d6d
DM
24012012-04-11 David S. Miller <davem@davemloft.net>
2402
2403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2404
90020f5a
MF
24052012-04-11 Mike Frysinger <vapier@gentoo.org>
2406
2407 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2408 Add a leading slash to rtkaio.
2409
288f9098
JM
24102012-04-11 Jim Meyering <meyering@redhat.com>
2411
90020f5a
MF
2412 [BZ #11959]
2413 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2414 It is not necessarily an error to ignore fwrite's return
2415 value. One can reliably use ferror to test for errors after
2416 the fact.
288f9098 2417
4be2b570
L
24182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2419
2420 * bits/types.h (__snseconds_t): New type.
2421 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2422
2423 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2425 (__SNSECONDS_T_TYPE): Likewise.
2426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2427 (__SNSECONDS_T_TYPE): Likewise.
2428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2429 (__SNSECONDS_T_TYPE): Likewise.
2430
288f9098 24312012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2432
2433 [BZ #2636]
2434 * manual/time.texi (Processor Time): Return type of times is
2435 elapsed real time since an arbitrary point in the past.
2436 (CPU Time): Move CLK_TCK from here...
2437 (Processor Time): ...to here. Correct description.
2438 * manual/conf.texi (Constants for Sysconf): Correct description of
2439 _SC_CLK_TCK.
2440
d7dd4413
DM
24412012-04-10 David S. Miller <davem@davemloft.net>
2442
2443 [BZ #13967]
2444 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2445 where the is a gap between DT_REL(A) and DT_JMPREL.
2446
b46068fc
L
24472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2448
2449 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2450 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2451 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2452
73d65cc3
SP
24532012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2454
2455 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2456 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2457 (dl_main): Handle --inhibit-cache.
2458 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2459 _dl_inhibit_cache.
2460 * elf/dl-load.c (_dl_map_object): Use it.
2461 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2462
bcc8d661
JM
24632012-04-09 Joseph Myers <joseph@codesourcery.com>
2464
8f9a2fae
JM
2465 [BZ #13872]
2466 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2467 (__ieee754_powl): Saturate large exponents rather than testing for
2468 overflow of y*log2(x).
2469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2470 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2471 exceptions.
2472
bcc8d661
JM
2473 [BZ #11521]
2474 * math/s_ctan.c: Include <float.h>.
2475 (__ctan): Avoid internal overflow or cancellation in calculating
2476 denominator.
2477 * math/s_ctanf.c: Likewise.
2478 * math/s_ctanl.c: Likewise.
2479 * math/s_ctanh.c: Likewise.
2480 * math/s_ctanhf.c: Likewise.
2481 * math/s_ctanhl.c: Likewise.
2482 * math/libm-test.inc (ctan_test): Add more tests.
2483 (ctanh_test): Likewise.
2484 * sysdeps/i386/fpu/libm-test-ulps: Update.
2485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2486
823fbbb4
AJ
24872012-04-09 Andreas Jaeger <aj@suse.de>
2488
03879793
AJ
2489 [BZ #6894]
2490 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2491 is an optional BSD extension.
2492
823fbbb4
AJ
2493 [BZ #10254]
2494 * manual/stdio.texi (Opening Streams): Document additional fopen
2495 parameters.
2496
8de131cb
RM
24972012-04-09 Roland McGrath <roland@hack.frob.com>
2498
2499 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2500 %eax without telling the compiler.
2501
c0ed9d7d
CD
25022012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2503
2504 [BZ # 13963]
2505 * manual/install.texi: Use sourceware.org.
2506
c483f6b4
JM
25072012-04-09 Joseph Myers <joseph@codesourcery.com>
2508
d7dd9453
JM
2509 [BZ #13873]
2510 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2511 (__ieee754_pow): Generate overflow and underflow using huge*huge
2512 and tiny*tiny rather than just returning constant infinity or zero
2513 for large exponents.
2514 * math/libm-test.inc (pow_test): Require overflow exceptions for
2515 applicable cases of large exponents.
2516
c483f6b4
JM
2517 [BZ #706]
2518 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2519 (__ieee754_pow): Use iterative multiplication algorithm only for
2520 integer exponents with absolute value below 1024. Check for odd
2521 integer exponents when using algorithm for real exponents.
2522 * math/libm-test.inc (pow_test): Add more tests.
2523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2524
d2de7579
JM
25252012-04-08 Joseph Myers <joseph@codesourcery.com>
2526
2527 [BZ #13705]
2528 * math/libm-test.inc (exp_test): Do not allow overflow exception
2529 on underflow test.
2530
f77f1232
AJ
25312012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2532
2533 [BZ #13705]
2534 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2535 instead of __kernel_standard_f.
2536
3884932b
MF
25372012-04-08 Mike Frysinger <vapier@gentoo.org>
2538
2539 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2540 * sysdeps/x86_64/memset_chk.S: Likewise.
2541
54472e9c
AJ
25422012-04-08 Andreas Jaeger <aj@suse.de>
2543
6ab0fbfc
AJ
2544 [BZ #10153]
2545 * manual/startup.texi (Environment Access): Describe return value
2546 for putenv and setenv.
2547
61efba8c
AJ
2548 [BZ #6895]
2549 * manual/filesys.texi (Directory Entries): Add description for
2550 DT_LNK.
2551
95c3f29a
AJ
2552 [BZ #6890]
2553 * manual/filesys.texi (Directory Entries): Clarify that it's file
2554 system not operating system in the description of DT_UNKNOWN.
2555
54472e9c
AJ
2556 [BZ #6578]
2557 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2558
624254b1
SC
25592012-04-08 Stephen Compall <s11@member.fsf.org>
2560
2561 [BZ #6649]
2562 * manual/llio.texi (Opening and Closing Files): Add cross
2563 reference to explain mode argument.
2564
1e4920e0
MF
25652012-04-07 Mike Frysinger <vapier@gentoo.org>
2566
2567 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2568 * sysdeps/x86_64/memset_chk.S: Likewise.
2569
5ed848f3
DM
25702012-04-07 David S. Miller <davem@davemloft.net>
2571
2572 * elf/elf.h (R_SPARC_WDISP10): Define.
2573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2574 R_SPARC_SIZE32.
2575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2576 R_SPARC_SIZE64 and R_SPARC_H34.
2577
96154cd8
CD
25782012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2579
2580 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2581 conditions and remove no longer applicable assertion.
2582
9904dc47
L
25832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 * bits/byteswap.h: Include <features.h>.
2586 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2587 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2588
f8887d0a
L
25892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2590
2591 * bits/byteswap.h (__bswap_16): Removed.
2592 Include <bits/byteswap-16.h> to get __bswap_16.
2593 * sysdeps/i386/bits/byteswap.h: Likewise.
2594 * sysdeps/s390/bits/byteswap.h: Likewise.
2595 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2596 * bits/byteswap-16.h: New file.
2597 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2598 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2599 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2600 * string/Makefile (headers): Add bits/byteswap-16.h.
2601
62470f60
PP
26022012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2603
2604 [BZ #13895]
2605 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2606 extra indirection.
2607 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2608 * nss/tst-nss-static.c: New.
2609
4dad7bab
RM
26102012-04-06 Robert Millan <rmh@gnu.org>
2611
2612 [BZ #6486]
2613 * manual/llio.texi (File Position Primitive): lseek
2614 refers to WHENCE when it really means OFFSET.
2615
e9142a17
AJ
26162012-04-06 Andreas Jaeger <aj@suse.de>
2617
2c040eff
AJ
2618 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2619 strncmp declarations.
2620
e9142a17
AJ
2621 * abilist/libc.abilist: Add __poll and __ppoll.
2622
ff9f1c5f
DM
26232012-04-05 David S. Miller <davem@davemloft.net>
2624
dcd2ae90
DM
2625 * scripts/check-local-headers.sh: Accept a host triplet in the
2626 path matched by the exclude regexp.
2627
993eb054
DM
2628 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2629 definition.
2630 * sysdeps/powerpc/powerpc32/dl-machine.h
2631 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2632 * sysdeps/s390/s390-32/dl-machine.h
2633 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2634 * sysdeps/sparc/sparc32/dl-machine.h
2635 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2636 * sysdeps/sparc/sparc64/dl-machine.h
2637 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2638
ff9f1c5f
DM
2639 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2640 lazy binding.
48e2e132 2641 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2642 undefined symbol errors.
2643
48e2e132 2644 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2645 DT_NEEDED entries.
2646
e80d6f94
MM
26472012-04-05 Michael Matz <matz@suse.de>
2648
2649 [BZ #13592]
2650 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2651
349fa79f
AJ
26522012-04-05 Andreas Jaeger <aj@suse.de>
2653
2654 [BZ #13908]
2655 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2656 comment.
2657
f402708f
KK
26582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2659
2660 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2661 which ROUND is no valid rounding mode.
2662
2ecccfc9
KK
26632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2664
2665 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2666 read again.
2667 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2668
8a53f50f
KK
26692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2670
2671 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2672 an exception using FPU order intentionally.
2673
26742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2675
2676 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2677 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2678 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2679 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2680
d653abb7
SJ
26812012-04-05 Simon Josefsson <simon@josefsson.org>
2682
2683 [BZ #12340]
2684 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2685 EINVAL when BUFLEN is too smal.
2686
c3b1bf7d
TS
26872012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2688
2689 [BZ #13553]
2690 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2691 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2692
b1aa60f3
AJ
26932012-04-03 Andreas Jaeger <aj@suse.de>
2694
c3b1bf7d 2695 [BZ #13938]
67f60a26
AJ
2696 * manual/setjmp.texi (System V contexts): Fix sentence.
2697
b1aa60f3
AJ
2698 [BZ #13926]
2699 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2700 New macro for this case.
2701 [!__GNUC__] (__bswap_64): New inline function for this case.
2702 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2703 * bits/byteswap.h: Likewise.
2704 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2705 ull, guard with __GLIBC_HAVE_LONG_LONG.
2706
2707 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2708 __GLIBC_HAVE_LONG_LONG.
2709
2710 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2711 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2712
39c59c35
TMQMF
27132012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2714
2715 [BZ #13691]
2716 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2717 inptr and inend, rather than using last_ch.
2718
135ffda8
DM
27192012-04-02 David S. Miller <davem@davemloft.net>
2720
2721 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2722 * stdio-common/printf-parse.h (read_int): Change return type to
2723 'int', return -1 on INT_MAX overflow.
2724 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2725 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2726 overflows INT_MAX. Check for overflow of in-format-string precision
2727 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2728 SIZE_MAX not INT_MAX for integer overflow test.
2729 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2730 skip the construct in the format string but do not record anything.
2731 * stdio-common/bug22.c: Adjust to test both width/prevision
2732 INT_MAX overflow as well as total length INT_MAX overflow. Check
2733 explicitly for proper errno values.
2734
228c019e
TS
27352012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2736
302cadd3
TS
2737 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2738 CHAR_MAX.
2739 * string/test-strcmp.c [! WIDE]: Likewise.
2740 * time/tst-mktime2.c: Likewise for INT_MAX.
2741 * string/test-string.h: #include <sys/param.h> for MIN.
2742
228c019e
TS
2743 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2744 * sysdeps/i386/init-first.c (init): Likewise.
2745 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2746 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2747 * sysdeps/sh/init-first.c (init): Likewise.
2748
cfa633f5
UD
27492012-04-01 Ulrich Drepper <drepper@gmail.com>
2750
2751 * po/ru.po: Update from translation team.
d1635ef8 2752 * po/vi.po: Likewise.
cfa633f5 2753
6cd0a5ea
SP
27542012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2755
2756 * resolv/nss_dns/dns-host.c: Merge copyright years.
2757
4b43400f
LD
27582012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2759
2760 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2761 Optimize memcpy with prefetch if
2762 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2763 src, dst pointers have unequal 16 byte alignments.
2764
48c41d04
SP
27652012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2766
2767 [BZ #13928]
2768 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2769 from a CNAME entry and return the minimum ttl for the query.
2770 (gaih_getanswer_slice): Likewise.
2771
b8dc394d
JL
27722012-03-30 Jeff Law <law@redhat.com>
2773
2774 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2775 due to long keys.
2776 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2777 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2778
2f5a5ed0
JL
2779 * resolv/nss_dns/dns-host.c: Update copyright year.
2780
1d39e359
UD
27812012-03-30 Ulrich Drepper <drepper@gmail.com>
2782
c030f70c 2783 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2784 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2785
1d39e359
UD
2786 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2787 comments for sendmmsg.
2788
27892012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2790
2791 [BZ #13691]
2792 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2793 with only 1 character between 0x0041 and 0x01b0.
2794 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2795 * wcsmbs/tst-mbsnrtowcs.c: New file.
2796
20fde227
DM
27972012-03-29 David S. Miller <davem@davemloft.net>
2798
2799 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2800 small copies by hand.
2801
984a4237
JL
28022012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2803
2804 [BZ #13761]
2805 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2806 _nss_compat_initgroups_dyn): Fall back to malloc/free
2807 for large group memberships.
2808
18c9d62b
DM
28092012-03-28 David S. Miller <davem@davemloft.net>
2810
88d85d4f
DM
2811 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2812 that branches into memcpy.
2813 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2814 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2815 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2816 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2818 bits.
2819 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2820 implementation too.
2821 * sysdeps/sparc/mempcpy.S: New file.
2822
e5aa83e1
DM
2823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2824 the IFUNC routine in the libc case.
2825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2826
88570753
DM
2827 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2828 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2829 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2830 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2831 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2832 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2833 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2834 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2835
249d7567
DM
2836 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2837 loop to 256 bytes instead of 64 bytes and fix test signedness.
2838
18c9d62b
DM
2839 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2840 * sysdeps/sparc/sparc32/Makefile: rather than here...
2841 * sysdeps/sparc/sparc64/Makefile: and here.
2842
05f3d1f6
UD
28432012-03-28 Ulrich Drepper <drepper@gmail.com>
2844
2845 * malloc/mallocbug.c: Avoid warnings about unused variables.
2846
86ae07a8
JL
28472012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2848
2849 [BZ #13760]
2850 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2851 in the right place. Discard and retry query if response is
2852 larger than input buffer size.
2853
41bf21a1
JM
28542012-03-28 Joseph Myers <joseph@codesourcery.com>
2855
d6270972
JM
2856 [BZ #369]
2857 [BZ #2678]
2858 [BZ #3866]
2859 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2860 x for large integer exponent.
2861 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2862 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2863 sign of result as needed afterwards.
2864 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2865 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2866 result for underflowing pow the same as for overflow.
2867 (__kernel_standard_l): Handle powl overflow and underflow here
2868 rather than calling __kernel_standard.
2869 * math/libm-test.inc (pow_test): Add more tests.
2870
414fca03 2871 [BZ #3868]
41bf21a1
JM
2872 [BZ #13879]
2873 [BZ #13910]
2874 [BZ #13911]
2875 [BZ #13912]
2876 [BZ #13913]
2877 [BZ #13915]
2878 [BZ #13916]
2879 [BZ #13917]
2880 [BZ #13918]
2881 [BZ #13919]
2882 [BZ #13920]
2883 [BZ #13921]
2884 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2885 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2886 (__kernel_standard_l): New function.
2887 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2888 __kernel_standard.
2889 * math/w_acosl.c (__acosl): Likewise.
2890 * math/w_asinl.c (__asinl): Likewise.
2891 * math/w_atan2l.c (__atan2l): Likewise.
2892 * math/w_atanhl.c (__atanhl): Likewise.
2893 * math/w_coshl.c (__coshl): Likewise.
2894 * math/w_exp10l.c (__exp10l): Likewise.
2895 * math/w_exp2l.c (__exp2l): Likewise.
2896 * math/w_fmodl.c (__fmodl): Likewise.
2897 * math/w_hypotl.c (__hypotl): Likewise.
2898 * math/w_j0l.c (__j0l, __y0l): Likewise.
2899 * math/w_j1l.c (__j1l, __y1l): Likewise.
2900 * math/w_jnl.c (__jnl, __ynl): Likewise.
2901 * math/w_lgammal.c (__lgammal): Likewise.
2902 * math/w_log10l.c (__log10l): Likewise.
2903 * math/w_log2l.c (__log2l): Likewise.
2904 * math/w_logl.c (__logl): Likewise.
2905 * math/w_powl.c (__powl): Likewise.
2906 * math/w_remainderl.c (__remainderl): Likewise.
2907 * math/w_scalbl.c (sysv_scalbl): Likewise.
2908 * math/w_sinhl.c (__sinhl): Likewise.
2909 * math/w_sqrtl.c (__sqrtl): Likewise.
2910 * math/w_tgammal.c (__tgammal): Likewise.
2911 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2912 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2913 * math/libm-test.inc (acos_test): Add more tests.
2914 (acosh_test): Likewise.
2915 (asin_test): Likewise.
2916 (atanh_test): Likewise.
2917 (exp_test): Likewise.
2918 (exp10_test): Likewise.
2919 (exp2_test): Likewise.
2920 (expm1_test): Likewise.
2921 (lgamma_test): Likewise.
2922 (log_test): Likewise.
2923 (log10_test): Likewise.
2924 (log1p_test): Likewise.
2925 (log2_test): Likewise.
2926 (pow_test): Do not allow some spurious overflow exceptions.
2927 (sqrt_test): Add more tests.
2928 (tgamma_test): Likewise.
2929 (y0_test): Likewise.
2930 (y1_test): Likewise.
2931 (yn_test): Likewise.
2932
dd62fda6
AB
29332012-03-27 Anton Blanchard <anton@samba.org>
2934
2935 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2936 MAP_HUGETLB.
2937 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2938 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2939 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2940
1e3cdfda
AJ
29412012-03-27 David S. Miller <davem@davemloft.net>
2942
b855ab85
DM
2943 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2944
1e3cdfda
AJ
2945 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2946 have-as-vis3 check.
2947
29482012-03-27 Andreas Jaeger <aj@suse.de>
2949
2950 * sysdeps/x86_64/elf/configure.in: Moved to ...
2951 * sysdeps/x86_64/configure.in: ... here.
2952 * sysdeps/x86_64/elf/start.S: Moved to ...
2953 * sysdeps/x86_64/start.S: ... here.
2954 * sysdeps/x86_64/elf/configure: Delete.
2955
2956 * sysdeps/x86_64/configure.in: Merge contents from
2957 sysdeps/i386/configure.in (without i686 check).
2958
2959 * sysdeps/i386/elf/Versions: Merge into ...
2960 * sysdeps/i386/Versions: ... this.
2961 * sysdeps/i386/elf/Versions: Delete file.
2962 * sysdeps/i386/elf/start.S: Moved to ...
2963 * sysdeps/i386/start.S: ...here.
2964 * sysdeps/i386/elf/configure.in: Merge into...
2965 * sysdeps/i386/configure.in: ...here.
2966 * sysdeps/i386/elf/configure.in: Delete file.
2967 * sysdeps/i386/elf/configure: Delete file.
2968
2969 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2970 * debug/backtracesyms.c: ... here.
2971 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2972 * debug/backtracesymsfd.c: ... here.
2973 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2974 * sysdeps/generic/ifunc-sel.h: ... here.
2975
2976 * sysdeps/unix/i386/start.c: Delete file.
2977 * sysdeps/unix/sparc/start.c: Delete file.
2978 * sysdeps/unix/start.c: Delete file.
2979
2980 * sysdeps/sh/elf/configure.in: Moved to ...
2981 * sysdeps/sh/configure.in: ... here.
2982 * sysdeps/sh/elf/start.S: Moved to ...
2983 * sysdeps/sh/start.S: ... here.
2984 * sysdeps/sh/elf/configure: Delete file.
2985
2986 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2987 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2988 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2989 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2990 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2991 * sysdeps/powerpc/powerpc64/start.S: here.
2992 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2993 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2994 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2995 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2996 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2997
2998 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2999 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3000 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3001 * sysdeps/powerpc/powerpc32/start.S: ... here.
3002 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3003 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3004 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3005
3006 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3007 * sysdeps/powerpc/ifunc-sel.h: ... here.
3008 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3009 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3010
3011 * sysdeps/sparc/elf/configure.in: Moved to ...
3012 * sysdeps/sparc/configure.in: ... here.
3013 * sysdeps/sparc/elf/configure: Delete file.
3014 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3015 * sysdeps/sparc/sparc32/start.S: ... here.
3016 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3017 * sysdeps/sparc/sparc64/start.S: ... here.
3018 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3019 * sysdeps/sparc/sparc32/Makefile: ... this.
3020 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3021 * sysdeps/sparc/sparc64/Makefile: ... this.
3022
3023 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3024 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3025 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3026 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3027 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3028 * sysdeps/s390/s390-32/setjmp.S: ... here.
3029 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3030 * sysdeps/s390/s390-32/configure.in: ... here.
3031 * sysdeps/s390/s390-32/elf/configure: Delete file.
3032 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3033 * sysdeps/s390/s390-32/start.S: ... here.
3034
3035 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3036 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3037 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3038 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3039 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3040 * sysdeps/s390/s390-64/setjmp.S: ... here.
3041 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3042 * sysdeps/s390/s390-64/configure.in: ... here
3043 * sysdeps/s390/s390-64/elf/configure: Delete file.
3044 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3045 * sysdeps/s390/s390-64/start.S: ... here.
3046 * sysdeps/s390/s390-64/elf/configure: Delete.
3047
3048 * configure.in: Remove support for elf directories in sysdeps.
3049
3050 * configure: Regenerated.
3051 * sysdeps/i386/configure: Regenerated.
3052 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3053 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3054 * sysdeps/s390/s390-32/configure: Regenerated.
3055 * sysdeps/s390/s390-64/configure: Regenerated.
3056 * sysdeps/sh/configure: Regenerated.
3057 * sysdeps/sparc/configure: Regenerated.
3058 * sysdeps/x86_64/configure: Regenerated.
3059
a3f61311
AS
30602012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3061
c876e002
AS
3062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3063
a3f61311
AS
3064 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3065 denormal result into account.
3066
ac4c54f0
RM
30672012-03-25 Roland McGrath <roland@hack.frob.com>
3068
3069 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3070 Reported by Allan McRae <allan@archlinux.org>.
3071
6a9b9c02
JL
30722012-03-23 Jeff Law <law@redhat.com>
3073
3074 * nss/getnssent.c (__nss_getent): Fix typo.
3075
4c42a0c1
DM
30762012-03-23 David S. Miller <davem@davemloft.net>
3077
3078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3079
1532c7ac
L
30802012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3081
3082 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3083 to pad to uint64_t for each field.
3084 (dl_tls_index): Replace unsigned long with uint64_t.
3085
3ff42526
PP
30862012-03-23 Daniel Jacobowitz <dmj@google.com>
3087 Paul Pluzhnikov <ppluzhnikov@google.com>
3088
3089 [BZ #6528]
3090 * grp/Makefile (otherlibs): Don't set it.
3091 * inet/Makefile (otherlibs): Likewise.
3092 * login/Makefile (otherlibs): Likewise.
3093 * nscd/Makefile (otherlibs): Likewise.
3094 * posix/Makefile (otherlibs): Likewise.
3095 * pwd/Makefile (otherlibs): Likewise.
3096 * rt/Makefile (otherlibs): Likewise.
3097 * sunrpc/Makefile (otherlibs): Likewise.
3098 * nss/Makefile (otherlibs): Likewise.
3099 Add libnss_files to routines and static-only-routines.
3100 ($(objpfx)getent): Remove rule.
3101 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3102 static-only-routines.
3103
7c69cd14
JM
31042012-03-22 Joseph Myers <joseph@codesourcery.com>
3105
3106 [BZ #13892]
3107 * math/s_cexp.c: Include <float.h>.
3108 (__cexp): Handle exp result overflowing not necessarily
3109 overflowing both real and imaginary parts of result.
3110 * math/s_cexpf.c: Likewise.
3111 * math/s_cexpl.c: Likewise.
3112 * math/libm-test.inc (cexp_test): Add more tests.
3113 * sysdeps/i386/fpu/libm-test-ulps: Update.
3114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3115
81b035fe
L
31162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3117
3118 * include/link.h (ELFW): New macro.
3119 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3120 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3121
1da7940c
L
31222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3123
3124 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3125 with uint64_t.
3126
b749dbb9
L
31272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3128
3129 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3130 declaration.
3131 (struct La_x32_retval): Likewise.
3132
2ff87f3f
L
31332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3134
3135 * sysdeps/x86_64/preconfigure.in: New file.
3136 * sysdeps/x86_64/preconfigure: New generated file.
3137
c0df8e69
JM
31382012-03-22 Joseph Myers <joseph@codesourcery.com>
3139
48e44791
JM
3140 [BZ #13824]
3141 * math/e_exp2l.c: Include <float.h>.
3142 (__ieee754_exp2l): Handle overflow and underflow cases
3143 separately. Only pass fractional part of argument to
3144 __ieee754_expl.
3145 * math/libm-test.inc (exp2_test): Add more tests.
3146
c0df8e69
JM
3147 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3148 negating x to take absolute value.
3149 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3150 Likewise.
3151 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3153 Likewise.
3154 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3155 computing low part if x was negated.
3156 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3157
c8e43ba7
L
31582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3159
3160 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3161 la_x32_gnu_pltexit.
3162 (pltexit): Cast int_retval to ptrdiff_t.
3163 * elf/tst-auditmod3b.c: Likewise.
3164 * elf/tst-auditmod4b.c: Likewise.
3165 * elf/tst-auditmod5b.c: Likewise.
3166 * elf/tst-auditmod6b.c: Likewise.
3167 * elf/tst-auditmod6c.c: Likewise.
3168 * elf/tst-auditmod7b.c: Likewise.
3169
3170 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3171 and x32_gnu_pltexit.
3172
3173 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3174 __ELF_NATIVE_CLASS.
3175 (La_x32_regs): New macro.
3176 (La_x32_retval): Likewise.
3177 (la_x32_gnu_pltenter): New function prototype.
3178 (la_x32_gnu_pltexit): Likewise.
3179
7998fa78
AS
31802012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3181
dcb33988
AS
3182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3183 exponent.
3184
233fc563
AS
3185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3186
7998fa78
AS
3187 * configure.in (libc_cv_cc_nofma): Check for option to disable
3188 generation of FMA instructions.
3189 * configure: Regenerate.
3190 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3191 * sysdeps/ieee754/dbl-64/Makefile: New file.
3192 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3193 Remove brandred-fma4.
3194 (CFLAGS-brandred-fma4.c): Remove.
3195 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3196 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3197 define.
3198 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3199 define.
3200
8e95c99a
L
32012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3202
3203 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3204 LLONG_MAX != LONG_MAX.
3205 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3206 (_fitoa_word): Likewise.
3207 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3208 LLONG_MAX != LONG_MAX.
3209 * stdio-common/_itowa.h: Include <_itoa.h>.
3210 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3211 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3212 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3213 only if not defined.
3214 (_ITOA_WORD_TYPE): Likewise.
3215 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3216 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3217
6f4db457
DM
32182012-03-21 David S. Miller <davem@davemloft.net>
3219
3220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3221
7785fe5a
L
32222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3223
3224 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3225 of x86_64 when setting libc_cv_slibdir, libdir and
3226 libc_cv_localedir.
3227 * sysdeps/unix/sysv/linux/configure: Regenerated.
3228
4535cd55
JM
32292012-03-21 Joseph Myers <joseph@codesourcery.com>
3230
3231 * manual/lang.texi (Old Varargs): Remove section.
3232 (How Variadic): Update menu.
3233 (va_start): Do not mention varargs.h.
3234
17228132
TS
32352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3236 Joseph Myers <joseph@codesourcery.com>
3237
3238 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3239 link test.
3240 * configure: Regenerated.
3241
8149f976
TS
32422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3243
05f3d1f6
UD
3244 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3245 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3246 conformtest.pl
8149f976 3247
1a4ac776
JM
32482012-03-21 Joseph Myers <joseph@codesourcery.com>
3249
be22ce65
JM
3250 * NOTES: Remove.
3251 * Makefile (files-for-dist): Remove NOTES.
3252 (NOTES): Remove rule.
3253 * README: Don't refer to NOTES.
3254 * manual/creature.texi: Don't include macros.texi.
3255 * manual/intro.texi (creature.texi): Remove comment referring to
3256 NOTES.
3257
40b601fb
JM
3258 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3259 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3260 * configure: Regenerated.
3261 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3262 LIBC_TRY_CC_OPTION.
3263 (libc_cv_as_i686): Likewise.
3264 (libc_cv_cc_avx): Likewise.
3265 (libc_cv_cc_sse2avx): Likewise.
3266 (libc_cv_cc_fma4): Likewise.
3267 (libc_cv_cc_novzeroupper): Likewise.
3268 * sysdeps/i386/configure: Regenerated.
3269
1a4ac776
JM
3270 [BZ #13883]
3271 * sysdeps/i386/fpu/s_cexp.S: Remove.
3272 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3273 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3274 * math/libm-test.inc (cexp_test): Add more tests.
3275 * sysdeps/i386/fpu/libm-test-ulps: Update.
3276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3277
a458e7fe
AM
32782012-03-21 Allan McRae <allan@archlinux.org>
3279
3280 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3281
0cb7efc5
JM
32822012-03-21 Joseph Myers <joseph@codesourcery.com>
3283
3284 [BZ #13871]
3285 * math/w_exp2.c: Do not include <float.h>.
3286 (o_threshold, u_threshold): Remove.
3287 (__exp2): Calculate result before checking finiteness and calling
3288 __kernel_standard.
3289 * math/w_exp2f.c: Likewise.
3290 * math/w_exp2l.c: Likewise.
3291 * math/libm-test.inc (exp2_test): Require overflow exception for
3292 1e6 input.
2460d3aa
JM
3293
3294 [BZ #3866]
3295 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3296 range of signed 64-bit integers before using fistpll. Remove
3297 checks for whether integers fit in mantissa bits.
3298 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3299 the range of signed 32-bit integers before using fistpl. Remove
3300 checks for whether integers fit in mantissa bits.
3301 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3302 (__ieee754_powl): Test for y outside the range of signed 64-bit
3303 integers before using fistpll. Reduce 64-bit values to 63-bit
3304 ones as needed.
3305 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3306 divide-by-zero is raised for zero to large negative powers.
3307 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3308 (__ieee754_powl): Test for y outside the range of signed 64-bit
3309 integers before using fistpll. Reduce 64-bit values to 63-bit
3310 ones as needed.
3311 * math/libm-test.inc (pow_test): Add more tests.
3312
eb96ffb0
L
33132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3314
3315 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3316 <stdio-common/_itoa.h>.
3317 * debug/segfault.c: Likewise.
3318 * elf/dl-cache.c: Likewise.
3319 * elf/dl-minimal.c: Likewise.
3320 * elf/dl-misc.c: Likewise.
3321 * elf/dl-sysdep.c: Likewise.
3322 * elf/dl-version.c: Likewise.
3323 * elf/rtld.c: Likewise.
3324 * hurd/hurdsock.c: Likewise.
3325 * hurd/lookup-retry.c: Likewise.
3326 * malloc/malloc.c: Likewise.
3327 * malloc/mtrace.c: Likewise.
3328 * nscd/nscd_getgr_r.c: Likewise.
3329 * nscd/nscd_getpw_r.c: Likewise.
3330 * nscd/nscd_getserv_r.c: Likewise.
3331 * posix/getopt_init.c: Likewise.
3332 * posix/wordexp.c: Likewise.
3333 * stdio-common/_itoa.c: Likewise.
3334 * stdio-common/printf_fphex.c: Likewise.
3335 * stdio-common/vfprintf.c: Likewise.
3336 * string/_strerror.c: Likewise.
3337 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3338 * sysdeps/i386/i686/hp-timing.h: Likewise.
3339 * sysdeps/mach/_strerror.c: Likewise.
3340 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3341 * sysdeps/mach/hurd/sethostid.c: Likewise.
3342 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3343 * sysdeps/mach/xpg-strerror.c: Likewise.
3344 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3345 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3346 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3347 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3348 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3349 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3350 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3351 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3352 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3353 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3354 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3355 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3356 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3357 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3358 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3359 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3360 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3361 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3362 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3363 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3364 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3365
3366 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3367
3368 * stdio-common/_itoa.h: Moved to ...
3369 * sysdeps/generic/_itoa.h: Here.
3370
3371 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3372
3373 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3374 instead of "_itoa.h" and "_itowa.h".
3375 * stdio-common/vfprintf.: Likewise.
3376
d1af992d
L
33772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3378
3379 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3380 <bits/wordsize.h>.
3381 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3382 (__signbit): Likwise.
3383 (llrintf): Likwise.
3384 (llrint): Likwise.
3385
114883e0
L
33862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3387
3388 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3389 __WORDSIZE != 64.
3390
c135cc1b
JM
33912012-03-20 Joseph Myers <joseph@codesourcery.com>
3392
3393 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3394 OVERFLOW_EXCEPTION_OK.
3395 * math/libm-test.inc ("Philosophy"): Update comment about
3396 exception testing.
3397 (OVERFLOW_EXCEPTION): Define.
3398 (OVERFLOW_EXCEPTION_OK): Likewise.
3399 (INVALID_EXCEPTION_OK): Renumber.
3400 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3401 (IGNORE_ZERO_INF_SIGN): Likewise.
3402 (test_exceptions): Handle FE_OVERFLOW.
3403 (exp10_test): Expect overflow exceptions.
3404 (exp2_test): Likewise.
3405 (expm1_test): Likewise.
3406 (nextafter_test): Likewise.
3407 (pow_test): Likewise.
3408 (scalbn_test): Likewise.
3409 (scalbln_test): Likewise.
3410
95443d88
L
34112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3412
3413 * sysdeps/x86_64/bits/atomic.h
3414 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3415 64bit integer.
3416 (atomic_exchange_acq): Likewise.
3417 (__arch_exchange_and_add_body): Likewise.
3418 (__arch_add_body): Likewise.
3419 (atomic_add_negative): Likewise.
3420 (atomic_add_zero): Likewise.
3421
490df6c4
L
34222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3423
c2722551 3424 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3425 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3426
5e52b189
L
34272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3428
3429 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3430 Check __x86_64__ instead of __WORDSIZE.
3431
a9879d4c
L
34322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3433
3434 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3435
5df98260
DM
34362012-03-19 David S. Miller <davem@davemloft.net>
3437
e1497744
DM
3438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3439
5df98260
DM
3440 * sysdeps/sparc/fpu/fenv_private.h: New file.
3441 * sysdeps/sparc/fpu/math_private.h: Use it.
3442 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3443 Remove.
3444 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3445 (libc_feholdexcept_setroundl): Remove.
3446 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3447 Remove.
3448 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3449 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3450
b4c35121
L
34512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3452
3453 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3454 int64_t instead of long int.
3455 (INSERT_WORDS64): Likwise.
3456
56965fd7
L
34572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3458
3459 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3460 _Unwind_GetCFA return to _Unwind_Ptr first.
3461
83d1aec8
JM
34622012-03-19 Joseph Myers <joseph@codesourcery.com>
3463
1897ad44
JM
3464 [BZ #13629]
3465 * math/s_clog.c: Include <float.h>.
3466 (__clog): Scale large or subnormal inputs.
3467 * math/s_clogf.c: Likewise.
3468 * math/s_clogl.c: Likewise.
3469 * math/s_clog10.c: Include <float.h>.
3470 (M_LOG10_2): Define.
3471 (__clog10): Scale large or subnormal inputs.
3472 * math/s_clog10f.c: Likewise.
3473 * math/s_clog10l.c: Likewise.
3474 * math/libm-test.inc (clog_test): Add more tests.
3475 (clog10_test): Likewise.
3476 * sysdeps/i386/fpu/libm-test-ulps: Update.
3477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3478
7726d6a9
JM
3479 [BZ #11451]
3480 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3481 x and y.
3482 * math/libm-test.inc (atan2_test): Add another test.
3483
83d1aec8
JM
3484 * Makerules (common-objdir-compile): Remove.
3485 * sysdeps/unix/Makefile (config-generated): Do not add
3486 $(unix-generated) to variable.
3487 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3488 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3489 Remove rule.
3490 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3491 Likewise.
3492 [generic bits/local_lim.h] (before-compile): Do not append to
3493 variable.
3494 [generic bits/local_lim.h] (common-generated): Likewise.
3495 [generic sys/param.h] (before-compile): Do not append to variable.
3496 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3497 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3498 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3499 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3500 include.
3501 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3502 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3503 [generic sys/param.h] ($(addprefix
3504 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3505 [generic sys/param.h] (common-generated): Do not append to
3506 variable.
3507 [generic sys/param.h] (sysdep_headers): Likewise.
3508 [generic bits/errno.h] (before-compile): Do not append to
3509 variable.
3510 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3511 rule.
3512 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3513 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3514 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3515 [generic bits/errno.h] (common-generated): Do not append to
3516 variable.
3517 [generic bits/ioctls.h] (before-compile): Do not append to
3518 variable.
3519 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3520 rule.
3521 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3522 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3523 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3524 rule.
3525 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3526 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3527 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3528 [generic bits/ioctls.h] (common-generated): Do not append to
3529 variable.
3530 [generic sys/syscall.h] (syscall.h): Remove variable.
3531 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3532 rule.
3533 [generic sys/syscall.h] (before-compile): Do not append to
3534 variable.
3535 [generic sys/syscall.h] (common-generated): Likewise.
3536 * sysdeps/unix/errnos-tmpl.c: Remove file.
3537 * sysdeps/unix/errnos.awk: Likewise.
3538 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3539 * sysdeps/unix/ioctls.awk: Likewise.
3540 * sysdeps/unix/mk-local_lim.c: Likewise.
3541 * sysdeps/unix/snarf-ioctls: Likewise.
3542
4851a949
RH
35432012-03-19 Richard Henderson <rth@twiddle.net>
3544
bd37f2ee
RH
3545 * sysdeps/i386/fpu/fenv_private.h: New file.
3546 * sysdeps/i386/fpu/math_private.h: Use it.
3547 (math_opt_barrier, math_force_eval): Remove.
3548 (libc_feholdexcept_setround_53bit): Remove.
3549 (libc_feupdateenv_53bit): Remove.
3550 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3551 (math_opt_barrier, math_force_eval): Remove.
3552 (libc_feholdexcept): Remove.
3553 (libc_feholdexcept_setround): Remove.
3554 (libc_fetestexcept, libc_fesetenv): Remove.
3555 (libc_feupdateenv_test): Remove.
3556 (libc_feupdateenv, libc_feholdsetround): Remove.
3557 (libc_feresetround): Remove.
3558
d0adc922
RH
3559 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3560 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3561
0fe0f1f8
RH
3562 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3563 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3564 (libc_feupdateenv_testl): New.
3565 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3566 (libc_feupdateenv_testf): New.
3567 (libc_feupdateenv): Use libc_feupdateenv_test.
3568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3569 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3570
eb92c487
RH
3571 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3572 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3573 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3574 (libc_feresetround_noex): New.
3575 (libc_feresetround_noexf): New.
3576 (libc_feresetround_noexl): New.
3577 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3578 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3579 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3580 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3581 SET_RESTORE_ROUND.
3582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3583 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3584 (__cos): Likewise.
3585 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3586 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3587 SET_RESTORE_ROUND_NOEX.
3588 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3589 SET_RESTORE_ROUND_NOEXF.
3590 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3591 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3592 (libc_feholdsetroundf): New.
3593 (libc_feresetround, libc_feresetroundf): New.
3594
7d2e8012
RH
3595 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3596 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3597 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3598
b4dabbb4
RH
3599 * sysdeps/generic/math_private.h: Include <fenv.h>.
3600 (default_libc_feholdexcept): New.
3601 (default_libc_feholdexcept_setround): New.
3602 (default_libc_fesetenv, default_libc_feupdateenv): New.
3603 (libc_feholdexcept): Only define if undefined.
3604 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3605 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3606 (libc_feholdexcept_setroundl): Likewise.
3607 (libc_feholdexcept_setround_53bit): Likewise.
3608 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3609 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3610 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3611 (libc_feupdateenv_53bit): Likewise.
3612 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3613 (libc_feholdexcept): Convert from macro to inline function.
3614 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3615 (libc_fesetenv, libc_feupdateenv): Likewise.
3616
4851a949
RH
3617 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3618 not previously defined.
3619 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3620 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3621 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3622 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3623 * sysdeps/ieee754/flt-32/math_private.h: New file.
3624 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3625 math_private.h below SET_FLOAT_WORD.
3626 (__isnan, __isinf_ns, __finite): Remove.
3627 (__isnanf, __isinf_nsf, __finitef): Remove.
3628
e79d442e
AS
36292012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3630
3631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3632
90b80344
DM
36332012-03-17 David S. Miller <davem@davemloft.net>
3634
3635 [BZ #6471]
3636 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3637 for 2.16.
3638
edc21804
DM
36392012-03-16 David S. Miller <davem@davemloft.net>
3640
77e927af
DM
3641 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3642 warnings.
3643
374976dd
DM
3644 [BZ #6471]
3645 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3646 properly.
3647 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3648 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3649 sysdep_routines when subdir is sysvipc.
3650 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3651 __getshmlba helper.
3652
edc21804
DM
3653 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3654
473c3ef3
L
36552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3656
3657 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3658 [__LP64__].
3659
eb0f39b6
L
36602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3661
3662 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3663 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3664 (__lround): Renamed to ...
3665 (__llround): This. Replace long int with long long int.
3666 Define lround functions as aliases of llround functions.
3667 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3668
6b6cd74b
L
36692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3670
3671 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3672 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3673 adresses to uintptr_t. Replace "long int" and "unsigned long
3674 int" with "greg_t" on va_arg.
3675
f1a77b01
L
36762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3677
3678 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3679 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3680
3681 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3682 Move e_machine check before EI_CLASS check. Handle x32
3683 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3684 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3685 SKIP_EM_IA_64 and include
3686 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3687
3688 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3689 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3690 (add_system_dir): New macro.
3691
3692 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3693 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3694
11b90b9f
JM
36952012-03-16 Joseph Myers <joseph@codesourcery.com>
3696
c36e1d23
JM
3697 [BZ #2551]
3698 [BZ #2552]
3699 [BZ #2553]
3700 [BZ #2554]
3701 [BZ #2562]
3702 [BZ #2563]
3703 [BZ #2565]
3704 [BZ #2566]
3705 [BZ #2576]
3706 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3707 (y0): Likewise.
3708 * math/w_j0f.c (j0f): Likewise.
3709 (y0f): Likewise.
3710 * math/w_j0l.c (__j0l): Likewise.
3711 (__y0l): Likewise.
3712 * math/w_j1.c (j1): Likewise.
3713 (y1): Likewise.
3714 * math/w_j1f.c (j1f): Likewise.
3715 (y1f): Likewise.
3716 * math/w_j1l.c (__j1l): Likewise.
3717 (__y1l): Likewise.
3718 * math/w_jn.c (jn): Likewise.
3719 (yn): Likewise.
3720 * math/w_jnf.c (jnf): Likewise.
3721 (ynf): Likewise.
3722 * math/w_jnl.c (__jnl): Likewise.
3723 (__ynl): Likewise.
3724 * math/libm-test.inc (j0_test): Add more tests.
3725 (j1_test): Likewise.
3726 (jn_test): Likewise. Add trailing semicolon to existing test.
3727 (y0_test): Likewise.
3728 (y1_test): Likewise.
3729 * sysdeps/i386/fpu/libm-test-ulps: Update.
3730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3731
11b90b9f
JM
3732 [BZ #13851]
3733 [BZ #13854]
3734 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3735 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3736 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3737 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3738 (__tanl): Set errno for infinite argument.
3739 * sysdeps/i386/fpu/mptan.c: Remove.
3740 * sysdeps/i386/fpu/s_tan.S: Likewise.
3741 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3742 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3743 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3744 * math/libm-test.inc (tan_test): Add more tests and enable more
3745 tests for double and long double.
3746 * sysdeps/i386/fpu/libm-test-ulps: Update.
3747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3748
6a1bd2a1
JK
37492012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3750
3751 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3752 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3753
10a803e0
RM
37542012-03-16 Roland McGrath <roland@hack.frob.com>
3755
3756 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3757 * configure.in: Use it for both main tree and add-ons.
3758 * configure: Regenerated.
3759
f196c7f7
L
37602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3761
3762 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3763
8848d99d
JM
37642012-03-16 Joseph Myers <joseph@codesourcery.com>
3765
96cbe7f4
JM
3766 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3767 in comment.
3768
8848d99d
JM
3769 [BZ #13851]
3770 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3771 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3773 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3775 infinite argument.
3776 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3777 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3778 != 0 for prec == 2.
3779 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3780 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3781 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3782 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3783 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3784 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3785 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3786 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3787 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3788 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3789 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3790 * math/libm-test.inc (cos_test): Add more tests and enable more
3791 tests for long double.
3792 (sin_test): Likewise.
3793 (sincos_test): Likewise.
3794 * sysdeps/i386/fpu/libm-test-ulps: Update.
3795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3796
dd7f4703
DM
37972012-03-16 David S. Miller <davem@davemloft.net>
3798
3799 * sysdeps/sparc/fpu/math_private.h: New file.
3800
006f1daa
DM
38012012-03-15 David S. Miller <davem@davemloft.net>
3802
c0c83bc8
DM
3803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3804 file.
e6a62e18 3805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3807 file.
e6a62e18
DM
3808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3814 sysdep routines.
3815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3816
88cb87d9
DM
3817 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3818 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3819
006f1daa 3820 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3822 sparc-ifunc.h
006f1daa 3823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3825 Likewise.
3826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3827 Likewise.
006f1daa
DM
3828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3832 Likewise.
006f1daa
DM
3833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3838 Likewise.
3839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3840 Likewise.
006f1daa
DM
3841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3864 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3865
11e0098e
AS
38662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3867
3868 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3869 scaling.
3870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3871
e85b09d0
AJ
38722012-03-15 Andreas Jaeger <aj@suse.de>
3873
3874 [BZ #13852]
3875 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3876 ieee754/flt-32 implementation for sin, cos and sincos.
3877 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3878 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3879 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3880 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3881 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3882 ieee754/flt-32 implementation for tan.
3883
3884 * math/libm-test.inc (cos_test): Enable some large input tests for
3885 float as well
3886 (sin_test): Likewise.
3887 (sincos_test): Likewise.
3888 (tan_test): Add tests for large input.
3889
3890 * sysdeps/i386/fpu/libm-test-ulps: Update.
3891
81c64153
AJ
38922012-03-15 Andreas Jaeger <aj@suse.de>
3893
3894 [BZ #13658]
3895 * math/libm-test.inc (cos_test): Add more test cases.
3896 (sin_test): Likewise.
3897 (sincos_test): Likewise.
3898
7bbfa5c6
AJ
38992012-03-15 Andreas Jaeger <aj@suse.de>
3900
3901 [BZ #13837]
3902 * math/libm-test.inc (cos_test): Add a test case for large input
3903 value.
3904 (sin_test): Likewise.
3905 (sincos_test): Likewise.
3906
39072012-03-15 Andreas Jaeger <aj@suse.de>,
3908 Joseph Myers <joseph@codesourcery.com>
3909
3910 [BZ #13658]
0671f479 3911 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3912 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3913 * sysdeps/i386/fpu/branred.c: Likewise.
3914 * sysdeps/i386/fpu/dosincos.c: Likewise.
3915 * sysdeps/i386/fpu/mpa.c: Likewise.
3916 * sysdeps/i386/fpu/s_cos.S: Likewise.
3917 * sysdeps/i386/fpu/s_sin.S: Likewise.
3918 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3919 * sysdeps/i386/fpu/sincos32.c: Likewise.
3920
3921 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3922 Define.
3923 (libc_feupdateenv_53bit): Define.
3924 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3925 Define.
3926 (libc_feupdateenv_53bit): Define.
3927
3928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3929 53 bit (without extend i386 double precision).
3930
3931 * math/libm-test.inc (sincos_test): Add tests for large input.
3932 (sin): Likewise.
3933 (cos): Likewise.
3934
3935 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3936
9cad04ea
AS
39372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3938
3939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3940
f7062b9a
DM
39412012-03-15 David S. Miller <davem@davemloft.net>
3942
3943 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3944 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3945 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3946 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3959 file.
f7062b9a 3960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3962 file.
f7062b9a 3963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3965 file.
f7062b9a 3966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3968 file.
f7062b9a
DM
3969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3971 fmin/fmax sysdep routines.
3972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3973
7bd951ff
DM
39742012-03-14 David S. Miller <davem@davemloft.net>
3975
559398ab
DM
3976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3980 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3981 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3982 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3983 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3996 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3997 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3998 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3999 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4000 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4001 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4002 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4003 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4005 routines.
4006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4007 file.
559398ab 4008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4010 file.
559398ab 4011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4013 file.
559398ab 4014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4016 file.
559398ab 4017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4019 file.
559398ab 4020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4022 file.
4023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4024 file.
4025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4026 file.
4027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4028 file.
4029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4030 New file.
4031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4032 file.
4033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4034 file.
559398ab 4035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4037 file.
559398ab 4038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4040 file.
559398ab 4041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4043 file.
559398ab 4044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4046 VIS3 routines.
559398ab
DM
4047
4048 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4049 New file.
4050
5a1c1e32
DM
4051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4052
eae47a36
DM
4053 * sysdeps/sparc/configure.in: New file.
4054 * sysdeps/sparc/configure: Generate.
4055 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4056 * configure: Regenerate.
4057 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4058 * config.make.in (have-as-vis3): New.
4059 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4060 available use -Av9d instead of -Av9a.
4061 * sysdeps/sparc/sparc64/Makefile: Likewise.
4062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4064 New file.
4065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4066 file.
4067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4068 New file.
4069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4070 file.
eae47a36
DM
4071 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4072 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4073 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4074 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4075 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4076
c0c83bc8
DM
4077 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4078 fzeros/fnegs to load 0x80000000 into a float register instead of
4079 using the stack.
7bd951ff
DM
4080 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4081
bd951ccb
JM
40822012-03-14 Joseph Myers <joseph@codesourcery.com>
4083
4084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4085 bits/syscall.h.
4086 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4087 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4088 ($(inst_includedir)/bits/syscall.h): Remove rule.
4089 ($(objpfx)bits/syscall.d): Include instead of
4090 $(objpfx)syscall-list.d.
4091 (generated): Change syscall-list.h and syscall-list.d to
4092 bits/syscall.h and bits/syscall.d.
4093
bb4e6db2
RM
40942012-03-14 Roland McGrath <roland@hack.frob.com>
4095
4096 [BZ #13846]
4097 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4098
aa4a2ae1
JM
40992012-03-14 Joseph Myers <joseph@codesourcery.com>
4100
e456826d
JM
4101 [BZ #13841]
4102 * math/s_csqrt.c: Include <float.h>.
4103 (__csqrt): Scale large or subnormal inputs.
4104 * math/s_csqrtf.c: Likewise.
4105 * math/s_csqrtl.c: Likewise.
4106 * math/libm-test.inc (csqrt_test): Add more tests.
4107 * sysdeps/i386/fpu/libm-test-ulps: Update.
4108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4109
aa4a2ae1
JM
4110 [BZ #13840]
4111 * math/libm-test.inc (hypot_test): Add more tests.
4112
7c10fd35
DM
41132012-03-13 David S. Miller <davem@davemloft.net>
4114
4115 [BZ #13840]
4116 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4117 double-precision for the calculation instead of scaling.
4118
f453b98b
JM
41192012-03-13 Joseph Myers <joseph@codesourcery.com>
4120
4121 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4122 manipulate bits before adding and subtracting TWO52[sx].
4123 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4124 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4125 Likewise.
4126 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4127
09a3453f
DM
41282012-03-13 David S. Miller <davem@davemloft.net>
4129
8e59da90
DM
4130 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4131 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4133 rtld-global-offsets.h
4134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4135
2a8ab7f2
DM
4136 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4137 large parameters.
4138
10f62770
DM
4139 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4140
5f0bdb18
DM
4141 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4142 'err' in the ifdef scope in which it is actually used.
4143
09a3453f
DM
4144 * nss/nss_db/db-init.c: Include string.h
4145
b4b2eb5e
DM
41462012-03-12 David S. Miller <davem@davemloft.net>
4147
98bb2f1c
DM
4148 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4149 masking out of the most significant byte of random value used.
4150 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4151 Fix coding style in previous change.
4152
b4b2eb5e
DM
4153 * sysdeps/unix/sysv/linux/kernel-features.h
4154 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4155 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4156 expression.
4157 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4158 later.
4159
6e226b09
DM
41602012-03-11 David S. Miller <davem@davemloft.net>
4161
a1bcbd40
DM
4162 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4163 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4164 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4165 for 'resultvar' otherwise things get truncated on 64-bit.
4166
cb9d6174
DM
4167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4168 Fix masking out of the most significant byte of random value used.
4169
6e226b09
DM
4170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4171
058c132d
AS
41722012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4173
4174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4175
2d2cd515
DM
41762012-03-09 David S. Miller <davem@davemloft.net>
4177
4178 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4179 variables with appropriate CPP guards.
4180 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4181 frame pointer, not the stack pointer. Correct layout comments. Fix test
4182 on resulting framesize and the management of the outregs buffer for pltexit.
4183 Preserve floating point return values across _dl_call_pltexit call.
4184 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4185 framesize and the management of the outregs buffer for pltexit.
4186 Preserve floating point return values across _dl_call_pltexit
4187 call.
4188 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4189 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4190 (print_exit): Fix format string for return register value.
4191
9a07f9d0
JM
41922012-03-10 Joseph Myers <joseph@codesourcery.com>
4193
4194 * sunrpc/Makefile (others): Add rpcgen.
4195 ($(objpfx)rpcgen): Remove special build rule and dependency on
4196 libc.
4197 * sunrpc/rpcgen.c: New file.
4198
547b5e30
PE
41992012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4200
c524201a
PE
4201 [BZ #13673]
4202 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4203 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4204 * sysdeps/i386/crti.S: Likewise.
4205 * sysdeps/i386/crtn.S: Likewise.
4206 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4207 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4208 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4209 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4210 * sysdeps/sh/crti.S: Likewise.
4211 * sysdeps/sh/crtn.S: Likewise.
4212 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4213
7b6235f2
PE
4214 [BZ #13673]
4215 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4216 with URL.
4217 * locale/programs/locfile-kw.gperf: Likewise.
4218 * locale/programs/charmap-kw.h: Regenerated.
4219 * locale/programs/locfile-kw.h: Likewise.
4220
547b5e30
PE
4221 [BZ #13673]
4222 * intl/plural.y: Replace FSF snail mail address with URL.
4223 * intl/plural.c: Regenerated.
4224
5f0a5dae
RH
42252012-03-09 Richard Henderson <rth@twiddle.net>
4226
4227 * include/math_private.h: Remove file.
4228 * math/math_private.h: Move file ...
4229 * sysdeps/generic/math_private.h: ... here.
4230
b8c03620
RH
4231 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4232 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4233 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4234
4e234f5d 4235 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4236 and <math_private.h>.
4237 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4238 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4239 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4240 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4241 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4281 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4282 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4283 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4284 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4285 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4288 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4290 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4291 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4293 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4294 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4295 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4296 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4298 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4299 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4300 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4301 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4303 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4304 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4305 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4306 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4307 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4308 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4309 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4310 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4311 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4313 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4314 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4315 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4316 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4317 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4318 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4319 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4320 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4321 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4323 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4324 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4325 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4326 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4327 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4328 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4329 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4330 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4331 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4332 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4333 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4334 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4335 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4336 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4337 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4338 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4339 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4340 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4341 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4342 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4343 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4344 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4345 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4346 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4347 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4348 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4349 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4350 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4351 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4352 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4353 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4354 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4355 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4356 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4357 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4358 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4359 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4360 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4361 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4362 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4363 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4364 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4365 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4366 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4367 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4368 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4369 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4370 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4371 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4372 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4373 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4374 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4375 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4376 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4377 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4378 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4379 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4380 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4381 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4382 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4383 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4384 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4385 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4386 * sysdeps/ieee754/k_standard.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4437 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4438 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4439 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4443 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4444 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4446 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4447 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4452 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4453 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4454 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4460 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4461 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4468 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4470 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4472 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4473 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4474 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4475 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4476 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4478 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4480 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4481 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4482 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4484 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4485 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4486 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4490 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4491 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4492 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4493 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4496 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4497 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4498 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4499 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4500 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4501 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4502 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4503 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4504 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4505 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4506 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4507 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4508 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4509 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4510 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4511 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4512 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4513 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4514 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4515 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4516 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4517 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4519 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4520 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4521 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4522 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4523 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4524 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4525 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4526 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4527 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4528 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4529 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4530 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4531 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4532 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4533 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4534 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4535 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4536 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4537 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4538 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4539 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4540 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4541 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4542 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4543 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4544 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4545 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4546 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4547 * sysdeps/ieee754/s_lib_version.c: Likewise.
4548 * sysdeps/ieee754/s_matherr.c: Likewise.
4549 * sysdeps/ieee754/s_signgam.c: Likewise.
4550 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4551 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4552 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4553 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4554 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4555 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4556 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4557 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4558 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4559 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4560 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4561 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4562 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4563 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4564 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4565 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4566 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4567 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4568 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4569 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4570 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4571
1991fa03
JM
45722012-03-09 Joseph Myers <joseph@codesourcery.com>
4573
4574 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4575 * sunrpc/rpc_main.c: Likewise.
4576 * sunrpc/rpc_svcout.c: Likewise.
4577
60d6f5a6
DM
45782012-03-09 David S. Miller <davem@davemloft.net>
4579
4580 * include/math_private.h: New file.
4581
4962050e
JM
45822012-03-09 Joseph Myers <joseph@codesourcery.com>
4583
02a6f887
JM
4584 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4585 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4586 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4587 from <bits/socket_type.h>.
4588 (enum __socket_type): Don't define here.
4589 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4591 bits/socket_type.h.
4592
c6e013c1
JM
4593 [BZ #13566]
4594 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4595 checking __USE_GNU.
4596
4962050e
JM
4597 * Makerules ($(inst_includedir)/%.h): New rule.
4598 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4599 (install-others): Remove variable setting.
4600 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4601
38842f45
RH
46022012-03-08 Richard Henderson <rth@twiddle.net>
4603
67bb6da6
RH
4604 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4605 from macro to inline function; merge with the
4606 !__LIBC_INTERNAL_MATH_INLINES version.
4607 (__ieee754_sqrtf): Likewise.
4608
15194b4b
RH
4609 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4610 to inline function.
4611 (__rintf, __floor, __floorf): Likewise.
4612
64e21ede
RH
4613 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4614 macro to inline function.
4615 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4616
38842f45
RH
4617 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4618 not <math/math_private.h>.
4619
c64bf5fe
DM
46202012-03-08 David S. Miller <davem@davemloft.net>
4621
4622 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4623 copyright year.
4624 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4625
82d86f28
TS
46262012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4627
4628 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4629 normalization.
4630 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4631 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4632
aea5d727
UD
46332012-03-08 Ulrich Drepper <drepper@gmail.com>
4634
4635 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4636 be defined individually, they must be defined as a block. Define
4637 S for printing a string instead of hidint the different by using a
4638 macro for adding the 'l'.
4639 * stdio-common/tst-fphex-wide.c: Adjust.
4640
70bca0a3
MP
46412012-03-07 Marek Polacek <polacek@redhat.com>
4642
4643 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4644
65b81130
MP
46452012-03-08 Marek Polacek <polacek@redhat.com>
4646
4647 [BZ #13806]
4648 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4649 * stdio-common/tst-fphex.c: Define a few macros to make the
4650 test reusable. Use them.
4651 * stdio-common/tst-fphex-wide.c: New file.
4652
07037eeb
JM
46532012-03-08 Joseph Myers <joseph@codesourcery.com>
4654
a7a93d50
JM
4655 [BZ #6911]
4656 * manual/macros.texi (gnusystems): New macro.
4657 (nongnusystems): Likewise.
4658 (gnulinuxhurdsystems): Likewise.
4659 (gnuhurdsystems): Likewise..
4660 (gnulinuxsystems): Likewise.
4661 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4662 variants of the GNU system, not "GNU system".
4663 * manual/conf.texi: Likewise.
4664 * manual/errno.texi: Likewise. Update example of errno macro
4665 expansion.
4666 * manual/filesys.texi: Likewise.
4667 (getumask): Document as specific to GNU/Hurd.
4668 * manual/install.texi: Likewise. Reword some references to
4669 GNU/Linux.
4670 * manual/intro.texi: Likewise.
4671 * manual/io.texi: Likewise.
4672 (File Name Portability): Detail which constraints are inapplicable
4673 to all GNU systems and which are only inapplicable to GNU/Hurd.
4674 * manual/job.texi: Likewise.
4675 * manual/llio.texi: Likewise.
4676 (O_NOCTTY): Document as present on GNU/Linux.
4677 * manual/maint.texi: Likewise.
4678 * manual/memory.texi: Likewise.
4679 * manual/pattern.texi: Likewise.
4680 * manual/pipe.texi: Likewise.
4681 * manual/process.texi: Likewise.
4682 * manual/resource.texi: Likewise.
4683 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4684 child on GNU/Hurd.
4685 * manual/setjmp.texi: Likewise.
4686 * manual/signal.texi: Likewise.
4687 * manual/startup.texi: Likewise.
4688 * manual/stdio.texi: Likewise.
4689 * manual/terminal.texi: Likewise.
4690 (ONLCR): Document as POSIX.
4691 (OXTABS): Document availability on GNU/Linux as XTABS.
4692 (ONOEOT): Document availability separately from other bits.
4693 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4694 * manual/time.texi: Likewise.
4695 * manual/users.texi: Likewise.
4696 * INSTALL: Regenerated.
4697 * sysdeps/gnu/errlist.c: Regenerated.
4698
07037eeb
JM
4699 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4700 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4701 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4702 puts.
4703 * configure: Regenerated.
4704
d1d3431a
JM
47052012-03-07 Joseph Myers <joseph@codesourcery.com>
4706
af6a1e37
JM
4707 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4708 default includes instead of AC_HEADER_CHECK.
4709 * sysdeps/i386/configure: Regenerated.
4710
d1d3431a
JM
4711 [BZ #10716]
4712 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4713 * math/s_cacoshf.c (__cacoshf): Likewise.
4714 * math/s_cacoshl.c (__cacoshl): Likewise.
4715 * math/s_casinh.c (__casinh): Set signs of result from argument.
4716 * math/s_casinhf.c (__casinhf): Likewise.
4717 * math/s_casinhl.c (__casinhl): Likewise.
4718 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4719 (casinh_test): Add more tests.
4720 * sysdeps/i386/fpu/libm-test-ulps: Update.
4721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4722
482ff4da
UD
47232012-03-07 Ulrich Drepper <drepper@gmail.com>
4724
872fda05
UD
4725 * po/zh_TW.po: Update from translation team.
4726
a4300c7a
UD
4727 * login/Makefile (distribute): Remove variable.
4728 * catgets/Makefile: Likewise.
4729 * mach/Makefile: Likewise.
4730 * malloc/Makefile: Likewise.
4731 * misc/Makefile: Likewise.
4732 * iconv/Makefile: Likewise.
4733 * nscd/Makefile: Likewise.
4734 * hurd/Makefile: Likewise.
4735 * manual/Makefile: Likewise.
4736 * locale/Makefile: Likewise.
4737 * intl/Makefile: Likewise.
4738 * conform/Makefile: Likewise.
4739 * nss/Makefile: Likewise.
4740 * time/Makefile: Likewise.
4741 * soft-fp/Makefile: Likewise.
4742 * dirent/Makefile: Likewise.
4743 * gmon/Makefile: Likewise.
4744 * po/Makefile: Likewise.
4745 * rt/Makefile: Likewise.
4746 * socket/Makefile: Likewise.
4747 * math/Makefile: Likewise.
4748 * signal/Makefile: Likewise.
4749 * debug/Makefile: Likewise.
4750 * elf/Makefile: Likewise.
4751 * timezone/Makefile: Likewise.
4752 * stdlib/Makefile: Likewise.
4753 * iconvdata/Makefile: Likewise.
4754 * sunrpc/Makefile: Likewise.
4755 * io/Makefile: Likewise.
4756 * argp/Makefile: Likewise.
4757 * inet/Makefile: Likewise.
4758 * hesiod/Makefile: Likewise.
4759 * grp/Makefile: Likewise.
4760 * csu/Makefile: Likewise.
4761 * wctype/Makefile: Likewise.
4762 * crypt/Makefile: Likewise.
4763 * libio/Makefile: Likewise.
4764 * string/Makefile: Likewise.
4765 * nis/Makefile: Likewise.
4766 * resolv/Makefile: Likewise.
4767 * stdio-common/Makefile: Likewise.
4768 * wcsmbs/Makefile: Likewise.
4769 * dlfcn/Makefile: Likewise.
4770 * posix/Makefile: Likewise.
4771
3b7c4e74 4772 [BZ #6959]
482ff4da
UD
4773 * timezone/Makefile: Don't install timezone files, just the programs
4774 and scripts.
4775
f72ed77d
UD
47762012-03-06 Ulrich Drepper <drepper@gmail.com>
4777
a000466f
UD
4778 * nss/databases.def: Add missing gshadow entry.
4779
f72ed77d
UD
4780 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4781
a53b7a4e
MP
47822012-03-06 Marek Polacek <polacek@redhat.com>
4783
4784 [BZ #13726]
4785 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4786 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4787 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4788 * stdio-common/tst-long-dbl-fphex.c: New file.
4789
e9258400
DM
47902012-03-06 David S. Miller <davem@davemloft.net>
4791
4792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4793 (set_obp_int): New function.
4794 (get_obp_int): New function.
4795 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4796 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4797 Avoid unused variable warnings on 'val' and use builtin_expect.
4798 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4799 __builtin_expect.
e9258400
DM
4800 (INLINE_CLONE_SYSCALL): Likewise.
4801
3bd2c723
DM
48022012-03-05 David S. Miller <davem@davemloft.net>
4803
4804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4805
bbb78d03
AS
48062012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4807
884c5db4
AS
4808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4809
bbb78d03
AS
4810 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4811 only for |x| >= 40.
4812 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4813
1c9f702a 48142012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4815
4816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4817 Replace gettimeofday with __vdso_gettimeofday.
4818
7be16f82
RM
4819 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4820 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4821 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4822
4823 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4824 time with __vdso_time.
4825
ed58a00f
JM
48262012-03-05 Joseph Myers <joseph@codesourcery.com>
4827
4828 * manual/lang.texi (size_t): Note types to which size_t may be
4829 equivalent with the GNU C Library, but do not describe when
4830 differences between them are significant.
4831
30ee4ced
AJ
48322012-03-05 Andreas Jaeger <aj@suse.de>
4833
4834 * sysdeps/i386/fpu/libm-test-ulps: Update.
4835
b7cd39e8
JM
48362012-03-05 Joseph Myers <joseph@codesourcery.com>
4837
4838 [BZ #3976]
4839 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4840 (__ieee754_pow): Save and restore rounding mode and use
4841 round-to-nearest for main computations.
4842 * math/libm-test.inc (pow_test_tonearest): New function.
4843 (pow_test_towardzero): Likewise.
4844 (pow_test_downward): Likewise.
4845 (pow_test_upward): Likewise.
4846 (main): Call the new functions.
4847 * sysdeps/i386/fpu/libm-test-ulps: Update.
4848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4849
4850 [BZ #3976]
4851 * math/libm-test.inc (cosh_test_tonearest): New function.
4852 (cosh_test_towardzero): Likewise.
4853 (cosh_test_downward): Likewise.
4854 (cosh_test_upward): Likewise.
4855 (sinh_test_tonearest): Likewise.
4856 (sinh_test_towardzero): Likewise.
4857 (sinh_test_downward): Likewise.
4858 (sinh_test_upward): Likewise.
4859 (main): Call the new functions.
4860 * sysdeps/i386/fpu/libm-test-ulps: Update.
4861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4862
6c6a98c9
TV
48632012-03-05 Tom de Vries <tom@codesourcery.com>
4864
4865 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4866 default stack guard is set in last bytes.
4867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4868
21bb2d2e 48692012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4870
21bb2d2e 4871 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4872
21bb2d2e
AJ
4873 [BZ #13656]
4874 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4875 possibly allocate from heap instead of stack.
4876 * stdio-common/bug-vfprintf-nargs.c: New file.
4877 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4878
c6922934
AS
48792012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4880
4881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4882
bc957d53
MP
48832012-03-03 Marek Polacek <polacek@redhat.com>
4884
4885 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4886 * math/math_private.h: Likewise.
4887 * stdlib/tst-strtod.c: Likewise.
4888 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4889 * sysdeps/x86_64/bits/atomic.h: Likewise.
4890
6358490d
DM
48912012-03-02 David S. Miller <davem@davemloft.net>
4892
4893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4897 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4898 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4899 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4900 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4901
01ae168d
RM
49022012-03-02 Roland McGrath <roland@hack.frob.com>
4903
d9a17c07
RM
4904 [BZ #13792]
4905 * manual/examples/README: New file, says the example source files
4906 can be used under GPL>=2.
4907 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4908 line containing just "*/".
4909 * manual/examples/add.c: Add copyright header (GPL>=2).
4910 * manual/examples/argp-ex1.c: Likewise.
4911 * manual/examples/argp-ex2.c: Likewise.
4912 * manual/examples/argp-ex3.c: Likewise.
4913 * manual/examples/argp-ex4.c: Likewise.
4914 * manual/examples/atexit.c: Likewise.
4915 * manual/examples/db.c: Likewise.
4916 * manual/examples/dir.c: Likewise.
4917 * manual/examples/dir2.c: Likewise.
4918 * manual/examples/execinfo.c: Likewise.
4919 * manual/examples/filecli.c: Likewise.
4920 * manual/examples/filesrv.c: Likewise.
4921 * manual/examples/fmtmsgexpl.c: Likewise.
4922 * manual/examples/genpass.c: Likewise.
4923 * manual/examples/inetcli.c: Likewise.
4924 * manual/examples/inetsrv.c: Likewise.
4925 * manual/examples/isockad.c: Likewise.
4926 * manual/examples/longopt.c: Likewise.
4927 * manual/examples/memopen.c: Likewise.
4928 * manual/examples/memstrm.c: Likewise.
4929 * manual/examples/mkfsock.c: Likewise.
4930 * manual/examples/mkisock.c: Likewise.
4931 * manual/examples/mygetpass.c: Likewise.
4932 * manual/examples/pipe.c: Likewise.
4933 * manual/examples/popen.c: Likewise.
4934 * manual/examples/rprintf.c: Likewise.
4935 * manual/examples/search.c: Likewise.
4936 * manual/examples/select.c: Likewise.
4937 * manual/examples/setjmp.c: Likewise.
4938 * manual/examples/sigh1.c: Likewise.
4939 * manual/examples/sigusr.c: Likewise.
4940 * manual/examples/stpcpy.c: Likewise.
4941 * manual/examples/strdupa.c: Likewise.
4942 * manual/examples/strftim.c: Likewise.
4943 * manual/examples/strncat.c: Likewise.
4944 * manual/examples/subopt.c: Likewise.
4945 * manual/examples/swapcontext.c: Likewise.
4946 * manual/examples/termios.c: Likewise.
4947 * manual/examples/testopt.c: Likewise.
4948 * manual/examples/testpass.c: Likewise.
4949 * manual/examples/timeval_subtract.c: Likewise.
4950
01ae168d
RM
4951 [BZ #13792]
4952 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4953 function to ...
4954 * manual/timeval_subtract.c.texi: ... here, new file.
4955
49efa33d
DM
49562012-03-02 David S. Miller <davem@davemloft.net>
4957
4958 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4959
28afd92d
JM
49602012-03-02 Joseph Myers <joseph@codesourcery.com>
4961
804360ed
JM
4962 [BZ #3976]
4963 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4964 (__sin): Save and restore rounding mode and use round-to-nearest
4965 for all computations.
4966 (__cos): Save and restore rounding mode and use round-to-nearest
4967 for all computations.
4968 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4969 <fenv.h>.
4970 (tan): Save and restore rounding mode and use round-to-nearest for
4971 all computations.
4972 * math/libm-test.inc (cos_test_tonearest): New function.
4973 (cos_test_towardzero): Likewise.
4974 (cos_test_downward): Likewise.
4975 (cos_test_upward): Likewise.
4976 (sin_test_tonearest): Likewise.
4977 (sin_test_towardzero): Likewise.
4978 (sin_test_downward): Likewise.
4979 (sin_test_upward): Likewise.
4980 (tan_test_tonearest): Likewise.
4981 (tan_test_towardzero): Likewise.
4982 (tan_test_downward): Likewise.
4983 (tan_test_upward): Likewise.
4984 (main): Call the new functions.
4985 * sysdeps/i386/fpu/libm-test-ulps: Update.
4986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4987
a6d06d7b
JM
4988 [BZ #10135]
4989 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4990 small n, then large n, before computing and testing k+n.
4991 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4992 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4993 Likewise.
4994 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4995 Likewise.
4996 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4997 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4998 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4999 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5000 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5001 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5002 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5003 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5004 * math/libm-test.inc (scalbn_test): Add more tests.
5005 (scalbln_test): Likewise.
5006
07e12bb3
JM
5007 * manual/filesys.texi (mode_t): Describe constraints on size and
5008 signedness, not exact equivalence to a particular type.
5009 (ino_t): Likewise.
5010 (ino64_t): Likewise.
5011 (dev_t): Likewise.
5012 (nlink_t): Likewise.
5013 (blkcnt_t): Likewise.
5014 (blkcnt64_t): Likewise.
5015 * manual/llio.texi (off_t): Likewise.
5016
28afd92d
JM
5017 [BZ #3976]
5018 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5019 (__ieee754_exp): Save and restore rounding mode and use
5020 round-to-nearest for all computations.
5021 * math/libm-test.inc (exp_test_tonearest): New function.
5022 (exp_test_towardzero): Likewise.
5023 (exp_test_downward): Likewise.
5024 (exp_test_upward): Likewise.
5025 (main): Call the new functions.
5026 * sysdeps/i386/fpu/libm-test-ulps: Update.
5027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5028
b1eeb65d
CD
50292012-03-01 Chris Demetriou <cgd@google.com>
5030
5031 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5032 have predictable order.
5033
53362a4b
DM
50342012-03-01 David S. Miller <davem@davemloft.net>
5035
3c969083
DM
5036 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5037
759707de
DM
5038 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5039 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5040 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5041 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5042
dfdb8ff2
DM
5043 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5044 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5045 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5047 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5048 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5049 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5050 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5051 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5052
ead89f96
DM
5053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5054
7f66bd07
DM
5055 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5056 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5057 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5058
53362a4b
DM
5059 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5060 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5061 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5062 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5063 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5064 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5065 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5066 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5067 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5068 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5069 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5070 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5071 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5072 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5073 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5074 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5075 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5076 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5077 * sysdeps/sparc/elf/configure: Regenerated.
5078
7b1902cb
JM
50792012-03-01 Joseph Myers <joseph@codesourcery.com>
5080
bec039bc
JM
5081 * configure.in (AS, LD): Require binutils 2.20 or later.
5082 * configure: Regenerated.
5083 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5084 as required minimum version.
5085 * INSTALL: Regenerated.
5086
7b1902cb
JM
5087 [BZ #2541]
5088 [BZ #4108]
5089 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5090 before squaring exponent.
5091 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5092 bottom long double and 27 bits of top long double before squaring
5093 exponent.
5094 * math/libm-test.inc (erfc_test): Add more tests.
5095 * sysdeps/i386/fpu/libm-test-ulps: Update.
5096 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5098
f775c276
KT
50992012-03-01 Kai Tietz <ktietz@redhat.com>
5100
5101 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5102 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5103 containing bit-fields.
5104 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5105 * soft-fp/single.h (_FP_UNION_S): Likewise.
5106 * soft-fp/double.h (_FP_UNION_D): Likewise.
5107
5b8a4d4a
JM
51082012-02-29 Joseph Myers <joseph@codesourcery.com>
5109
0bab47b6
JM
5110 [BZ #13786]
5111 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5112 not include ../strcmp.S.
5113 [USE_AS_STRNCASECMP_L]: Likewise.
5114 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5115 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5116 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5117 (__strncasecmp_l_ia32): Define as alias to
5118 __strncasecmp_l_nonascii.
5119
0fcad3e2
JM
5120 [BZ #5794]
5121 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5122 * sysdeps/i386/fpu/libm-test-ulps: Update.
5123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5124
5b8a4d4a
JM
5125 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5127
8fdceb2e
JL
51282012-02-29 Jeff Law <law@redhat.com>
5129
5130 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5131 out of bounds read.
5132
1f393a11
MP
51332012-02-29 Marek Polacek <polacek@redhat.com>
5134
5135 [BZ #13706]
5136 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5137 * elf/Makefile: Add rules to run tst-unused-dep.out.
5138
8847f037
DM
51392012-02-28 David S. Miller <davem@davemloft.net>
5140
5141 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5142 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5143 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5144 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5145 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5146 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5147
169d7f11
JM
51482012-02-29 Joseph Myers <joseph@codesourcery.com>
5149
5150 * math/libm-test.inc (llround_test): Move one test from
5151 lround_test. Use TEST_f_L in moved test.
5152 (lround_test): Move misplaced test to llround_test. Add testcase
5153 from bug 2561.
5154
39adf059
UD
51552012-02-28 Ulrich Drepper <drepper@gmail.com>
5156
5157 * sysdeps/x86_64/fpu/e_expf.S: New file.
5158 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5159
71b5d1c5
SB
51602012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5161
5162 [BZ #13637]
5163 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5164 of remain_len that may cause incomplete multi-byte character and
5165 false match.
5166 * posix/bug-regex33.c: New file.
5167 * posix/Makefile (tests): Add bug-regex33.
5168
1f77f049
JM
51692012-02-28 Joseph Myers <joseph@codesourcery.com>
5170
5171 * manual/macros.texi: New file.
5172 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5173 * manual/libc.texinfo: Include macros.texi.
5174 * manual/creatute.texi: Likewise.
5175 * manual/install.texi: Likewise.
5176 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5177 @glibcadj{} in references to the GNU C Library.
5178 * manual/charset.texi: Likewise.
5179 * manual/conf.texi: Likewise.
5180 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5181 when not using those macros.
5182 * manual/creature.texi: Likewise.
5183 * manual/crypt.texi: Likewise.
5184 * manual/errno.texi: Likewise.
5185 * manual/filesys.texi: Likewise.
5186 * manual/header.texi: Likewise.
5187 * manual/install.texi: Likewise.
5188 * manual/intro.texi: Likewise.
5189 * manual/io.texi: Likewise.
5190 * manual/job.texi: Likewise.
5191 * manual/lang.texi: Likewise.
5192 * manual/libc.texiinfo: Likewise.
5193 * manual/llio.texi: Likewise.
5194 * manual/locale.texi: Likewise.
5195 * manual/maint.texi: Likewise.
5196 * manual/math.texi: Likewise.
5197 * manual/memory.texi: Likewise.
5198 * manual/message.texi: Likewise.
5199 * manual/nss.texi: Likewise.
5200 * manual/pattern.texi: Likewise.
5201 * manual/process.texi: Likewise.
5202 * manual/resource.texi: Likewise.
5203 * manual/search.texi: Likewise.
5204 * manual/setjmp.texi: Likewise.
5205 * manual/signal.texi: Likewise.
5206 * manual/socket.texi: Likewise.
5207 * manual/startup.texi: Likewise.
5208 * manual/stdio.texi: Likewise.
5209 * manual/string.texi: Likewise.
5210 * manual/sysinfo.texi: Likewise.
5211 * manual/syslog.texi: Likewise.
5212 * manual/terminal.texi: Likewise.
5213 * manual/time.texi: Likewise.
5214 * manual/users.texi: Likewise.
5215 * INSTALL: Regenerated.
5216 * NOTES: Regenerated.
d40c5d54 5217 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5218
450bf206
AS
52192012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5220
5221 * include/dirent.h: Include <dirstream.h> before
5222 <dirent/dirent.h>.
5223
741a235b
DM
52242012-02-28 David S. Miller <davem@davemloft.net>
5225
5226 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5227 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5228 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5229 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5230
d6b5aa58
DM
52312012-02-27 David S. Miller <davem@davemloft.net>
5232
1aff59a3
DM
5233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5235 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5236 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5237
d6b5aa58
DM
5238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5239 frame pointer instead of stack pointer relative arg slot.
5240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5241 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5242 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5243
433f48bf
CD
52442012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5245
5246 [BZ #3992]
5247 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5248
d674b76d
DM
52492012-02-27 David S. Miller <davem@davemloft.net>
5250
5251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5255 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5256 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5257 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5258 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5259
0e7727f7
JM
52602012-02-27 Joseph Myers <joseph@codesourcery.com>
5261
5262 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5263 later. Allow versions 5-9.
43be4ca2 5264 * configure: Regenerated.
0e7727f7
JM
5265 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5266 required minimum version and 4.6 as recommended version. Do not
5267 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5268 * INSTALL: Regenerated.
0e7727f7 5269
a78bc654
DM
52702012-02-27 David S. Miller <davem@davemloft.net>
5271
428d5830
DM
5272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5276 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5277 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5278 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5279 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5280
a78bc654
DM
5281 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5282 manipulate bits before adding and subtracting TWO112[sx].
5283 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5284
4579f81c
RM
52852012-02-27 Roland McGrath <roland@hack.frob.com>
5286
36c8acb4
RM
5287 [BZ #13775]
5288 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5289 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5290 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5291 being in POSIX, because they are in 1003.1-2008.
5292
84ad622b
RM
5293 * rt/tst-aio.c: Include <fcntl.h>.
5294 * rt/tst-aio7.c: Likewise.
5295 * rt/tst-aio64.c: Likewise.
5296
4579f81c
RM
5297 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5298
abd923db
JM
52992012-02-27 Joseph Myers <joseph@codesourcery.com>
5300
5301 * manual/install.texi (--with-headers): Describe headers as
5302 interface headers, not private headers.
5303 (Specific advice for GNU/Linux systems): Describe use of headers
5304 from "make headers_install", not private headers from older
5305 kernels.
43be4ca2 5306 * INSTALL: Regenerated.
abd923db
JM
5307 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5308 Change to 2.6.19.
5309 * sysdeps/unix/sysv/linux/configure: Regenerated.
5310
6664049b
JM
5311 * manual/llio.texi (fclean): Remove documentation.
5312
bb8b6697
JM
5313 * manual/Makefile (libc-texi-generated): New variable. Include
5314 version.texi.
5315 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5316 $(libc-texi-generated), not duplicated list of files.
5317 (version.texi, stamp-version): New rules.
5318 (realclean): Remove $(libc-texi-generated), not individual files
5319 from that list. Do not remove dir-add.texinfo.
5320 * manual/libc.texinfo: Comment out uses of edition numbers and
5321 references to printed manual. Remove last-updated dates.
5322 (EDITION): Comment out.
5323 (ISBN): Likewise.
5324 (VERSION, UPDATED): Remove.
5325 (version.texi): Include.
5326
12e5c3b9
AS
53272012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5328
5329 * sysdeps/posix/spawni.c: Include <signal.h>.
5330 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5331 * sysdeps/pthread/aio_fsync.c: Likewise.
5332
4efeffc1 53332012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5334
ba63ba08
UD
5335 * conform/Makefile (tests): Run only when not cross-compiling and
5336 when fast-check is not defined.
5337
d94a4670
UD
5338 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5339 * conform/data/limits.h-data: Fixes for POSIX2008.
5340 * conform/run-conformtest.sh: Run all tests.
5341 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5342 headers.
5343 * include/bits/dlfcn.h: Likewise.
5344 * include/langinfo.h: Likewise.
5345 * include/monetary.h: Likewise.
5346 * include/sys/poll.h: Likewise.
5347
5348 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5349 for __USE_GNU.
5350 * posix/spawn.h: Define __need_sigset_t.
5351 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5352 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5353 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5354 to get sigevent_t only.
5355 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5356 only for __USE_GNU.
5357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5358 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5359 process_vm_writev only for __USE_GNU.
5360 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5361
5362 * conform/Makefile: For now ignore errors from run-conformtest.
5363 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5364 POSIX to avoid namespace pollution. Don't prepend headers.
5365 * conform/data/aio.h-data: Fixes for POSIX testing.
5366 * conform/data/fcntl.h-data: Likewise.
5367 * conform/data/glob.h-data: Likewise.
5368 * conform/data/grp.h-data: Likewise.
5369 * conform/data/pthread.h-data: Likewise.
5370 * conform/data/pwd.h-data: Likewise.
5371 * conform/data/signal.h-data: Likewise.
5372 * conform/data/spawn.h-data: Likewise.
5373 * conform/data/stdio.h-data: Likewise.
5374 * conform/data/stdlib.h-data: Likewise.
5375 * conform/data/stropts.h-data: Likewise.
5376 * conform/data/sys/mman.h-data: Likewise.
5377 * conform/data/sys/stat.h-data: Likewise.
5378 * conform/data/sys/types.h-data: Likewise.
5379 * conform/data/sys/wait.h-data: Likewise.
5380 * conform/data/time.h-data: Likewise.
5381 * conform/data/unistd.h-data: Likewise.
5382 * conform/data/utime.h-data: Likewise.
5383
5384 * io/sys/stat.h: fchmod was always in POSIX.
5385 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5386 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5387 * rt/aio.h: Define __need_timespec before including <time.h>.
5388 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5389 struct. Add forward declaration of pthread_attr_t and use it in
5390 sigevent.
5391 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5392 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5393 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5394 always remove CLK_TCK definition.
5395
c20105c3
AS
53962012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5397
5398 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5399
7a270350
UD
54002012-02-25 Ulrich Drepper <drepper@gmail.com>
5401
31341567
UD
5402 * conform/run-conformtest.sh: New file.
5403 * conform/Makefile: Run run-conformtest for tests.
5404 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5405 support.
5406
5407 * conform/data/uchar.h-data: New file.
5408 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5409 * conform/data/arpa/inet.h-data: Likewise.
5410 * conform/data/assert.h-data: Likewise.
5411 * conform/data/complex.h-data: Likewise.
5412 * conform/data/cpio.h-data: Likewise.
5413 * conform/data/ctype.h-data: Likewise.
5414 * conform/data/dirent.h-data: Likewise.
5415 * conform/data/dlfcn.h-data: Likewise.
5416 * conform/data/errno.h-data: Likewise.
5417 * conform/data/fcntl.h-data: Likewise.
5418 * conform/data/float.h-data: Likewise.
5419 * conform/data/fmtmsg.h-data: Likewise.
5420 * conform/data/fnmatch.h-data: Likewise.
5421 * conform/data/ftw.h-data: Likewise.
5422 * conform/data/glob.h-data: Likewise.
5423 * conform/data/grp.h-data: Likewise.
5424 * conform/data/iconv.h-data: Likewise.
5425 * conform/data/inttypes.h-data: Likewise.
5426 * conform/data/langinfo.h-data: Likewise.
5427 * conform/data/libgen.h-data: Likewise.
5428 * conform/data/limits.h-data: Likewise.
5429 * conform/data/locale.h-data: Likewise.
5430 * conform/data/math.h-data: Likewise.
5431 * conform/data/monetary.h-data: Likewise.
5432 * conform/data/mqueue.h-data: Likewise.
5433 * conform/data/ndbm.h-data: Likewise.
5434 * conform/data/net/if.h-data: Likewise.
5435 * conform/data/netdb.h-data: Likewise.
5436 * conform/data/netinet/in.h-data: Likewise.
5437 * conform/data/nl_types.h-data: Likewise.
5438 * conform/data/poll.h-data: Likewise.
5439 * conform/data/pthread.h-data: Likewise.
5440 * conform/data/pwd.h-data: Likewise.
5441 * conform/data/regex.h-data: Likewise.
5442 * conform/data/sched.h-data: Likewise.
5443 * conform/data/search.h-data: Likewise.
5444 * conform/data/semaphore.h-data: Likewise.
5445 * conform/data/setjmp.h-data: Likewise.
5446 * conform/data/signal.h-data: Likewise.
5447 * conform/data/spawn.h-data: Likewise.
5448 * conform/data/stdarg.h-data: Likewise.
5449 * conform/data/stdio.h-data: Likewise.
5450 * conform/data/stdlib.h-data: Likewise.
5451 * conform/data/string.h-data: Likewise.
5452 * conform/data/strings.h-data: Likewise.
5453 * conform/data/stropts.h-data: Likewise.
5454 * conform/data/sys/ipc.h-data: Likewise.
5455 * conform/data/sys/mman.h-data: Likewise.
5456 * conform/data/sys/msg.h-data: Likewise.
5457 * conform/data/sys/resource.h-data: Likewise.
5458 * conform/data/sys/select.h-data: Likewise.
5459 * conform/data/sys/sem.h-data: Likewise.
5460 * conform/data/sys/shm.h-data: Likewise.
5461 * conform/data/sys/socket.h-data: Likewise.
5462 * conform/data/sys/stat.h-data: Likewise.
5463 * conform/data/sys/statvfs.h-data: Likewise.
5464 * conform/data/sys/time.h-data: Likewise.
5465 * conform/data/sys/timeb.h-data: Likewise.
5466 * conform/data/sys/times.h-data: Likewise.
5467 * conform/data/sys/types.h-data: Likewise.
5468 * conform/data/sys/uio.h-data: Likewise.
5469 * conform/data/sys/un.h-data: Likewise.
5470 * conform/data/sys/utsname.h-data: Likewise.
5471 * conform/data/sys/wait.h-data: Likewise.
5472 * conform/data/syslog.h-data: Likewise.
5473 * conform/data/tar.h-data: Likewise.
5474 * conform/data/termios.h-data: Likewise.
5475 * conform/data/utime.h-data: Likewise.
5476 * conform/data/utmpx.h-data: Likewise.
5477 * conform/data/varargs.h-data: Likewise.
5478 * conform/data/wchar.h-data: Likewise.
5479 * conform/data/wctype.h-data: Likewise.
5480 * conform/data/wordexp.h-data: Likewise.
5481
5482 * include/stropts.h: New file.
5483 * include/uchar.h: New file.
5484 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5485 * include/assert.h: Likewise.
5486 * include/ctype.h: Likewise.
5487 * include/dirent.h: Likewise.
5488 * include/dlfcn.h: Likewise.
5489 * include/fcntl.h: Likewise.
5490 * include/fnmatch.h: Likewise.
5491 * include/glob.h: Likewise.
5492 * include/grp.h: Likewise.
5493 * include/libio.h: Likewise.
5494 * include/locale.h: Likewise.
5495 * include/math.h: Likewise.
5496 * include/net/if.h: Likewise.
5497 * include/netdb.h: Likewise.
5498 * include/netinet/in.h: Likewise.
5499 * include/pthread.h: Likewise.
5500 * include/pwd.h: Likewise.
5501 * include/regex.h: Likewise.
5502 * include/sched.h: Likewise.
5503 * include/search.h: Likewise.
5504 * include/setjmp.h: Likewise.
5505 * include/signal.h: Likewise.
5506 * include/stdio.h: Likewise.
5507 * include/stdlib.h: Likewise.
5508 * include/string.h: Likewise.
5509 * include/sys/cdefs.h: Likewise.
5510 * include/sys/mman.h: Likewise.
5511 * include/sys/msg.h: Likewise.
5512 * include/sys/resource.h: Likewise.
5513 * include/sys/select.h: Likewise.
5514 * include/sys/socket.h: Likewise.
5515 * include/sys/stat.h: Likewise.
5516 * include/sys/statvfs.h: Likewise.
5517 * include/sys/time.h: Likewise.
5518 * include/sys/times.h: Likewise.
5519 * include/sys/uio.h: Likewise.
5520 * include/sys/utsname.h: Likewise.
5521 * include/sys/wait.h: Likewise.
5522 * include/termios.h: Likewise.
5523 * include/time.h: Likewise.
5524 * include/ulimit.h: Likewise.
5525 * include/unistd.h: Likewise.
5526 * include/utime.h: Likewise.
5527 * include/wchar.h: Likewise.
5528 * include/wctype.h: Likewise.
5529 * include/wordexp.h: Likewise.
5530
5531 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5532
7a270350
UD
5533 * time/time.h: TIME_UTC must be a macro.
5534 Make timespec_get available for ISO C11 only as well.
5535
7724defc
UD
55362012-02-24 Ulrich Drepper <drepper@gmail.com>
5537
5538 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5539 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5540
6b1d1d46
JM
55412012-02-24 Joseph Myers <joseph@codesourcery.com>
5542
5543 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5544
0f8bbd69
JM
55452012-02-24 Joseph Myers <joseph@codesourcery.com>
5546
5547 * manual/texinfo.tex: Update to version 2012-01-19.16.
5548
66ab80bc
JM
55492012-02-24 Joseph Myers <joseph@codesourcery.com>
5550
5551 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5552
74981cc5
RM
55532012-02-24 Roland McGrath <roland@hack.frob.com>
5554
ee968201
RM
5555 [BZ #13738]
5556 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5557 * manual/fdl-1.3.texi: New file.
5558 * manual/fdl-1.1.texi: File removed.
5559
74981cc5
RM
5560 [BZ #13738]
5561 * manual/libc.texinfo (FDL_VERSION): New @set.
5562 Use it for mention of FDL in cover text.
5563 (Documentation License): Use it in @include file name.
5564
7bb764bc
JM
55652012-02-22 Joseph Myers <joseph@codesourcery.com>
5566 Roland McGrath <roland@hack.frob.com>
5567
5568 [BZ #5461]
5569 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5570 not LONG_LONG_MAX and LONG_LONG_MIN.
5571 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5572 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5573 name.
5574 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5575
6cbeae47
JM
55762012-02-22 Joseph Myers <joseph@codesourcery.com>
5577
5578 [BZ #2547]
5579 [BZ #11365]
5580 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5581 manipulate bits before adding and subtracting TWO23[sx].
5582 * math/libm-test.inc (nearbyint_test): Add more tests.
5583
fe45ce09
JM
55842012-02-22 Joseph Myers <joseph@codesourcery.com>
5585
5586 [BZ #2548]
5587 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5588 bits before adding and subtracting TWO23[sx].
5589 * math/libm-test.inc (rint_test): Add more tests.
5590 (rint_test_tonearest): Likewise.
5591 (rint_test_towardzero): Likewise.
5592 (rint_test_downward): Likewise.
5593 (rint_test_upward: Likewise.
5594
ff3b3d82
JM
55952012-02-22 Joseph Myers <joseph@codesourcery.com>
5596
5597 [BZ #10110]
5598 * include/stdc-predef.h: New file. Extracted from features.h.
5599 * include/features.h: Include stdc-predef.h.
5600 * Makefile (headers): Add stdc-predef.h.
5601 * CONFORMANCE (Compiler limitations): Update.
5602
ef0aab35
JM
56032012-02-22 Joseph Myers <joseph@codesourcery.com>
5604
5605 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5606
58639409
DM
56072012-02-21 David S. Miller <davem@davemloft.net>
5608
5609 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5610 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5611
c0e70b25
DM
56122012-02-20 David S. Miller <davem@davemloft.net>
5613
5614 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5615 using a normal save/restore sequence, rather than allocating a
5616 dummy stack frame just to store a frame pointer and restore.
5617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5618
fb06851d
JM
56192012-02-21 Joseph Myers <joseph@codesourcery.com>
5620
5621 * manual/install.texi: Fix stray word in line-wrapped comment.
5622
7a8b71c3
DM
56232012-02-20 David S. Miller <davem@davemloft.net>
5624
d510c123
DM
5625 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5626 both binutils and gcc support GOTDATA.
5627
0722d7c2
DM
5628 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5629 "rd %pc" in the PIC register setup sequences.
5630
3d2b3019
DM
5631 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5632 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5633 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5634 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5635 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5636 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5637 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5638 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5639 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5640 (SYSCALL_ERROR_HANDLER): Likewise.
5641 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5642 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5644 (SYSCALL_ERROR_HANDLER): Likewise.
5645
c80098a9
DM
5646 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5647 (HAVE_GCC_GOTDATA): New.
5648 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5649 relocation support in both binutils and gcc.
5650 * sysdeps/sparc/elf/configure: Regenerate.
5651
3a2545a0
DM
5652 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5653 * sysdeps/sparc/sparc32/elf/configure: Delete.
5654 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5655 * sysdeps/sparc/sparc64/elf/configure: Delete.
5656 * sysdeps/sparc/elf/configure.in: New file.
5657 * sysdeps/sparc/elf/configure: Generate.
5658
7a8b71c3
DM
5659 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5660 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5661 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5662 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5663 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5664
f1e86fca
JM
56652012-02-21 Joseph Myers <joseph@codesourcery.com>
5666
5667 * manual/install.texi: Do not mention specific glibc version
5668 numbers.
5669 * manual/libc.texinfo (VERSION, UPDATED): Update.
5670 (@copying): Use @copyright{} and range of years.
5671
0e7dfaef
JM
56722012-02-21 Joseph Myers <joseph@codesourcery.com>
5673
5674 [BZ #13695]
5675 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5676 [crti.S not in sysdirs] (generated): Do not append.
5677 [crti.S not in sysdirs] (omit-deps): Likewise.
5678 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5679 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5680 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5681 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5682 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5683 Likewise.
5684 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5685 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5686 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5687 * csu/defs.awk: Remove file.
5688 * sysdeps/generic/initfini.c: Likewise.
5689 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5690 variable.
5691 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5692 Likewise.
5693
599af3ca
JM
56942012-02-20 Joseph Myers <joseph@codesourcery.com>
5695
5696 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5697 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5698 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5699 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5700 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5701 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5702 <bits/epoll.h>.
5703 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5704 (__EPOLL_PACKED): Define to empty if not defined by
5705 <bits/epoll.h>.
5706 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5708 bits/epoll.h.
5709
0e499750
JM
57102012-02-20 Joseph Myers <joseph@codesourcery.com>
5711
5712 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5713 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5714 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5715 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5716 <bits/timerfd.h>.
5717 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5719 bits/timerfd.h.
5720
5ad91f6e
JM
57212012-02-20 Joseph Myers <joseph@codesourcery.com>
5722
5723 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5724 in C locale.
5725 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5726 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5727 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5729
06b99b02
AJ
57302012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5731
5732 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5733 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5734
7638c0fd
AS
57352012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5736
5737 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5738 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5739 defined.
5740 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5741 Likewise.
5742 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5743 entry for 2.16.
5744
92221550
AJ
57452012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5746
5747 * math/w_acos.c: Use non-signaling floating-point comparisons.
5748 * math/w_acosf.c: Likewise.
5749 * math/w_acosh.c: Likewise.
5750 * math/w_acoshf.c: Likewise.
5751 * math/w_acoshl.c: Likewise.
5752 * math/w_acosl.c: Likewise.
5753 * math/w_asin.c: Likewise.
5754 * math/w_asinf.c: Likewise.
5755 * math/w_asinl.c: Likewise.
5756 * math/w_atanh.c: Likewise.
5757 * math/w_atanhf.c: Likewise.
5758 * math/w_atanhl.c: Likewise.
5759 * math/w_exp2.c: Likewise.
5760 * math/w_exp2f.c: Likewise.
5761 * math/w_exp2l.c: Likewise.
5762 * math/w_j0.c: Likewise.
5763 * math/w_j0f.c: Likewise.
5764 * math/w_j0l.c: Likewise.
5765 * math/w_j1.c: Likewise.
5766 * math/w_j1f.c: Likewise.
5767 * math/w_j1l.c: Likewise.
5768 * math/w_jn.c: Likewise.
5769 * math/w_jnf.c: Likewise.
5770 * math/w_log.c: Likewise.
5771 * math/w_log10.c: Likewise.
5772 * math/w_log10f.c: Likewise.
5773 * math/w_log10l.c: Likewise.
5774 * math/w_log2.c: Likewise.
5775 * math/w_log2f.c: Likewise.
5776 * math/w_log2l.c: Likewise.
5777 * math/w_logf.c: Likewise.
5778 * math/w_logl.c: Likewise.
5779 * math/w_sqrt.c: Likewise.
5780 * math/w_sqrtf.c: Likewise.
5781 * math/w_sqrtl.c: Likewise.
5782 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5783 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5784 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5785 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5786 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5787
ebaf36eb
JM
57882012-02-19 Joseph Myers <joseph@codesourcery.com>
5789
5790 [BZ #9739]
5791 * manual/string.texi (strnlen): Use correct parameter name in
5792 equivalent expression.
5793
71c254a6
JM
57942012-02-19 Joseph Myers <joseph@codesourcery.com>
5795
5796 [BZ #11174]
5797 * manual/users.texi (seteuid): Consistently use neweuid for
5798 argument name.
5799
16d2c631
JM
58002012-02-19 Joseph Myers <joseph@codesourcery.com>
5801
5802 [BZ #13704]
5803 * manual/nss.texi (Services in the NSS configuration): Correct
5804 list of services in example configuration file.
5805
cd837b09
NB
58062012-02-19 Nick Bowler <nbowler@draconx.ca>
5807
5808 [BZ #11322]
5809 * manual/arith.texi: Remove statements about negative zero
5810 behaving identically to zero.
5811
02c4bbad
JM
58122012-02-18 Joseph Myers <joseph@codesourcery.com>
5813
5814 [BZ #5993]
5815 * manual/install.texi: Do not document upgrading from libc5.
5816
366842e7
JM
58172012-02-18 Joseph Myers <joseph@codesourcery.com>
5818
5819 [BZ #4596]
5820 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5821
dd54084d
DM
58222012-02-18 David S. Miller <davem@davemloft.net>
5823
5824 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5825 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5826 %o7 across the call.
5827 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5828 instead.
5829 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5830 SETUP_PIC_REG_LEAF.
5831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5832 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5833 * sysdeps/sparc/crtn.S: Likewise.
5834
2bcc53a3
UD
58352012-02-17 Ulrich Drepper <drepper@gmail.com>
5836
5837 * aout/Makefile: Remove.
5838
09c093b5
RK
58392012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5840
5841 [BZ #13058]
5842 * manual/examples/argp-ex1.c (main): Format definition in GNU
5843 style.
5844 * manual/examples/argp-ex2.c (main): Likewise.
5845 * manual/examples/argp-ex3.c (main): Likewise.
5846 * manual/examples/argp-ex4.c (main): Likewise.
5847 * manual/examples/longopt.c (main): Use new-style prototype
5848 definition.
5849 * manual/examples/strncat.c (main): Specify return type and use
5850 (void) for arguments.
5851 * manual/examples/subopt.c (main): Use char **argv argument.
5852
2ee633a2
JM
58532012-02-17 Joseph Myers <joseph@codesourcery.com>
5854
5855 [BZ #5077]
5856 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5857 rounding modes.
5858
0520adde
FB
58592012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5860
5861 [BZ #6907]
5862 * manual/string.texi (strchr): Change when strchrnul is
5863 recommended.
5864
3f4081cd
DGM
58652012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5866
5867 [BZ #174]
5868 * manual/locale.texi (setlocale): Document LOCPATH.
5869
d1b10e78
JM
58702012-02-17 Joseph Myers <joseph@codesourcery.com>
5871
5872 [BZ #10210]
5873 * manual/process.texi (execle): Move @dots{} before last argument.
5874
79c6869c
PB
58752012-02-17 Paul Bolle <pebolle@tiscali.nl>
5876
5877 [BZ #12047]
5878 * manual/charset.texi (Generic Charset Conversion): Fix typo
5879 (LC_TYPE -> LC_CTYPE).
5880
cc6e48bc
NB
58812012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5882
5883 [BZ #5805]
5884 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5885 (scalbnf): Likewise.
5886 (scalbnl): Likewise.
5887 (scalbln): Likewise.
5888 (scalblnf): Likewise.
5889 (scalblnl): Likewise.
5890 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5891 (vwarnx): Likewise.
5892 (verr): Likewise.
5893 (verrx): Likewise.
5894 * manual/filesys.texi (telldir): Use braces around return type.
5895 * manual/llio.texi (mmap): Add space after comma.
5896 (mmap64): Likewise.
5897 * manual/math.texi (jn): Use @var{} on parameter names.
5898 (jnf): Likewise.
5899 (jnl): Likewise.
5900 (yn): Likewise.
5901 (ynf): Likewise.
5902 (ynl): Likewise.
5903 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5904 line.
5905 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5906 "...".
5907 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5908 (sched_get_priority_max): Likewise.
5909 * manual/signal.texi (sigvec): Add space after comma.
5910 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5911 names.
5912 (if_indextoname): Likewise.
5913 (if_freenameindex): Likewise.
5914 (sendto): Use ',' instead of '.' in prototype.
5915 * manual/startup.texi (syscall): Use @dots{} instead of literal
5916 "...".
5917 * manual/stdio.texi (__fpending): Separate initial words of
5918 paragraph from @deftypefun line.
5919 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5920 "...".
5921 (vsyslog): Use @var{} on parameter names.
5922 * manual/terminal.texi (stty): Use @var{} on parameter names.
5923 * manual/users.texi (getutmp): Use @var{} on parameter names.
5924 (getutmpx): Likewise.
5925
5b23062f
JM
59262012-02-17 Joseph Myers <joseph@codesourcery.com>
5927
5928 [BZ #6884]
5929 * manual/stdio.texi (fopen): Fix typos in description of
5930 ",ccs=STRING".
5931
8dee4833
AJ
59322012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5933
5934 [BZ #4026]
5935 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5936 get clock_id definition.
5937
9078ce93
TS
59382012-02-17 Thomas Schwinge <thomas@schwinge.name>
5939
5940 [BZ #4822]
5941 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5942 (madvise): Cast every argument to void on its own.
5943
3835c55f
JM
59442012-02-17 Joseph Myers <joseph@codesourcery.com>
5945
5946 [BZ #9902]
5947 * manual/startup.texi (Exit Status): Fix typo.
5948
35c47e37
JM
59492012-02-17 Joseph Myers <joseph@codesourcery.com>
5950
5951 [BZ #10140]
5952 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5953 * manual/examples/argp-ex2.c: Likewise.
5954 * manual/examples/argp-ex3.c: Likewise.
5955
e3b69ca7
RH
59562012-02-16 Richard Henderson <rth@redhat.com>
5957
5958 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5959 * sysdeps/s390/s390-32/initfini.c: Remove.
5960 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5961 * sysdeps/s390/s390-64/initfini.c: Remove.
5962
df83af67
KK
59632012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5964
5965 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5966 compiler output for sysdeps/generic/initfini.c.
5967 * sysdeps/sh/elf/initfini.c: Remove file.
5968
f63f3380
DM
59692012-02-16 David S. Miller <davem@davemloft.net>
5970
fb59b3a4
DM
5971 [BZ #11494]
5972 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5973
f63f3380
DM
5974 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5975 * sysdeps/sparc/crti.S: New file.
5976 * sysdeps/sparc/crtn.S: New file.
5977 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5978 * sysdeps/sparc/sparc64/Makefile: Likewise.
5979
df6a4a4a
MF
59802012-02-15 Mike Frysinger <vapier@gentoo.org>
5981
6dd8f3dc 5982 [BZ #3335]
df6a4a4a
MF
5983 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5984
1cac7236
RM
59852012-02-15 Roland McGrath <roland@hack.frob.com>
5986
d2c736f8
RM
5987 [BZ #4822]
5988 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5989
1cac7236
RM
5990 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5991 (write, read, close): Likewise.
5992 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5993
8e475601
JM
59942012-02-15 Joseph Myers <joseph@codesourcery.com>
5995
5996 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5997 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5998 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5999 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6000 <bits/signalfd.h>.
6001 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6003 bits/signalfd.h.
6004
ed656b40
MP
60052012-02-14 Marek Polacek <polacek@redhat.com>
6006
6007 * sysdeps/x86_64/crti.S: New file.
6008 * sysdeps/x86_64/crtn.S: New file.
6009 * sysdeps/x86_64/elf/initfini.c: Remove file.
6010
2a979d3a
JM
60112012-02-13 Joseph Myers <joseph@codesourcery.com>
6012
6013 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6014 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6015 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6016 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6017 <bits/inotify.h>.
6018 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6020 bits/inotify.h.
6021
2a418ac3
JM
60222012-02-13 Joseph Myers <joseph@codesourcery.com>
6023
6024 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6025 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6026 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6027 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6028 <bits/eventfd.h>.
6029 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6031 bits/eventfd.h.
6032
fb779be7
TS
60332012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6034
e19e83c5
RM
6035 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6036 __feraiseexcept instead of feraiseexcept.
7c35ffed 6037
fb779be7
TS
6038 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6039 nanosleep invocations.
6040 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6041 strings, and add error checking for a nanosleep invocations.
6042
59ba27a6
PE
60432012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6044
6045 Replace FSF snail mail address with URLs, as per GNU coding standards.
6046 Most of the snail mail addresses were wrong anyway, and omitting
6047 them makes the source code easier to maintain. Almost all of the
6048 changes are to license notices and to locale LC_IDENTIFICATION
6049 addresses, except for this one:
6050 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6051 not its snail mail address.
6052
57b957eb
RH
60532012-02-09 Richard Henderson <rth@twiddle.net>
6054
af850b1c
RH
6055 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6056 of kernel-features.h.
6057
57b957eb
RH
6058 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6059
6b73181a
MP
60602012-02-08 Marek Polacek <polacek@redhat.com>
6061
6062 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6063 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6064 * sysdeps/gnu/_G_config.h: Likewise.
6065 * sysdeps/generic/_G_config.h: Likewise.
6066
26ecc33a
AS
60672012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6068
6c6dbc63
AS
6069 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6070 tests.
6071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6072
e216c012
AS
6073 * sysdeps/powerpc/powerpc32/crti.S: New file.
6074 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6075 * sysdeps/powerpc/powerpc64/crti.S: New file.
6076 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6077
26ecc33a
AS
6078 * Makeconfig (have-initfini): Don't set.
6079 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6080 * configure.in (nopic_initfini): Don't substitute.
6081 * config.h.in (HAVE_INITFINI): Don't #undef.
6082 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6083 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6084
3add8e13
JM
60852012-02-08 Joseph Myers <joseph@codesourcery.com>
6086
6087 Support crti.S and crtn.S provided directly by architectures.
6088 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6089 [crti.S in sysdirs] (omit-deps): Likewise.
6090 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6091 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6092 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6093 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6094 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6095 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6096 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6097 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6098 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6099 compiler output for sysdeps/generic/initfini.c.
6100 * sysdeps/i386/elf/Makefile: Remove file.
6101 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6102
a22f12b4
MP
61032012-02-07 Marek Polacek <polacek@redhat.com>
6104
6105 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6106 * sysdeps/gnu/_G_config.h: Likewise.
6107 * sysdeps/mach/hurd/_G_config.h: Likewise.
6108
148cf100
MP
61092012-02-07 Marek Polacek <polacek@redhat.com>
6110
6111 * math/Makefile (tests): Add tst-CMPLX2.
6112 * math/tst-CMPLX2.c: New file.
6113
cfdc0dd7
AS
61142012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6115
84ba42c4
AS
6116 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6117
cfdc0dd7
AS
6118 * math/libm-test.inc (jn_test): Add missing L suffix.
6119
622c86f4
MP
61202012-02-06 Marek Polacek <polacek@redhat.com>
6121
6122 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6123 * sysdeps/i386/fpu/e_powf.S: Likewise.
6124 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6125 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6126 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6127 * sysdeps/i386/fpu/e_pow.S: Likewise.
6128 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6129 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6130 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6131 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6132 * sysdeps/i386/fpu/e_log2.S: Likewise.
6133 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6134 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6135 * sysdeps/i386/fpu/e_powl.S: Likewise.
6136 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6137 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6138 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6139 * sysdeps/i386/fpu/e_logl.S: Likewise.
6140 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6141 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6142 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6143 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6144 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6145 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6146 * sysdeps/i386/fpu/e_log.S: Likewise.
6147 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6148 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6149 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6150 * sysdeps/i386/fpu/e_logf.S: Likewise.
6151 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6152 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6153 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6154 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6155 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6156 * sysdeps/i386/fpu/e_log10.S: Likewise.
6157 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6158 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6159 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6160 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6161 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6162 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6163 * sysdeps/i386/asm-syntax.h: Likewise.
6164 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6165 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6166 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6167 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6168 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6169 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6170 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6171 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6172 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6173 * sysdeps/powerpc/sysdep.h: Likewise.
6174 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6175 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6176
d4a54ac6
JM
61772012-02-06 Joseph Myers <joseph@codesourcery.com>
6178
6179 [BZ #411]
6180 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6181
314054ea
JM
61822012-02-06 Joseph Myers <joseph@codesourcery.com>
6183
6184 * sysdeps/i386/sysdep.h: Include <features.h>.
6185 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6186 version.
6187
d8e0ca50
JM
61882012-02-05 Joseph Myers <joseph@codesourcery.com>
6189
6190 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6191 Define.
6192 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6193 LOAD_PIC_REG_STR.
6194
b1da7dd9
JM
61952012-02-03 Joseph Myers <joseph@codesourcery.com>
6196
6197 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6198 (SETUP_PIC_REG): Use GET_PC_THUNK.
6199 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6200 macro.
6201
9a1d9254
JM
62022012-02-03 Joseph Myers <joseph@codesourcery.com>
6203
6204 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6205 for non-PIC compilation.
6206 (SETUP_PIC_REG): Add .p2align directive.
6207 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6208 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6209 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6210 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6211 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6212 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6213 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6214 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6215 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6216 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6217 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6218 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6219 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6220 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6221 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6222 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6223 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6224 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6225 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6226 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6227 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6228 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6229 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6230 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6231 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6233 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6234 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6235 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6236 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6237 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6238 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6239 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6240 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6241 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6242 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6243 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6244 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6245 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6246 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6247 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6248
65dc3b75
JM
62492012-02-03 Joseph Myers <joseph@codesourcery.com>
6250
6251 * math/tst-CMPLX.c: Include <stdio.h>.
6252
d55bf177
JM
62532012-01-31 Joseph Myers <joseph@codesourcery.com>
6254
6255 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6256 float.
6257 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6258 * sysdeps/sparc/bits/mathdef.h: Likewise.
6259
69db4f8f
MP
62602012-01-31 Marek Polacek <polacek@redhat.com>
6261
6262 * libio/libio.h: Don't define _PARAMS.
6263 * locale/programs/config.h: Don't define PARAMS.
6264 * stdlib/strtol_l.c: Likewise.
6265 (__strtol_l): Remove PARAMS from the prototype.
6266
41b81892
UD
62672012-01-31 Ulrich Drepper <drepper@gmail.com>
6268
3b49edc0
UD
6269 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6270 names. Just use the correct names. Remove unnecessary wrapper
6271 functions.
6272 * malloc/arena.c: Likewise.
6273 * malloc/hooks.c: Likewise.
6274
41b81892
UD
6275 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6276 ARENA_TEST says not to. Simplify test for creation of a new arena.
6277 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6278
27a25b6e
UD
62792012-01-30 Ulrich Drepper <drepper@gmail.com>
6280
6281 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6282 into tail calls.
6283 (update_get_addr): New function.
6284 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6285 GET_ADDR_MODULE parameter.
6286
c8a89e7d
JM
62872012-01-30 Joseph Myers <joseph@codesourcery.com>
6288
6289 * crypt/cert.c: Remove __STDC__ conditionals.
6290 * crypt/crypt-entry.c: Likewise.
6291 * crypt/crypt_util.c: Likewise.
6292 * libio/filedoalloc.c: Likewise.
6293 * libio/fileops.c: Likewise.
6294 * libio/genops.c: Likewise.
6295 * libio/iofclose.c: Likewise.
6296 * libio/iofdopen.c: Likewise.
6297 * libio/iofopen.c: Likewise.
6298 * libio/iofopen64.c: Likewise.
6299 * libio/iogetdelim.c: Likewise.
6300 * libio/iopopen.c: Likewise.
6301 * libio/obprintf.c: Likewise.
6302 * libio/oldfileops.c: Likewise.
6303 * libio/oldiofclose.c: Likewise.
6304 * libio/oldiofdopen.c: Likewise.
6305 * libio/oldiofopen.c: Likewise.
6306 * libio/oldiopopen.c: Likewise.
6307 * libio/wfiledoalloc.c: Likewise.
6308 * libio/wgenops.c: Likewise.
6309 * locale/programs/xmalloc.c: Likewise.
6310 * misc/syslog.c: Likewise.
6311 * stdio-common/xbug.c: Likewise.
6312 * string/memchr.c: Likewise.
6313 * string/memcmp.c: Likewise.
6314 * string/memrchr.c: Likewise.
6315 * string/rawmemchr.c: Likewise.
6316 * sysdeps/posix/getcwd.c: Likewise.
6317 * time/strftime_l.c: Likewise.
6318
3b100462
JM
63192012-01-30 Joseph Myers <joseph@codesourcery.com>
6320
6321 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6322 * config.make.in (config-cflags-sse2avx): Define.
6323 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6324 Fix typo.
6325
607998af
CM
63262012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6327
6328 * scripts/config.guess: Update from upstream config git repository.
6329 * scripts/config.sub: Likewise.
6330
3601428f
CM
63312012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6332
3ac8b282
CM
6333 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6334 (EM_NUM): Update.
6335 (R_TILEPRO_*, R_TILEGX_*): New macros.
6336
e034841e
CM
6337 * scripts/firstversions.awk: Fix bug in version range handling.
6338
540d7568
CM
6339 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6340
3601428f
CM
6341 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6342
463de862
CM
6343 * include/sys/epoll.h: New file.
6344 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6345 libc_hidden_def.
6346
73139a76
UD
63472012-01-28 Ulrich Drepper <drepper@gmail.com>
6348
96bc5b45
UD
6349 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6350 Avoid unnecessary __WORDSIZE == 64 test.
6351 (fmaxf): Use VEX format if possible.
6352 (fmax): Likewise.
6353 (fminf): Likewise.
6354 (fmin): Likewise.
6355
56f6f6a2
UD
6356 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6357 * math/math_private.h: Remove libc_fegetround* and
6358 libc_fesetround*.
6359 * sysdeps/i386/configure.in: Check for -msse2avx.
6360 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6361 also if SSE2AVX is defined.
6362 Remove libc_fegetround* and libc_fesetround*.
6363 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6364 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6365 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6366 of HAS_YMM_USABLE.
6367 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6368 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6369 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6370 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6371 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6372
73139a76
UD
6373 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6374
d73f93a4
AZ
63752012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6376
6377 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6378 size is not set.
6379 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6380
6ee65ed6
UD
63812012-01-27 Ulrich Drepper <drepper@gmail.com>
6382
6383 [BZ #13618]
6384 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6385 relocation.
6386 * Makeconfig (libm): Define.
6387 * elf/Makefile: Add rules to build and run tst-relsort1.
6388 * elf/tst-relsort1.c: New file.
6389 * elf/tst-relsort1mod1.c: New file.
6390 * elf/tst-relsort1mod2.c: New file.
6391
8db21882
JM
63922012-01-27 Joseph Myers <joseph@codesourcery.com>
6393
6394 * math/s_ldexp.c: Remove __STDC__ conditionals.
6395 * math/s_ldexpf.c: Likewise.
6396 * math/s_ldexpl.c: Likewise.
6397 * math/s_nextafter.c: Likewise.
6398 * math/s_nexttowardf.c: Likewise.
6399 * math/s_significand.c: Likewise.
6400 * math/s_significandf.c: Likewise.
6401 * math/s_significandl.c: Likewise.
6402 * math/w_jnl.c: Likewise.
6403 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6404 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6405 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6406 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6407 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6408 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6409 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6410 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6411 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6412 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6413 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6414 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6415 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6416 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6417 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6418 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6422 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6423 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6424 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6425 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6426 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6427 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6428 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6429 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6430 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6431 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6432 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6433 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6434 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6435 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6436 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6437 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6438 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6439 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6440 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6441 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6442 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6443 * sysdeps/ieee754/k_standard.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6493 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6496 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6501 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6502 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6504 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6505 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6506 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6507 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6508 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6510 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6514 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6518 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6519 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6523 * sysdeps/ieee754/s_matherr.c: Likewise.
6524 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6525 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6527 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6528
965a54a4
JM
65292012-01-26 Joseph Myers <joseph@codesourcery.com>
6530
6531 * crypt/md5.h: Remove __STDC__ conditionals.
6532 * libio/libioP.h: Likewise.
6533 * locale/programs/config.h: Likewise.
6534 * sysdeps/generic/sysdep.h: Likewise.
6535 * sysdeps/i386/asm-syntax.h: Likewise.
6536 * sysdeps/s390/asm-syntax.h: Likewise.
6537 * sysdeps/unix/sysdep.h: Likewise.
6538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6540
7071ad79
JM
65412012-01-26 Joseph Myers <joseph@codesourcery.com>
6542
6543 * libio/libio.h: Remove __STDC__ conditionals.
6544 * malloc/obstack.h: Likewise.
6545 * math/complex.h: Likewise.
6546 * math/math.h: Likewise.
6547 * sysdeps/generic/_G_config.h: Likewise.
6548 * sysdeps/gnu/_G_config.h: Likewise.
6549 * sysdeps/mach/hurd/_G_config.h: Likewise.
6550 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6551 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6552 * sysdeps/sparc/bits/mathdef.h: Likewise.
6553
afc5ed09
UD
65542012-01-26 Ulrich Drepper <drepper@gmail.com>
6555
6556 [BZ #13583]
6557 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6558 Clean up HAS_* macros.
afc5ed09 6559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6560 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6561 possible.
6562 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6563 HAS_AVX.
6564 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6565 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6566 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6567 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6568 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6569
bdb6de1d
JM
65702012-01-25 Joseph Myers <joseph@codesourcery.com>
6571
6572 * elf/tst-unique3.cc (gets): Remove declaration.
6573 * elf/tst-unique3lib.cc (gets): Likewise.
6574 * elf/tst-unique3lib2.cc (gets): Likewise.
6575 * elf/tst-unique4.cc (gets): Likewise.
6576
b15549e6
UD
65772012-01-24 Ulrich Drepper <drepper@gmail.com>
6578
6579 * include/stdio.h: Add C++ protection. Add gets declarations and
6580 definitions.
6581 * debug/tst-chk1.c: Don't declare gets here.
6582 * stdio-common/tst-gets.c: Likewise.
6583
a037381f
JM
65842012-01-24 Joseph Myers <joseph@codesourcery.com>
6585
6586 * posix/glob: Remove directory.
6587
f1d4aa75
JM
65882012-01-24 Joseph Myers <joseph@codesourcery.com>
6589
6590 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6591
81c0c964
PT
65922012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6593
6594 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6595 of the non-standard EPFNOSUPPORT.
6596
0ea698ae
ST
65972011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6598
6599 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6600 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6601 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6602
d220b117
UD
66032012-01-21 Ulrich Drepper <drepper@gmail.com>
6604
6605 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6606
3e1aa84e
UD
66072012-01-20 Ulrich Drepper <drepper@gmail.com>
6608
6609 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6610 transient errors.
6611 * nscd/grpcache.c (cache_addgr): Likewise.
6612 * nscd/hstcache.c (cache_addhst): Likewise.
6613 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6614 * nscd/pwdcache.c (cache_addpw): Likewise.
6615 * nscd/servicescache.c (cache_addserv): Likewise.
6616
400aa020
UD
66172012-01-16 Ulrich Drepper <drepper@gmail.com>
6618
d77e7869
UD
6619 * malloc/malloc.c: Various cleanups.
6620 * malloc/hooks.c: Likewise.
6621
400aa020
UD
6622 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6623 * stdlib/bug-fmtmsg1.c: New file.
6624
6625 * stdlib/fmtmsg.c (init): Add missing unlock.
6626 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6627
e0a309cf
MP
66282012-01-12 Marek Polacek <polacek@redhat.com>
6629
6630 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6631 and _GNU_SOURCE.
6632
929d11c7
WS
66332012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6634
6635 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6636 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6637 macro to ensure uniqueness of label name.
6638 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6639 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6640
41d0e869
UD
66412012-01-11 Ulrich Drepper <drepper@gmail.com>
6642
0cc5ed3b
UD
6643 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6644
41d0e869
UD
6645 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6646 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6647 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6649
a47a831a
UD
66502012-01-10 Ulrich Drepper <drepper@gmail.com>
6651
daa891c0
UD
6652 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6653
6654 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6655 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6656 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6657
e58ef0f2
UD
6658 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6659
a47a831a 6660 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6661 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6662 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6663 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6664
6665 * math/bits/math-finite.h: Add ldexp support.
6666
a0bfc9c7
MP
66672012-01-10 Marek Polacek <polacek@redhat.com>
6668
6669 * locale/programs/localedef.h (show_archive_content): Add noreturn
6670 attribute.
6671
d6e97a1d
UD
66722012-01-09 Ulrich Drepper <drepper@gmail.com>
6673
6674 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6675
d5835c26
UD
66762012-01-08 Ulrich Drepper <drepper@gmail.com>
6677
e5f484c6
UD
6678 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6679
d5835c26
UD
6680 * io/Makefile (headers): Add bits/poll2.h.
6681
d1f741e9
WS
66822011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6683
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6685 typo #include statement.
6686
ec09c1c4
UD
66872012-01-08 Ulrich Drepper <drepper@gmail.com>
6688
6689 * include/sys/cdefs.h: Define __attribute_alloc_size.
6690 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6691 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6692 * elf/pldd.c: Likewise.
6693 * iconv/iconv_charmap.c: Likewise.
6694 * iconv/iconvconfig.c: Likewise.
6695 * iconv/strtab.c: Likewise.
6696 * locale/programs/locale.c: Likewise.
6697 * locale/programs/localedef.h: Likewise.
6698 * locale/programs/simple-hash.c: Likewise.
6699 * nscd/nscd.h: Likewise.
6700 * nss/makedb.c: Likewise.
6701 * sysdeps/generic/ldconfig.h: Likewise.
6702 * locale/programs/localedef.c: Remove xmalloc prototype.
6703 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6704
20b38e03
PP
67052012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6706
6707 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6708 appropriate.
6709
a0da5fe1
UD
67102012-01-08 Ulrich Drepper <drepper@gmail.com>
6711
1d5a644a 6712 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6713 * math/tst-CMPLX.c: New file.
1d5a644a 6714
8784a6db
UD
6715 * math/complex.h (CMPLXL): Fix typo.
6716
d9a216c0
UD
6717 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6718 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6719 GLIBC_2.16.
6720 * debug/tst-chk1.c: Add poll and ppoll tests.
6721 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6722 * include/sys/poll.h: Add hidden proto for ppoll.
6723 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6724 * sysdeps/mach/hurd/ppoll.c: Likewise.
6725 * io/ppoll.c: Likewise.
6726 * debug/poll_chk.c: New file.
6727 * debug/ppoll_chk.c: New file.
6728 * include/bits/poll2.h: New file.
6729 * io/bits/poll2.h: New file.
6730
ac097f5c
UD
6731 [BZ #1350]
6732 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6733
2119dcfa
UD
6734 * configure.in: static is always set to yes. Remove.
6735 * config.make.in: Don't set build-static.
6736 * Makeconfig: Remove use of build-static.
6737 * dlfcn/Makefile: Likewise.
6738 * elf/Makefile: Likewise.
6739 * math/Makefile: Likewise.
6740 * misc/Makefile: Likewise.
6741 * nptl/Makefile: Likewise.
6742 * sysdeps/mach/hurd/Makefile: Likewise.
6743
121766a9
UD
6744 * configure.in: PWD_P is not used anymore.
6745 * config.make.in: Remove PWD_P entry.
6746
51a1d39c 6747 * configure.in: Remove last remnants of RANLIB.
8720d066 6748 No need to check for signed size_t anymore.
215f4bdc
UD
6749 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6750 and IA-64.
3857022a 6751 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6752 * aclocal.m4: Likewise.
6753
d3ed7225
UD
6754 * wcsmbs/mbrtoc16.c: Implement using towc function.
6755 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6756 * wcsmbs/wcsmbsload.c: Likewise.
6757 * iconv/gconv_simple.c: Likewise.
6758 * iconv/gconv_int.h: Likewise.
6759 * iconv/gconv_builtin.h: Likewise.
6760 * iconv/iconv_prog.c: Remove CHAR16 handling.
6761
6762 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6763
6764 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6765
a0da5fe1
UD
6766 * configure.in: Remove --with-elf and --enable-bounded options.
6767 Dont set base_machine for ia64. More non-ELF conditions removed.
6768 Remove testing and setting of leading underscore information.
6769 * config.make.in (build-bounded): Set to no.
6770 * config.h.in: Remove NO_UNDERSCORES entry.
6771 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6772 them.
6773 * csu/start.c: Remove !NO_UNDERSCORE code.
6774 * locale/localeinfo.h: Likewise.
6775 * sysdeps/generic/machine-gmon.h: Likewise.
6776 * sysdeps/generic/sysdep.h: Likewise.
6777 * sysdeps/i386/sysdep.h: Likewise.
6778 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6779 * sysdeps/mach/sysdep.h: Likewise.
6780 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6781 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6782 * sysdeps/sh/sysdep.h: Likewise.
6783 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6784 * sysdeps/unix/i386/sysdep.S: Likewise.
6785 * sysdeps/unix/sparc/start.c: Likewise.
6786 * sysdeps/unix/sparc/sysdep.S: Likewise.
6787 * sysdeps/unix/sparc/sysdep.h: Likewise.
6788 * sysdeps/unix/start.c: Likewise.
6789 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6790 * sysdeps/x86_64/sysdep.h: Likewise.
6791
df78418a
UD
67922012-01-07 Ulrich Drepper <drepper@gmail.com>
6793
a784e502
UD
6794 [BZ #13553]
6795 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6796 for non-gcc.
6797 * argp/argp-fmtstream.h: Use const instead __const.
6798 * argp/argp.h: Likewise.
6799 * assert/assert.h: Likewise.
6800 * bits/fenv.h: Likewise.
6801 * bits/sched.h: Likewise.
6802 * bits/sigset.h: Likewise.
6803 * bits/sigthread.h: Likewise.
6804 * catgets/nl_types.h: Likewise.
6805 * conform/data/pthread.h-data: Likewise.
6806 * crypt/crypt-private.h: Likewise.
6807 * crypt/crypt.h: Likewise.
6808 * crypt/crypt_util.c: Likewise.
6809 * ctype/ctype.h: Likewise.
6810 * debug/execinfo.h: Likewise.
6811 * debug/mbsnrtowcs_chk.c: Likewise.
6812 * debug/mbsrtowcs_chk.c: Likewise.
6813 * debug/wcsnrtombs_chk.c: Likewise.
6814 * debug/wcsrtombs_chk.c: Likewise.
6815 * debug/wcstombs_chk.c: Likewise.
6816 * dirent/dirent.h: Likewise.
6817 * dlfcn/dlfcn.h: Likewise.
6818 * elf/neededtest4.c: Likewise.
6819 * grp/grp.h: Likewise.
6820 * gshadow/gshadow.h: Likewise.
6821 * iconv/gconv.h: Likewise.
6822 * iconv/gconv_int.h: Likewise.
6823 * iconv/gconv_simple.c: Likewise.
6824 * iconv/iconv.h: Likewise.
6825 * iconv/loop.c: Likewise.
6826 * iconv/skeleton.c: Likewise.
6827 * include/aio.h: Likewise.
6828 * include/aliases.h: Likewise.
6829 * include/argz.h: Likewise.
6830 * include/arpa/inet.h: Likewise.
6831 * include/assert.h: Likewise.
6832 * include/dirent.h: Likewise.
6833 * include/dlfcn.h: Likewise.
6834 * include/execinfo.h: Likewise.
6835 * include/fcntl.h: Likewise.
6836 * include/fenv.h: Likewise.
6837 * include/glob.h: Likewise.
6838 * include/grp.h: Likewise.
6839 * include/libintl.h: Likewise.
6840 * include/mntent.h: Likewise.
6841 * include/netdb.h: Likewise.
6842 * include/pwd.h: Likewise.
6843 * include/rpc/netdb.h: Likewise.
6844 * include/sched.h: Likewise.
6845 * include/search.h: Likewise.
6846 * include/shadow.h: Likewise.
6847 * include/signal.h: Likewise.
6848 * include/stdio.h: Likewise.
6849 * include/stdlib.h: Likewise.
6850 * include/string.h: Likewise.
6851 * include/sys/socket.h: Likewise.
6852 * include/sys/stat.h: Likewise.
6853 * include/sys/statfs.h: Likewise.
6854 * include/sys/statvfs.h: Likewise.
6855 * include/sys/syslog.h: Likewise.
6856 * include/sys/time.h: Likewise.
6857 * include/sys/uio.h: Likewise.
6858 * include/time.h: Likewise.
6859 * include/unistd.h: Likewise.
6860 * include/utmp.h: Likewise.
6861 * include/wchar.h: Likewise.
6862 * include/wctype.h: Likewise.
6863 * inet/aliases.h: Likewise.
6864 * inet/arpa/inet.h: Likewise.
6865 * inet/netinet/ether.h: Likewise.
6866 * inet/netinet/in.h: Likewise.
6867 * intl/libintl.h: Likewise.
6868 * io/bits/fcntl2.h: Likewise.
6869 * io/fcntl.h: Likewise.
6870 * io/ftw.h: Likewise.
6871 * io/sys/poll.h: Likewise.
6872 * io/sys/stat.h: Likewise.
6873 * io/sys/statfs.h: Likewise.
6874 * io/sys/statvfs.h: Likewise.
6875 * io/utime.h: Likewise.
6876 * libio/bits/stdio.h: Likewise.
6877 * libio/bits/stdio2.h: Likewise.
6878 * libio/libio.h: Likewise.
6879 * libio/libioP.h: Likewise.
6880 * libio/stdio.h: Likewise.
6881 * locale/lc-ctype.c: Likewise.
6882 * locale/locale.h: Likewise.
6883 * login/utmp.h: Likewise.
6884 * malloc/arena.c: Likewise.
6885 * malloc/malloc.c: Likewise.
6886 * malloc/malloc.h: Likewise.
6887 * malloc/mcheck.c: Likewise.
6888 * malloc/mtrace.c: Likewise.
6889 * math/bits/mathcalls.h: Likewise.
6890 * math/fenv.h: Likewise.
6891 * math/math_private.h: Likewise.
6892 * misc/bits/error.h: Likewise.
6893 * misc/bits/syslog.h: Likewise.
6894 * misc/err.h: Likewise.
6895 * misc/error.h: Likewise.
6896 * misc/fstab.h: Likewise.
6897 * misc/mntent.h: Likewise.
6898 * misc/regexp.h: Likewise.
6899 * misc/search.h: Likewise.
6900 * misc/sgtty.h: Likewise.
6901 * misc/sys/mman.h: Likewise.
6902 * misc/sys/syslog.h: Likewise.
6903 * misc/sys/uio.h: Likewise.
6904 * misc/sys/xattr.h: Likewise.
6905 * misc/ttyent.h: Likewise.
6906 * nis/rpcsvc/ypclnt.h: Likewise.
6907 * nss/nss.h: Likewise.
6908 * posix/bits/unistd.h: Likewise.
6909 * posix/fnmatch.h: Likewise.
6910 * posix/glob.h: Likewise.
6911 * posix/sched.h: Likewise.
6912 * posix/spawn.h: Likewise.
6913 * posix/sys/wait.h: Likewise.
6914 * posix/unistd.h: Likewise.
6915 * posix/wordexp.h: Likewise.
6916 * pwd/pwd.h: Likewise.
6917 * resolv/netdb.h: Likewise.
6918 * resource/sys/resource.h: Likewise.
6919 * rt/aio.h: Likewise.
6920 * rt/bits/mqueue2.h: Likewise.
6921 * rt/mqueue.h: Likewise.
6922 * shadow/shadow.h: Likewise.
6923 * signal/signal.h: Likewise.
6924 * socket/send.c: Likewise.
6925 * socket/sendto.c: Likewise.
6926 * socket/sys/socket.h: Likewise.
6927 * stdio-common/printf.h: Likewise.
6928 * stdlib/bits/stdlib.h: Likewise.
6929 * stdlib/fmtmsg.h: Likewise.
6930 * stdlib/monetary.h: Likewise.
6931 * stdlib/stdlib.h: Likewise.
6932 * stdlib/ucontext.h: Likewise.
6933 * streams/stropts.h: Likewise.
6934 * string/argz.h: Likewise.
6935 * string/bits/string2.h: Likewise.
6936 * string/string.h: Likewise.
6937 * string/strings.h: Likewise.
6938 * sunrpc/rpc/auth.h: Likewise.
6939 * sunrpc/rpc/auth_des.h: Likewise.
6940 * sunrpc/rpc/clnt.h: Likewise.
6941 * sunrpc/rpc/netdb.h: Likewise.
6942 * sunrpc/rpc/pmap_clnt.h: Likewise.
6943 * sunrpc/rpc/xdr.h: Likewise.
6944 * sysdeps/generic/inttypes.h: Likewise.
6945 * sysdeps/generic/net/if.h: Likewise.
6946 * sysdeps/generic/sys/swap.h: Likewise.
6947 * sysdeps/gnu/net/if.h: Likewise.
6948 * sysdeps/gnu/utmpx.h: Likewise.
6949 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6950 * sysdeps/i386/i486/bits/string.h: Likewise.
6951 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6952 * sysdeps/s390/bits/string.h: Likewise.
6953 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6954 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6955 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6956 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6957 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6958 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6959 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6960 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6961 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6962 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6963 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6964 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6965 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6966 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6967 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6968 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6969 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6971 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6972 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6973 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6974 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6975 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6976 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6977 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6978 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6979 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6980 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6981 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6982 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6983 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6984 * sysvipc/sys/ipc.h: Likewise.
6985 * sysvipc/sys/msg.h: Likewise.
6986 * sysvipc/sys/sem.h: Likewise.
6987 * sysvipc/sys/shm.h: Likewise.
6988 * termios/termios.h: Likewise.
6989 * time/sys/time.h: Likewise.
6990 * time/time.h: Likewise.
6991 * wcsmbs/bits/wchar2.h: Likewise.
6992 * wcsmbs/uchar.h: Likewise.
6993 * wcsmbs/wchar.h: Likewise.
6994 * wctype/wctype.h: Likewise.
6995
0269750c
UD
6996 [BZ #13551]
6997 * Makeconfig: Remove all but ELF support including AIX support.
6998 * Makerules: Likewise.
6999 * config.h.in: Likewise.
7000 * config.make.in: Likewise.
7001 * configure: Likewise.
7002 * configure.in: Likewise.
7003 * csu/Makefile: Likewise.
7004 * csu/version.c: Likewise.
7005 * debug/Makefile: Likewise.
7006 * dlfcn/Makefile: Likewise.
7007 * elf/Makefile: Likewise.
7008 * extra-lib.mk: Likewise.
7009 * iconv/Makefile: Likewise.
7010 * include/libc-symbols.h: Likewise.
7011 * include/shlib-compat.h: Likewise.
7012 * resolv/Makefile: Likewise.
7013 * resolv/res_libc.c: Likewise.
7014 * rt/Makefile: Likewise.
7015 * sysdeps/i386/asm-syntax.h: Likewise.
7016 * sysdeps/i386/sysdep.h: Likewise.
7017 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7018 * sysdeps/mach/sysdep.h: Likewise.
7019 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7020 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7021 * sysdeps/s390/asm-syntax.h: Likewise.
7022 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7023 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7024 * sysdeps/sh/sysdep.h: Likewise.
7025 * sysdeps/unix/sparc/sysdep.h: Likewise.
7026 * sysdeps/wordsize-32/divdi3.c: Likewise.
7027 * sysdeps/x86_64/sysdep.h: Likewise.
7028
00bbd29b
UD
7029 * argp/Versions: Remove _argp_unlock_xxx.
7030
7031 [BZ #13559]
7032 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7033 * abilist/libBrokenLocale.abilist: Likewise.
7034 * abilist/libanl.abilist: Likewise.
7035 * abilist/libc.abilist: Likewise.
7036 * abilist/libcrypt.abilist: Likewise.
7037 * abilist/libdl.abilist: Likewise.
7038 * abilist/libm.abilist: Likewise.
7039 * abilist/libnsl.abilist: Likewise.
7040 * abilist/libpthread.abilist: Likewise.
7041 * abilist/libresolv.abilist: Likewise.
7042 * abilist/librt.abilist: Likewise.
7043 * abilist/libthread_db.abilist: Likewise.
7044 * abilist/libutil.abilist: Likewise.
7045 * abilist/libnss_db.abilist: New file.
7046
7047 * scripts/abilist.awk: Add support for indirect functions.
7048
a2693a0e
UD
7049 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7050
3f05895f
UD
7051 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7052
ecb6fb48
UD
7053 * shlib-versions: Remove entries for ports architectures.
7054
664f8cb9
UD
7055 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7056 files in ports.
7057 * elf/stackguard-macros.h: Remove support for IA-64.
7058 * elf/tst-auditmod1.c: Likewise.
7059 * sysdeps/generic/ldsodefs.h: Likewise.
7060
7ae81d88
UD
7061 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7062 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7063 configure files.
7064
bdeba135
UD
7065 [BZ #13552]
7066 * configure.in: Remove --enable-omitfp support.
7067 * FAQ.in: Adjust.
7068 * config.make.in: Likewise.
7069 * Makeconfig: Likewise.
7070 * manual/install.texi: Likewise.
7071
d75a0a62
UD
7072 In case anyone cares, the IA-64 architecture could move to ports.
7073 * sysdeps/ia64/*: Removed.
7074 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7075 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7076
dcc9756b
UD
7077 [BZ #13555]
7078 * configure.in: Remove entries for unsupported architectures.
7079
d3761ebc 7080 [BZ #13533]
9954432e
UD
7081 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7082 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7083 routines.
7084 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7085 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7086 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7087 fall back to using wcrtomb.
7088 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7089 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7090 renaming.
7091 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7092 * wcsmbs/tst-c16c32-1.c: New file.
7093
7094 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7095 local variable.
7096
c3a87236
UD
7097 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7098
28926a1b
UD
7099 * elf/tst-unique3.cc: Add explicit declaration of gets.
7100 * elf/tst-unique3lib.cc: Likewise.
7101 * elf/tst-unique3lib2.cc: Likewise.
7102 * elf/tst-unique4.cc: Likewise.
7103
df78418a
UD
7104 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7105
8ecd6b2a
JM
71062012-01-06 Joseph Myers <joseph@codesourcery.com>
7107
7108 [BZ #13566]
7109 * assert/assert.h (static_assert): Don't define for C++.
7110 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7111 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7112
9f115170
UD
71132012-01-03 Ulrich Drepper <drepper@gmail.com>
7114
5e0d0300
UD
7115 * iconv/loop.c (single loop): Fix assertion in storing of
7116 remaining bytes.
7117
9f115170
UD
7118 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7119
81fb02b0
UD
71202012-01-01 Ulrich Drepper <drepper@gmail.com>
7121
7122 * posix/getconf.c: Update copyright year.
7123 * nss/getent.c: Likewise.
a316c1f6 7124 * nss/makedb.c: Likewise.
81fb02b0
UD
7125 * iconv/iconvconfig.c: Likewise.
7126 * iconv/iconv_prog.c: Likewise.
7127 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7128 * elf/pldd.c: Likewise.
7129 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7130 * catgets/gencat.c: Likewise.
7131 * csu/version.c: Likewise.
7132 * elf/ldd.bash.in: Likewise.
7133 * elf/sprof.c (print_version): Likewise.
7134 * locale/programs/locale.c: Likewise.
7135 * locale/programs/localedef.c: Likewise.
a316c1f6 7136 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7137 * nscd/nscd.c (print_version): Likewise.
7138 * debug/xtrace.sh: Likewise.
7139 * malloc/memusage.sh: Likewise.
7140 * malloc/mtrace.pl: Likewise.
7141 * debug/catchsegv.sh: Likewise.
7142
2ba92745
JJ
71432011-12-30 Jakub Jelinek <jakub@redhat.com>
7144
7145 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7146 pure attribute.
7147
dadebdae
UD
71482011-12-24 Ulrich Drepper <drepper@gmail.com>
7149
d3761ebc 7150 [BZ #13533]
db6af3eb
UD
7151 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7152 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7153 transformations.
7154 * iconv/gconv_int.h: Likewise.
7155 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7156 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7157 from libc for GLIBC_2.16.
7158 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7159 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7160 * wcsmbs/uchar.h: Really define mbstate_t.
7161 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7162 * wcsmbs/c16rtomb.c: New file.
7163 * wcsmbs/mbrtoc16.c: New file.
7164 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7165 for C/POSIX locale.
7166 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7167 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7168
dadebdae
UD
7169 * wcsmbs/wchar.h: Add missing __restrict.
7170
67371b56
UD
71712011-12-23 Ulrich Drepper <drepper@gmail.com>
7172
74033a25
UD
7173 [BZ #13532]
7174 * time/Makefile (routines): Add timespec_get.
7175 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7176 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7177 timespec for ISO C11.
7178 * time/timespec_get.c: New file.
7179 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7180 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7181
380d7e87
UD
7182 [BZ #13531]
7183 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7184 * stdlib/stdlib.h: Declare aligned_alloc.
7185 * Versions.def: Add GLIBC_2.16 for libc.
7186 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7187
4e9e7a35
UD
7188 [BZ 13527]
7189 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7190 ISO C11.
7191
380d7e87 7192 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7193 code.
7194
03a71829
UD
7195 [BZ #13528]
7196 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7197
839e283e
UD
7198 [BZ #13529]
7199 * assert/assert.h (static_assert): Define.
7200
ce5294e2 7201 * version.h: Update for 2.16 development version.
90fa7312 7202
8d44e150 7203 [BZ #13526]
d7809905
UD
7204 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7205 _ISOC11_SOURCE.
7206
c0da14cd
UD
7207 * version.h (RELEASE): Bump for 2.15 release.
7208 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7209
530a3249
MP
7210 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7211 Patch by Marek Polacek <mpolacek@redhat.com>.
7212
67371b56
UD
7213 * bits/byteswap.h: Protect long long constants with __extension__.
7214 * sysdeps/i386/bits/byteswap.h: Likewise.
7215 * sysdeps/ia64/bits/byteswap.h: Likewise.
7216 * sysdeps/s390/bits/byteswap.h: Likewise.
7217 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7218
15db4de1
LD
72192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7220
7221 [BZ #13540]
bbe315ea
LD
7222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7223 destination buffer.
15db4de1
LD
7224 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7225
2b2596b1
MP
72262011-12-23 Marek Polacek <polacek@redhat.com>
7227
7228 * elf/dl-addr.c (determine_info): Add inline keyword.
7229 * elf/tst-auditmod4b.c (check_avx): Likewise.
7230 * elf/tst-auditmod6b.c (check_avx): Likewise.
7231 * elf/tst-auditmod6c.c (check_avx): Likewise.
7232 * elf/tst-auditmod7b.c (check_avx): Likewise.
7233
70c6c246
UD
72342011-12-23 Ulrich Drepper <drepper@gmail.com>
7235
7236 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7237 !__SSE_MATH__.
7238
c044cf14
LD
72392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7240
15db4de1 7241 [BZ #13540]
c044cf14
LD
7242 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7243 processing for last bytes.
7244
6b13d9d9
BH
72452011-08-06 Bruno Haible <bruno@clisp.org>
7246
d455f537
BH
7247 [BZ #13061]
7248 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7249 U+0385, not to U+1FEE.
7250
6b13d9d9
BH
7251 [BZ #13062]
7252 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7253 entry for U+00A5 U+0301.
7254
db910efd
UD
72552011-12-22 Ulrich Drepper <drepper@gmail.com>
7256
27deeafc
UD
7257 [BZ #13166]
7258 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7259 buffer for the output is too small.
7260
aed9d171
UD
7261 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7262 optimization.
7263
db910efd
UD
7264 [BZ #13185]
7265 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7266 SSE flags if possible.
7267
2bd779ae
LD
72682011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7269
e7f9dac3 7270 [BZ #13540]
2bd779ae
LD
7271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7272 processing for last bytes.
7273
154bfc16
JM
72742011-12-22 Joseph Myers <joseph@codesourcery.com>
7275
7276 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7277 (syscall-list-default-options, syscall-list-default-condition)
7278 (syscall-list-includes): Define.
7279 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7280 list of ABIs and options and #if conditions for each ABI. Do not
7281 handle common syscalls between ABIs specially.
7282 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7283 Remove.
7284 (syscall-list-variants, syscall-list-32bit-options)
7285 (syscall-list-32bit-condition, syscall-list-64bit-options)
7286 (syscall-list-64bit-condition): Define.
7287 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7288 (syscall-list-variants, syscall-list-32bit-options)
7289 (syscall-list-32bit-condition, syscall-list-64bit-options)
7290 (syscall-list-64bit-condition): Define.
7291 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7292 Remove.
7293 (syscall-list-variants, syscall-list-32bit-options)
7294 (syscall-list-32bit-condition, syscall-list-64bit-options)
7295 (syscall-list-64bit-condition): Define.
7296 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7297 Remove.
7298 (syscall-list-variants, syscall-list-32bit-options)
7299 (syscall-list-32bit-condition, syscall-list-64bit-options)
7300 (syscall-list-64bit-condition): Define.
7301
21eaf3a5
UD
73022011-12-22 Ulrich Drepper <drepper@gmail.com>
7303
16c6f992
UD
7304 * locale/iso-639.def: Add brx entry.
7305
41043168
UD
7306 [BZ #13328]
7307 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7308 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7309
21eaf3a5
UD
7310 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7311 __feraiseexcept_renamed.
7312
e3a851a2
UD
73132011-12-21 Ulrich Drepper <drepper@gmail.com>
7314
4920765e
UD
7315 [BZ #13538]
7316 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7317 EPOLLET with unsigned values.
7318 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7319 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7320
e3a851a2
UD
7321 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7322 to large cancellation.
7323 * math/s_cacoshf.c: Likewise.
7324 * math/s_cacoshl.c: Likewise.
7325
b27e24b8
RK
73262011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7327
7328 [BZ #13305]
aebefeee 7329 [BZ #12786]
b27e24b8
RK
7330 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7331 * math/s_cacoshf.c: Likewise.
7332 * math/s_cacoshl.c: Likewise.
7333
ee190f67
UD
73342011-12-21 Ulrich Drepper <drepper@gmail.com>
7335
7336 [BZ #13439]
7337 * iconv/gconv.h: Define __GCONV_SWAP.
7338 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7339 * iconvdata/utf-16.c: Likewise.
7340 * iconvdata/utf-32.c: Likewise.
7341
707f25df
AS
73422011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7343
7344 [BZ #13524]
7345 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7346 numerator after shifting it by one limb.
7347
d2daaa1e
RÁE
73482011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7349
7350 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7351 under [__USE_EXTERN_INLINES].
7352
a4647e72
UD
73532011-12-17 Ulrich Drepper <drepper@gmail.com>
7354
7355 [BZ #13446]
7356 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7357
f0b264f1
AZ
73582011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7359
7360 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7361 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7362 optimized code.
7363 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7364 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7365 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7366 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7367 for strncasecmp/strncasecmp_l compilation.
7368 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7369 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7370
8ef4f244
MP
73712011-12-08 Marek Polacek <mpolacek@redhat.com>
7372
7373 [BZ #13484]
7374 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7375 of __asm__.
7376
97ac2654
UD
73772011-12-17 Ulrich Drepper <drepper@gmail.com>
7378
7379 [BZ #13506]
7380 * time/tzfile.c (__tzfile_read): Check values from file header.
7381
91d2a845
WS
73822011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7383
7384 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7385 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7386 * powerpc/powerpc32/dl-start.S: Likewise.
7387 * powerpc/powerpc32/elf/start.S: Likewise.
7388 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7389 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7390 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7391 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7392 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7393 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7394 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7395 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7396 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7397 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7398 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7399 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7400 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7401 * powerpc/powerpc32/memset.S: Likewise.
7402 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7403 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7404 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7405 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7406 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7407 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7408 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7409 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7410 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7411 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7412 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7413 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7414 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7415
a1267ba1
AZ
74162011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7417
7418 * math/libm-test.inc: Added more nearbyint tests.
7419 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7420 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7421 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7422 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7423
ad8ac1bd
RL
74242011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7425
7426 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7427 FD_CLOEXEC.
7428
1d3e4b61
UD
74292011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7430
7431 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7432 Add wcscpy-ssse3 wcscpy-c.
7433 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7434 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7435 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7436 * sysdeps/x86_64/wcschr.S: New file.
7437 * sysdeps/x86_64/wcsrchr.S: New file.
7438 * string/test-strcmp.c: Remove checking of wcscmp function for
7439 wrong alignments.
7440 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7441 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7442 wcsrchr-sse2 wcsrchr-c.
7443 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7444 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7445 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7446 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7447 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7448 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7449 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7450 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7451 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7452 * wcsmbc/wcschr.c (WCSCHR): New macro.
7453
5b330a2d
UD
74542011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7455
7456 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7457 * wcsmbs/test-wcsrchr.c: New file.
7458 * string/test-strrchr.c: Add wcsrchr support.
7459 (WIDE): New macro.
7460 * wcsmbs/test-wcscpy.c: New file.
7461 * string/test-strcpy.c: Add wcscpy support.
7462 (WIDE): New macro.
26428b7c 7463
f039c043
UD
74642011-12-10 Ulrich Drepper <drepper@gmail.com>
7465
7466 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7467 the inner loop.
7468
850fb039
AS
74692011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7470
7471 [BZ #13472]
7472 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7473
4efbd5cb
UD
74742011-12-04 Ulrich Drepper <drepper@gmail.com>
7475
52ff5dd0 7476 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7477 Minor optimizations.
52ff5dd0 7478
4efbd5cb
UD
7479 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7480 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7481 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7482
8a426e12
UD
74832011-12-03 Ulrich Drepper <drepper@gmail.com>
7484
aff2453d
UD
7485 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7486 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7487 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7488 for gcc to avoid warnings.
7489 * inet/Makefile (tests): Add tst-checks.
7490 * inet/tst-checks.c: New file.
7491
7492 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7493 warning.
7494
7495 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7496 __wmemcmp_sse2.
7497
7498 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7499 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7500
8a426e12
UD
7501 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7502
9bea3473
UD
75032011-12-02 Ulrich Drepper <drepper@gmail.com>
7504
3a965496
UD
7505 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7506 problem.
7507
9bea3473
UD
7508 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7509
f101631b
UD
75102011-11-29 Joseph Myers <joseph@codesourcery.com>
7511
7512 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7513 conditional on GCC version.
7514 (__arch_compare_and_exchange_val_8_acq)
7515 (__arch_compare_and_exchange_val_16_acq)
7516 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7517 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7518 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7519
a98275aa
UD
75202011-12-02 Joseph Myers <joseph@codesourcery.com>
7521
7522 * sysdeps/sh/backtrace.c: New file.
7523
d4cc29a2
AS
75242011-12-02 Andreas Schwab <schwab@redhat.com>
7525
7526 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7527 parenthesis.
7528
6257af2d
AS
75292011-12-01 Andreas Schwab <schwab@redhat.com>
7530
7531 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7532 falling back to utime.
7533
b5f44c1a
AS
75342011-11-30 Andreas Schwab <schwab@redhat.com>
7535
7536 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7537 expectations for float.
7538
f3a6cc0a
AS
75392011-11-29 Andreas Schwab <schwab@redhat.com>
7540
7541 * locale/weight.h (findidx): Add parameter len.
7542 * locale/weightwc.h (findidx): Likewise.
7543 * posix/fnmatch_loop.c (FCT): Adjust caller.
7544 * posix/regcomp.c (build_equiv_class): Likewise.
7545 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7546 * posix/regexec.c (check_node_accept_bytes): Likewise.
7547 * string/strcoll_l.c (STRCOLL): Likewise.
7548 * string/strxfrm_l.c (STRXFRM): Likewise.
7549
9d65ea3a
UD
75502011-11-17 Ulrich Drepper <drepper@gmail.com>
7551
7552 * Makefile.in: Remove CVSOPT handling.
7553 * configure.in: Remove use of AC_REVISION.
7554 * iconvdata/Makefile (distribute): No need to filter out CVS.
7555 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7556 handling.
7557
5583a086
AS
75582011-11-16 Andreas Schwab <schwab@redhat.com>
7559
7560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7561 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7562 [USE_AS_STRNCASECMP_L]: Likewise.
7563 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7564 NO_TLS_DIRECT_SEG_REFS.
7565 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7566 Fix argument offsets for non-PIC.
7567 [USE_AS_STRNCASECMP_L]: Likewise.
7568 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7569 NO_TLS_DIRECT_SEG_REFS.
7570
d62a8200
UD
75712011-11-15 Ulrich Drepper <drepper@gmail.com>
7572
9d65ea3a 7573 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7574 O_CLOEXEC.
7575 * locale/loadlocale.c (_nl_load_locale): Likewise.
7576
09f93bd3
AS
75772011-11-15 Andreas Schwab <schwab@redhat.com>
7578
446514f9
AS
7579 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7580 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7581 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7582 (SYSCALL_GETTIME): Set errno on error.
7583
09f93bd3
AS
7584 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7585 count references to noai6ai_cached.
7586
312be3f9
UD
75872011-11-15 Ulrich Drepper <drepper@gmail.com>
7588
7589 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7590
7591 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7592 FD_CLOEXEC for /proc/self/maps.
7593
7594 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7595 FD_CLOEXEC for /proc/meminfo.
7596
7597 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7598 gai.conf.
7599
7600 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7601 FD_CLOEXEC for given file.
7602
7603 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7604
7605 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7606 FD_CLOEXEC for /etc/hosts.
7607 (_gethtent): Likewise.
7608
7609 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7610
7611 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7612 cancellation and set FD_CLOEXEC for /etc/netgroup.
7613
7614 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7615 reading /etc/publickey.
7616
7617 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7618 allow cancellation when reading /etc/group.
7619
7620 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7621 cancellation.
7622 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7623
7624 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7625 when using data file.
7626
7627 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7628
7629 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7630 (write_nis_obj): Use "c" and "e" in fopen.
7631
7632 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7633
7634 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7635
7636 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7637
7638 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7639
7640 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7641 locale.alias.
7642
7643 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7644
7645 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7646
7647 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7648
7649 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7650 file parsing and set FD_CLOEXEC.
7651
82af0fa8
UD
76522011-11-14 Ulrich Drepper <drepper@gmail.com>
7653
7654 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7655
a5fb313c
AS
76562011-11-14 Andreas Schwab <schwab@redhat.com>
7657
7658 * malloc/arena.c (arena_get2): Don't call reused_arena when
7659 _int_new_arena failed.
7660
6abf3465
UD
76612011-11-14 Ulrich Drepper <drepper@gmail.com>
7662
7663 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7664 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7665 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7666 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7667 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7668 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7669 to compile strcasecmp and strncasecmp.
7670 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7671 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7672
7673 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7674
76e3966e
UD
76752011-11-13 Ulrich Drepper <drepper@gmail.com>
7676
7677 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7678 locale-defines.sym to gen-as-const-headers.
7679 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7680 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7681 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7682 to compile strcasecmp and strncasecmp.
7683 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7684 strcasecmp_l and strncasecmp_l.
7685 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7686 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7687 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7688 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7689 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7690 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7691 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7692 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7693 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7694 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7695 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7696
ab26144e
UD
76972011-11-12 Ulrich Drepper <drepper@gmail.com>
7698
7edb22ef
UD
7699 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7700 result of SYSDEP_GETTIME_CPU to retval.
7701 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7702 parameter list to macro. Remove trailing semicolon. Adjust users.
7703
9694fc44
UD
7704 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7705 variable.
7706
8ad89ef8
UD
7707 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7708 mantissa words.
7709 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7710
0c822ef9
UD
7711 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7712 from unused variable.
7713
874e0564
UD
7714 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7715 DWARF definitions.
7716 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7717 for assembling.
7718
3a2edc79
UD
7719 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7720 over namespaces.
7721
f3c2577f
UD
7722 * sunrpc/rpc_prot.c (rejected): Fix case value.
7723
294ce126
UD
7724 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7725 unsigned long long int to avoid warnings in shift.
7726
5e2b63c6
UD
7727 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7728 of use of trans.
7729 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7730 variable tmp.
7731
e7f4b08e
UD
7732 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7733 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7734 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7735
ab26144e
UD
7736 * nis/nis_table.c (nis_list): Use variable of correct type for
7737 result of __follow_path call.
7738
8a6d5255
AZ
77392011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7740
7741 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7742 of math functions ceil, trunc, floor, round, and sqrt, when
7743 avaliable on the platform.
7744 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7745 name clash.
7746 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7747 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7748 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7749
aaddc98c
MP
77502011-10-30 Marek Polacek <mpolacek@redhat.com>
7751
7752 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7753 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7754
95b7042b
RM
77552011-11-11 Roland McGrath <roland@hack.frob.com>
7756
7757 * include/unistd.h: Fix __readlink return type.
7758 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7759
57769839
UD
77602011-11-11 Ulrich Drepper <drepper@gmail.com>
7761
7762 * stdlib/ucontext.h: Undo last change for makecontext.
7763
edc5984d
AS
77642011-11-11 Andreas Schwab <schwab@redhat.com>
7765
98591e58
AS
7766 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7767
edc5984d
AS
7768 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7769 * setjmp/setjmp.h: Mark functions as non-leaf.
7770 * setjmp/bits/setjmp2.h: Likewise.
7771 * stdlib/ucontext.h: Likewise.
7772
77cdc054
AS
77732011-11-10 Andreas Schwab <schwab@redhat.com>
7774
7775 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7776 (reused_arena): Don't check arena limit.
7777 (arena_get2): Atomically check arena limit.
7778
fe72eebd
UD
77792011-11-08 Ulrich Drepper <drepper@gmail.com>
7780
5f078c32
UD
7781 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7782 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7783
fe72eebd
UD
7784 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7785 instructions.
7786
ae1bc2fa
AS
77872011-11-07 Andreas Schwab <schwab@redhat.com>
7788
7583a88d
AS
7789 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7790 handler when locking.
7791
ae1bc2fa
AS
7792 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7793 Fix size of allocated buffer.
7794
10fb0bfa
AS
77952011-11-04 Andreas Schwab <schwab@redhat.com>
7796
998832a4
AS
7797 [BZ #10103]
7798 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7799 declarations for long double functions.
7800 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7801
10fb0bfa
AS
7802 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7803
3d7ba52b
AS
78042011-11-03 Andreas Schwab <schwab@redhat.com>
7805
a9ae54a1
AS
7806 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7807 installed.
7808
3d7ba52b
AS
7809 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7810 is disabled.
7811
bc8db248
ST
78122011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7813
7814 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7815
45b96dd6
AS
78162011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7817
647776f6
AS
7818 * include/alloca.h (stackinfo_alloca_round): Define.
7819 (extend_alloca): Use it.
7820 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7821 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7822 here.
7823
d91a8b93
AS
7824 * scripts/check-local-headers.sh: Ignore libaudit.h.
7825
45b96dd6
AS
7826 * nscd/Makefile (extra-objs): Make recursively expanded.
7827
432d41ce
UD
78282011-11-01 Ulrich Drepper <drepper@gmail.com>
7829
34372fc6
UD
7830 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7831 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7832
fadb59f8
UD
7833 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7834 * posix/tst-rfc3484-2.c: Likewise.
7835 * posix/tst-rfc3484-3.c: Likewise.
7836
78239589
UD
7837 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7838 process_vm_writev.
7839 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7840 process_vm_writev.
7841 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7842 process_vm_writev from libc using GLIBC_2.15 version.
7843
432d41ce
UD
7844 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7845
02f9c6cf
PP
78462011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7847
7848 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7849 stack usage.
7850
3a2c0242
UD
78512011-10-31 Ulrich Drepper <drepper@gmail.com>
7852
f4ec4833
UD
7853 [BZ #13367]
7854 * nss/getent.c (initgroups_keys): Show error message in case no group
7855 names are given.
7856
3a2c0242
UD
7857 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7858 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7859 __bump_nl_timestamp.
7860 * nscd/connections (nscd_init): When host database is served open
7861 netlink socket and request notification about configuration changes.
7862 (main_loop_poll): Track netlink file descriptor and bump timestamp
7863 in case data becomes available.
7864 (main_loop_epoll): Likewise.
7865 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7866 (database_pers_head): Add extra_data fileds.
7867 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7868 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7869 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7870 Adjust caller.
7871 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7872 in6ai data, call __free_in6ai.
7873 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7874 Add -DHAVE_NETLINK.
7875 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7876 interface information. Reuse previous data if netlink timestamp
7877 is not changed.
7878 (__bump_nl_timestamp): New function.
7879 (__free_in6ai): New function.
7880
636064eb
UD
78812011-10-30 Ulrich Drepper <drepper@gmail.com>
7882
7883 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7884 close_not_cancel_no_status here.
7885 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7886
9beb2334
UD
78872011-10-29 Ulrich Drepper <drepper@gmail.com>
7888
6ef76f3b
UD
7889 [BZ #13276]
7890 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7891 return value.
7892
0ffc4f3e 7893 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7894 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7895 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7896
cb95113e
UD
78972011-07-03 Andreas Jaeger <aj@suse.de>
7898
7899 [BZ #10709]
7900 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7901 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7902 * math/libm-test.inc (sin_test): Add test case.
7903
a1b560ff
UD
79042011-10-29 Ulrich Drepper <drepper@gmail.com>
7905
c9aaface
UD
7906 [BZ #13337]
7907 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7908 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7909
d272e7f1
UD
7910 * elf/chroot_canon.c (chroot_canon): Cleanups.
7911
1bc33071
UD
7912 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7913
1760874d
TJ
7914 [BZ #13335]
7915 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7916 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7917
51d91b18
UD
7918 * string/test-strchr.c: Make usable for strchrnul testing.
7919 * string/test-strchrnul.c: New file.
7920 * string/Makefile (strop-tests): Add strchrnul.
7921
a1b560ff 7922 * po/it.po: Update from translation team.
b611fb81 7923 * po/es.po: Likewise.
a1b560ff 7924
a5b81e1f
UD
79252011-10-28 Ulrich Drepper <drepper@gmail.com>
7926
fd52bc6d
UD
7927 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7928 the three constants needed as parameters. Drop the others.
7929 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7930 __m128i_strloadu_tolower.
52e4b9eb
UD
7931 Create and initialize variable zero and use it in all the places
7932 where _mm_setzero_si128 was used.
fd52bc6d 7933
a5b81e1f
UD
7934 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7935 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7936 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7937 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7938 anymore.
7939 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7940 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7941 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7942 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7943 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7944 __mpranred, __mptan.
7945 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7946 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7947 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7948 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7949 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7950 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7951 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7952 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7953 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7954
b4343346
AS
79552011-10-28 Andreas Schwab <schwab@redhat.com>
7956
0c92d8a8
AS
7957 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7958 redefine if SHARED.
7959 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7960
b4343346
AS
7961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7962 wide char related routines to wcsmbs subdir.
7963
3871f58f
AS
79642011-10-27 Andreas Schwab <schwab@redhat.com>
7965
7966 [BZ #13344]
7967 * misc/sys/cdefs.h (__THROWNL): Define.
7968 * posix/unistd.h: Use __THREADNL instead of __THREAD
7969 for memory synchronization functions.
7970
94d44d9f
RM
79712011-10-26 Roland McGrath <roland@hack.frob.com>
7972
21b64b15 7973 [BZ #13349]
94d44d9f
RM
7974 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7975 doesn't exist.
7976 * manual/stdio.texi (Obstack Streams): Node removed.
7977
f6ce9294
AS
79782011-10-26 Andreas Schwab <schwab@redhat.com>
7979
80479147
AS
7980 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7981 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7982 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7983
f6ce9294
AS
7984 * math/math_private.h (math_force_eval): Allow non-addressable
7985 arguments.
7986 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7987
618280a1
UD
79882011-10-25 Ulrich Drepper <drepper@gmail.com>
7989
e0016b11
UD
7990 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7991 file is not needed.
7992
7993 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7994 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7995 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7996 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7997 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7998 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7999 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8000 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8001 Add AVX variants.
8002 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8003 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8004 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8005 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8006 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8007 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8008 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8009 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8010 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8011 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8012 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8013 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8014 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8015 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8016 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8017 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8018 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8019 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8020 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8021
8022 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8023 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8024
618280a1
UD
8025 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8026 place. Use VEX encoding when compiling for AVX.
8027
37822576
AS
80282011-10-25 Andreas Schwab <schwab@redhat.com>
8029
1f1e1947
AS
8030 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8031 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8032
37822576
AS
8033 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8034
31ea014d
UD
80352011-10-25 Ulrich Drepper <drepper@gmail.com>
8036
d7826aa1 8037 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8038 useless if() expression.
d7826aa1
UD
8039 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8040 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8042 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8048 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8049 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8050 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8051 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8052 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8053 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8054 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8055 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8056 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8057 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8058
31ea014d
UD
8059 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8060
16437fec
AS
80612011-10-25 Andreas Schwab <schwab@redhat.com>
8062
8063 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8064 condition.
8065 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8066
31d3cc00
UD
80672011-10-25 Ulrich Drepper <drepper@gmail.com>
8068
8069 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8070 .text section. Avoid duplicate constants.
8071 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8072 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8073 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8074 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8075 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8081 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8083 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8085 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8086 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8087 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8088 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8089 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8090 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8091 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8092 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8094 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8095 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8096 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8097 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8098 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8099 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8100 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8101 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8102 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8103 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8104 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8105 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8106 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8107 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8109 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8110 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8111 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8112 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8113 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8114 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8115 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8116
58985aa9
UD
81172011-10-24 Ulrich Drepper <drepper@gmail.com>
8118
202c9deb
UD
8119 * sysdeps/x86_64/dla.h: Move to ...
8120 * sysdeps/x86_64/fpu/dla.h: ...here.
8121 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8122 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8123
af968f62
UD
8124 * config.make.in: Add have-mfma4 entry.
8125 * configure.in: Substitute libc_cv_cc_fma4.
8126 * math/Makefile (dbl-only-routines): Add sincostab.
8127 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8128 Use __sincostab not sincos.
8129 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8130 name is a macro.
8131 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8135 using __copysign.
8136 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8137 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8138 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8139 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8140 and __inv.
8141 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8142 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8143 __copysign.
8144 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8145 define aliases when function name is a macro.
8146 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8147 sysdeps/ieee754/dbl-64/sincos.tbl.
8148 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8149 fma4-enabled routines.
8150 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8151 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8152 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8153 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8154 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8155 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8156 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8157 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8158 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8159 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8160 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8161 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8162 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8163 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8164 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8165 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8166 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8167 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8168 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8169 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8170 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8171 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8172 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8173 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8174 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8175 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8176 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8177 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8178 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8179 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8180
58985aa9
UD
8181 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8182 rename.
8183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8184 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8189 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8191
a201fbcf
AS
81922011-10-24 Andreas Schwab <schwab@redhat.com>
8193
8194 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8195
fc2ee42a
LD
81962011-10-23 Ulrich Drepper <drepper@gmail.com>
8197
bb3129bd
UD
8198 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8199
0275fff8
UD
8200 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8201 prediction.
8202 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8203
2fa2ae85
UD
8204 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8205 Remove unused variable magic_bits.
8206 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8207
fc2ee42a
LD
8208 * string/strnlen.c: Define and use STRNLEN macro.
8209 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8210 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8211 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8212 * wcsmbs/wcslen.c: Define and use WCSLEN.
8213 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8214 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8215 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8216 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8217 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8218 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8219 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8220
ce7dd29f
LD
82212011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8222
8223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8224 strnlen-sse2-no-bsf.
8225 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8226 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8227 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8228 Add strnlen support.
8229 (USE_AS_STRNLEN): New macro.
8230 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8231 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8232 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8233 * sysdeps/x86_64/wcslen.S: New file.
8234
979c70a3
MZ
82352011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8236
8237 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8238 XMM-moves are used for copying on small sizes.
8239
2d09f82f
LD
82402011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8241
8242 * wcsmbs/Makefile (strop-tests): Add wcschr.
8243 * wcsmbs/test-wcschr.c: New file.
8244 * string/test-strchr.c: Update.
8245 Add wcschr support.
8246 (WIDE): New macro.
8247
619fccca
LD
82482011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8249
2d09f82f 8250 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8251 * wcsmbs/test-wcslen.c: New file.
8252 * string/test-strlen.c: Update.
8253 Add wcslen support.
8254 (WIDE): New macro.
8255
09f699ea
UD
82562011-10-23 Ulrich Drepper <drepper@gmail.com>
8257
8258 * po/it.po: Update from translation team.
8259
95584d3b
LD
82602011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8261
8262 * sysdeps/x86_64/wcscmp.S: Update.
8263 Fix wrong comparison semantics.
8264 wcscmp shall use signed comparison not unsigned.
8265 Don't use substraction to avoid overflow bug.
8266 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8267 * wcsmbc/wcscmp.c: Likewise.
8268 * string/test-strcmp.c: Likewise.
8269 Add new tests to check cases with negative values.
8270
c8b3296b
UD
82712011-10-23 Ulrich Drepper <drepper@gmail.com>
8272
8273 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8274 * sysdeps/x86_64/dla.h: ...here. New file.
8275 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8276 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8284
246ad57a
AS
82852011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8286
8287 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8288 __ynl_finite aliases.
8289
a1a87169
UD
82902011-10-22 Ulrich Drepper <drepper@gmail.com>
8291
0d355eb7
UD
8292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8293
a1a87169
UD
8294 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8295 define DLA_FMA.
8296 [DLA_FMA] (EMULV): Use DLA_FMA.
8297 [DLA_FMA] (MUL12): Use EMULV.
8298 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8299 that are not needed.
8300 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8301 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8307
ee2aafe0
AS
83082011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8309
8310 * math/s_nan.c: Undef __nan.
8311 * math/s_nanf.c: Undef __nanf.
8312 * math/s_nanl.c: Undef __nanl.
8313 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8314 "math_private.h".
8315
bc62c2fb
UD
83162011-10-22 Ulrich Drepper <drepper@gmail.com>
8317
77425c63
UD
8318 * math/s_catan.c: Add branch predictions.
8319 * math/s_catanf.c: Likewise.
8320 * math/s_catanh.c: Likewise.
8321 * math/s_catanhf.c: Likewise.
8322 * math/s_catanhl.c: Likewise.
8323 * math/s_catanl.c: Likewise.
8324 * math/s_cexp.c: Likewise.
8325 * math/s_cexpf.c: Likewise.
8326 * math/s_cexpl.c: Likewise.
8327 * math/s_clog.c: Likewise.
8328 * math/s_clog10.c: Likewise.
8329 * math/s_clog10f.c: Likewise.
8330 * math/s_clog10l.c: Likewise.
8331 * math/s_clogf.c: Likewise.
8332 * math/s_clogl.c: Likewise.
8333 * math/s_csqrt.c: Likewise.
8334 * math/s_csqrtf.c: Likewise.
8335 * math/s_csqrtl.c: Likewise.
8336 * math/s_ctanf.c: Likewise.
8337 * math/s_ctanh.c: Likewise.
8338 * math/s_ctanhf.c: Likewise.
8339 * math/s_ctanhl.c: Likewise.
8340 * math/s_ctanl.c: Likewise.
8341
bc62c2fb
UD
8342 * math/math_private.h: Define __nan, __nanf, __nanl.
8343 * math/s_cacosh.c: Include <math_private.h>.
8344 * math/s_cacoshl.c: Likewise.
8345 * math/s_casinh.c: Likewise.
8346 * math/s_casinhf.c: Likewise.
8347 * math/s_casinhl.c: Likewise.
8348 * math/s_ccos.c: Rely entire on ccosh.
8349 * math/s_ccosf.c: Rely entire on ccoshf.
8350 * math/s_ccosl.c: Rely entirely on ccoshl.
8351 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8352 Remove tests for FE_INVALID.
8353 * math/s_ccoshf.c: Likewise.
8354 * math/s_ccoshl.c: Likewise.
8355 * math/s_csin.c: Likewise.
8356 * math/s_csinf.c: Likewise.
8357 * math/s_csinh.c Likewise.
8358 * math/s_csinhf.c: Likewise.
8359 * math/s_csinhl.c: Likewise.
8360 * math/s_csinl.c: Likewise.
8361 * math/s_ctan.c: Likewise.
8362 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8363 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8364 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8365
8ec250a4
UD
83662011-10-21 Ulrich Drepper <drepper@gmail.com>
8367
c196fed8
UD
8368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8369 compilation problems.
8370
8ec250a4
UD
8371 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8372 __builtin_expect.
8373
8d4f46c6
UD
83742011-10-20 Ulrich Drepper <drepper@gmail.com>
8375
ed72b654
UD
8376 * sysdeps/i386/configure.in: Test for -mfma4 option.
8377 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8378 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8379 COMMON_CPUID_INDEX_80000001.
8380 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8381 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8382 use it if FMA3 is not supported.
8383 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8384
8d4f46c6
UD
8385 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8386 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8387
d45c60c2
AS
83882011-10-20 Andreas Schwab <schwab@redhat.com>
8389
8390 [BZ #12892]
8391 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8392 it would create a cycle with a link time dependency.
8393
d9a4d2ab
UD
83942011-10-19 Ulrich Drepper <drepper@gmail.com>
8395
855d1560
UD
8396 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8397 instruction.
8398 * string/Makefile (strop-tests): Add rawmemchr.
8399 * string/test-rawmemchr.c: New file.
8400
d9a4d2ab
UD
8401 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8402 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8403 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8404 when compiling str{,n}casecmp and when AVX is available. Hook up
8405 new optimized code in initializers.
8406
8f3b1ffe
AS
84072011-10-19 Andreas Schwab <schwab@redhat.com>
8408
8409 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8410 __feraiseexcept instead of feraiseexcept.
8411
d38f1dba
UD
84122011-10-18 Ulrich Drepper <drepper@gmail.com>
8413
d9a8d0ab
UD
8414 * math/math_private.h: Define defaults for libc_fetestexcept and
8415 libc_feupdateenv.
8416 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8417 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8418 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8419 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8420 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8421 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8422 libc_fetestexcept and libc_feupdateenv.
8423
4855e3dd
UD
8424 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8425 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8426 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8427 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8428 libc_feholdexcept_setround.
8429
581d30e3
UD
8430 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8431 Add s_nearbyint-c and s_nearbyintf-c.
8432 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8433 nearbyintf inlines.
8434 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8435 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8436 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8437 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8438
d38f1dba
UD
8439 * math/math_private.h: Define defaults for libc_fegetround,
8440 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8441 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8442 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8443 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8444 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8445 standard functions.
8446 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8447 Remove comments and hacks for old compiler versions.
8448 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8449 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8450 libc_feholdexceptl.
8451
caa6c9d8
AS
84522011-10-18 Andreas Schwab <schwab@redhat.com>
8453
8454 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8455 (__feraiseexcept_renamed): Add __NTH.
8456 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8457 namespace violations.
8458
97c066e6
UD
84592011-10-17 Ulrich Drepper <drepper@gmail.com>
8460
99ce7b04
UD
8461 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8462
1004d182
UD
8463 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8464
228a984d
UD
8465 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8466 recently added interfaces.
8467 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8468
c8553a6a
UD
8469 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8470 about macro parameter expansion.
8471
ed22dcf6
UD
8472 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8473 __NO_MATH_INLINES is defined. Cleanups.
8474
8475 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8476 and __floorf is target has SSE4.1.
8477 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8478 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8479 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8480 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8481
b171c137
UD
8482 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8483 name.
8484 (floorf): Likewise.
8485
97c066e6
UD
8486 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8487
629f62ef
AS
84882011-10-17 Andreas Schwab <schwab@redhat.com>
8489
49a43d80
AS
8490 * misc/sys/cdefs.h: Fix last change.
8491
629f62ef
AS
8492 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8493 database lookup.
8494
e453f6cd
UD
84952011-10-16 Ulrich Drepper <drepper@gmail.com>
8496
aa78043a
UD
8497 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8498
ad0f5cad
UD
8499 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8500 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8505 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8506 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8507 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8508 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8509 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8510 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8511 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8512 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8513 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8514 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8515 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8516 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8517 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8518 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8519 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8520 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8521
8522 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8523 ceil, ceilf, floor, floorf.
8524
8525 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8526 Perform IRELATIVE relocations last.
8527
e453f6cd
UD
8528 * elf/do-rel.h: Add another parameter nrelative, replacing the
8529 local variable with the same name. Change name of the function
8530 to end in Rel or Rela (uppercase).
8531 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8532 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8533 elf_dynamic_do_##reloc function.
8534
fd5bdc09
UD
85352011-10-15 Ulrich Drepper <drepper@gmail.com>
8536
79b195b5
UD
8537 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8538 is sufficient, at least on modern CPUs.
8539
d4a28569
UD
8540 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8541
b61099b5
UD
8542 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8543 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8544
bcf01e6d
UD
8545 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8546 __expl_finite.
8547 * math/bits/math-finite.h: Add entries for exp.
8548 * math/e_expl.c: Add __*_finite alias.
8549 * sysdeps/i386/fpu/e_exp.S: Likewise.
8550 * sysdeps/i386/fpu/e_expf.S: Likewise.
8551 * sysdeps/i386/fpu/e_expl.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8553 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8554 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8557 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8558 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8559
ba1a0d59
UD
8560 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8561 is sufficient, at least on modern CPUs.
8562
fd5bdc09
UD
8563 * ctype/ctype-info.c (__ctype_init): Define.
8564 * include/ctype.h (__ctype_init): Declare.
8565 (__ctype_b_loc): The variable is always initialized.
8566 (__ctype_toupper_loc): Likewise.
8567 (__ctype_tolower_loc): Likewise.
8568 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8569 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8570
7872cfb0
AS
85712011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8572
b468825a
AS
8573 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8574
7872cfb0
AS
8575 * configure.in: Also look in $cxxmachine/include for C++ system
8576 headers.
8577
be13f7bf
LD
85782011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8579
8580 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8581 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8582 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8583 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8584 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8585 (USE_AS_WMEMCMP): New macro.
8586 Fixing indents.
8587 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8588 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8589 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8590 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8591 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8592 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8593 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8594 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8595 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8596 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8597 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8598 (USE_AS_WMEMCMP): New macro.
8599 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8600 * sysdeps/string/test-memcmp.c: Update.
8601 Fix simple_wmemcmp.
8602 Add new tests.
8603 * wcsmbs/wmemcmp.c: Update.
8604 (WMEMCMP): New macro.
8605 Fix overflow bug.
8606
556a2007
AJ
86072011-10-12 Andreas Jaeger <aj@suse.de>
8608
8609 [BZ #13268]
8610 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8611
538faaa7
UD
86122011-10-15 Ulrich Drepper <drepper@gmail.com>
8613
ab6737ff
UD
8614 * libio/iofwide.c (do_length): Avoid warning.
8615
538faaa7
UD
8616 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8617
396a21b1
UD
86182011-10-14 Ulrich Drepper <drepper@gmail.com>
8619
cdf2901f
UD
8620 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8621
38ad40ce
UD
8622 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8623 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8624 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8625 * sysdeps/i386/i686/fpu/e_log.S: New file.
8626 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8627 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8628
396a21b1
UD
8629 * ctype/ctype.h: Add support for inlined isXXX functions when
8630 compiling C++ code.
8631
6b1f68c9
AS
86322011-10-14 Andreas Schwab <schwab@redhat.com>
8633
349290c0
AS
8634 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8635
6b1f68c9
AS
8636 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8637
f2282d42
RM
86382011-10-13 Roland McGrath <roland@hack.frob.com>
8639
8640 [BZ #13291]
8641 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8642
5298ffa8
AS
86432011-10-13 Andreas Schwab <schwab@redhat.com>
8644
714fad23
AS
8645 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8646 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8647 feraiseexcept.
8648
81dcc7fb
AS
8649 * sysdeps/x86_64/memrchr.S: Check for zero size.
8650
5298ffa8
AS
8651 * string/stratcliff.c: Add memrchr tests.
8652
951fbcec
LD
86532011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8654
8655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8656 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8657 rawmemchr-sse2 rawmemchr-sse2-bsf.
8658 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8659 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8660 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8661 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8662 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8663 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8664 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8665 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8666 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8667 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8668 * string/memrchr.c (MEMRCHR): New macro.
8669
0ac5ae23
UD
86702011-10-12 Ulrich Drepper <drepper@gmail.com>
8671
8672 Add integration with gcc's -ffinite-math-only and optimize wrapper
8673 functions in libm.
8674 * Versions.def: Define GLIBC_2.15 version for libm.
8675 * math/Makefile (headers): Add bits/math-finite.h.
8676 * math/bits/math-finite.h: New file.
8677 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8678 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8679 * math/e_acoshl.c: Add __*_finite alias.
8680 * math/e_acosl.c: Likewise.
8681 * math/e_asinl.c: Likewise.
8682 * math/e_atan2l.c: Likewise.
8683 * math/e_atanhl.c: Likewise.
8684 * math/e_coshl.c: Likewise.
8685 * math/e_exp10.c: Likewise.
8686 * math/e_exp10f.c: Likewise.
8687 * math/e_exp10l.c: Likewise.
8688 * math/e_exp2l.c: Likewise.
8689 * math/e_fmodl.c: Likewise.
8690 * math/e_gammal_r.c: Likewise.
8691 * math/e_hypotl.c: Likewise.
8692 * math/e_j0l.c: Likewise.
8693 * math/e_j1l.c: Likewise.
8694 * math/e_jnl.c: Likewise.
8695 * math/e_lgammal_r.c: Likewise.
8696 * math/e_log10l.c: Likewise.
8697 * math/e_log2l.c: Likewise.
8698 * math/e_logl.c: Likewise.
8699 * math/e_powl.c: Likewise.
8700 * math/e_sinhl.c: Likewise.
8701 * math/e_sqrtl.c: Likewise.
8702 * math/e_scalb.c: Completely rewritten and optimized.
8703 * math/e_scalbf.c: Likewise.
8704 * math/e_scalbl.c: Likewise.
8705 * math/w_acos.c: Likewise.
8706 * math/w_acosf.c: Likewise.
8707 * math/w_acosl.c: Likewise.
8708 * math/w_acosh.c: Likewise.
8709 * math/w_acoshf.c: Likewise.
8710 * math/w_acoshl.c: Likewise.
8711 * math/w_asin.c: Likewise.
8712 * math/w_asinf.c: Likewise.
8713 * math/w_asinl.c: Likewise.
8714 * math/w_atan2.c: Likewise.
8715 * math/w_atan2f.c: Likewise.
8716 * math/w_atan2l.c: Likewise.
8717 * math/w_atanh.c: Likewise.
8718 * math/w_atanhf.c: Likewise.
8719 * math/w_atanhl.c: Likewise.
8720 * math/w_exp10.c: Likewise.
8721 * math/w_exp10f.c: Likewise.
8722 * math/w_exp10l.c: Likewise.
8723 * math/w_fmod.c: Likewise.
8724 * math/w_fmodf.c: Likewise.
8725 * math/w_fmodl.c: Likewise.
8726 * math/w_j0.c: Likewise.
8727 * math/w_j0f.c: Likewise.
8728 * math/w_j0l.c: Likewise.
8729 * math/w_j1.c: Likewise.
8730 * math/w_j1f.c: Likewise.
8731 * math/w_j1l.c: Likewise.
8732 * math/w_jn.c: Likewise.
8733 * math/w_jnf.c: Likewise.
8734 * math/w_log.c: Likewise.
8735 * math/w_logf.c: Likewise.
8736 * math/w_logl.c: Likewise.
8737 * math/w_log10.c: Likewise.
8738 * math/w_log10f.c: Likewise.
8739 * math/w_log10l.c: Likewise.
8740 * math/w_log2.c: Likewise.
8741 * math/w_log2f.c: Likewise.
8742 * math/w_log2l.c: Likewise.
8743 * math/w_pow.c: Likewise.
8744 * math/w_powf.c: Likewise.
8745 * math/w_powl.c: Likewise.
8746 * math/w_remainder.c: Likewise.
8747 * math/w_remainderf.c: Likewise.
8748 * math/w_remainderl.c: Likewise.
8749 * math/w_scalb.c: Likewise.
8750 * math/w_scalbf.c: Likewise.
8751 * math/w_scalbl.c: Likewise.
8752 * math/w_sqrt.c: Likewise.
8753 * math/w_sqrtf.c: Likewise.
8754 * math/w_sqrtl.c: Likewise.
8755 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8756 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8757 used.
8758 * math/math_private.h: Declare __kernel_standard_f.
8759 * math/w_cosh.c: Remove cruft and optimize a bit.
8760 * math/w_coshf.c: Likewise.
8761 * math/w_coshl.c: Likewise.
8762 * math/w_exp2.c: Likewise.
8763 * math/w_exp2f.c: Likewise.
8764 * math/w_exp2l.c: Likewise.
8765 * math/w_hypot.c: Likewise.
8766 * math/w_hypotf.c: Likewise.
8767 * math/w_hypotl.c: Likewise.
8768 * math/w_lgamma.c: Likewise.
8769 * math/w_lgamma_r.c: Likewise.
8770 * math/w_lgammaf.c: Likewise.
8771 * math/w_lgammaf_r.c: Likewise.
8772 * math/w_lgammal.c: Likewise.
8773 * math/w_lgammal_r.c: Likewise.
8774 * math/w_sinh.c: Likewise.
8775 * math/w_sinhf.c: Likewise.
8776 * math/w_sinhl.c: Likewise.
8777 * math/w_tgamma.c: Likewise.
8778 * math/w_tgammaf.c: Likewise.
8779 * math/w_tgammal.c: Likewise.
8780 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8781 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8782 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8783 Minor optimizations. Pretty printing. Remove cruft.
8784 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8785 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8786 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8787 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8788 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8789 * sysdeps/i386/fpu/e_asin.S: Likewise.
8790 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8791 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8792 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8793 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8794 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8795 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8796 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8797 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8798 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8799 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8800 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8801 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8802 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8803 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8804 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8805 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8806 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8807 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8808 * sysdeps/i386/fpu/e_log.S: Likewise.
8809 * sysdeps/i386/fpu/e_log10.S: Likewise.
8810 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8811 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8812 * sysdeps/i386/fpu/e_log2.S: Likewise.
8813 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8814 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8815 * sysdeps/i386/fpu/e_logf.S: Likewise.
8816 * sysdeps/i386/fpu/e_logl.S: Likewise.
8817 * sysdeps/i386/fpu/e_pow.S: Likewise.
8818 * sysdeps/i386/fpu/e_powf.S: Likewise.
8819 * sysdeps/i386/fpu/e_powl.S: Likewise.
8820 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8821 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8822 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8823 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8824 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8825 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8826 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8827 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8828 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8850 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8851 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8852 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8853 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8854 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8855 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8856 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8857 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8858 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8859 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8860 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8861 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8862 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8863 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8864 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8865 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8866 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8867 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8868 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8869 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8870 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8875 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8876 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8885 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8886 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8887 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8890 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8898 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8900 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8901 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8904 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8906 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8907 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8908 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8909 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8910 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8912 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8914 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8915 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8917 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8918 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8919 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8920 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8921 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8922 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8923 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8924 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8925 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8926 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8927 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8928 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8929 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8930 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8931 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8932 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8933 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8934 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8935 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8936 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8937 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8938 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8939 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8940 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8941 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8942 (__isnanf): Likewise.
8943 (__isinf_ns): Likewise.
8944 (__isinf_nsf): Likewise.
8945 (__finite): Likewise.
8946 (__finitef): Likewise.
8947 (__ieee754_sqrt): Define as macro.
8948 (__ieee754_sqrtf): Define as macro.
8949 (__ieee754_sqrtl): Define as macro.
8950 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8951 inlined copy.
8952 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8953 __FINITE_MATH_ONLY__ consistent.
8954 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8955
12cc2fcd
AS
89562011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8957
a843a204
AS
8958 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8959 of rawmemchr.
8960
12cc2fcd
AS
8961 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8962
c853acd5
UD
89632011-10-09 Ulrich Drepper <drepper@gmail.com>
8964
8965 * po/ja.po: Update from translation team.
8966
c658d255
RM
89672011-10-08 Roland McGrath <roland@hack.frob.com>
8968
110946e4
RM
8969 * locale/programs/locarchive.c (prepare_address_space): New function.
8970 (create_archive, enlarge_archive, open_archive): Use it.
8971
50604220
RM
8972 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8973 inside [SHARED], where it is used.
8974
c658d255
RM
8975 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8976
8977 * nss/getent.c (netgroup_keys): Remove unused variable.
8978 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8979
6a621eb7
UD
89802011-10-08 Ulrich Drepper <drepper@gmail.com>
8981
7edb55ce
UD
8982 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8983 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8984 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8985 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8986 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8987 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8988 * math/Makefile (libm-calls): Add s_isinf_ns.
8989 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8990 * math/multc3.c: Likewise.
8991 * math/s_casin.c: Likewise.
8992 * math/s_casinf.c: Likewise.
8993 * math/s_casinl.c: Likewise.
8994 * math/s_ccos.c: Likewise.
8995 * math/s_ccosf.c: Likewise.
8996 * math/s_ccosl.c: Likewise.
8997 * math/s_ctan.c: Likewise.
8998 * math/s_ctanf.c: Likewise.
8999 * math/s_ctanh.c: Likewise.
9000 * math/s_ctanhf.c: Likewise.
9001 * math/s_ctanhl.c: Likewise.
9002 * math/s_ctanl.c: Likewise.
9003 * math/w_fmod.c: Likewise.
9004 * math/w_fmodf.c: Likewise.
9005 * math/w_fmodl.c: Likewise.
9006 * math/w_remainder.c: Likewise.
9007 * math/w_remainderf.c: Likewise.
9008 * math/w_remainderl.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9010 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9011 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9013 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9014 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9015 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9016 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9017
187da0ae
UD
9018 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9019 of the number.
9020 * stdio-common/printf_fphex.c: Likewise.
9021 * stdio-common/printf_size.c: Likewise.
9022
9277c064
UD
9023 * math/e_exp10.c: Include math_private.h using <...> not "...".
9024 * math/e_exp10f.c: Likewise.
9025 * math/e_exp10l.c: Likewise.
9026 * math/e_exp2l.c: Likewise.
9027 * math/e_j0l.c: Likewise.
9028 * math/e_j1l.c: Likewise.
9029 * math/e_jnl.c: Likewise.
9030 * math/e_lgammal_r.c: Likewise.
9031 * math/e_rem_pio2l.c: Likewise.
9032 * math/e_scalb.c: Likewise.
9033 * math/e_scalbf.c: Likewise.
9034 * math/e_scalbl.c: Likewise.
9035 * math/k_cosl.c: Likewise.
9036 * math/k_sinl.c: Likewise.
9037 * math/k_tanl.c: Likewise.
9038 * math/s_cacoshf.c: Likewise.
9039 * math/s_catan.c: Likewise.
9040 * math/s_catanf.c: Likewise.
9041 * math/s_catanh.c: Likewise.
9042 * math/s_catanhf.c: Likewise.
9043 * math/s_catanhl.c: Likewise.
9044 * math/s_catanl.c: Likewise.
9045 * math/s_ccosh.c: Likewise.
9046 * math/s_ccoshf.c: Likewise.
9047 * math/s_ccoshl.c: Likewise.
9048 * math/s_cexp.c: Likewise.
9049 * math/s_cexpf.c: Likewise.
9050 * math/s_cexpl.c: Likewise.
9051 * math/s_clog.c: Likewise.
9052 * math/s_clog10.c: Likewise.
9053 * math/s_clog10f.c: Likewise.
9054 * math/s_clog10l.c: Likewise.
9055 * math/s_clogf.c: Likewise.
9056 * math/s_clogl.c: Likewise.
9057 * math/s_csin.c: Likewise.
9058 * math/s_csinf.c: Likewise.
9059 * math/s_csinh.c: Likewise.
9060 * math/s_csinhf.c: Likewise.
9061 * math/s_csinhl.c: Likewise.
9062 * math/s_csinl.c: Likewise.
9063 * math/s_csqrt.c: Likewise.
9064 * math/s_csqrtf.c: Likewise.
9065 * math/s_csqrtl.c: Likewise.
9066 * math/s_ctan.c: Likewise.
9067 * math/s_ctanf.c: Likewise.
9068 * math/s_ctanh.c: Likewise.
9069 * math/s_ctanhf.c: Likewise.
9070 * math/s_ctanhl.c: Likewise.
9071 * math/s_ctanl.c: Likewise.
9072 * math/s_ldexp.c: Likewise.
9073 * math/s_ldexpf.c: Likewise.
9074 * math/s_ldexpl.c: Likewise.
9075 * math/s_significand.c: Likewise.
9076 * math/s_significandf.c: Likewise.
9077 * math/s_significandl.c: Likewise.
9078 * math/w_acos.c: Likewise.
9079 * math/w_acosf.c: Likewise.
9080 * math/w_acosh.c: Likewise.
9081 * math/w_acoshf.c: Likewise.
9082 * math/w_acoshl.c: Likewise.
9083 * math/w_acosl.c: Likewise.
9084 * math/w_asin.c: Likewise.
9085 * math/w_asinf.c: Likewise.
9086 * math/w_asinl.c: Likewise.
9087 * math/w_atan2.c: Likewise.
9088 * math/w_atan2f.c: Likewise.
9089 * math/w_atan2l.c: Likewise.
9090 * math/w_atanh.c: Likewise.
9091 * math/w_atanhf.c: Likewise.
9092 * math/w_atanhl.c: Likewise.
9093 * math/w_cosh.c: Likewise.
9094 * math/w_coshf.c: Likewise.
9095 * math/w_coshl.c: Likewise.
9096 * math/w_dremf.c: Likewise.
9097 * math/w_exp10.c: Likewise.
9098 * math/w_exp10f.c: Likewise.
9099 * math/w_exp10l.c: Likewise.
9100 * math/w_exp2.c: Likewise.
9101 * math/w_exp2f.c: Likewise.
9102 * math/w_fmod.c: Likewise.
9103 * math/w_fmodf.c: Likewise.
9104 * math/w_fmodl.c: Likewise.
9105 * math/w_hypot.c: Likewise.
9106 * math/w_hypotf.c: Likewise.
9107 * math/w_hypotl.c: Likewise.
9108 * math/w_j0.c: Likewise.
9109 * math/w_j0f.c: Likewise.
9110 * math/w_j0l.c: Likewise.
9111 * math/w_j1.c: Likewise.
9112 * math/w_j1f.c: Likewise.
9113 * math/w_j1l.c: Likewise.
9114 * math/w_jn.c: Likewise.
9115 * math/w_jnf.c: Likewise.
9116 * math/w_jnl.c: Likewise.
9117 * math/w_lgamma.c: Likewise.
9118 * math/w_lgamma_r.c: Likewise.
9119 * math/w_lgammaf.c: Likewise.
9120 * math/w_lgammaf_r.c: Likewise.
9121 * math/w_lgammal.c: Likewise.
9122 * math/w_lgammal_r.c: Likewise.
9123 * math/w_log.c: Likewise.
9124 * math/w_log10.c: Likewise.
9125 * math/w_log10f.c: Likewise.
9126 * math/w_log10l.c: Likewise.
9127 * math/w_log2.c: Likewise.
9128 * math/w_log2f.c: Likewise.
9129 * math/w_log2l.c: Likewise.
9130 * math/w_logf.c: Likewise.
9131 * math/w_logl.c: Likewise.
9132 * math/w_pow.c: Likewise.
9133 * math/w_powf.c: Likewise.
9134 * math/w_powl.c: Likewise.
9135 * math/w_remainder.c: Likewise.
9136 * math/w_remainderf.c: Likewise.
9137 * math/w_remainderl.c: Likewise.
9138 * math/w_scalb.c: Likewise.
9139 * math/w_scalbf.c: Likewise.
9140 * math/w_scalbl.c: Likewise.
9141 * math/w_sinh.c: Likewise.
9142 * math/w_sinhf.c: Likewise.
9143 * math/w_sinhl.c: Likewise.
9144 * math/w_sqrt.c: Likewise.
9145 * math/w_sqrtf.c: Likewise.
9146 * math/w_sqrtl.c: Likewise.
9147 * math/w_tgamma.c: Likewise.
9148 * math/w_tgammaf.c: Likewise.
9149 * math/w_tgammal.c: Likewise.
9150
6a621eb7
UD
9151 * po/ja.po: Update from translation team.
9152
bf582445
AJ
91532011-09-29 Andreas Jaeger <aj@suse.de>
9154
f9efbf3a
AJ
9155 [BZ #13179]
9156 * sunrpc/netname.c (netname2host): Fix logic.
9157
bf582445
AJ
9158 [BZ #6779]
9159 [BZ #6783]
9160 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9161 correctly.
9162 * math/w_remainder.c (__remainder): Likewise.
9163 * math/w_remainderf.c (__remainderf): Likewise.
9164 * math/libm-test.inc (remainder_test): Add test cases.
9165
48693bea
AK
91662011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9167
9168 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9169 sdiv_qrnnd.
9170
42622229
LD
91712011-10-07 Ulrich Drepper <drepper@gmail.com>
9172
9173 * string/test-memcmp.c: Avoid unncessary #defines.
9174 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9175
093ecf92
LD
91762011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9177
9178 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9179 Use new sse2 version for core i3 - i7 as it's faster
9180 than sse42 version.
9181 (bit_Prefer_PMINUB_for_stringop): New.
9182 * sysdeps/x86_64/rawmemchr.S: Update.
9183 Replace with faster SSE2 version.
9184 * sysdeps/x86_64/memrchr.S: New file.
9185 * sysdeps/x86_64/memchr.S: Update.
9186 Replace with faster SSE2 version.
9187
fde56e5c
MP
91882011-09-12 Marek Polacek <mpolacek@redhat.com>
9189
9190 * elf/dl-load.c (lose): Add cast to avoid warning.
9191
21fd49a9
UD
91922011-10-07 Ulrich Drepper <drepper@gmail.com>
9193
5a06e643
UD
9194 * po/ca.po: Update from translation team.
9195
684ae515
UD
9196 * inet/getnetgrent_r.c: Hook up nscd.
9197 * nscd/Makefile (routines): Add nscd_netgroup.
9198 (nscd-modules): Add netgroupcache.
9199 (CFLAGS-netgroupcache.c): Define.
9200 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9201 (cache_search): Add const to second parameter.
9202 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9203 INNETGR.
9204 (dbs): Add netgrdb entry.
9205 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9206 (verify_persistent_db): Handle netgrdb.
9207 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9208 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9209 GETFDNETGR.
9210 (netgroup_response_header): Define.
9211 (innetgroup_response_header): Define.
9212 (datahead): Add netgroup_response_header and innetgroup_response_header
9213 elements.
9214 * nscd/nscd.conf: Add entries for netgroup cache.
9215 * nscd/nscd.h (dbtype): Add netgrdb.
9216 (_PATH_NSCD_NETGROUP_DB): Define.
9217 (netgroup_iov_disabled): Declare.
9218 (xmalloc, xcalloc, xrealloc): Move declarations here.
9219 (cache_search): Adjust prototype.
9220 Add netgroup-related prototypes.
9221 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9222 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9223 (__nscd_innetgr): Declare.
9224 * nscd/selinux.c (perms): Use access_vector_t as element type and
9225 add netgroup-related initializers.
9226 * nscd/netgroupcache.c: New file.
9227 * nscd/nscd_netgroup.c: New file.
9228 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9229 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9230 For four parameters use innetgr.
9231 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9232 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9233 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9234 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9235
21fd49a9
UD
9236 * nscd/connections.c (register_traced_file): Don't register file
9237 for disabled databases.
9238
054c0457
UD
92392011-10-06 Ulrich Drepper <drepper@gmail.com>
9240
32b63198
UD
9241 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9242
054c0457
UD
9243 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9244 from tree and freeing node.
9245
64031225
JO
92462011-09-25 Jiri Olsa <jolsa@redhat.com>
9247
9248 * nss/nsswitch.c (__nss_database_lookup): Handle
9249 nss_parse_service_list out of memory case.
9250
0490345c
JO
92512011-09-15 Jiri Olsa <jolsa@redhat.com>
9252
9253 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9254 out of memory case.
9255
3a62d00d
AS
92562011-10-04 Andreas Schwab <schwab@redhat.com>
9257
9258 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9259 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9260 pass it down.
9261 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9262 elf_machine_rela, elf_machine_lazy_rel.
9263 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9264 (ELF_DYNAMIC_DO_REL): Likewise.
9265 (ELF_DYNAMIC_DO_RELA): Likewise.
9266 (ELF_DYNAMIC_RELOCATE): Likewise.
9267 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9268 to ELF_DYNAMIC_DO_REL.
9269 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9270 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9271 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9272 elf_machine_rela.
9273 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9274 skip_ifunc, don't call ifunc function if non-zero.
9275 (elf_machine_rela): Likewise.
9276 (elf_machine_lazy_rel): Likewise.
9277 (elf_machine_lazy_rela): Likewise.
9278 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9279 (elf_machine_lazy_rel): Likewise.
9280 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9281 Likewise.
9282 (elf_machine_lazy_rel): Likewise.
9283 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9284 Likewise.
9285 (elf_machine_lazy_rel): Likewise.
9286 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9287 (elf_machine_lazy_rel): Likewise.
9288 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9289 (elf_machine_lazy_rel): Likewise.
9290 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9291 (elf_machine_lazy_rel): Likewise.
9292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9293 (elf_machine_lazy_rel): Likewise.
9294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9295 (elf_machine_lazy_rel): Likewise.
9296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9297 (elf_machine_lazy_rel): Likewise.
9298
68577918
UD
92992011-09-28 Ulrich Drepper <drepper@gmail.com>
9300
9301 * nss/nss_files/files-init.c (_nss_files_init): Use static
9302 initialization for all the *_traced_file variables.
9303
68822d74
AS
93042011-09-28 Andreas Schwab <schwab@redhat.com>
9305
9306 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9307
2056100b
RM
93082011-09-27 Roland McGrath <roland@hack.frob.com>
9309
9310 [BZ #13226]
9311 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9312
32c76b63
AS
93132011-09-27 Andreas Schwab <schwab@redhat.com>
9314
9315 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9316 Reread the line before reparsing it.
9317
bf972c9d
AS
93182011-09-26 Andreas Schwab <schwab@redhat.com>
9319
9320 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9321
e057a1b5
JM
93222011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9323 Maxim Kuvyrkov <maxim@codesourcery.com>
9324 Joseph Myers <joseph@codesourcery.com>
9325
9326 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9327 if needed for __stack_chk_guard.
9328
bc7e1c36
RM
93292011-09-19 Roland McGrath <roland@hack.frob.com>
9330
ecb1482f
RM
9331 * sysdeps/posix/spawni.c (script_execute): Always define it.
9332 It will be optimized away if unused.
9333 (maybe_script_execute): New function.
9334 (__spawni): Call it.
9335
bc7e1c36
RM
9336 * Makerules: Don't include tls.make.
9337 (config-tls): Always set to thread.
9338 * tls.make.c: File removed.
9339
1c3b002b
MF
93402011-09-19 Mike Frysinger <vapier@gentoo.org>
9341
9342 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9343 * config.make.in (CPPFLAGS-config): New substituted variable.
9344
2840865d
UD
93452011-09-15 Ulrich Drepper <drepper@gmail.com>
9346
88738eb6
UD
9347 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9348
cbf645a6 9349 [BZ #13192]
2840865d
UD
9350 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9351 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9352
b402e91a
RM
93532011-09-15 Roland McGrath <roland@hack.frob.com>
9354
9355 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9356 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9357 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9358 (CALL_FAIL): Likewise.
9359 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9360 (CALL_FAIL): Macro removed.
9361 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9362
4c1a1f71
UD
93632011-09-15 Ulrich Drepper <drepper@gmail.com>
9364
9365 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9366 for __FINITE_MATH_ONLY__ == 1.
9367
edc121be
AS
93682011-09-15 Andreas Schwab <schwab@redhat.com>
9369
9370 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9371 __ieee754_sqrt instead of sqrt.
9372 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9373 __ieee754_sqrtf instead of sqrtf.
9374 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9375 __floorf instead of floorf.
9376 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9377 __floorf, __truncf instead of floorf, truncf.
9378
cd205654
UD
93792011-09-14 Ulrich Drepper <drepper@gmail.com>
9380
ee4d0315
UD
9381 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9382
cd205654
UD
9383 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9384 __extern_always_inline.
9385 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9386 32-bit.
9387
48b67d71
AS
93882011-09-14 Andreas Schwab <schwab@redhat.com>
9389
9390 * elf/rtld.c (dl_main): Also relocate in dependency order when
9391 doing symbol dependency testing.
9392
1ae12c75
AS
93932011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9394
9395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9396 Always define `refsym'.
9397
995a80df
AS
93982011-09-13 Andreas Schwab <schwab@redhat.com>
9399
e529793b
AS
9400 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9401 (__FD_ELT): Renamed from __FDELT.
9402 * misc/bits/select2.h (__FD_ELT): Likewise.
9403 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9404 __FD_MASK instead of __FDELT, __FDMASK.
9405 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9406 Likewise.
9407 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9408 Likewise.
9409
52d4fef8
AS
9410 * elf/Makefile (gen-ldd): Fix pattern.
9411
995a80df
AS
9412 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9413 (init_tls): Likewise.
9414
8682f8b0
UD
94152011-09-12 Ulrich Drepper <drepper@gmail.com>
9416
9417 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9418
de82006d
AS
94192011-09-12 Andreas Schwab <schwab@redhat.com>
9420
a7c8e6a1
AS
9421 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9422 `struct cmsghdr *' instead of `void *'.
9423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9424 Likewise.
9425
0f31fe77
AS
94262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9427
9428 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9429 if non-absolute.
9430 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9431 ldd_rewrite_script.
0f31fe77 9432
32b4c839
UD
94332011-09-11 Ulrich Drepper <drepper@gmail.com>
9434
83cd1420
UD
9435 * configure.in: Remove --with-tls option.
9436 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9437 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9438 out in case it is missing.
9439 * sysdeps/ia64/elf/configure.in: Likewise.
9440 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9441 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9442 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9443 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9444 * sysdeps/sh/elf/configure.in: Likewise.
9445 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9446 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9447 * sysdeps/x86_64/elf/configure.in: Likewise.
9448 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9449 * sysdeps/mach/hurd/tls.h: Likewise.
9450
633f745d
UD
9451 [BZ #13067]
9452 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9453
f318beb8
UD
9454 [BZ #13090]
9455 * configure.in: Fix use of AC_INIT.
9456
32b4c839
UD
9457 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9458
3ce1f295
UD
94592011-09-10 Ulrich Drepper <drepper@gmail.com>
9460
bb016596
UD
9461 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9462 __set_errno.
8e58439c
UD
9463 * malloc/hooks.c: Likewise.
9464
aebae053 9465 [BZ #11929]
02d46fc4
UD
9466 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9467 variables statically.
9468 (narenas): Initialize.
9469 (list_lock): Initialize.
bb016596
UD
9470 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9471 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9472 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9473 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9474 Add initializers to main_arena and mp_.
9475 (malloc_state): Remove pagesize member. Change all users to use
9476 GLRO(dl_pagesize).
9477
9478 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9479 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9480 is always initialized.
9481
22a89187
UD
9482 * malloc/malloc.c: Removed unused configurations and dead code.
9483 * malloc/arena.c: Likewise.
9484 * malloc/hooks.c: Likewise.
02d46fc4 9485 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9486
d063d164
UD
9487 * include/tls.h: Removed. USE___THREAD must always be defined.
9488 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9489 * elf/dl-libc.c: Likewise.
9490 * elf/dl-tsd.c: Likewise.
9491 * include/errno.h: Likewise.
9492 * include/netdb.h: Likewise.
9493 * include/resolv.h: Likewise.
9494 * inet/herrno-loc.c: Likewise.
9495 * inet/herrno.c: Likewise.
9496 * malloc/arena.c: Likewise.
9497 * malloc/hooks.c: Likewise.
9498 * malloc/malloc.c: Likewise.
9499 * resolv/res-state.c: Likewise.
9500 * resolv/res_libc.c: Likewise.
9501 * sysdeps/i386/dl-machine.h: Likewise.
9502 * sysdeps/ia64/dl-machine.h: Likewise.
9503 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9504 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9505 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9506 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9507 * sysdeps/sh/dl-machine.h: Likewise.
9508 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9509 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9510 * sysdeps/unix/i386/sysdep.S: Likewise.
9511 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9512 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9513 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9514 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9515 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9516 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9517 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9521 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9522 * sysdeps/x86_64/dl-machine.h: Likewise.
9523 * tls.make.c: Likewise.
9524
3ce1f295
UD
9525 * configure.in: Remove --with-__thread option. Make tests for
9526 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9527 tls_model attribute fail if no support is available. Remove
9528 USE_IN_LIBIO.
9529 * Makeconfig: Adjust for dropped configure option. All features are
9530 now mandatory.
9531 * Makerules: Likewise.
9532 * Versions.def: Likewise.
9533 * argp/argp-fmtstream.c: Likewise.
9534 * argp/argp-fmtstream.h: Likewise.
9535 * argp/argp-help.c: Likewise.
9536 * assert/assert.c: Likewise.
9537 * config.h.in: Likewise.
9538 * config.make.in: Likewise.
9539 * configure: Likewise.
9540 * configure.in: Likewise.
9541 * csu/Versions: Likewise.
9542 * csu/init.c: Likewise.
9543 * elf/tst-audit2.c: Likewise.
9544 * elf/tst-tls10.c: Likewise.
9545 * elf/tst-tls10.h: Likewise.
9546 * elf/tst-tls11.c: Likewise.
9547 * elf/tst-tls12.c: Likewise.
9548 * elf/tst-tls14.c: Likewise.
9549 * elf/tst-tlsmod11.c: Likewise.
9550 * elf/tst-tlsmod12.c: Likewise.
9551 * elf/tst-tlsmod13.c: Likewise.
9552 * elf/tst-tlsmod13a.c: Likewise.
9553 * elf/tst-tlsmod14a.c: Likewise.
9554 * elf/tst-tlsmod15b.c: Likewise.
9555 * elf/tst-tlsmod16a.c: Likewise.
9556 * elf/tst-tlsmod16b.c: Likewise.
9557 * elf/tst-tlsmod7.c: Likewise.
9558 * elf/tst-tlsmod8.c: Likewise.
9559 * elf/tst-tlsmod9.c: Likewise.
9560 * gmon/gmon.c: Likewise.
9561 * grp/fgetgrent_r.c: Likewise.
9562 * grp/putgrent.c: Likewise.
9563 * hurd/fopenport.c: Likewise.
9564 * include/libc-symbols.h: Likewise.
9565 * include/tls.h: Likewise.
9566 * intl/gettextP.h: Likewise.
9567 * intl/loadinfo.h: Likewise.
9568 * locale/global-locale.c: Likewise.
9569 * locale/localeinfo.h: Likewise.
9570 * mach/devstream.c: Likewise.
9571 * malloc/arena.c: Likewise.
9572 * malloc/set-freeres.c: Likewise.
9573 * misc/err.c: Likewise.
9574 * misc/getttyent.c: Likewise.
9575 * misc/mntent_r.c: Likewise.
9576 * posix/getopt.c: Likewise.
9577 * posix/wordexp.c: Likewise.
9578 * pwd/fgetpwent_r.c: Likewise.
9579 * resolv/Versions: Likewise.
9580 * resolv/res_hconf.c: Likewise.
9581 * shadow/fgetspent_r.c: Likewise.
9582 * shadow/putspent.c: Likewise.
9583 * stdio-common/printf_fphex.c: Likewise.
9584 * stdio-common/tmpfile.c: Likewise.
9585 * stdlib/abort.c: Likewise.
9586 * stdlib/fmtmsg.c: Likewise.
9587 * sunrpc/auth_unix.c: Likewise.
9588 * sunrpc/clnt_perr.c: Likewise.
9589 * sunrpc/clnt_tcp.c: Likewise.
9590 * sunrpc/clnt_udp.c: Likewise.
9591 * sunrpc/clnt_unix.c: Likewise.
9592 * sunrpc/openchild.c: Likewise.
9593 * sunrpc/svc_simple.c: Likewise.
9594 * sunrpc/svc_tcp.c: Likewise.
9595 * sunrpc/svc_udp.c: Likewise.
9596 * sunrpc/svc_unix.c: Likewise.
9597 * sunrpc/xdr.c: Likewise.
9598 * sunrpc/xdr_array.c: Likewise.
9599 * sunrpc/xdr_rec.c: Likewise.
9600 * sunrpc/xdr_ref.c: Likewise.
9601 * sunrpc/xdr_stdio.c: Likewise.
9602
1248c1c4
PB
96032011-09-09 Ulrich Drepper <drepper@gmail.com>
9604
9605 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9606
96072011-07-03 Andreas Jaeger <aj@suse.de>
9608
9609 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9610 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9611 regenerate with gen-libm-tests.pl.
9612
96132010-05-12 Petr Baudis <pasky@suse.cz>
9614
9615 [BZ #11589]
9616 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9617 around j0() zero points by switching to j1().
9618 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9621 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9622
f22e1074
UD
96232011-09-09 Ulrich Drepper <drepper@gmail.com>
9624
f19009c1
UD
9625 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9626 instead of 0.
9627 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9628 instead of 0. .
9629 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9630 Patch in part by Pavel Roskin <proski@gnu.org>.
9631
3f8cc204
UD
9632 [BZ #13138]
9633 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9634 realloc.
9635 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9636 Free memory block if necessary.
9637
f22e1074
UD
9638 [BZ #12847]
9639 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9640 be NULL. Don't lock in this case.
9641
0a2349f9
RM
96422011-09-09 Roland McGrath <roland@hack.frob.com>
9643
9644 * elf/elf.h (ELFOSABI_GNU): New macro.
9645 (ELFOSABI_LINUX): Define to that.
9646
f3cdd467
DZ
96472011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9648
9649 * string/strncat.c (strncat): Undef the symbol in case it has been
9650 defined in bits/string.h.
9651
74718d13
UD
96522011-09-09 Ulrich Drepper <drepper@gmail.com>
9653
633e9e0f
UD
9654 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9655
0a2349f9 9656 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9657 link map.
9658
f9924780
AJ
96592011-08-17 Andreas Jaeger <aj@suse.de>
9660
9661 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9662
7f5517aa
PP
96632011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9664 Ian Lance Taylor <iant@google.com>
9665
9666 * math/libm-test.inc (lround_test): New testcase.
9667 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9668
762011fe
UD
96692011-09-08 Ulrich Drepper <drepper@gmail.com>
9670
92963737
UD
9671 * Makefile: Remove support for automatic cvs check-ins.
9672 * Makerules: Likewise.
9673 * config.make.in: Likewise.
9674 * configure.in: Likewise.
9675 * intl/Makefile: Likewise.
9676 * locale/Makefile: Likewise.
9677 * po/Makefile: Likewise.
9678 * posix/Makefile: Likewise.
9679 * sysdeps/gnu/Makefile: Likewise.
9680 * sysdeps/mach/hurd/Makefile: Likewise.
9681 * sysdeps/sparc/sparc32/Makefile: Likewise.
9682
b0727fd8
JS
9683 [BZ #13118]
9684 * posix/Makefile (bug-regex32-ENV): Define.
9685 Patch by John Stanley <jpsinthemix@verizon.net>.
9686
a0f33f99
UD
9687 * misc/Makefile (headers): Add bits/select2.h.
9688 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9689 * misc/bits/select2.h: New file.
9690 * include/bits/select2.h: New file.
9691 * debug/Makefile (routines): Add fdelt_chk.
9692 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9693 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9694 FD_ISSET.
9695 * debug/fdelt_chk.c: New file.
9696
762011fe
UD
9697 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9698 * wcsmbs/test-wmemcmp.c: Likewise.
9699 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9700 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9701
97022011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9703
9704 * string/Makefile (strop-tests): Add memcmp.
9705 * string/test-wmemcmp.c: New file.
9706 * string/test-memcmp.c: Add wmemcmp support.
9707
7f513ec8
RM
97082011-09-08 Roland McGrath <roland@hack.frob.com>
9709
0442afb4
RM
9710 [BZ #13153]
9711 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9712 2011-07-19 change.
9713
7f513ec8
RM
9714 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9715 garbage value in a __mach_port_mod_refs call in the cases of the
9716 task-self and thread-self ports.
9717
a12b2239
ST
97182011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9719
9720 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9721
610f9ab4
AS
97222011-09-08 Andreas Schwab <schwab@redhat.com>
9723
7f513ec8 9724 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9725
48882a1a
LD
97262011-09-07 Ulrich Drepper <drepper@gmail.com>
9727
b49865be
UD
9728 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9729
fdc86bc9
UD
9730 * elf/dl-libc.c (dlerror_run): Pass back error code from
9731 dl_catch_error.
9732
c966526a
UD
9733 [BZ #13123]
9734 * elf/dl-load.c (lose): Free l_origin if it is valid.
9735
48882a1a
LD
9736 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9737 names.
9738 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9739 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9740 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9741 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9742 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9743 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9744
77a2a8b4
AZ
97452011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9746
9747 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9748 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9749 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9750 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9751 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9752 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9753 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9754 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9755 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9756 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9757
24f579d8
AM
97582011-08-15 Alan Modra <amodra@gmail.com>
9759
9760 [BZ #13092]
9761 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9762 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9763 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9764 ppc_mcount to static-only-routines.
9765 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9766 __mcount_internal.
9767 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9768 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9769
3d4837df
UD
97702011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9771
9772 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9773 for finite and infinity parameters.
9774
22700377
WS
97752011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9776
9777 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9778 and add nop instructions for throughput optimization.
9779 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9780
5025581e
WS
97812011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9782
9783 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9784 aligned copy for power7 with vector-scalar instructions.
9785 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9786
08a300c9
L
97872011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9788
9789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9790 AVX check.
9791
59178ef9
AS
97922011-09-07 Andreas Schwab <schwab@redhat.com>
9793
9794 [BZ #13144]
9795 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9796 last change.
9797
e38ba7ab
UD
97982011-09-07 Ulrich Drepper <drepper@gmail.com>
9799
9800 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9801 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9802 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9803 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9804 clock_gettime.
9805
d53a73ac
UD
98062011-09-06 Ulrich Drepper <drepper@gmail.com>
9807
fc8bffcc
UD
9808 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9809 Forgot to demangle the pointer.
9810
ceaa0c5d
UD
9811 * sysdeps/i386/sysdep.h: Define atom_text_section.
9812 * sysdeps/x86_64/sysdep.h: Likewise.
9813 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9814 section with atom_text_section.
9815 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9816 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9817 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9818 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9819 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9820
a77d3c17
UD
9821 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9822 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9823 already be defined. Change to take two parameters and don't assign
9824 result to variable. Adjust all users.
9825 Define INTERNAL_GETTIME if not already defined.
9826 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9827 call.
9828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9829 HAVE_CLOCK_GETTIME_VSYSCALL.
9830 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9831
d53a73ac
UD
9832 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9833 gettimeofday vsyscall, just use time.
9834
a8f84144
AS
98352011-09-06 Andreas Schwab <schwab@redhat.com>
9836
9837 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9838 <errno.h>.
9839
ef606249
UD
98402011-09-06 Ulrich Drepper <drepper@gmail.com>
9841
9842 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9843 syscall on x86-64.
9844 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9845 syscall.
9846 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9847 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9848 syscall if possible.
9849
6585cb60
UD
98502011-09-05 Ulrich Drepper <drepper@gmail.com>
9851
9852 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9853 e_ident. Don't pass to find_mapsXX.
9854 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9855
a5f524e4
LD
98562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9857
9858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9859 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9860 * sysdeps/x86_64/multiarch/strchr.S: Update.
9861 Check bit_slow_BSF bit.
9862 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9863 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9864 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9865
554881ef
UD
98662011-09-05 Ulrich Drepper <drepper@gmail.com>
9867
d96de963
UD
9868 [BZ #13134]
9869 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9870 before glibc 2.15.
9871 (tryshell): Define.
9872 (__spawni): Change last parameter to be flag. Test
9873 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9874 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9875 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9876 * posix/spawni.c: Likewise.
9877 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9878 * posix/spawnp.c: Likewise. Change normal version to use
9879 SPAWN_XFLAGS_USE_PATH.
9880 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9881 SPAWN_XFLAGS_TRY_SHELL.
9882
d48e5868
UD
9883 [BZ #13150]
9884 * posix/glob.h: Remove gcc 1.x support.
9885
554881ef
UD
9886 [BZ #13068]
9887 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9888
693fb948
LD
98892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9890
9891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9892 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9893 strrchr-sse2-bsf
9894 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9895 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9896 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9897 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9898 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9899 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9900
1b48c537
UD
99012011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9902
49d42c37
UD
9903 * sysdeps/x86_64/wcscmp.S: New file.
9904
1b48c537
UD
9905 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9906 wcscmp-c wcscmp-sse2
9907 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9908 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9909 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9910 * wcsmbs/wcscmp.c: Allow renaming.
9911
15c95c5d
DM
99122011-09-05 David S. Miller <davem@davemloft.net>
9913
9914 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9915 stack slot, rather than the struct return pointer slot.
9916 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9917 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9919 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9920
2f0ad8f3
UD
99212011-09-05 Ulrich Drepper <drepper@gmail.com>
9922
d88ae418
UD
9923 * po/ja.po: Update from translation team.
9924
2f0ad8f3
UD
9925 [BZ #13144]
9926 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9927 kernel in 64-bit binaries.
9928
5f4318d1
DM
99292011-09-01 David S. Miller <davem@davemloft.net>
9930
9931 * elf/elf.h (HWCAP_SPARC_*): Move to..
9932 * sysdeps/sparc/sysdep.h: this new file and add new values.
9933 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9934 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9935 _DL_HWCAP_COUNT to 24.
9936 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9937 entries.
9938 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9939 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9940 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9942 instead of magic constants.
9943 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9944
3ba57516
DM
99452011-08-31 David S. Miller <davem@davemloft.net>
9946
9947 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9949 Reimplement to do errno handling inline.
9950 (SYSCALL_ERROR_HANDLER): New macro.
9951 (__SYSCALL_STRING): Do not do errno handling in asm.
9952 (__CLONE_SYSCALL_STRING): Delete.
9953 (__INTERNAL_SYSCALL_STRING): Delete.
9954 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9955 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9956 (PSEUDO): Reimplement to do errno handling inline.
9957 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9958 (SYSCALL_ERROR_HANDLER): New macro.
9959 (__SYSCALL_STRING): Do not do errno handling in asm.
9960 (__CLONE_SYSCALL_STRING): Delete.
9961 (__INTERNAL_SYSCALL_STRING): Delete.
9962 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9963 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9964 i386.
9965 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9966 (inline_syscall*): Add 'err' argument.
9967 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9968 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9969 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9970 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9971
9972 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9973 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9974
2bc17433
AS
99752011-08-30 Andreas Schwab <schwab@redhat.com>
9976
9977 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9978
fbeb5f4d
JO
99792011-08-29 Jiri Olsa <jolsa@redhat.com>
9980
9981 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9982 directive.
9983
ad69cc26
DM
99842011-08-24 David S. Miller <davem@davemloft.net>
9985
9986 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9987
39dd69df
AS
99882011-08-24 Andreas Schwab <schwab@redhat.com>
9989
9990 * elf/Makefile: Add rules to build and run unload8 test.
9991 * elf/unload8.c: New file.
9992 * elf/unload8mod1.c: New file.
9993 * elf/unload8mod1x.c: New file.
9994 * elf/unload8mod2.c: New file.
9995 * elf/unload8mod3.c: New file.
9996
9997 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9998 it wasn't used.
9999
2c0b250a
DM
100002011-08-23 David S. Miller <davem@davemloft.net>
10001
10002 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10003 subtract stack bias.
10004 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10005 %sp not %fp in calculations.
10006 (_JMPBUF_UNWINDS_ADJ): Likewise.
10007
22044b48
DM
10008 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10009 (aio_suspend): Call it to force an exception region around the
10010 AIO_MISC_WAIT() invocation.
10011
2cae4995
AS
100122011-08-23 Andreas Schwab <schwab@redhat.com>
10013
10014 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10015 backslash.
10016
873a772e
AJ
100172011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10018
10019 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10020 protection macro.
10021 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10022 and <dl-machine.h>.
10023 (Elf64_FuncDesc): Remove.
10024
25ad0df1
DM
100252011-08-22 David S. Miller <davem@davemloft.net>
10026
10027 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10028 sigaltstack check, add missing cfi directives.
10029 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10030 missing cfi directives, and sigaltstack handling.
10031
e888bcbe
AS
100322011-08-16 Andreas Schwab <schwab@redhat.com>
10033
10034 [BZ #11724]
10035 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10036 object is seen twice.
10037 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10038
10039 * elf/Makefile (distribute): Add tst-initorder2.c.
10040 (tests): Add tst-initorder2.
10041 (modules-names): Add tst-initorder2a tst-initorder2b
10042 tst-initorder2c tst-initorder2d. Add rules to build them.
10043 ($(objpfx)tst-initorder2.out): New rule.
10044 * elf/tst-initorder2.c: New file.
10045 * elf/tst-initorder2.exp: New file.
10046
87162f46
AS
100472011-08-22 Andreas Schwab <schwab@redhat.com>
10048
70538b7f
AS
10049 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10050
f55ffe58
AS
10051 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10052 dependencies back to end of function.
10053
87162f46
AS
10054 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10055 $(elfobjdir)/ld.so.
10056
91b392a4
UD
100572011-08-21 Ulrich Drepper <drepper@gmail.com>
10058
10059 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10060 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10062 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10063 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10064 of __vdso_gettimeofday.
10065 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10066 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10067 attribute_hidden.
10068 (_libc_vdso_platform_setup): Remove initialization of
10069 __vdso_gettimeofday and __vdso_time.
10070
5c43483f
UD
100712011-08-20 Ulrich Drepper <drepper@gmail.com>
10072
775a77e7
UD
10073 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10074 and fgetc_unlocked.
10075 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10076 getc_unlocked.
89f447ed 10077
49c74ba9
UD
10078 * elf/dl-open.c (add_to_global): Report additions to the global scope
10079 for LD_DEBUG=scopes.
10080 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10081 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10082
5c43483f
UD
10083 [BZ #13114]
10084 * stdio-common/Makefile (tests): Add bug24.
10085 * stdio-common/bug24.c: New file.
10086
a101b025
AJ
100872011-08-19 Andreas Jaeger <aj@suse.de>
10088
10089 [BZ #13114]
10090 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10091 non-existant file when using close-on-exec mode.
10092
c88f1766
UD
100932011-08-20 Ulrich Drepper <drepper@gmail.com>
10094
0276a718
UD
10095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10096 the very first instruction.
10097
c88f1766
UD
10098 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10099 the CFI state in the end.
10100 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10101 inclusion of dl-trampoline.h.
10102 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10103
51ccffa0
AS
101042011-08-19 Andreas Schwab <schwab@redhat.com>
10105
94d7165f
AS
10106 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10107 expectations for long double.
10108
51ccffa0
AS
10109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10110 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10111
fd708658 101122011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10113
10114 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10115 artificual limit depends upon the system page size.
10116
44f0a71e
UD
101172011-08-17 Ulrich Drepper <drepper@gmail.com>
10118
10119 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10120 * resolv/Makefile: Define CFLAGS-libresolv.
10121
8de79a24
AS
101222011-08-17 Andreas Schwab <schwab@redhat.com>
10123
10124 * nss/makedb.c (compute_tables): Make variables used in nested
10125 function static.
10126
27724598
UD
101272011-08-17 Ulrich Drepper <drepper@gmail.com>
10128
c5305d88
UD
10129 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10130 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10131 if buffer was too small.
10132
27724598
UD
10133 * elf/pldd.c (main): Attach to all threads in the process.
10134 Rewrite /proc handling to use *at functions.
10135
076fe015
UD
101362011-08-16 Ulrich Drepper <drepper@gmail.com>
10137
174baab3
UD
10138 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10139 specifies first scope to show.
10140 (dl_open_worker): Update callers. Move printing scope of new
10141 object to before the relocation.
44f0a71e 10142 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10143 * sysdeps/generic/ldsodefs.h: Update declaration.
10144
076fe015
UD
10145 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10146 string for the scope number.
10147
a60df2c3
UD
101482011-08-14 Ulrich Drepper <drepper@gmail.com>
10149
10150 * nscd/servicescache.c (cache_addserv): Make sure written is always
10151 initialized.
10152
5e4287d1
RM
101532011-08-14 Roland McGrath <roland@hack.frob.com>
10154
85ae0589
RM
10155 * sysdeps/i386/i486/bits/atomic.h
10156 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10157 statement expression, so as to suppress "set but not used" warning.
10158 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10159
69f63097
RM
10160 * string/strncat.c (STRNCAT): Use prototype definition.
10161
675456ef
RM
10162 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10163 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10164 -Iprograms here.
10165 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10166 (localedef-modules): Add localedef.
10167 (locale-modules): Add locale.
10168
5e4287d1
RM
10169 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10170 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10171 to avoid a warning.
10172
9c96ff23
DM
101732011-08-14 David S. Miller <davem@davemloft.net>
10174
10175 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10176 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10177
f9ddf089
UD
101782011-08-13 Ulrich Drepper <drepper@gmail.com>
10179
44f0a71e 10180 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10181 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10182 * elf/rtld.c (dl_main): Set l_name of vDSO.
10183 Call _dl_show_scope when DL_DEBUG_SCOPES.
10184 (process_dl_debug): Recognize scopes flag and also set it for all.
10185 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10186 Declare _dl_show_scope.
10187
1dc27704
UD
10188 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10189 (do_dlopen): Pass caller_dlopen to dl_open.
10190 (__libc_dlopen_mode): Initialize caller_dlopen.
10191
f9ddf089
UD
10192 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10193 of libc. Make tolower call locale-independent. Optimize a bit by
10194 using isdigit instead of isalnum.
10195 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10196
9ac533d3
UD
101972011-08-12 Ulrich Drepper <drepper@gmail.com>
10198
10199 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10200 was a dependency or dynamically loaded.
10201
89edf2e9
UD
102022011-08-11 Ulrich Drepper <drepper@gmail.com>
10203
8e999d29
UD
10204 * intl/l10nflist.c: Allow architecture-specific pop function.
10205 * sysdeps/x86_64/l10nflist.c: New file.
10206
89edf2e9
UD
10207 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10208 classification.
10209
14d96785
AS
102102011-08-10 Andreas Schwab <schwab@redhat.com>
10211
10212 * include/dirent.h: Add libc_hidden_proto for scandirat and
10213 scandirat64. Don't declare __scandirat64.
10214 * dirent/scandirat.c: Add libc_hidden_def.
10215 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10216 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10217
6761ac04
DM
102182011-08-10 David S. Miller <davem@davemloft.net>
10219
10220 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10221 enum.
10222 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10223 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10224 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10225
c55fbd1e
UD
102262011-08-09 Ulrich Drepper <drepper@gmail.com>
10227
10228 * Versions.def [libc]: Add GLIBC_2.15.
10229 * dirent/Makefile (routines): Add scandirat and scandirat64.
10230 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10231 GLIBC_2.15.
10232 * dirent/dirent.h: Declare scandirat and scandirat64.
10233 * dirent/scandirat.c: New file.
10234 * dirent/scandirat64.c: New file.
10235 * sysdeps/wordsize-64/scandirat.c: New file.
10236 * sysdeps/wordsize-64/scandirat64.c: New file.
10237 * dirent/opendir.c: Define opendirat.
10238 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10239 using scandirat.
10240 * dirent/scandir64.c: Adjust for scandir.c change.
10241 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10242 __scandirat64, and __scandir_cancel_handler.
10243 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10244 additional parameter and use openat instead of open (outside of ld.so).
10245 Add new __opendir as wrapper around __opendirat.
10246 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10247 here without requiring old scandirat implementation.
10248
879165f2
UD
102492011-08-08 Ulrich Drepper <drepper@gmail.com>
10250
10251 * dirent/scandir.c (cancel_handler): Renamed to
10252 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10253 defined. Adjust users.
10254 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10255 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10256
cb7e923b
UD
102572011-08-04 Ulrich Drepper <drepper@gmail.com>
10258
16292edd
UD
10259 * string/test-string.h (IMPL): Use __STRING to expand name and then
10260 stringify it.
10261
cb7e923b
UD
10262 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10263 of cleanups.
10264
cff82933
LD
102652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10266
10267 * string/Makefile: Update.
10268 (strop-tests): Append strncat.
10269 * string/test-wcscmp.c: New file.
10270 New comprehensive test for wcscmp.
10271 * string/test-strcmp.c: Update.
10272 (WIDE): New define.
10273
9be9bfcc
AS
102742011-07-22 Andreas Schwab <schwab@redhat.com>
10275
10276 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10277 line.
10278
2e96f1c7
AS
102792011-07-26 Andreas Schwab <schwab@redhat.com>
10280
10281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10282 encoding to ACE if AI_IDN.
10283
85188888
JJ
102842011-08-01 Jakub Jelinek <jakub@redhat.com>
10285
10286 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10287 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10288
5fa16e9b
LD
102892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10290
10291 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10292 Fix overflow bug in strncat.
10293 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10294
10295 * string/test-strncat.c: Update.
10296 Add new tests for checking overflow bugs.
10297
102982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10299
10300 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10301 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10302 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10303 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10304 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10305 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10306 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10307 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10308 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10309
10310 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10311 (USE_AS_STRCAT): Define.
10312 Add strcat and strncat support.
10313 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10314
8c1a459f
AS
103152011-07-25 Andreas Schwab <schwab@redhat.com>
10316
10317 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10318 __n bigger than INT_MAX+1.
10319 (__strncmp_g): Likewise.
10320
bba33c28
UD
103212011-07-23 Ulrich Drepper <drepper@gmail.com>
10322
798be72d
UD
10323 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10324 * libio/stido.h: Likewise.
10325
8accd4dc
UD
10326 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10327 (AF_NFC): Define.
10328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10329 (AF_NFC): Define.
10330
cbff0d96
UD
10331 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10332 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10333 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10334 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10335 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10336
9191c04a
UD
10337 [BZ #13021]
10338 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10339 installed.
10340
bba33c28
UD
10341 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10342 typo.
10343 (_dl_x86_64_save_sse): Likewise.
10344
90f139dd
UD
103452011-07-22 Ulrich Drepper <drepper@gmail.com>
10346
1aae088a
UD
10347 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10348 OSXSAVE.
10349 (_dl_x86_64_save_sse): Likewise.
10350
8e2045f5
UD
10351 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10352
90f139dd
UD
10353 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10354
1d002f25
AS
103552011-07-21 Andreas Schwab <schwab@redhat.com>
10356
10357 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10358 change.
10359 (_dl_x86_64_save_sse): Use correct AVX check.
10360
21137f89
UD
103612011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10362
10363 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10364 bug in strncpy/strncat.
10365 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10366
a65c0b7a
UD
103672011-07-21 Ulrich Drepper <drepper@gmail.com>
10368
10369 * string/tester.c (test_strcat): Add tests for different alignments
10370 of source and destination.
10371 (test_strncat): Likewise.
10372
6986b98a
UD
103732011-07-20 Ulrich Drepper <drepper@gmail.com>
10374
90bb2039
UD
10375 [BZ #12852]
10376 * posix/glob.c (glob): Check passed in values before using them in
10377 expressions to avoid some overflows.
10378 (glob_in_dir): Likewise.
10379
5644ef54
UD
10380 [BZ #13007]
10381 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10382 check for AVX enablement so that we don't crash with old kernels and
10383 new hardware.
10384 * elf/tst-audit4.c: Add same checks here.
10385 * elf/tst-audit6.c: Likewise.
10386
10387 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10388
bfc9dc9b
AS
103892011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10390
10391 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10392
702e64bb
UD
103932011-07-20 Ulrich Drepper <drepper@gmail.com>
10394
10395 * po/cs.po: Update from translation team.
10396 * po/bg.po: Likewise.
10397
295e904f
MP
103982011-07-12 Marek Polacek <mpolacek@redhat.com>
10399
10400 * misc/sys/cdefs.h: Add support for const attribute.
10401 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10402 to gnu_dev_{major,minor,makedev} functions.
10403
3ff94596
MP
104042011-07-20 Marek Polacek <mpolacek@redhat.com>
10405
10406 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10407
28b59fca
AS
104082011-07-20 Andreas Schwab <schwab@redhat.com>
10409
10410 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10411 strlen results.
10412
19df733e
AK
104132011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10414
10415 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10416 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10417 register in order to avoid conflicts with the soft frame pointer
10418 being held in r11 when necessary.
10419 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10420 (INTERNAL_VSYSCALL_NCS): Likewise.
10421
c8835729
MP
104222011-07-14 Marek Polacek <mpolacek@redhat.com>
10423
10424 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10425 * elf/dl-fini.c (_dl_fini): Adjust caller.
10426 * elf/dl-close.c (_dl_close_worker): Likewise.
10427 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10428
b902330c
MP
104292011-07-15 Marek Polacek <mpolacek@redhat.com>
10430
8991e135
MP
10431 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10432 "aux_cache->nlibs < 0".
10433
b902330c
MP
10434 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10435 in the reload-count case.
10436
99710781
LD
104372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10438
10439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10440 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10441 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10442 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10443 * sysdeps/x86_64/multiarch/strcat.S: New file.
10444 * sysdeps/x86_64/multiarch/strncat.S: New file.
10445 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10446 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10447 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10448 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10449 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10450 (USE_AS_STRCAT): Define.
10451 Add strcat and strncat support.
10452 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10453 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10454 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10455 * string/strncat.c: Update.
10456 (USE_AS_STRNCAT): Define.
10457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10458 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10459 and i7.
10460 * sysdeps/x86_64/multiarch/init-arch.h
10461 (bit_Prefer_PMINUB_for_stringop): New.
10462 (index_Prefer_PMINUB_for_stringop): Likewise.
10463 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10464 bit_Prefer_PMINUB_for_stringop.
10465
7dc6bd90
UD
104662011-07-19 Ulrich Drepper <drepper@gmail.com>
10467
10468 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10469 buffer64.
10470 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10471 of casting of buffer.
10472 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10473 buffer32 and buffer64.
10474 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10475 writes instead of casting of buffer.
10476 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10477 buffer32.
10478 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10479 casting of buffer.
10480
e0e72284
AS
104812011-07-19 Andreas Schwab <schwab@redhat.com>
10482
10483 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10484
feb1eb0b
UD
104852011-07-19 Ulrich Drepper <drepper@gmail.com>
10486
10487 * nscd/nscd.c (termination_handler): Don't do anything for a database
10488 if it has not yet been initialized.
10489
298711ff
UD
104902011-07-18 Ulrich Drepper <drepper@gmail.com>
10491
10492 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10493
104942011-07-15 Marek Polacek <mpolacek@redhat.com>
10495
10496 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10497
f9d68389
UD
104982011-07-18 Ulrich Drepper <drepper@gmail.com>
10499
10500 * po/nl.po: Update from translation team.
10501 * po/sv.po: Likewise.
10502
db290cf5
RM
105032011-07-16 Roland McGrath <roland@hack.frob.com>
10504
10505 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10506 now disallowed by GCC.
5c550700 10507
fd5e21c7
RM
10508 * configure.in (use-default-link): Default to yes if a test -shared
10509 link meets our qualifications.
10510 * configure: Regenerated.
10511
5c550700
RM
10512 * config.make.in (output-format): New variable.
10513 * configure.in: Check for ld --print-output-format support.
10514 * configure: Regenerated.
10515 * Makerules ($(common-objpfx)format.lds)
10516 [$(output-format) != unknown]: Just use $(output-format),
10517 instead of the linker-script munging.
10518
9fa2c032
RM
105192011-07-14 Roland McGrath <roland@hack.frob.com>
10520
a6928d51
RM
10521 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10522 of $(common-objpfx)shlib.lds.
10523 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10524
661607b3
RM
10525 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10526 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10527
9fa2c032
RM
10528 * configure.in (-z relro check): Adjust test code to add a large
10529 writable data section after it.
10530 * configure: Regenerated.
10531
defe9061
RM
105322011-07-11 Roland McGrath <roland@hack.frob.com>
10533
10534 * configure.in (-z relro check): Fix test code to make the variable
10535 truly const.
10536 * configure: Regenerated.
10537
319b9ad4
UD
105382011-07-11 Ulrich Drepper <drepper@gmail.com>
10539
10540 * nscd/nscd.h (struct traced_file): Define.
10541 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10542 elements. Add traced_files.
10543 (inotify_fd): Declare.
10544 (register_traced_file): Declare.
10545 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10546 (inotify_fd): Export.
10547 (resolv_conf_descr): Remove.
10548 (nscd_init): Move inotify descriptor creation to main.
10549 Don't register files for notification here.
10550 (register_traced_file): New function.
10551 (invalidate_cache): Don't use reset_res to determine whether to call
10552 res_init, go through the list of registered files.
10553 (main_loop_poll): The inotify descriptors are now stored in the
10554 structures for the traced files.
10555 (main_loop_epoll): Likewise
10556 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10557 to __nss_disable_nscd.
10558 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10559 for a database anymore. Check the records for all the registered
10560 files instead.
10561 * nss/Makefile (libnss_files-routines): Add files-init.
10562 (libnss_db-routines): Add db-init.
10563 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10564 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10565 * nss/nss_db/db-init.c: New file.
10566 * nss/nss_files/files-init.c: New file.
10567 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10568 __nss_lookup_function.
10569 (__nss_lookup_function): Call nss_load_library.
10570 (nss_load_all_libraries): New function.
10571 (__nss_disable_nscd): Take parameter with callback function for files
10572 to register. Set is_nscd. Load all the DSOs for the NSS modules
10573 used for the cached services.
10574 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10575 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10576 options for features to all the files in nscd.
10577
10578 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10579
23bee3e8
RM
105802011-07-10 Roland McGrath <roland@hack.frob.com>
10581
10582 * csu/elf-init.c (__libc_csu_init): Comment typo.
10583
46a5b7f0
UD
105842011-07-09 Ulrich Drepper <drepper@gmail.com>
10585
10586 * po/pl.po: Update from translation team.
10587 * po/ja.po: Likewise.
10588 * po/ru.po: Likewise.
10589 * po/ko.po: Likewise.
10590 * po/fr.po: Likewise.
10591
d30cf5bb
RM
105922011-07-09 Roland McGrath <roland@hack.frob.com>
10593
113ddea4
RM
10594 * configure.in (.ctors/.dtors header and trailer check):
10595 Use an empirical test on a built program.
10596 * configure: Regenerated.
10597
574920b4
RM
10598 * configure.in (-z relro check): Use an empirical test on a built DSO.
10599 Detect, but do not require, on ia64.
10600 * configure: Regenerated.
10601
d30cf5bb
RM
10602 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10603 Update tests that use readelf to use $READELF instead.
10604 * configure: Regenerated.
10605
8538fdb3
UD
106062011-07-08 Ulrich Drepper <drepper@gmail.com>
10607
10608 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10609 if the result is not used.
10610
04d08991
AJ
106112011-07-05 Andreas Jaeger <aj@suse.de>
10612
10613 [BZ#9696]
10614 * stdlib/tst-strtod.c: Add testcase.
10615
de283087
AD
106162011-07-07 Ulrich Drepper <drepper@gmail.com>
10617
4e5f31c8 10618 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10619 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10620 The latter has a higher limit. Take additional parameter to pass to
10621 the new function.
10622 (__pathconf): Pass file to __statfs_link_max.
10623 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10624 __statfs_link_max.
10625 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10626 __statfs_link_max.
10627
de283087
AD
10628 [BZ #12868]
10629 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10630 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10631 Handle Lustre.
10632 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10633 (__statfs_filesize_max): Likewise.
10634 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10635
c75fa153
AJ
106362011-07-05 Andreas Jaeger <aj@suse.de>
10637
10638 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10639
1a544854
UD
106402011-07-06 Marek Polacek <mpolacek@redhat.com>
10641
10642 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10643 `status' variable.
10644 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10645 Likewise.
10646
6f0eec67
UD
106472011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10648
10649 * Makefile (strop-tests): Add strncat.
10650 * string/test-strncat.c: New file.
10651
aae30307
UD
106522011-06-30 Marek Polacek <mpolacek@redhat.com>
10653
10654 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10655
c0cfb5eb
UD
106562011-06-21 Andreas Jaeger <aj@suse.de>
10657
10658 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10659 Copy rule from iconvdata/Makefile.
10660
01636b21
UD
106612011-07-06 Ulrich Drepper <drepper@gmail.com>
10662
10663 [BZ #12922]
10664 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10665 but no long options are defined, just return 'W'.
10666
9895c8bc
UD
106672011-06-22 Marek Polacek <mpolacek@redhat.com>
10668
10669 [BZ #9696]
10670 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10671
5d4cf042
UD
106722011-07-06 Ulrich Drepper <drepper@gmail.com>
10673
10674 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10675 netgroups to read.
960e5535 10676 (innetgr): Likewise.
5d4cf042 10677
751eb97e
RM
106782011-07-05 Roland McGrath <roland@hack.frob.com>
10679
10680 * config.make.in (install_root): Default to $(DESTDIR).
10681
f15f1e45
UD
106822011-07-05 Ulrich Drepper <drepper@gmail.com>
10683
10684 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10685
4e34ac6a
RM
106862011-07-02 Roland McGrath <roland@hack.frob.com>
10687
5e9b6af4
RM
10688 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10689
84f9ea0f
RM
10690 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10691 containing directory rather than embedding absolute directory names.
10692
ea5ee9f7
RM
10693 * scripts/check-local-headers.sh: Rewritten using awk.
10694 Match by word, not by line. Print error messages for matches.
10695 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10696
1b74661a
RM
10697 * Makerules [shlib-lds-flags empty]:
10698 ($(common-objpfx)libc_pic.opts): New target.
10699 ($(common-objpfx)libc_pic.os.clean): New target.
10700 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10701
10702 * config.make.in (OBJCOPY): New variable.
10703 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10704 * configure: Regenerated.
10705
f781ef40
RM
10706 * config.make.in (use-default-link): New variable.
10707 * configure.in (use_default_link): Grok --with-default-link to set it.
10708 * configure: Regenerated.
10709 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10710 (shlib-lds, shlib-lds-flags): Define to empty.
10711
2d4fa81e
RM
10712 * Makerules (shlib-lds): New variable.
10713 (shlib-lds-flags): New variable.
10714 (build-shlib, build-moduile, build-module-asneeded): Use it.
10715 ($(common-objpfx)libc.so): Use $(shlib-lds).
10716 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10717 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10718
31fffa6b
RM
10719 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10720 DT_FLAGS/DT_FLAGS_1 with zero flags.
10721
4e34ac6a
RM
10722 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10723 linker script munging.
10724
fcfc776b
UD
107252011-07-02 Ulrich Drepper <drepper@gmail.com>
10726
10727 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10728 as 128-bit value.
10729 * crypt/sha512.c (sha512_process_block): Perform total addition using
10730 128-bit if possible.
10731 (__sha512_finish_ctx): Likewise.
10732 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10733 as 64-bit value.
10734 * crypt/sha256.c (SWAP64): Define.
10735 (sha256_process_block): Perform total addition using 64-bit if
10736 possible.
10737 (__sha256_finish_ctx): Likewise.
10738
99231d9a
UD
107392011-07-01 Ulrich Drepper <drepper@gmail.com>
10740
10741 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10742 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10743 * nscd/hstcache.c (cache_addhst): Likewise.
10744 * nscd/grpcache.c (cache_addgr): Likewise.
10745 * nscd/aicache.c (addhstaiX): Likewise
10746 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10747
445b4a53
TK
107482011-07-01 Thorsten Kukuk <kukuk@suse.de>
10749
10750 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10751 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10752 * nscd/hstcache.c (cache_addhst): Likewise.
10753 * nscd/grpcache.c (cache_addgr): Likewise.
10754 * nscd/aicache.c (addhstaiX): Likewise
10755
6d4d8e8e
AS
107562011-07-01 Andreas Schwab <schwab@redhat.com>
10757
10758 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10759 domain only when needed.
10760
89f654c5
AS
107612011-06-30 Andreas Schwab <schwab@redhat.com>
10762
10763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10764 is always restored.
10765
cf3b23ff
UD
107662011-06-29 Ulrich Drepper <drepper@gmail.com>
10767
10768 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10769 are re-adding the entry.
10770 * nscd/servicescache.c (cache_addserv): Likewise.
10771
751626f9
AJ
107722011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10773
10774 * sysdeps/generic/dl-irel.h: fix protection against multiple
10775 inclusions.
10776 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10777
9113ea1f
UD
107782011-06-28 Ulrich Drepper <drepper@gmail.com>
10779
5c0b8d90
UD
10780 [BZ #12935]
10781 * malloc/memusage.sh: Fix quoting in message.
10782 * debug/xtrace.sh: Likewise.
10783
9113ea1f
UD
10784 * configure.in: Remove support for --experimental-malloc option, make
10785 it the default.
10786 * config.make.in: Likewise.
10787 * malloc/Makefile: Likewise.
10788
a4172181
AS
107892011-06-27 Andreas Schwab <schwab@redhat.com>
10790
10791 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10792 two-byte characters.
10793
78a7eee7
RM
107942011-06-27 Roland McGrath <roland@hack.frob.com>
10795
62bede13
RM
10796 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10797 AC_CACHE_CHECK invocation.
10798 * configure: Regenerated.
10799
78a7eee7
RM
10800 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10801
5ce33a62
UD
108022011-06-27 Ulrich Drepper <drepper@gmail.com>
10803
034807a9
UD
10804 [BZ #12350]
10805 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10806 bit from old_res_options.
10807
4902da17
UD
10808 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10809
5ce33a62
UD
10810 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10811 value type for setfct.
10812
c2344f56
L
108132011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10814
10815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10816 __gettimeofday instead of gettimeofday.
10817
68468076
UD
108182011-06-26 Ulrich Drepper <drepper@gmail.com>
10819
10820 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10821
acb0d739
L
108222011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10823
10824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10825
10826 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10827 info.
10828
8912479f
L
108292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10830
10831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10832 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10833 strcpy-sse2-unaligned strncpy-sse2-unaligned
10834 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10835 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10836 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10837 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10838 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10839 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10840 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10841 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10842 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10843 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10844 (STRCPY): Support SSE2 and SSSE3 versions.
10845
d5495a11
UD
108462011-06-24 Ulrich Drepper <drepper@gmail.com>
10847
10848 [BZ #12874]
10849 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10850 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10851 kernels which artificially limit size of requests.
10852
0b1cbaae
L
108532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10854
10855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10856 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10857 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10858 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10859 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10860 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10861 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10862 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10863 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10864 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10865 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10866 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10867 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10868 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10869 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10871 Enable unaligned load optimization for Intel Core i3, i5 and i7
10872 processors.
10873 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10874 Define.
10875 (index_Fast_Unaligned_Load): Define.
10876 (HAS_FAST_UNALIGNED_LOAD): Define.
10877
07f494a0
MP
108782011-06-23 Marek Polacek <mpolacek@redhat.com>
10879
10880 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10881
fa3fc0fe
UD
108822011-06-22 Ulrich Drepper <drepper@gmail.com>
10883
10884 [BZ #12907]
10885 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10886 until it is clear that the information is realy needed.
10887 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10888
e12df166
AS
108892011-06-22 Andreas Schwab <schwab@redhat.com>
10890
10891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10892
852eb34d
UD
108932011-06-22 Ulrich Drepper <drepper@gmail.com>
10894
84e2a551
UD
10895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10896 /sys/devices/system/cpu/online if it is usable.
10897
852eb34d
UD
10898 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10899 reading the information from the /proc filesystem to once a second.
10900
6e502e19
UD
109012011-06-21 Andreas Jaeger <aj@suse.de>
10902
10903 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10904 NULL after inclusion of kernel headers.
10905
75d39ff2
UD
109062011-06-21 Ulrich Drepper <drepper@gmail.com>
10907
51f9aa6a
UD
10908 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10909 calls to internal_setent.
10910
c0244a9d
UD
10911 [BZ #12885]
10912 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10913 addresses using gethostbyname4_r ignore IPv4 addresses.
10914
c5e3c2ae
UD
10915 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10916 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10917
75d39ff2
UD
10918 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10919
42675c6f
DM
109202011-06-20 David S. Miller <davem@davemloft.net>
10921
10922 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10923 inclusions.
10924 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10925
10926 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10927 (elf_irel): Use it.
10928 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10929 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10930 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10931 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10932 * sysdeps/x86_64/dl-irel.h: Likewise.
10933
10934 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10935 * elf/dl-sym.c: Likewise.
10936
57912a71
UD
109372011-06-15 Ulrich Drepper <drepper@gmail.com>
10938
10939 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10940 need to dereference resplen2.
10941
ee22793d
AS
109422011-06-14 Andreas Schwab <schwab@redhat.com>
10943
10944 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10945
a9e836b0
UD
109462011-06-15 Ulrich Drepper <drepper@gmail.com>
10947
77fb9117
UD
10948 * Makeconfig: Define vardbdir and inst_vardbdir.
10949 * nss/Makefile: Add rules to install db-Makefile.
10950
40c1b22c
UD
10951 * nss/nss_db/db-XXX.c: Cleanup.
10952
9f2da732
UD
10953 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10954 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10955 GLIBC_PRIVATE.
10956 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10957 * nss/makedb.c: Implement -g option to specify that value strings
10958 are generated and should not be added to table iterated over for
10959 get*ent calls.
10960 * nss/nss_db/db-initgroups.c: New file.
10961
82e9a1f7
UD
10962 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10963 interface.
10964
c41af17e
UD
10965 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10966 (internal_getgrouplist): Adjust to name change.
10967 Update use_initgroups_entry if this is not the first call.
10968 * nss/databases.def: Add initgroups entry.
10969
a9e836b0
UD
10970 * nss/makedb.c (compute_tables): Check result of multiple hash table
10971 sizes to minimize maximum chain length.
10972
2666d441
UD
109732011-06-14 Ulrich Drepper <drepper@gmail.com>
10974
10975 * Versions.def: Add entry for libnss_db.
10976 * shlib-versions: Likewise.
10977 * nss/Makefile: Add rules to build libnss_db.
10978 * nss/Versions: Add libnss_db information. Organize libnss_files
10979 entries better.
10980 * nss/db-Makefile: Add gshadow support. Change rules for the new
10981 makedb progra. Some minor improvements to generate smaller files.
10982 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10983 here from...
10984 * nss/makedb.c: ...here.
10985 Improve database format to be smaller and require less memory at
10986 runtime.
10987 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10988 db anymore.
10989 * nss/nss_db/db-netgrp.c: Likewise.
10990 * nss/nss_db/db-open.c: Likewise.
10991 * nss/nss_files/flies-XXX.x: Adjust comments.
10992 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10993 * nss/nss_files/files-grp.c: Likewise.
10994 * nss/nss_files/files-hosts.c: Likewise.
10995 * nss/nss_files/files-network.c: Likewise.
10996 * nss/nss_files/files-proto.c: Likewise.
10997 * nss/nss_files/files-pwd.c: Likewise.
10998 * nss/nss_files/files-rpc.c: Likewise.
10999 * nss/nss_files/files-service.c: Likewise.
11000 * nss/nss_files/files-sgrp.c: Likewise.
11001 * nss/nss_files/files-spwd.c: Likewise.
11002 * nss/nss_db/db-alias.c: Removed.
11003 * nss/nss_db/dummy-db.h: Removed.
11004
9ee76b5a
UD
110052011-06-02 Ulrich Drepper <drepper@gmail.com>
11006
11007 * nss/makedb.c: Rewritten to not use database library.
11008 * nss/Makefile: Update to build new makedb program.
11009
c71ca1f8
AJ
110102011-06-14 Andreas Jaeger <aj@suse.de>
11011
11012 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11013 memset declaration.
11014
3154bfb8
UD
110152011-06-10 Andreas Schwab <schwab@redhat.com>
11016
11017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11018 tmpbuf.
11019
b350afab
RM
110202011-06-10 Roland McGrath <roland@hack.frob.com>
11021
decd4e50
RM
11022 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11023 * elf/Makefile ($(objpfx)ld.so): Likewise.
11024
5615eaf2
RM
11025 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11026 Don't list ld.so twice in dependencies.
11027
11028 * posix/bug-regex31.c: Include <stdlib.h>.
11029
11030 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11031
11032 * nis/nss_compat/compat-spwd.c
11033 (getspent_next_nss_netgr): Remove unused variable.
11034 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11035
11036 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11037 nonmembers" output to use the right array.
11038
11039 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11040
11041 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11042
11043 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11044 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11045 * catgets/gencat.c (read_input_file): Likewise.
11046 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11047
11048 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11049 variable definition inside #if's controlling its use.
11050
11051 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11052
11053 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11054
11055 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11056
11057 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11058 unreachable code.
11059
11060 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11061
b68e08db
RM
11062 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11063 * configure: Regenerated.
11064
b350afab
RM
11065 * Makerules: Revert last change.
11066 * elf/Makefile: Likewise.
11067
28368601
RM
110682011-06-09 Roland McGrath <roland@hack.frob.com>
11069
11070 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11071 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11072 (reloc-link): Likewise.
11073
11988f8f
UD
110742011-06-09 Ulrich Drepper <drepper@gmail.com>
11075
11076 * elf/Makefile: Add rules to build pldd.
11077 * elf/pldd.c: New file.
11078 * elf/pldd-xx.c: New file.
11079
e80fab37
UD
110802011-06-07 Ulrich Drepper <drepper@gmail.com>
11081
11082 * version.h: Update for 2.15 development version.
11083
9b849836
DM
110842011-06-07 David S. Miller <davem@davemloft.net>
11085
11086 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11087 ifuncs.
11088 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11089 elf_machine_lazy_rel): Likewise.
11090 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11091 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11092 elf_machine_lazy_rel): Likewise.
11093 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11094 dl_hwcap via passed in argument.
11095 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11096 Likewise.
11097
5a31b283
AK
110982011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11099
11100 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11101
069e52f8
RM
111022011-06-06 Roland McGrath <roland@hack.frob.com>
11103
11104 [BZ #12849]
11105 * manual/fdl-1.1.texi: New file, verbatim from:
11106 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11107 * manual/lgpl-2.1.texi: New file, verbatim from:
11108 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11109 * manual/Makefile (licenses): New variable, list those new file names.
11110 (texis): Use it.
11111 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11112
11113 * manual/fdl.texi: File removed.
11114 * manual/lesser.texi: File removed.
11115 * manual/libc.texinfo (Copying, Documentation License):
11116 Use new @include file names, put @appendix directive before @include.
11117
f16846a5
JJ
111182011-06-04 Jakub Jelinek <jakub@redhat.com>
11119
11120 [BZ #12841]
11121 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11122 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11123 (mq_open): Add __NTH.
11124
3d29045b
L
111252011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11126
11127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11128 Assume Intel Core i3/i5/i7 processor if AVX is available.
11129
8c297311
UD
111302011-05-31 Ulrich Drepper <drepper@gmail.com>
11131
11132 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11133 typo.
11134
c8fc0c91
UD
111352011-05-31 Andreas Schwab <schwab@redhat.com>
11136
11137 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11138 memory. Use alloca_account. Fix memory leak when retrying.
11139
5b27a807
UD
111402011-05-31 Ulrich Drepper <drepper@gmail.com>
11141
356f8bc6
UD
11142 * version.h (RELEASE): Bump for 2.14 release.
11143 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11144
5b27a807
UD
11145 * config.make.in (RANLIB): Remove entry.
11146
01f16ab0
UD
111472011-05-30 Ulrich Drepper <drepper@gmail.com>
11148
41fce8bd
UD
11149 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11150 (libc.pot): Work around missing support for .ksh extension in xgettext.
11151
4769ae77
UD
11152 [BZ #12684]
11153 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11154 if both request failed.
11155 (send_dg): In case of server errors clear resplen or *resplen2.
11156
6b1e7d19
UD
11157 [BZ #12454]
11158 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11159 when there are multiple maps.
11160 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11161 (_dl_fini): Remove test here.
11162
01f16ab0
UD
11163 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11164
b1ebd700
UD
111652011-05-29 Ulrich Drepper <drepper@gmail.com>
11166
7ae22829
UD
11167 [BZ #12350]
11168 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11169 bit from old_res_options.
11170 (gaih_inet): Likewise.
11171
553149f6 11172 [BZ #11099]
18a84741 11173 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11174 as signed.
11175
652ffab1
UD
11176 * resolv/res_init.c (res_setoptions): Make the code more compact.
11177
16985fd0
UD
11178 [BZ #11558]
11179 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11180 set RES_USEVC.
11181
0464f746
UD
11182 [BZ #11634]
11183 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11184
7d17596c
UD
11185 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11186
cf6bbbd7
UD
11187 [BZ #11781]
11188 * malloc/malloc.h: Declare malloc hook variables as volatile.
11189
13f1ab36
UD
11190 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11191 in last patch.
11192
b1ebd700
UD
11193 [BZ #11799]
11194 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11195 raise in the comment.
80e2212d
UD
11196 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11197 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11198 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11199
ce67228d
UD
112002011-05-28 Ulrich Drepper <drepper@gmail.com>
11201
8887a920
UD
11202 [BZ #12811]
11203 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11204 grow the buffers more if it already has to be sufficient.
11205 (build_wcs_upper_buffer): Likewise.
11206 * posix/regexec.c (check_matching): Likewise.
11207 (clean_state_log_if_needed): Likewise.
11208 (extend_buffers): Don't enlarge buffers beyond size of the input
11209 buffer.
11210 Patches mostly by Emil Wojak <emil@wojak.eu>.
11211 * posix/bug-regex32.c: New file.
11212 * posix/Makefile (tests): Add bug-regex32.
11213
4f031072
UD
11214 * locale/findlocale.c (_nl_find_locale): Return right away if
11215 _nl_explode_name failed.
11216 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11217
d0478f0c
UD
11218 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11219
de81b246
UD
11220 * debug/xtrace.sh: Unify messages.
11221 * malloc/memusage.sh: Likewise.
11222
c738465a
UD
11223 [BZ #12813]
11224 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11225 time symbol from vDSO. Substitute with vsyscall if not available.
11226 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11227 __vdso_time.
11228
f1f929d7
UD
11229 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11230 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11231 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11232 Add sendmmsg and internal_sendmmsg.
11233 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11234 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11235 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11236
ce67228d
UD
11237 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11238 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11240
e57420c6
UD
112412011-05-27 Ulrich Drepper <drepper@gmail.com>
11242
a8509ca5
UD
11243 [BZ #12813]
11244 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11245 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11246 available.
11247 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11248 __vdso_getcpu.
11249
e57420c6
UD
11250 [BZ #12814]
11251 * iconvdata/Makefile (tests): Add bug-iconv9.
11252 * iconvdata/bug-iconv9.c: New file.
11253
4d07db15
AS
112542011-05-27 Andreas Schwab <schwab@redhat.com>
11255
11256 [BZ #12814]
11257 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11258
ea486f69
JJ
112592011-05-25 Jakub Jelinek <jakub@redhat.com>
11260
11261 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11262 (struct user_regs_struct): Change intcs field back to cs.
11263
6f038433
UD
112642011-05-25 Ulrich Drepper <drepper@gmail.com>
11265
11266 * po/ja.po: Update from translation team.
11267
67f86a25
UD
112682011-05-23 Ulrich Drepper <drepper@gmail.com>
11269
11270 [BZ #12795]
11271 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11272 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11273
def7fbd6
AS
112742011-05-20 Andreas Schwab <schwab@redhat.com>
11275
11276 * stdlib/longlong.h: Update from GCC.
11277
f50ef8f1
AS
112782011-05-23 Andreas Schwab <schwab@redhat.com>
11279
11280 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11281 parameter name.
11282 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11283 Add parameter name.
11284 (__sysconf): Pass it down.
11285
de7ce8f1
UD
112862011-05-22 Ulrich Drepper <drepper@gmail.com>
11287
f2962a71
UD
11288 [BZ #12671]
11289 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11290 some situations.
11291 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11292 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11293 add in in __libc_use_alloca calls. Adjust callers.
11294 (glob): Use malloc in some situations.
11295
de7ce8f1
UD
11296 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11297 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11298 pltexit.
11299
aec84f53
UD
113002011-05-21 Ulrich Drepper <drepper@gmail.com>
11301
05bb4a68
UD
11302 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11303 and CLOCK_BOOTTIME_ALARM.
11304
7ea72f99
UD
11305 [BZ #12782]
11306 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11307 is returned.
11308
7e4afad5
UD
11309 * string/_strerror.c (__strerror_r): Print negative errors as signed
11310 numbers.
11311
8e211fec
UD
11312 [BZ #12777]
11313 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11314 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11315 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11316
f7d82dc9
UD
11317 * configure.in: Fix typo in redirection and correct removal of test
11318 files in two cases.
11319
cc9e536d
UD
11320 [BZ #12788]
11321 * locale/setlocale.c (new_composite_name): Fix test to check for
11322 identical name of all categories.
11323
aec84f53
UD
11324 [BZ #12792]
11325 * libio/filedoalloc.c (local_isatty): New function.
11326 (_IO_file_doallocate): Use local_isatty.
11327 * stdio-common/perror.c (perror): In case a new stream is used
11328 forward the stream error.
11329 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11330 error flag.
11331
78e64fdc
RT
113322011-05-20 Ulrich Drepper <drepper@gmail.com>
11333
34a9094f
UD
11334 [BZ #11869]
11335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11336 alloca.
11337 * include/alloca.h (extend_alloca_account): Define.
11338
78e64fdc
RT
11339 [BZ #11857]
11340 * posix/regex.h: Fix comments with documentation of user-accessible
11341 fields after compilation and describe correct free'ing of pattern
11342 after re_compile_pattern.
11343 Patch by Reuben Thomas <rrt@sc3d.org>.
11344
457bddfc
RA
113452011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11346
11347 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11348 and -mno-altivec to prevent the compiler from using Altivec and/or
11349 VSX instructions when the corresponding registers are not available.
11350
a4527b51
AS
113512011-05-19 Andreas Schwab <schwab@redhat.com>
11352
11353 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11354
ed690b2f
UD
113552011-05-19 Ulrich Drepper <drepper@gmail.com>
11356
11357 * libio/freopen.c (freopen): Use __dup2, not dup2.
11358 * libio/freopen64.c (freopen64): Likewise.
11359
8db73634
L
113602011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11361
11362 [BZ #12775]
11363 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11364 * math/Makefile (tests): Add test-powl.
11365 (CFLAGS-test-powl.c): Define.
11366 * math/test-powl.c: New file.
11367
0a197a9d
L
113682011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11369
11370 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11371
ee30c380
UD
113722011-05-17 Ulrich Drepper <drepper@gmail.com>
11373
11374 [BZ #11837]
11375 * iconvdata/gb18030.c: Update to GB18020-2005.
11376
6ce75379
UD
113772011-05-16 Ulrich Drepper <drepper@gmail.com>
11378
a4b89fd8
AR
11379 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11380 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11381 Patch by Aharon Robbins <arnold@skeeve.com>.
11382
ea389b12
UD
11383 [BZ #11892]
11384 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11385 on the stack.
11386
68a3f91f
UD
11387 [BZ #11895]
11388 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11389 through underflows.
11390
15cc7dd1
UD
11391 [BZ #12766]
11392 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11393 point to strings before performing equality test for error_one_per_line
11394 mode.
11395
f3799213
UD
11396 [BZ #11697]
11397 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11398
d79a9c94
UD
11399 [BZ #11820]
11400 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11401 (struct user_fpregs_struct): Avoid __uint*_t types.
11402
56e5eb46
UD
11403 [BZ #6420]
11404 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11405 symbol info. Use it instead of calling _dl_addr locally.
11406 (lock_and_info): New function.
11407 (tr_freehook): Call lock_and_info and pass symbol info as additional
11408 parameter to tr_where.
11409 (tr_mallochook): Likewise.
11410 (tr_reallochook): Likewise.
11411 (tr_memalignhook): Likewise.
11412
6ce75379
UD
11413 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11414 used and couldn't be at all thread-safe.
11415
f8a3b5bf
UD
114162011-05-15 Ulrich Drepper <drepper@gmail.com>
11417
94b7cc37
UD
11418 * libio/freopen.c (freopen): Don't close old file descriptor
11419 before the new one is opened. Instead dup the new file descriptor
11420 to the old one after the new stream is created.
11421 * libio/freopen64.c (freopen64): Likewise.
11422 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11423 * libio/fileops.c (_IO_new_file_close_it): Handle new
11424 _IO_FLAGS2_NOCLOSE flag.
11425 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11426 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11427 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11428 _IO_FLAGS2_NOCLOSE flag.
11429 * include/unistd.h: Add hidden_proto for dup3.
11430 Define __have_dup3.
11431 * io/dup3.c: Define hidden symbol.
11432 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11433
bd25564e
UD
11434 [BZ #7101]
11435 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11436 when an incomplete long option is used.
11437 * posix/tst-getopt_long1.c: New file.
11438 * posix/Makefile (tests): Add tst-getopt_long1.
11439
c84cfef4
UD
11440 [BZ #10138]
11441 * scripts/config.guess: Update from autoconf-2.68.
11442 * scripts/config.sub: Likewise.
11443
3b85df27
UD
11444 [BZ #10157]
11445 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11446 tests into ...
11447 (has_cpuclock): ...this. New function.
11448 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11449 macro here based on has_cpuclock code.
11450
15a856b1
UD
11451 [BZ #10149]
11452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11453 First byte (not low byte) is now always NUL.
11454 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11455
05f399e6
UD
11456 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11457 Use non-cancelable interfaces.
11458
10a52685 11459 [BZ #9809]
94ecc67d
UD
11460 * locale/iso-639.def: Add entry for Sorani.
11461
f8a3b5bf
UD
11462 [BZ #11901]
11463 * include/stdlib.h: Move include protection to the right place.
11464 Define abort_msg_s. Declare __abort_msg with it.
11465 * stdlib/abort.c (__abort_msg): Adjust type.
11466 * assert/assert.c (__assert_fail_base): New function. Majority
11467 of code from __assert_fail. Allocate memory for __abort_msg with
11468 mmap.
11469 (__assert_fail): Now call __assert_fail_base.
11470 * assert/assert-perr.c: Remove bulk of implementation. Use
11471 __assert_fail_base.
11472 * include/assert.hL Declare __assert_fail_base.
11473 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11474 mmap.
11475 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11476
1af4e298
UD
114772011-05-14 Ulrich Drepper <drepper@gmail.com>
11478
f8a3b5bf 11479 [BZ #11952]
d26dfc60
MG
11480 [BZ #12453]
11481 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11482 until all modules are registered in the DTV.
11483 * elf/Makefile: Add rules to build and run tst-tls19.
11484 * elf/tst-tls19.c: New file.
11485 * elf/tst-tls19mod1.c: New file.
11486 * elf/tst-tls19mod2.c: New file.
11487 * elf/tst-tls19mod3.c: New file.
11488 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11489
2fc54d6f
UD
11490 [BZ #12083]
11491 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11492 correctly.
11493
98d76b46
UD
11494 [BZ #12601]
11495 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11496 two-byte sequence errors.
11497 * iconvdata/Makefile (tests): Add bug-iconv8.
11498 * iconvdata/bug-iconv8.c: New file.
11499
da3c19ef
UD
11500 [BZ #12626]
11501 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11502 buf2 definition.
11503
ca408c15
UD
11504 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11505
d6f67f7d
UD
11506 [BZ #12432]
11507 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11508 (dummy_getcfa): New function.
11509 (init): Get _Unwind_GetCFA address, use dummy if not found.
11510 (backtrace_helper): In recursion check, also check whether CFA changes.
11511 (__backtrace): Completely initialize arg.
11512
1af4e298 11513 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11514 storing incomplete byte sequence in state object. Avoid testing for
11515 guaranteed too small input if we know there is enough data available.
1af4e298 11516
da62f81b
AS
115172011-05-11 Andreas Schwab <schwab@redhat.com>
11518
11519 * Makeconfig (+link-pie): Indent.
11520 * Rules (binaries-pie): Define if $(have-fpie) and
11521 $(build-shared).
11522 (binaries-shared): Also filter out $(binaries-pie).
11523 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11524 * nscd/Makefile (others-pie): Add nscd.
11525 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11526 ($(objpfx)nscd): Remove command override.
11527 * login/Makefile (others-pie): Add pt_chown.
11528 ($(objpfx)pt_chown): Remove command override.
11529 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11530 remove command overrides.
11531
fcabc0f8
UD
115322011-05-13 Ulrich Drepper <drepper@gmail.com>
11533
20030ae6
UD
11534 * libio/tst_putwc.c: Fix error messages.
11535
fcabc0f8
UD
11536 [BZ #12724]
11537 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11538 currently writing and seek to current position when not.
11539 * libio/Makefile (tests): Add bug-fclose1.
11540 * libio/bug-fclose1.c: New file.
11541
320a5dc0
PB
115422011-05-12 Ulrich Drepper <drepper@gmail.com>
11543
11544 [BZ #12511]
11545 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11546 don't set DF_1_NODELETE here.
11547 (do_lookup_x): When entering new entry test for copy relocation
11548 and if necessary set DF_1_NODELETE flag.
11549 * elf/tst-unique4.cc: New file.
11550 * elf/tst-unique4.h: New file.
11551 * elf/tst-unique4lib.cc: New file.
11552 * elf/Makefile: Add rules to build and run tst-unique4.
11553 Patch by Piotr Bury <pbury@goahead.com>.
11554
22836f52
UD
115552011-05-11 Ulrich Drepper <drepper@gmail.com>
11556
f574184a
UD
11557 [BZ #12052]
11558 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11559
e1fb097f
UD
11560 [BZ #12625]
11561 * misc/mntent_r.c (addmntent): Flush the stream after the output
11562
22836f52
UD
11563 [BZ #12393]
11564 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11565 (is_trusted_path_normalize): Skip initial colon. Append slash
11566 to empty buffer. Duplicate is_trusted_path code but allow
11567 constructed patch to be prefix.
11568 (is_dst): Allow $ORIGIN followed by /.
11569 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11570 Correct testing of result of is_trusted_path_normalize
11571 (decompose_rpath): Fix warning.
11572
7b3b0b2a
UD
115732011-05-10 Ulrich Drepper <drepper@gmail.com>
11574
11575 [BZ #11257]
11576 * grp/initgroups.c (internal_getgrouplist): When we found the service
11577 list through the initgroups entry in nsswitch.conf do not always
11578 continue on a successful lookup. Don't always use the
eac80ce2 11579 __nss_group_database value if it is set.
7b3b0b2a
UD
11580 * nss/nsswitch.conf (initgroups): Change action for successful db
11581 lookup to continue for compatibility.
11582
2a81eaa5
UD
115832011-05-09 Ulrich Drepper <drepper@gmail.com>
11584
be97a69e
UD
11585 [BZ #11532]
11586 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11587 and CP774 modules.
11588 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11589 and CP774 modules.
11590 * iconvdata/tst-tables.sh: Likewise.
11591 * iconvdata/cp770.c: New file.
11592 * iconvdata/cp771.c: New file.
11593 * iconvdata/cp772.c: New file.
11594 * iconvdata/cp773.c: New file.
11595 * iconvdata/cp774.c: New file.
11596 * iconvdata/testdata/CP770: New file.
11597 * iconvdata/testdata/CP770..UTF8: New file.
11598 * iconvdata/testdata/CP771: New file.
11599 * iconvdata/testdata/CP771..UTF8: New file.
11600 * iconvdata/testdata/CP772: New file.
11601 * iconvdata/testdata/CP772..UTF8: New file.
11602 * iconvdata/testdata/CP773: New file.
11603 * iconvdata/testdata/CP773..UTF8: New file.
11604 * iconvdata/testdata/CP774: New file.
11605 * iconvdata/testdata/CP774..UTF8: New file.
11606
11607 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11608 END CHARMAP line.
11609 * iconvdata/gen-8bit-gap.sh: Likewise.
11610 * iconvdata/gen-8bit.sh: Likewise.
11611
c1e9e399
UD
11612 * locale/iso-639.def: Add ary entry.
11613
24c55fb3 11614 [BZ #11258]
96b4b1b0
UD
11615 * locale/C-translit.h.in: Add U20A1 transliteration.
11616
bdc2f971
KB
11617 [BZ #12178]
11618 * locale/iso-639.def: Add wae entry.
11619 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11620
2952b117
UD
11621 [BZ #12545]
11622 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11623 for n.
11624
2a81eaa5
UD
11625 [BZ #12711]
11626 * locale/C-translit.h.in: Add entry for U20B9.
11627 Patch by pravin.d.s@gmail.com.
11628
28377d1b
UD
116292011-05-08 Ulrich Drepper <drepper@gmail.com>
11630
7fb90fb8
UD
11631 [BZ #12713]
11632 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11633 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11634 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11635 in rtld. Use *stat64.
7fb90fb8 11636 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11637 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11638 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11639 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11640 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11641 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11642 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11643 __fstatat64 macros.
7fb90fb8
UD
11644 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11645 * dirent/rewinddir.c: Add libc_hidden_def.
11646 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11647 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11648
28377d1b
UD
11649 * include/dirent.h (__alloc_dir): Add flags parameter.
11650 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11651 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11652 __alloc_dir.
11653 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11654 from fdopendir if O_CLOEXEC is already set.
11655
66bdbaa4
AM
116562011-03-15 Alan Modra <amodra@gmail.com>
11657
11658 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11659 l_tls_firstbyte_offset non-zero. Save padding offset in
11660 l_tls_firstbyte_offset for later use.
11661 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11662 freeing static tls block.
11663
95721191
JN
116642011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11665
11666 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11667 where #ifdef was intended. The intent is to prevent ARG_MAX from
11668 being defined by the kernel headers.
11669
f87dfb1f
UD
116702011-05-07 Ulrich Drepper <drepper@gmail.com>
11671
11672 [BZ #12734]
11673 * resolv/resolv.h: Define RES_NOTLDQUERY.
11674 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11675 no-tld-query and set RES_NOTLDQUERY.
11676 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11677 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11678 modern BIND to search name as TLD unless forbidden.
11679
47c3cd7a
UD
116802011-05-07 Petr Baudis <pasky@suse.cz>
11681 Ulrich Drepper <drepper@gmail.com>
11682
11683 [BZ #12393]
11684 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11685 (is_trusted_path): ...to here.
c1e9ea35 11686 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11687 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11688 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11689
8a35c912
PP
116902011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11691
11692 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11693 __BEGIN/__END_DECLS.
11694
acd41f47
UD
116952011-05-06 Ulrich Drepper <drepper@gmail.com>
11696
11697 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11698 NSS_STATUS_NOTFOUND if no record was found.
11699
597df647
AS
117002011-05-05 Andreas Schwab <schwab@redhat.com>
11701
11702 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11703 (headers-not-in-tirpc): Remove rpc/netdb.h
11704 * resolv/netdb.h: Revert last change.
11705
b9af1301
PP
117062011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11707
11708 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11709 circular dependency between libgcc.a and libc.a.
11710
4e34d5f5
AS
117112011-05-05 Andreas Schwab <schwab@redhat.com>
11712
11713 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11714 * nis/Makefile: Don't install rpcsvc/*.
11715 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11716 instead of <rpc/types.h>.
11717 (MAXHOSTNAMELEN): Define.
11718
00ee369c
AS
117192011-05-03 Andreas Schwab <schwab@redhat.com>
11720
11721 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11722
0b592a30
MB
117232011-04-28 Maciej Babinski <mbabinski@google.com>
11724
11725 [BZ #12714]
11726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11727 gethostbyname4_r when IPv6 results are possible.
11728
6e04cbbe
UD
117292011-05-02 Ulrich Drepper <drepper@gmail.com>
11730
11731 [BZ #12723]
11732 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11733 _PC_PIPE_BUF handling.
11734
e4ecafe0
BH
117352011-04-30 Bruno Haible <bruno@clisp.org>
11736
11737 [BZ #12717]
11738 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11739 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11740 to 'int'.
11741 * inet/getnameinfo.c (getnameinfo): Likewise.
11742
125ee683
UD
117432011-04-29 Ulrich Drepper <drepper@gmail.com>
11744
11745 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11746 to groups setting in database lookup.
11747 * nss/nsswitch.conf: Add initgroups entry.
11748
b722481a
EB
117492011-04-22 Ulrich Drepper <drepper@gmail.com>
11750
11751 [BZ #12685]
11752 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11753 mode string.
11754 Patch by Eric Blake <eblake@redhat.com>.
11755
4df46dbd
L
117562011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11757
11758 * sunrpc/Makefile (need-export-routines): Add svc_run.
11759 (routines): Remove svc_run.
11760 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11761 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11762 * sunrpc/svc_run.c (svc_run): Likewise.
11763 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11764
e84142d2
UD
117652011-04-21 Ulrich Drepper <drepper@gmail.com>
11766
11767 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11768 problem in reallocation in last patch.
11769
877175d8
UD
117702011-04-20 Ulrich Drepper <drepper@gmail.com>
11771
11772 * sunrpc/Makefile: Move inclusion of Rules.
11773
ab8eed78
UD
117742011-04-19 Ulrich Drepper <drepper@gmail.com>
11775
11776 * nss/nss_files/files-initgroups.c: New file.
11777 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11778 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11779 _nss_files_initgroups_dyn.
11780
e3d8f584
RS
117812011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11782
11783 * elf/elf.h (R_ARM_IRELATIVE): Define.
11784
af190f45
UD
117852011-04-19 Ulrich Drepper <drepper@gmail.com>
11786
11787 * po/ru.po: Update from translation team.
11788
53cf59ef
UD
117892011-04-17 Ulrich Drepper <drepper@gmail.com>
11790
11791 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11792 dependencies.
11793
4c559bcd
MF
117942011-02-06 Mike Frysinger <vapier@gentoo.org>
11795
11796 [BZ #12653]
11797 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11798 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11800 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11801 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11802
4420675c
AS
118032011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11804
11805 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11806 differing bytes.
11807 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11808 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11809 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11810
75ea32ab
UD
118112011-04-17 Ulrich Drepper <drepper@gmail.com>
11812
11813 [BZ #12420]
11814 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11815 storing it.
11816 * stdlib/bug-getcontext.c: New file.
11817 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11818
27390476
AK
118192011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11820
11821 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11822 instructions into .machine "z9-109".
11823 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11824 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11825
10442705
AK
118262011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11827
11828 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11829 between environment variables and auxiliary vector.
11830
7b57bfe5
UD
118312011-04-16 Ulrich Drepper <drepper@gmail.com>
11832
11833 * Makefile: Add rules to build linkobj/libc.so.
11834 * include/libc-symbols.h: Define libc_hidden_nolink.
11835 * include/rpc/auth.h: Mark functions which are to be hidden.
11836 * include/rpc/auth_des.h: Likewise.
11837 * include/rpc/auth_unix.h: Likewise.
11838 * include/rpc/clnt.h: Likewise.
11839 * include/rpc/des_crypt.h: Likewise.
11840 * include/rpc/key_prot.h: Likewise.
11841 * include/rpc/pmap_clnt.h: Likewise.
11842 * include/rpc/pmap_prot.h: Likewise.
11843 * include/rpc/pmap_rmt.h: Likewise.
11844 * include/rpc/rpc_msg.h: Likewise.
11845 * include/rpc/svc.h: Likewise.
11846 * include/rpc/svc_auth.h: Likewise.
11847 * include/rpc/xdr.h: Likewise.
11848 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11849 * nss/Makefile: Likewise.
11850 * sunrpc/Makefile: Don't install headers. Build library with normal
11851 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11852 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11853 for the compat linking library. Remove use of INTDEF/INTUSE.
11854 * sunrpc/auth_none.c: Likewise.
11855 * sunrpc/auth_unix.c: Likewise.
11856 * sunrpc/authdes_prot.c: Likewise.
11857 * sunrpc/authuxprot.c: Likewise.
11858 * sunrpc/clnt_gen.c: Likewise.
11859 * sunrpc/clnt_perr.c: Likewise.
11860 * sunrpc/clnt_raw.c: Likewise.
11861 * sunrpc/clnt_simp.c: Likewise.
11862 * sunrpc/clnt_tcp.c: Likewise.
11863 * sunrpc/clnt_udp.c: Likewise.
11864 * sunrpc/clnt_unix.c: Likewise.
11865 * sunrpc/des_crypt.c: Likewise.
11866 * sunrpc/des_soft.c: Likewise.
11867 * sunrpc/get_myaddr.c: Likewise.
11868 * sunrpc/key_call.c: Likewise.
11869 * sunrpc/key_prot.c: Likewise.
11870 * sunrpc/netname.c: Likewise.
11871 * sunrpc/pm_getmaps.c: Likewise.
11872 * sunrpc/pm_getport.c: Likewise.
11873 * sunrpc/pmap_clnt.c: Likewise.
11874 * sunrpc/pmap_prot.c: Likewise.
11875 * sunrpc/pmap_prot2.c: Likewise.
11876 * sunrpc/pmap_rmt.c: Likewise.
11877 * sunrpc/publickey.c: Likewise.
11878 * sunrpc/rpc_cmsg.c: Likewise.
11879 * sunrpc/rpc_common.c: Likewise.
11880 * sunrpc/rpc_dtable.c: Likewise.
11881 * sunrpc/rpc_prot.c: Likewise.
11882 * sunrpc/rpc_thread.c: Likewise.
11883 * sunrpc/rtime.c: Likewise.
11884 * sunrpc/svc.c: Likewise.
11885 * sunrpc/svc_auth.c: Likewise.
11886 * sunrpc/svc_authux.c: Likewise.
11887 * sunrpc/svc_raw.c: Likewise.
11888 * sunrpc/svc_run.c: Likewise.
11889 * sunrpc/svc_simple.c: Likewise.
11890 * sunrpc/svc_tcp.c: Likewise.
11891 * sunrpc/svc_udp.c: Likewise.
11892 * sunrpc/svc_unix.c: Likewise.
11893 * sunrpc/svcauth_des.c: Likewise.
11894 * sunrpc/xcrypt.c: Likewise.
11895 * sunrpc/xdr.c: Likewise.
11896 * sunrpc/xdr_array.c: Likewise.
11897 * sunrpc/xdr_float.c: Likewise.
11898 * sunrpc/xdr_intXX_t.c: Likewise.
11899 * sunrpc/xdr_mem.c: Likewise.
11900 * sunrpc/xdr_rec.c: Likewise.
11901 * sunrpc/xdr_ref.c: Likewise.
11902 * sunrpc/xdr_sizeof.c: Likewise.
11903 * sunrpc/xdr_stdio.c: Likewise.
11904
e6c61494
UD
119052011-04-10 Ulrich Drepper <drepper@gmail.com>
11906
11907 [BZ #12650]
11908 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11909 * sysdeps/ia64/dl-tls.h: Likewise.
11910 * sysdeps/powerpc/dl-tls.h: Likewise.
11911 * sysdeps/s390/dl-tls.h: Likewise.
11912 * sysdeps/sh/dl-tls.h: Likewise.
11913 * sysdeps/sparc/dl-tls.h: Likewise.
11914 * sysdeps/x86_64/dl-tls.h: Likewise.
11915 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11916
34fe483e
AS
119172011-03-14 Andreas Schwab <schwab@redhat.com>
11918
11919 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11920 rpath element also skip the following colon.
11921 (expand_dynamic_string_token): Add is_path parameter and pass
11922 down to DL_DST_REQUIRED and _dl_dst_substitute.
11923 (decompose_rpath): Call expand_dynamic_string_token with
11924 non-zero is_path. Ignore empty rpaths.
11925 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11926 with zero is_path.
11927
f12a32e6
AS
119282011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11929
11930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11931 Make cancelable.
11932
38a7d692
UD
119332011-04-09 Ulrich Drepper <drepper@gmail.com>
11934
11935 [BZ #12655]
11936 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11937 Patch by Filipe David Manana <fdmanana@apache.org>.
11938
e451d22b
AS
119392011-04-07 Andreas Schwab <schwab@redhat.com>
11940
11941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11942 Maintain aligned stack.
11943 (CHECK_RSP): Remove unused macro.
11944
dedc7c7b
UD
119452011-04-03 Ulrich Drepper <drepper@gmail.com>
11946
11947 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11948 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11949
94521213
UD
119502011-04-02 Ulrich Drepper <drepper@gmail.com>
11951
11952 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11953
8cb700c0 11954 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11955
0354e355
L
119562011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11957
11958 [BZ #12518]
11959 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11960 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11961 * sysdeps/x86_64/memmove.c: New file.
11962 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11963 (memcpy): Renamed to ...
11964 (__new_memcpy): This.
11965 (memcpy): Provide GLIBC_2_14 memcpy.
11966 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11967 (memcpy): Provide GLIBC_2_2_5 memcpy.
11968
8593482f
UD
119692011-04-01 Ulrich Drepper <drepper@gmail.com>
11970
11971 [BZ #12631]
11972 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11973
81a5726b
AS
119742011-03-30 Andreas Schwab <schwab@redhat.com>
11975
11976 * misc/syncfs.c: New file.
11977 * misc/Makefile (routines): Add syncfs.
11978 * posix/unistd.h: Declare syncfs.
11979 * sysdeps/unix/syscalls.list: Add syncfs.
11980
00e5419f
AS
119812011-04-01 Andreas Schwab <schwab@redhat.com>
11982
11983 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11984 open_by_handle_at.
11985 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11986 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11988 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11990 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11991 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11992
748876bf
UD
119932011-04-01 Ulrich Drepper <drepper@gmail.com>
11994
658e451d
UD
11995 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11996 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11997 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11998 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11999 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12001 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12002
748876bf
UD
12003 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12004 sync_file_range.c with -fexceptions.
12005 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12006 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12007 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12008 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12009 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12010 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12011 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12012 sync_file_range as cancellation point
12013 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12014 now a wrapper around __call_sync_file_range with cancellation handling.
12015 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12016 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12017 function name to __call_sync_file_range.
12018 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12019 Add call_sync_file_range.
748876bf 12020
6e63d5e1
AS
120212011-04-01 Andreas Schwab <schwab@redhat.com>
12022
12023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12024 bits/timex.h.
6e63d5e1 12025
46998f74
UD
120262011-04-01 Ulrich Drepper <drepper@gmail.com>
12027
4c1423ed
UD
12028 * iconv/iconv.h: Fix typo in comment.
12029 * io/fcntl.h: Likewise.
12030 * libio/stdio.h: Likewise.
12031 * posix/spawn.h: Likewise.
12032 * posix/unistd.h: Likewise.
12033 * stdlib/stdlib.h: Likewise.
12034 * time/time.h: Likewise.
12035 * wcsmbs/wchar.h: Likewise.
12036
158648c0
UD
12037 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12038 open_by_handle): Add.
12039 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12040 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12041 Augment a few comments.
12042 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12043 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12044 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12047 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12048 open_by_handle.
12049
46998f74
UD
12050 * io/fcntl.h (AT_EMPTY_PATH): Define.
12051
83fe108b
UD
120522011-03-30 Ulrich Drepper <drepper@gmail.com>
12053
12054 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12055 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12056 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12057 to...
12058 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12059 * Versions.def: Add GLIBC_2.14.
12060 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12061 Export.
83fe108b 12062
bb242059
UD
120632011-03-22 Ulrich Drepper <drepper@gmail.com>
12064
12065 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12066 round counter.
12067 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12068
c97a1282
L
120692011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12070
12071 [BZ #12597]
12072 * string/test-strncmp.c (do_page_test): New function.
12073 (check2): Likewise.
12074 (test_main): Call check2.
12075 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12076
2a115601
UD
120772011-03-20 Ulrich Drepper <drepper@gmail.com>
12078
12079 [BZ #12587]
12080 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12081 Handle cache information in CPU leaf 4.
12082 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12083
8126d904
UD
120842011-03-18 Ulrich Drepper <drepper@gmail.com>
12085
042c49c6 12086 [BZ #12583]
8126d904
UD
12087 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12088 character representation.
12089 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12090
ccfe366e
RA
120912011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12092
12093 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12094 END(__isnan) to END(__isnanf) to match function entry point/label
12095 EALIGN(__isnanf,...).
12096
c6e13027
JJ
120972011-03-10 Jakub Jelinek <jakub@redhat.com>
12098
12099 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12100
33f85a3f
UD
121012011-03-10 Ulrich Drepper <drepper@gmail.com>
12102
028478fa
UD
12103 [BZ #12510]
12104 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12105 copy from the symbol referenced in the relocation to initialize the
12106 used variable.
12107 Patch by Piotr Bury <pbury@goahead.com>.
12108 * elf/Makefile: Add rules to build and tst-unique3.
12109 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12110 * elf/tst-unique3.cc: New file.
12111 * elf/tst-unique3.h: New file.
12112 * elf/tst-unique3lib.cc: New file.
12113 * elf/tst-unique3lib2.cc: New file.
12114
33f85a3f
UD
12115 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12116
03592fc7
MF
121172011-03-10 Mike Frysinger <vapier@gentoo.org>
12118
12119 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12120 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12121 to _start.
03592fc7 12122
6a5ee102
UD
121232011-03-06 Ulrich Drepper <drepper@gmail.com>
12124
12125 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12126 to-be-loaded object along a path to loader is ld.so.
12127
7e4ba49c
HJ
121282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12129 Ulrich Drepper <drepper@gmail.com>
12130
12131 * sysdeps/x86_64/memset.S: After aligning destination, code
12132 branches to different locations depending on the value of
12133 misalignment, when multiarch is enabled. Fix this.
12134
121352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12136
12137 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12138 Set _x86_64_preferred_memory_instruction for AMD processsors.
12139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12140 Set bit_Prefer_SSE_for_memop for AMD processors.
12141
13a804de
UD
121422011-03-04 Ulrich Drepper <drepper@gmail.com>
12143
12144 * libio/fmemopen.c (fmemopen): Optimize a bit.
12145
9d25c392
AS
121462011-03-03 Andreas Schwab <schwab@redhat.com>
12147
12148 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12149
a5543c6a
RM
121502011-03-03 Roland McGrath <roland@redhat.com>
12151
12152 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12153
012d35f7
DM
121542011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12155
7e4ba49c 12156 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12157 __bzero_ultra1 instead of __memset_ultra1.
12158
4bff6e01
AS
121592011-02-23 Andreas Schwab <schwab@redhat.com>
12160 Ulrich Drepper <drepper@gmail.com>
12161
12162 [BZ #12509]
12163 * include/link.h (struct link_map): Add l_orig_initfini.
12164 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12165 returning unsuccessfully.
12166 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12167 close of a file loaded at startup, restore the original l_initfini
12168 list.
12169 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12170 list, store the pointer.
12171 * elf/Makefile ($(objpfx)noload-mem): New rule.
12172 (noload-ENV): Define.
12173 (tests): Add $(objpfx)noload-mem.
12174 * elf/noload.c: Include <memcheck.h>.
12175 (main): Call mtrace. Close all opened handles.
12176
f2092faf
AS
121772011-02-17 Andreas Schwab <schwab@redhat.com>
12178
12179 [BZ #12454]
12180 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12181 dependencies are missing.
12182
6c8a2e88
ST
121832011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12184
f2092faf 12185 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12186 Hurd needs munmap.
12187 * sysdeps/mach/hurd/ifreq.h: New file.
12188
84a42118
PB
121892011-01-27 Petr Baudis <pasky@suse.cz>
12190 Ulrich Drepper <drepper@gmail.com>
12191
071f805e 12192 [BZ 12445]#
84a42118
PB
12193 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12194 to extend_alloca().
12195 * stdio-common/bug23.c: New file.
12196 * stdio-common/Makefile (tests): Add bug23.
12197
e23fe25b
AS
121982010-09-28 Andreas Schwab <schwab@redhat.com>
12199 Ulrich Drepper <drepper@gmail.com>
12200
12201 [BZ #12489]
12202 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12203 before performing relro protection. At old place add assertion
12204 to make sure nothing changed.
12205
d3f02e10
NS
122062011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12207 Glauber de Oliveira Costa <glommer@gmail.com>
12208
12209 * elf/elf.h: Add new ARM TLS relocs.
12210
d55fd7a5
RA
122112011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12212
12213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12214 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12215 cast from r3.
12216 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12217 'tests' variable.
12218 * sysdeps/wordsize-64/tst-writev.c: New file.
12219
2206397e
RA
122202011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12221
12222 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12223 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12224 insns in _dl_start to prevent a TOC reference before relocs are
12225 resolved.
12226
e9433893
UD
122272011-02-15 Ulrich Drepper <drepper@gmail.com>
12228
12229 [BZ #12469]
12230 * Makeconfig: Remove RANLIB definition.
12231 * Makerules: Don't use RANLIB.
12232 * aclocal.m4: Remove ranlib test.
12233 * configure.in: No need to check for ranlib.
12234 * elf/rtld-Rules: Don't use RANLIB.
12235
f75286c6
ST
122362011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12237
8e31c82d
ST
12238 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12239 protection macro.
12240 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12241 inclusion protection macro.
12242
f75286c6
ST
12243 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12244 SIGRTMIN and SIGRTMAX and print information in that case only when
12245 SIGRTMIN is defined.
12246
c1d0e639
JJ
122472011-02-11 Jakub Jelinek <jakub@redhat.com>
12248
12249 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12250 arginfo fn returning -1.
12251
12252 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12253 and thousands string is zero terminated.
12254
edf9294e
AS
122552011-02-03 Andreas Schwab <schwab@redhat.com>
12256
12257 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12258 sysdeps/unix/sysv/linux/bits/socket.h.
12259
2b7e92df
ST
122602011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12261
edf9294e
AS
12262 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12263 (__CPU_COUNT): Remove old macros.
12264 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12265 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12266 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12267 (__sched_cpualloc, __sched_cpufree): Add declarations.
12268
a4c7ea7b
UD
122692011-02-05 Ulrich Drepper <drepper@gmail.com>
12270
12271 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12272 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12273 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12274 (readdhstai): Return value of addhstaiX call.
12275 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12276 (addgrbyX): Return value returned by cache_addgr.
12277 (readdgrbyname): Return value returned by addgrbyX.
12278 (readdgrbygid): Likewise.
12279 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12280 (addpwbyX): Return value returned by cache_addpw.
12281 (readdpwbyname): Return value returned by addhstbyX.
12282 (readdpwbyuid): Likewise.
12283 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12284 (addservbyX): Return value returned by cache_addserv.
12285 (readdservbyname): Return value returned by addservbyX:
12286 (readdservbyport): Likewise.
12287 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12288 (addhstbyX): Return value returned by cache_addhst.
12289 (readdhstbyname): Return value returned by addhstbyX.
12290 (readdhstbyaddr): Likewise.
12291 (readdhstbynamev6): Likewise.
12292 (readdhstbyaddrv6): Likewise.
12293 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12294 (readdinitgroups): Return value returned by addinitgroupsX.
12295 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12296 (prune_cache): Keep track of timeout value of re-added entries.
12297 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12298 * nscd/nscd.h: Adjust prototypes of readd* functions.
12299
a0bf67cc
RM
123002011-02-04 Roland McGrath <roland@redhat.com>
12301
12302 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12303 (nis_stats): Likewise.
12304 * nis/nis_modify.c (nis_modify): Likewise.
12305 * nis/nis_remove.c (nis_remove): Likewise.
12306 * nis/nis_add.c (nis_add): Likewise.
12307
12308 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12309
12310 * posix/fnmatch_loop.c: Add some consts.
12311
12312 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12313
435b95eb
L
123142011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12315
12316 [BZ #12460]
12317 * config.make.in (config-cflags-novzeroupper): Define.
12318 * configure.in: Substitute libc_cv_cc_novzeroupper.
12319 * elf/Makefile (AVX-CFLAGS): Define.
12320 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12321 (CFLAGS-tst-auditmod4a.c): Likewise.
12322 (CFLAGS-tst-auditmod4b.c): Likewise.
12323 (CFLAGS-tst-auditmod6b.c): Likewise.
12324 (CFLAGS-tst-auditmod6c.c): Likewise.
12325 (CFLAGS-tst-auditmod7b.c): Likewise.
12326 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12327
8517b15e
UD
123282011-02-02 Ulrich Drepper <drepper@gmail.com>
12329
12330 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12331 function to the callback.
12332 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12333
10a656fe
AS
123342011-02-02 Andreas Schwab <schwab@redhat.com>
12335
12336 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12337 of errno.
12338
968dad0a
UD
123392011-01-19 Ulrich Drepper <drepper@gmail.com>
12340
9f94d2ea 12341 [BZ #11724]
968dad0a
UD
12342 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12343 of constructors.
12344 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12345 of destructors.
12346 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12347
12348 [BZ #11724]
12349 * elf/Makefile: Add rules to build and run new test.
12350 * elf/tst-initorder.c: New file.
12351 * elf/tst-initorder.exp: New file.
12352 * elf/tst-initordera1.c: New file.
12353 * elf/tst-initordera2.c: New file.
12354 * elf/tst-initordera3.c: New file.
12355 * elf/tst-initordera4.c: New file.
12356 * elf/tst-initorderb1.c: New file.
12357 * elf/tst-initorderb2.c: New file.
12358 * elf/tst-order-a1.c: New file.
12359 * elf/tst-order-a2.c: New file.
12360 * elf/tst-order-a3.c: New file.
12361 * elf/tst-order-a4.c: New file.
12362 * elf/tst-order-b1.c: New file.
12363 * elf/tst-order-b2.c: New file.
12364 * elf/tst-order-main.c: New file.
12365 New test case by George Gensure <werkt0@gmail.com>.
12366
86e92359
UD
123672010-10-01 Andreas Schwab <schwab@redhat.com>
12368
12369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12370 decoding ACE if AI_CANONIDN.
12371
5d5732b0
UD
123722011-01-18 Ulrich Drepper <drepper@gmail.com>
12373
12374 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12375
a77e8cbc
UD
123762011-01-17 Ulrich Drepper <drepper@gmail.com>
12377
6392473f
UD
12378 * version.h (RELEASE): Bump for 2.13 release.
12379 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12380
620a0529
UD
12381 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12382
18ba70a5
UD
12383 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12384 MADV_NOHUGEPAGE.
32465c3e
UD
12385 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12386 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12387 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12388 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12389 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12390 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12391
c0dafcf1
UD
12392 * posix/getconf.c: Update copyright year.
12393 * catgets/gencat.c: Likewise.
12394 * csu/version.c: Likewise.
12395 * debug/catchsegv.sh: Likewise.
12396 * debug/xtrace.sh: Likewise.
12397 * elf/ldconfig.c: Likewise.
12398 * elf/ldd.bash.in: Likewise.
12399 * elf/sprof.c (print_version): Likewise.
12400 * iconv/iconv_prog.c: Likewise.
12401 * iconv/iconvconfig.c: Likewise.
12402 * locale/programs/locale.c: Likewise.
12403 * locale/programs/localedef.c: Likewise.
12404 * malloc/memusage.sh: Likewise.
12405 * malloc/mtrace.pl: Likewise.
12406 * nscd/nscd.c (print_version): Likewise.
12407 * nss/getent.c: Likewise.
12408
a77e8cbc
UD
12409 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12410 PF_CAIF, and PF_ALG.
12411 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12412
77e8bddf
AS
124132011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12414
1f20b93a
AS
12415 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12416 (modules-names): Use them.
12417 (ifunc-test-modules, ifunc-pie-tests): Define.
12418 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12419 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12420 (test-extras): Likewise.
12421 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12422 $(compile-command.c).
12423 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12424 (all-built-dso): Define.
12425 (check-textrel.out, check-execstack.out): Depend on it.
12426
77e8bddf
AS
12427 * configure.in: Don't override --enable-multi-arch.
12428
bc425b33
UD
124292011-01-15 Ulrich Drepper <drepper@gmail.com>
12430
12431 [BZ #6812]
12432 * nscd/hstcache.c (tryagain): Define.
12433 (cache_addhst): Return tryagain not notfound for temporary errors.
12434 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12435 failed.
12436
794c3ad3
UD
124372011-01-14 Ulrich Drepper <drepper@gmail.com>
12438
70181fdd
UD
12439 [BZ #10563]
12440 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12441 to make the syscall.
12442 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12443
794c3ad3
UD
12444 [BZ #12378]
12445 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12446 and fall back to matching as normal character if the string ends before
12447 the matching ']' is found. This is what POSIX requires.
12448 * posix/testfnm.c: Adjust test result.
12449 * posix/globtest.sh: Adjust test result. Add new test.
12450 * posix/tst-fnmatch.input: Likewise.
12451 * posix/tst-fnmatch2.c: Add new test.
12452
68dc9497
AS
124532010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12454
12455 * elf/Makefile (check-execstack): Revert last change. Depend on
12456 check-execstack.h.
12457 (check-execstack.h): New target.
12458 (generated): Add check-execstack.h.
12459 * elf/check-execstack.c: Include "check-execstack.h".
12460 (main): Revert last change.
12461 (handle_file): Return zero if GNU_STACK is absent and
12462 DEFAULT_STACK_PERMS doesn't include PF_X.
12463
451f001b
UD
124642011-01-13 Ulrich Drepper <drepper@gmail.com>
12465
cfa28e56
UD
12466 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12467 in child fails because the descriptor is already closed.
8cf8ce17
UD
12468 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12469 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12470 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12471
1086d70d
UD
12472 [BZ #12397]
12473 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12474 syscall.
12475
451f001b
UD
12476 [BZ #10484]
12477 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12478 temporary buffer used to handle multi lookups locally.
a85b5cb4 12479 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12480
08769175
UD
124812011-01-12 Ulrich Drepper <drepper@gmail.com>
12482
12483 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12484 loader is ld.so.
12485
5e49c52e
UD
124862011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12487
12488 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12489 alignment for SSE2.
12490
60522a5f
UD
124912011-01-12 Ulrich Drepper <drepper@gmail.com>
12492
12493 [BZ #12394]
12494 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12495 characters. When rounding increased number of integer digits recompute
12496 number of groups.
12497 * stdio-common/tst-grouping.c: New file.
12498 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12499
f257bbd7
UD
125002011-01-09 Ulrich Drepper <drepper@gmail.com>
12501
12502 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12503 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12504
12505 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12506 void.
12507 * bits/select.h: Likewise.
12508
fa9c15cb
UD
125092011-01-08 Ulrich Drepper <drepper@gmail.com>
12510
12511 * po/ja.po: Update from translation team.
12512
16c2895f
DM
125132011-01-04 David S. Miller <davem@sunset.davemloft.net>
12514
12515 [BZ #11155]
12516 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12517 implementation just like for lxstat, fxstatat, et al.
12518
2543fef2
JM
125192010-12-27 Jim Meyering <meyering@redhat.com>
12520
12521 [BZ #12348]
12522 * posix/regexec.c (build_trtable): Return failure indication upon
12523 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12524
98727dbe
UD
125252010-12-25 Ulrich Drepper <drepper@gmail.com>
12526
5bd6dc5c
UD
12527 [BZ #12201]
12528 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12529 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12530 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12531 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12532
97983464
UD
12533 [BZ #12207]
12534 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12535
98727dbe
UD
12536 [BZ #12204]
12537 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12538 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12539
4a531bb0
L
125402010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12541
12542 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12543 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12544 script has SORT_BY_INIT_PRIORITY.
12545 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12546 NO_CTORS_DTORS_SECTIONS is defined.
12547 * elf/soinit.c: Likewise.
12548 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12549 NO_CTORS_DTORS_SECTIONS is defined.
12550 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12551 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12552 * sysdeps/sh/init-first.c: Likewise.
12553 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12554
07eb4b71
UD
125552010-12-24 Ulrich Drepper <drepper@gmail.com>
12556
12557 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12558 always use the slow path.
12559
30950a5f
RA
125602010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12561
12562 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12563 similar rule which adds the sysdep directories to the header search in
12564 order to pick up the correct platform stackinfo.h.
12565 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12566 perform test if it is, otherwise return successfully without testing.
12567 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12568 DEFAULT_STACK_PERMS define in stackinfo.h.
12569 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12570 defined in stackinfo.h.
12571 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12572 DEFAULT_STACK_PERMS defined in stackinfo.h.
12573 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12574 * sysdeps/ia64/stackinfo.h: Likewise.
12575 * sysdeps/s390/stackinfo.h: Likewise.
12576 * sysdeps/sh/stackinfo.h: Likewise.
12577 * sysdeps/sparc/stackinfo.h: Likewise.
12578 * sysdeps/x86_64/stackinfo.h: Likewise.
12579 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12580 PF_X for powerpc64. Retain PF_X for powerpc32.
12581
db753e2c
UD
125822010-12-19 Ulrich Drepper <drepper@gmail.com>
12583
14b697f7
UD
12584 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12585 accurately.
db753e2c
UD
12586 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12587 GETDENTS_64BIT_ALIGNED.
12588
28300719
UD
125892010-12-14 Ulrich Drepper <dreper@gmail.com>
12590
14b697f7 12591 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12592
4f197237
AS
125932010-12-10 Andreas Schwab <schwab@redhat.com>
12594
dbb0472f
AS
12595 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12596 _GNU_SOURCE.
12597
4f197237
AS
12598 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12599 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12600 Remove __restrict.
12601 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12602 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12603
fb88ac72
UD
126042010-12-09 Ulrich Drepper <drepper@gmail.com>
12605
12606 [BZ #11655]
12607 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12608 are initialized.
12609
42acbb92
JJ
126102010-12-09 Jakub Jelinek <jakub@redhat.com>
12611
12612 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12613
c038d98d
UD
126142010-12-03 Ulrich Drepper <drepper@gmail.com>
12615
12616 * po/it.po: Update from translation team.
12617
3a4a2499
L
126182010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12619
12620 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12621 unused codes.
12622
1e24cf6e
UD
126232010-11-30 Ulrich Drepper <drepper@gmail.com>
12624
12625 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12626
a7690819
AS
126272010-11-24 Andreas Schwab <schwab@redhat.com>
12628
12629 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12630 specially.
12631 (gaih_getanswer_slice): Likewise.
12632
3bf8d1b1
JJ
126332010-10-20 Jakub Jelinek <jakub@redhat.com>
12634
12635 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12636
6db52fbb
PB
126372010-05-31 Petr Baudis <pasky@suse.cz>
12638
12639 [BZ #11149]
12640 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12641 silently even in the chroot mode.
12642
eaca7569
UD
126432010-11-22 Ulrich Drepper <drepper@gmail.com>
12644
12645 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12646 last patch a bit. Pretty printing
12647
3056dcdb
UD
126482010-05-31 Petr Baudis <pasky@suse.cz>
12649
12650 [BZ #10085]
12651 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12652 initialization of skip_initgroups_dyn.
12653
cf7c9078
UD
126542010-11-19 Ulrich Drepper <drepper@gmail.com>
12655
12656 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12657 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12658
a1fb5e3e
UD
126592010-11-16 Ulrich Drepper <drepper@gmail.com>
12660
12661 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12662
3540d66b
AS
126632010-11-11 Andreas Schwab <schwab@redhat.com>
12664
12665 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12666 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12667 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12668 ($(objpfx)tst-fnmatch-mem): New rule.
12669 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12670 * posix/tst-fnmatch.c (main): Call mtrace.
12671
13b69574
L
126722010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12673
12674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12675 Support Intel processor model 6 and model 0x2c.
12676
da93d214
LM
126772010-11-10 Luis Machado <luisgpm@br.ibm.com>
12678
12679 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12680 signed comparison.
12681
8ca52c6e
L
126822010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12683
12684 [BZ #12205]
12685 * string/test-strncasecmp.c (check_result): New function.
12686 (do_one_test): Use it.
12687 (check1): New function.
12688 (test_main): Use it.
12689 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12690 Support strcasecmp and strncasecmp.
12691
69da074d
UD
126922010-11-08 Ulrich Drepper <drepper@gmail.com>
12693
12694 [BZ #12194]
12695 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12696 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12697
ff02d528
L
126982010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12699
12700 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12701 IFUNC support.
12702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12703 memset-x86-64.
12704 * sysdeps/x86_64/multiarch/bzero.S: New file.
12705 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12706 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12707 * sysdeps/x86_64/multiarch/memset.S: New file.
12708 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12710 Set bit_Prefer_SSE_for_memop for Intel processors.
12711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12712 Define.
12713 (index_Prefer_SSE_for_memop): Define.
12714 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12715
344d0b54
LM
127162010-11-04 Luis Machado <luisgpm@br.ibm.com>
12717
12718 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12719 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12720
c0dde15b
UD
127212010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12722
12723 [BZ #12191]
12724 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12725 (__x86_64_raw_data_cache_size_half): Likewise.
12726 (__x86_64_raw_shared_cache_size): Likewise.
12727 (__x86_64_raw_shared_cache_size_half): Likewise.
12728
12729 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12730 (__x86_64_raw_data_cache_size_half): Likewise.
12731 (__x86_64_raw_shared_cache_size): Likewise.
12732 (__x86_64_raw_shared_cache_size_half): Likewise.
12733 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12734 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12735 and __x86_64_raw_shared_cache_size_half. Round
12736 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12737 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12738 to multiple of 256 bytes.
12739
0e516e0e
MS
127402010-11-03 Ulrich Drepper <drepper@gmail.com>
12741
12742 [BZ #12167]
12743 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12744 of inacessible symlinks. Verify result of symlink before returning it.
12745 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12746 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12747
0e012e87
ER
127482010-10-28 Erich Ritz <erichritz@gmail.com>
12749
12750 * math/math.h (isinf): Fix typo in comment.
12751
de0ff7bc
UD
127522010-11-01 Ulrich Drepper <drepper@gmail.com>
12753
12754 * po/da.po: Update from translation team.
12755
fa41c84d
UD
127562010-10-26 Ulrich Drepper <drepper@gmail.com>
12757
12758 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12759 is added to the list.
12760
f0967738
AK
127612010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12762 Ulrich Drepper <drepper@gmail.com>
12763
12764 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12765 the global list here. Move code to...
12766 (_dl_add_to_namespace_list): ...here. New function.
12767 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12768 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12769 * elf/dl-load.c (lose): Don't remove the element from the list.
12770 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12771 (_dl_map_object): Likewise.
12772
127732010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12774
12775 [BZ #12159]
12776 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12777 into all bytes of SSE register.
12778 Patch by Richard Li <richardpku@gmail.com>.
12779
f0967738 127802010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12781
12782 [BZ #12140]
12783 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12784 perturbing.
12785
d0b9e94f
MB
127862010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12787
12788 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12789 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12790 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12791 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12793 submachine.
12794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12795
8e9f92e9
AS
127962010-10-22 Andreas Schwab <schwab@redhat.com>
12797
12798 * include/dlfcn.h (__RTLD_SECURE): Define.
12799 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12800 mode & __RTLD_SECURE instead.
12801 (open_path): Rename preloaded parameter to secure.
12802 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12803 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12804 * elf/dl-deps.c (openaux): Likewise.
12805 * elf/rtld.c (struct map_args): Remove is_preloaded.
12806 (map_doit): Don't use it.
12807 (dl_main): Likewise.
12808 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12809 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12810
bc96fbda
AS
128112010-09-09 Andreas Schwab <schwab@redhat.com>
12812
12813 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12814 (sysd-rules-targets): Remove duplicates.
12815 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12816 rtld-%.$o dependency.
12817
22cd1c9b
AS
128182010-10-18 Andreas Schwab <schwab@redhat.com>
12819
12820 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12821 _dl_map_object do it.
12822
18edac48
UD
128232010-10-19 Ulrich Drepper <drepper@gmail.com>
12824
12825 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12826 fast fma builtins, define the macros in the C99 standard.
12827 (FP_FAST_FMAF): Likewise.
12828 (FP_FAST_FMAL): Likewise.
12829 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12830
12831 * bits/mathdef.h: Update copyright year.
12832 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12833
d2050124
MM
128342010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12835
12836 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12837 builtins, define the macros in the C99 standard.
12838 (FP_FAST_FMAF): Likewise.
12839 (FP_FAST_FMAL): Likewise.
12840 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12841 multiply/add.
12842 (FP_FAST_FMAF): Likewise.
12843
475facd1
JJ
128442010-10-15 Jakub Jelinek <jakub@redhat.com>
12845
12846 [BZ #3268]
12847 * math/libm-test.inc (fma_test): Some new testcases.
12848 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12849 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12850 y and infinite z. Do multiplication by C already in long double.
12851 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12853 y and infinite z. Do bitwise or of inexact bit into u.d.
12854 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12855 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12856 * sysdeps/i386/fpu/s_fma.S: Removed.
12857 * sysdeps/i386/fpu/s_fmal.S: Removed.
12858
7c08a05c
JJ
128592010-10-16 Jakub Jelinek <jakub@redhat.com>
12860
12861 [BZ #3268]
12862 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12864 computation is not scheduled after fetestexcept. Fix value
12865 of minimum denormal long double.
12866
f3f7372d
JJ
128672010-10-14 Jakub Jelinek <jakub@redhat.com>
12868
12869 [BZ #3268]
12870 * math/libm-test.inc (fma_test): Add some more tests.
12871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12872 correctly.
12873
14d43591
AS
128742010-10-15 Andreas Schwab <schwab@redhat.com>
12875
12876 * scripts/data/localplt-s390-linux-gnu.data: New file.
12877 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12878
5e908464
JJ
128792010-10-13 Jakub Jelinek <jakub@redhat.com>
12880
12881 [BZ #3268]
12882 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12883 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12884 instead of dbl-64.
12885 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12886 inlines.
12887 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12889 if one of x and y is very large and the other is subnormal.
12890 * sysdeps/s390/fpu/s_fmaf.c: New file.
12891 * sysdeps/s390/fpu/s_fma.c: New file.
12892 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12893 * sysdeps/powerpc/fpu/s_fma.S: New file.
12894 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12895 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12896 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12897
128982010-10-12 Jakub Jelinek <jakub@redhat.com>
12899
12900 [BZ #3268]
12901 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12902 fma tests.
12903 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12904 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12905 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12906 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12907 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12908 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12910
b833d51f
UD
129112010-10-12 Ulrich Drepper <drepper@redhat.com>
12912
12913 [BZ #12078]
12914 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12915 * posix/bug-regex31.input: Add test case.
12916
1751705d
UD
129172010-10-11 Ulrich Drepper <drepper@gmail.com>
12918
e9b9cbf5
UD
12919 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12920 * posix/bug-regex31.input: New file.
12921
12922 [BZ #12078]
12923 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12924 (parse_sub_exp): Fix last change, use postorder.
12925
ef06edbe
UD
12926 * posix/bug-regex31.c: New file.
12927 * posix/Makefile: Add rules to build and run bug-regex31.
12928
a129c80d
UD
12929 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12930
12931 [BZ #12078]
12932 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12933
b76b818e
UD
12934 [BZ #12108]
12935 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12936 to have entries in sys_siglist.
12937
1751705d
UD
12938 [BZ #12093]
12939 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12940 be NULL.
12941
9ff8d36f
JJ
129422010-10-07 Jakub Jelinek <jakub@redhat.com>
12943
12944 [BZ #3268]
12945 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12946 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12947 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12948 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12949 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12950 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12951 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12952 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12953 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12954 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12955 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12956 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12957 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12958 * math/ftestexcept.c (fetestexcept): Likewise.
12959 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12960 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12961 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12962 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12963 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12964 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12965 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12966
af325969
UD
129672010-10-11 Ulrich Drepper <drepper@gmail.com>
12968
c579b202 12969 [BZ #12107]
af325969
UD
12970 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12971 newline.
12972
67a67b95
UD
129732010-10-06 Ulrich Drepper <drepper@gmail.com>
12974
12975 * string/bug-strstr1.c: New file.
12976 * string/Makefile: Add rules to build and run bug-strstr1.
12977
5fb308bc
EB
129782010-10-05 Eric Blake <eblake@redhat.com>
12979
12980 [BZ #12092]
12981 * string/str-two-way.h (two_way_long_needle): Always clear memory
12982 when skipping input due to the shift table.
12983
45db99c7
UD
129842010-10-03 Ulrich Drepper <drepper@gmail.com>
12985
3b111893
UD
12986 [BZ #12005]
12987 * malloc/mcheck.c: Handle large requests.
12988
45db99c7
UD
12989 [BZ #12077]
12990 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12991 for strncmp and strncasecmp.
12992 * string/stratcliff.c: Add tests for strcmp and strncmp.
12993 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12994
cf7a1eb8
NI
129952010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12996
12997 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12998 __set_fpscr.
12999
6484ba5e
AJ
130002010-09-30 Andreas Jaeger <aj@suse.de>
13001
13002 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13003 (CGROUP_SUPER_MAGIC): Define.
13004 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13005 Handle btrfs and cgroup file systems.
13006 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13007 Likewise.
13008
91c42559
LM
130092010-09-27 Luis Machado <luisgpm@br.ibm.com>
13010
13011 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13012 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13013
87a97932
AK
130142010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13015
13016 [BZ #12067]
13017 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13018 trying to locate the ELF header.
13019
c21cc9bc
AS
130202010-09-27 Andreas Schwab <schwab@redhat.com>
13021
13022 [BZ #11611]
13023 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13024 Mask out sign-bit copies when constructing f_fsid.
13025
315970f6
PB
130262010-09-24 Petr Baudis <pasky@suse.cz>
13027
13028 * debug/stack_chk_fail_local.c: Add missing licence exception.
13029 * debug/warning-nop.c: Likewise.
13030
1ac7a2c7
JM
130312010-09-15 Joseph Myers <joseph@codesourcery.com>
13032
13033 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13034 implementing getdents64 using getdents syscall, set d_type if
13035 __ASSUME_GETDENTS32_D_TYPE.
13036
56801c50
AS
130372010-09-16 Andreas Schwab <schwab@redhat.com>
13038
13039 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13040 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13041
dda51327
UD
130422010-09-21 Ulrich Drepper <drepper@redhat.com>
13043
13044 [BZ #12037]
13045 * posix/unistd.h: Undo change of feature selection for ftruncate from
13046 2010-01-11.
13047
8ffcee4a
UD
130482010-09-20 Ulrich Drepper <drepper@redhat.com>
13049
a545ecd9 13050 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13051 detection.
13052
e24f0a8b
AS
130532010-09-20 Andreas Schwab <schwab@redhat.com>
13054
13055 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13056 fanotify_mark.
13057 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13058
7291c56f
AS
130592010-09-14 Andreas Schwab <schwab@redhat.com>
13060
13061 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13062 variables after CHECK_SP call.
13063 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13064
bc5fb037
AS
130652010-09-13 Andreas Schwab <schwab@redhat.com>
13066 Ulrich Drepper <drepper@redhat.com>
13067
13068 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13069 re-relocationg ld.so.
13070 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13071 _dl_init_paths call.
13072 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13073 here anymore.
13074
e66e7419
UD
130752010-09-14 Ulrich Drepper <drepper@redhat.com>
13076
13077 * resolv/res_init.c (__res_vinit): Count the default server we added.
13078
c044aa75
CLT
130792010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13080 Ulrich Drepper <drepper@redhat.com>
13081
13082 [BZ #11968]
13083 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13084 (____longjmp_chk): Use %ebx for saving value across system call.
13085 Add unwind info.
13086
32cf4069
AS
130872010-09-06 Andreas Schwab <schwab@redhat.com>
13088
13089 * manual/Makefile: Don't mix pattern rules with normal rules.
13090
817328ee
AS
130912010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13092
13093 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13094 operation.
13095 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13096 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13097 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13098 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13099 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13100 Likewise.
13101
29fddf61
UD
131022010-09-04 Ulrich Drepper <drepper@redhat.com>
13103
13104 [BZ #11979]
13105 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13106 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13107
0959ffc9
UD
131082010-09-02 Ulrich Drepper <drepper@redhat.com>
13109
13110 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13111 * sysdeps/x86_64/addmul_1.S: Likewise.
13112 * sysdeps/x86_64/lshift.S: Likewise.
13113 * sysdeps/x86_64/mul_1.S: Likewise.
13114 * sysdeps/x86_64/rshift.S: Likewise.
13115 * sysdeps/x86_64/sub_n.S: Likewise.
13116 * sysdeps/x86_64/submul_1.S: Likewise.
13117
ece29840
ST
131182010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13119
0959ffc9
UD
13120 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13121 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13122 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13123 * bits/sched.h [__need_schedparam]
ece29840 13124 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13125 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13126 (__defined_schedparam): Define to 1.
ece29840
ST
13127 (__sched_param): New structure, identical to sched_param.
13128 (__need_schedparam): Undefine.
13129
e53a31fe
MF
131302010-08-31 Mike Frysinger <vapier@gentoo.org>
13131
fdc0c10d
MF
13132 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13133 (epoll_create1): Declare.
13134
e53a31fe
MF
13135 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13136
a726d796
AS
131372010-08-31 Andreas Schwab <schwab@redhat.com>
13138
13139 [BZ #7066]
13140 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13141 shifting retval into place.
13142
2f3e3dc7
UD
131432010-09-01 Ulrich Drepper <drepper@redhat.com>
13144
f2933da9
UD
13145 * nis/rpcsvc/nis.h: Update copyright notice.
13146 * nis/rpcsvc/nis.x: Likewise.
13147 * nis/rpcsvc/nis_callback.h: Likewise.
13148 * nis/rpcsvc/nis_callback.x: Likewise.
13149 * nis/rpcsvc/nis_object.x: Likewise.
13150 * nis/rpcsvc/nis_tags.h: Likewise.
13151 * nis/rpcsvc/yp.h: Likewise.
13152 * nis/rpcsvc/yp.x: Likewise.
13153 * nis/rpcsvc/ypupd.h: Likewise.
13154 * nis/yp_xdr.c: Likewise.
13155 * nis/ypupdate_xdr.c: Likewise.
13156
2f3e3dc7
UD
13157 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13158 mainly the body of pmap_getport. Add parameters to specify timeouts.
13159 (pmap_getport): Use __libc_rpc_getport.
13160 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13161 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13162 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13163
f3dcc2f9
AS
131642010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13165
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13167 fanotify_mark.
13168
6d34eb5b
RM
131692010-08-27 Roland McGrath <roland@redhat.com>
13170
13171 * sysdeps/i386/i686/multiarch/Makefile
13172 (CFLAGS-varshift.c): New variable.
13173
9ea3de11
UD
131742010-08-27 Ulrich Drepper <drepper@redhat.com>
13175
c96d23fc
UD
13176 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13177 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13178
9ea3de11
UD
13179 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13180
13181 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13182
623aac7f
L
131832010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13184
13185 * sysdeps/x86_64/strlen.S: Unroll the loop.
13186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13187 strlen-sse2 strlen-sse2-bsf.
13188 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13189 __strlen_no_bsf if bit_Slow_BSF is set.
13190 (__strlen_sse42): Removed.
13191 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13192 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13193
8b2b7715
RM
131942010-08-25 Roland McGrath <roland@redhat.com>
13195
13196 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13197 * sysdeps/x86_64/multiarch/varshift.c: New file.
13198 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13199 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13200 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13201 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13202
e73015f2
L
132032010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13204
13205 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13206 strlen-sse2 strlen-sse2-bsf.
13207 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13208 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13209 (__strlen_sse2): Removed.
13210 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13211 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13213 bit_Slow_BSF for Atom.
13214 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13215 (index_Slow_BSF): Define.
13216 (HAS_SLOW_BSF): Define.
13217
df24a73e
UD
132182010-08-25 Ulrich Drepper <drepper@redhat.com>
13219
13220 [BZ #10851]
13221 * resolv/res_init.c (__res_vinit): When no server address at all
13222 is given default to loopback.
13223
f2ac4868
RM
132242010-08-24 Roland McGrath <roland@redhat.com>
13225
09055553
RM
13226 * configure.in: Remove config-name.h generation.
13227 * configure: Regenerated.
13228 * config-name.in: File removed.
13229 * scripts/config-uname.sh: New file.
13230 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13231 ($(objdir)config-name.h): New target.
13232
f2ac4868
RM
13233 * sunrpc/rpc_parse.h: Avoid nested comment.
13234
73f27d5e
RH
132352010-08-24 Richard Henderson <rth@redhat.com>
13236 Ulrich Drepper <drepper@redhat.com>
13237 H.J. Lu <hongjiu.lu@intel.com>
13238
13239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13241 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13242 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13243 _mm_alignr_epi8 with _mm_loadu_si128.
13244 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13245 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13246 (__m128i_shift_right): Removed.
13247 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13248 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13249 * sysdeps/x86_64/multiarch/varshift.h: New file.
13250 * sysdeps/x86_64/multiarch/varshift.S: New file.
13251
84b9230c
MF
132522010-08-21 Mike Frysinger <vapier@gentoo.org>
13253
13254 * configure.in: Move assembler checks to before sysdep dir checking.
13255
9bbd0ddc
PB
132562010-08-20 Petr Baudis <pasky@suse.cz>
13257
13258 * LICENSES: Sync the sunrpc license.
13259
9da4bb31
UD
132602010-08-19 Ulrich Drepper <drepper@redhat.com>
13261
a7ab6ec8
UD
13262 * sunrpc/auth_des.c: Update copyright notice once again.
13263 * sunrpc/auth_none.c: Likewise.
13264 * sunrpc/auth_unix.c: Likewise.
13265 * sunrpc/authdes_prot.c: Likewise.
13266 * sunrpc/authuxprot.c: Likewise.
13267 * sunrpc/bindrsvprt.c: Likewise.
13268 * sunrpc/clnt_gen.c: Likewise.
13269 * sunrpc/clnt_perr.c: Likewise.
13270 * sunrpc/clnt_raw.c: Likewise.
13271 * sunrpc/clnt_simp.c: Likewise.
13272 * sunrpc/clnt_tcp.c: Likewise.
13273 * sunrpc/clnt_udp.c: Likewise.
13274 * sunrpc/clnt_unix.c: Likewise.
13275 * sunrpc/des_crypt.c: Likewise.
13276 * sunrpc/des_soft.c: Likewise.
13277 * sunrpc/get_myaddr.c: Likewise.
13278 * sunrpc/getrpcport.c: Likewise.
13279 * sunrpc/key_call.c: Likewise.
13280 * sunrpc/key_prot.c: Likewise.
13281 * sunrpc/openchild.c: Likewise.
13282 * sunrpc/pm_getmaps.c: Likewise.
13283 * sunrpc/pm_getport.c: Likewise.
13284 * sunrpc/pmap_clnt.c: Likewise.
13285 * sunrpc/pmap_prot.c: Likewise.
13286 * sunrpc/pmap_prot2.c: Likewise.
13287 * sunrpc/pmap_rmt.c: Likewise.
13288 * sunrpc/rpc/auth.h: Likewise.
13289 * sunrpc/rpc/auth_unix.h: Likewise.
13290 * sunrpc/rpc/clnt.h: Likewise.
13291 * sunrpc/rpc/des_crypt.h: Likewise.
13292 * sunrpc/rpc/key_prot.h: Likewise.
13293 * sunrpc/rpc/netdb.h: Likewise.
13294 * sunrpc/rpc/pmap_clnt.h: Likewise.
13295 * sunrpc/rpc/pmap_prot.h: Likewise.
13296 * sunrpc/rpc/pmap_rmt.h: Likewise.
13297 * sunrpc/rpc/rpc.h: Likewise.
13298 * sunrpc/rpc/rpc_des.h: Likewise.
13299 * sunrpc/rpc/rpc_msg.h: Likewise.
13300 * sunrpc/rpc/svc.h: Likewise.
13301 * sunrpc/rpc/svc_auth.h: Likewise.
13302 * sunrpc/rpc/types.h: Likewise.
13303 * sunrpc/rpc/xdr.h: Likewise.
13304 * sunrpc/rpc_clntout.c: Likewise.
13305 * sunrpc/rpc_cmsg.c: Likewise.
13306 * sunrpc/rpc_common.c: Likewise.
13307 * sunrpc/rpc_cout.c: Likewise.
13308 * sunrpc/rpc_dtable.c: Likewise.
13309 * sunrpc/rpc_hout.c: Likewise.
13310 * sunrpc/rpc_main.c: Likewise.
13311 * sunrpc/rpc_parse.c: Likewise.
13312 * sunrpc/rpc_parse.h: Likewise.
13313 * sunrpc/rpc_prot.c: Likewise.
13314 * sunrpc/rpc_sample.c: Likewise.
13315 * sunrpc/rpc_scan.c: Likewise.
13316 * sunrpc/rpc_scan.h: Likewise.
13317 * sunrpc/rpc_svcout.c: Likewise.
13318 * sunrpc/rpc_tblout.c: Likewise.
13319 * sunrpc/rpc_util.c: Likewise.
13320 * sunrpc/rpc_util.h: Likewise.
13321 * sunrpc/rpcinfo.c: Likewise.
13322 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13323 * sunrpc/rpcsvc/key_prot.x: Likewise.
13324 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13325 * sunrpc/rpcsvc/mount.x: Likewise.
13326 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13327 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13328 * sunrpc/rpcsvc/rex.x: Likewise.
13329 * sunrpc/rpcsvc/rstat.x: Likewise.
13330 * sunrpc/rpcsvc/rusers.x: Likewise.
13331 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13332 * sunrpc/rpcsvc/spray.x: Likewise.
13333 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13334 * sunrpc/rtime.c: Likewise.
13335 * sunrpc/svc.c: Likewise.
13336 * sunrpc/svc_auth.c: Likewise.
13337 * sunrpc/svc_authux.c: Likewise.
13338 * sunrpc/svc_raw.c: Likewise.
13339 * sunrpc/svc_run.c: Likewise.
13340 * sunrpc/svc_simple.c: Likewise.
13341 * sunrpc/svc_tcp.c: Likewise.
13342 * sunrpc/svc_udp.c: Likewise.
13343 * sunrpc/svc_unix.c: Likewise.
13344 * sunrpc/svcauth_des.c: Likewise.
13345 * sunrpc/xcrypt.c: Likewise.
13346 * sunrpc/xdr.c: Likewise.
13347 * sunrpc/xdr_array.c: Likewise.
13348 * sunrpc/xdr_float.c: Likewise.
13349 * sunrpc/xdr_mem.c: Likewise.
13350 * sunrpc/xdr_rec.c: Likewise.
13351 * sunrpc/xdr_ref.c: Likewise.
13352 * sunrpc/xdr_sizeof.c: Likewise.
13353 * sunrpc/xdr_stdio.c: Likewise.
13354
9da4bb31
UD
13355 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13356 handling.
13357
bdaa77bc
AS
133582010-08-19 Andreas Schwab <schwab@redhat.com>
13359
13360 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13361
fe2f79db
LM
133622010-08-19 Luis Machado <luisgpm@br.ibm.com>
13363
13364 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13365 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13366 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13367 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13368 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13369 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13370 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13371 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13372 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13373 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13374 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13375 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13376 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13377 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13378
b9b42ee0
AB
133792010-07-26 Anton Blanchard <anton@samba.org>
13380
13381 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13382 * malloc/arena.c (heap_trim): Likewise.
13383
1c06ba31
UD
133842010-08-16 Ulrich Drepper <drepper@redhat.com>
13385
13386 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13387 here. Not...
13388 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13389 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13390
f8392f40
L
133912010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13392
13393 * sysdeps/i386/elf/Makefile: New file.
13394
3162f12e
AS
133952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13396
13397 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13398 from fanotify_init.
13399 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13400 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13401
28c90b2c
UD
134022010-08-15 Ulrich Drepper <drepper@redhat.com>
13403
13404 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13405 of strncasecmp_l.
1feccb6c 13406 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13407
ca6bb004
UD
134082010-08-14 Ulrich Drepper <drepper@redhat.com>
13409
e9f82e0d
UD
13410 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13411 strncase_l-nonascii.
13412 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13413 Add strncase_l-ssse3.
13414 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13415 * sysdeps/x86_64/strcmp.S: Likewise.
13416 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13417 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13418 * sysdeps/x86_64/strncase.S: New file.
13419 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13420 * sysdeps/x86_64/strncase_l.S: New file.
13421 * string/Makefile (strop-tests): Add strncasecmp.
13422 * string/test-strncasecmp.c: New file.
13423
13424 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13425 warning.
13426
ca6bb004
UD
13427 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13428 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13429
052fa7b3
AS
134302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13431
13432 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13433
962dba78
UD
134342010-08-12 Ulrich Drepper <drepper@redhat.com>
13435
13436 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13437 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13438 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13439
bebff237
AM
134402010-05-01 Alan Modra <amodra@gmail.com>
13441
13442 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13443 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13444 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13445 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13446 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13447 tidying. Don't tail-call __sigjmp_save for static lib.
13448 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13449 save location.
13450 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13451 (CALL_MCOUNT): Add eh info, and nop after bl.
13452 (TAIL_CALL_SYSCALL_ERROR): New macro.
13453 (PSEUDO_RET): Use it.
13454 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13455 Correct save location of integer regs and cr.
13456 (_dl_profile_resolve): Correct cr save location. Delete nops
13457 after bl when SHARED. Reduce cfi size a little by better
13458 placement of cfi directives.
13459 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13460 make a stack frame. Instead use parm save area as a temp.
13461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13462 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13464 Don't make a stack frame for parent, use parm save area.
13465 Increase child stack frame to 112 bytes. Don't save unused reg,
13466 and adjust reg usage. Set up cfi on error recovery and
13467 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13469 (__makecontext): Add dummy nop after jump to exit.
13470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13471 Use correct parm save area and cr save, reduce stack frame.
13472 Correct cfi for possible PSEUDO_RET frame setup.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13474 Branch to local label emitted by PSEUDO_RET rather than
13475 __syscall_error.
13476
02637374
AS
134772010-08-12 Andreas Schwab <schwab@redhat.com>
13478
13479 [BZ #11904]
13480 * locale/programs/locale.c (print_assignment): New function.
13481 (show_locale_vars): Use it.
13482
c3e2f19b
UD
134832010-08-11 Ulrich Drepper <drepper@redhat.com>
13484
3cdaa6ad
UD
13485 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13486 field.
13487 (struct statfs64): Likewise.
13488 (_STATFS_F_FLAGS): Define.
13489 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13490 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13491 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13492 (ST_VALID): Define locally.
13493 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13494 __statvfs_getflags, use the provided value.
13495 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13496 __ASSUME_STATFS_F_FLAGS.
13497
754f7da3
UD
13498 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13499
10b3bedc
UD
13500 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13501 Add sys/fanotify.h.
13502 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13503 fanotify_mask for GLIBC_2.13.
13504 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13505 fanotify_init and fanotify_mark.
13506 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13507 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13508
c08fb0d7
UD
13509 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13510 Add prlimit.
13511 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13512 prlimit64 for GLIBC_2.13.
13513 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13514 prlimit64.
13515 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13516 syscall.
13517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13518 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13519 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13520 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13521 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13522 add prlimit alias.
13523 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13524
15bac72b
UD
13525 [BZ #11903]
13526 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13527 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13528
c3e2f19b
UD
13529 * nss/Makefile: Add rules to build and run tst-nss-test1.
13530 * shlib-versions: Add entry for libnss_test1.
13531 * nss/nss_test1.c: New file.
13532 * nss/tst-nss-test1.c: New file.
13533
13534 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13535 (__nss_configure_lookup): Set appropriate entry in
13536 __nss_configure_lookup to true.
13537 * nss/nsswitch.h: Define enum with indeces of databases in
13538 databases and __nss_database_custom arrays. Declare
13539 __nss_database_custom.
13540 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13541 to avoid using nscd when custom rules are installed.
13542 * nss/getXXbyYY_r.c: Likewise.
13543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13544
13545 * nss/nss_files/files-parse.c: Whitespace fixes.
13546
f15ce4d8
UD
135472010-08-09 Ulrich Drepper <drepper@redhat.com>
13548
13549 [BZ #11883]
13550 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13551 * posix/fnmatch_loop.c: Likewise.
13552
d22e4cc9
AK
135532010-07-17 Andi Kleen <ak@linux.intel.com>
13554
13555 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13556 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13557 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13558 * Versions.def [GLIBC_2.13]: Add.
13559
805bc17d
UD
135602010-08-06 Ulrich Drepper <drepper@redhat.com>
13561
13562 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13563 Also fail if tpwd after pwuid call is NULL.
13564
5a42321d
ST
135652010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13566
13567 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13568 when converting to ms.
13569
fd3ebeda
ST
135702010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13571
13572 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13573 EOPNOTSUPP errors with ENOTTY.
13574 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13575 EOPNOTSUPP errors with ENOTTY.
13576
73507d3a
UD
135772010-07-31 Ulrich Drepper <drepper@redhat.com>
13578
13579 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13580 Add strcasecmp_l-ssse3.
13581 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13582 strcasecmp.
13583 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13584 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13585 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13586
fe36dd02
UD
135872010-07-30 Ulrich Drepper <drepper@redhat.com>
13588
66f6765a
UD
13589 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13590
42e08a54
UD
13591 * string/Makefile (strop-tests): Add strcasecmp.
13592 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13593 strcasecmp_l-nonascii.
13594 (gen-as-const-headers): Add locale-defines.sym.
13595 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13596 * sysdeps/x86_64/strcasecmp.S: New file.
13597 * sysdeps/x86_64/strcasecmp_l.S: New file.
13598 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13599 * sysdeps/x86_64/locale-defines.sym: New file.
13600 * string/test-strcasecmp.c: New file.
13601
fe36dd02
UD
13602 * string/test-strcasestr.c: Test both ends of the range of characters.
13603 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13604
48cbc0d6
RM
136052010-07-29 Roland McGrath <roland@redhat.com>
13606
76e6d6bc 13607 [BZ #11856]
48cbc0d6
RM
13608 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13609
880113d9
UD
136102010-07-27 Ulrich Drepper <drepper@redhat.com>
13611
13612 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13613 for ld.so.
13614
deb9cabb
AS
136152010-07-27 Andreas Schwab <schwab@redhat.com>
13616
13617 * manual/memory.texi (Malloc Tunable Parameters): Document
13618 M_PERTURB.
13619
1c7570ff
RM
136202010-07-26 Roland McGrath <roland@redhat.com>
13621
13622 [BZ #11840]
13623 * configure.in (-fgnu89-inline check): Set and substitute
13624 gnu89_inline, not libc_cv_gnu89_inline.
13625 * configure: Regenerated.
13626 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13627
24fb0f88
UD
136282010-07-26 Ulrich Drepper <drepper@redhat.com>
13629
13630 * string/test-strnlen.c: New file.
13631 * string/Makefile (strop-tests): Add strnlen.
13632 * string/tester.c (test_strnlen): Add a few more test cases.
13633 * string/tst-strlen.c: Better error reporting.
13634
13635 * sysdeps/x86_64/strnlen.S: New file.
13636
8e96b93a
UD
136372010-07-24 Ulrich Drepper <drepper@redhat.com>
13638
13639 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13640 lower-latency instructions.
13641
dbc676d4
UD
136422010-07-23 Ulrich Drepper <drepper@redhat.com>
13643
13644 * string/test-strcasestr.c: New file.
13645 * string/test-strstr.c: New file.
13646 * string/Makefile (strop-tests): Add strstr and strcasestr.
13647 * string/str-two-way.h: Don't undefine MAX.
13648 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13649
f6a31e0e
AS
136502010-07-21 Andreas Schwab <schwab@redhat.com>
13651
13652 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13653 strcasestr-nonascii.
13654 (CFLAGS-strcasestr-nonascii.c): Define.
13655 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13656 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13657 Remove unused attribute.
13658
5dbc3b6c
RM
136592010-07-20 Roland McGrath <roland@redhat.com>
13660
13661 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13662 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13663 ld.so.cache was broken. With it, there is no way to disable dsocaps
13664 like LD_HWCAP_MASK can disable hwcaps.
13665
23d101d8
EPM
136662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13667
13668 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13669
cc9f2e47
UD
136702010-07-16 Ulrich Drepper <drepper@redhat.com>
13671
13672 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13673 call in strcasestr.
13674 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13675 __strcasestr_sse42_nonascii.
13676 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13677 strcasestr-nonascii.c.
13678 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13679
77c1b069
LM
136802010-06-15 Luis Machado <luisgpm@br.ibm.com>
13681
13682 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13683 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13684 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13685 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13686
440566c3
UD
136872010-07-09 Ulrich Drepper <drepper@redhat.com>
13688
13689 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13690 fcntl.
13691
5be9d05d
AS
136922010-07-06 Andreas Schwab <schwab@redhat.com>
13693
c30b7ee2 13694 [BZ #11577]
5be9d05d
AS
13695 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13696 dl_signal_cerror.
13697
8a492a67
UD
136982010-07-06 Ulrich Drepper <drepper@redhat.com>
13699
13700 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13701 _PC_PIPE_BUF using F_GETPIPE_SZ.
13702
713df3d5
RM
137032010-07-05 Roland McGrath <roland@redhat.com>
13704
13705 * manual/arith.texi (Rounding Functions): Fix rint description
13706 implicit in round description.
13707
702e8f14
UD
137082010-07-02 Ulrich Drepper <drepper@redhat.com>
13709
13710 * elf/Makefile: Fix linking for a few tests to make recent linker
13711 happy.
13712
52ed8be9
AS
137132010-06-30 Andreas Schwab <schwab@redhat.com>
13714
13715 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13716 $(common-objpfx)libc_nonshared.a.
13717
f47c9a11
LM
137182010-06-21 Luis Machado <luisgpm@br.ibm.com>
13719
13720 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13721 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13722 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13723 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13724 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13725 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13726 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13727 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13742 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13743 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13744 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13745 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13746 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13747 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13748 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13749 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13750 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13751 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13752 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13753 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13768
6fb8cbcb
L
137692010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13770
13771 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13772 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13773 * string/memmove.c (memmove): Renamed to ...
13774 (MEMMOVE): ...this. Default to memmove.
13775 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13776 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13777 (END_CHK): Define.
13778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13779 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13780 mempcpy-ssse3-back memmove-ssse3-back.
13781 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13782 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13783 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13784 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13785 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13786 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13787 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13788 * sysdeps/x86_64/multiarch/memmove.c: New file.
13789 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13790 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13791 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13792 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13793 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13794 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13795 Define.
13796 (index_Fast_Copy_Backward): Define.
13797 (HAS_ARCH_FEATURE): Define.
13798 (HAS_FAST_REP_STRING): Define.
13799 (HAS_FAST_COPY_BACKWARD): Define.
13800
4e733bac 138012010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13802
13803 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13804 Restore proper fallback handling.
13805
63c4ed22
UD
138062010-06-19 Ulrich Drepper <drepper@redhat.com>
13807
ac2b484c
UD
13808 [BZ #11701]
13809 * posix/group_member.c (__group_member): Correct checking loop.
13810
63c4ed22
UD
13811 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13812 OOM in getpwuid_r correctly. Return error number when the caller
13813 should return, otherwise -1.
13814 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13815 call returning > 0 value.
13816 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13817
765ade4b
AS
138182010-06-07 Andreas Schwab <schwab@redhat.com>
13819
13820 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13821 libc_nonshared.a from targets in modules-names.
13822
80da2e09
KS
138232010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13824
13825 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13826 requires it.
13827
158db122
LM
138282010-06-10 Luis Machado <luisgpm@br.ibm.com>
13829
13830 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13831 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13833 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13834
caa78cf8
AS
138352010-06-02 Andreas Schwab <schwab@redhat.com>
13836
13837 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13838
b2ef2c01
UD
138392010-06-14 Ulrich Drepper <drepper@redhat.com>
13840
13841 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13842 and F_GETPIPE_SZ.
13843 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13845 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13847 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13848 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13849
fbd643b6
RM
138502010-06-14 Roland McGrath <roland@redhat.com>
13851
13852 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13853
f32f2869
JJ
138542010-06-07 Jakub Jelinek <jakub@redhat.com>
13855
13856 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13857 __REDIRECT followed by __THROW.
13858 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13859 * posix/getopt.h (getopt): Likewise.
13860
2a50c078
EPM
138612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13862
13863 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13864 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13865 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13866 in AT_FLAGS.
13867 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13868 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13869
eb5ad2eb
LM
138702010-05-28 Luis Machado <luisgpm@br.ibm.com>
13871
13872 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13873
3c88fe1e
L
138742010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13875
13876 [BZ #11640]
13877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13878 Properly check family and model.
13879
d2f73151
TY
138802010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13881
13882 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13883
ebd2e13d
LM
138842010-05-24 Luis Machado <luisgpm@br.ibm.com>
13885
13886 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13887
b32b8b45
UD
138882010-05-21 Ulrich Drepper <drepper@redhat.com>
13889
13890 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13891 symbol reference.
13892
9acbe24d
AS
138932010-05-19 Andreas Schwab <schwab@redhat.com>
13894
13895 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13896 symbol reference.
13897
f0ccf6ea
AS
138982010-05-21 Andreas Schwab <schwab@redhat.com>
13899
3d04ff3a
AS
13900 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13901 and internal_recvmmsg.
13902 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13903 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13904 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13905 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13906
f0ccf6ea
AS
13907 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13908 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13909 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13910
5b08ac57
AS
139112010-05-20 Andreas Schwab <schwab@redhat.com>
13912
13913 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13914
4828935d
LM
139152010-05-17 Luis Machado <luisgpm@br.ibm.com>
13916
13917 POWER7 optimizations.
13918 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13919 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13920
373d545e
UD
139212010-05-19 Ulrich Drepper <drepper@redhat.com>
13922
13923 * version.h: Update for 2.13 development version.
13924
21a2b1ae
AS
139252010-05-12 Andrew Stubbs <ams@codesourcery.com>
13926
13927 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13928 exceptions. Return 0.
13929
3f7dcb2b
RM
139302010-05-07 Roland McGrath <roland@redhat.com>
13931
13932 * elf/ldconfig.c (main): Add a const.
13933
5f24d53a 139342010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13935
a160f8d8
UD
13936 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13937 (args_options): Add no-idn option.
13938 (ahosts_keys_int): Add idn_flags to ai_flags.
13939 (parse_option): Handle 'i' option to clear idn_flags.
13940
5f24d53a
UD
13941 * malloc/malloc.c (_int_free): Possible race in the most recently
13942 added check. Only act on the data if no current modification
13943 happened.
265bb1ce
UD
13944
13945See ChangeLog.17 for earlier changes.
This page took 1.922262 seconds and 5 git commands to generate.