]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix concat example
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1bfb7291
AJ
12012-05-14 Andreas Jaeger <aj@suse.de>
2
3 * manual/string.texi (Copying and Concatenation): Add missing
4 variable in concat example.
5 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6
c044d724
L
72012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8
9 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10 __builtin_clzl with __builtin_clzll.
11
2523c62b
L
122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13
14 [BZ #14104]
15 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16 libc_freeres_ptr.
17
d7bb4c42
LD
182012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19
20 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24
9dc4e1fb
MF
252012-05-14 Mike Frysinger <vapier@gentoo.org>
26
27 * NEWS: Update ia64 info.
28
c7df0112
AS
292012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30
31 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32 used as bcopy.
33
dc70356c
TS
342012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35
36 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37 * sysdeps/unix/syscalls.list (dup3): Likewise.
38 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40
9fb1a21f
L
412012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42
43 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45
4822a2a5
L
462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47
48 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49 thread pointer.
50 (TLS_IE): Use mov/add instead of movq/addq to load thread
51 pointer.
52 (TLS_GD_PREFIX): New.
53 (TLS_GD): Use it.
54
842b81d6
DM
552012-05-11 David S. Miller <davem@davemloft.net>
56
57 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59 (_FPU_SETCW): Likewise.
60
1cf463cd
L
612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
62
63 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64 is 32-byte aligned.
65
60cc4a18
AS
662012-05-11 Andreas Schwab <schwab@linux-m68k.org>
67
68 [BZ #11837]
69 * iconvdata/gb18030.c: Update tables.
70 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
71 characters specially.
72 (BODY for TO_LOOP): Add encoding of missing ranges.
73
febb44a4
TS
742012-05-11 Thomas Schwinge <thomas@codesourcery.com>
75
76 [BZ #13673]
77 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
78 * sysdeps/mach/hurd/dup3.c: Likewise.
79 * sysdeps/mach/hurd/readlinkat.c: Likewise.
80 * sysdeps/powerpc/memmove.c:: Likewise.
81
0a10fb9e
L
822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
83
84 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
85 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
86
df8a552f
L
872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
88
89 * elf/elf.h (R_X86_64_RELATIVE64): New.
90 (R_X86_64_NUM): Updated.
91 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
92 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
93 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
94 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
95 tst-quad1pie tst-quad2pie
96 (modules-names): Add tst-quadmod1 tst-quadmod2.
97 ($(objpfx)tst-quad1): New dependency.
98 ($(objpfx)tst-quad2): Likewise.
99 ($(objpfx)tst-quad1pie): Likewise.
100 ($(objpfx)tst-quad2pie): Likewise.
101 * sysdeps/x86_64/tst-quad1.c: New file.
102 * sysdeps/x86_64/tst-quad1pie.c: New file.
103 * sysdeps/x86_64/tst-quad2.c: Likewise.
104 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
105 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
106 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
107 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
108 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
109
f34d6f84
ST
1102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
111
f42d41d1
ST
112 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
113 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
114 * streams/stropts.h (t_scalar_t): Define type.
115
3c3571fc
ST
116 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
117 (_PATH_PRESERVE): Set to "/var/lib".
118 (_PATH_RWHODIR): Set to "/var/spool/rwho".
119
61f06bd3
ST
120 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
121 instead of int.
122
918d4d71
ST
123 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
124 if __dir_mkfile succeeded.
125
f34d6f84
ST
126 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
127 checking for _hurd_dtablesize. Unlock it right after having
128 finished _hurd_dtable allocation.
129
10589b4a
TS
1302012-05-10 Thomas Schwinge <thomas@schwinge.name>
131
674cdbc7
TS
132 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
133 * sysdeps/mach/hurd/configure: Regenerated.
134 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
135 special-casing to...
136 * sysdeps/gnu/configure.in: ... this new file.
137 * sysdeps/unix/sysv/linux/configure: Regenerated.
138 * sysdeps/gnu/configure: New generated file.
139
8e41b99f
TS
140 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
141 for Linux: use nsec instead of usec, as well as:
142 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
143 members of type struct timespec.
144 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
145 New macros.
146 (struct stat64): Likewise.
147 (_STATBUF_ST_NSEC): New macro.
148 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
149
10589b4a
TS
150 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
151 __strtoul_internal rather than strtoul.
152
63643c85
PT
1532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
154
155 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
156 and reject them.
157
3faebe6a
ST
1582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
159
160 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
161 which preserves existing values.
162 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
163
c6474b07
PT
1642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
165
166 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
167 TIMEOUT values. Return EINVAL for NFDS values either negative or
168 greater than FD_SETSIZE.
169
1043890b
ST
1702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
171
172 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
173 allocated, call __vm_protect to finish enabling the existing space, and
174 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
175 allocate the remainder.
176
37ed8b9b
PT
1772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
178
179 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
180 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
181
db653660
ST
1822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
183
37ed8b9b
PT
184 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
185 sysdeps/mach/hurd/readlink.c.
b29d4053 186
db653660
ST
187 * posix/tst-sysconf.c (posix_options): Only use
188 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
189 _POSIX_SYNCHRONIZED_IO when they are defined
190 * sysdeps/mach/hurd/bits/posix_opt.h:
191 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
192 (_XOPEN_REALTIME): Undefine macro.
193 (_XOPEN_REALTIME_THREADS): Undefine macro.
194 (_XOPEN_SHM): Undefine macro.
195 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
196 macro to -1.
197 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
198 macro to -1.
199 (_POSIX_ASYNC_IO): Undefine macro.
200 (_POSIX_PRIORITIZED_IO): Undefine macro.
201 (_POSIX_SPIN_LOCKS): Define macro to -1.
202
ee16e894
ST
203 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
204 SA_NODEFER, SA_RESETHAND.
205 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
206 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
207 F_DUPFD_CLOEXEC.
208
6103ae3b
TS
2092012-05-10 Thomas Schwinge <thomas@schwinge.name>
210
211 * elf/Makefile (pldd-modules): Define unconditionally.
212
80b4e5f3
TS
2132012-05-10 Thomas Schwinge <thomas@schwinge.name>
214
215 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
216
edadcbd6
ST
2172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
218
219 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
220 Return ENOENT when name is empty.
221 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
222
80694780
TS
2232012-05-10 Thomas Schwinge <thomas@schwinge.name>
224
1792c087
TS
225 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
226
80694780
TS
227 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
228
6b645f0d
ST
2292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
230
80694780
TS
231 Fix mlock in all cases except non-readable pages.
232 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
233 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 234
6b645f0d
ST
235 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
236 (__mkdir): When path is `/', just fail with EEXIST.
237 * sysdeps/mach/hurd/mkdirat.c: Likewise.
238
e468f8a3
TS
2392012-05-10 Thomas Schwinge <thomas@schwinge.name>
240
241 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
242 <sys/uio.h> (for writev).
243 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
244 and <sys/param.h> (for MIN).
245
a4186cff
PT
2462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
247
248 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
249 REQUESTED_TIME. Properly set the remaining time and return EINTR
250 if interrupted.
251
510bbf14
TS
2522012-05-10 Thomas Schwinge <thomas@schwinge.name>
253
254 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
255 Depend on against $(link-rpcuserlibs).
256
5d5722e8
ST
2572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
258
a4186cff
PT
259 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
260 (__libc_stack_end): Do not use attribute_relro.
261 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
262 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 263 to libthread-provided value.
a4186cff
PT
264 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
265 attribute_relro.
5d5722e8 266
37233df9
TS
2672012-05-10 Thomas Schwinge <thomas@schwinge.name>
268
be971a2b
TS
269 [BZ #3748]
270 * bits/libc-lock.h (__libc_once_get): New macro.
271 * sysdeps/mach/bits/libc-lock.h: Likewise.
272 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
273 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
274 instead of using implementation details.
275
37233df9
TS
276 * libio/fileops.c: Unconditionally include <kernel-features.h>.
277 * libio/freopen.c: Likewise.
278 * libio/freopen64.c: Likewise.
279 * misc/syslog.c: Likewise.
280 * nscd/connections.c: Likewise.
281 * nscd/netgroupcache.c: Likewise.
282 * sysdeps/posix/getcwd.c: Likewise.
283
38de94a5
RM
2842012-05-10 Roland McGrath <roland@hack.frob.com>
285
286 * math/w_ilogbf.c: Add #include <limits.h>.
287
67530489
ST
2882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
289
a4186cff 290 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
291 path instead of returning without unlocking.
292
67530489
ST
293 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
294 immediate-write ioctls.
295 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
296
5aa3a74a
TS
2972012-05-10 Thomas Schwinge <thomas@schwinge.name>
298
18bad2ae
TS
299 * sysdeps/mach/hurd/i386/init-first.c (init): Use
300 __builtin_frame_address instead of making assumptions about the
301 location of the return address relative to DATA. Force early load of
302 the return address.
303 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
304 __builtin_frame_address.
305
5aa3a74a
TS
306 dup3 for GNU Hurd.
307 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
308 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
309 implement dup3 and do some further code clean-ups.
310 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
311 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
312
ecd0de9a
ST
3132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
314
cd9fa985
ST
315 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
316
a4186cff
PT
317 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
318 HURD_CRITICAL_END around holding _hurd_dtable_lock.
319 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
320 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
321 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
322 d->port.lock.
802ca5a5 323
a4186cff
PT
324 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
325 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
326 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 327
bcf55240
TS
3282012-05-10 Thomas Schwinge <thomas@schwinge.name>
329
6960eb42
TS
330 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
331 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
332 definitions.
333
eb43375f
TS
334 accept4 for GNU Hurd.
335 * include/sys/socket.h (__libc_accept4): New prototype.
336 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
337 to implement __libc_accept4.
338 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
339 __libc_accept4.
340 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
341
bcf55240
TS
342 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
343 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
344 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
345 signal-defines.sym.
346
6178c55b
ST
3472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
348
a4186cff 349 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 350
6f080c2f
TS
3512012-05-10 Thomas Schwinge <thomas@schwinge.name>
352
353 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
354 assertion on O_CLOEXEC flag.
355 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
356 * hurd/intern-fd.c: Likewise.
357 * hurd/port2fd.c: Likewise.
358
bcfe3a54
ST
3592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
360
361 [BZ #3906]
362 * bits/in.h (IPV6_PKTINFO): Define new macro.
363 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
364
89c9aa49
AZ
3652012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
366
367 [BZ #13954]
368 [BZ #13955]
369 [BZ #13956]
370 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
371 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
372 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
373 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
374 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
375 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
376 * math/libm-test.inc (logb_test) : Additional logb tests.
377
021db4be
AJ
3782012-05-09 Andreas Schwab <schwab@linux-m68k.org>
379 Andreas Jaeger <aj@suse.de>
380
381 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
382 * configure: Regenerated.
383 * config.h.in (LINK_OBSOLETE_RPC): New macro.
384 * config.make.in (link-obsolete-rpc): New substituted variable.
385 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
386 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
387 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
388 (shared-only-routines): Don't set it under [link-obsolete-rpc],
389 so that libc.a contains the symbols.
390 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
391 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
392 * sunrpc/auth_none.c: Likewise.
393 * sunrpc/auth_unix.c: Likewise.
394 * sunrpc/authdes_prot.c: Likewise.
395 * sunrpc/authuxprot.c: Likewise.
396 * sunrpc/clnt_gen.c: Likewise.
397 * sunrpc/clnt_perr.c: Likewise.
398 * sunrpc/clnt_raw.c: Likewise.
399 * sunrpc/clnt_simp.c: Likewise.
400 * sunrpc/clnt_tcp.c: Likewise.
401 * sunrpc/clnt_udp.c: Likewise.
402 * sunrpc/clnt_unix.c: Likewise.
403 * sunrpc/des_crypt.c: Likewise.
404 * sunrpc/des_soft.c: Likewise.
405 * sunrpc/get_myaddr.c: Likewise.
406 * sunrpc/key_call.c: Likewise.
407 * sunrpc/key_prot.c: Likewise.
408 * sunrpc/netname.c: Likewise.
409 * sunrpc/pm_getmaps.c: Likewise.
410 * sunrpc/pm_getport.c: Likewise.
411 * sunrpc/pmap_clnt.c: Likewise.
412 * sunrpc/pmap_prot.c: Likewise.
413 * sunrpc/pmap_prot2.c: Likewise.
414 * sunrpc/pmap_rmt.c: Likewise.
415 * sunrpc/publickey.c: Likewise.
416 * sunrpc/rpc_cmsg.c: Likewise.
417 * sunrpc/rpc_common.c: Likewise.
418 * sunrpc/rpc_dtable.c: Likewise.
419 * sunrpc/rpc_prot.c: Likewise.
420 * sunrpc/rpc_thread.c: Likewise.
421 * sunrpc/rtime.c: Likewise.
422 * sunrpc/svc.c: Likewise.
423 * sunrpc/svc_auth.c: Likewise.
424 * sunrpc/svc_raw.c: Likewise.
425 * sunrpc/svc_run.c: Likewise.
426 * sunrpc/svc_tcp.c: Likewise.
427 * sunrpc/svc_udp.c: Likewise.
428 * sunrpc/svc_unix.c: Likewise.
429 * sunrpc/svcauth_des.c: Likewise.
430 * sunrpc/xcrypt.c: Likewise.
431 * sunrpc/xdr.c: Likewise.
432 * sunrpc/xdr_array.c: Likewise.
433 * sunrpc/xdr_float.c: Likewise.
434 * sunrpc/xdr_intXX_t.c: Likewise.
435 * sunrpc/xdr_mem.c: Likewise.
436 * sunrpc/xdr_rec.c: Likewise.
437 * sunrpc/xdr_ref.c: Likewise.
438 * sunrpc/xdr_sizeof.c: Likewise.
439 * sunrpc/xdr_stdio.c: Likewise.
440
b5c086a2
RM
4412012-05-10 Roland McGrath <roland@hack.frob.com>
442
443 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
444 change. Update copyright years.
445
6d74dd09
JM
4462012-05-10 Joseph Myers <joseph@codesourcery.com>
447
448 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
449
28e72501
MK
4502012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
451 Joseph Myers <joseph@codesourcery.com>
452 Paul Pluzhnikov <ppluzhnikov@google.com>
453
454 [BZ #14012]
455 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
456 requiring rpcgen.
457 [cross-compiling] (extra-libs): Likewise.
458 [cross-compiling] (extra-libs-others): Likewise.
459 [cross-compiling] (librpcsvc-routines): Likewise.
460 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
461 [cross-compiling] (omit-deps): Likewise.
462 (sunrpc-CPPFLAGS): New variable.
463 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
464 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
465 (cross-rpcgen-objs): New variable.
466 (extra-objs): Append $(cross-rpcgen-objs).
467 ($(cross-rpcgen-objs)): New rule.
468 ($(objpfx)cross-rpcgen): Likewise.
469 (rpcgen-cmd): Define to use $(built-program-file). Expand
470 comment.
471 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
472 ($(objpfx)x%.stmp): Likewise.
473 * sunrpc/proto.h [IS_IN_build] (_): Define.
474 [IS_IN_build] (_libc_intl_domainname): Likewise.
475
c8c59454
L
4762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
477
478 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
479 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
480 and R_X86_64_TPOFF64.
481
6f27cd16
JM
4822012-05-10 Joseph Myers <joseph@codesourcery.com>
483
484 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
485 sysdeps/unix/sysv/syscalls.list.
486 (stime): Likewise.
487 (utime): Likewise.
488 * sysdeps/unix/sysv/syscalls.list: Remove file.
489
02467e1c
PE
4902012-05-10 Paul Eggert <eggert@cs.ucla.edu>
491
492 [BZ #3440]
493 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
494 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
495 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
496 (__LC_IDENTIFICATION): Make these macros useful in #if
497 expressions, as required by C99.
498
da392631
AS
4992012-05-10 Andreas Schwab <schwab@linux-m68k.org>
500
501 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
502 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
503 after this.
504
8115f29b
L
5052012-05-09 H.J. Lu <hongjiu.lu@intel.com>
506
507 * stdlib/longlong.h: Updated from GCC.
508
bdd74070
AJ
5092012-05-09 Andreas Jaeger <aj@suse.de>
510
edfe0dbe
AJ
511 * nscd/nscd.c (run_modes): Make named enum, reorder so that
512 default is first entry.
513 (run_mode): Set type.
514 (main): Remove informal message about syslog.
515 (options): Fix typo.
516
bcfe3a54
ST
517 [BZ #14053]
518 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 519 to asm.
bcfe3a54
ST
520 (lrint): Likewise.
521 (llrintf): Likewise.
522 (llrint): Likewise.
523 (rint): Likewise.
524 (rintf): Likewise.
525 (nearbyint): Likewise.
526 (nearbyintf): Likewise.
bdd74070 527
91d8d69e
AJ
5282012-05-09 Andreas Jaeger <aj@suse.de>
529 Pedro Alves <palves@redhat.com>
530
531 * nscd/nscd.c (run_mode): Use enum.
532 (main): Cleanup coding style issue.
533
bb90b80b
AJ
5342012-05-09 Alexandre Oliva <aoliva@redhat.com>
535 Andreas Jaeger <aj@suse.de>
536
bcfe3a54
ST
537 * nscd/nscd.c (go_background): Replaced with...
538 (run_mode): ... this.
bb90b80b 539 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
540 (options): Add -F --foreground.
541 (main): Implement it.
542 (parse_opt): Parse it.
bb90b80b 543
1a4b75a1
AJ
5442012-05-09 Andreas Jaeger <aj@suse.de>
545
546 [BZ #14083]
547 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
548 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
549 -Wconversion warning.
550 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
551 Likewise.
552
b1cc2472
JM
5532012-05-09 Joseph Myers <joseph@codesourcery.com>
554
555 * conform/data/locale.h-data (NULL): Use macro-constant. Require
556 == 0.
557 (LC_ALL): Use macro-int-constant.
558 (LC_COLLATE): Likewise.
559 (LC_CTYPE): Likewise.
560 (LC_MESSAGES): Likewise.
561 (LC_MONETARY): Likewise.
562 (LC_NUMERIC): Likewise.
563 (LC_TIME): Likewise.
564 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
565 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
567 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
568 Specify type.
569 [C99-based standards] (float_t): Expect type.
570 [C99-based standards] (double_t): Expect type.
571 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
572 type.
573 [C99-based standards] (HUGE_VALL): Likewise.
574 [C99-based standards] (INFINITY): Likewise.
575 [C99-based standards] (NAN): Likewise.
576 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
577 [C99-based standards] (FP_NAN): Likewise.
578 [C99-based standards] (FP_NORMAL): Likewise.
579 [C99-based standards] (FP_SUBNORMAL): Likewise.
580 [C99-based standards] (FP_ZERO): Likewise.
581 [C99-based standards] (FP_FAST_FMA): Use
582 optional-macro-int-constant. Specify type. Require == 1.
583 [C99-based standards] (FP_FAST_FMAF): Likewise.
584 [C99-based standards] (FP_FAST_FMAL): Likewise.
585 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
586 [C99-based standards] (FP_ILOGBNAN): Likewise.
587 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
588 Specify type.
589 [C99-based standards] (MATH_ERREXCEPT): Likewise.
590 [C99-based standards] (math_errhandling): Specify type.
591 [ISO99 || ISO11] (signgam): Do not allow.
592 [non-C99-based standards] (copysignf): Do not allow.
593 [non-C99-based standards] (exp2f): Likewise.
594 [non-C99-based standards] (log2f): Likewise.
595 [non-C99-based standards] (modff): Allow.
596 [non-C99-based standards] (erff): Do not allow.
597 [non-C99-based standards] (erfcf): Likewise.
598 [non-C99-based standards] (gammaf): Likewise.
599 [non-C99-based standards] (hypotf): Likewise.
600 [non-C99-based standards] (j0f): Likewise.
601 [non-C99-based standards] (j1f): Likewise.
602 [non-C99-based standards] (jnf): Likewise.
603 [non-C99-based standards] (lgammaf): Likewise.
604 [non-C99-based standards] (tgammaf): Likewise.
605 [non-C99-based standards] (y0f): Likewise.
606 [non-C99-based standards] (y1f): Likewise.
607 [non-C99-based standards] (ynf): Likewise.
608 [non-C99-based standards] (isnanf): Likewise.
609 [non-C99-based standards] (acoshf): Likewise.
610 [non-C99-based standards] (asinhf): Likewise.
611 [non-C99-based standards] (atanhf): Likewise.
612 [non-C99-based standards] (cbrtf): Likewise.
613 [non-C99-based standards] (expm1f): Likewise.
614 [non-C99-based standards] (ilogbf): Likewise.
615 [non-C99-based standards] (log1pf): Likewise.
616 [non-C99-based standards] (logbf): Likewise.
617 [non-C99-based standards] (nextafterf): Likewise.
618 [non-C99-based standards] (remainderf): Likewise.
619 [non-C99-based standards] (rintf): Likewise.
620 [non-C99-based standards] (scalbf): Likewise.
621 [non-C99-based standards] (copysignl): Likewise.
622 [non-C99-based standards] (exp2l): Likewise.
623 [non-C99-based standards] (log2l): Likewise.
624 [non-C99-based standards] (modfl): Allow.
625 [non-C99-based standards] (erfl): Do not allow.
626 [non-C99-based standards] (erfcl): Likewise.
627 [non-C99-based standards] (gammal): Likewise.
628 [non-C99-based standards] (hypotl): Likewise.
629 [non-C99-based standards] (j0l): Likewise.
630 [non-C99-based standards] (j1l): Likewise.
631 [non-C99-based standards] (jnl): Likewise.
632 [non-C99-based standards] (lgammal): Likewise.
633 [non-C99-based standards] (tgammal): Likewise.
634 [non-C99-based standards] (y0l): Likewise.
635 [non-C99-based standards] (y1l): Likewise.
636 [non-C99-based standards] (ynl): Likewise.
637 [non-C99-based standards] (isnanl): Likewise.
638 [non-C99-based standards] (acoshl): Likewise.
639 [non-C99-based standards] (asinhl): Likewise.
640 [non-C99-based standards] (atanhl): Likewise.
641 [non-C99-based standards] (cbrtl): Likewise.
642 [non-C99-based standards] (expm1l): Likewise.
643 [non-C99-based standards] (ilogbl): Likewise.
644 [non-C99-based standards] (log1pl): Likewise.
645 [non-C99-based standards] (logbl): Likewise.
646 [non-C99-based standards] (nextafterl): Likewise.
647 [non-C99-based standards] (remainderl): Likewise.
648 [non-C99-based standards] (rintl): Likewise.
649 [non-C99-based standards] (scalbl): Likewise.
650 [ISO || ISO99 || ISO11] (*_t): Do not allow.
651 [non-C99-based standards] (FP_*): Do not allow.
652 [C99-based standards] (FP_*): Change to
653 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
654 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
655 allow.
656 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
657 (SIG_ERR): Likewise.
658 [X/Open-based standards] (SIG_HOLD): Likewise.
659 (SIG_IGN): Likewise.
660 (SIGABRT): Use macro-int-constant. Specify type. Require
661 positive value.
662 (SIGFPE): Likewise.
663 (SIGILL): Likewise.
664 (SIGINT): Likewise.
665 (SIGSEGV): Likewise.
666 (SIGTER): Likewise.
667 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
668 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
669 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
670 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
671 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
672 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
673 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
674 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
675 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
676 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
677 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
678 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
679 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
680 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
681 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
682 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
683 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
684 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
685 [X/Open-based standards] (SIGTRAP): Likewise.
686 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
687 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
688 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
689 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
690 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
691 allow.
692
b9f1922d
IW
6932012-05-08 Ian Wienand <ianw@vmware.com>
694
695 [BZ #14080]
696 * time/tzset.c (__tzset_parse_tz): Update default rules for
697 daylight time changes in the Energy Policy Act of 2005.
698
1db86e88
AJ
6992012-05-09 Andreas Jaeger <aj@suse.de>
700
701 [BZ #13983]
702 * elf/ldconfig.c (parse_conf): Change string to make clear that
703 ldconfig only issued a warning if ld.so.conf does not exist.
704
dee4a4e3
DM
7052012-05-08 David S. Miller <davem@davemloft.net>
706
ee0db190
DM
707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
708 movxtod instead of popping the value on the stack.
709
dee4a4e3
DM
710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
711
6a43ec98
CD
7122012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
713
714 * config.h.in: Add HAVE_ARM_PCS_VFP.
715
05c2c961
RMG
7162012-05-08 Roland Mc Grath <roland@hack.frob.com>
717
bcfe3a54
ST
718 [BZ #13979]
719 * include/features.h: Warn if user requests __FORTIFY_SOURCE
720 checking but the checks are disabled for any reason.
05c2c961 721
4b30f61a
L
7222012-05-08 H.J. Lu <hongjiu.lu@intel.com>
723
724 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
725 and ELF64_R_TYPE with ELFW(R_TYPE).
726
eee2bc67
JM
7272012-05-08 Joseph Myers <joseph@codesourcery.com>
728
7ea5391a
JM
729 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
730 (ulimit): Likewise.
731
eee2bc67
JM
732 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
733 (settimeofday): Likewise.
734
abb66a67
MF
7352012-05-08 Mike Frysinger <vapier@gentoo.org>
736
737 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
738 a struct th_u2 inside the union, and move tu_block/tu_code into
739 a new th_u3 union of tu_block/tu_code inside of that. Move
740 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
741 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
742 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
743 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
744 (th_stuff): Change to th_u1.tu_stuff.
745 (th_data): Define.
746 (th_msg): Change to th_u1.th_u2.tu_data.
747
7f18b530
DM
7482012-05-07 David S. Miller <davem@davemloft.net>
749
05760585
DM
750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
751
7f18b530
DM
752 [BZ #14074]
753 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
754 (SETUP_PIC_REG): Use it.
755 (SETUP_PIC_REG_LEAF): Use it.
756
495fd99f
JM
7572012-05-07 Joseph Myers <joseph@codesourcery.com>
758
759 [BZ #13885]
760 [BZ #13923]
761 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
762 USE_AS_EXPM1L.
763 (EXPL_FINITE): Likewise.
764 (FLDLOG): Likewise.
765 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
766 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
767 e_expl.S.
768 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
769 USE_AS_EXPM1L.
770 (EXPL_FINITE): Likewise.
771 (FLDLOG): Likewise.
772 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
773 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
774 e_expl.S.
775 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
776 test of -max_value argument for long double.
777 * sysdeps/i386/fpu/libm-test-ulps: Update.
778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
779
6693d694
DM
7802012-05-06 David S. Miller <davem@davemloft.net>
781
782 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
783 quad soft-float symbols whose references which are compiler
784 generated.
785 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
786
6c23e11c
JM
7872012-05-06 Joseph Myers <joseph@codesourcery.com>
788
d8b82cad
JM
789 [BZ #13884]
790 [BZ #13914]
791 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
792 USE_AS_EXP10L.
793 (EXPL_FINITE): Likewise.
794 (FLDLOG): Likewise.
795 (c0): Likewise.
796 (c1): Likewise.
797 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
798 Adjust comments for base varying.
799 (__expl_finite): Change alias to EXPL_FINITE.
800 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
801 e_expl.S.
802 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
803 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
804 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
805 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
806 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
807 USE_AS_EXP10L.
808 (EXPL_FINITE): Likewise.
809 (FLDLOG): Likewise.
810 (c0): Likewise.
811 (c1): Likewise.
812 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
813 Adjust comments for base varying.
814 (__expl_finite): Change alias to EXPL_FINITE.
815 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
816 tests for bugs.
817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
818
6c23e11c
JM
819 [BZ #14064]
820 * math/libm-test.inc (check_float_internal): Correct ulp
821 calculation for subnormal expected results.
822
29ba805c
AJ
8232012-05-06 Andreas Jaeger <aj@suse.de>
824
825 * Makeconfig (+math-flags): New, set to -frounding-math.
826 (+cflags): Add +math-flags so that all of glibc gets compiled with
827 it.
828
829 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
830
7b17aeda
JM
8312012-05-05 Joseph Myers <joseph@codesourcery.com>
832
5779f134
JM
833 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
834 Disable one test.
835
41498f4d
JM
836 [BZ #13787]
837 [BZ #13922]
838 [BZ #14036]
839 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
840 (__ieee754_expl): Allow for and saturate large arguments.
841 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
842 (u_threshold): Likewise.
843 (__exp): Call __ieee754_exp before checking for overflow and
844 underflow.
845 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
846 (u_threshold): Likewise.
847 (__expf): Call __ieee754_expf before checking for overflow and
848 underflow.
849 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
850 (u_threshold): Likewise.
851 (__expl): Call __ieee754_expl before checking for overflow and
852 underflow.
853 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
854 (__ieee754_expl): Allow for and saturate large arguments.
855 * math/libm-test.inc (exp_test): Add another test. Do not allow
856 missing overflow exception on overflow.
857 (expm1_test): Do not allow missing overflow exception on overflow.
858
6698b8bf
JM
859 * sysdeps/i386/fpu/e_expl.c: Move to ...
860 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
861 rather than using inline asm.
862 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
863 * sysdeps/x86_64/fpu/e_expl.S: Copy from
864 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
865
7b17aeda
JM
866 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
867 (nice): Likewise.
868 (poll): Likewise.
869 (signal): Likewise.
870 (time): Likewise.
871 (times): Likewise.
872
f7c85819
JM
8732012-05-04 Joseph Myers <joseph@codesourcery.com>
874
875 * sysdeps/unix/syscalls.list (adjtime): Add entry from
876 sysdeps/unix/common/syscalls.list.
877 (fchmod): Likewise.
878 (fchown): Likewise.
879 (ftruncate): Likewise.
880 (getrusage): Likewise.
881 (gettimeofday): Likewise.
882 (setpgid): Likewise.
883 (setregid): Likewise.
884 (setreuid): Likewise.
885 (sigaction): Likewise.
886 (truncate): Likewise.
887 (vhangup): Likewise.
888 * sysdeps/unix/common/syscalls.list: Remove file.
889 * sysdeps/unix/bsd/Implies: Don't include unix/common.
890 * sysdeps/unix/sysv/linux/Implies: Likewise.
891
336270d0
L
8922012-05-04 H.J. Lu <hongjiu.lu@intel.com>
893
894 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
896 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
897 Moved to ...
898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
899 Here.
900 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
901 to ...
902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
903 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
904 to ...
905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
906 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
907 to ...
908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
909 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
910 to ...
911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
912 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
913 to ...
914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
915 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
916 to ...
917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
918 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
919 to ...
920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
921 Here.
922 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
923 to ...
924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
925 Here.
926 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
927 to ...
928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
929 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
930 Moved to ...
931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
932 Here.
933 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
934 to ...
935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
936
d128e450
JM
9372012-05-04 Joseph Myers <joseph@codesourcery.com>
938
fa8ee516
JM
939 * sysdeps/unix/common/bits/dirent.h: Remove file.
940 * sysdeps/unix/common/bits/fcntl.h: Likewise.
941
d128e450
JM
942 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
943 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
944 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
945 * sysdeps/unix/bsd/isatty.c: Likewise.
946 * sysdeps/unix/bsd/tcdrain.c: Likewise.
947 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
948 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
949
ff8faaf0 9502012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 951
62881be4 952 [BZ #13563]
31dc8730
AZ
953 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
954 long double comparison inaccuracies.
955 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
957
6fef930c
AS
9582012-05-04 Andreas Schwab <schwab@linux-m68k.org>
959
960 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
961 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
962
8f203e6c
JM
9632012-05-04 Joseph Myers <joseph@codesourcery.com>
964
965 [BZ #14049]
966 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
967 nonzero digits before rounding a hex value.
968 * stdlib/tst-strtod.c (tests): Add another test.
969
5197d9c2
AK
9702012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
971
972 * sysdeps/s390/fpu/libm-test-ulps: Update.
973
f0c1dedf
AJ
9742012-05-03 Andreas Jaeger <aj@suse.de>
975
976 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
977 does not get optimized out.
978 (malloc_opt_barrier): New.
979
a65ef2ae 9802012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 981 Roland McGrath <roland@hack.frob.com>
a65ef2ae 982
2b942cb7 983 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 984 intermediate file deletion.
2b942cb7 985 (generated): Add .symlist files.
a65ef2ae 986
54b71e02
JM
9872012-05-03 Joseph Myers <joseph@codesourcery.com>
988
989 [BZ #13775]
990 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
991 Redirect under this condition.
992 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
993 [__USE_GNU] (__dprintf_chk): Not under this condition.
994 [__USE_GNU] (__vdprintf_chk): Likewise.
995 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
996 under this condition.
997 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
998 [__USE_XOPEN2K8] (dprintf): Define under this condition.
999 [__USE_XOPEN2K8] (vdprintf): Likewise.
1000 [__USE_GNU] (__dprintf_chk): Not under this condition.
1001 [__USE_GNU] (__vdprintf_chk): Likewise.
1002 [__USE_GNU] (dprintf): Likewise.
1003 [__USE_GNU] (vdprintf): Likewise.
1004
d3dfcc41
RM
10052012-05-03 Roland McGrath <roland@hack.frob.com>
1006
1007 * elf/Makefile (common-generated): Set this instead of generated for
1008 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1009 $(all-built-dso)-derived lists.
1010
7ac30cc5
AJ
10112012-05-03 Andreas Jaeger <aj@suse.de>
1012
0c51e550
AJ
1013 * sysdeps/i386/fpu/libm-test-ulps: Update.
1014
7ac30cc5
AJ
1015 * FAQ: Removed.
1016 * FAQ.in: Likewise.
1017 * scripts/gen-FAQ.pl: Likewise.
1018 * manual/install.texi (Installation): Point to online location of
1019 FAQ.
1020 * Makefile (files-for-dist): Remove FAQ.
1021 (FAQ): Remove.
1022
d4c2917f
AM
10232012-05-02 Allan McRae <allan@archlinux.org>
1024
1025 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1026 (LDFLAGS-reldepmod5.so): Likewise.
1027 (LDFLAGS-reldep6mod1.so): Likewise.
1028 (LDFLAGS-reldep6mod4.so): Likewise.
1029 (LDFLAGS-reldep8mod3.so): Likewise.
1030 (LDFLAGS-unload4mod1.so): Likewise.
1031 (LDFLAGS-unload4mod2.so): Likewise.
1032 (LDFLAGS-tst-initorder): Likewise.
1033 (LDFLAGS-tst-initordera2.so): Likewise.
1034 (LDFLAGS-tst-initordera3.so): Likewise.
1035 (LDFLAGS-tst-initordera4.so): Likewise.
1036 (LDFLAGS-tst-initorderb2.so): Likewise.
1037 (LDFLAGS-noload): Likewise.
1038 (LDFLAGS-next): Likewise.
1039 (LDFLAGS-order2mod1.so): Likewise.
1040 (LDFLAGS-order2mod2.so): Likewise.
1041 (LDFLAGS-tst-initorder2): Likewise.
1042 (LDFLAGS-tst-initorder2a.so): Likewise.
1043 (LDFLAGS-tst-initorder2b.so): Likewise.
1044 (LDFLAGS-tst-initorder2c.so): Likewise.
1045 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1046
d77f993f
DM
10472012-05-02 David S. Miller <davem@davemloft.net>
1048
1049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1050
171a70b4
PP
10512012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1052
1053 [BZ #14055]
1054 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1055
0be196ad
AJ
10562012-05-02 Andreas Jaeger <aj@suse.de>
1057
1058 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1059 since we manipulate rounding mode.
1060 (CPPFLAGS-test-idouble.c): Likewise.
1061 (CPPFLAGS-test-ifloat.c): Likewise.
1062 (CFLAGS-test-ldouble.c): Likewise.
1063 (CFLAGS-test-double.c): Likewise.
1064 (CFLAGS-test-float.c): Likewise.
1065 (CFLAGS-test-misc.c): Likewise.
1066 (CFLAGS-test-test-fenv.c): Likewise.
1067
4f9d04aa
AZ
10682012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1069
2b942cb7
RM
1070 [BZ #2550]
1071 [BZ #2570]
1072 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1073 comparisons to determine direction to adjust input.
4f9d04aa 1074
82a79e7d
RM
10752012-05-01 Roland McGrath <roland@hack.frob.com>
1076
f5a01ca9
RM
1077 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1078 output to the target.
1079
90fe4186
RM
1080 * scripts/localplt.awk: New file.
1081 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1082 (check-localplt-CFLAGS): Variable removed.
1083 ($(all-built-dso:=.jmprel)): New static pattern rule.
1084 (generated): Add those targets.
1085 (localplt-built-dso): New variable.
1086 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1087
1088 * elf/check-localplt.c: File removed.
1089
82397ed6
RM
1090 * scripts/check-execstack.awk: New file.
1091 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1092 (check-execstack-CFLAGS): Variable removed.
1093 ($(objpfx)check-execstack.h): Target removed.
1094 ($(objpfx)execstack-default): New target.
1095 (generated): Add that instead of check-execstack.h.
1096 ($(all-built-dso:=.phdr)): New static pattern rule.
1097 (generated): Add those targets.
1098 * elf/check-execstack.c: File removed.
1099
82a79e7d
RM
1100 * scripts/check-textrel.awk: New file.
1101 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1102 (check-textrel-CFLAGS): Variable removed.
1103 (all-built-dso): Use := to define.o
1104 ($(all-built-dso:=.dyn)): New static pattern rule.
1105 (generated): Add those targets.
1106 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1107 * config.make.in (READELF): New substituted variable.
1108 * elf/check-textrel.c: File removed.
1109
62fde54f 11102012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1111
615605c9
JM
1112 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1113 allow.
1114 * conform/data/ctype.h-data [C99-based standards] (isblank):
1115 Expect function.
1116 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1117 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1119 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1120 Specify type. Require positive value.
1121 (EILSEQ): Likewise.
1122 (ERANGE): Likewise.
1123 [ISO || POSIX] (EILSEQ): Do not expect.
1124 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1125 Specify type. Require positive value.
1126 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1127 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1128 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1129 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1130 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1131 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1132 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1133 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1134 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1135 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1136 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1137 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1138 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1139 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1140 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1141 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1142 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1143 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1144 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1145 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1146 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1147 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1148 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1149 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1150 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1151 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1152 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1153 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1154 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1155 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1156 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1157 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1158 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1159 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1160 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1161 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1162 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1163 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1164 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1165 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1166 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1167 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1168 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1169 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1170 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1171 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1172 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1173 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1174 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1175 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1176 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1177 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1178 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1179 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1180 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1181 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1182 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1183 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1184 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1185 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1186 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1187 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1188 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1189 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1190 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1191 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1192 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1193 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1194 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1195 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1196 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1197 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1198 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1199 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1200 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1201 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1202 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1203 Require >= 2.
1204 (FLT_ROUNDS): Expect as macro, not constant.
1205 (FLT_MANT_DIG): Use macro-int-constant.
1206 (DBL_MANT_DIG): Likewise.
1207 (LDBL_MANT_DIG): Likewise.
1208 (FLT_DIG): Likewise.
1209 (DBL_DIG): Likewise.
1210 (LDBL_DIG): Likewise.
1211 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1212 (DBL_MIN_EXP): Likewise.
1213 (LDBL_MIN_EXP): Likewise.
1214 (FLT_MAX_EXP): Use macro-int-constant.
1215 (DBL_MAX_EXP): Likewise.
1216 (LDBL_MAX_EXP): Likewise.
1217 (FLT_MAX_10_EXP): Likewise.
1218 (DBL_MAX_10_EXP): Likewise.
1219 (LDBL_MAX_10_EXP): Likewise.
1220 (FLT_MAX): Use macro-constant.
1221 (DBL_MAX): Likewise.
1222 (LDBL_MAX): Likewise.
1223 (FLT_EPSILON): Use macro-constant. Give upper bound.
1224 (DBL_EPSILON): Likewise.
1225 (LDBL_EPSILON): Likewise.
1226 (FLT_MIN): Likewise.
1227 (DBL_MIN): Likewise.
1228 (LDBL_MIN): Likewise.
1229 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1230 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1231 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1232 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1233 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1234 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1235 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1236 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1237 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1238 [ISO11] (FLT_TRUE_MIN): Likewise.
1239 [ISO11] (LDBL_TRUE_MIN): Likewise.
1240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1241 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1242 (SCHAR_MIN): Use macro-int-constant. Specify type.
1243 (SCHAR_MAX): Likewise.
1244 (UCHAR_MAX): Likewise.
1245 (CHAR_MIN): Likewise.
1246 (CHAR_MAX): Likewise.
1247 (MB_LEN_MAX): Use macro-int-constant.
1248 (SHRT_MIN): Use macro-int-constant. Specify type.
1249 (SHRT_MAX): Likewise.
1250 (USHRT_MAX): Likewise.
1251 (INT_MAX): Likewise.
1252 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1253 bound negative.
1254 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1255 bound with "U".
1256 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1257 bound with "L".
1258 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1259 bound negative. Suffix upper bound with "L".
1260 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1261 bound with "UL".
1262 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1263 Specify type.
1264 [C99-based standards] (LLONG_MAX): Likewise.
1265 [C99-based standards] (ULLONG_MAX): Likewise.
1266 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1267 == 0.
1268 [ISO11] (max_align_t): Require type.
1269 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1270
c9140a62
JM
1271 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1272 from $CFLAGS, without defining away __attribute__ calls.
1273 (checknamespace): Use $CFLAGS_namespace.
1274
9af0bf29
JM
1275 * conform/conformtest.pl (@keywords): Only include C99 keywords
1276 for standards based on C99 or C11.
1277
343222a2
JM
1278 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1279 Disable tests.
1280 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1281 UNIX98]: Likewise.
1282
661f8cf0
JM
1283 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1284 usability of symbols in #if.
1285
ee74b9cb
JM
1286 * conform/conformtest.pl: If macro or constant types start
1287 "promoted:", expect the symbol to be of the following type
1288 promoted by the integer promotions.
62fde54f 1289
aafc49b3
JM
1290 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1291 in one place. Also handle "macro-constant".
1292
fefdf574
JM
1293 * conform/conformtest.pl: Only accept expected macro values with
1294 "==". Parse all "macro" lines in one place.
1295 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1296
f2d922fe
JM
1297 * conform/conformtest.pl: Handle braced types on "constant" lines
1298 instead of handling "typed-constant".
1299 * conform/data/signal.h-data: Use "constant" instead of
1300 "typed-constant".
1301
d22956c9
JM
1302 * conform/conformtest.pl: Handle "optional-" at start of lines in
1303 one place rather than duplicating several cases. Handle each
1304 format of "macro" line with initial "optional-".
1305
028e2e38
JM
1306 * conform/conformtest.pl: Only accept expected constant or
1307 optional-constant values with "==". Parse all "constant" lines in
1308 one place. Parse all "optional-constant" lines in one place.
1309 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1310 * conform/data/fmtmsg.h-data: Likewise.
1311 * conform/data/netinet/in.h-data: Likewise.
1312 * conform/data/tar.h-data: Likewise.
1313 * conform/data/limits.h-data: Use "==" form on "constant" and
1314 "optional-constant" lines.
1315
1b8f2850
JM
1316 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1317 Use -std=c99 for XOPEN2K.
1318 (@knownproblems): Remove.
1319 (newtoken): Don't check %isknown.
1320
a05a144b
JM
1321 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1322 Do not expect macro.
1323 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1329 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1330 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1331 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1332 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1335 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1336 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1349 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1350 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1351 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1353 [XPG3] (acosh): Likewise.
1354 [XPG3] (asinh): Likewise.
1355 [XPG3] (atanh): Likewise.
1356 [XPG3] (cbrt): Likewise.
1357 [XPG3] (expm1): Likewise.
1358 [XPG3] (ilogb): Likewise.
1359 [XPG3] (log1p): Likewise.
1360 [XPG3] (logb): Likewise.
1361 [XPG3] (nextafter): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1364 [XPG3] (remainder): Likewise.
1365 [XPG3] (rint): Likewise.
1366 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1367 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1368 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1370 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1371 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1372 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1373 [UNIX98 || XOPEN2K] (scalb): Expect.
1374 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1375 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1376 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1378 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1379 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1380 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1381 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1382 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1383 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1384 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1385 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1386 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1387 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1388 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1389 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1390 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1391 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1392 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1393 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1394 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1395 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1396 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1397 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1398 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1399 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1400 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1401 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1402 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1403 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1404 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1405 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1406 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1407 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1408 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1409 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1410 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1411 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1412 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1413 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1414 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1415 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1416 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1417 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1418 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1419 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1420 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1421 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1422 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1423 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1424 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1425 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1426 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1427 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1428 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1429 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1430 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1431 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1432 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1433 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1434 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1435 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1436 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1437 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1438 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1439 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1440 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1441 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1442 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1443 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1444 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1445 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1446 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1447 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1448 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1449 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1450 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1451 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1452 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1453 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1454 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1455 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1456 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1457 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1458 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1459 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1460 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1461 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1462 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1463 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1464 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1465 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1466 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1467 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1468 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1469 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1470 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1471 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1472 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1473 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1474 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1475 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1476 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1477 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1478 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1479 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1480 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1481 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1482 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1483 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1484 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1485 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1486 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1487 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1488 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1489 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1490 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1491 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1492 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1493 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1494 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1495 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1496 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1497 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1498 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1499 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1500 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1501 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1502 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1503 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1504 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1505 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1506 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1507 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1508 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1509 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1510 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1511
73c5ebe3
JM
1512 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1513 _XOPEN_SOURCE_EXTENDED for XPG4.
1514
39c33b6c
JM
1515 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1516
62fde54f
JM
1517 * Makeconfig (localtime): Remove variable.
1518 (inst_localtime-file): Likewise.
1519
0741d64c
AS
15202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1521
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1523 Update.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1525 Update.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1527 Update.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1529 Update.
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1531 Update.
1532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1533 Update.
1534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1535 Update.
1536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1537 Update.
1538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1539 Update.
1540
7cb029ee
JM
15412012-05-01 Joseph Myers <joseph@codesourcery.com>
1542
1543 [BZ #2550]
1544 [BZ #2570]
1545 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1546 comparisons to determine direction to adjust input.
1547 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1548 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1549 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1550 Likewise.
1551 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1552 Likewise.
1553 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1554 Likewise.
1555 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1556 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1557 Likewise.
1558 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1559 Likewise.
1560 * math/libm-test.inc (nexttoward_test): Add more tests.
1561
412bd966
AS
15622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1563
1564 [BZ #14040]
1565 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1566 in version GLIBC_2.1, not GLIBC_2.0.
1567 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1568 Likewise.
1569
9568c0c2
JM
15702012-04-30 Joseph Myers <joseph@codesourcery.com>
1571
adfbc8ac
JM
1572 [BZ #13942]
1573 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1574 (1 - x) * (1 + x).
1575 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1576 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1577 * math/libm-test.inc (acos_test): Add more tests.
1578 (asin_test): Likewise.
1579 * sysdeps/i386/fpu/libm-test-ulps: Update.
1580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1581
5ba3cc69
JM
1582 [BZ #14034]
1583 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1584 of square root.
1585 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1586 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1587 * math/libm-test.inc (acos_test_tonearest): New function.
1588 (acos_test_towardzero): Likewise.
1589 (acos_test_downward): Likewise.
1590 (acos_test_upward): Likewise.
1591 (asin_test_tonearest): Likewise.
1592 (asin_test_towardzero): Likewise.
1593 (asin_test_downward): Likewise.
1594 (asin_test_upward): Likewise.
1595 (main): Call the new functions.
1596 * sysdeps/i386/fpu/libm-test-ulps: Update.
1597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1598
9568c0c2
JM
1599 [BZ #13884]
1600 [BZ #13924]
1601 * math/e_exp10.c: Include <float.h>.
1602 (__ieee754_exp10): Handle underflow here rather than multiplying
1603 large negative argument by M_LN10.
1604 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1605 of __ieee754_expf.
1606 * math/e_exp10l.c: Include <float.h>.
1607 (__ieee754_exp10l): Handle underflow here rather than multiplying
1608 large negative argument by M_LN10l.
1609 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1610 spurious overflow exception on underflow.
1611
5ac3ea17
MP
16122012-04-29 Marek Polacek <polacek@redhat.com>
1613
1614 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1615 (__fortify_function): New macro.
1616 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1617 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1618 __extern_always_inline.
1619 * libio/bits/stdio2.h: Likewise.
1620 * libio/bits/stdio.h: Likewise.
1621 * string/string.h: Likewise.
1622 * string/bits/string3.h: Likewise.
1623 * include/stdio.h: Likewise.
1624 * stdlib/bits/stdlib.h: Likewise.
1625 * stdlib/stdlib.h: Likewise.
1626 * rt/bits/mqueue2.h: Likewise.
1627 * rt/mqueue.h: Likewise.
1628 * posix/bits/unistd.h: Likewise.
1629 * posix/unistd.h: Likewise.
1630 * io/bits/poll2.h: Likewise.
1631 * io/bits/fcntl2.h: Likewise.
1632 * io/fcntl.h: Likewise.
1633 * io/sys/poll.h: Likewise.
1634 * misc/bits/syslog.h: Likewise.
1635 * misc/bits/syslog-ldbl.h: Likewise.
1636 * misc/sys/syslog.h: Likewise.
1637 * socket/bits/socket2.h: Likewise.
1638 * socket/sys/socket.h: Likewise.
1639 * debug/tst-chk1.c: Likewise.
1640 * wcsmbs/bits/wchar2.h: Likewise.
1641 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1642 * wcsmbs/wchar.h: Likewise.
1643
ecf0ebfb
AJ
16442012-04-29 Andreas Jaeger <aj@suse.de>
1645
1646 * Makerules (tests): Remove enable-check-abi protection.
1647 (check-abi-warn): Remove.
1648 (check-abi-%): Remove check-abi-warn usage.
1649
1650 * configure.in: Remove check-abi configure option.
1651 * configure: Regenerated.
1652 * config.make.in (enable-check-abi): Remove.
1653
6d5c57fa
AS
16542012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1655
24c5d07e 1656 [BZ #14033]
ded5180a
AS
1657 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1658 double functions to double *_finite functions.
1659
7e0d315d
AS
1660 [BZ #13941]
1661 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1662 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1663 LDBL_MIN_EXP.
1664 * stdio-common/Makefile (tests): Add tst-sprintf3.
1665 * stdio-common/tst-sprintf3.c: New file.
1666
6d5c57fa
AS
1667 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1668 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1669
0749ff8b
JM
16702012-04-28 Joseph Myers <joseph@codesourcery.com>
1671
1672 * conform/conformtest.pl: Remove duplicate typed-constant
1673 handling.
1674
8dbd5d7b
DM
16752012-04-28 David S. Miller <davem@davemloft.net>
1676
1677 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1678 (check-abi-%): Remove AWK script prerequisite and explicit
1679 abilist directory.
1680 (check-abi): Rewrite to just diff the symlist with the abilist.
1681 (config-tls, config-abi-config): Delete, no longer used.
1682 (update-abi-%): Remove AWK script and explicit abilist directory.
1683 (update-abi): Rewrite to simply compare and conditionally copy the
1684 symlist and the sysdep abilist file. Remove update-abi-config
1685 checks.
1686 * abilist/ld.abilist: Remove.
1687 * abilist/libBrokenLocale.abilist: Remove.
1688 * abilist/libanl.abilist: Remove.
1689 * abilist/libcrypt.abilist: Remove.
1690 * abilist/libdl.abilist: Remove.
1691 * abilist/librt.abilist: Remove.
1692 * abilist/libthread_db.abilist: Remove.
1693 * abilist/libutil.abilist: Remove.
1694 * scripts/extract-abilist.awk: Remove.
1695 * scripts/merge-abilist.awk: Remove.
1696 * sysdeps/generic/libcidn.abilist: New file.
1697 * sysdeps/generic/libnss_compat.abilist: New file.
1698 * sysdeps/generic/libnss_db.abilist: New file.
1699 * sysdeps/generic/libnss_dns.abilist: New file.
1700 * sysdeps/generic/libnss_files.abilist: New file.
1701 * sysdeps/generic/libnss_hesiod.abilist: New file.
1702 * sysdeps/generic/libnss_nis.abilist: New file.
1703 * sysdeps/generic/libnss_nisplus.abilist: New file.
1704 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1705 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1706 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1707 file.
1708 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1709 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1710 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1711 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1712 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1713 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1714 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1715 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1716 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1717 file.
1718 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1719 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1720 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1721 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1722 file.
1723 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1724 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1725 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1726 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1727 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1728 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1729 file.
1730 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1731 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1732 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1733 file.
1734 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1736 New file.
1737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1738 New file.
1739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1740 New file.
1741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1742 New file.
1743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1744 New file.
1745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1746 New file.
1747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1748 New file.
1749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1750 New file.
1751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1752 New file.
1753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1754 New file.
1755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1756 New file.
1757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1758 New file.
1759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1760 New file.
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1762 file.
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1764 New file.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1766 New file.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1768 file.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1770 New file.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1772 New file.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1774 file.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1776 New file.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1778 New file.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1780 New file.
1781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1782 New file.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1784 New file.
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1786 New file.
1787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1789 file.
1790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1791 New file.
1792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1793 file.
1794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1795 file.
1796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1797 file.
1798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1799 file.
1800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1801 file.
1802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1803 New file.
1804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1805 file.
1806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1807 file.
1808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1809 New file.
1810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1811 file.
1812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1814 file.
1815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1816 New file.
1817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1818 file.
1819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1820 file.
1821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1822 file.
1823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1824 file.
1825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1826 file.
1827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1828 New file.
1829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1830 file.
1831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1832 file.
1833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1834 New file.
1835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1836 file.
1837 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1838 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1839 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1840 file.
1841 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1842 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1843 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1844 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1845 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1846 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1847 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1848 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1849 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1850 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1853 file.
1854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1855 New file.
1856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1857 file.
1858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1859 file.
1860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1861 file.
1862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1863 file.
1864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1865 file.
1866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1867 New file.
1868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1869 New file.
1870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1871 file.
1872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1873 New file.
1874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1875 file.
1876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1878 file.
1879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1880 New file.
1881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1882 file.
1883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1884 file.
1885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1886 file.
1887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1888 file.
1889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1890 file.
1891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1892 New file.
1893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1894 New file.
1895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1896 file.
1897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1898 New file.
1899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1900 file.
1901
41d73a1b
JM
19022012-04-28 Joseph Myers <joseph@codesourcery.com>
1903
1904 * conform/conformtest.pl: Fix typo in handling typed-constant from
1905 allow-header.
1906
28aeeda4
JM
19072012-04-27 Joseph Myers <joseph@codesourcery.com>
1908
adae8f5e
JM
1909 * README: Cut down references to pre-2.6 Linux kernels and
1910 Linuxthreads. Update lists of configurations in libc and ports
1911 and sort alphabetically. Say "or newer" with Linux kernel version
1912 requirements.
1913
28aeeda4
JM
1914 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1915
a462cb63
RA
19162012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1917
1918 [BZ #887]
1919 * math/libm-test.inc (logb_test_downward): New test to expose
1920 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1921 rounding mode.
1922
6ad3493e
JM
19232012-04-27 Joseph Myers <joseph@codesourcery.com>
1924
1925 [BZ #14027]
1926 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1927 to be done.
1928 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1929 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1930
2ce4f015
JM
19312012-04-26 Joseph Myers <joseph@codesourcery.com>
1932
5aeb141a
JM
1933 * sysdeps/unix/i386/brk.S: Remove file.
1934 * sysdeps/unix/i386/dl-brk.S: Likewise.
1935 * sysdeps/unix/i386/pipe.S: Likewise.
1936 * sysdeps/unix/i386/sigreturn.S: Likewise.
1937 * sysdeps/unix/i386/syscall.S: Likewise.
1938 * sysdeps/unix/i386/vfork.S: Likewise.
1939 * sysdeps/unix/i386/wait.S: Likewise.
1940
7143acae
JM
1941 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1942 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1943
2ce4f015
JM
1944 * configure.in (arm*-none*): Do not allow without
1945 --enable-hacker-mode.
1946 (netbsd*): Remove case setting base_os.
1947 (386bsd*): Likewise.
1948 (freebsd*): Likewise.
1949 (bsdi*): Likewise.
1950 (osf*): Likewise.
1951 (sunos*): Likewise.
1952 (ultrix*): Likewise.
1953 (newsos*): Likewise.
1954 (dynix*): Likewise.
1955 (*bsd*): Likewise.
1956 (sysv*): Likewise.
1957 (isc*): Likewise.
1958 (esix*): Likewise.
1959 (sco*): Likewise.
1960 (minix*): Likewise.
1961 (irix4*): Likewise.
1962 (irix6*): Likewise.
1963 (solaris[2-9]*): Likewise.
1964 (none): Likewise.
1965 * configure: Regenerated.
1966
0ac229c8
AZ
19672012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1968
1969 [BZ #11521]
1970 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1971 overflow or cancellation in calculating denominator.
1972 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1973 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1974 down expression to avoid unexpected rounding in newer GCCs.
1975 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1976
33f244f4
DM
19772012-04-26 David S. Miller <davem@davemloft.net>
1978
1979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1980 long-double compat symbols.
1981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1994
cfa1f3e8
DM
19952012-04-25 David S. Miller <davem@davemloft.net>
1996
1997 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1998 HWCAP_* values only after the memory barriers have been defined.
1999 (atomic_full_barrier): Define.
2000 (atomic_read_barrier): Define.
2001 (atomic_write_barrier): Define.
2002
6e236b92
SP
20032012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2004
2005 * shlib-versions: Add libgcc_s version information.
2006 * sysdeps/generic/libgcc_s.h: Remove.
2007 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2008 libgcc_s.h.
2009 * sysdeps/gnu/unwind-resume.c: Likewise.
2010 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2011
aab39a09
DM
20122012-04-25 David S. Miller <davem@davemloft.net>
2013
2014 * sysdeps/unix/sparc/brk.S: Delete.
2015 * sysdeps/unix/sparc/dl-brk.S: Delete.
2016 * sysdeps/unix/sparc/pipe.S: Delete.
2017 * sysdeps/unix/sparc/sysdep.S: Delete.
2018 * sysdeps/unix/sparc/sysdep.h: Delete.
2019 * sysdeps/unix/sparc/vfork.S: Delete.
2020 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2021 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2022 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2023 ret_ERRVAL, r0, r1, MOVE): Define.
2024 (JUMPTARGET): Remove.
2025 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2026 sysdeps/unix/sparc/sysdep.h
2027 (ENTRY, END): Remove.
2028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2029
a3cc4f48
JM
20302012-04-25 Joseph Myers <joseph@codesourcery.com>
2031
2ed8cda2
JM
2032 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2033 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2034 -DIS_IN_build.
2035
35d76d59
JM
2036 * timezone/README: Update upstream location and email address for
2037 tzcode and tzdata.
2038 * timezone/zdump.c: Update from tzcode 2012b.
2039 * timezone/zic.c: Likewise.
2040
a3cc4f48
JM
2041 * configure.in (libc_cv_as_needed): Remove test.
2042 * configure: Regenerated.
2043 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2044 conditional definition.
2045 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2046 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2047 * config.make.in (have-as-needed): Remove variable.
2048
ceab42c3
SP
20492012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2050 Paul Pluzhnikov <ppluzhnikov@google.com>
2051
2052 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2053 strings correctly.
2054
3ce2865f
CLT
20552012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2056
2057 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2058 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2059 * sysdeps/sh/strlen.S: Likewise.
2060
f37e0d68
JM
20612012-04-24 Joseph Myers <joseph@codesourcery.com>
2062
ae186e9a
JM
2063 * sysdeps/unix/fork.S: Remove file.
2064 * sysdeps/unix/i386/fork.S: Likewise.
2065 * sysdeps/unix/sparc/fork.S: Likewise.
2066
b96914af
JM
2067 * sysdeps/unix/system.c: Remove file.
2068 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2069
f37e0d68
JM
2070 * sysdeps/unix/getegid.S: Remove file.
2071 * sysdeps/unix/geteuid.S: Likewise.
2072
87ef29ca
RM
20732012-04-24 Roland McGrath <roland@hack.frob.com>
2074
83bcd236
RM
2075 * scripts/check-localplt.awk: New file.
2076 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2077 of diff.
2078 * scripts/data/localplt-generic.data: Add a comment.
2079
87ef29ca
RM
2080 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2081 NODE when __dir_mkfile failed.
2082 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2083 Reported by Ludovic Courtès <ludo@gnu.org>.
2084
e5a6e567
AJ
20852012-04-24 Andreas Jaeger <aj@suse.de>
2086
2087 * Makerules (common-clean): Also remove gen-as-const-headers
2088 files.
2089
c1820385
JM
20902012-04-24 Joseph Myers <joseph@codesourcery.com>
2091
2092 * Makerules (native-compile): Do not change working directory for
2093 build. Use $(OUTPUT_OPTION) in command.
2094 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2095
94e02fc4
AZ
20962012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2097
2098 [BZ #13886]
2099 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2100 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2101 * math/libm-test.inc (floor_test): Add more tests.
2102 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2103
3a533ca3
JM
21042012-04-24 Joseph Myers <joseph@codesourcery.com>
2105
940ab4b3
JM
2106 * sysdeps/unix/getdents.c: Remove file.
2107 * sysdeps/unix/sysv/getdents.c: Likewise.
2108 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2109
90e037bd
JM
2110 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2111 sysdeps/unix/mman/syscalls.list.
2112 (mmap): Likewise.
2113 (mprotect): Likewise.
2114 (msync): Likewise.
2115 (munmap): Likewise.
2116 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2117 * sysdeps/unix/mman/syscalls.list: Remove.
2118 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2119
3a533ca3
JM
2120 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2121 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2122 * configure: Regenerated.
2123 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2124 $(libgcc_s_suffix).
2125 * config.make.in (libgcc_s_suffix): Remove variable.
2126
1ad743de
JM
21272012-04-23 Joseph Myers <joseph@codesourcery.com>
2128
4ad451e2
JM
2129 * sysdeps/unix/sysv/gethostname.c: Move to ...
2130 * sysdeps/posix/gethostname.c: ... here.
2131
5e37ce39
JM
2132 * sysdeps/unix/execve.S: Remove file.
2133
1ad743de
JM
2134 * sysdeps/unix/_exit.S: Remove file.
2135
4e681b5b
AJ
21362012-04-23 Andreas Jaeger <aj@suse.de>
2137
2138 [BZ #13739]
2139 * manual/Makefile: Remove make dist support, there's no
2140 need for a stand-alone documentation tar ball.
2141 (TEXI2DVI): Define always, it's not in Makeconfig.
2142 (dist): Removed.
2143 (tar-it): Removed.
2144 (edition): Removed.
2145 (glibc-doc-$(edition).tar): Removed
2146 (%.Z): Removed.
2147 (%.gz): Removed.
2148 (%.uu): Removed.
2149 (ETAGS): Remove, it's in Makeconfig.
2150 (move-if-change): Remove, it's in Makeconfig.
2151
c0baea34
PE
21522013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2153
2154 [BZ #13970]
2155 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2156 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2157 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2158 (strtod_l, strtof_l, strtold_l): Remove __wur.
2159 It is not necessarily an error to ignore strtol's return value.
2160 One can reliably look at the stored endptr to decide whether
2161 the number had valid syntax.
2162
7c0616fa
AJ
21632012-04-21 Andreas Jaeger <aj@suse.de>
2164
803cb6b7 2165 [BZ #13739]
7c0616fa
AJ
2166 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2167
b0fe253f
JM
21682012-04-21 Joseph Myers <joseph@codesourcery.com>
2169
2170 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2171 * sysdeps/unix/sysv/Versions: Remove file.
2172
8280f22d
MT
21732012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2174
2175 [BZ #13927]
2176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2177
75ce411f 21782012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2179
2180 [BZ #7064]
2181 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2182 version from __vm86.
2183
097d59fa
JM
21842012-04-20 Joseph Myers <joseph@codesourcery.com>
2185
a90f3bcb
JM
2186 * sysdeps/unix/common/lxstat.c: Remove file.
2187 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2188
edc7ea78
JM
2189 * sysdeps/unix/sysv/Makefile: Remove file.
2190
cb78c221
JM
2191 * sysdeps/unix/sysv/direct.h: Remove file.
2192
efa6a45f
JM
2193 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2194 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2195 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2196 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2197 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2198 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2199 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2200
9c9f2d0c
JM
2201 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2202
4541c83b
JM
2203 * sysdeps/unix/xmknod.c: Remove file.
2204 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2205
f5d153a0
JM
2206 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2207
aa746595
JM
2208 * sysdeps/unix/sysv/i386/time.S: Remove file.
2209
cce5905e
JM
2210 * sysdeps/unix/fxstat.c: Remove file.
2211 * sysdeps/unix/xstat.c: Likewise.
2212 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2213
37fa3841
JM
2214 * sysdeps/unix/sysv/sigaction.c: Remove file.
2215
ff1962a3
JM
2216 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2217 (sysdep_headers): Remove variable.
2218 [termio.h not in sysdep_headers] (generated): Likewise.
2219 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2220 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2221 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2222 * sysdeps/unix/sysv/tcflow.c: Likewise.
2223 * sysdeps/unix/sysv/tcflush.c: Likewise.
2224 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2225 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2226 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2227 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2228 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2229
e7740d31
JM
2230 * sysdeps/unix/siglist.c: Remove file.
2231
ee06f18b
JM
2232 * sysdeps/unix/getppid.S: Remove file.
2233
097d59fa
JM
2234 * sysdeps/unix/mkdir.c: Remove file.
2235 * sysdeps/unix/rmdir.c: Likewise.
2236
ff3d51ec
AS
22372012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2238
2239 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2240 ERR_MAX value.
2241 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2242 errlist-compat value.
2243
50f81fd7
DM
22442012-04-18 David S. Miller <davem@davemloft.net>
2245
2246 * sysdeps/generic/memcopy.h (reg_char): Delete.
2247 * debug/strcat_chk.c: Use char, not reg_char.
2248 * debug/strcpy_chk.c: Likewise.
2249 * debug/strncat_chk.c: Likewise.
2250 * debug/strncpy_chk.c: Likewise.
2251 * string/memchr.c: Likewise.
2252 * string/memrchr.c: Likewise.
2253 * string/rawmemchr.c: Likewise.
2254 * string/strcat.c: Likewise.
2255 * string/strchr.c: Likewise.
2256 * string/strchrnul.c: Likewise.
2257 * string/strcmp.c: Likewise.
2258 * string/strcpy.c: Likewise.
2259 * string/strncat.c: Likewise.
2260 * string/strncmp.c: Likewise.
2261 * string/strncpy.c: Likewise.
2262
8ff41c46
WS
22632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2264
2265 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2266 __builtin_memcopy is called when src and dest ranges are known to not
2267 overlap.
2268
6b652f46
WS
22692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2270
2271 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2272 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2273 fwd_align_merge macro call.
2274 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2275 bwd_align_merge macro call.
2276 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2277
b282631e
WS
22782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2279
2280 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2281 bwd_align_merge macros.
2282 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2283 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2284 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2285
95aa737c
DM
22862012-04-18 David S. Miller <davem@davemloft.net>
2287
2288 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2289
7a99a614
AJ
22902012-04-18 Andreas Jaeger <aj@suse.de>
2291
2292 [BZ# 6794]
2293 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2294 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2295 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2296
2297 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2298 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2299 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2300
2301 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2302 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2303 Adjust for changed ldbl-128 files.
2304
2305 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2306 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2307 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2308
e5270c23
DM
23092012-04-17 David S. Miller <davem@davemloft.net>
2310
2311 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2312
fb5e92c9
AS
23132012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2314
2315 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2316 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2317 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2318 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2319 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2320 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2321
76da7265
AZ
23222012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2323
2324 [BZ #6794]
2325 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2326 * math/libm-test.inc: Add ilogb errno and exception tests.
2327 * math/w_ilogb.c: New file: ilogb wrapper.
2328 * math/w_ilogbf.c: New file: ilogbf wrapper.
2329 * math/w_ilogbl.c: New file: ilogbl wrapper.
2330 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2331 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2332 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2333 exception being thrown with 0.0 as argument.
2334 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2335 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2336 exception being thrown with 0.0 as argument.
2337 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2338 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2339 exception being thrown with 0.0 as argument.
2340 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2341 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2342 exception being thrown with 0.0 as argument.
2343 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2344 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2345 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2346 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2347 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2348 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2349 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2350 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2351 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2352
0396e69d
PB
23532012-04-17 Petr Baudis <pasky@ucw.cz>
2354
2355 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2356 with altivec.
2357
750b5926
MP
23582012-04-16 Marek Polacek <polacek@redhat.com>
2359
2360 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2361
751728a1
MP
23622012-04-16 Marek Polacek <polacek@redhat.com>
2363
2364 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2365 operands of fdivp instruction.
2366
34a27407
L
23672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2368
2369 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2370 * elf/tst-auditmod3b.c: Likewise.
2371 * elf/tst-auditmod4b.c: Likewise.
2372 * elf/tst-auditmod5b.c: Likewise.
2373 * elf/tst-auditmod6b.c: Likewise.
2374 * elf/tst-auditmod6c.c: Likewise.
2375 * elf/tst-auditmod7b.c: Likewise.
2376 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2377 * sysdeps/x86_64/preconfigure.in: Likewise.
2378 * sysdeps/x86_64/preconfigure: Regenerated.
2379
7e73e17d
L
23802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2383 __ILP32__.
2384
c7a6ab72
AB
23852012-04-13 Antoine Balestrat <merkil33@gmail.com>
2386
2387 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2388 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2389
a9e8e0e0
CL
23902012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2391
2392 [BZ #13973]
2393 * locale/iso-639.def: Fix gl language name. Spotted by
2394 Yaron Shahrabani.
2395
ec98af7d
RM
23962012-04-12 Roland McGrath <roland@hack.frob.com>
2397
2398 [BZ #2074]
2399 * libio/libio.h (__io_write_fn): Update comment.
2400
247c3ede
PB
24012012-04-12 Petr Baudis <pasky@ucw.cz>
2402
2403 [BZ #2074]
2404 * stdio.texi (Hook Functions): The user provided writer function
2405 is not allowed to return -1.
2406
55939d6d
DM
24072012-04-11 David S. Miller <davem@davemloft.net>
2408
2409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2410
90020f5a
MF
24112012-04-11 Mike Frysinger <vapier@gentoo.org>
2412
2413 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2414 Add a leading slash to rtkaio.
2415
288f9098
JM
24162012-04-11 Jim Meyering <meyering@redhat.com>
2417
90020f5a
MF
2418 [BZ #11959]
2419 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2420 It is not necessarily an error to ignore fwrite's return
2421 value. One can reliably use ferror to test for errors after
2422 the fact.
288f9098 2423
4be2b570
L
24242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2425
2426 * bits/types.h (__snseconds_t): New type.
2427 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2428
2429 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2431 (__SNSECONDS_T_TYPE): Likewise.
2432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2433 (__SNSECONDS_T_TYPE): Likewise.
2434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2435 (__SNSECONDS_T_TYPE): Likewise.
2436
288f9098 24372012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2438
2439 [BZ #2636]
2440 * manual/time.texi (Processor Time): Return type of times is
2441 elapsed real time since an arbitrary point in the past.
2442 (CPU Time): Move CLK_TCK from here...
2443 (Processor Time): ...to here. Correct description.
2444 * manual/conf.texi (Constants for Sysconf): Correct description of
2445 _SC_CLK_TCK.
2446
d7dd4413
DM
24472012-04-10 David S. Miller <davem@davemloft.net>
2448
2449 [BZ #13967]
2450 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2451 where the is a gap between DT_REL(A) and DT_JMPREL.
2452
b46068fc
L
24532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2454
2455 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2456 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2457 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2458
73d65cc3
SP
24592012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2460
2461 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2462 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2463 (dl_main): Handle --inhibit-cache.
2464 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2465 _dl_inhibit_cache.
2466 * elf/dl-load.c (_dl_map_object): Use it.
2467 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2468
bcc8d661
JM
24692012-04-09 Joseph Myers <joseph@codesourcery.com>
2470
8f9a2fae
JM
2471 [BZ #13872]
2472 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2473 (__ieee754_powl): Saturate large exponents rather than testing for
2474 overflow of y*log2(x).
2475 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2476 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2477 exceptions.
2478
bcc8d661
JM
2479 [BZ #11521]
2480 * math/s_ctan.c: Include <float.h>.
2481 (__ctan): Avoid internal overflow or cancellation in calculating
2482 denominator.
2483 * math/s_ctanf.c: Likewise.
2484 * math/s_ctanl.c: Likewise.
2485 * math/s_ctanh.c: Likewise.
2486 * math/s_ctanhf.c: Likewise.
2487 * math/s_ctanhl.c: Likewise.
2488 * math/libm-test.inc (ctan_test): Add more tests.
2489 (ctanh_test): Likewise.
2490 * sysdeps/i386/fpu/libm-test-ulps: Update.
2491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2492
823fbbb4
AJ
24932012-04-09 Andreas Jaeger <aj@suse.de>
2494
03879793
AJ
2495 [BZ #6894]
2496 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2497 is an optional BSD extension.
2498
823fbbb4
AJ
2499 [BZ #10254]
2500 * manual/stdio.texi (Opening Streams): Document additional fopen
2501 parameters.
2502
8de131cb
RM
25032012-04-09 Roland McGrath <roland@hack.frob.com>
2504
2505 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2506 %eax without telling the compiler.
2507
c0ed9d7d
CD
25082012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2509
2510 [BZ # 13963]
2511 * manual/install.texi: Use sourceware.org.
2512
c483f6b4
JM
25132012-04-09 Joseph Myers <joseph@codesourcery.com>
2514
d7dd9453
JM
2515 [BZ #13873]
2516 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2517 (__ieee754_pow): Generate overflow and underflow using huge*huge
2518 and tiny*tiny rather than just returning constant infinity or zero
2519 for large exponents.
2520 * math/libm-test.inc (pow_test): Require overflow exceptions for
2521 applicable cases of large exponents.
2522
c483f6b4
JM
2523 [BZ #706]
2524 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2525 (__ieee754_pow): Use iterative multiplication algorithm only for
2526 integer exponents with absolute value below 1024. Check for odd
2527 integer exponents when using algorithm for real exponents.
2528 * math/libm-test.inc (pow_test): Add more tests.
2529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2530
d2de7579
JM
25312012-04-08 Joseph Myers <joseph@codesourcery.com>
2532
2533 [BZ #13705]
2534 * math/libm-test.inc (exp_test): Do not allow overflow exception
2535 on underflow test.
2536
f77f1232
AJ
25372012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2538
2539 [BZ #13705]
2540 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2541 instead of __kernel_standard_f.
2542
3884932b
MF
25432012-04-08 Mike Frysinger <vapier@gentoo.org>
2544
2545 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2546 * sysdeps/x86_64/memset_chk.S: Likewise.
2547
54472e9c
AJ
25482012-04-08 Andreas Jaeger <aj@suse.de>
2549
6ab0fbfc
AJ
2550 [BZ #10153]
2551 * manual/startup.texi (Environment Access): Describe return value
2552 for putenv and setenv.
2553
61efba8c
AJ
2554 [BZ #6895]
2555 * manual/filesys.texi (Directory Entries): Add description for
2556 DT_LNK.
2557
95c3f29a
AJ
2558 [BZ #6890]
2559 * manual/filesys.texi (Directory Entries): Clarify that it's file
2560 system not operating system in the description of DT_UNKNOWN.
2561
54472e9c
AJ
2562 [BZ #6578]
2563 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2564
624254b1
SC
25652012-04-08 Stephen Compall <s11@member.fsf.org>
2566
2567 [BZ #6649]
2568 * manual/llio.texi (Opening and Closing Files): Add cross
2569 reference to explain mode argument.
2570
1e4920e0
MF
25712012-04-07 Mike Frysinger <vapier@gentoo.org>
2572
2573 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2574 * sysdeps/x86_64/memset_chk.S: Likewise.
2575
5ed848f3
DM
25762012-04-07 David S. Miller <davem@davemloft.net>
2577
2578 * elf/elf.h (R_SPARC_WDISP10): Define.
2579 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2580 R_SPARC_SIZE32.
2581 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2582 R_SPARC_SIZE64 and R_SPARC_H34.
2583
96154cd8
CD
25842012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2585
2586 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2587 conditions and remove no longer applicable assertion.
2588
9904dc47
L
25892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2590
2591 * bits/byteswap.h: Include <features.h>.
2592 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2593 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2594
f8887d0a
L
25952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2596
2597 * bits/byteswap.h (__bswap_16): Removed.
2598 Include <bits/byteswap-16.h> to get __bswap_16.
2599 * sysdeps/i386/bits/byteswap.h: Likewise.
2600 * sysdeps/s390/bits/byteswap.h: Likewise.
2601 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2602 * bits/byteswap-16.h: New file.
2603 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2604 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2605 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2606 * string/Makefile (headers): Add bits/byteswap-16.h.
2607
62470f60
PP
26082012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2609
2610 [BZ #13895]
2611 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2612 extra indirection.
2613 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2614 * nss/tst-nss-static.c: New.
2615
4dad7bab
RM
26162012-04-06 Robert Millan <rmh@gnu.org>
2617
2618 [BZ #6486]
2619 * manual/llio.texi (File Position Primitive): lseek
2620 refers to WHENCE when it really means OFFSET.
2621
e9142a17
AJ
26222012-04-06 Andreas Jaeger <aj@suse.de>
2623
2c040eff
AJ
2624 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2625 strncmp declarations.
2626
e9142a17
AJ
2627 * abilist/libc.abilist: Add __poll and __ppoll.
2628
ff9f1c5f
DM
26292012-04-05 David S. Miller <davem@davemloft.net>
2630
dcd2ae90
DM
2631 * scripts/check-local-headers.sh: Accept a host triplet in the
2632 path matched by the exclude regexp.
2633
993eb054
DM
2634 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2635 definition.
2636 * sysdeps/powerpc/powerpc32/dl-machine.h
2637 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2638 * sysdeps/s390/s390-32/dl-machine.h
2639 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2640 * sysdeps/sparc/sparc32/dl-machine.h
2641 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2642 * sysdeps/sparc/sparc64/dl-machine.h
2643 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2644
ff9f1c5f
DM
2645 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2646 lazy binding.
48e2e132 2647 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2648 undefined symbol errors.
2649
48e2e132 2650 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2651 DT_NEEDED entries.
2652
e80d6f94
MM
26532012-04-05 Michael Matz <matz@suse.de>
2654
2655 [BZ #13592]
2656 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2657
349fa79f
AJ
26582012-04-05 Andreas Jaeger <aj@suse.de>
2659
2660 [BZ #13908]
2661 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2662 comment.
2663
f402708f
KK
26642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2665
2666 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2667 which ROUND is no valid rounding mode.
2668
2ecccfc9
KK
26692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2670
2671 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2672 read again.
2673 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2674
8a53f50f
KK
26752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2676
2677 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2678 an exception using FPU order intentionally.
2679
26802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2681
2682 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2683 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2684 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2685 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2686
d653abb7
SJ
26872012-04-05 Simon Josefsson <simon@josefsson.org>
2688
2689 [BZ #12340]
2690 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2691 EINVAL when BUFLEN is too smal.
2692
c3b1bf7d
TS
26932012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2694
2695 [BZ #13553]
2696 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2697 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2698
b1aa60f3
AJ
26992012-04-03 Andreas Jaeger <aj@suse.de>
2700
c3b1bf7d 2701 [BZ #13938]
67f60a26
AJ
2702 * manual/setjmp.texi (System V contexts): Fix sentence.
2703
b1aa60f3
AJ
2704 [BZ #13926]
2705 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2706 New macro for this case.
2707 [!__GNUC__] (__bswap_64): New inline function for this case.
2708 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2709 * bits/byteswap.h: Likewise.
2710 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2711 ull, guard with __GLIBC_HAVE_LONG_LONG.
2712
2713 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2714 __GLIBC_HAVE_LONG_LONG.
2715
2716 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2717 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2718
39c59c35
TMQMF
27192012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2720
2721 [BZ #13691]
2722 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2723 inptr and inend, rather than using last_ch.
2724
135ffda8
DM
27252012-04-02 David S. Miller <davem@davemloft.net>
2726
2727 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2728 * stdio-common/printf-parse.h (read_int): Change return type to
2729 'int', return -1 on INT_MAX overflow.
2730 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2731 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2732 overflows INT_MAX. Check for overflow of in-format-string precision
2733 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2734 SIZE_MAX not INT_MAX for integer overflow test.
2735 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2736 skip the construct in the format string but do not record anything.
2737 * stdio-common/bug22.c: Adjust to test both width/prevision
2738 INT_MAX overflow as well as total length INT_MAX overflow. Check
2739 explicitly for proper errno values.
2740
228c019e
TS
27412012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2742
302cadd3
TS
2743 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2744 CHAR_MAX.
2745 * string/test-strcmp.c [! WIDE]: Likewise.
2746 * time/tst-mktime2.c: Likewise for INT_MAX.
2747 * string/test-string.h: #include <sys/param.h> for MIN.
2748
228c019e
TS
2749 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2750 * sysdeps/i386/init-first.c (init): Likewise.
2751 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2752 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2753 * sysdeps/sh/init-first.c (init): Likewise.
2754
cfa633f5
UD
27552012-04-01 Ulrich Drepper <drepper@gmail.com>
2756
2757 * po/ru.po: Update from translation team.
d1635ef8 2758 * po/vi.po: Likewise.
cfa633f5 2759
6cd0a5ea
SP
27602012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2761
2762 * resolv/nss_dns/dns-host.c: Merge copyright years.
2763
4b43400f
LD
27642012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2765
2766 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2767 Optimize memcpy with prefetch if
2768 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2769 src, dst pointers have unequal 16 byte alignments.
2770
48c41d04
SP
27712012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2772
2773 [BZ #13928]
2774 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2775 from a CNAME entry and return the minimum ttl for the query.
2776 (gaih_getanswer_slice): Likewise.
2777
b8dc394d
JL
27782012-03-30 Jeff Law <law@redhat.com>
2779
2780 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2781 due to long keys.
2782 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2783 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2784
2f5a5ed0
JL
2785 * resolv/nss_dns/dns-host.c: Update copyright year.
2786
1d39e359
UD
27872012-03-30 Ulrich Drepper <drepper@gmail.com>
2788
c030f70c 2789 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2790 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2791
1d39e359
UD
2792 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2793 comments for sendmmsg.
2794
27952012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2796
2797 [BZ #13691]
2798 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2799 with only 1 character between 0x0041 and 0x01b0.
2800 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2801 * wcsmbs/tst-mbsnrtowcs.c: New file.
2802
20fde227
DM
28032012-03-29 David S. Miller <davem@davemloft.net>
2804
2805 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2806 small copies by hand.
2807
984a4237
JL
28082012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2809
2810 [BZ #13761]
2811 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2812 _nss_compat_initgroups_dyn): Fall back to malloc/free
2813 for large group memberships.
2814
18c9d62b
DM
28152012-03-28 David S. Miller <davem@davemloft.net>
2816
88d85d4f
DM
2817 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2818 that branches into memcpy.
2819 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2820 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2821 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2822 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2824 bits.
2825 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2826 implementation too.
2827 * sysdeps/sparc/mempcpy.S: New file.
2828
e5aa83e1
DM
2829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2830 the IFUNC routine in the libc case.
2831 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2832
88570753
DM
2833 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2834 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2835 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2836 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2837 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2838 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2839 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2840 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2841
249d7567
DM
2842 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2843 loop to 256 bytes instead of 64 bytes and fix test signedness.
2844
18c9d62b
DM
2845 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2846 * sysdeps/sparc/sparc32/Makefile: rather than here...
2847 * sysdeps/sparc/sparc64/Makefile: and here.
2848
05f3d1f6
UD
28492012-03-28 Ulrich Drepper <drepper@gmail.com>
2850
2851 * malloc/mallocbug.c: Avoid warnings about unused variables.
2852
86ae07a8
JL
28532012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2854
2855 [BZ #13760]
2856 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2857 in the right place. Discard and retry query if response is
2858 larger than input buffer size.
2859
41bf21a1
JM
28602012-03-28 Joseph Myers <joseph@codesourcery.com>
2861
d6270972
JM
2862 [BZ #369]
2863 [BZ #2678]
2864 [BZ #3866]
2865 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2866 x for large integer exponent.
2867 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2868 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2869 sign of result as needed afterwards.
2870 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2871 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2872 result for underflowing pow the same as for overflow.
2873 (__kernel_standard_l): Handle powl overflow and underflow here
2874 rather than calling __kernel_standard.
2875 * math/libm-test.inc (pow_test): Add more tests.
2876
414fca03 2877 [BZ #3868]
41bf21a1
JM
2878 [BZ #13879]
2879 [BZ #13910]
2880 [BZ #13911]
2881 [BZ #13912]
2882 [BZ #13913]
2883 [BZ #13915]
2884 [BZ #13916]
2885 [BZ #13917]
2886 [BZ #13918]
2887 [BZ #13919]
2888 [BZ #13920]
2889 [BZ #13921]
2890 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2891 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2892 (__kernel_standard_l): New function.
2893 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2894 __kernel_standard.
2895 * math/w_acosl.c (__acosl): Likewise.
2896 * math/w_asinl.c (__asinl): Likewise.
2897 * math/w_atan2l.c (__atan2l): Likewise.
2898 * math/w_atanhl.c (__atanhl): Likewise.
2899 * math/w_coshl.c (__coshl): Likewise.
2900 * math/w_exp10l.c (__exp10l): Likewise.
2901 * math/w_exp2l.c (__exp2l): Likewise.
2902 * math/w_fmodl.c (__fmodl): Likewise.
2903 * math/w_hypotl.c (__hypotl): Likewise.
2904 * math/w_j0l.c (__j0l, __y0l): Likewise.
2905 * math/w_j1l.c (__j1l, __y1l): Likewise.
2906 * math/w_jnl.c (__jnl, __ynl): Likewise.
2907 * math/w_lgammal.c (__lgammal): Likewise.
2908 * math/w_log10l.c (__log10l): Likewise.
2909 * math/w_log2l.c (__log2l): Likewise.
2910 * math/w_logl.c (__logl): Likewise.
2911 * math/w_powl.c (__powl): Likewise.
2912 * math/w_remainderl.c (__remainderl): Likewise.
2913 * math/w_scalbl.c (sysv_scalbl): Likewise.
2914 * math/w_sinhl.c (__sinhl): Likewise.
2915 * math/w_sqrtl.c (__sqrtl): Likewise.
2916 * math/w_tgammal.c (__tgammal): Likewise.
2917 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2918 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2919 * math/libm-test.inc (acos_test): Add more tests.
2920 (acosh_test): Likewise.
2921 (asin_test): Likewise.
2922 (atanh_test): Likewise.
2923 (exp_test): Likewise.
2924 (exp10_test): Likewise.
2925 (exp2_test): Likewise.
2926 (expm1_test): Likewise.
2927 (lgamma_test): Likewise.
2928 (log_test): Likewise.
2929 (log10_test): Likewise.
2930 (log1p_test): Likewise.
2931 (log2_test): Likewise.
2932 (pow_test): Do not allow some spurious overflow exceptions.
2933 (sqrt_test): Add more tests.
2934 (tgamma_test): Likewise.
2935 (y0_test): Likewise.
2936 (y1_test): Likewise.
2937 (yn_test): Likewise.
2938
dd62fda6
AB
29392012-03-27 Anton Blanchard <anton@samba.org>
2940
2941 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2942 MAP_HUGETLB.
2943 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2944 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2945 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2946
1e3cdfda
AJ
29472012-03-27 David S. Miller <davem@davemloft.net>
2948
b855ab85
DM
2949 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2950
1e3cdfda
AJ
2951 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2952 have-as-vis3 check.
2953
29542012-03-27 Andreas Jaeger <aj@suse.de>
2955
2956 * sysdeps/x86_64/elf/configure.in: Moved to ...
2957 * sysdeps/x86_64/configure.in: ... here.
2958 * sysdeps/x86_64/elf/start.S: Moved to ...
2959 * sysdeps/x86_64/start.S: ... here.
2960 * sysdeps/x86_64/elf/configure: Delete.
2961
2962 * sysdeps/x86_64/configure.in: Merge contents from
2963 sysdeps/i386/configure.in (without i686 check).
2964
2965 * sysdeps/i386/elf/Versions: Merge into ...
2966 * sysdeps/i386/Versions: ... this.
2967 * sysdeps/i386/elf/Versions: Delete file.
2968 * sysdeps/i386/elf/start.S: Moved to ...
2969 * sysdeps/i386/start.S: ...here.
2970 * sysdeps/i386/elf/configure.in: Merge into...
2971 * sysdeps/i386/configure.in: ...here.
2972 * sysdeps/i386/elf/configure.in: Delete file.
2973 * sysdeps/i386/elf/configure: Delete file.
2974
2975 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2976 * debug/backtracesyms.c: ... here.
2977 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2978 * debug/backtracesymsfd.c: ... here.
2979 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2980 * sysdeps/generic/ifunc-sel.h: ... here.
2981
2982 * sysdeps/unix/i386/start.c: Delete file.
2983 * sysdeps/unix/sparc/start.c: Delete file.
2984 * sysdeps/unix/start.c: Delete file.
2985
2986 * sysdeps/sh/elf/configure.in: Moved to ...
2987 * sysdeps/sh/configure.in: ... here.
2988 * sysdeps/sh/elf/start.S: Moved to ...
2989 * sysdeps/sh/start.S: ... here.
2990 * sysdeps/sh/elf/configure: Delete file.
2991
2992 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2993 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2994 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2995 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2996 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2997 * sysdeps/powerpc/powerpc64/start.S: here.
2998 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2999 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3000 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3001 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3002 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3003
3004 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3005 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3006 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3007 * sysdeps/powerpc/powerpc32/start.S: ... here.
3008 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3009 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3010 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3011
3012 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3013 * sysdeps/powerpc/ifunc-sel.h: ... here.
3014 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3015 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3016
3017 * sysdeps/sparc/elf/configure.in: Moved to ...
3018 * sysdeps/sparc/configure.in: ... here.
3019 * sysdeps/sparc/elf/configure: Delete file.
3020 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3021 * sysdeps/sparc/sparc32/start.S: ... here.
3022 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3023 * sysdeps/sparc/sparc64/start.S: ... here.
3024 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3025 * sysdeps/sparc/sparc32/Makefile: ... this.
3026 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3027 * sysdeps/sparc/sparc64/Makefile: ... this.
3028
3029 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3030 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3031 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3032 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3033 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3034 * sysdeps/s390/s390-32/setjmp.S: ... here.
3035 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3036 * sysdeps/s390/s390-32/configure.in: ... here.
3037 * sysdeps/s390/s390-32/elf/configure: Delete file.
3038 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3039 * sysdeps/s390/s390-32/start.S: ... here.
3040
3041 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3042 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3043 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3044 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3045 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3046 * sysdeps/s390/s390-64/setjmp.S: ... here.
3047 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3048 * sysdeps/s390/s390-64/configure.in: ... here
3049 * sysdeps/s390/s390-64/elf/configure: Delete file.
3050 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3051 * sysdeps/s390/s390-64/start.S: ... here.
3052 * sysdeps/s390/s390-64/elf/configure: Delete.
3053
3054 * configure.in: Remove support for elf directories in sysdeps.
3055
3056 * configure: Regenerated.
3057 * sysdeps/i386/configure: Regenerated.
3058 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3059 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3060 * sysdeps/s390/s390-32/configure: Regenerated.
3061 * sysdeps/s390/s390-64/configure: Regenerated.
3062 * sysdeps/sh/configure: Regenerated.
3063 * sysdeps/sparc/configure: Regenerated.
3064 * sysdeps/x86_64/configure: Regenerated.
3065
a3f61311
AS
30662012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3067
c876e002
AS
3068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3069
a3f61311
AS
3070 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3071 denormal result into account.
3072
ac4c54f0
RM
30732012-03-25 Roland McGrath <roland@hack.frob.com>
3074
3075 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3076 Reported by Allan McRae <allan@archlinux.org>.
3077
6a9b9c02
JL
30782012-03-23 Jeff Law <law@redhat.com>
3079
3080 * nss/getnssent.c (__nss_getent): Fix typo.
3081
4c42a0c1
DM
30822012-03-23 David S. Miller <davem@davemloft.net>
3083
3084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3085
1532c7ac
L
30862012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3087
3088 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3089 to pad to uint64_t for each field.
3090 (dl_tls_index): Replace unsigned long with uint64_t.
3091
3ff42526
PP
30922012-03-23 Daniel Jacobowitz <dmj@google.com>
3093 Paul Pluzhnikov <ppluzhnikov@google.com>
3094
3095 [BZ #6528]
3096 * grp/Makefile (otherlibs): Don't set it.
3097 * inet/Makefile (otherlibs): Likewise.
3098 * login/Makefile (otherlibs): Likewise.
3099 * nscd/Makefile (otherlibs): Likewise.
3100 * posix/Makefile (otherlibs): Likewise.
3101 * pwd/Makefile (otherlibs): Likewise.
3102 * rt/Makefile (otherlibs): Likewise.
3103 * sunrpc/Makefile (otherlibs): Likewise.
3104 * nss/Makefile (otherlibs): Likewise.
3105 Add libnss_files to routines and static-only-routines.
3106 ($(objpfx)getent): Remove rule.
3107 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3108 static-only-routines.
3109
7c69cd14
JM
31102012-03-22 Joseph Myers <joseph@codesourcery.com>
3111
3112 [BZ #13892]
3113 * math/s_cexp.c: Include <float.h>.
3114 (__cexp): Handle exp result overflowing not necessarily
3115 overflowing both real and imaginary parts of result.
3116 * math/s_cexpf.c: Likewise.
3117 * math/s_cexpl.c: Likewise.
3118 * math/libm-test.inc (cexp_test): Add more tests.
3119 * sysdeps/i386/fpu/libm-test-ulps: Update.
3120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3121
81b035fe
L
31222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3123
3124 * include/link.h (ELFW): New macro.
3125 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3126 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3127
1da7940c
L
31282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3129
3130 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3131 with uint64_t.
3132
b749dbb9
L
31332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3134
3135 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3136 declaration.
3137 (struct La_x32_retval): Likewise.
3138
2ff87f3f
L
31392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3140
3141 * sysdeps/x86_64/preconfigure.in: New file.
3142 * sysdeps/x86_64/preconfigure: New generated file.
3143
c0df8e69
JM
31442012-03-22 Joseph Myers <joseph@codesourcery.com>
3145
48e44791
JM
3146 [BZ #13824]
3147 * math/e_exp2l.c: Include <float.h>.
3148 (__ieee754_exp2l): Handle overflow and underflow cases
3149 separately. Only pass fractional part of argument to
3150 __ieee754_expl.
3151 * math/libm-test.inc (exp2_test): Add more tests.
3152
c0df8e69
JM
3153 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3154 negating x to take absolute value.
3155 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3156 Likewise.
3157 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3158 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3159 Likewise.
3160 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3161 computing low part if x was negated.
3162 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3163
c8e43ba7
L
31642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3165
3166 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3167 la_x32_gnu_pltexit.
3168 (pltexit): Cast int_retval to ptrdiff_t.
3169 * elf/tst-auditmod3b.c: Likewise.
3170 * elf/tst-auditmod4b.c: Likewise.
3171 * elf/tst-auditmod5b.c: Likewise.
3172 * elf/tst-auditmod6b.c: Likewise.
3173 * elf/tst-auditmod6c.c: Likewise.
3174 * elf/tst-auditmod7b.c: Likewise.
3175
3176 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3177 and x32_gnu_pltexit.
3178
3179 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3180 __ELF_NATIVE_CLASS.
3181 (La_x32_regs): New macro.
3182 (La_x32_retval): Likewise.
3183 (la_x32_gnu_pltenter): New function prototype.
3184 (la_x32_gnu_pltexit): Likewise.
3185
7998fa78
AS
31862012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3187
dcb33988
AS
3188 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3189 exponent.
3190
233fc563
AS
3191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3192
7998fa78
AS
3193 * configure.in (libc_cv_cc_nofma): Check for option to disable
3194 generation of FMA instructions.
3195 * configure: Regenerate.
3196 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3197 * sysdeps/ieee754/dbl-64/Makefile: New file.
3198 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3199 Remove brandred-fma4.
3200 (CFLAGS-brandred-fma4.c): Remove.
3201 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3202 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3203 define.
3204 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3205 define.
3206
8e95c99a
L
32072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3208
3209 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3210 LLONG_MAX != LONG_MAX.
3211 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3212 (_fitoa_word): Likewise.
3213 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3214 LLONG_MAX != LONG_MAX.
3215 * stdio-common/_itowa.h: Include <_itoa.h>.
3216 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3217 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3218 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3219 only if not defined.
3220 (_ITOA_WORD_TYPE): Likewise.
3221 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3222 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3223
6f4db457
DM
32242012-03-21 David S. Miller <davem@davemloft.net>
3225
3226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3227
7785fe5a
L
32282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3229
3230 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3231 of x86_64 when setting libc_cv_slibdir, libdir and
3232 libc_cv_localedir.
3233 * sysdeps/unix/sysv/linux/configure: Regenerated.
3234
4535cd55
JM
32352012-03-21 Joseph Myers <joseph@codesourcery.com>
3236
3237 * manual/lang.texi (Old Varargs): Remove section.
3238 (How Variadic): Update menu.
3239 (va_start): Do not mention varargs.h.
3240
17228132
TS
32412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3242 Joseph Myers <joseph@codesourcery.com>
3243
3244 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3245 link test.
3246 * configure: Regenerated.
3247
8149f976
TS
32482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3249
05f3d1f6
UD
3250 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3251 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3252 conformtest.pl
8149f976 3253
1a4ac776
JM
32542012-03-21 Joseph Myers <joseph@codesourcery.com>
3255
be22ce65
JM
3256 * NOTES: Remove.
3257 * Makefile (files-for-dist): Remove NOTES.
3258 (NOTES): Remove rule.
3259 * README: Don't refer to NOTES.
3260 * manual/creature.texi: Don't include macros.texi.
3261 * manual/intro.texi (creature.texi): Remove comment referring to
3262 NOTES.
3263
40b601fb
JM
3264 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3265 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3266 * configure: Regenerated.
3267 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3268 LIBC_TRY_CC_OPTION.
3269 (libc_cv_as_i686): Likewise.
3270 (libc_cv_cc_avx): Likewise.
3271 (libc_cv_cc_sse2avx): Likewise.
3272 (libc_cv_cc_fma4): Likewise.
3273 (libc_cv_cc_novzeroupper): Likewise.
3274 * sysdeps/i386/configure: Regenerated.
3275
1a4ac776
JM
3276 [BZ #13883]
3277 * sysdeps/i386/fpu/s_cexp.S: Remove.
3278 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3279 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3280 * math/libm-test.inc (cexp_test): Add more tests.
3281 * sysdeps/i386/fpu/libm-test-ulps: Update.
3282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3283
a458e7fe
AM
32842012-03-21 Allan McRae <allan@archlinux.org>
3285
3286 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3287
0cb7efc5
JM
32882012-03-21 Joseph Myers <joseph@codesourcery.com>
3289
3290 [BZ #13871]
3291 * math/w_exp2.c: Do not include <float.h>.
3292 (o_threshold, u_threshold): Remove.
3293 (__exp2): Calculate result before checking finiteness and calling
3294 __kernel_standard.
3295 * math/w_exp2f.c: Likewise.
3296 * math/w_exp2l.c: Likewise.
3297 * math/libm-test.inc (exp2_test): Require overflow exception for
3298 1e6 input.
2460d3aa
JM
3299
3300 [BZ #3866]
3301 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3302 range of signed 64-bit integers before using fistpll. Remove
3303 checks for whether integers fit in mantissa bits.
3304 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3305 the range of signed 32-bit integers before using fistpl. Remove
3306 checks for whether integers fit in mantissa bits.
3307 * sysdeps/i386/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 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3312 divide-by-zero is raised for zero to large negative powers.
3313 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3314 (__ieee754_powl): Test for y outside the range of signed 64-bit
3315 integers before using fistpll. Reduce 64-bit values to 63-bit
3316 ones as needed.
3317 * math/libm-test.inc (pow_test): Add more tests.
3318
eb96ffb0
L
33192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3320
3321 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3322 <stdio-common/_itoa.h>.
3323 * debug/segfault.c: Likewise.
3324 * elf/dl-cache.c: Likewise.
3325 * elf/dl-minimal.c: Likewise.
3326 * elf/dl-misc.c: Likewise.
3327 * elf/dl-sysdep.c: Likewise.
3328 * elf/dl-version.c: Likewise.
3329 * elf/rtld.c: Likewise.
3330 * hurd/hurdsock.c: Likewise.
3331 * hurd/lookup-retry.c: Likewise.
3332 * malloc/malloc.c: Likewise.
3333 * malloc/mtrace.c: Likewise.
3334 * nscd/nscd_getgr_r.c: Likewise.
3335 * nscd/nscd_getpw_r.c: Likewise.
3336 * nscd/nscd_getserv_r.c: Likewise.
3337 * posix/getopt_init.c: Likewise.
3338 * posix/wordexp.c: Likewise.
3339 * stdio-common/_itoa.c: Likewise.
3340 * stdio-common/printf_fphex.c: Likewise.
3341 * stdio-common/vfprintf.c: Likewise.
3342 * string/_strerror.c: Likewise.
3343 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3344 * sysdeps/i386/i686/hp-timing.h: Likewise.
3345 * sysdeps/mach/_strerror.c: Likewise.
3346 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3347 * sysdeps/mach/hurd/sethostid.c: Likewise.
3348 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3349 * sysdeps/mach/xpg-strerror.c: Likewise.
3350 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3351 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3352 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3353 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3354 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3355 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3356 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3357 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3358 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3359 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3360 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3361 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3362 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3363 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3364 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3365 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3366 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3367 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3368 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3369 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3370 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3371
3372 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3373
3374 * stdio-common/_itoa.h: Moved to ...
3375 * sysdeps/generic/_itoa.h: Here.
3376
3377 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3378
3379 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3380 instead of "_itoa.h" and "_itowa.h".
3381 * stdio-common/vfprintf.: Likewise.
3382
d1af992d
L
33832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3384
3385 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3386 <bits/wordsize.h>.
3387 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3388 (__signbit): Likwise.
3389 (llrintf): Likwise.
3390 (llrint): Likwise.
3391
114883e0
L
33922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3393
3394 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3395 __WORDSIZE != 64.
3396
c135cc1b
JM
33972012-03-20 Joseph Myers <joseph@codesourcery.com>
3398
3399 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3400 OVERFLOW_EXCEPTION_OK.
3401 * math/libm-test.inc ("Philosophy"): Update comment about
3402 exception testing.
3403 (OVERFLOW_EXCEPTION): Define.
3404 (OVERFLOW_EXCEPTION_OK): Likewise.
3405 (INVALID_EXCEPTION_OK): Renumber.
3406 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3407 (IGNORE_ZERO_INF_SIGN): Likewise.
3408 (test_exceptions): Handle FE_OVERFLOW.
3409 (exp10_test): Expect overflow exceptions.
3410 (exp2_test): Likewise.
3411 (expm1_test): Likewise.
3412 (nextafter_test): Likewise.
3413 (pow_test): Likewise.
3414 (scalbn_test): Likewise.
3415 (scalbln_test): Likewise.
3416
95443d88
L
34172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3418
3419 * sysdeps/x86_64/bits/atomic.h
3420 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3421 64bit integer.
3422 (atomic_exchange_acq): Likewise.
3423 (__arch_exchange_and_add_body): Likewise.
3424 (__arch_add_body): Likewise.
3425 (atomic_add_negative): Likewise.
3426 (atomic_add_zero): Likewise.
3427
490df6c4
L
34282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3429
c2722551 3430 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3431 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3432
5e52b189
L
34332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3434
3435 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3436 Check __x86_64__ instead of __WORDSIZE.
3437
a9879d4c
L
34382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3439
3440 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3441
5df98260
DM
34422012-03-19 David S. Miller <davem@davemloft.net>
3443
e1497744
DM
3444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3445
5df98260
DM
3446 * sysdeps/sparc/fpu/fenv_private.h: New file.
3447 * sysdeps/sparc/fpu/math_private.h: Use it.
3448 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3449 Remove.
3450 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3451 (libc_feholdexcept_setroundl): Remove.
3452 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3453 Remove.
3454 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3455 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3456
b4c35121
L
34572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3458
3459 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3460 int64_t instead of long int.
3461 (INSERT_WORDS64): Likwise.
3462
56965fd7
L
34632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3464
3465 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3466 _Unwind_GetCFA return to _Unwind_Ptr first.
3467
83d1aec8
JM
34682012-03-19 Joseph Myers <joseph@codesourcery.com>
3469
1897ad44
JM
3470 [BZ #13629]
3471 * math/s_clog.c: Include <float.h>.
3472 (__clog): Scale large or subnormal inputs.
3473 * math/s_clogf.c: Likewise.
3474 * math/s_clogl.c: Likewise.
3475 * math/s_clog10.c: Include <float.h>.
3476 (M_LOG10_2): Define.
3477 (__clog10): Scale large or subnormal inputs.
3478 * math/s_clog10f.c: Likewise.
3479 * math/s_clog10l.c: Likewise.
3480 * math/libm-test.inc (clog_test): Add more tests.
3481 (clog10_test): Likewise.
3482 * sysdeps/i386/fpu/libm-test-ulps: Update.
3483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3484
7726d6a9
JM
3485 [BZ #11451]
3486 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3487 x and y.
3488 * math/libm-test.inc (atan2_test): Add another test.
3489
83d1aec8
JM
3490 * Makerules (common-objdir-compile): Remove.
3491 * sysdeps/unix/Makefile (config-generated): Do not add
3492 $(unix-generated) to variable.
3493 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3494 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3495 Remove rule.
3496 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3497 Likewise.
3498 [generic bits/local_lim.h] (before-compile): Do not append to
3499 variable.
3500 [generic bits/local_lim.h] (common-generated): Likewise.
3501 [generic sys/param.h] (before-compile): Do not append to variable.
3502 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3503 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3504 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3505 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3506 include.
3507 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3508 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3509 [generic sys/param.h] ($(addprefix
3510 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3511 [generic sys/param.h] (common-generated): Do not append to
3512 variable.
3513 [generic sys/param.h] (sysdep_headers): Likewise.
3514 [generic bits/errno.h] (before-compile): Do not append to
3515 variable.
3516 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3517 rule.
3518 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3519 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3520 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3521 [generic bits/errno.h] (common-generated): Do not append to
3522 variable.
3523 [generic bits/ioctls.h] (before-compile): Do not append to
3524 variable.
3525 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3526 rule.
3527 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3528 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3529 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3530 rule.
3531 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3532 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3533 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3534 [generic bits/ioctls.h] (common-generated): Do not append to
3535 variable.
3536 [generic sys/syscall.h] (syscall.h): Remove variable.
3537 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3538 rule.
3539 [generic sys/syscall.h] (before-compile): Do not append to
3540 variable.
3541 [generic sys/syscall.h] (common-generated): Likewise.
3542 * sysdeps/unix/errnos-tmpl.c: Remove file.
3543 * sysdeps/unix/errnos.awk: Likewise.
3544 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3545 * sysdeps/unix/ioctls.awk: Likewise.
3546 * sysdeps/unix/mk-local_lim.c: Likewise.
3547 * sysdeps/unix/snarf-ioctls: Likewise.
3548
4851a949
RH
35492012-03-19 Richard Henderson <rth@twiddle.net>
3550
bd37f2ee
RH
3551 * sysdeps/i386/fpu/fenv_private.h: New file.
3552 * sysdeps/i386/fpu/math_private.h: Use it.
3553 (math_opt_barrier, math_force_eval): Remove.
3554 (libc_feholdexcept_setround_53bit): Remove.
3555 (libc_feupdateenv_53bit): Remove.
3556 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3557 (math_opt_barrier, math_force_eval): Remove.
3558 (libc_feholdexcept): Remove.
3559 (libc_feholdexcept_setround): Remove.
3560 (libc_fetestexcept, libc_fesetenv): Remove.
3561 (libc_feupdateenv_test): Remove.
3562 (libc_feupdateenv, libc_feholdsetround): Remove.
3563 (libc_feresetround): Remove.
3564
d0adc922
RH
3565 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3566 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3567
0fe0f1f8
RH
3568 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3569 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3570 (libc_feupdateenv_testl): New.
3571 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3572 (libc_feupdateenv_testf): New.
3573 (libc_feupdateenv): Use libc_feupdateenv_test.
3574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3575 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3576
eb92c487
RH
3577 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3578 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3579 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3580 (libc_feresetround_noex): New.
3581 (libc_feresetround_noexf): New.
3582 (libc_feresetround_noexl): New.
3583 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3584 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3585 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3586 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3587 SET_RESTORE_ROUND.
3588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3589 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3590 (__cos): Likewise.
3591 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3592 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3593 SET_RESTORE_ROUND_NOEX.
3594 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3595 SET_RESTORE_ROUND_NOEXF.
3596 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3597 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3598 (libc_feholdsetroundf): New.
3599 (libc_feresetround, libc_feresetroundf): New.
3600
7d2e8012
RH
3601 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3602 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3603 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3604
b4dabbb4
RH
3605 * sysdeps/generic/math_private.h: Include <fenv.h>.
3606 (default_libc_feholdexcept): New.
3607 (default_libc_feholdexcept_setround): New.
3608 (default_libc_fesetenv, default_libc_feupdateenv): New.
3609 (libc_feholdexcept): Only define if undefined.
3610 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3611 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3612 (libc_feholdexcept_setroundl): Likewise.
3613 (libc_feholdexcept_setround_53bit): Likewise.
3614 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3615 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3616 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3617 (libc_feupdateenv_53bit): Likewise.
3618 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3619 (libc_feholdexcept): Convert from macro to inline function.
3620 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3621 (libc_fesetenv, libc_feupdateenv): Likewise.
3622
4851a949
RH
3623 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3624 not previously defined.
3625 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3626 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3627 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3628 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3629 * sysdeps/ieee754/flt-32/math_private.h: New file.
3630 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3631 math_private.h below SET_FLOAT_WORD.
3632 (__isnan, __isinf_ns, __finite): Remove.
3633 (__isnanf, __isinf_nsf, __finitef): Remove.
3634
e79d442e
AS
36352012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3636
3637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3638
90b80344
DM
36392012-03-17 David S. Miller <davem@davemloft.net>
3640
3641 [BZ #6471]
3642 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3643 for 2.16.
3644
edc21804
DM
36452012-03-16 David S. Miller <davem@davemloft.net>
3646
77e927af
DM
3647 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3648 warnings.
3649
374976dd
DM
3650 [BZ #6471]
3651 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3652 properly.
3653 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3654 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3655 sysdep_routines when subdir is sysvipc.
3656 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3657 __getshmlba helper.
3658
edc21804
DM
3659 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3660
473c3ef3
L
36612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3662
3663 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3664 [__LP64__].
3665
eb0f39b6
L
36662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3667
3668 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3669 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3670 (__lround): Renamed to ...
3671 (__llround): This. Replace long int with long long int.
3672 Define lround functions as aliases of llround functions.
3673 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3674
6b6cd74b
L
36752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3676
3677 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3678 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3679 adresses to uintptr_t. Replace "long int" and "unsigned long
3680 int" with "greg_t" on va_arg.
3681
f1a77b01
L
36822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3683
3684 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3685 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3686
3687 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3688 Move e_machine check before EI_CLASS check. Handle x32
3689 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3690 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3691 SKIP_EM_IA_64 and include
3692 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3693
3694 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3695 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3696 (add_system_dir): New macro.
3697
3698 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3699 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3700
11b90b9f
JM
37012012-03-16 Joseph Myers <joseph@codesourcery.com>
3702
c36e1d23
JM
3703 [BZ #2551]
3704 [BZ #2552]
3705 [BZ #2553]
3706 [BZ #2554]
3707 [BZ #2562]
3708 [BZ #2563]
3709 [BZ #2565]
3710 [BZ #2566]
3711 [BZ #2576]
3712 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3713 (y0): Likewise.
3714 * math/w_j0f.c (j0f): Likewise.
3715 (y0f): Likewise.
3716 * math/w_j0l.c (__j0l): Likewise.
3717 (__y0l): Likewise.
3718 * math/w_j1.c (j1): Likewise.
3719 (y1): Likewise.
3720 * math/w_j1f.c (j1f): Likewise.
3721 (y1f): Likewise.
3722 * math/w_j1l.c (__j1l): Likewise.
3723 (__y1l): Likewise.
3724 * math/w_jn.c (jn): Likewise.
3725 (yn): Likewise.
3726 * math/w_jnf.c (jnf): Likewise.
3727 (ynf): Likewise.
3728 * math/w_jnl.c (__jnl): Likewise.
3729 (__ynl): Likewise.
3730 * math/libm-test.inc (j0_test): Add more tests.
3731 (j1_test): Likewise.
3732 (jn_test): Likewise. Add trailing semicolon to existing test.
3733 (y0_test): Likewise.
3734 (y1_test): Likewise.
3735 * sysdeps/i386/fpu/libm-test-ulps: Update.
3736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3737
11b90b9f
JM
3738 [BZ #13851]
3739 [BZ #13854]
3740 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3741 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3742 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3743 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3744 (__tanl): Set errno for infinite argument.
3745 * sysdeps/i386/fpu/mptan.c: Remove.
3746 * sysdeps/i386/fpu/s_tan.S: Likewise.
3747 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3748 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3749 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3750 * math/libm-test.inc (tan_test): Add more tests and enable more
3751 tests for double and long double.
3752 * sysdeps/i386/fpu/libm-test-ulps: Update.
3753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3754
6a1bd2a1
JK
37552012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3756
3757 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3758 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3759
10a803e0
RM
37602012-03-16 Roland McGrath <roland@hack.frob.com>
3761
3762 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3763 * configure.in: Use it for both main tree and add-ons.
3764 * configure: Regenerated.
3765
f196c7f7
L
37662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3767
3768 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3769
8848d99d
JM
37702012-03-16 Joseph Myers <joseph@codesourcery.com>
3771
96cbe7f4
JM
3772 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3773 in comment.
3774
8848d99d
JM
3775 [BZ #13851]
3776 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3777 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3781 infinite argument.
3782 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3783 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3784 != 0 for prec == 2.
3785 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3786 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3787 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3788 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3789 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3790 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3791 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3792 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3793 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3794 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3795 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3796 * math/libm-test.inc (cos_test): Add more tests and enable more
3797 tests for long double.
3798 (sin_test): Likewise.
3799 (sincos_test): Likewise.
3800 * sysdeps/i386/fpu/libm-test-ulps: Update.
3801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3802
dd7f4703
DM
38032012-03-16 David S. Miller <davem@davemloft.net>
3804
3805 * sysdeps/sparc/fpu/math_private.h: New file.
3806
006f1daa
DM
38072012-03-15 David S. Miller <davem@davemloft.net>
3808
c0c83bc8
DM
3809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3810 file.
e6a62e18 3811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3813 file.
e6a62e18
DM
3814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3819 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3820 sysdep routines.
3821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3822
88cb87d9
DM
3823 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3824 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3825
006f1daa 3826 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3828 sparc-ifunc.h
006f1daa 3829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3831 Likewise.
3832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3833 Likewise.
006f1daa
DM
3834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3838 Likewise.
006f1daa
DM
3839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3844 Likewise.
3845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3846 Likewise.
006f1daa
DM
3847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3854 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3858 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3870 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3871
11e0098e
AS
38722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3873
3874 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3875 scaling.
3876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3877
e85b09d0
AJ
38782012-03-15 Andreas Jaeger <aj@suse.de>
3879
3880 [BZ #13852]
3881 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3882 ieee754/flt-32 implementation for sin, cos and sincos.
3883 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3884 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3885 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3886 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3887 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3888 ieee754/flt-32 implementation for tan.
3889
3890 * math/libm-test.inc (cos_test): Enable some large input tests for
3891 float as well
3892 (sin_test): Likewise.
3893 (sincos_test): Likewise.
3894 (tan_test): Add tests for large input.
3895
3896 * sysdeps/i386/fpu/libm-test-ulps: Update.
3897
81c64153
AJ
38982012-03-15 Andreas Jaeger <aj@suse.de>
3899
3900 [BZ #13658]
3901 * math/libm-test.inc (cos_test): Add more test cases.
3902 (sin_test): Likewise.
3903 (sincos_test): Likewise.
3904
7bbfa5c6
AJ
39052012-03-15 Andreas Jaeger <aj@suse.de>
3906
3907 [BZ #13837]
3908 * math/libm-test.inc (cos_test): Add a test case for large input
3909 value.
3910 (sin_test): Likewise.
3911 (sincos_test): Likewise.
3912
39132012-03-15 Andreas Jaeger <aj@suse.de>,
3914 Joseph Myers <joseph@codesourcery.com>
3915
3916 [BZ #13658]
0671f479 3917 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3918 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3919 * sysdeps/i386/fpu/branred.c: Likewise.
3920 * sysdeps/i386/fpu/dosincos.c: Likewise.
3921 * sysdeps/i386/fpu/mpa.c: Likewise.
3922 * sysdeps/i386/fpu/s_cos.S: Likewise.
3923 * sysdeps/i386/fpu/s_sin.S: Likewise.
3924 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3925 * sysdeps/i386/fpu/sincos32.c: Likewise.
3926
3927 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3928 Define.
3929 (libc_feupdateenv_53bit): Define.
3930 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3931 Define.
3932 (libc_feupdateenv_53bit): Define.
3933
3934 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3935 53 bit (without extend i386 double precision).
3936
3937 * math/libm-test.inc (sincos_test): Add tests for large input.
3938 (sin): Likewise.
3939 (cos): Likewise.
3940
3941 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3942
9cad04ea
AS
39432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3944
3945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3946
f7062b9a
DM
39472012-03-15 David S. Miller <davem@davemloft.net>
3948
3949 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3950 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3951 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3952 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3965 file.
f7062b9a 3966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3968 file.
f7062b9a 3969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3971 file.
f7062b9a 3972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3974 file.
f7062b9a
DM
3975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3977 fmin/fmax sysdep routines.
3978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3979
7bd951ff
DM
39802012-03-14 David S. Miller <davem@davemloft.net>
3981
559398ab
DM
3982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3986 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3987 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3988 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3989 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4006 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4007 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4009 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4011 routines.
4012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4013 file.
559398ab 4014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4016 file.
559398ab 4017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4019 file.
559398ab 4020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4022 file.
559398ab 4023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4025 file.
559398ab 4026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4028 file.
4029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4030 file.
4031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4032 file.
4033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4034 file.
4035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4036 New file.
4037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4038 file.
4039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4040 file.
559398ab 4041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4043 file.
559398ab 4044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4046 file.
559398ab 4047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4049 file.
559398ab 4050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4052 VIS3 routines.
559398ab
DM
4053
4054 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4055 New file.
4056
5a1c1e32
DM
4057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4058
eae47a36
DM
4059 * sysdeps/sparc/configure.in: New file.
4060 * sysdeps/sparc/configure: Generate.
4061 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4062 * configure: Regenerate.
4063 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4064 * config.make.in (have-as-vis3): New.
4065 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4066 available use -Av9d instead of -Av9a.
4067 * sysdeps/sparc/sparc64/Makefile: Likewise.
4068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4070 New file.
4071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4072 file.
4073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4074 New file.
4075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4076 file.
eae47a36
DM
4077 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4078 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4079 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4082
c0c83bc8
DM
4083 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4084 fzeros/fnegs to load 0x80000000 into a float register instead of
4085 using the stack.
7bd951ff
DM
4086 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4087
bd951ccb
JM
40882012-03-14 Joseph Myers <joseph@codesourcery.com>
4089
4090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4091 bits/syscall.h.
4092 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4093 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4094 ($(inst_includedir)/bits/syscall.h): Remove rule.
4095 ($(objpfx)bits/syscall.d): Include instead of
4096 $(objpfx)syscall-list.d.
4097 (generated): Change syscall-list.h and syscall-list.d to
4098 bits/syscall.h and bits/syscall.d.
4099
bb4e6db2
RM
41002012-03-14 Roland McGrath <roland@hack.frob.com>
4101
4102 [BZ #13846]
4103 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4104
aa4a2ae1
JM
41052012-03-14 Joseph Myers <joseph@codesourcery.com>
4106
e456826d
JM
4107 [BZ #13841]
4108 * math/s_csqrt.c: Include <float.h>.
4109 (__csqrt): Scale large or subnormal inputs.
4110 * math/s_csqrtf.c: Likewise.
4111 * math/s_csqrtl.c: Likewise.
4112 * math/libm-test.inc (csqrt_test): Add more tests.
4113 * sysdeps/i386/fpu/libm-test-ulps: Update.
4114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4115
aa4a2ae1
JM
4116 [BZ #13840]
4117 * math/libm-test.inc (hypot_test): Add more tests.
4118
7c10fd35
DM
41192012-03-13 David S. Miller <davem@davemloft.net>
4120
4121 [BZ #13840]
4122 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4123 double-precision for the calculation instead of scaling.
4124
f453b98b
JM
41252012-03-13 Joseph Myers <joseph@codesourcery.com>
4126
4127 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4128 manipulate bits before adding and subtracting TWO52[sx].
4129 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4130 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4131 Likewise.
4132 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4133
09a3453f
DM
41342012-03-13 David S. Miller <davem@davemloft.net>
4135
8e59da90
DM
4136 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4137 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4139 rtld-global-offsets.h
4140 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4141
2a8ab7f2
DM
4142 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4143 large parameters.
4144
10f62770
DM
4145 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4146
5f0bdb18
DM
4147 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4148 'err' in the ifdef scope in which it is actually used.
4149
09a3453f
DM
4150 * nss/nss_db/db-init.c: Include string.h
4151
b4b2eb5e
DM
41522012-03-12 David S. Miller <davem@davemloft.net>
4153
98bb2f1c
DM
4154 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4155 masking out of the most significant byte of random value used.
4156 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4157 Fix coding style in previous change.
4158
b4b2eb5e
DM
4159 * sysdeps/unix/sysv/linux/kernel-features.h
4160 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4161 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4162 expression.
4163 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4164 later.
4165
6e226b09
DM
41662012-03-11 David S. Miller <davem@davemloft.net>
4167
a1bcbd40
DM
4168 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4169 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4170 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4171 for 'resultvar' otherwise things get truncated on 64-bit.
4172
cb9d6174
DM
4173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4174 Fix masking out of the most significant byte of random value used.
4175
6e226b09
DM
4176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4177
058c132d
AS
41782012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4179
4180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4181
2d2cd515
DM
41822012-03-09 David S. Miller <davem@davemloft.net>
4183
4184 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4185 variables with appropriate CPP guards.
4186 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4187 frame pointer, not the stack pointer. Correct layout comments. Fix test
4188 on resulting framesize and the management of the outregs buffer for pltexit.
4189 Preserve floating point return values across _dl_call_pltexit call.
4190 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4191 framesize and the management of the outregs buffer for pltexit.
4192 Preserve floating point return values across _dl_call_pltexit
4193 call.
4194 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4195 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4196 (print_exit): Fix format string for return register value.
4197
9a07f9d0
JM
41982012-03-10 Joseph Myers <joseph@codesourcery.com>
4199
4200 * sunrpc/Makefile (others): Add rpcgen.
4201 ($(objpfx)rpcgen): Remove special build rule and dependency on
4202 libc.
4203 * sunrpc/rpcgen.c: New file.
4204
547b5e30
PE
42052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4206
c524201a
PE
4207 [BZ #13673]
4208 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4209 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4210 * sysdeps/i386/crti.S: Likewise.
4211 * sysdeps/i386/crtn.S: Likewise.
4212 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4213 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4214 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4215 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4216 * sysdeps/sh/crti.S: Likewise.
4217 * sysdeps/sh/crtn.S: Likewise.
4218 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4219
7b6235f2
PE
4220 [BZ #13673]
4221 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4222 with URL.
4223 * locale/programs/locfile-kw.gperf: Likewise.
4224 * locale/programs/charmap-kw.h: Regenerated.
4225 * locale/programs/locfile-kw.h: Likewise.
4226
547b5e30
PE
4227 [BZ #13673]
4228 * intl/plural.y: Replace FSF snail mail address with URL.
4229 * intl/plural.c: Regenerated.
4230
5f0a5dae
RH
42312012-03-09 Richard Henderson <rth@twiddle.net>
4232
4233 * include/math_private.h: Remove file.
4234 * math/math_private.h: Move file ...
4235 * sysdeps/generic/math_private.h: ... here.
4236
b8c03620
RH
4237 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4238 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4239 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4240
4e234f5d 4241 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4242 and <math_private.h>.
4243 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4244 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4245 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4246 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4247 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4281 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4282 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4283 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4284 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4285 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4286 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4288 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4289 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4290 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4291 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4292 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4293 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4294 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4295 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4296 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4297 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4298 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4299 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4300 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4301 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4303 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4304 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4306 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4307 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4308 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4309 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4310 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4311 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4312 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4313 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4314 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4316 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4317 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4322 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4323 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4324 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4325 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4326 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4327 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4330 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4331 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4332 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4333 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4334 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4336 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4337 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4338 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4339 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4340 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4341 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4342 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4343 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4344 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4345 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4346 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4347 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4348 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4349 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4350 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4351 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4353 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4354 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4355 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4356 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4357 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4358 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4359 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4360 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4361 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4362 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4363 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4364 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4365 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4366 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4367 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4368 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4369 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4370 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4371 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4372 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4373 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4374 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4375 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4376 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4377 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4378 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4379 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4380 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4381 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4382 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4383 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4384 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4385 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4386 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4387 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4388 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4389 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4390 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4391 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4392 * sysdeps/ieee754/k_standard.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4426 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4439 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4443 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4444 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4445 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4446 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4447 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4452 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4453 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4460 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4466 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4467 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4468 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4470 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4472 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4473 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4474 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4475 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4476 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4478 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4480 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4481 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4482 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4484 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4485 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4486 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4487 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4490 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4492 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4496 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4497 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4498 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4499 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4500 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4501 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4502 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4503 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4504 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4505 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4506 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4507 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4508 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4509 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4510 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4511 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4512 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4513 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4514 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4515 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4516 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4517 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4519 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4520 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4521 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4522 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4523 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4524 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4525 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4526 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4527 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4528 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4529 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4530 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4531 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4532 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4533 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4534 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4535 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4536 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4537 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4538 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4539 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4540 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4541 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4542 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4543 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4544 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4545 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4546 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4547 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4548 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4549 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4550 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4551 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4552 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4553 * sysdeps/ieee754/s_lib_version.c: Likewise.
4554 * sysdeps/ieee754/s_matherr.c: Likewise.
4555 * sysdeps/ieee754/s_signgam.c: Likewise.
4556 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4557 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4558 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4559 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4560 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4561 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4562 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4563 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4564 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4565 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4566 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4567 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4568 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4569 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4570 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4571 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4572 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4573 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4574 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4576 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4577
1991fa03
JM
45782012-03-09 Joseph Myers <joseph@codesourcery.com>
4579
4580 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4581 * sunrpc/rpc_main.c: Likewise.
4582 * sunrpc/rpc_svcout.c: Likewise.
4583
60d6f5a6
DM
45842012-03-09 David S. Miller <davem@davemloft.net>
4585
4586 * include/math_private.h: New file.
4587
4962050e
JM
45882012-03-09 Joseph Myers <joseph@codesourcery.com>
4589
02a6f887
JM
4590 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4591 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4592 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4593 from <bits/socket_type.h>.
4594 (enum __socket_type): Don't define here.
4595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4597 bits/socket_type.h.
4598
c6e013c1
JM
4599 [BZ #13566]
4600 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4601 checking __USE_GNU.
4602
4962050e
JM
4603 * Makerules ($(inst_includedir)/%.h): New rule.
4604 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4605 (install-others): Remove variable setting.
4606 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4607
38842f45
RH
46082012-03-08 Richard Henderson <rth@twiddle.net>
4609
67bb6da6
RH
4610 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4611 from macro to inline function; merge with the
4612 !__LIBC_INTERNAL_MATH_INLINES version.
4613 (__ieee754_sqrtf): Likewise.
4614
15194b4b
RH
4615 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4616 to inline function.
4617 (__rintf, __floor, __floorf): Likewise.
4618
64e21ede
RH
4619 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4620 macro to inline function.
4621 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4622
38842f45
RH
4623 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4624 not <math/math_private.h>.
4625
c64bf5fe
DM
46262012-03-08 David S. Miller <davem@davemloft.net>
4627
4628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4629 copyright year.
4630 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4631
82d86f28
TS
46322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4633
4634 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4635 normalization.
4636 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4637 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4638
aea5d727
UD
46392012-03-08 Ulrich Drepper <drepper@gmail.com>
4640
4641 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4642 be defined individually, they must be defined as a block. Define
4643 S for printing a string instead of hidint the different by using a
4644 macro for adding the 'l'.
4645 * stdio-common/tst-fphex-wide.c: Adjust.
4646
70bca0a3
MP
46472012-03-07 Marek Polacek <polacek@redhat.com>
4648
4649 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4650
65b81130
MP
46512012-03-08 Marek Polacek <polacek@redhat.com>
4652
4653 [BZ #13806]
4654 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4655 * stdio-common/tst-fphex.c: Define a few macros to make the
4656 test reusable. Use them.
4657 * stdio-common/tst-fphex-wide.c: New file.
4658
07037eeb
JM
46592012-03-08 Joseph Myers <joseph@codesourcery.com>
4660
a7a93d50
JM
4661 [BZ #6911]
4662 * manual/macros.texi (gnusystems): New macro.
4663 (nongnusystems): Likewise.
4664 (gnulinuxhurdsystems): Likewise.
4665 (gnuhurdsystems): Likewise..
4666 (gnulinuxsystems): Likewise.
4667 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4668 variants of the GNU system, not "GNU system".
4669 * manual/conf.texi: Likewise.
4670 * manual/errno.texi: Likewise. Update example of errno macro
4671 expansion.
4672 * manual/filesys.texi: Likewise.
4673 (getumask): Document as specific to GNU/Hurd.
4674 * manual/install.texi: Likewise. Reword some references to
4675 GNU/Linux.
4676 * manual/intro.texi: Likewise.
4677 * manual/io.texi: Likewise.
4678 (File Name Portability): Detail which constraints are inapplicable
4679 to all GNU systems and which are only inapplicable to GNU/Hurd.
4680 * manual/job.texi: Likewise.
4681 * manual/llio.texi: Likewise.
4682 (O_NOCTTY): Document as present on GNU/Linux.
4683 * manual/maint.texi: Likewise.
4684 * manual/memory.texi: Likewise.
4685 * manual/pattern.texi: Likewise.
4686 * manual/pipe.texi: Likewise.
4687 * manual/process.texi: Likewise.
4688 * manual/resource.texi: Likewise.
4689 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4690 child on GNU/Hurd.
4691 * manual/setjmp.texi: Likewise.
4692 * manual/signal.texi: Likewise.
4693 * manual/startup.texi: Likewise.
4694 * manual/stdio.texi: Likewise.
4695 * manual/terminal.texi: Likewise.
4696 (ONLCR): Document as POSIX.
4697 (OXTABS): Document availability on GNU/Linux as XTABS.
4698 (ONOEOT): Document availability separately from other bits.
4699 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4700 * manual/time.texi: Likewise.
4701 * manual/users.texi: Likewise.
4702 * INSTALL: Regenerated.
4703 * sysdeps/gnu/errlist.c: Regenerated.
4704
07037eeb
JM
4705 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4706 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4707 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4708 puts.
4709 * configure: Regenerated.
4710
d1d3431a
JM
47112012-03-07 Joseph Myers <joseph@codesourcery.com>
4712
af6a1e37
JM
4713 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4714 default includes instead of AC_HEADER_CHECK.
4715 * sysdeps/i386/configure: Regenerated.
4716
d1d3431a
JM
4717 [BZ #10716]
4718 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4719 * math/s_cacoshf.c (__cacoshf): Likewise.
4720 * math/s_cacoshl.c (__cacoshl): Likewise.
4721 * math/s_casinh.c (__casinh): Set signs of result from argument.
4722 * math/s_casinhf.c (__casinhf): Likewise.
4723 * math/s_casinhl.c (__casinhl): Likewise.
4724 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4725 (casinh_test): Add more tests.
4726 * sysdeps/i386/fpu/libm-test-ulps: Update.
4727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4728
482ff4da
UD
47292012-03-07 Ulrich Drepper <drepper@gmail.com>
4730
872fda05
UD
4731 * po/zh_TW.po: Update from translation team.
4732
a4300c7a
UD
4733 * login/Makefile (distribute): Remove variable.
4734 * catgets/Makefile: Likewise.
4735 * mach/Makefile: Likewise.
4736 * malloc/Makefile: Likewise.
4737 * misc/Makefile: Likewise.
4738 * iconv/Makefile: Likewise.
4739 * nscd/Makefile: Likewise.
4740 * hurd/Makefile: Likewise.
4741 * manual/Makefile: Likewise.
4742 * locale/Makefile: Likewise.
4743 * intl/Makefile: Likewise.
4744 * conform/Makefile: Likewise.
4745 * nss/Makefile: Likewise.
4746 * time/Makefile: Likewise.
4747 * soft-fp/Makefile: Likewise.
4748 * dirent/Makefile: Likewise.
4749 * gmon/Makefile: Likewise.
4750 * po/Makefile: Likewise.
4751 * rt/Makefile: Likewise.
4752 * socket/Makefile: Likewise.
4753 * math/Makefile: Likewise.
4754 * signal/Makefile: Likewise.
4755 * debug/Makefile: Likewise.
4756 * elf/Makefile: Likewise.
4757 * timezone/Makefile: Likewise.
4758 * stdlib/Makefile: Likewise.
4759 * iconvdata/Makefile: Likewise.
4760 * sunrpc/Makefile: Likewise.
4761 * io/Makefile: Likewise.
4762 * argp/Makefile: Likewise.
4763 * inet/Makefile: Likewise.
4764 * hesiod/Makefile: Likewise.
4765 * grp/Makefile: Likewise.
4766 * csu/Makefile: Likewise.
4767 * wctype/Makefile: Likewise.
4768 * crypt/Makefile: Likewise.
4769 * libio/Makefile: Likewise.
4770 * string/Makefile: Likewise.
4771 * nis/Makefile: Likewise.
4772 * resolv/Makefile: Likewise.
4773 * stdio-common/Makefile: Likewise.
4774 * wcsmbs/Makefile: Likewise.
4775 * dlfcn/Makefile: Likewise.
4776 * posix/Makefile: Likewise.
4777
3b7c4e74 4778 [BZ #6959]
482ff4da
UD
4779 * timezone/Makefile: Don't install timezone files, just the programs
4780 and scripts.
4781
f72ed77d
UD
47822012-03-06 Ulrich Drepper <drepper@gmail.com>
4783
a000466f
UD
4784 * nss/databases.def: Add missing gshadow entry.
4785
f72ed77d
UD
4786 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4787
a53b7a4e
MP
47882012-03-06 Marek Polacek <polacek@redhat.com>
4789
4790 [BZ #13726]
4791 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4792 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4793 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4794 * stdio-common/tst-long-dbl-fphex.c: New file.
4795
e9258400
DM
47962012-03-06 David S. Miller <davem@davemloft.net>
4797
4798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4799 (set_obp_int): New function.
4800 (get_obp_int): New function.
4801 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4802 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4803 Avoid unused variable warnings on 'val' and use builtin_expect.
4804 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4805 __builtin_expect.
e9258400
DM
4806 (INLINE_CLONE_SYSCALL): Likewise.
4807
3bd2c723
DM
48082012-03-05 David S. Miller <davem@davemloft.net>
4809
4810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4811
bbb78d03
AS
48122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4813
884c5db4
AS
4814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4815
bbb78d03
AS
4816 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4817 only for |x| >= 40.
4818 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4819
1c9f702a 48202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4821
4822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4823 Replace gettimeofday with __vdso_gettimeofday.
4824
7be16f82
RM
4825 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4826 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4827 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4828
4829 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4830 time with __vdso_time.
4831
ed58a00f
JM
48322012-03-05 Joseph Myers <joseph@codesourcery.com>
4833
4834 * manual/lang.texi (size_t): Note types to which size_t may be
4835 equivalent with the GNU C Library, but do not describe when
4836 differences between them are significant.
4837
30ee4ced
AJ
48382012-03-05 Andreas Jaeger <aj@suse.de>
4839
4840 * sysdeps/i386/fpu/libm-test-ulps: Update.
4841
b7cd39e8
JM
48422012-03-05 Joseph Myers <joseph@codesourcery.com>
4843
4844 [BZ #3976]
4845 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4846 (__ieee754_pow): Save and restore rounding mode and use
4847 round-to-nearest for main computations.
4848 * math/libm-test.inc (pow_test_tonearest): New function.
4849 (pow_test_towardzero): Likewise.
4850 (pow_test_downward): Likewise.
4851 (pow_test_upward): Likewise.
4852 (main): Call the new functions.
4853 * sysdeps/i386/fpu/libm-test-ulps: Update.
4854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4855
4856 [BZ #3976]
4857 * math/libm-test.inc (cosh_test_tonearest): New function.
4858 (cosh_test_towardzero): Likewise.
4859 (cosh_test_downward): Likewise.
4860 (cosh_test_upward): Likewise.
4861 (sinh_test_tonearest): Likewise.
4862 (sinh_test_towardzero): Likewise.
4863 (sinh_test_downward): Likewise.
4864 (sinh_test_upward): Likewise.
4865 (main): Call the new functions.
4866 * sysdeps/i386/fpu/libm-test-ulps: Update.
4867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4868
6c6a98c9
TV
48692012-03-05 Tom de Vries <tom@codesourcery.com>
4870
4871 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4872 default stack guard is set in last bytes.
4873 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4874
21bb2d2e 48752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4876
21bb2d2e 4877 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4878
21bb2d2e
AJ
4879 [BZ #13656]
4880 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4881 possibly allocate from heap instead of stack.
4882 * stdio-common/bug-vfprintf-nargs.c: New file.
4883 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4884
c6922934
AS
48852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4886
4887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4888
bc957d53
MP
48892012-03-03 Marek Polacek <polacek@redhat.com>
4890
4891 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4892 * math/math_private.h: Likewise.
4893 * stdlib/tst-strtod.c: Likewise.
4894 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4895 * sysdeps/x86_64/bits/atomic.h: Likewise.
4896
6358490d
DM
48972012-03-02 David S. Miller <davem@davemloft.net>
4898
4899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4903 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4904 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4905 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4906 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4907
01ae168d
RM
49082012-03-02 Roland McGrath <roland@hack.frob.com>
4909
d9a17c07
RM
4910 [BZ #13792]
4911 * manual/examples/README: New file, says the example source files
4912 can be used under GPL>=2.
4913 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4914 line containing just "*/".
4915 * manual/examples/add.c: Add copyright header (GPL>=2).
4916 * manual/examples/argp-ex1.c: Likewise.
4917 * manual/examples/argp-ex2.c: Likewise.
4918 * manual/examples/argp-ex3.c: Likewise.
4919 * manual/examples/argp-ex4.c: Likewise.
4920 * manual/examples/atexit.c: Likewise.
4921 * manual/examples/db.c: Likewise.
4922 * manual/examples/dir.c: Likewise.
4923 * manual/examples/dir2.c: Likewise.
4924 * manual/examples/execinfo.c: Likewise.
4925 * manual/examples/filecli.c: Likewise.
4926 * manual/examples/filesrv.c: Likewise.
4927 * manual/examples/fmtmsgexpl.c: Likewise.
4928 * manual/examples/genpass.c: Likewise.
4929 * manual/examples/inetcli.c: Likewise.
4930 * manual/examples/inetsrv.c: Likewise.
4931 * manual/examples/isockad.c: Likewise.
4932 * manual/examples/longopt.c: Likewise.
4933 * manual/examples/memopen.c: Likewise.
4934 * manual/examples/memstrm.c: Likewise.
4935 * manual/examples/mkfsock.c: Likewise.
4936 * manual/examples/mkisock.c: Likewise.
4937 * manual/examples/mygetpass.c: Likewise.
4938 * manual/examples/pipe.c: Likewise.
4939 * manual/examples/popen.c: Likewise.
4940 * manual/examples/rprintf.c: Likewise.
4941 * manual/examples/search.c: Likewise.
4942 * manual/examples/select.c: Likewise.
4943 * manual/examples/setjmp.c: Likewise.
4944 * manual/examples/sigh1.c: Likewise.
4945 * manual/examples/sigusr.c: Likewise.
4946 * manual/examples/stpcpy.c: Likewise.
4947 * manual/examples/strdupa.c: Likewise.
4948 * manual/examples/strftim.c: Likewise.
4949 * manual/examples/strncat.c: Likewise.
4950 * manual/examples/subopt.c: Likewise.
4951 * manual/examples/swapcontext.c: Likewise.
4952 * manual/examples/termios.c: Likewise.
4953 * manual/examples/testopt.c: Likewise.
4954 * manual/examples/testpass.c: Likewise.
4955 * manual/examples/timeval_subtract.c: Likewise.
4956
01ae168d
RM
4957 [BZ #13792]
4958 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4959 function to ...
4960 * manual/timeval_subtract.c.texi: ... here, new file.
4961
49efa33d
DM
49622012-03-02 David S. Miller <davem@davemloft.net>
4963
4964 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4965
28afd92d
JM
49662012-03-02 Joseph Myers <joseph@codesourcery.com>
4967
804360ed
JM
4968 [BZ #3976]
4969 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4970 (__sin): Save and restore rounding mode and use round-to-nearest
4971 for all computations.
4972 (__cos): Save and restore rounding mode and use round-to-nearest
4973 for all computations.
4974 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4975 <fenv.h>.
4976 (tan): Save and restore rounding mode and use round-to-nearest for
4977 all computations.
4978 * math/libm-test.inc (cos_test_tonearest): New function.
4979 (cos_test_towardzero): Likewise.
4980 (cos_test_downward): Likewise.
4981 (cos_test_upward): Likewise.
4982 (sin_test_tonearest): Likewise.
4983 (sin_test_towardzero): Likewise.
4984 (sin_test_downward): Likewise.
4985 (sin_test_upward): Likewise.
4986 (tan_test_tonearest): Likewise.
4987 (tan_test_towardzero): Likewise.
4988 (tan_test_downward): Likewise.
4989 (tan_test_upward): Likewise.
4990 (main): Call the new functions.
4991 * sysdeps/i386/fpu/libm-test-ulps: Update.
4992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4993
a6d06d7b
JM
4994 [BZ #10135]
4995 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4996 small n, then large n, before computing and testing k+n.
4997 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4999 Likewise.
5000 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5001 Likewise.
5002 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5003 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5004 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5005 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5006 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5007 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5008 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5009 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5010 * math/libm-test.inc (scalbn_test): Add more tests.
5011 (scalbln_test): Likewise.
5012
07e12bb3
JM
5013 * manual/filesys.texi (mode_t): Describe constraints on size and
5014 signedness, not exact equivalence to a particular type.
5015 (ino_t): Likewise.
5016 (ino64_t): Likewise.
5017 (dev_t): Likewise.
5018 (nlink_t): Likewise.
5019 (blkcnt_t): Likewise.
5020 (blkcnt64_t): Likewise.
5021 * manual/llio.texi (off_t): Likewise.
5022
28afd92d
JM
5023 [BZ #3976]
5024 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5025 (__ieee754_exp): Save and restore rounding mode and use
5026 round-to-nearest for all computations.
5027 * math/libm-test.inc (exp_test_tonearest): New function.
5028 (exp_test_towardzero): Likewise.
5029 (exp_test_downward): Likewise.
5030 (exp_test_upward): Likewise.
5031 (main): Call the new functions.
5032 * sysdeps/i386/fpu/libm-test-ulps: Update.
5033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5034
b1eeb65d
CD
50352012-03-01 Chris Demetriou <cgd@google.com>
5036
5037 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5038 have predictable order.
5039
53362a4b
DM
50402012-03-01 David S. Miller <davem@davemloft.net>
5041
3c969083
DM
5042 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5043
759707de
DM
5044 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5045 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5046 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5047 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5048
dfdb8ff2
DM
5049 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5050 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5051 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5053 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5054 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5055 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5056 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5057 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5058
ead89f96
DM
5059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5060
7f66bd07
DM
5061 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5062 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5063 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5064
53362a4b
DM
5065 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5066 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5067 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5068 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5069 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5070 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5072 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5073 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5074 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5075 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5076 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5078 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5079 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5081 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5082 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5083 * sysdeps/sparc/elf/configure: Regenerated.
5084
7b1902cb
JM
50852012-03-01 Joseph Myers <joseph@codesourcery.com>
5086
bec039bc
JM
5087 * configure.in (AS, LD): Require binutils 2.20 or later.
5088 * configure: Regenerated.
5089 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5090 as required minimum version.
5091 * INSTALL: Regenerated.
5092
7b1902cb
JM
5093 [BZ #2541]
5094 [BZ #4108]
5095 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5096 before squaring exponent.
5097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5098 bottom long double and 27 bits of top long double before squaring
5099 exponent.
5100 * math/libm-test.inc (erfc_test): Add more tests.
5101 * sysdeps/i386/fpu/libm-test-ulps: Update.
5102 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5104
f775c276
KT
51052012-03-01 Kai Tietz <ktietz@redhat.com>
5106
5107 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5108 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5109 containing bit-fields.
5110 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5111 * soft-fp/single.h (_FP_UNION_S): Likewise.
5112 * soft-fp/double.h (_FP_UNION_D): Likewise.
5113
5b8a4d4a
JM
51142012-02-29 Joseph Myers <joseph@codesourcery.com>
5115
0bab47b6
JM
5116 [BZ #13786]
5117 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5118 not include ../strcmp.S.
5119 [USE_AS_STRNCASECMP_L]: Likewise.
5120 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5121 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5122 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5123 (__strncasecmp_l_ia32): Define as alias to
5124 __strncasecmp_l_nonascii.
5125
0fcad3e2
JM
5126 [BZ #5794]
5127 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5128 * sysdeps/i386/fpu/libm-test-ulps: Update.
5129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5130
5b8a4d4a
JM
5131 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5133
8fdceb2e
JL
51342012-02-29 Jeff Law <law@redhat.com>
5135
5136 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5137 out of bounds read.
5138
1f393a11
MP
51392012-02-29 Marek Polacek <polacek@redhat.com>
5140
5141 [BZ #13706]
5142 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5143 * elf/Makefile: Add rules to run tst-unused-dep.out.
5144
8847f037
DM
51452012-02-28 David S. Miller <davem@davemloft.net>
5146
5147 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5148 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5151 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5152 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5153
169d7f11
JM
51542012-02-29 Joseph Myers <joseph@codesourcery.com>
5155
5156 * math/libm-test.inc (llround_test): Move one test from
5157 lround_test. Use TEST_f_L in moved test.
5158 (lround_test): Move misplaced test to llround_test. Add testcase
5159 from bug 2561.
5160
39adf059
UD
51612012-02-28 Ulrich Drepper <drepper@gmail.com>
5162
5163 * sysdeps/x86_64/fpu/e_expf.S: New file.
5164 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5165
71b5d1c5
SB
51662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5167
5168 [BZ #13637]
5169 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5170 of remain_len that may cause incomplete multi-byte character and
5171 false match.
5172 * posix/bug-regex33.c: New file.
5173 * posix/Makefile (tests): Add bug-regex33.
5174
1f77f049
JM
51752012-02-28 Joseph Myers <joseph@codesourcery.com>
5176
5177 * manual/macros.texi: New file.
5178 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5179 * manual/libc.texinfo: Include macros.texi.
5180 * manual/creatute.texi: Likewise.
5181 * manual/install.texi: Likewise.
5182 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5183 @glibcadj{} in references to the GNU C Library.
5184 * manual/charset.texi: Likewise.
5185 * manual/conf.texi: Likewise.
5186 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5187 when not using those macros.
5188 * manual/creature.texi: Likewise.
5189 * manual/crypt.texi: Likewise.
5190 * manual/errno.texi: Likewise.
5191 * manual/filesys.texi: Likewise.
5192 * manual/header.texi: Likewise.
5193 * manual/install.texi: Likewise.
5194 * manual/intro.texi: Likewise.
5195 * manual/io.texi: Likewise.
5196 * manual/job.texi: Likewise.
5197 * manual/lang.texi: Likewise.
5198 * manual/libc.texiinfo: Likewise.
5199 * manual/llio.texi: Likewise.
5200 * manual/locale.texi: Likewise.
5201 * manual/maint.texi: Likewise.
5202 * manual/math.texi: Likewise.
5203 * manual/memory.texi: Likewise.
5204 * manual/message.texi: Likewise.
5205 * manual/nss.texi: Likewise.
5206 * manual/pattern.texi: Likewise.
5207 * manual/process.texi: Likewise.
5208 * manual/resource.texi: Likewise.
5209 * manual/search.texi: Likewise.
5210 * manual/setjmp.texi: Likewise.
5211 * manual/signal.texi: Likewise.
5212 * manual/socket.texi: Likewise.
5213 * manual/startup.texi: Likewise.
5214 * manual/stdio.texi: Likewise.
5215 * manual/string.texi: Likewise.
5216 * manual/sysinfo.texi: Likewise.
5217 * manual/syslog.texi: Likewise.
5218 * manual/terminal.texi: Likewise.
5219 * manual/time.texi: Likewise.
5220 * manual/users.texi: Likewise.
5221 * INSTALL: Regenerated.
5222 * NOTES: Regenerated.
d40c5d54 5223 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5224
450bf206
AS
52252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5226
5227 * include/dirent.h: Include <dirstream.h> before
5228 <dirent/dirent.h>.
5229
741a235b
DM
52302012-02-28 David S. Miller <davem@davemloft.net>
5231
5232 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5233 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5234 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5235 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5236
d6b5aa58
DM
52372012-02-27 David S. Miller <davem@davemloft.net>
5238
1aff59a3
DM
5239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5241 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5242 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5243
d6b5aa58
DM
5244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5245 frame pointer instead of stack pointer relative arg slot.
5246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5247 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5248 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5249
433f48bf
CD
52502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5251
5252 [BZ #3992]
5253 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5254
d674b76d
DM
52552012-02-27 David S. Miller <davem@davemloft.net>
5256
5257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5261 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5262 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5263 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5264 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5265
0e7727f7
JM
52662012-02-27 Joseph Myers <joseph@codesourcery.com>
5267
5268 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5269 later. Allow versions 5-9.
43be4ca2 5270 * configure: Regenerated.
0e7727f7
JM
5271 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5272 required minimum version and 4.6 as recommended version. Do not
5273 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5274 * INSTALL: Regenerated.
0e7727f7 5275
a78bc654
DM
52762012-02-27 David S. Miller <davem@davemloft.net>
5277
428d5830
DM
5278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5282 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5283 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5284 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5285 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5286
a78bc654
DM
5287 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5288 manipulate bits before adding and subtracting TWO112[sx].
5289 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5290
4579f81c
RM
52912012-02-27 Roland McGrath <roland@hack.frob.com>
5292
36c8acb4
RM
5293 [BZ #13775]
5294 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5295 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5296 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5297 being in POSIX, because they are in 1003.1-2008.
5298
84ad622b
RM
5299 * rt/tst-aio.c: Include <fcntl.h>.
5300 * rt/tst-aio7.c: Likewise.
5301 * rt/tst-aio64.c: Likewise.
5302
4579f81c
RM
5303 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5304
abd923db
JM
53052012-02-27 Joseph Myers <joseph@codesourcery.com>
5306
5307 * manual/install.texi (--with-headers): Describe headers as
5308 interface headers, not private headers.
5309 (Specific advice for GNU/Linux systems): Describe use of headers
5310 from "make headers_install", not private headers from older
5311 kernels.
43be4ca2 5312 * INSTALL: Regenerated.
abd923db
JM
5313 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5314 Change to 2.6.19.
5315 * sysdeps/unix/sysv/linux/configure: Regenerated.
5316
6664049b
JM
5317 * manual/llio.texi (fclean): Remove documentation.
5318
bb8b6697
JM
5319 * manual/Makefile (libc-texi-generated): New variable. Include
5320 version.texi.
5321 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5322 $(libc-texi-generated), not duplicated list of files.
5323 (version.texi, stamp-version): New rules.
5324 (realclean): Remove $(libc-texi-generated), not individual files
5325 from that list. Do not remove dir-add.texinfo.
5326 * manual/libc.texinfo: Comment out uses of edition numbers and
5327 references to printed manual. Remove last-updated dates.
5328 (EDITION): Comment out.
5329 (ISBN): Likewise.
5330 (VERSION, UPDATED): Remove.
5331 (version.texi): Include.
5332
12e5c3b9
AS
53332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5334
5335 * sysdeps/posix/spawni.c: Include <signal.h>.
5336 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5337 * sysdeps/pthread/aio_fsync.c: Likewise.
5338
4efeffc1 53392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5340
ba63ba08
UD
5341 * conform/Makefile (tests): Run only when not cross-compiling and
5342 when fast-check is not defined.
5343
d94a4670
UD
5344 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5345 * conform/data/limits.h-data: Fixes for POSIX2008.
5346 * conform/run-conformtest.sh: Run all tests.
5347 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5348 headers.
5349 * include/bits/dlfcn.h: Likewise.
5350 * include/langinfo.h: Likewise.
5351 * include/monetary.h: Likewise.
5352 * include/sys/poll.h: Likewise.
5353
5354 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5355 for __USE_GNU.
5356 * posix/spawn.h: Define __need_sigset_t.
5357 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5358 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5359 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5360 to get sigevent_t only.
5361 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5362 only for __USE_GNU.
5363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5364 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5365 process_vm_writev only for __USE_GNU.
5366 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5367
5368 * conform/Makefile: For now ignore errors from run-conformtest.
5369 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5370 POSIX to avoid namespace pollution. Don't prepend headers.
5371 * conform/data/aio.h-data: Fixes for POSIX testing.
5372 * conform/data/fcntl.h-data: Likewise.
5373 * conform/data/glob.h-data: Likewise.
5374 * conform/data/grp.h-data: Likewise.
5375 * conform/data/pthread.h-data: Likewise.
5376 * conform/data/pwd.h-data: Likewise.
5377 * conform/data/signal.h-data: Likewise.
5378 * conform/data/spawn.h-data: Likewise.
5379 * conform/data/stdio.h-data: Likewise.
5380 * conform/data/stdlib.h-data: Likewise.
5381 * conform/data/stropts.h-data: Likewise.
5382 * conform/data/sys/mman.h-data: Likewise.
5383 * conform/data/sys/stat.h-data: Likewise.
5384 * conform/data/sys/types.h-data: Likewise.
5385 * conform/data/sys/wait.h-data: Likewise.
5386 * conform/data/time.h-data: Likewise.
5387 * conform/data/unistd.h-data: Likewise.
5388 * conform/data/utime.h-data: Likewise.
5389
5390 * io/sys/stat.h: fchmod was always in POSIX.
5391 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5392 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5393 * rt/aio.h: Define __need_timespec before including <time.h>.
5394 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5395 struct. Add forward declaration of pthread_attr_t and use it in
5396 sigevent.
5397 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5399 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5400 always remove CLK_TCK definition.
5401
c20105c3
AS
54022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5403
5404 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5405
7a270350
UD
54062012-02-25 Ulrich Drepper <drepper@gmail.com>
5407
31341567
UD
5408 * conform/run-conformtest.sh: New file.
5409 * conform/Makefile: Run run-conformtest for tests.
5410 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5411 support.
5412
5413 * conform/data/uchar.h-data: New file.
5414 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5415 * conform/data/arpa/inet.h-data: Likewise.
5416 * conform/data/assert.h-data: Likewise.
5417 * conform/data/complex.h-data: Likewise.
5418 * conform/data/cpio.h-data: Likewise.
5419 * conform/data/ctype.h-data: Likewise.
5420 * conform/data/dirent.h-data: Likewise.
5421 * conform/data/dlfcn.h-data: Likewise.
5422 * conform/data/errno.h-data: Likewise.
5423 * conform/data/fcntl.h-data: Likewise.
5424 * conform/data/float.h-data: Likewise.
5425 * conform/data/fmtmsg.h-data: Likewise.
5426 * conform/data/fnmatch.h-data: Likewise.
5427 * conform/data/ftw.h-data: Likewise.
5428 * conform/data/glob.h-data: Likewise.
5429 * conform/data/grp.h-data: Likewise.
5430 * conform/data/iconv.h-data: Likewise.
5431 * conform/data/inttypes.h-data: Likewise.
5432 * conform/data/langinfo.h-data: Likewise.
5433 * conform/data/libgen.h-data: Likewise.
5434 * conform/data/limits.h-data: Likewise.
5435 * conform/data/locale.h-data: Likewise.
5436 * conform/data/math.h-data: Likewise.
5437 * conform/data/monetary.h-data: Likewise.
5438 * conform/data/mqueue.h-data: Likewise.
5439 * conform/data/ndbm.h-data: Likewise.
5440 * conform/data/net/if.h-data: Likewise.
5441 * conform/data/netdb.h-data: Likewise.
5442 * conform/data/netinet/in.h-data: Likewise.
5443 * conform/data/nl_types.h-data: Likewise.
5444 * conform/data/poll.h-data: Likewise.
5445 * conform/data/pthread.h-data: Likewise.
5446 * conform/data/pwd.h-data: Likewise.
5447 * conform/data/regex.h-data: Likewise.
5448 * conform/data/sched.h-data: Likewise.
5449 * conform/data/search.h-data: Likewise.
5450 * conform/data/semaphore.h-data: Likewise.
5451 * conform/data/setjmp.h-data: Likewise.
5452 * conform/data/signal.h-data: Likewise.
5453 * conform/data/spawn.h-data: Likewise.
5454 * conform/data/stdarg.h-data: Likewise.
5455 * conform/data/stdio.h-data: Likewise.
5456 * conform/data/stdlib.h-data: Likewise.
5457 * conform/data/string.h-data: Likewise.
5458 * conform/data/strings.h-data: Likewise.
5459 * conform/data/stropts.h-data: Likewise.
5460 * conform/data/sys/ipc.h-data: Likewise.
5461 * conform/data/sys/mman.h-data: Likewise.
5462 * conform/data/sys/msg.h-data: Likewise.
5463 * conform/data/sys/resource.h-data: Likewise.
5464 * conform/data/sys/select.h-data: Likewise.
5465 * conform/data/sys/sem.h-data: Likewise.
5466 * conform/data/sys/shm.h-data: Likewise.
5467 * conform/data/sys/socket.h-data: Likewise.
5468 * conform/data/sys/stat.h-data: Likewise.
5469 * conform/data/sys/statvfs.h-data: Likewise.
5470 * conform/data/sys/time.h-data: Likewise.
5471 * conform/data/sys/timeb.h-data: Likewise.
5472 * conform/data/sys/times.h-data: Likewise.
5473 * conform/data/sys/types.h-data: Likewise.
5474 * conform/data/sys/uio.h-data: Likewise.
5475 * conform/data/sys/un.h-data: Likewise.
5476 * conform/data/sys/utsname.h-data: Likewise.
5477 * conform/data/sys/wait.h-data: Likewise.
5478 * conform/data/syslog.h-data: Likewise.
5479 * conform/data/tar.h-data: Likewise.
5480 * conform/data/termios.h-data: Likewise.
5481 * conform/data/utime.h-data: Likewise.
5482 * conform/data/utmpx.h-data: Likewise.
5483 * conform/data/varargs.h-data: Likewise.
5484 * conform/data/wchar.h-data: Likewise.
5485 * conform/data/wctype.h-data: Likewise.
5486 * conform/data/wordexp.h-data: Likewise.
5487
5488 * include/stropts.h: New file.
5489 * include/uchar.h: New file.
5490 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5491 * include/assert.h: Likewise.
5492 * include/ctype.h: Likewise.
5493 * include/dirent.h: Likewise.
5494 * include/dlfcn.h: Likewise.
5495 * include/fcntl.h: Likewise.
5496 * include/fnmatch.h: Likewise.
5497 * include/glob.h: Likewise.
5498 * include/grp.h: Likewise.
5499 * include/libio.h: Likewise.
5500 * include/locale.h: Likewise.
5501 * include/math.h: Likewise.
5502 * include/net/if.h: Likewise.
5503 * include/netdb.h: Likewise.
5504 * include/netinet/in.h: Likewise.
5505 * include/pthread.h: Likewise.
5506 * include/pwd.h: Likewise.
5507 * include/regex.h: Likewise.
5508 * include/sched.h: Likewise.
5509 * include/search.h: Likewise.
5510 * include/setjmp.h: Likewise.
5511 * include/signal.h: Likewise.
5512 * include/stdio.h: Likewise.
5513 * include/stdlib.h: Likewise.
5514 * include/string.h: Likewise.
5515 * include/sys/cdefs.h: Likewise.
5516 * include/sys/mman.h: Likewise.
5517 * include/sys/msg.h: Likewise.
5518 * include/sys/resource.h: Likewise.
5519 * include/sys/select.h: Likewise.
5520 * include/sys/socket.h: Likewise.
5521 * include/sys/stat.h: Likewise.
5522 * include/sys/statvfs.h: Likewise.
5523 * include/sys/time.h: Likewise.
5524 * include/sys/times.h: Likewise.
5525 * include/sys/uio.h: Likewise.
5526 * include/sys/utsname.h: Likewise.
5527 * include/sys/wait.h: Likewise.
5528 * include/termios.h: Likewise.
5529 * include/time.h: Likewise.
5530 * include/ulimit.h: Likewise.
5531 * include/unistd.h: Likewise.
5532 * include/utime.h: Likewise.
5533 * include/wchar.h: Likewise.
5534 * include/wctype.h: Likewise.
5535 * include/wordexp.h: Likewise.
5536
5537 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5538
7a270350
UD
5539 * time/time.h: TIME_UTC must be a macro.
5540 Make timespec_get available for ISO C11 only as well.
5541
7724defc
UD
55422012-02-24 Ulrich Drepper <drepper@gmail.com>
5543
5544 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5545 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5546
6b1d1d46
JM
55472012-02-24 Joseph Myers <joseph@codesourcery.com>
5548
5549 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5550
0f8bbd69
JM
55512012-02-24 Joseph Myers <joseph@codesourcery.com>
5552
5553 * manual/texinfo.tex: Update to version 2012-01-19.16.
5554
66ab80bc
JM
55552012-02-24 Joseph Myers <joseph@codesourcery.com>
5556
5557 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5558
74981cc5
RM
55592012-02-24 Roland McGrath <roland@hack.frob.com>
5560
ee968201
RM
5561 [BZ #13738]
5562 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5563 * manual/fdl-1.3.texi: New file.
5564 * manual/fdl-1.1.texi: File removed.
5565
74981cc5
RM
5566 [BZ #13738]
5567 * manual/libc.texinfo (FDL_VERSION): New @set.
5568 Use it for mention of FDL in cover text.
5569 (Documentation License): Use it in @include file name.
5570
7bb764bc
JM
55712012-02-22 Joseph Myers <joseph@codesourcery.com>
5572 Roland McGrath <roland@hack.frob.com>
5573
5574 [BZ #5461]
5575 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5576 not LONG_LONG_MAX and LONG_LONG_MIN.
5577 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5578 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5579 name.
5580 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5581
6cbeae47
JM
55822012-02-22 Joseph Myers <joseph@codesourcery.com>
5583
5584 [BZ #2547]
5585 [BZ #11365]
5586 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5587 manipulate bits before adding and subtracting TWO23[sx].
5588 * math/libm-test.inc (nearbyint_test): Add more tests.
5589
fe45ce09
JM
55902012-02-22 Joseph Myers <joseph@codesourcery.com>
5591
5592 [BZ #2548]
5593 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5594 bits before adding and subtracting TWO23[sx].
5595 * math/libm-test.inc (rint_test): Add more tests.
5596 (rint_test_tonearest): Likewise.
5597 (rint_test_towardzero): Likewise.
5598 (rint_test_downward): Likewise.
5599 (rint_test_upward: Likewise.
5600
ff3b3d82
JM
56012012-02-22 Joseph Myers <joseph@codesourcery.com>
5602
5603 [BZ #10110]
5604 * include/stdc-predef.h: New file. Extracted from features.h.
5605 * include/features.h: Include stdc-predef.h.
5606 * Makefile (headers): Add stdc-predef.h.
5607 * CONFORMANCE (Compiler limitations): Update.
5608
ef0aab35
JM
56092012-02-22 Joseph Myers <joseph@codesourcery.com>
5610
5611 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5612
58639409
DM
56132012-02-21 David S. Miller <davem@davemloft.net>
5614
5615 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5616 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5617
c0e70b25
DM
56182012-02-20 David S. Miller <davem@davemloft.net>
5619
5620 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5621 using a normal save/restore sequence, rather than allocating a
5622 dummy stack frame just to store a frame pointer and restore.
5623 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5624
fb06851d
JM
56252012-02-21 Joseph Myers <joseph@codesourcery.com>
5626
5627 * manual/install.texi: Fix stray word in line-wrapped comment.
5628
7a8b71c3
DM
56292012-02-20 David S. Miller <davem@davemloft.net>
5630
d510c123
DM
5631 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5632 both binutils and gcc support GOTDATA.
5633
0722d7c2
DM
5634 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5635 "rd %pc" in the PIC register setup sequences.
5636
3d2b3019
DM
5637 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5638 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5639 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5640 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5641 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5642 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5643 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5644 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5645 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5646 (SYSCALL_ERROR_HANDLER): Likewise.
5647 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5648 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5649 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5650 (SYSCALL_ERROR_HANDLER): Likewise.
5651
c80098a9
DM
5652 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5653 (HAVE_GCC_GOTDATA): New.
5654 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5655 relocation support in both binutils and gcc.
5656 * sysdeps/sparc/elf/configure: Regenerate.
5657
3a2545a0
DM
5658 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5659 * sysdeps/sparc/sparc32/elf/configure: Delete.
5660 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5661 * sysdeps/sparc/sparc64/elf/configure: Delete.
5662 * sysdeps/sparc/elf/configure.in: New file.
5663 * sysdeps/sparc/elf/configure: Generate.
5664
7a8b71c3
DM
5665 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5666 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5667 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5668 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5669 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5670
f1e86fca
JM
56712012-02-21 Joseph Myers <joseph@codesourcery.com>
5672
5673 * manual/install.texi: Do not mention specific glibc version
5674 numbers.
5675 * manual/libc.texinfo (VERSION, UPDATED): Update.
5676 (@copying): Use @copyright{} and range of years.
5677
0e7dfaef
JM
56782012-02-21 Joseph Myers <joseph@codesourcery.com>
5679
5680 [BZ #13695]
5681 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5682 [crti.S not in sysdirs] (generated): Do not append.
5683 [crti.S not in sysdirs] (omit-deps): Likewise.
5684 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5685 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5686 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5687 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5688 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5689 Likewise.
5690 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5691 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5692 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5693 * csu/defs.awk: Remove file.
5694 * sysdeps/generic/initfini.c: Likewise.
5695 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5696 variable.
5697 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5698 Likewise.
5699
599af3ca
JM
57002012-02-20 Joseph Myers <joseph@codesourcery.com>
5701
5702 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5703 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5704 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5705 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5706 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5707 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5708 <bits/epoll.h>.
5709 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5710 (__EPOLL_PACKED): Define to empty if not defined by
5711 <bits/epoll.h>.
5712 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5714 bits/epoll.h.
5715
0e499750
JM
57162012-02-20 Joseph Myers <joseph@codesourcery.com>
5717
5718 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5719 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5720 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5721 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5722 <bits/timerfd.h>.
5723 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5725 bits/timerfd.h.
5726
5ad91f6e
JM
57272012-02-20 Joseph Myers <joseph@codesourcery.com>
5728
5729 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5730 in C locale.
5731 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5732 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5733 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5735
06b99b02
AJ
57362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5737
5738 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5739 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5740
7638c0fd
AS
57412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5742
5743 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5744 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5745 defined.
5746 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5747 Likewise.
5748 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5749 entry for 2.16.
5750
92221550
AJ
57512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5752
5753 * math/w_acos.c: Use non-signaling floating-point comparisons.
5754 * math/w_acosf.c: Likewise.
5755 * math/w_acosh.c: Likewise.
5756 * math/w_acoshf.c: Likewise.
5757 * math/w_acoshl.c: Likewise.
5758 * math/w_acosl.c: Likewise.
5759 * math/w_asin.c: Likewise.
5760 * math/w_asinf.c: Likewise.
5761 * math/w_asinl.c: Likewise.
5762 * math/w_atanh.c: Likewise.
5763 * math/w_atanhf.c: Likewise.
5764 * math/w_atanhl.c: Likewise.
5765 * math/w_exp2.c: Likewise.
5766 * math/w_exp2f.c: Likewise.
5767 * math/w_exp2l.c: Likewise.
5768 * math/w_j0.c: Likewise.
5769 * math/w_j0f.c: Likewise.
5770 * math/w_j0l.c: Likewise.
5771 * math/w_j1.c: Likewise.
5772 * math/w_j1f.c: Likewise.
5773 * math/w_j1l.c: Likewise.
5774 * math/w_jn.c: Likewise.
5775 * math/w_jnf.c: Likewise.
5776 * math/w_log.c: Likewise.
5777 * math/w_log10.c: Likewise.
5778 * math/w_log10f.c: Likewise.
5779 * math/w_log10l.c: Likewise.
5780 * math/w_log2.c: Likewise.
5781 * math/w_log2f.c: Likewise.
5782 * math/w_log2l.c: Likewise.
5783 * math/w_logf.c: Likewise.
5784 * math/w_logl.c: Likewise.
5785 * math/w_sqrt.c: Likewise.
5786 * math/w_sqrtf.c: Likewise.
5787 * math/w_sqrtl.c: Likewise.
5788 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5789 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5790 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5791 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5792 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5793
ebaf36eb
JM
57942012-02-19 Joseph Myers <joseph@codesourcery.com>
5795
5796 [BZ #9739]
5797 * manual/string.texi (strnlen): Use correct parameter name in
5798 equivalent expression.
5799
71c254a6
JM
58002012-02-19 Joseph Myers <joseph@codesourcery.com>
5801
5802 [BZ #11174]
5803 * manual/users.texi (seteuid): Consistently use neweuid for
5804 argument name.
5805
16d2c631
JM
58062012-02-19 Joseph Myers <joseph@codesourcery.com>
5807
5808 [BZ #13704]
5809 * manual/nss.texi (Services in the NSS configuration): Correct
5810 list of services in example configuration file.
5811
cd837b09
NB
58122012-02-19 Nick Bowler <nbowler@draconx.ca>
5813
5814 [BZ #11322]
5815 * manual/arith.texi: Remove statements about negative zero
5816 behaving identically to zero.
5817
02c4bbad
JM
58182012-02-18 Joseph Myers <joseph@codesourcery.com>
5819
5820 [BZ #5993]
5821 * manual/install.texi: Do not document upgrading from libc5.
5822
366842e7
JM
58232012-02-18 Joseph Myers <joseph@codesourcery.com>
5824
5825 [BZ #4596]
5826 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5827
dd54084d
DM
58282012-02-18 David S. Miller <davem@davemloft.net>
5829
5830 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5831 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5832 %o7 across the call.
5833 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5834 instead.
5835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5836 SETUP_PIC_REG_LEAF.
5837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5838 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5839 * sysdeps/sparc/crtn.S: Likewise.
5840
2bcc53a3
UD
58412012-02-17 Ulrich Drepper <drepper@gmail.com>
5842
5843 * aout/Makefile: Remove.
5844
09c093b5
RK
58452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5846
5847 [BZ #13058]
5848 * manual/examples/argp-ex1.c (main): Format definition in GNU
5849 style.
5850 * manual/examples/argp-ex2.c (main): Likewise.
5851 * manual/examples/argp-ex3.c (main): Likewise.
5852 * manual/examples/argp-ex4.c (main): Likewise.
5853 * manual/examples/longopt.c (main): Use new-style prototype
5854 definition.
5855 * manual/examples/strncat.c (main): Specify return type and use
5856 (void) for arguments.
5857 * manual/examples/subopt.c (main): Use char **argv argument.
5858
2ee633a2
JM
58592012-02-17 Joseph Myers <joseph@codesourcery.com>
5860
5861 [BZ #5077]
5862 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5863 rounding modes.
5864
0520adde
FB
58652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5866
5867 [BZ #6907]
5868 * manual/string.texi (strchr): Change when strchrnul is
5869 recommended.
5870
3f4081cd
DGM
58712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5872
5873 [BZ #174]
5874 * manual/locale.texi (setlocale): Document LOCPATH.
5875
d1b10e78
JM
58762012-02-17 Joseph Myers <joseph@codesourcery.com>
5877
5878 [BZ #10210]
5879 * manual/process.texi (execle): Move @dots{} before last argument.
5880
79c6869c
PB
58812012-02-17 Paul Bolle <pebolle@tiscali.nl>
5882
5883 [BZ #12047]
5884 * manual/charset.texi (Generic Charset Conversion): Fix typo
5885 (LC_TYPE -> LC_CTYPE).
5886
cc6e48bc
NB
58872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5888
5889 [BZ #5805]
5890 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5891 (scalbnf): Likewise.
5892 (scalbnl): Likewise.
5893 (scalbln): Likewise.
5894 (scalblnf): Likewise.
5895 (scalblnl): Likewise.
5896 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5897 (vwarnx): Likewise.
5898 (verr): Likewise.
5899 (verrx): Likewise.
5900 * manual/filesys.texi (telldir): Use braces around return type.
5901 * manual/llio.texi (mmap): Add space after comma.
5902 (mmap64): Likewise.
5903 * manual/math.texi (jn): Use @var{} on parameter names.
5904 (jnf): Likewise.
5905 (jnl): Likewise.
5906 (yn): Likewise.
5907 (ynf): Likewise.
5908 (ynl): Likewise.
5909 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5910 line.
5911 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5912 "...".
5913 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5914 (sched_get_priority_max): Likewise.
5915 * manual/signal.texi (sigvec): Add space after comma.
5916 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5917 names.
5918 (if_indextoname): Likewise.
5919 (if_freenameindex): Likewise.
5920 (sendto): Use ',' instead of '.' in prototype.
5921 * manual/startup.texi (syscall): Use @dots{} instead of literal
5922 "...".
5923 * manual/stdio.texi (__fpending): Separate initial words of
5924 paragraph from @deftypefun line.
5925 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5926 "...".
5927 (vsyslog): Use @var{} on parameter names.
5928 * manual/terminal.texi (stty): Use @var{} on parameter names.
5929 * manual/users.texi (getutmp): Use @var{} on parameter names.
5930 (getutmpx): Likewise.
5931
5b23062f
JM
59322012-02-17 Joseph Myers <joseph@codesourcery.com>
5933
5934 [BZ #6884]
5935 * manual/stdio.texi (fopen): Fix typos in description of
5936 ",ccs=STRING".
5937
8dee4833
AJ
59382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5939
5940 [BZ #4026]
5941 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5942 get clock_id definition.
5943
9078ce93
TS
59442012-02-17 Thomas Schwinge <thomas@schwinge.name>
5945
5946 [BZ #4822]
5947 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5948 (madvise): Cast every argument to void on its own.
5949
3835c55f
JM
59502012-02-17 Joseph Myers <joseph@codesourcery.com>
5951
5952 [BZ #9902]
5953 * manual/startup.texi (Exit Status): Fix typo.
5954
35c47e37
JM
59552012-02-17 Joseph Myers <joseph@codesourcery.com>
5956
5957 [BZ #10140]
5958 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5959 * manual/examples/argp-ex2.c: Likewise.
5960 * manual/examples/argp-ex3.c: Likewise.
5961
e3b69ca7
RH
59622012-02-16 Richard Henderson <rth@redhat.com>
5963
5964 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5965 * sysdeps/s390/s390-32/initfini.c: Remove.
5966 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5967 * sysdeps/s390/s390-64/initfini.c: Remove.
5968
df83af67
KK
59692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5970
5971 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5972 compiler output for sysdeps/generic/initfini.c.
5973 * sysdeps/sh/elf/initfini.c: Remove file.
5974
f63f3380
DM
59752012-02-16 David S. Miller <davem@davemloft.net>
5976
fb59b3a4
DM
5977 [BZ #11494]
5978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5979
f63f3380
DM
5980 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5981 * sysdeps/sparc/crti.S: New file.
5982 * sysdeps/sparc/crtn.S: New file.
5983 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5984 * sysdeps/sparc/sparc64/Makefile: Likewise.
5985
df6a4a4a
MF
59862012-02-15 Mike Frysinger <vapier@gentoo.org>
5987
6dd8f3dc 5988 [BZ #3335]
df6a4a4a
MF
5989 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5990
1cac7236
RM
59912012-02-15 Roland McGrath <roland@hack.frob.com>
5992
d2c736f8
RM
5993 [BZ #4822]
5994 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5995
1cac7236
RM
5996 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5997 (write, read, close): Likewise.
5998 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5999
8e475601
JM
60002012-02-15 Joseph Myers <joseph@codesourcery.com>
6001
6002 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6003 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6004 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6005 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6006 <bits/signalfd.h>.
6007 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6009 bits/signalfd.h.
6010
ed656b40
MP
60112012-02-14 Marek Polacek <polacek@redhat.com>
6012
6013 * sysdeps/x86_64/crti.S: New file.
6014 * sysdeps/x86_64/crtn.S: New file.
6015 * sysdeps/x86_64/elf/initfini.c: Remove file.
6016
2a979d3a
JM
60172012-02-13 Joseph Myers <joseph@codesourcery.com>
6018
6019 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6020 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6021 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6022 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6023 <bits/inotify.h>.
6024 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6026 bits/inotify.h.
6027
2a418ac3
JM
60282012-02-13 Joseph Myers <joseph@codesourcery.com>
6029
6030 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6031 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6032 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6033 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6034 <bits/eventfd.h>.
6035 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6036 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6037 bits/eventfd.h.
6038
fb779be7
TS
60392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6040
e19e83c5
RM
6041 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6042 __feraiseexcept instead of feraiseexcept.
7c35ffed 6043
fb779be7
TS
6044 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6045 nanosleep invocations.
6046 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6047 strings, and add error checking for a nanosleep invocations.
6048
59ba27a6
PE
60492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6050
6051 Replace FSF snail mail address with URLs, as per GNU coding standards.
6052 Most of the snail mail addresses were wrong anyway, and omitting
6053 them makes the source code easier to maintain. Almost all of the
6054 changes are to license notices and to locale LC_IDENTIFICATION
6055 addresses, except for this one:
6056 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6057 not its snail mail address.
6058
57b957eb
RH
60592012-02-09 Richard Henderson <rth@twiddle.net>
6060
af850b1c
RH
6061 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6062 of kernel-features.h.
6063
57b957eb
RH
6064 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6065
6b73181a
MP
60662012-02-08 Marek Polacek <polacek@redhat.com>
6067
6068 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6069 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6070 * sysdeps/gnu/_G_config.h: Likewise.
6071 * sysdeps/generic/_G_config.h: Likewise.
6072
26ecc33a
AS
60732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6074
6c6dbc63
AS
6075 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6076 tests.
6077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6078
e216c012
AS
6079 * sysdeps/powerpc/powerpc32/crti.S: New file.
6080 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6081 * sysdeps/powerpc/powerpc64/crti.S: New file.
6082 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6083
26ecc33a
AS
6084 * Makeconfig (have-initfini): Don't set.
6085 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6086 * configure.in (nopic_initfini): Don't substitute.
6087 * config.h.in (HAVE_INITFINI): Don't #undef.
6088 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6089 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6090
3add8e13
JM
60912012-02-08 Joseph Myers <joseph@codesourcery.com>
6092
6093 Support crti.S and crtn.S provided directly by architectures.
6094 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6095 [crti.S in sysdirs] (omit-deps): Likewise.
6096 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6097 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6098 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6099 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6100 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6101 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6102 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6103 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6104 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6105 compiler output for sysdeps/generic/initfini.c.
6106 * sysdeps/i386/elf/Makefile: Remove file.
6107 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6108
a22f12b4
MP
61092012-02-07 Marek Polacek <polacek@redhat.com>
6110
6111 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6112 * sysdeps/gnu/_G_config.h: Likewise.
6113 * sysdeps/mach/hurd/_G_config.h: Likewise.
6114
148cf100
MP
61152012-02-07 Marek Polacek <polacek@redhat.com>
6116
6117 * math/Makefile (tests): Add tst-CMPLX2.
6118 * math/tst-CMPLX2.c: New file.
6119
cfdc0dd7
AS
61202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6121
84ba42c4
AS
6122 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6123
cfdc0dd7
AS
6124 * math/libm-test.inc (jn_test): Add missing L suffix.
6125
622c86f4
MP
61262012-02-06 Marek Polacek <polacek@redhat.com>
6127
6128 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6129 * sysdeps/i386/fpu/e_powf.S: Likewise.
6130 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6131 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6132 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6133 * sysdeps/i386/fpu/e_pow.S: Likewise.
6134 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6135 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6136 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6137 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6138 * sysdeps/i386/fpu/e_log2.S: Likewise.
6139 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6140 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6141 * sysdeps/i386/fpu/e_powl.S: Likewise.
6142 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6143 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6144 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6145 * sysdeps/i386/fpu/e_logl.S: Likewise.
6146 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6147 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6148 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6149 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6150 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6151 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6152 * sysdeps/i386/fpu/e_log.S: Likewise.
6153 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6154 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6155 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6156 * sysdeps/i386/fpu/e_logf.S: Likewise.
6157 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6158 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6159 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6160 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6161 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6162 * sysdeps/i386/fpu/e_log10.S: Likewise.
6163 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6164 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6165 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6166 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6167 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6168 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6169 * sysdeps/i386/asm-syntax.h: Likewise.
6170 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6171 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6172 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6173 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6174 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6175 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6176 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6177 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6178 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6179 * sysdeps/powerpc/sysdep.h: Likewise.
6180 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6181 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6182
d4a54ac6
JM
61832012-02-06 Joseph Myers <joseph@codesourcery.com>
6184
6185 [BZ #411]
6186 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6187
314054ea
JM
61882012-02-06 Joseph Myers <joseph@codesourcery.com>
6189
6190 * sysdeps/i386/sysdep.h: Include <features.h>.
6191 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6192 version.
6193
d8e0ca50
JM
61942012-02-05 Joseph Myers <joseph@codesourcery.com>
6195
6196 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6197 Define.
6198 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6199 LOAD_PIC_REG_STR.
6200
b1da7dd9
JM
62012012-02-03 Joseph Myers <joseph@codesourcery.com>
6202
6203 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6204 (SETUP_PIC_REG): Use GET_PC_THUNK.
6205 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6206 macro.
6207
9a1d9254
JM
62082012-02-03 Joseph Myers <joseph@codesourcery.com>
6209
6210 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6211 for non-PIC compilation.
6212 (SETUP_PIC_REG): Add .p2align directive.
6213 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6214 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6215 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6216 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6217 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6218 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6219 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6220 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6221 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6222 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6223 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6224 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6225 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6226 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6227 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6228 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6229 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6230 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6231 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6232 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6233 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6234 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6235 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6236 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6237 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6239 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6240 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6241 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6242 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6243 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6244 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6245 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6246 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6247 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6248 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6249 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6250 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6251 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6252 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6253 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6254
65dc3b75
JM
62552012-02-03 Joseph Myers <joseph@codesourcery.com>
6256
6257 * math/tst-CMPLX.c: Include <stdio.h>.
6258
d55bf177
JM
62592012-01-31 Joseph Myers <joseph@codesourcery.com>
6260
6261 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6262 float.
6263 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6264 * sysdeps/sparc/bits/mathdef.h: Likewise.
6265
69db4f8f
MP
62662012-01-31 Marek Polacek <polacek@redhat.com>
6267
6268 * libio/libio.h: Don't define _PARAMS.
6269 * locale/programs/config.h: Don't define PARAMS.
6270 * stdlib/strtol_l.c: Likewise.
6271 (__strtol_l): Remove PARAMS from the prototype.
6272
41b81892
UD
62732012-01-31 Ulrich Drepper <drepper@gmail.com>
6274
3b49edc0
UD
6275 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6276 names. Just use the correct names. Remove unnecessary wrapper
6277 functions.
6278 * malloc/arena.c: Likewise.
6279 * malloc/hooks.c: Likewise.
6280
41b81892
UD
6281 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6282 ARENA_TEST says not to. Simplify test for creation of a new arena.
6283 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6284
27a25b6e
UD
62852012-01-30 Ulrich Drepper <drepper@gmail.com>
6286
6287 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6288 into tail calls.
6289 (update_get_addr): New function.
6290 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6291 GET_ADDR_MODULE parameter.
6292
c8a89e7d
JM
62932012-01-30 Joseph Myers <joseph@codesourcery.com>
6294
6295 * crypt/cert.c: Remove __STDC__ conditionals.
6296 * crypt/crypt-entry.c: Likewise.
6297 * crypt/crypt_util.c: Likewise.
6298 * libio/filedoalloc.c: Likewise.
6299 * libio/fileops.c: Likewise.
6300 * libio/genops.c: Likewise.
6301 * libio/iofclose.c: Likewise.
6302 * libio/iofdopen.c: Likewise.
6303 * libio/iofopen.c: Likewise.
6304 * libio/iofopen64.c: Likewise.
6305 * libio/iogetdelim.c: Likewise.
6306 * libio/iopopen.c: Likewise.
6307 * libio/obprintf.c: Likewise.
6308 * libio/oldfileops.c: Likewise.
6309 * libio/oldiofclose.c: Likewise.
6310 * libio/oldiofdopen.c: Likewise.
6311 * libio/oldiofopen.c: Likewise.
6312 * libio/oldiopopen.c: Likewise.
6313 * libio/wfiledoalloc.c: Likewise.
6314 * libio/wgenops.c: Likewise.
6315 * locale/programs/xmalloc.c: Likewise.
6316 * misc/syslog.c: Likewise.
6317 * stdio-common/xbug.c: Likewise.
6318 * string/memchr.c: Likewise.
6319 * string/memcmp.c: Likewise.
6320 * string/memrchr.c: Likewise.
6321 * string/rawmemchr.c: Likewise.
6322 * sysdeps/posix/getcwd.c: Likewise.
6323 * time/strftime_l.c: Likewise.
6324
3b100462
JM
63252012-01-30 Joseph Myers <joseph@codesourcery.com>
6326
6327 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6328 * config.make.in (config-cflags-sse2avx): Define.
6329 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6330 Fix typo.
6331
607998af
CM
63322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6333
6334 * scripts/config.guess: Update from upstream config git repository.
6335 * scripts/config.sub: Likewise.
6336
3601428f
CM
63372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6338
3ac8b282
CM
6339 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6340 (EM_NUM): Update.
6341 (R_TILEPRO_*, R_TILEGX_*): New macros.
6342
e034841e
CM
6343 * scripts/firstversions.awk: Fix bug in version range handling.
6344
540d7568
CM
6345 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6346
3601428f
CM
6347 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6348
463de862
CM
6349 * include/sys/epoll.h: New file.
6350 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6351 libc_hidden_def.
6352
73139a76
UD
63532012-01-28 Ulrich Drepper <drepper@gmail.com>
6354
96bc5b45
UD
6355 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6356 Avoid unnecessary __WORDSIZE == 64 test.
6357 (fmaxf): Use VEX format if possible.
6358 (fmax): Likewise.
6359 (fminf): Likewise.
6360 (fmin): Likewise.
6361
56f6f6a2
UD
6362 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6363 * math/math_private.h: Remove libc_fegetround* and
6364 libc_fesetround*.
6365 * sysdeps/i386/configure.in: Check for -msse2avx.
6366 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6367 also if SSE2AVX is defined.
6368 Remove libc_fegetround* and libc_fesetround*.
6369 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6370 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6371 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6372 of HAS_YMM_USABLE.
6373 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6374 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6375 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6376 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6378
73139a76
UD
6379 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6380
d73f93a4
AZ
63812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6382
6383 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6384 size is not set.
6385 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6386
6ee65ed6
UD
63872012-01-27 Ulrich Drepper <drepper@gmail.com>
6388
6389 [BZ #13618]
6390 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6391 relocation.
6392 * Makeconfig (libm): Define.
6393 * elf/Makefile: Add rules to build and run tst-relsort1.
6394 * elf/tst-relsort1.c: New file.
6395 * elf/tst-relsort1mod1.c: New file.
6396 * elf/tst-relsort1mod2.c: New file.
6397
8db21882
JM
63982012-01-27 Joseph Myers <joseph@codesourcery.com>
6399
6400 * math/s_ldexp.c: Remove __STDC__ conditionals.
6401 * math/s_ldexpf.c: Likewise.
6402 * math/s_ldexpl.c: Likewise.
6403 * math/s_nextafter.c: Likewise.
6404 * math/s_nexttowardf.c: Likewise.
6405 * math/s_significand.c: Likewise.
6406 * math/s_significandf.c: Likewise.
6407 * math/s_significandl.c: Likewise.
6408 * math/w_jnl.c: Likewise.
6409 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6410 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6411 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6412 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6413 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6415 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6416 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6418 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6425 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6428 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6429 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6430 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6431 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6432 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6433 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6434 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6435 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6436 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6437 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6438 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6439 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6440 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6441 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6442 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6443 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6444 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6445 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6446 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6447 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6448 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6449 * sysdeps/ieee754/k_standard.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6454 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6496 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6501 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6502 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6504 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6505 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6506 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6507 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6508 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6511 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6514 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6516 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6524 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6525 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6529 * sysdeps/ieee754/s_matherr.c: Likewise.
6530 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6531 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6534
965a54a4
JM
65352012-01-26 Joseph Myers <joseph@codesourcery.com>
6536
6537 * crypt/md5.h: Remove __STDC__ conditionals.
6538 * libio/libioP.h: Likewise.
6539 * locale/programs/config.h: Likewise.
6540 * sysdeps/generic/sysdep.h: Likewise.
6541 * sysdeps/i386/asm-syntax.h: Likewise.
6542 * sysdeps/s390/asm-syntax.h: Likewise.
6543 * sysdeps/unix/sysdep.h: Likewise.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6546
7071ad79
JM
65472012-01-26 Joseph Myers <joseph@codesourcery.com>
6548
6549 * libio/libio.h: Remove __STDC__ conditionals.
6550 * malloc/obstack.h: Likewise.
6551 * math/complex.h: Likewise.
6552 * math/math.h: Likewise.
6553 * sysdeps/generic/_G_config.h: Likewise.
6554 * sysdeps/gnu/_G_config.h: Likewise.
6555 * sysdeps/mach/hurd/_G_config.h: Likewise.
6556 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6557 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6558 * sysdeps/sparc/bits/mathdef.h: Likewise.
6559
afc5ed09
UD
65602012-01-26 Ulrich Drepper <drepper@gmail.com>
6561
6562 [BZ #13583]
6563 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6564 Clean up HAS_* macros.
afc5ed09 6565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6566 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6567 possible.
6568 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6569 HAS_AVX.
6570 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6571 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6572 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6573 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6574 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6575
bdb6de1d
JM
65762012-01-25 Joseph Myers <joseph@codesourcery.com>
6577
6578 * elf/tst-unique3.cc (gets): Remove declaration.
6579 * elf/tst-unique3lib.cc (gets): Likewise.
6580 * elf/tst-unique3lib2.cc (gets): Likewise.
6581 * elf/tst-unique4.cc (gets): Likewise.
6582
b15549e6
UD
65832012-01-24 Ulrich Drepper <drepper@gmail.com>
6584
6585 * include/stdio.h: Add C++ protection. Add gets declarations and
6586 definitions.
6587 * debug/tst-chk1.c: Don't declare gets here.
6588 * stdio-common/tst-gets.c: Likewise.
6589
a037381f
JM
65902012-01-24 Joseph Myers <joseph@codesourcery.com>
6591
6592 * posix/glob: Remove directory.
6593
f1d4aa75
JM
65942012-01-24 Joseph Myers <joseph@codesourcery.com>
6595
6596 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6597
81c0c964
PT
65982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6599
6600 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6601 of the non-standard EPFNOSUPPORT.
6602
0ea698ae
ST
66032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6604
6605 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6606 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6607 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6608
d220b117
UD
66092012-01-21 Ulrich Drepper <drepper@gmail.com>
6610
6611 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6612
3e1aa84e
UD
66132012-01-20 Ulrich Drepper <drepper@gmail.com>
6614
6615 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6616 transient errors.
6617 * nscd/grpcache.c (cache_addgr): Likewise.
6618 * nscd/hstcache.c (cache_addhst): Likewise.
6619 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6620 * nscd/pwdcache.c (cache_addpw): Likewise.
6621 * nscd/servicescache.c (cache_addserv): Likewise.
6622
400aa020
UD
66232012-01-16 Ulrich Drepper <drepper@gmail.com>
6624
d77e7869
UD
6625 * malloc/malloc.c: Various cleanups.
6626 * malloc/hooks.c: Likewise.
6627
400aa020
UD
6628 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6629 * stdlib/bug-fmtmsg1.c: New file.
6630
6631 * stdlib/fmtmsg.c (init): Add missing unlock.
6632 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6633
e0a309cf
MP
66342012-01-12 Marek Polacek <polacek@redhat.com>
6635
6636 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6637 and _GNU_SOURCE.
6638
929d11c7
WS
66392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6640
6641 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6642 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6643 macro to ensure uniqueness of label name.
6644 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6645 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6646
41d0e869
UD
66472012-01-11 Ulrich Drepper <drepper@gmail.com>
6648
0cc5ed3b
UD
6649 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6650
41d0e869
UD
6651 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6652 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6653 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6655
a47a831a
UD
66562012-01-10 Ulrich Drepper <drepper@gmail.com>
6657
daa891c0
UD
6658 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6659
6660 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6661 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6662 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6663
e58ef0f2
UD
6664 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6665
a47a831a 6666 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6667 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6668 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6669 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6670
6671 * math/bits/math-finite.h: Add ldexp support.
6672
a0bfc9c7
MP
66732012-01-10 Marek Polacek <polacek@redhat.com>
6674
6675 * locale/programs/localedef.h (show_archive_content): Add noreturn
6676 attribute.
6677
d6e97a1d
UD
66782012-01-09 Ulrich Drepper <drepper@gmail.com>
6679
6680 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6681
d5835c26
UD
66822012-01-08 Ulrich Drepper <drepper@gmail.com>
6683
e5f484c6
UD
6684 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6685
d5835c26
UD
6686 * io/Makefile (headers): Add bits/poll2.h.
6687
d1f741e9
WS
66882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6689
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6691 typo #include statement.
6692
ec09c1c4
UD
66932012-01-08 Ulrich Drepper <drepper@gmail.com>
6694
6695 * include/sys/cdefs.h: Define __attribute_alloc_size.
6696 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6697 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6698 * elf/pldd.c: Likewise.
6699 * iconv/iconv_charmap.c: Likewise.
6700 * iconv/iconvconfig.c: Likewise.
6701 * iconv/strtab.c: Likewise.
6702 * locale/programs/locale.c: Likewise.
6703 * locale/programs/localedef.h: Likewise.
6704 * locale/programs/simple-hash.c: Likewise.
6705 * nscd/nscd.h: Likewise.
6706 * nss/makedb.c: Likewise.
6707 * sysdeps/generic/ldconfig.h: Likewise.
6708 * locale/programs/localedef.c: Remove xmalloc prototype.
6709 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6710
20b38e03
PP
67112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6712
6713 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6714 appropriate.
6715
a0da5fe1
UD
67162012-01-08 Ulrich Drepper <drepper@gmail.com>
6717
1d5a644a 6718 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6719 * math/tst-CMPLX.c: New file.
1d5a644a 6720
8784a6db
UD
6721 * math/complex.h (CMPLXL): Fix typo.
6722
d9a216c0
UD
6723 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6724 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6725 GLIBC_2.16.
6726 * debug/tst-chk1.c: Add poll and ppoll tests.
6727 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6728 * include/sys/poll.h: Add hidden proto for ppoll.
6729 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6730 * sysdeps/mach/hurd/ppoll.c: Likewise.
6731 * io/ppoll.c: Likewise.
6732 * debug/poll_chk.c: New file.
6733 * debug/ppoll_chk.c: New file.
6734 * include/bits/poll2.h: New file.
6735 * io/bits/poll2.h: New file.
6736
ac097f5c
UD
6737 [BZ #1350]
6738 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6739
2119dcfa
UD
6740 * configure.in: static is always set to yes. Remove.
6741 * config.make.in: Don't set build-static.
6742 * Makeconfig: Remove use of build-static.
6743 * dlfcn/Makefile: Likewise.
6744 * elf/Makefile: Likewise.
6745 * math/Makefile: Likewise.
6746 * misc/Makefile: Likewise.
6747 * nptl/Makefile: Likewise.
6748 * sysdeps/mach/hurd/Makefile: Likewise.
6749
121766a9
UD
6750 * configure.in: PWD_P is not used anymore.
6751 * config.make.in: Remove PWD_P entry.
6752
51a1d39c 6753 * configure.in: Remove last remnants of RANLIB.
8720d066 6754 No need to check for signed size_t anymore.
215f4bdc
UD
6755 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6756 and IA-64.
3857022a 6757 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6758 * aclocal.m4: Likewise.
6759
d3ed7225
UD
6760 * wcsmbs/mbrtoc16.c: Implement using towc function.
6761 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6762 * wcsmbs/wcsmbsload.c: Likewise.
6763 * iconv/gconv_simple.c: Likewise.
6764 * iconv/gconv_int.h: Likewise.
6765 * iconv/gconv_builtin.h: Likewise.
6766 * iconv/iconv_prog.c: Remove CHAR16 handling.
6767
6768 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6769
6770 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6771
a0da5fe1
UD
6772 * configure.in: Remove --with-elf and --enable-bounded options.
6773 Dont set base_machine for ia64. More non-ELF conditions removed.
6774 Remove testing and setting of leading underscore information.
6775 * config.make.in (build-bounded): Set to no.
6776 * config.h.in: Remove NO_UNDERSCORES entry.
6777 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6778 them.
6779 * csu/start.c: Remove !NO_UNDERSCORE code.
6780 * locale/localeinfo.h: Likewise.
6781 * sysdeps/generic/machine-gmon.h: Likewise.
6782 * sysdeps/generic/sysdep.h: Likewise.
6783 * sysdeps/i386/sysdep.h: Likewise.
6784 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6785 * sysdeps/mach/sysdep.h: Likewise.
6786 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6788 * sysdeps/sh/sysdep.h: Likewise.
6789 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6790 * sysdeps/unix/i386/sysdep.S: Likewise.
6791 * sysdeps/unix/sparc/start.c: Likewise.
6792 * sysdeps/unix/sparc/sysdep.S: Likewise.
6793 * sysdeps/unix/sparc/sysdep.h: Likewise.
6794 * sysdeps/unix/start.c: Likewise.
6795 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6796 * sysdeps/x86_64/sysdep.h: Likewise.
6797
df78418a
UD
67982012-01-07 Ulrich Drepper <drepper@gmail.com>
6799
a784e502
UD
6800 [BZ #13553]
6801 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6802 for non-gcc.
6803 * argp/argp-fmtstream.h: Use const instead __const.
6804 * argp/argp.h: Likewise.
6805 * assert/assert.h: Likewise.
6806 * bits/fenv.h: Likewise.
6807 * bits/sched.h: Likewise.
6808 * bits/sigset.h: Likewise.
6809 * bits/sigthread.h: Likewise.
6810 * catgets/nl_types.h: Likewise.
6811 * conform/data/pthread.h-data: Likewise.
6812 * crypt/crypt-private.h: Likewise.
6813 * crypt/crypt.h: Likewise.
6814 * crypt/crypt_util.c: Likewise.
6815 * ctype/ctype.h: Likewise.
6816 * debug/execinfo.h: Likewise.
6817 * debug/mbsnrtowcs_chk.c: Likewise.
6818 * debug/mbsrtowcs_chk.c: Likewise.
6819 * debug/wcsnrtombs_chk.c: Likewise.
6820 * debug/wcsrtombs_chk.c: Likewise.
6821 * debug/wcstombs_chk.c: Likewise.
6822 * dirent/dirent.h: Likewise.
6823 * dlfcn/dlfcn.h: Likewise.
6824 * elf/neededtest4.c: Likewise.
6825 * grp/grp.h: Likewise.
6826 * gshadow/gshadow.h: Likewise.
6827 * iconv/gconv.h: Likewise.
6828 * iconv/gconv_int.h: Likewise.
6829 * iconv/gconv_simple.c: Likewise.
6830 * iconv/iconv.h: Likewise.
6831 * iconv/loop.c: Likewise.
6832 * iconv/skeleton.c: Likewise.
6833 * include/aio.h: Likewise.
6834 * include/aliases.h: Likewise.
6835 * include/argz.h: Likewise.
6836 * include/arpa/inet.h: Likewise.
6837 * include/assert.h: Likewise.
6838 * include/dirent.h: Likewise.
6839 * include/dlfcn.h: Likewise.
6840 * include/execinfo.h: Likewise.
6841 * include/fcntl.h: Likewise.
6842 * include/fenv.h: Likewise.
6843 * include/glob.h: Likewise.
6844 * include/grp.h: Likewise.
6845 * include/libintl.h: Likewise.
6846 * include/mntent.h: Likewise.
6847 * include/netdb.h: Likewise.
6848 * include/pwd.h: Likewise.
6849 * include/rpc/netdb.h: Likewise.
6850 * include/sched.h: Likewise.
6851 * include/search.h: Likewise.
6852 * include/shadow.h: Likewise.
6853 * include/signal.h: Likewise.
6854 * include/stdio.h: Likewise.
6855 * include/stdlib.h: Likewise.
6856 * include/string.h: Likewise.
6857 * include/sys/socket.h: Likewise.
6858 * include/sys/stat.h: Likewise.
6859 * include/sys/statfs.h: Likewise.
6860 * include/sys/statvfs.h: Likewise.
6861 * include/sys/syslog.h: Likewise.
6862 * include/sys/time.h: Likewise.
6863 * include/sys/uio.h: Likewise.
6864 * include/time.h: Likewise.
6865 * include/unistd.h: Likewise.
6866 * include/utmp.h: Likewise.
6867 * include/wchar.h: Likewise.
6868 * include/wctype.h: Likewise.
6869 * inet/aliases.h: Likewise.
6870 * inet/arpa/inet.h: Likewise.
6871 * inet/netinet/ether.h: Likewise.
6872 * inet/netinet/in.h: Likewise.
6873 * intl/libintl.h: Likewise.
6874 * io/bits/fcntl2.h: Likewise.
6875 * io/fcntl.h: Likewise.
6876 * io/ftw.h: Likewise.
6877 * io/sys/poll.h: Likewise.
6878 * io/sys/stat.h: Likewise.
6879 * io/sys/statfs.h: Likewise.
6880 * io/sys/statvfs.h: Likewise.
6881 * io/utime.h: Likewise.
6882 * libio/bits/stdio.h: Likewise.
6883 * libio/bits/stdio2.h: Likewise.
6884 * libio/libio.h: Likewise.
6885 * libio/libioP.h: Likewise.
6886 * libio/stdio.h: Likewise.
6887 * locale/lc-ctype.c: Likewise.
6888 * locale/locale.h: Likewise.
6889 * login/utmp.h: Likewise.
6890 * malloc/arena.c: Likewise.
6891 * malloc/malloc.c: Likewise.
6892 * malloc/malloc.h: Likewise.
6893 * malloc/mcheck.c: Likewise.
6894 * malloc/mtrace.c: Likewise.
6895 * math/bits/mathcalls.h: Likewise.
6896 * math/fenv.h: Likewise.
6897 * math/math_private.h: Likewise.
6898 * misc/bits/error.h: Likewise.
6899 * misc/bits/syslog.h: Likewise.
6900 * misc/err.h: Likewise.
6901 * misc/error.h: Likewise.
6902 * misc/fstab.h: Likewise.
6903 * misc/mntent.h: Likewise.
6904 * misc/regexp.h: Likewise.
6905 * misc/search.h: Likewise.
6906 * misc/sgtty.h: Likewise.
6907 * misc/sys/mman.h: Likewise.
6908 * misc/sys/syslog.h: Likewise.
6909 * misc/sys/uio.h: Likewise.
6910 * misc/sys/xattr.h: Likewise.
6911 * misc/ttyent.h: Likewise.
6912 * nis/rpcsvc/ypclnt.h: Likewise.
6913 * nss/nss.h: Likewise.
6914 * posix/bits/unistd.h: Likewise.
6915 * posix/fnmatch.h: Likewise.
6916 * posix/glob.h: Likewise.
6917 * posix/sched.h: Likewise.
6918 * posix/spawn.h: Likewise.
6919 * posix/sys/wait.h: Likewise.
6920 * posix/unistd.h: Likewise.
6921 * posix/wordexp.h: Likewise.
6922 * pwd/pwd.h: Likewise.
6923 * resolv/netdb.h: Likewise.
6924 * resource/sys/resource.h: Likewise.
6925 * rt/aio.h: Likewise.
6926 * rt/bits/mqueue2.h: Likewise.
6927 * rt/mqueue.h: Likewise.
6928 * shadow/shadow.h: Likewise.
6929 * signal/signal.h: Likewise.
6930 * socket/send.c: Likewise.
6931 * socket/sendto.c: Likewise.
6932 * socket/sys/socket.h: Likewise.
6933 * stdio-common/printf.h: Likewise.
6934 * stdlib/bits/stdlib.h: Likewise.
6935 * stdlib/fmtmsg.h: Likewise.
6936 * stdlib/monetary.h: Likewise.
6937 * stdlib/stdlib.h: Likewise.
6938 * stdlib/ucontext.h: Likewise.
6939 * streams/stropts.h: Likewise.
6940 * string/argz.h: Likewise.
6941 * string/bits/string2.h: Likewise.
6942 * string/string.h: Likewise.
6943 * string/strings.h: Likewise.
6944 * sunrpc/rpc/auth.h: Likewise.
6945 * sunrpc/rpc/auth_des.h: Likewise.
6946 * sunrpc/rpc/clnt.h: Likewise.
6947 * sunrpc/rpc/netdb.h: Likewise.
6948 * sunrpc/rpc/pmap_clnt.h: Likewise.
6949 * sunrpc/rpc/xdr.h: Likewise.
6950 * sysdeps/generic/inttypes.h: Likewise.
6951 * sysdeps/generic/net/if.h: Likewise.
6952 * sysdeps/generic/sys/swap.h: Likewise.
6953 * sysdeps/gnu/net/if.h: Likewise.
6954 * sysdeps/gnu/utmpx.h: Likewise.
6955 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6956 * sysdeps/i386/i486/bits/string.h: Likewise.
6957 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6958 * sysdeps/s390/bits/string.h: Likewise.
6959 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6960 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6961 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6962 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6963 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6964 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6965 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6966 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6967 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6968 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6969 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6970 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6971 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6972 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6973 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6974 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6975 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6977 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6978 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6979 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6980 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6981 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6982 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6983 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6984 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6985 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6986 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6987 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6988 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6989 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6990 * sysvipc/sys/ipc.h: Likewise.
6991 * sysvipc/sys/msg.h: Likewise.
6992 * sysvipc/sys/sem.h: Likewise.
6993 * sysvipc/sys/shm.h: Likewise.
6994 * termios/termios.h: Likewise.
6995 * time/sys/time.h: Likewise.
6996 * time/time.h: Likewise.
6997 * wcsmbs/bits/wchar2.h: Likewise.
6998 * wcsmbs/uchar.h: Likewise.
6999 * wcsmbs/wchar.h: Likewise.
7000 * wctype/wctype.h: Likewise.
7001
0269750c
UD
7002 [BZ #13551]
7003 * Makeconfig: Remove all but ELF support including AIX support.
7004 * Makerules: Likewise.
7005 * config.h.in: Likewise.
7006 * config.make.in: Likewise.
7007 * configure: Likewise.
7008 * configure.in: Likewise.
7009 * csu/Makefile: Likewise.
7010 * csu/version.c: Likewise.
7011 * debug/Makefile: Likewise.
7012 * dlfcn/Makefile: Likewise.
7013 * elf/Makefile: Likewise.
7014 * extra-lib.mk: Likewise.
7015 * iconv/Makefile: Likewise.
7016 * include/libc-symbols.h: Likewise.
7017 * include/shlib-compat.h: Likewise.
7018 * resolv/Makefile: Likewise.
7019 * resolv/res_libc.c: Likewise.
7020 * rt/Makefile: Likewise.
7021 * sysdeps/i386/asm-syntax.h: Likewise.
7022 * sysdeps/i386/sysdep.h: Likewise.
7023 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7024 * sysdeps/mach/sysdep.h: Likewise.
7025 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7026 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7027 * sysdeps/s390/asm-syntax.h: Likewise.
7028 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7029 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7030 * sysdeps/sh/sysdep.h: Likewise.
7031 * sysdeps/unix/sparc/sysdep.h: Likewise.
7032 * sysdeps/wordsize-32/divdi3.c: Likewise.
7033 * sysdeps/x86_64/sysdep.h: Likewise.
7034
00bbd29b
UD
7035 * argp/Versions: Remove _argp_unlock_xxx.
7036
7037 [BZ #13559]
7038 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7039 * abilist/libBrokenLocale.abilist: Likewise.
7040 * abilist/libanl.abilist: Likewise.
7041 * abilist/libc.abilist: Likewise.
7042 * abilist/libcrypt.abilist: Likewise.
7043 * abilist/libdl.abilist: Likewise.
7044 * abilist/libm.abilist: Likewise.
7045 * abilist/libnsl.abilist: Likewise.
7046 * abilist/libpthread.abilist: Likewise.
7047 * abilist/libresolv.abilist: Likewise.
7048 * abilist/librt.abilist: Likewise.
7049 * abilist/libthread_db.abilist: Likewise.
7050 * abilist/libutil.abilist: Likewise.
7051 * abilist/libnss_db.abilist: New file.
7052
7053 * scripts/abilist.awk: Add support for indirect functions.
7054
a2693a0e
UD
7055 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7056
3f05895f
UD
7057 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7058
ecb6fb48
UD
7059 * shlib-versions: Remove entries for ports architectures.
7060
664f8cb9
UD
7061 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7062 files in ports.
7063 * elf/stackguard-macros.h: Remove support for IA-64.
7064 * elf/tst-auditmod1.c: Likewise.
7065 * sysdeps/generic/ldsodefs.h: Likewise.
7066
7ae81d88
UD
7067 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7068 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7069 configure files.
7070
bdeba135
UD
7071 [BZ #13552]
7072 * configure.in: Remove --enable-omitfp support.
7073 * FAQ.in: Adjust.
7074 * config.make.in: Likewise.
7075 * Makeconfig: Likewise.
7076 * manual/install.texi: Likewise.
7077
d75a0a62
UD
7078 In case anyone cares, the IA-64 architecture could move to ports.
7079 * sysdeps/ia64/*: Removed.
7080 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7081 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7082
dcc9756b
UD
7083 [BZ #13555]
7084 * configure.in: Remove entries for unsupported architectures.
7085
d3761ebc 7086 [BZ #13533]
9954432e
UD
7087 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7088 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7089 routines.
7090 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7091 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7092 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7093 fall back to using wcrtomb.
7094 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7095 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7096 renaming.
7097 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7098 * wcsmbs/tst-c16c32-1.c: New file.
7099
7100 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7101 local variable.
7102
c3a87236
UD
7103 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7104
28926a1b
UD
7105 * elf/tst-unique3.cc: Add explicit declaration of gets.
7106 * elf/tst-unique3lib.cc: Likewise.
7107 * elf/tst-unique3lib2.cc: Likewise.
7108 * elf/tst-unique4.cc: Likewise.
7109
df78418a
UD
7110 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7111
8ecd6b2a
JM
71122012-01-06 Joseph Myers <joseph@codesourcery.com>
7113
7114 [BZ #13566]
7115 * assert/assert.h (static_assert): Don't define for C++.
7116 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7117 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7118
9f115170
UD
71192012-01-03 Ulrich Drepper <drepper@gmail.com>
7120
5e0d0300
UD
7121 * iconv/loop.c (single loop): Fix assertion in storing of
7122 remaining bytes.
7123
9f115170
UD
7124 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7125
81fb02b0
UD
71262012-01-01 Ulrich Drepper <drepper@gmail.com>
7127
7128 * posix/getconf.c: Update copyright year.
7129 * nss/getent.c: Likewise.
a316c1f6 7130 * nss/makedb.c: Likewise.
81fb02b0
UD
7131 * iconv/iconvconfig.c: Likewise.
7132 * iconv/iconv_prog.c: Likewise.
7133 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7134 * elf/pldd.c: Likewise.
7135 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7136 * catgets/gencat.c: Likewise.
7137 * csu/version.c: Likewise.
7138 * elf/ldd.bash.in: Likewise.
7139 * elf/sprof.c (print_version): Likewise.
7140 * locale/programs/locale.c: Likewise.
7141 * locale/programs/localedef.c: Likewise.
a316c1f6 7142 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7143 * nscd/nscd.c (print_version): Likewise.
7144 * debug/xtrace.sh: Likewise.
7145 * malloc/memusage.sh: Likewise.
7146 * malloc/mtrace.pl: Likewise.
7147 * debug/catchsegv.sh: Likewise.
7148
2ba92745
JJ
71492011-12-30 Jakub Jelinek <jakub@redhat.com>
7150
7151 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7152 pure attribute.
7153
dadebdae
UD
71542011-12-24 Ulrich Drepper <drepper@gmail.com>
7155
d3761ebc 7156 [BZ #13533]
db6af3eb
UD
7157 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7158 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7159 transformations.
7160 * iconv/gconv_int.h: Likewise.
7161 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7162 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7163 from libc for GLIBC_2.16.
7164 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7165 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7166 * wcsmbs/uchar.h: Really define mbstate_t.
7167 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7168 * wcsmbs/c16rtomb.c: New file.
7169 * wcsmbs/mbrtoc16.c: New file.
7170 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7171 for C/POSIX locale.
7172 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7173 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7174
dadebdae
UD
7175 * wcsmbs/wchar.h: Add missing __restrict.
7176
67371b56
UD
71772011-12-23 Ulrich Drepper <drepper@gmail.com>
7178
74033a25
UD
7179 [BZ #13532]
7180 * time/Makefile (routines): Add timespec_get.
7181 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7182 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7183 timespec for ISO C11.
7184 * time/timespec_get.c: New file.
7185 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7186 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7187
380d7e87
UD
7188 [BZ #13531]
7189 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7190 * stdlib/stdlib.h: Declare aligned_alloc.
7191 * Versions.def: Add GLIBC_2.16 for libc.
7192 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7193
4e9e7a35
UD
7194 [BZ 13527]
7195 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7196 ISO C11.
7197
380d7e87 7198 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7199 code.
7200
03a71829
UD
7201 [BZ #13528]
7202 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7203
839e283e
UD
7204 [BZ #13529]
7205 * assert/assert.h (static_assert): Define.
7206
ce5294e2 7207 * version.h: Update for 2.16 development version.
90fa7312 7208
8d44e150 7209 [BZ #13526]
d7809905
UD
7210 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7211 _ISOC11_SOURCE.
7212
c0da14cd
UD
7213 * version.h (RELEASE): Bump for 2.15 release.
7214 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7215
530a3249
MP
7216 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7217 Patch by Marek Polacek <mpolacek@redhat.com>.
7218
67371b56
UD
7219 * bits/byteswap.h: Protect long long constants with __extension__.
7220 * sysdeps/i386/bits/byteswap.h: Likewise.
7221 * sysdeps/ia64/bits/byteswap.h: Likewise.
7222 * sysdeps/s390/bits/byteswap.h: Likewise.
7223 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7224
15db4de1
LD
72252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7226
7227 [BZ #13540]
bbe315ea
LD
7228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7229 destination buffer.
15db4de1
LD
7230 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7231
2b2596b1
MP
72322011-12-23 Marek Polacek <polacek@redhat.com>
7233
7234 * elf/dl-addr.c (determine_info): Add inline keyword.
7235 * elf/tst-auditmod4b.c (check_avx): Likewise.
7236 * elf/tst-auditmod6b.c (check_avx): Likewise.
7237 * elf/tst-auditmod6c.c (check_avx): Likewise.
7238 * elf/tst-auditmod7b.c (check_avx): Likewise.
7239
70c6c246
UD
72402011-12-23 Ulrich Drepper <drepper@gmail.com>
7241
7242 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7243 !__SSE_MATH__.
7244
c044cf14
LD
72452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7246
15db4de1 7247 [BZ #13540]
c044cf14
LD
7248 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7249 processing for last bytes.
7250
6b13d9d9
BH
72512011-08-06 Bruno Haible <bruno@clisp.org>
7252
d455f537
BH
7253 [BZ #13061]
7254 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7255 U+0385, not to U+1FEE.
7256
6b13d9d9
BH
7257 [BZ #13062]
7258 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7259 entry for U+00A5 U+0301.
7260
db910efd
UD
72612011-12-22 Ulrich Drepper <drepper@gmail.com>
7262
27deeafc
UD
7263 [BZ #13166]
7264 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7265 buffer for the output is too small.
7266
aed9d171
UD
7267 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7268 optimization.
7269
db910efd
UD
7270 [BZ #13185]
7271 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7272 SSE flags if possible.
7273
2bd779ae
LD
72742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7275
e7f9dac3 7276 [BZ #13540]
2bd779ae
LD
7277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7278 processing for last bytes.
7279
154bfc16
JM
72802011-12-22 Joseph Myers <joseph@codesourcery.com>
7281
7282 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7283 (syscall-list-default-options, syscall-list-default-condition)
7284 (syscall-list-includes): Define.
7285 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7286 list of ABIs and options and #if conditions for each ABI. Do not
7287 handle common syscalls between ABIs specially.
7288 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7289 Remove.
7290 (syscall-list-variants, syscall-list-32bit-options)
7291 (syscall-list-32bit-condition, syscall-list-64bit-options)
7292 (syscall-list-64bit-condition): Define.
7293 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7294 (syscall-list-variants, syscall-list-32bit-options)
7295 (syscall-list-32bit-condition, syscall-list-64bit-options)
7296 (syscall-list-64bit-condition): Define.
7297 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7298 Remove.
7299 (syscall-list-variants, syscall-list-32bit-options)
7300 (syscall-list-32bit-condition, syscall-list-64bit-options)
7301 (syscall-list-64bit-condition): Define.
7302 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7303 Remove.
7304 (syscall-list-variants, syscall-list-32bit-options)
7305 (syscall-list-32bit-condition, syscall-list-64bit-options)
7306 (syscall-list-64bit-condition): Define.
7307
21eaf3a5
UD
73082011-12-22 Ulrich Drepper <drepper@gmail.com>
7309
16c6f992
UD
7310 * locale/iso-639.def: Add brx entry.
7311
41043168
UD
7312 [BZ #13328]
7313 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7314 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7315
21eaf3a5
UD
7316 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7317 __feraiseexcept_renamed.
7318
e3a851a2
UD
73192011-12-21 Ulrich Drepper <drepper@gmail.com>
7320
4920765e
UD
7321 [BZ #13538]
7322 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7323 EPOLLET with unsigned values.
7324 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7325 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7326
e3a851a2
UD
7327 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7328 to large cancellation.
7329 * math/s_cacoshf.c: Likewise.
7330 * math/s_cacoshl.c: Likewise.
7331
b27e24b8
RK
73322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7333
7334 [BZ #13305]
aebefeee 7335 [BZ #12786]
b27e24b8
RK
7336 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7337 * math/s_cacoshf.c: Likewise.
7338 * math/s_cacoshl.c: Likewise.
7339
ee190f67
UD
73402011-12-21 Ulrich Drepper <drepper@gmail.com>
7341
7342 [BZ #13439]
7343 * iconv/gconv.h: Define __GCONV_SWAP.
7344 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7345 * iconvdata/utf-16.c: Likewise.
7346 * iconvdata/utf-32.c: Likewise.
7347
707f25df
AS
73482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7349
7350 [BZ #13524]
7351 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7352 numerator after shifting it by one limb.
7353
d2daaa1e
RÁE
73542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7355
7356 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7357 under [__USE_EXTERN_INLINES].
7358
a4647e72
UD
73592011-12-17 Ulrich Drepper <drepper@gmail.com>
7360
7361 [BZ #13446]
7362 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7363
f0b264f1
AZ
73642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7365
7366 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7367 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7368 optimized code.
7369 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7370 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7371 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7372 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7373 for strncasecmp/strncasecmp_l compilation.
7374 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7375 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7376
8ef4f244
MP
73772011-12-08 Marek Polacek <mpolacek@redhat.com>
7378
7379 [BZ #13484]
7380 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7381 of __asm__.
7382
97ac2654
UD
73832011-12-17 Ulrich Drepper <drepper@gmail.com>
7384
7385 [BZ #13506]
7386 * time/tzfile.c (__tzfile_read): Check values from file header.
7387
91d2a845
WS
73882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7389
7390 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7391 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7392 * powerpc/powerpc32/dl-start.S: Likewise.
7393 * powerpc/powerpc32/elf/start.S: Likewise.
7394 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7395 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7396 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7397 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7398 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7399 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7400 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7401 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7402 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7403 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7404 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7405 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7406 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7407 * powerpc/powerpc32/memset.S: Likewise.
7408 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7409 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7410 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7411 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7412 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7413 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7414 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7415 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7416 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7417 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7418 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7419 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7420 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7421
a1267ba1
AZ
74222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7423
7424 * math/libm-test.inc: Added more nearbyint tests.
7425 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7426 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7428 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7429
ad8ac1bd
RL
74302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7431
7432 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7433 FD_CLOEXEC.
7434
1d3e4b61
UD
74352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7436
7437 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7438 Add wcscpy-ssse3 wcscpy-c.
7439 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7440 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7441 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7442 * sysdeps/x86_64/wcschr.S: New file.
7443 * sysdeps/x86_64/wcsrchr.S: New file.
7444 * string/test-strcmp.c: Remove checking of wcscmp function for
7445 wrong alignments.
7446 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7447 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7448 wcsrchr-sse2 wcsrchr-c.
7449 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7450 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7451 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7452 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7453 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7454 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7455 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7456 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7457 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7458 * wcsmbc/wcschr.c (WCSCHR): New macro.
7459
5b330a2d
UD
74602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7461
7462 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7463 * wcsmbs/test-wcsrchr.c: New file.
7464 * string/test-strrchr.c: Add wcsrchr support.
7465 (WIDE): New macro.
7466 * wcsmbs/test-wcscpy.c: New file.
7467 * string/test-strcpy.c: Add wcscpy support.
7468 (WIDE): New macro.
26428b7c 7469
f039c043
UD
74702011-12-10 Ulrich Drepper <drepper@gmail.com>
7471
7472 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7473 the inner loop.
7474
850fb039
AS
74752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7476
7477 [BZ #13472]
7478 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7479
4efbd5cb
UD
74802011-12-04 Ulrich Drepper <drepper@gmail.com>
7481
52ff5dd0 7482 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7483 Minor optimizations.
52ff5dd0 7484
4efbd5cb
UD
7485 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7486 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7487 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7488
8a426e12
UD
74892011-12-03 Ulrich Drepper <drepper@gmail.com>
7490
aff2453d
UD
7491 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7492 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7493 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7494 for gcc to avoid warnings.
7495 * inet/Makefile (tests): Add tst-checks.
7496 * inet/tst-checks.c: New file.
7497
7498 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7499 warning.
7500
7501 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7502 __wmemcmp_sse2.
7503
7504 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7505 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7506
8a426e12
UD
7507 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7508
9bea3473
UD
75092011-12-02 Ulrich Drepper <drepper@gmail.com>
7510
3a965496
UD
7511 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7512 problem.
7513
9bea3473
UD
7514 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7515
f101631b
UD
75162011-11-29 Joseph Myers <joseph@codesourcery.com>
7517
7518 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7519 conditional on GCC version.
7520 (__arch_compare_and_exchange_val_8_acq)
7521 (__arch_compare_and_exchange_val_16_acq)
7522 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7523 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7524 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7525
a98275aa
UD
75262011-12-02 Joseph Myers <joseph@codesourcery.com>
7527
7528 * sysdeps/sh/backtrace.c: New file.
7529
d4cc29a2
AS
75302011-12-02 Andreas Schwab <schwab@redhat.com>
7531
7532 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7533 parenthesis.
7534
6257af2d
AS
75352011-12-01 Andreas Schwab <schwab@redhat.com>
7536
7537 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7538 falling back to utime.
7539
b5f44c1a
AS
75402011-11-30 Andreas Schwab <schwab@redhat.com>
7541
7542 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7543 expectations for float.
7544
f3a6cc0a
AS
75452011-11-29 Andreas Schwab <schwab@redhat.com>
7546
7547 * locale/weight.h (findidx): Add parameter len.
7548 * locale/weightwc.h (findidx): Likewise.
7549 * posix/fnmatch_loop.c (FCT): Adjust caller.
7550 * posix/regcomp.c (build_equiv_class): Likewise.
7551 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7552 * posix/regexec.c (check_node_accept_bytes): Likewise.
7553 * string/strcoll_l.c (STRCOLL): Likewise.
7554 * string/strxfrm_l.c (STRXFRM): Likewise.
7555
9d65ea3a
UD
75562011-11-17 Ulrich Drepper <drepper@gmail.com>
7557
7558 * Makefile.in: Remove CVSOPT handling.
7559 * configure.in: Remove use of AC_REVISION.
7560 * iconvdata/Makefile (distribute): No need to filter out CVS.
7561 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7562 handling.
7563
5583a086
AS
75642011-11-16 Andreas Schwab <schwab@redhat.com>
7565
7566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7567 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7568 [USE_AS_STRNCASECMP_L]: Likewise.
7569 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7570 NO_TLS_DIRECT_SEG_REFS.
7571 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7572 Fix argument offsets for non-PIC.
7573 [USE_AS_STRNCASECMP_L]: Likewise.
7574 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7575 NO_TLS_DIRECT_SEG_REFS.
7576
d62a8200
UD
75772011-11-15 Ulrich Drepper <drepper@gmail.com>
7578
9d65ea3a 7579 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7580 O_CLOEXEC.
7581 * locale/loadlocale.c (_nl_load_locale): Likewise.
7582
09f93bd3
AS
75832011-11-15 Andreas Schwab <schwab@redhat.com>
7584
446514f9
AS
7585 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7586 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7587 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7588 (SYSCALL_GETTIME): Set errno on error.
7589
09f93bd3
AS
7590 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7591 count references to noai6ai_cached.
7592
312be3f9
UD
75932011-11-15 Ulrich Drepper <drepper@gmail.com>
7594
7595 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7596
7597 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7598 FD_CLOEXEC for /proc/self/maps.
7599
7600 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7601 FD_CLOEXEC for /proc/meminfo.
7602
7603 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7604 gai.conf.
7605
7606 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7607 FD_CLOEXEC for given file.
7608
7609 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7610
7611 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7612 FD_CLOEXEC for /etc/hosts.
7613 (_gethtent): Likewise.
7614
7615 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7616
7617 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7618 cancellation and set FD_CLOEXEC for /etc/netgroup.
7619
7620 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7621 reading /etc/publickey.
7622
7623 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7624 allow cancellation when reading /etc/group.
7625
7626 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7627 cancellation.
7628 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7629
7630 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7631 when using data file.
7632
7633 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7634
7635 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7636 (write_nis_obj): Use "c" and "e" in fopen.
7637
7638 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7639
7640 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7641
7642 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7643
7644 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7645
7646 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7647 locale.alias.
7648
7649 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7650
7651 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7652
7653 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7654
7655 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7656 file parsing and set FD_CLOEXEC.
7657
82af0fa8
UD
76582011-11-14 Ulrich Drepper <drepper@gmail.com>
7659
7660 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7661
a5fb313c
AS
76622011-11-14 Andreas Schwab <schwab@redhat.com>
7663
7664 * malloc/arena.c (arena_get2): Don't call reused_arena when
7665 _int_new_arena failed.
7666
6abf3465
UD
76672011-11-14 Ulrich Drepper <drepper@gmail.com>
7668
7669 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7670 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7671 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7672 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7673 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7674 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7675 to compile strcasecmp and strncasecmp.
7676 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7677 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7678
7679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7680
76e3966e
UD
76812011-11-13 Ulrich Drepper <drepper@gmail.com>
7682
7683 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7684 locale-defines.sym to gen-as-const-headers.
7685 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7686 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7687 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7688 to compile strcasecmp and strncasecmp.
7689 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7690 strcasecmp_l and strncasecmp_l.
7691 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7692 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7693 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7694 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7695 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7696 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7697 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7698 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7699 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7700 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7701 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7702
ab26144e
UD
77032011-11-12 Ulrich Drepper <drepper@gmail.com>
7704
7edb22ef
UD
7705 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7706 result of SYSDEP_GETTIME_CPU to retval.
7707 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7708 parameter list to macro. Remove trailing semicolon. Adjust users.
7709
9694fc44
UD
7710 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7711 variable.
7712
8ad89ef8
UD
7713 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7714 mantissa words.
7715 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7716
0c822ef9
UD
7717 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7718 from unused variable.
7719
874e0564
UD
7720 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7721 DWARF definitions.
7722 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7723 for assembling.
7724
3a2edc79
UD
7725 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7726 over namespaces.
7727
f3c2577f
UD
7728 * sunrpc/rpc_prot.c (rejected): Fix case value.
7729
294ce126
UD
7730 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7731 unsigned long long int to avoid warnings in shift.
7732
5e2b63c6
UD
7733 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7734 of use of trans.
7735 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7736 variable tmp.
7737
e7f4b08e
UD
7738 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7739 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7740 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7741
ab26144e
UD
7742 * nis/nis_table.c (nis_list): Use variable of correct type for
7743 result of __follow_path call.
7744
8a6d5255
AZ
77452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7746
7747 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7748 of math functions ceil, trunc, floor, round, and sqrt, when
7749 avaliable on the platform.
7750 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7751 name clash.
7752 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7753 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7754 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7755
aaddc98c
MP
77562011-10-30 Marek Polacek <mpolacek@redhat.com>
7757
7758 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7759 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7760
95b7042b
RM
77612011-11-11 Roland McGrath <roland@hack.frob.com>
7762
7763 * include/unistd.h: Fix __readlink return type.
7764 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7765
57769839
UD
77662011-11-11 Ulrich Drepper <drepper@gmail.com>
7767
7768 * stdlib/ucontext.h: Undo last change for makecontext.
7769
edc5984d
AS
77702011-11-11 Andreas Schwab <schwab@redhat.com>
7771
98591e58
AS
7772 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7773
edc5984d
AS
7774 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7775 * setjmp/setjmp.h: Mark functions as non-leaf.
7776 * setjmp/bits/setjmp2.h: Likewise.
7777 * stdlib/ucontext.h: Likewise.
7778
77cdc054
AS
77792011-11-10 Andreas Schwab <schwab@redhat.com>
7780
7781 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7782 (reused_arena): Don't check arena limit.
7783 (arena_get2): Atomically check arena limit.
7784
fe72eebd
UD
77852011-11-08 Ulrich Drepper <drepper@gmail.com>
7786
5f078c32
UD
7787 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7788 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7789
fe72eebd
UD
7790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7791 instructions.
7792
ae1bc2fa
AS
77932011-11-07 Andreas Schwab <schwab@redhat.com>
7794
7583a88d
AS
7795 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7796 handler when locking.
7797
ae1bc2fa
AS
7798 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7799 Fix size of allocated buffer.
7800
10fb0bfa
AS
78012011-11-04 Andreas Schwab <schwab@redhat.com>
7802
998832a4
AS
7803 [BZ #10103]
7804 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7805 declarations for long double functions.
7806 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7807
10fb0bfa
AS
7808 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7809
3d7ba52b
AS
78102011-11-03 Andreas Schwab <schwab@redhat.com>
7811
a9ae54a1
AS
7812 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7813 installed.
7814
3d7ba52b
AS
7815 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7816 is disabled.
7817
bc8db248
ST
78182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7819
7820 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7821
45b96dd6
AS
78222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7823
647776f6
AS
7824 * include/alloca.h (stackinfo_alloca_round): Define.
7825 (extend_alloca): Use it.
7826 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7827 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7828 here.
7829
d91a8b93
AS
7830 * scripts/check-local-headers.sh: Ignore libaudit.h.
7831
45b96dd6
AS
7832 * nscd/Makefile (extra-objs): Make recursively expanded.
7833
432d41ce
UD
78342011-11-01 Ulrich Drepper <drepper@gmail.com>
7835
34372fc6
UD
7836 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7837 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7838
fadb59f8
UD
7839 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7840 * posix/tst-rfc3484-2.c: Likewise.
7841 * posix/tst-rfc3484-3.c: Likewise.
7842
78239589
UD
7843 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7844 process_vm_writev.
7845 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7846 process_vm_writev.
7847 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7848 process_vm_writev from libc using GLIBC_2.15 version.
7849
432d41ce
UD
7850 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7851
02f9c6cf
PP
78522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7853
7854 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7855 stack usage.
7856
3a2c0242
UD
78572011-10-31 Ulrich Drepper <drepper@gmail.com>
7858
f4ec4833
UD
7859 [BZ #13367]
7860 * nss/getent.c (initgroups_keys): Show error message in case no group
7861 names are given.
7862
3a2c0242
UD
7863 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7864 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7865 __bump_nl_timestamp.
7866 * nscd/connections (nscd_init): When host database is served open
7867 netlink socket and request notification about configuration changes.
7868 (main_loop_poll): Track netlink file descriptor and bump timestamp
7869 in case data becomes available.
7870 (main_loop_epoll): Likewise.
7871 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7872 (database_pers_head): Add extra_data fileds.
7873 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7874 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7875 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7876 Adjust caller.
7877 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7878 in6ai data, call __free_in6ai.
7879 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7880 Add -DHAVE_NETLINK.
7881 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7882 interface information. Reuse previous data if netlink timestamp
7883 is not changed.
7884 (__bump_nl_timestamp): New function.
7885 (__free_in6ai): New function.
7886
636064eb
UD
78872011-10-30 Ulrich Drepper <drepper@gmail.com>
7888
7889 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7890 close_not_cancel_no_status here.
7891 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7892
9beb2334
UD
78932011-10-29 Ulrich Drepper <drepper@gmail.com>
7894
6ef76f3b
UD
7895 [BZ #13276]
7896 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7897 return value.
7898
0ffc4f3e 7899 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7900 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7901 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7902
cb95113e
UD
79032011-07-03 Andreas Jaeger <aj@suse.de>
7904
7905 [BZ #10709]
7906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7907 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7908 * math/libm-test.inc (sin_test): Add test case.
7909
a1b560ff
UD
79102011-10-29 Ulrich Drepper <drepper@gmail.com>
7911
c9aaface
UD
7912 [BZ #13337]
7913 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7914 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7915
d272e7f1
UD
7916 * elf/chroot_canon.c (chroot_canon): Cleanups.
7917
1bc33071
UD
7918 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7919
1760874d
TJ
7920 [BZ #13335]
7921 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7922 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7923
51d91b18
UD
7924 * string/test-strchr.c: Make usable for strchrnul testing.
7925 * string/test-strchrnul.c: New file.
7926 * string/Makefile (strop-tests): Add strchrnul.
7927
a1b560ff 7928 * po/it.po: Update from translation team.
b611fb81 7929 * po/es.po: Likewise.
a1b560ff 7930
a5b81e1f
UD
79312011-10-28 Ulrich Drepper <drepper@gmail.com>
7932
fd52bc6d
UD
7933 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7934 the three constants needed as parameters. Drop the others.
7935 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7936 __m128i_strloadu_tolower.
52e4b9eb
UD
7937 Create and initialize variable zero and use it in all the places
7938 where _mm_setzero_si128 was used.
fd52bc6d 7939
a5b81e1f
UD
7940 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7941 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7942 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7943 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7944 anymore.
7945 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7946 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7947 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7948 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7949 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7950 __mpranred, __mptan.
7951 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7952 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7953 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7954 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7955 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7956 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7957 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7958 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7959 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7960
b4343346
AS
79612011-10-28 Andreas Schwab <schwab@redhat.com>
7962
0c92d8a8
AS
7963 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7964 redefine if SHARED.
7965 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7966
b4343346
AS
7967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7968 wide char related routines to wcsmbs subdir.
7969
3871f58f
AS
79702011-10-27 Andreas Schwab <schwab@redhat.com>
7971
7972 [BZ #13344]
7973 * misc/sys/cdefs.h (__THROWNL): Define.
7974 * posix/unistd.h: Use __THREADNL instead of __THREAD
7975 for memory synchronization functions.
7976
94d44d9f
RM
79772011-10-26 Roland McGrath <roland@hack.frob.com>
7978
21b64b15 7979 [BZ #13349]
94d44d9f
RM
7980 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7981 doesn't exist.
7982 * manual/stdio.texi (Obstack Streams): Node removed.
7983
f6ce9294
AS
79842011-10-26 Andreas Schwab <schwab@redhat.com>
7985
80479147
AS
7986 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7987 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7988 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7989
f6ce9294
AS
7990 * math/math_private.h (math_force_eval): Allow non-addressable
7991 arguments.
7992 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7993
618280a1
UD
79942011-10-25 Ulrich Drepper <drepper@gmail.com>
7995
e0016b11
UD
7996 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7997 file is not needed.
7998
7999 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8000 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8001 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8002 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8003 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8004 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8005 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8006 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8007 Add AVX variants.
8008 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8009 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8010 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8011 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8012 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8013 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8014 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8015 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8016 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8017 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8018 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8019 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8020 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8021 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8022 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8023 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8024 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8025 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8026 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8027
8028 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8029 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8030
618280a1
UD
8031 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8032 place. Use VEX encoding when compiling for AVX.
8033
37822576
AS
80342011-10-25 Andreas Schwab <schwab@redhat.com>
8035
1f1e1947
AS
8036 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8037 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8038
37822576
AS
8039 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8040
31ea014d
UD
80412011-10-25 Ulrich Drepper <drepper@gmail.com>
8042
d7826aa1 8043 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8044 useless if() expression.
d7826aa1
UD
8045 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8054 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8055 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8056 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8057 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8058 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8059 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8060 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8061 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8062 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8063 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8064
31ea014d
UD
8065 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8066
16437fec
AS
80672011-10-25 Andreas Schwab <schwab@redhat.com>
8068
8069 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8070 condition.
8071 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8072
31d3cc00
UD
80732011-10-25 Ulrich Drepper <drepper@gmail.com>
8074
8075 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8076 .text section. Avoid duplicate constants.
8077 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8085 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8086 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8087 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8088 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8089 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8090 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8091 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8092 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8094 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8100 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8101 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8102 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8103 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8104 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8105 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8106 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8107 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8108 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8109 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8110 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8111 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8112 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8113 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8114 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8115 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8116 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8117 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8118 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8119 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8120 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8121 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8122
58985aa9
UD
81232011-10-24 Ulrich Drepper <drepper@gmail.com>
8124
202c9deb
UD
8125 * sysdeps/x86_64/dla.h: Move to ...
8126 * sysdeps/x86_64/fpu/dla.h: ...here.
8127 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8128 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8129
af968f62
UD
8130 * config.make.in: Add have-mfma4 entry.
8131 * configure.in: Substitute libc_cv_cc_fma4.
8132 * math/Makefile (dbl-only-routines): Add sincostab.
8133 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8134 Use __sincostab not sincos.
8135 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8136 name is a macro.
8137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8141 using __copysign.
8142 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8143 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8144 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8145 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8146 and __inv.
8147 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8148 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8149 __copysign.
8150 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8151 define aliases when function name is a macro.
8152 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8153 sysdeps/ieee754/dbl-64/sincos.tbl.
8154 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8155 fma4-enabled routines.
8156 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8157 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8158 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8159 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8160 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8161 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8162 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8163 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8164 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8165 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8166 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8167 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8168 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8169 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8170 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8171 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8172 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8173 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8174 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8175 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8176 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8177 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8178 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8179 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8180 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8181 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8182 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8183 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8184 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8185 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8186
58985aa9
UD
8187 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8188 rename.
8189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8195 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8197
a201fbcf
AS
81982011-10-24 Andreas Schwab <schwab@redhat.com>
8199
8200 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8201
fc2ee42a
LD
82022011-10-23 Ulrich Drepper <drepper@gmail.com>
8203
bb3129bd
UD
8204 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8205
0275fff8
UD
8206 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8207 prediction.
8208 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8209
2fa2ae85
UD
8210 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8211 Remove unused variable magic_bits.
8212 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8213
fc2ee42a
LD
8214 * string/strnlen.c: Define and use STRNLEN macro.
8215 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8216 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8218 * wcsmbs/wcslen.c: Define and use WCSLEN.
8219 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8220 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8221 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8222 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8223 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8224 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8225 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8226
ce7dd29f
LD
82272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8228
8229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8230 strnlen-sse2-no-bsf.
8231 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8233 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8234 Add strnlen support.
8235 (USE_AS_STRNLEN): New macro.
8236 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8237 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8238 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8239 * sysdeps/x86_64/wcslen.S: New file.
8240
979c70a3
MZ
82412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8242
8243 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8244 XMM-moves are used for copying on small sizes.
8245
2d09f82f
LD
82462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8247
8248 * wcsmbs/Makefile (strop-tests): Add wcschr.
8249 * wcsmbs/test-wcschr.c: New file.
8250 * string/test-strchr.c: Update.
8251 Add wcschr support.
8252 (WIDE): New macro.
8253
619fccca
LD
82542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8255
2d09f82f 8256 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8257 * wcsmbs/test-wcslen.c: New file.
8258 * string/test-strlen.c: Update.
8259 Add wcslen support.
8260 (WIDE): New macro.
8261
09f699ea
UD
82622011-10-23 Ulrich Drepper <drepper@gmail.com>
8263
8264 * po/it.po: Update from translation team.
8265
95584d3b
LD
82662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8267
8268 * sysdeps/x86_64/wcscmp.S: Update.
8269 Fix wrong comparison semantics.
8270 wcscmp shall use signed comparison not unsigned.
8271 Don't use substraction to avoid overflow bug.
8272 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8273 * wcsmbc/wcscmp.c: Likewise.
8274 * string/test-strcmp.c: Likewise.
8275 Add new tests to check cases with negative values.
8276
c8b3296b
UD
82772011-10-23 Ulrich Drepper <drepper@gmail.com>
8278
8279 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8280 * sysdeps/x86_64/dla.h: ...here. New file.
8281 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8290
246ad57a
AS
82912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8292
8293 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8294 __ynl_finite aliases.
8295
a1a87169
UD
82962011-10-22 Ulrich Drepper <drepper@gmail.com>
8297
0d355eb7
UD
8298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8299
a1a87169
UD
8300 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8301 define DLA_FMA.
8302 [DLA_FMA] (EMULV): Use DLA_FMA.
8303 [DLA_FMA] (MUL12): Use EMULV.
8304 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8305 that are not needed.
8306 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8313
ee2aafe0
AS
83142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8315
8316 * math/s_nan.c: Undef __nan.
8317 * math/s_nanf.c: Undef __nanf.
8318 * math/s_nanl.c: Undef __nanl.
8319 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8320 "math_private.h".
8321
bc62c2fb
UD
83222011-10-22 Ulrich Drepper <drepper@gmail.com>
8323
77425c63
UD
8324 * math/s_catan.c: Add branch predictions.
8325 * math/s_catanf.c: Likewise.
8326 * math/s_catanh.c: Likewise.
8327 * math/s_catanhf.c: Likewise.
8328 * math/s_catanhl.c: Likewise.
8329 * math/s_catanl.c: Likewise.
8330 * math/s_cexp.c: Likewise.
8331 * math/s_cexpf.c: Likewise.
8332 * math/s_cexpl.c: Likewise.
8333 * math/s_clog.c: Likewise.
8334 * math/s_clog10.c: Likewise.
8335 * math/s_clog10f.c: Likewise.
8336 * math/s_clog10l.c: Likewise.
8337 * math/s_clogf.c: Likewise.
8338 * math/s_clogl.c: Likewise.
8339 * math/s_csqrt.c: Likewise.
8340 * math/s_csqrtf.c: Likewise.
8341 * math/s_csqrtl.c: Likewise.
8342 * math/s_ctanf.c: Likewise.
8343 * math/s_ctanh.c: Likewise.
8344 * math/s_ctanhf.c: Likewise.
8345 * math/s_ctanhl.c: Likewise.
8346 * math/s_ctanl.c: Likewise.
8347
bc62c2fb
UD
8348 * math/math_private.h: Define __nan, __nanf, __nanl.
8349 * math/s_cacosh.c: Include <math_private.h>.
8350 * math/s_cacoshl.c: Likewise.
8351 * math/s_casinh.c: Likewise.
8352 * math/s_casinhf.c: Likewise.
8353 * math/s_casinhl.c: Likewise.
8354 * math/s_ccos.c: Rely entire on ccosh.
8355 * math/s_ccosf.c: Rely entire on ccoshf.
8356 * math/s_ccosl.c: Rely entirely on ccoshl.
8357 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8358 Remove tests for FE_INVALID.
8359 * math/s_ccoshf.c: Likewise.
8360 * math/s_ccoshl.c: Likewise.
8361 * math/s_csin.c: Likewise.
8362 * math/s_csinf.c: Likewise.
8363 * math/s_csinh.c Likewise.
8364 * math/s_csinhf.c: Likewise.
8365 * math/s_csinhl.c: Likewise.
8366 * math/s_csinl.c: Likewise.
8367 * math/s_ctan.c: Likewise.
8368 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8369 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8370 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8371
8ec250a4
UD
83722011-10-21 Ulrich Drepper <drepper@gmail.com>
8373
c196fed8
UD
8374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8375 compilation problems.
8376
8ec250a4
UD
8377 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8378 __builtin_expect.
8379
8d4f46c6
UD
83802011-10-20 Ulrich Drepper <drepper@gmail.com>
8381
ed72b654
UD
8382 * sysdeps/i386/configure.in: Test for -mfma4 option.
8383 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8384 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8385 COMMON_CPUID_INDEX_80000001.
8386 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8387 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8388 use it if FMA3 is not supported.
8389 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8390
8d4f46c6
UD
8391 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8392 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8393
d45c60c2
AS
83942011-10-20 Andreas Schwab <schwab@redhat.com>
8395
8396 [BZ #12892]
8397 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8398 it would create a cycle with a link time dependency.
8399
d9a4d2ab
UD
84002011-10-19 Ulrich Drepper <drepper@gmail.com>
8401
855d1560
UD
8402 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8403 instruction.
8404 * string/Makefile (strop-tests): Add rawmemchr.
8405 * string/test-rawmemchr.c: New file.
8406
d9a4d2ab
UD
8407 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8408 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8409 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8410 when compiling str{,n}casecmp and when AVX is available. Hook up
8411 new optimized code in initializers.
8412
8f3b1ffe
AS
84132011-10-19 Andreas Schwab <schwab@redhat.com>
8414
8415 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8416 __feraiseexcept instead of feraiseexcept.
8417
d38f1dba
UD
84182011-10-18 Ulrich Drepper <drepper@gmail.com>
8419
d9a8d0ab
UD
8420 * math/math_private.h: Define defaults for libc_fetestexcept and
8421 libc_feupdateenv.
8422 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8423 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8424 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8425 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8426 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8427 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8428 libc_fetestexcept and libc_feupdateenv.
8429
4855e3dd
UD
8430 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8431 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8432 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8433 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8434 libc_feholdexcept_setround.
8435
581d30e3
UD
8436 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8437 Add s_nearbyint-c and s_nearbyintf-c.
8438 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8439 nearbyintf inlines.
8440 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8441 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8442 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8443 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8444
d38f1dba
UD
8445 * math/math_private.h: Define defaults for libc_fegetround,
8446 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8447 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8448 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8449 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8450 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8451 standard functions.
8452 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8453 Remove comments and hacks for old compiler versions.
8454 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8455 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8456 libc_feholdexceptl.
8457
caa6c9d8
AS
84582011-10-18 Andreas Schwab <schwab@redhat.com>
8459
8460 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8461 (__feraiseexcept_renamed): Add __NTH.
8462 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8463 namespace violations.
8464
97c066e6
UD
84652011-10-17 Ulrich Drepper <drepper@gmail.com>
8466
99ce7b04
UD
8467 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8468
1004d182
UD
8469 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8470
228a984d
UD
8471 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8472 recently added interfaces.
8473 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8474
c8553a6a
UD
8475 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8476 about macro parameter expansion.
8477
ed22dcf6
UD
8478 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8479 __NO_MATH_INLINES is defined. Cleanups.
8480
8481 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8482 and __floorf is target has SSE4.1.
8483 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8484 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8485 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8486 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8487
b171c137
UD
8488 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8489 name.
8490 (floorf): Likewise.
8491
97c066e6
UD
8492 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8493
629f62ef
AS
84942011-10-17 Andreas Schwab <schwab@redhat.com>
8495
49a43d80
AS
8496 * misc/sys/cdefs.h: Fix last change.
8497
629f62ef
AS
8498 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8499 database lookup.
8500
e453f6cd
UD
85012011-10-16 Ulrich Drepper <drepper@gmail.com>
8502
aa78043a
UD
8503 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8504
ad0f5cad
UD
8505 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8506 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8511 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8512 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8513 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8514 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8515 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8516 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8517 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8518 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8519 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8520 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8521 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8522 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8523 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8524 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8525 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8526 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8527
8528 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8529 ceil, ceilf, floor, floorf.
8530
8531 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8532 Perform IRELATIVE relocations last.
8533
e453f6cd
UD
8534 * elf/do-rel.h: Add another parameter nrelative, replacing the
8535 local variable with the same name. Change name of the function
8536 to end in Rel or Rela (uppercase).
8537 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8538 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8539 elf_dynamic_do_##reloc function.
8540
fd5bdc09
UD
85412011-10-15 Ulrich Drepper <drepper@gmail.com>
8542
79b195b5
UD
8543 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8544 is sufficient, at least on modern CPUs.
8545
d4a28569
UD
8546 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8547
b61099b5
UD
8548 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8549 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8550
bcf01e6d
UD
8551 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8552 __expl_finite.
8553 * math/bits/math-finite.h: Add entries for exp.
8554 * math/e_expl.c: Add __*_finite alias.
8555 * sysdeps/i386/fpu/e_exp.S: Likewise.
8556 * sysdeps/i386/fpu/e_expf.S: Likewise.
8557 * sysdeps/i386/fpu/e_expl.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8559 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8563 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8564 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8565
ba1a0d59
UD
8566 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8567 is sufficient, at least on modern CPUs.
8568
fd5bdc09
UD
8569 * ctype/ctype-info.c (__ctype_init): Define.
8570 * include/ctype.h (__ctype_init): Declare.
8571 (__ctype_b_loc): The variable is always initialized.
8572 (__ctype_toupper_loc): Likewise.
8573 (__ctype_tolower_loc): Likewise.
8574 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8575 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8576
7872cfb0
AS
85772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8578
b468825a
AS
8579 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8580
7872cfb0
AS
8581 * configure.in: Also look in $cxxmachine/include for C++ system
8582 headers.
8583
be13f7bf
LD
85842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8585
8586 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8587 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8588 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8589 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8590 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8591 (USE_AS_WMEMCMP): New macro.
8592 Fixing indents.
8593 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8594 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8595 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8596 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8598 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8599 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8600 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8601 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8602 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8603 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8604 (USE_AS_WMEMCMP): New macro.
8605 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8606 * sysdeps/string/test-memcmp.c: Update.
8607 Fix simple_wmemcmp.
8608 Add new tests.
8609 * wcsmbs/wmemcmp.c: Update.
8610 (WMEMCMP): New macro.
8611 Fix overflow bug.
8612
556a2007
AJ
86132011-10-12 Andreas Jaeger <aj@suse.de>
8614
8615 [BZ #13268]
8616 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8617
538faaa7
UD
86182011-10-15 Ulrich Drepper <drepper@gmail.com>
8619
ab6737ff
UD
8620 * libio/iofwide.c (do_length): Avoid warning.
8621
538faaa7
UD
8622 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8623
396a21b1
UD
86242011-10-14 Ulrich Drepper <drepper@gmail.com>
8625
cdf2901f
UD
8626 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8627
38ad40ce
UD
8628 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8629 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8630 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8631 * sysdeps/i386/i686/fpu/e_log.S: New file.
8632 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8633 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8634
396a21b1
UD
8635 * ctype/ctype.h: Add support for inlined isXXX functions when
8636 compiling C++ code.
8637
6b1f68c9
AS
86382011-10-14 Andreas Schwab <schwab@redhat.com>
8639
349290c0
AS
8640 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8641
6b1f68c9
AS
8642 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8643
f2282d42
RM
86442011-10-13 Roland McGrath <roland@hack.frob.com>
8645
8646 [BZ #13291]
8647 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8648
5298ffa8
AS
86492011-10-13 Andreas Schwab <schwab@redhat.com>
8650
714fad23
AS
8651 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8652 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8653 feraiseexcept.
8654
81dcc7fb
AS
8655 * sysdeps/x86_64/memrchr.S: Check for zero size.
8656
5298ffa8
AS
8657 * string/stratcliff.c: Add memrchr tests.
8658
951fbcec
LD
86592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8660
8661 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8662 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8663 rawmemchr-sse2 rawmemchr-sse2-bsf.
8664 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8665 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8666 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8667 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8668 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8669 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8670 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8671 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8672 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8673 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8674 * string/memrchr.c (MEMRCHR): New macro.
8675
0ac5ae23
UD
86762011-10-12 Ulrich Drepper <drepper@gmail.com>
8677
8678 Add integration with gcc's -ffinite-math-only and optimize wrapper
8679 functions in libm.
8680 * Versions.def: Define GLIBC_2.15 version for libm.
8681 * math/Makefile (headers): Add bits/math-finite.h.
8682 * math/bits/math-finite.h: New file.
8683 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8684 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8685 * math/e_acoshl.c: Add __*_finite alias.
8686 * math/e_acosl.c: Likewise.
8687 * math/e_asinl.c: Likewise.
8688 * math/e_atan2l.c: Likewise.
8689 * math/e_atanhl.c: Likewise.
8690 * math/e_coshl.c: Likewise.
8691 * math/e_exp10.c: Likewise.
8692 * math/e_exp10f.c: Likewise.
8693 * math/e_exp10l.c: Likewise.
8694 * math/e_exp2l.c: Likewise.
8695 * math/e_fmodl.c: Likewise.
8696 * math/e_gammal_r.c: Likewise.
8697 * math/e_hypotl.c: Likewise.
8698 * math/e_j0l.c: Likewise.
8699 * math/e_j1l.c: Likewise.
8700 * math/e_jnl.c: Likewise.
8701 * math/e_lgammal_r.c: Likewise.
8702 * math/e_log10l.c: Likewise.
8703 * math/e_log2l.c: Likewise.
8704 * math/e_logl.c: Likewise.
8705 * math/e_powl.c: Likewise.
8706 * math/e_sinhl.c: Likewise.
8707 * math/e_sqrtl.c: Likewise.
8708 * math/e_scalb.c: Completely rewritten and optimized.
8709 * math/e_scalbf.c: Likewise.
8710 * math/e_scalbl.c: Likewise.
8711 * math/w_acos.c: Likewise.
8712 * math/w_acosf.c: Likewise.
8713 * math/w_acosl.c: Likewise.
8714 * math/w_acosh.c: Likewise.
8715 * math/w_acoshf.c: Likewise.
8716 * math/w_acoshl.c: Likewise.
8717 * math/w_asin.c: Likewise.
8718 * math/w_asinf.c: Likewise.
8719 * math/w_asinl.c: Likewise.
8720 * math/w_atan2.c: Likewise.
8721 * math/w_atan2f.c: Likewise.
8722 * math/w_atan2l.c: Likewise.
8723 * math/w_atanh.c: Likewise.
8724 * math/w_atanhf.c: Likewise.
8725 * math/w_atanhl.c: Likewise.
8726 * math/w_exp10.c: Likewise.
8727 * math/w_exp10f.c: Likewise.
8728 * math/w_exp10l.c: Likewise.
8729 * math/w_fmod.c: Likewise.
8730 * math/w_fmodf.c: Likewise.
8731 * math/w_fmodl.c: Likewise.
8732 * math/w_j0.c: Likewise.
8733 * math/w_j0f.c: Likewise.
8734 * math/w_j0l.c: Likewise.
8735 * math/w_j1.c: Likewise.
8736 * math/w_j1f.c: Likewise.
8737 * math/w_j1l.c: Likewise.
8738 * math/w_jn.c: Likewise.
8739 * math/w_jnf.c: Likewise.
8740 * math/w_log.c: Likewise.
8741 * math/w_logf.c: Likewise.
8742 * math/w_logl.c: Likewise.
8743 * math/w_log10.c: Likewise.
8744 * math/w_log10f.c: Likewise.
8745 * math/w_log10l.c: Likewise.
8746 * math/w_log2.c: Likewise.
8747 * math/w_log2f.c: Likewise.
8748 * math/w_log2l.c: Likewise.
8749 * math/w_pow.c: Likewise.
8750 * math/w_powf.c: Likewise.
8751 * math/w_powl.c: Likewise.
8752 * math/w_remainder.c: Likewise.
8753 * math/w_remainderf.c: Likewise.
8754 * math/w_remainderl.c: Likewise.
8755 * math/w_scalb.c: Likewise.
8756 * math/w_scalbf.c: Likewise.
8757 * math/w_scalbl.c: Likewise.
8758 * math/w_sqrt.c: Likewise.
8759 * math/w_sqrtf.c: Likewise.
8760 * math/w_sqrtl.c: Likewise.
8761 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8762 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8763 used.
8764 * math/math_private.h: Declare __kernel_standard_f.
8765 * math/w_cosh.c: Remove cruft and optimize a bit.
8766 * math/w_coshf.c: Likewise.
8767 * math/w_coshl.c: Likewise.
8768 * math/w_exp2.c: Likewise.
8769 * math/w_exp2f.c: Likewise.
8770 * math/w_exp2l.c: Likewise.
8771 * math/w_hypot.c: Likewise.
8772 * math/w_hypotf.c: Likewise.
8773 * math/w_hypotl.c: Likewise.
8774 * math/w_lgamma.c: Likewise.
8775 * math/w_lgamma_r.c: Likewise.
8776 * math/w_lgammaf.c: Likewise.
8777 * math/w_lgammaf_r.c: Likewise.
8778 * math/w_lgammal.c: Likewise.
8779 * math/w_lgammal_r.c: Likewise.
8780 * math/w_sinh.c: Likewise.
8781 * math/w_sinhf.c: Likewise.
8782 * math/w_sinhl.c: Likewise.
8783 * math/w_tgamma.c: Likewise.
8784 * math/w_tgammaf.c: Likewise.
8785 * math/w_tgammal.c: Likewise.
8786 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8787 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8788 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8789 Minor optimizations. Pretty printing. Remove cruft.
8790 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8791 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8792 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8793 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8794 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8795 * sysdeps/i386/fpu/e_asin.S: Likewise.
8796 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8797 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8798 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8799 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8800 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8801 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8802 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8803 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8804 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8805 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8806 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8807 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8808 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8809 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8810 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8811 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8812 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8813 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8814 * sysdeps/i386/fpu/e_log.S: Likewise.
8815 * sysdeps/i386/fpu/e_log10.S: Likewise.
8816 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8817 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8818 * sysdeps/i386/fpu/e_log2.S: Likewise.
8819 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8820 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8821 * sysdeps/i386/fpu/e_logf.S: Likewise.
8822 * sysdeps/i386/fpu/e_logl.S: Likewise.
8823 * sysdeps/i386/fpu/e_pow.S: Likewise.
8824 * sysdeps/i386/fpu/e_powf.S: Likewise.
8825 * sysdeps/i386/fpu/e_powl.S: Likewise.
8826 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8827 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8828 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8829 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8830 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8831 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8832 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8833 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8834 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8853 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8856 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8857 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8858 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8859 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8860 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8861 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8862 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8863 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8864 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8865 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8866 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8867 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8868 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8869 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8870 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8871 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8872 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8873 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8874 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8875 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8876 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8877 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8885 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8887 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8888 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8890 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8891 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8892 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8900 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8901 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8902 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8904 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8905 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8906 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8907 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8908 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8909 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8910 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8911 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8912 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8913 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8914 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8915 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8916 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8917 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8918 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8920 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8922 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8923 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8924 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8925 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8926 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8927 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8928 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8929 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8930 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8931 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8932 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8933 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8934 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8935 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8936 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8937 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8938 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8939 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8940 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8941 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8942 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8943 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8944 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8945 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8946 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8947 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8948 (__isnanf): Likewise.
8949 (__isinf_ns): Likewise.
8950 (__isinf_nsf): Likewise.
8951 (__finite): Likewise.
8952 (__finitef): Likewise.
8953 (__ieee754_sqrt): Define as macro.
8954 (__ieee754_sqrtf): Define as macro.
8955 (__ieee754_sqrtl): Define as macro.
8956 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8957 inlined copy.
8958 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8959 __FINITE_MATH_ONLY__ consistent.
8960 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8961
12cc2fcd
AS
89622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8963
a843a204
AS
8964 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8965 of rawmemchr.
8966
12cc2fcd
AS
8967 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8968
c853acd5
UD
89692011-10-09 Ulrich Drepper <drepper@gmail.com>
8970
8971 * po/ja.po: Update from translation team.
8972
c658d255
RM
89732011-10-08 Roland McGrath <roland@hack.frob.com>
8974
110946e4
RM
8975 * locale/programs/locarchive.c (prepare_address_space): New function.
8976 (create_archive, enlarge_archive, open_archive): Use it.
8977
50604220
RM
8978 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8979 inside [SHARED], where it is used.
8980
c658d255
RM
8981 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8982
8983 * nss/getent.c (netgroup_keys): Remove unused variable.
8984 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8985
6a621eb7
UD
89862011-10-08 Ulrich Drepper <drepper@gmail.com>
8987
7edb55ce
UD
8988 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8989 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8991 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8992 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8993 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8994 * math/Makefile (libm-calls): Add s_isinf_ns.
8995 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8996 * math/multc3.c: Likewise.
8997 * math/s_casin.c: Likewise.
8998 * math/s_casinf.c: Likewise.
8999 * math/s_casinl.c: Likewise.
9000 * math/s_ccos.c: Likewise.
9001 * math/s_ccosf.c: Likewise.
9002 * math/s_ccosl.c: Likewise.
9003 * math/s_ctan.c: Likewise.
9004 * math/s_ctanf.c: Likewise.
9005 * math/s_ctanh.c: Likewise.
9006 * math/s_ctanhf.c: Likewise.
9007 * math/s_ctanhl.c: Likewise.
9008 * math/s_ctanl.c: Likewise.
9009 * math/w_fmod.c: Likewise.
9010 * math/w_fmodf.c: Likewise.
9011 * math/w_fmodl.c: Likewise.
9012 * math/w_remainder.c: Likewise.
9013 * math/w_remainderf.c: Likewise.
9014 * math/w_remainderl.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9016 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9017 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9018 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9019 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9020 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9021 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9022 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9023
187da0ae
UD
9024 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9025 of the number.
9026 * stdio-common/printf_fphex.c: Likewise.
9027 * stdio-common/printf_size.c: Likewise.
9028
9277c064
UD
9029 * math/e_exp10.c: Include math_private.h using <...> not "...".
9030 * math/e_exp10f.c: Likewise.
9031 * math/e_exp10l.c: Likewise.
9032 * math/e_exp2l.c: Likewise.
9033 * math/e_j0l.c: Likewise.
9034 * math/e_j1l.c: Likewise.
9035 * math/e_jnl.c: Likewise.
9036 * math/e_lgammal_r.c: Likewise.
9037 * math/e_rem_pio2l.c: Likewise.
9038 * math/e_scalb.c: Likewise.
9039 * math/e_scalbf.c: Likewise.
9040 * math/e_scalbl.c: Likewise.
9041 * math/k_cosl.c: Likewise.
9042 * math/k_sinl.c: Likewise.
9043 * math/k_tanl.c: Likewise.
9044 * math/s_cacoshf.c: Likewise.
9045 * math/s_catan.c: Likewise.
9046 * math/s_catanf.c: Likewise.
9047 * math/s_catanh.c: Likewise.
9048 * math/s_catanhf.c: Likewise.
9049 * math/s_catanhl.c: Likewise.
9050 * math/s_catanl.c: Likewise.
9051 * math/s_ccosh.c: Likewise.
9052 * math/s_ccoshf.c: Likewise.
9053 * math/s_ccoshl.c: Likewise.
9054 * math/s_cexp.c: Likewise.
9055 * math/s_cexpf.c: Likewise.
9056 * math/s_cexpl.c: Likewise.
9057 * math/s_clog.c: Likewise.
9058 * math/s_clog10.c: Likewise.
9059 * math/s_clog10f.c: Likewise.
9060 * math/s_clog10l.c: Likewise.
9061 * math/s_clogf.c: Likewise.
9062 * math/s_clogl.c: Likewise.
9063 * math/s_csin.c: Likewise.
9064 * math/s_csinf.c: Likewise.
9065 * math/s_csinh.c: Likewise.
9066 * math/s_csinhf.c: Likewise.
9067 * math/s_csinhl.c: Likewise.
9068 * math/s_csinl.c: Likewise.
9069 * math/s_csqrt.c: Likewise.
9070 * math/s_csqrtf.c: Likewise.
9071 * math/s_csqrtl.c: Likewise.
9072 * math/s_ctan.c: Likewise.
9073 * math/s_ctanf.c: Likewise.
9074 * math/s_ctanh.c: Likewise.
9075 * math/s_ctanhf.c: Likewise.
9076 * math/s_ctanhl.c: Likewise.
9077 * math/s_ctanl.c: Likewise.
9078 * math/s_ldexp.c: Likewise.
9079 * math/s_ldexpf.c: Likewise.
9080 * math/s_ldexpl.c: Likewise.
9081 * math/s_significand.c: Likewise.
9082 * math/s_significandf.c: Likewise.
9083 * math/s_significandl.c: Likewise.
9084 * math/w_acos.c: Likewise.
9085 * math/w_acosf.c: Likewise.
9086 * math/w_acosh.c: Likewise.
9087 * math/w_acoshf.c: Likewise.
9088 * math/w_acoshl.c: Likewise.
9089 * math/w_acosl.c: Likewise.
9090 * math/w_asin.c: Likewise.
9091 * math/w_asinf.c: Likewise.
9092 * math/w_asinl.c: Likewise.
9093 * math/w_atan2.c: Likewise.
9094 * math/w_atan2f.c: Likewise.
9095 * math/w_atan2l.c: Likewise.
9096 * math/w_atanh.c: Likewise.
9097 * math/w_atanhf.c: Likewise.
9098 * math/w_atanhl.c: Likewise.
9099 * math/w_cosh.c: Likewise.
9100 * math/w_coshf.c: Likewise.
9101 * math/w_coshl.c: Likewise.
9102 * math/w_dremf.c: Likewise.
9103 * math/w_exp10.c: Likewise.
9104 * math/w_exp10f.c: Likewise.
9105 * math/w_exp10l.c: Likewise.
9106 * math/w_exp2.c: Likewise.
9107 * math/w_exp2f.c: Likewise.
9108 * math/w_fmod.c: Likewise.
9109 * math/w_fmodf.c: Likewise.
9110 * math/w_fmodl.c: Likewise.
9111 * math/w_hypot.c: Likewise.
9112 * math/w_hypotf.c: Likewise.
9113 * math/w_hypotl.c: Likewise.
9114 * math/w_j0.c: Likewise.
9115 * math/w_j0f.c: Likewise.
9116 * math/w_j0l.c: Likewise.
9117 * math/w_j1.c: Likewise.
9118 * math/w_j1f.c: Likewise.
9119 * math/w_j1l.c: Likewise.
9120 * math/w_jn.c: Likewise.
9121 * math/w_jnf.c: Likewise.
9122 * math/w_jnl.c: Likewise.
9123 * math/w_lgamma.c: Likewise.
9124 * math/w_lgamma_r.c: Likewise.
9125 * math/w_lgammaf.c: Likewise.
9126 * math/w_lgammaf_r.c: Likewise.
9127 * math/w_lgammal.c: Likewise.
9128 * math/w_lgammal_r.c: Likewise.
9129 * math/w_log.c: Likewise.
9130 * math/w_log10.c: Likewise.
9131 * math/w_log10f.c: Likewise.
9132 * math/w_log10l.c: Likewise.
9133 * math/w_log2.c: Likewise.
9134 * math/w_log2f.c: Likewise.
9135 * math/w_log2l.c: Likewise.
9136 * math/w_logf.c: Likewise.
9137 * math/w_logl.c: Likewise.
9138 * math/w_pow.c: Likewise.
9139 * math/w_powf.c: Likewise.
9140 * math/w_powl.c: Likewise.
9141 * math/w_remainder.c: Likewise.
9142 * math/w_remainderf.c: Likewise.
9143 * math/w_remainderl.c: Likewise.
9144 * math/w_scalb.c: Likewise.
9145 * math/w_scalbf.c: Likewise.
9146 * math/w_scalbl.c: Likewise.
9147 * math/w_sinh.c: Likewise.
9148 * math/w_sinhf.c: Likewise.
9149 * math/w_sinhl.c: Likewise.
9150 * math/w_sqrt.c: Likewise.
9151 * math/w_sqrtf.c: Likewise.
9152 * math/w_sqrtl.c: Likewise.
9153 * math/w_tgamma.c: Likewise.
9154 * math/w_tgammaf.c: Likewise.
9155 * math/w_tgammal.c: Likewise.
9156
6a621eb7
UD
9157 * po/ja.po: Update from translation team.
9158
bf582445
AJ
91592011-09-29 Andreas Jaeger <aj@suse.de>
9160
f9efbf3a
AJ
9161 [BZ #13179]
9162 * sunrpc/netname.c (netname2host): Fix logic.
9163
bf582445
AJ
9164 [BZ #6779]
9165 [BZ #6783]
9166 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9167 correctly.
9168 * math/w_remainder.c (__remainder): Likewise.
9169 * math/w_remainderf.c (__remainderf): Likewise.
9170 * math/libm-test.inc (remainder_test): Add test cases.
9171
48693bea
AK
91722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9173
9174 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9175 sdiv_qrnnd.
9176
42622229
LD
91772011-10-07 Ulrich Drepper <drepper@gmail.com>
9178
9179 * string/test-memcmp.c: Avoid unncessary #defines.
9180 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9181
093ecf92
LD
91822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9183
9184 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9185 Use new sse2 version for core i3 - i7 as it's faster
9186 than sse42 version.
9187 (bit_Prefer_PMINUB_for_stringop): New.
9188 * sysdeps/x86_64/rawmemchr.S: Update.
9189 Replace with faster SSE2 version.
9190 * sysdeps/x86_64/memrchr.S: New file.
9191 * sysdeps/x86_64/memchr.S: Update.
9192 Replace with faster SSE2 version.
9193
fde56e5c
MP
91942011-09-12 Marek Polacek <mpolacek@redhat.com>
9195
9196 * elf/dl-load.c (lose): Add cast to avoid warning.
9197
21fd49a9
UD
91982011-10-07 Ulrich Drepper <drepper@gmail.com>
9199
5a06e643
UD
9200 * po/ca.po: Update from translation team.
9201
684ae515
UD
9202 * inet/getnetgrent_r.c: Hook up nscd.
9203 * nscd/Makefile (routines): Add nscd_netgroup.
9204 (nscd-modules): Add netgroupcache.
9205 (CFLAGS-netgroupcache.c): Define.
9206 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9207 (cache_search): Add const to second parameter.
9208 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9209 INNETGR.
9210 (dbs): Add netgrdb entry.
9211 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9212 (verify_persistent_db): Handle netgrdb.
9213 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9214 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9215 GETFDNETGR.
9216 (netgroup_response_header): Define.
9217 (innetgroup_response_header): Define.
9218 (datahead): Add netgroup_response_header and innetgroup_response_header
9219 elements.
9220 * nscd/nscd.conf: Add entries for netgroup cache.
9221 * nscd/nscd.h (dbtype): Add netgrdb.
9222 (_PATH_NSCD_NETGROUP_DB): Define.
9223 (netgroup_iov_disabled): Declare.
9224 (xmalloc, xcalloc, xrealloc): Move declarations here.
9225 (cache_search): Adjust prototype.
9226 Add netgroup-related prototypes.
9227 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9228 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9229 (__nscd_innetgr): Declare.
9230 * nscd/selinux.c (perms): Use access_vector_t as element type and
9231 add netgroup-related initializers.
9232 * nscd/netgroupcache.c: New file.
9233 * nscd/nscd_netgroup.c: New file.
9234 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9235 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9236 For four parameters use innetgr.
9237 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9238 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9239 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9240 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9241
21fd49a9
UD
9242 * nscd/connections.c (register_traced_file): Don't register file
9243 for disabled databases.
9244
054c0457
UD
92452011-10-06 Ulrich Drepper <drepper@gmail.com>
9246
32b63198
UD
9247 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9248
054c0457
UD
9249 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9250 from tree and freeing node.
9251
64031225
JO
92522011-09-25 Jiri Olsa <jolsa@redhat.com>
9253
9254 * nss/nsswitch.c (__nss_database_lookup): Handle
9255 nss_parse_service_list out of memory case.
9256
0490345c
JO
92572011-09-15 Jiri Olsa <jolsa@redhat.com>
9258
9259 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9260 out of memory case.
9261
3a62d00d
AS
92622011-10-04 Andreas Schwab <schwab@redhat.com>
9263
9264 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9265 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9266 pass it down.
9267 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9268 elf_machine_rela, elf_machine_lazy_rel.
9269 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9270 (ELF_DYNAMIC_DO_REL): Likewise.
9271 (ELF_DYNAMIC_DO_RELA): Likewise.
9272 (ELF_DYNAMIC_RELOCATE): Likewise.
9273 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9274 to ELF_DYNAMIC_DO_REL.
9275 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9276 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9277 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9278 elf_machine_rela.
9279 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9280 skip_ifunc, don't call ifunc function if non-zero.
9281 (elf_machine_rela): Likewise.
9282 (elf_machine_lazy_rel): Likewise.
9283 (elf_machine_lazy_rela): Likewise.
9284 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9285 (elf_machine_lazy_rel): Likewise.
9286 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9287 Likewise.
9288 (elf_machine_lazy_rel): Likewise.
9289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9290 Likewise.
9291 (elf_machine_lazy_rel): Likewise.
9292 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9293 (elf_machine_lazy_rel): Likewise.
9294 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9295 (elf_machine_lazy_rel): Likewise.
9296 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9297 (elf_machine_lazy_rel): Likewise.
9298 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9299 (elf_machine_lazy_rel): Likewise.
9300 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9301 (elf_machine_lazy_rel): Likewise.
9302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9303 (elf_machine_lazy_rel): Likewise.
9304
68577918
UD
93052011-09-28 Ulrich Drepper <drepper@gmail.com>
9306
9307 * nss/nss_files/files-init.c (_nss_files_init): Use static
9308 initialization for all the *_traced_file variables.
9309
68822d74
AS
93102011-09-28 Andreas Schwab <schwab@redhat.com>
9311
9312 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9313
2056100b
RM
93142011-09-27 Roland McGrath <roland@hack.frob.com>
9315
9316 [BZ #13226]
9317 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9318
32c76b63
AS
93192011-09-27 Andreas Schwab <schwab@redhat.com>
9320
9321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9322 Reread the line before reparsing it.
9323
bf972c9d
AS
93242011-09-26 Andreas Schwab <schwab@redhat.com>
9325
9326 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9327
e057a1b5
JM
93282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9329 Maxim Kuvyrkov <maxim@codesourcery.com>
9330 Joseph Myers <joseph@codesourcery.com>
9331
9332 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9333 if needed for __stack_chk_guard.
9334
bc7e1c36
RM
93352011-09-19 Roland McGrath <roland@hack.frob.com>
9336
ecb1482f
RM
9337 * sysdeps/posix/spawni.c (script_execute): Always define it.
9338 It will be optimized away if unused.
9339 (maybe_script_execute): New function.
9340 (__spawni): Call it.
9341
bc7e1c36
RM
9342 * Makerules: Don't include tls.make.
9343 (config-tls): Always set to thread.
9344 * tls.make.c: File removed.
9345
1c3b002b
MF
93462011-09-19 Mike Frysinger <vapier@gentoo.org>
9347
9348 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9349 * config.make.in (CPPFLAGS-config): New substituted variable.
9350
2840865d
UD
93512011-09-15 Ulrich Drepper <drepper@gmail.com>
9352
88738eb6
UD
9353 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9354
cbf645a6 9355 [BZ #13192]
2840865d
UD
9356 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9357 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9358
b402e91a
RM
93592011-09-15 Roland McGrath <roland@hack.frob.com>
9360
9361 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9362 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9363 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9364 (CALL_FAIL): Likewise.
9365 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9366 (CALL_FAIL): Macro removed.
9367 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9368
4c1a1f71
UD
93692011-09-15 Ulrich Drepper <drepper@gmail.com>
9370
9371 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9372 for __FINITE_MATH_ONLY__ == 1.
9373
edc121be
AS
93742011-09-15 Andreas Schwab <schwab@redhat.com>
9375
9376 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9377 __ieee754_sqrt instead of sqrt.
9378 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9379 __ieee754_sqrtf instead of sqrtf.
9380 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9381 __floorf instead of floorf.
9382 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9383 __floorf, __truncf instead of floorf, truncf.
9384
cd205654
UD
93852011-09-14 Ulrich Drepper <drepper@gmail.com>
9386
ee4d0315
UD
9387 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9388
cd205654
UD
9389 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9390 __extern_always_inline.
9391 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9392 32-bit.
9393
48b67d71
AS
93942011-09-14 Andreas Schwab <schwab@redhat.com>
9395
9396 * elf/rtld.c (dl_main): Also relocate in dependency order when
9397 doing symbol dependency testing.
9398
1ae12c75
AS
93992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9400
9401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9402 Always define `refsym'.
9403
995a80df
AS
94042011-09-13 Andreas Schwab <schwab@redhat.com>
9405
e529793b
AS
9406 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9407 (__FD_ELT): Renamed from __FDELT.
9408 * misc/bits/select2.h (__FD_ELT): Likewise.
9409 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9410 __FD_MASK instead of __FDELT, __FDMASK.
9411 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9412 Likewise.
9413 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9414 Likewise.
9415
52d4fef8
AS
9416 * elf/Makefile (gen-ldd): Fix pattern.
9417
995a80df
AS
9418 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9419 (init_tls): Likewise.
9420
8682f8b0
UD
94212011-09-12 Ulrich Drepper <drepper@gmail.com>
9422
9423 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9424
de82006d
AS
94252011-09-12 Andreas Schwab <schwab@redhat.com>
9426
a7c8e6a1
AS
9427 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9428 `struct cmsghdr *' instead of `void *'.
9429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9430 Likewise.
9431
0f31fe77
AS
94322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9433
9434 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9435 if non-absolute.
9436 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9437 ldd_rewrite_script.
0f31fe77 9438
32b4c839
UD
94392011-09-11 Ulrich Drepper <drepper@gmail.com>
9440
83cd1420
UD
9441 * configure.in: Remove --with-tls option.
9442 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9443 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9444 out in case it is missing.
9445 * sysdeps/ia64/elf/configure.in: Likewise.
9446 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9447 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9448 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9449 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9450 * sysdeps/sh/elf/configure.in: Likewise.
9451 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9452 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9453 * sysdeps/x86_64/elf/configure.in: Likewise.
9454 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9455 * sysdeps/mach/hurd/tls.h: Likewise.
9456
633f745d
UD
9457 [BZ #13067]
9458 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9459
f318beb8
UD
9460 [BZ #13090]
9461 * configure.in: Fix use of AC_INIT.
9462
32b4c839
UD
9463 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9464
3ce1f295
UD
94652011-09-10 Ulrich Drepper <drepper@gmail.com>
9466
bb016596
UD
9467 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9468 __set_errno.
8e58439c
UD
9469 * malloc/hooks.c: Likewise.
9470
aebae053 9471 [BZ #11929]
02d46fc4
UD
9472 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9473 variables statically.
9474 (narenas): Initialize.
9475 (list_lock): Initialize.
bb016596
UD
9476 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9477 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9478 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9479 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9480 Add initializers to main_arena and mp_.
9481 (malloc_state): Remove pagesize member. Change all users to use
9482 GLRO(dl_pagesize).
9483
9484 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9485 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9486 is always initialized.
9487
22a89187
UD
9488 * malloc/malloc.c: Removed unused configurations and dead code.
9489 * malloc/arena.c: Likewise.
9490 * malloc/hooks.c: Likewise.
02d46fc4 9491 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9492
d063d164
UD
9493 * include/tls.h: Removed. USE___THREAD must always be defined.
9494 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9495 * elf/dl-libc.c: Likewise.
9496 * elf/dl-tsd.c: Likewise.
9497 * include/errno.h: Likewise.
9498 * include/netdb.h: Likewise.
9499 * include/resolv.h: Likewise.
9500 * inet/herrno-loc.c: Likewise.
9501 * inet/herrno.c: Likewise.
9502 * malloc/arena.c: Likewise.
9503 * malloc/hooks.c: Likewise.
9504 * malloc/malloc.c: Likewise.
9505 * resolv/res-state.c: Likewise.
9506 * resolv/res_libc.c: Likewise.
9507 * sysdeps/i386/dl-machine.h: Likewise.
9508 * sysdeps/ia64/dl-machine.h: Likewise.
9509 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9510 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9511 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9512 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9513 * sysdeps/sh/dl-machine.h: Likewise.
9514 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9515 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9516 * sysdeps/unix/i386/sysdep.S: Likewise.
9517 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9518 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9519 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9522 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9523 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9524 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9525 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9527 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9528 * sysdeps/x86_64/dl-machine.h: Likewise.
9529 * tls.make.c: Likewise.
9530
3ce1f295
UD
9531 * configure.in: Remove --with-__thread option. Make tests for
9532 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9533 tls_model attribute fail if no support is available. Remove
9534 USE_IN_LIBIO.
9535 * Makeconfig: Adjust for dropped configure option. All features are
9536 now mandatory.
9537 * Makerules: Likewise.
9538 * Versions.def: Likewise.
9539 * argp/argp-fmtstream.c: Likewise.
9540 * argp/argp-fmtstream.h: Likewise.
9541 * argp/argp-help.c: Likewise.
9542 * assert/assert.c: Likewise.
9543 * config.h.in: Likewise.
9544 * config.make.in: Likewise.
9545 * configure: Likewise.
9546 * configure.in: Likewise.
9547 * csu/Versions: Likewise.
9548 * csu/init.c: Likewise.
9549 * elf/tst-audit2.c: Likewise.
9550 * elf/tst-tls10.c: Likewise.
9551 * elf/tst-tls10.h: Likewise.
9552 * elf/tst-tls11.c: Likewise.
9553 * elf/tst-tls12.c: Likewise.
9554 * elf/tst-tls14.c: Likewise.
9555 * elf/tst-tlsmod11.c: Likewise.
9556 * elf/tst-tlsmod12.c: Likewise.
9557 * elf/tst-tlsmod13.c: Likewise.
9558 * elf/tst-tlsmod13a.c: Likewise.
9559 * elf/tst-tlsmod14a.c: Likewise.
9560 * elf/tst-tlsmod15b.c: Likewise.
9561 * elf/tst-tlsmod16a.c: Likewise.
9562 * elf/tst-tlsmod16b.c: Likewise.
9563 * elf/tst-tlsmod7.c: Likewise.
9564 * elf/tst-tlsmod8.c: Likewise.
9565 * elf/tst-tlsmod9.c: Likewise.
9566 * gmon/gmon.c: Likewise.
9567 * grp/fgetgrent_r.c: Likewise.
9568 * grp/putgrent.c: Likewise.
9569 * hurd/fopenport.c: Likewise.
9570 * include/libc-symbols.h: Likewise.
9571 * include/tls.h: Likewise.
9572 * intl/gettextP.h: Likewise.
9573 * intl/loadinfo.h: Likewise.
9574 * locale/global-locale.c: Likewise.
9575 * locale/localeinfo.h: Likewise.
9576 * mach/devstream.c: Likewise.
9577 * malloc/arena.c: Likewise.
9578 * malloc/set-freeres.c: Likewise.
9579 * misc/err.c: Likewise.
9580 * misc/getttyent.c: Likewise.
9581 * misc/mntent_r.c: Likewise.
9582 * posix/getopt.c: Likewise.
9583 * posix/wordexp.c: Likewise.
9584 * pwd/fgetpwent_r.c: Likewise.
9585 * resolv/Versions: Likewise.
9586 * resolv/res_hconf.c: Likewise.
9587 * shadow/fgetspent_r.c: Likewise.
9588 * shadow/putspent.c: Likewise.
9589 * stdio-common/printf_fphex.c: Likewise.
9590 * stdio-common/tmpfile.c: Likewise.
9591 * stdlib/abort.c: Likewise.
9592 * stdlib/fmtmsg.c: Likewise.
9593 * sunrpc/auth_unix.c: Likewise.
9594 * sunrpc/clnt_perr.c: Likewise.
9595 * sunrpc/clnt_tcp.c: Likewise.
9596 * sunrpc/clnt_udp.c: Likewise.
9597 * sunrpc/clnt_unix.c: Likewise.
9598 * sunrpc/openchild.c: Likewise.
9599 * sunrpc/svc_simple.c: Likewise.
9600 * sunrpc/svc_tcp.c: Likewise.
9601 * sunrpc/svc_udp.c: Likewise.
9602 * sunrpc/svc_unix.c: Likewise.
9603 * sunrpc/xdr.c: Likewise.
9604 * sunrpc/xdr_array.c: Likewise.
9605 * sunrpc/xdr_rec.c: Likewise.
9606 * sunrpc/xdr_ref.c: Likewise.
9607 * sunrpc/xdr_stdio.c: Likewise.
9608
1248c1c4
PB
96092011-09-09 Ulrich Drepper <drepper@gmail.com>
9610
9611 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9612
96132011-07-03 Andreas Jaeger <aj@suse.de>
9614
9615 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9616 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9617 regenerate with gen-libm-tests.pl.
9618
96192010-05-12 Petr Baudis <pasky@suse.cz>
9620
9621 [BZ #11589]
9622 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9623 around j0() zero points by switching to j1().
9624 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9628
f22e1074
UD
96292011-09-09 Ulrich Drepper <drepper@gmail.com>
9630
f19009c1
UD
9631 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9632 instead of 0.
9633 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9634 instead of 0. .
9635 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9636 Patch in part by Pavel Roskin <proski@gnu.org>.
9637
3f8cc204
UD
9638 [BZ #13138]
9639 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9640 realloc.
9641 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9642 Free memory block if necessary.
9643
f22e1074
UD
9644 [BZ #12847]
9645 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9646 be NULL. Don't lock in this case.
9647
0a2349f9
RM
96482011-09-09 Roland McGrath <roland@hack.frob.com>
9649
9650 * elf/elf.h (ELFOSABI_GNU): New macro.
9651 (ELFOSABI_LINUX): Define to that.
9652
f3cdd467
DZ
96532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9654
9655 * string/strncat.c (strncat): Undef the symbol in case it has been
9656 defined in bits/string.h.
9657
74718d13
UD
96582011-09-09 Ulrich Drepper <drepper@gmail.com>
9659
633e9e0f
UD
9660 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9661
0a2349f9 9662 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9663 link map.
9664
f9924780
AJ
96652011-08-17 Andreas Jaeger <aj@suse.de>
9666
9667 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9668
7f5517aa
PP
96692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9670 Ian Lance Taylor <iant@google.com>
9671
9672 * math/libm-test.inc (lround_test): New testcase.
9673 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9674
762011fe
UD
96752011-09-08 Ulrich Drepper <drepper@gmail.com>
9676
92963737
UD
9677 * Makefile: Remove support for automatic cvs check-ins.
9678 * Makerules: Likewise.
9679 * config.make.in: Likewise.
9680 * configure.in: Likewise.
9681 * intl/Makefile: Likewise.
9682 * locale/Makefile: Likewise.
9683 * po/Makefile: Likewise.
9684 * posix/Makefile: Likewise.
9685 * sysdeps/gnu/Makefile: Likewise.
9686 * sysdeps/mach/hurd/Makefile: Likewise.
9687 * sysdeps/sparc/sparc32/Makefile: Likewise.
9688
b0727fd8
JS
9689 [BZ #13118]
9690 * posix/Makefile (bug-regex32-ENV): Define.
9691 Patch by John Stanley <jpsinthemix@verizon.net>.
9692
a0f33f99
UD
9693 * misc/Makefile (headers): Add bits/select2.h.
9694 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9695 * misc/bits/select2.h: New file.
9696 * include/bits/select2.h: New file.
9697 * debug/Makefile (routines): Add fdelt_chk.
9698 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9699 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9700 FD_ISSET.
9701 * debug/fdelt_chk.c: New file.
9702
762011fe
UD
9703 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9704 * wcsmbs/test-wmemcmp.c: Likewise.
9705 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9706 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9707
97082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9709
9710 * string/Makefile (strop-tests): Add memcmp.
9711 * string/test-wmemcmp.c: New file.
9712 * string/test-memcmp.c: Add wmemcmp support.
9713
7f513ec8
RM
97142011-09-08 Roland McGrath <roland@hack.frob.com>
9715
0442afb4
RM
9716 [BZ #13153]
9717 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9718 2011-07-19 change.
9719
7f513ec8
RM
9720 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9721 garbage value in a __mach_port_mod_refs call in the cases of the
9722 task-self and thread-self ports.
9723
a12b2239
ST
97242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9725
9726 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9727
610f9ab4
AS
97282011-09-08 Andreas Schwab <schwab@redhat.com>
9729
7f513ec8 9730 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9731
48882a1a
LD
97322011-09-07 Ulrich Drepper <drepper@gmail.com>
9733
b49865be
UD
9734 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9735
fdc86bc9
UD
9736 * elf/dl-libc.c (dlerror_run): Pass back error code from
9737 dl_catch_error.
9738
c966526a
UD
9739 [BZ #13123]
9740 * elf/dl-load.c (lose): Free l_origin if it is valid.
9741
48882a1a
LD
9742 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9743 names.
9744 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9745 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9746 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9747 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9748 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9749 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9750
77a2a8b4
AZ
97512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9752
9753 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9754 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9755 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9756 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9757 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9758 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9759 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9760 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9761 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9762 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9763
24f579d8
AM
97642011-08-15 Alan Modra <amodra@gmail.com>
9765
9766 [BZ #13092]
9767 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9768 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9769 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9770 ppc_mcount to static-only-routines.
9771 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9772 __mcount_internal.
9773 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9774 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9775
3d4837df
UD
97762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9777
9778 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9779 for finite and infinity parameters.
9780
22700377
WS
97812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9782
9783 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9784 and add nop instructions for throughput optimization.
9785 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9786
5025581e
WS
97872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9788
9789 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9790 aligned copy for power7 with vector-scalar instructions.
9791 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9792
08a300c9
L
97932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9794
9795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9796 AVX check.
9797
59178ef9
AS
97982011-09-07 Andreas Schwab <schwab@redhat.com>
9799
9800 [BZ #13144]
9801 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9802 last change.
9803
e38ba7ab
UD
98042011-09-07 Ulrich Drepper <drepper@gmail.com>
9805
9806 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9807 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9808 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9809 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9810 clock_gettime.
9811
d53a73ac
UD
98122011-09-06 Ulrich Drepper <drepper@gmail.com>
9813
fc8bffcc
UD
9814 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9815 Forgot to demangle the pointer.
9816
ceaa0c5d
UD
9817 * sysdeps/i386/sysdep.h: Define atom_text_section.
9818 * sysdeps/x86_64/sysdep.h: Likewise.
9819 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9820 section with atom_text_section.
9821 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9822 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9823 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9824 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9825 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9826
a77d3c17
UD
9827 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9828 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9829 already be defined. Change to take two parameters and don't assign
9830 result to variable. Adjust all users.
9831 Define INTERNAL_GETTIME if not already defined.
9832 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9833 call.
9834 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9835 HAVE_CLOCK_GETTIME_VSYSCALL.
9836 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9837
d53a73ac
UD
9838 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9839 gettimeofday vsyscall, just use time.
9840
a8f84144
AS
98412011-09-06 Andreas Schwab <schwab@redhat.com>
9842
9843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9844 <errno.h>.
9845
ef606249
UD
98462011-09-06 Ulrich Drepper <drepper@gmail.com>
9847
9848 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9849 syscall on x86-64.
9850 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9851 syscall.
9852 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9853 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9854 syscall if possible.
9855
6585cb60
UD
98562011-09-05 Ulrich Drepper <drepper@gmail.com>
9857
9858 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9859 e_ident. Don't pass to find_mapsXX.
9860 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9861
a5f524e4
LD
98622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9863
9864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9865 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9866 * sysdeps/x86_64/multiarch/strchr.S: Update.
9867 Check bit_slow_BSF bit.
9868 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9869 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9870 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9871
554881ef
UD
98722011-09-05 Ulrich Drepper <drepper@gmail.com>
9873
d96de963
UD
9874 [BZ #13134]
9875 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9876 before glibc 2.15.
9877 (tryshell): Define.
9878 (__spawni): Change last parameter to be flag. Test
9879 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9880 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9881 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9882 * posix/spawni.c: Likewise.
9883 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9884 * posix/spawnp.c: Likewise. Change normal version to use
9885 SPAWN_XFLAGS_USE_PATH.
9886 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9887 SPAWN_XFLAGS_TRY_SHELL.
9888
d48e5868
UD
9889 [BZ #13150]
9890 * posix/glob.h: Remove gcc 1.x support.
9891
554881ef
UD
9892 [BZ #13068]
9893 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9894
693fb948
LD
98952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9896
9897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9898 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9899 strrchr-sse2-bsf
9900 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9901 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9902 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9903 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9904 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9905 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9906
1b48c537
UD
99072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9908
49d42c37
UD
9909 * sysdeps/x86_64/wcscmp.S: New file.
9910
1b48c537
UD
9911 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9912 wcscmp-c wcscmp-sse2
9913 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9914 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9915 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9916 * wcsmbs/wcscmp.c: Allow renaming.
9917
15c95c5d
DM
99182011-09-05 David S. Miller <davem@davemloft.net>
9919
9920 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9921 stack slot, rather than the struct return pointer slot.
9922 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9923 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9925 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9926
2f0ad8f3
UD
99272011-09-05 Ulrich Drepper <drepper@gmail.com>
9928
d88ae418
UD
9929 * po/ja.po: Update from translation team.
9930
2f0ad8f3
UD
9931 [BZ #13144]
9932 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9933 kernel in 64-bit binaries.
9934
5f4318d1
DM
99352011-09-01 David S. Miller <davem@davemloft.net>
9936
9937 * elf/elf.h (HWCAP_SPARC_*): Move to..
9938 * sysdeps/sparc/sysdep.h: this new file and add new values.
9939 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9940 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9941 _DL_HWCAP_COUNT to 24.
9942 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9943 entries.
9944 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9945 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9946 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9948 instead of magic constants.
9949 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9950
3ba57516
DM
99512011-08-31 David S. Miller <davem@davemloft.net>
9952
9953 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9955 Reimplement to do errno handling inline.
9956 (SYSCALL_ERROR_HANDLER): New macro.
9957 (__SYSCALL_STRING): Do not do errno handling in asm.
9958 (__CLONE_SYSCALL_STRING): Delete.
9959 (__INTERNAL_SYSCALL_STRING): Delete.
9960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9961 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9962 (PSEUDO): Reimplement to do errno handling inline.
9963 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9964 (SYSCALL_ERROR_HANDLER): New macro.
9965 (__SYSCALL_STRING): Do not do errno handling in asm.
9966 (__CLONE_SYSCALL_STRING): Delete.
9967 (__INTERNAL_SYSCALL_STRING): Delete.
9968 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9969 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9970 i386.
9971 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9972 (inline_syscall*): Add 'err' argument.
9973 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9974 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9975 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9976 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9977
9978 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9979 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9980
2bc17433
AS
99812011-08-30 Andreas Schwab <schwab@redhat.com>
9982
9983 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9984
fbeb5f4d
JO
99852011-08-29 Jiri Olsa <jolsa@redhat.com>
9986
9987 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9988 directive.
9989
ad69cc26
DM
99902011-08-24 David S. Miller <davem@davemloft.net>
9991
9992 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9993
39dd69df
AS
99942011-08-24 Andreas Schwab <schwab@redhat.com>
9995
9996 * elf/Makefile: Add rules to build and run unload8 test.
9997 * elf/unload8.c: New file.
9998 * elf/unload8mod1.c: New file.
9999 * elf/unload8mod1x.c: New file.
10000 * elf/unload8mod2.c: New file.
10001 * elf/unload8mod3.c: New file.
10002
10003 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10004 it wasn't used.
10005
2c0b250a
DM
100062011-08-23 David S. Miller <davem@davemloft.net>
10007
10008 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10009 subtract stack bias.
10010 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10011 %sp not %fp in calculations.
10012 (_JMPBUF_UNWINDS_ADJ): Likewise.
10013
22044b48
DM
10014 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10015 (aio_suspend): Call it to force an exception region around the
10016 AIO_MISC_WAIT() invocation.
10017
2cae4995
AS
100182011-08-23 Andreas Schwab <schwab@redhat.com>
10019
10020 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10021 backslash.
10022
873a772e
AJ
100232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10024
10025 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10026 protection macro.
10027 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10028 and <dl-machine.h>.
10029 (Elf64_FuncDesc): Remove.
10030
25ad0df1
DM
100312011-08-22 David S. Miller <davem@davemloft.net>
10032
10033 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10034 sigaltstack check, add missing cfi directives.
10035 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10036 missing cfi directives, and sigaltstack handling.
10037
e888bcbe
AS
100382011-08-16 Andreas Schwab <schwab@redhat.com>
10039
10040 [BZ #11724]
10041 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10042 object is seen twice.
10043 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10044
10045 * elf/Makefile (distribute): Add tst-initorder2.c.
10046 (tests): Add tst-initorder2.
10047 (modules-names): Add tst-initorder2a tst-initorder2b
10048 tst-initorder2c tst-initorder2d. Add rules to build them.
10049 ($(objpfx)tst-initorder2.out): New rule.
10050 * elf/tst-initorder2.c: New file.
10051 * elf/tst-initorder2.exp: New file.
10052
87162f46
AS
100532011-08-22 Andreas Schwab <schwab@redhat.com>
10054
70538b7f
AS
10055 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10056
f55ffe58
AS
10057 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10058 dependencies back to end of function.
10059
87162f46
AS
10060 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10061 $(elfobjdir)/ld.so.
10062
91b392a4
UD
100632011-08-21 Ulrich Drepper <drepper@gmail.com>
10064
10065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10066 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10068 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10069 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10070 of __vdso_gettimeofday.
10071 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10072 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10073 attribute_hidden.
10074 (_libc_vdso_platform_setup): Remove initialization of
10075 __vdso_gettimeofday and __vdso_time.
10076
5c43483f
UD
100772011-08-20 Ulrich Drepper <drepper@gmail.com>
10078
775a77e7
UD
10079 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10080 and fgetc_unlocked.
10081 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10082 getc_unlocked.
89f447ed 10083
49c74ba9
UD
10084 * elf/dl-open.c (add_to_global): Report additions to the global scope
10085 for LD_DEBUG=scopes.
10086 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10087 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10088
5c43483f
UD
10089 [BZ #13114]
10090 * stdio-common/Makefile (tests): Add bug24.
10091 * stdio-common/bug24.c: New file.
10092
a101b025
AJ
100932011-08-19 Andreas Jaeger <aj@suse.de>
10094
10095 [BZ #13114]
10096 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10097 non-existant file when using close-on-exec mode.
10098
c88f1766
UD
100992011-08-20 Ulrich Drepper <drepper@gmail.com>
10100
0276a718
UD
10101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10102 the very first instruction.
10103
c88f1766
UD
10104 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10105 the CFI state in the end.
10106 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10107 inclusion of dl-trampoline.h.
10108 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10109
51ccffa0
AS
101102011-08-19 Andreas Schwab <schwab@redhat.com>
10111
94d7165f
AS
10112 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10113 expectations for long double.
10114
51ccffa0
AS
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10116 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10117
fd708658 101182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10119
10120 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10121 artificual limit depends upon the system page size.
10122
44f0a71e
UD
101232011-08-17 Ulrich Drepper <drepper@gmail.com>
10124
10125 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10126 * resolv/Makefile: Define CFLAGS-libresolv.
10127
8de79a24
AS
101282011-08-17 Andreas Schwab <schwab@redhat.com>
10129
10130 * nss/makedb.c (compute_tables): Make variables used in nested
10131 function static.
10132
27724598
UD
101332011-08-17 Ulrich Drepper <drepper@gmail.com>
10134
c5305d88
UD
10135 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10136 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10137 if buffer was too small.
10138
27724598
UD
10139 * elf/pldd.c (main): Attach to all threads in the process.
10140 Rewrite /proc handling to use *at functions.
10141
076fe015
UD
101422011-08-16 Ulrich Drepper <drepper@gmail.com>
10143
174baab3
UD
10144 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10145 specifies first scope to show.
10146 (dl_open_worker): Update callers. Move printing scope of new
10147 object to before the relocation.
44f0a71e 10148 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10149 * sysdeps/generic/ldsodefs.h: Update declaration.
10150
076fe015
UD
10151 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10152 string for the scope number.
10153
a60df2c3
UD
101542011-08-14 Ulrich Drepper <drepper@gmail.com>
10155
10156 * nscd/servicescache.c (cache_addserv): Make sure written is always
10157 initialized.
10158
5e4287d1
RM
101592011-08-14 Roland McGrath <roland@hack.frob.com>
10160
85ae0589
RM
10161 * sysdeps/i386/i486/bits/atomic.h
10162 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10163 statement expression, so as to suppress "set but not used" warning.
10164 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10165
69f63097
RM
10166 * string/strncat.c (STRNCAT): Use prototype definition.
10167
675456ef
RM
10168 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10169 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10170 -Iprograms here.
10171 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10172 (localedef-modules): Add localedef.
10173 (locale-modules): Add locale.
10174
5e4287d1
RM
10175 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10176 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10177 to avoid a warning.
10178
9c96ff23
DM
101792011-08-14 David S. Miller <davem@davemloft.net>
10180
10181 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10182 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10183
f9ddf089
UD
101842011-08-13 Ulrich Drepper <drepper@gmail.com>
10185
44f0a71e 10186 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10187 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10188 * elf/rtld.c (dl_main): Set l_name of vDSO.
10189 Call _dl_show_scope when DL_DEBUG_SCOPES.
10190 (process_dl_debug): Recognize scopes flag and also set it for all.
10191 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10192 Declare _dl_show_scope.
10193
1dc27704
UD
10194 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10195 (do_dlopen): Pass caller_dlopen to dl_open.
10196 (__libc_dlopen_mode): Initialize caller_dlopen.
10197
f9ddf089
UD
10198 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10199 of libc. Make tolower call locale-independent. Optimize a bit by
10200 using isdigit instead of isalnum.
10201 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10202
9ac533d3
UD
102032011-08-12 Ulrich Drepper <drepper@gmail.com>
10204
10205 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10206 was a dependency or dynamically loaded.
10207
89edf2e9
UD
102082011-08-11 Ulrich Drepper <drepper@gmail.com>
10209
8e999d29
UD
10210 * intl/l10nflist.c: Allow architecture-specific pop function.
10211 * sysdeps/x86_64/l10nflist.c: New file.
10212
89edf2e9
UD
10213 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10214 classification.
10215
14d96785
AS
102162011-08-10 Andreas Schwab <schwab@redhat.com>
10217
10218 * include/dirent.h: Add libc_hidden_proto for scandirat and
10219 scandirat64. Don't declare __scandirat64.
10220 * dirent/scandirat.c: Add libc_hidden_def.
10221 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10222 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10223
6761ac04
DM
102242011-08-10 David S. Miller <davem@davemloft.net>
10225
10226 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10227 enum.
10228 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10230 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10231
c55fbd1e
UD
102322011-08-09 Ulrich Drepper <drepper@gmail.com>
10233
10234 * Versions.def [libc]: Add GLIBC_2.15.
10235 * dirent/Makefile (routines): Add scandirat and scandirat64.
10236 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10237 GLIBC_2.15.
10238 * dirent/dirent.h: Declare scandirat and scandirat64.
10239 * dirent/scandirat.c: New file.
10240 * dirent/scandirat64.c: New file.
10241 * sysdeps/wordsize-64/scandirat.c: New file.
10242 * sysdeps/wordsize-64/scandirat64.c: New file.
10243 * dirent/opendir.c: Define opendirat.
10244 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10245 using scandirat.
10246 * dirent/scandir64.c: Adjust for scandir.c change.
10247 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10248 __scandirat64, and __scandir_cancel_handler.
10249 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10250 additional parameter and use openat instead of open (outside of ld.so).
10251 Add new __opendir as wrapper around __opendirat.
10252 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10253 here without requiring old scandirat implementation.
10254
879165f2
UD
102552011-08-08 Ulrich Drepper <drepper@gmail.com>
10256
10257 * dirent/scandir.c (cancel_handler): Renamed to
10258 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10259 defined. Adjust users.
10260 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10261 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10262
cb7e923b
UD
102632011-08-04 Ulrich Drepper <drepper@gmail.com>
10264
16292edd
UD
10265 * string/test-string.h (IMPL): Use __STRING to expand name and then
10266 stringify it.
10267
cb7e923b
UD
10268 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10269 of cleanups.
10270
cff82933
LD
102712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10272
10273 * string/Makefile: Update.
10274 (strop-tests): Append strncat.
10275 * string/test-wcscmp.c: New file.
10276 New comprehensive test for wcscmp.
10277 * string/test-strcmp.c: Update.
10278 (WIDE): New define.
10279
9be9bfcc
AS
102802011-07-22 Andreas Schwab <schwab@redhat.com>
10281
10282 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10283 line.
10284
2e96f1c7
AS
102852011-07-26 Andreas Schwab <schwab@redhat.com>
10286
10287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10288 encoding to ACE if AI_IDN.
10289
85188888
JJ
102902011-08-01 Jakub Jelinek <jakub@redhat.com>
10291
10292 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10293 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10294
5fa16e9b
LD
102952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10296
10297 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10298 Fix overflow bug in strncat.
10299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10300
10301 * string/test-strncat.c: Update.
10302 Add new tests for checking overflow bugs.
10303
103042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10305
10306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10307 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10308 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10309 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10310 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10311 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10312 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10313 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10314 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10315
10316 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10317 (USE_AS_STRCAT): Define.
10318 Add strcat and strncat support.
10319 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10320
8c1a459f
AS
103212011-07-25 Andreas Schwab <schwab@redhat.com>
10322
10323 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10324 __n bigger than INT_MAX+1.
10325 (__strncmp_g): Likewise.
10326
bba33c28
UD
103272011-07-23 Ulrich Drepper <drepper@gmail.com>
10328
798be72d
UD
10329 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10330 * libio/stido.h: Likewise.
10331
8accd4dc
UD
10332 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10333 (AF_NFC): Define.
10334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10335 (AF_NFC): Define.
10336
cbff0d96
UD
10337 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10339 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10340 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10341 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10342
9191c04a
UD
10343 [BZ #13021]
10344 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10345 installed.
10346
bba33c28
UD
10347 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10348 typo.
10349 (_dl_x86_64_save_sse): Likewise.
10350
90f139dd
UD
103512011-07-22 Ulrich Drepper <drepper@gmail.com>
10352
1aae088a
UD
10353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10354 OSXSAVE.
10355 (_dl_x86_64_save_sse): Likewise.
10356
8e2045f5
UD
10357 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10358
90f139dd
UD
10359 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10360
1d002f25
AS
103612011-07-21 Andreas Schwab <schwab@redhat.com>
10362
10363 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10364 change.
10365 (_dl_x86_64_save_sse): Use correct AVX check.
10366
21137f89
UD
103672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10368
10369 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10370 bug in strncpy/strncat.
10371 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10372
a65c0b7a
UD
103732011-07-21 Ulrich Drepper <drepper@gmail.com>
10374
10375 * string/tester.c (test_strcat): Add tests for different alignments
10376 of source and destination.
10377 (test_strncat): Likewise.
10378
6986b98a
UD
103792011-07-20 Ulrich Drepper <drepper@gmail.com>
10380
90bb2039
UD
10381 [BZ #12852]
10382 * posix/glob.c (glob): Check passed in values before using them in
10383 expressions to avoid some overflows.
10384 (glob_in_dir): Likewise.
10385
5644ef54
UD
10386 [BZ #13007]
10387 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10388 check for AVX enablement so that we don't crash with old kernels and
10389 new hardware.
10390 * elf/tst-audit4.c: Add same checks here.
10391 * elf/tst-audit6.c: Likewise.
10392
10393 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10394
bfc9dc9b
AS
103952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10396
10397 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10398
702e64bb
UD
103992011-07-20 Ulrich Drepper <drepper@gmail.com>
10400
10401 * po/cs.po: Update from translation team.
10402 * po/bg.po: Likewise.
10403
295e904f
MP
104042011-07-12 Marek Polacek <mpolacek@redhat.com>
10405
10406 * misc/sys/cdefs.h: Add support for const attribute.
10407 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10408 to gnu_dev_{major,minor,makedev} functions.
10409
3ff94596
MP
104102011-07-20 Marek Polacek <mpolacek@redhat.com>
10411
10412 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10413
28b59fca
AS
104142011-07-20 Andreas Schwab <schwab@redhat.com>
10415
10416 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10417 strlen results.
10418
19df733e
AK
104192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10420
10421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10422 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10423 register in order to avoid conflicts with the soft frame pointer
10424 being held in r11 when necessary.
10425 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10426 (INTERNAL_VSYSCALL_NCS): Likewise.
10427
c8835729
MP
104282011-07-14 Marek Polacek <mpolacek@redhat.com>
10429
10430 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10431 * elf/dl-fini.c (_dl_fini): Adjust caller.
10432 * elf/dl-close.c (_dl_close_worker): Likewise.
10433 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10434
b902330c
MP
104352011-07-15 Marek Polacek <mpolacek@redhat.com>
10436
8991e135
MP
10437 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10438 "aux_cache->nlibs < 0".
10439
b902330c
MP
10440 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10441 in the reload-count case.
10442
99710781
LD
104432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10444
10445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10446 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10447 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10448 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10449 * sysdeps/x86_64/multiarch/strcat.S: New file.
10450 * sysdeps/x86_64/multiarch/strncat.S: New file.
10451 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10452 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10453 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10454 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10456 (USE_AS_STRCAT): Define.
10457 Add strcat and strncat support.
10458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10459 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10460 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10461 * string/strncat.c: Update.
10462 (USE_AS_STRNCAT): Define.
10463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10464 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10465 and i7.
10466 * sysdeps/x86_64/multiarch/init-arch.h
10467 (bit_Prefer_PMINUB_for_stringop): New.
10468 (index_Prefer_PMINUB_for_stringop): Likewise.
10469 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10470 bit_Prefer_PMINUB_for_stringop.
10471
7dc6bd90
UD
104722011-07-19 Ulrich Drepper <drepper@gmail.com>
10473
10474 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10475 buffer64.
10476 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10477 of casting of buffer.
10478 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10479 buffer32 and buffer64.
10480 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10481 writes instead of casting of buffer.
10482 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10483 buffer32.
10484 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10485 casting of buffer.
10486
e0e72284
AS
104872011-07-19 Andreas Schwab <schwab@redhat.com>
10488
10489 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10490
feb1eb0b
UD
104912011-07-19 Ulrich Drepper <drepper@gmail.com>
10492
10493 * nscd/nscd.c (termination_handler): Don't do anything for a database
10494 if it has not yet been initialized.
10495
298711ff
UD
104962011-07-18 Ulrich Drepper <drepper@gmail.com>
10497
10498 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10499
105002011-07-15 Marek Polacek <mpolacek@redhat.com>
10501
10502 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10503
f9d68389
UD
105042011-07-18 Ulrich Drepper <drepper@gmail.com>
10505
10506 * po/nl.po: Update from translation team.
10507 * po/sv.po: Likewise.
10508
db290cf5
RM
105092011-07-16 Roland McGrath <roland@hack.frob.com>
10510
10511 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10512 now disallowed by GCC.
5c550700 10513
fd5e21c7
RM
10514 * configure.in (use-default-link): Default to yes if a test -shared
10515 link meets our qualifications.
10516 * configure: Regenerated.
10517
5c550700
RM
10518 * config.make.in (output-format): New variable.
10519 * configure.in: Check for ld --print-output-format support.
10520 * configure: Regenerated.
10521 * Makerules ($(common-objpfx)format.lds)
10522 [$(output-format) != unknown]: Just use $(output-format),
10523 instead of the linker-script munging.
10524
9fa2c032
RM
105252011-07-14 Roland McGrath <roland@hack.frob.com>
10526
a6928d51
RM
10527 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10528 of $(common-objpfx)shlib.lds.
10529 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10530
661607b3
RM
10531 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10532 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10533
9fa2c032
RM
10534 * configure.in (-z relro check): Adjust test code to add a large
10535 writable data section after it.
10536 * configure: Regenerated.
10537
defe9061
RM
105382011-07-11 Roland McGrath <roland@hack.frob.com>
10539
10540 * configure.in (-z relro check): Fix test code to make the variable
10541 truly const.
10542 * configure: Regenerated.
10543
319b9ad4
UD
105442011-07-11 Ulrich Drepper <drepper@gmail.com>
10545
10546 * nscd/nscd.h (struct traced_file): Define.
10547 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10548 elements. Add traced_files.
10549 (inotify_fd): Declare.
10550 (register_traced_file): Declare.
10551 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10552 (inotify_fd): Export.
10553 (resolv_conf_descr): Remove.
10554 (nscd_init): Move inotify descriptor creation to main.
10555 Don't register files for notification here.
10556 (register_traced_file): New function.
10557 (invalidate_cache): Don't use reset_res to determine whether to call
10558 res_init, go through the list of registered files.
10559 (main_loop_poll): The inotify descriptors are now stored in the
10560 structures for the traced files.
10561 (main_loop_epoll): Likewise
10562 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10563 to __nss_disable_nscd.
10564 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10565 for a database anymore. Check the records for all the registered
10566 files instead.
10567 * nss/Makefile (libnss_files-routines): Add files-init.
10568 (libnss_db-routines): Add db-init.
10569 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10570 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10571 * nss/nss_db/db-init.c: New file.
10572 * nss/nss_files/files-init.c: New file.
10573 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10574 __nss_lookup_function.
10575 (__nss_lookup_function): Call nss_load_library.
10576 (nss_load_all_libraries): New function.
10577 (__nss_disable_nscd): Take parameter with callback function for files
10578 to register. Set is_nscd. Load all the DSOs for the NSS modules
10579 used for the cached services.
10580 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10581 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10582 options for features to all the files in nscd.
10583
10584 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10585
23bee3e8
RM
105862011-07-10 Roland McGrath <roland@hack.frob.com>
10587
10588 * csu/elf-init.c (__libc_csu_init): Comment typo.
10589
46a5b7f0
UD
105902011-07-09 Ulrich Drepper <drepper@gmail.com>
10591
10592 * po/pl.po: Update from translation team.
10593 * po/ja.po: Likewise.
10594 * po/ru.po: Likewise.
10595 * po/ko.po: Likewise.
10596 * po/fr.po: Likewise.
10597
d30cf5bb
RM
105982011-07-09 Roland McGrath <roland@hack.frob.com>
10599
113ddea4
RM
10600 * configure.in (.ctors/.dtors header and trailer check):
10601 Use an empirical test on a built program.
10602 * configure: Regenerated.
10603
574920b4
RM
10604 * configure.in (-z relro check): Use an empirical test on a built DSO.
10605 Detect, but do not require, on ia64.
10606 * configure: Regenerated.
10607
d30cf5bb
RM
10608 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10609 Update tests that use readelf to use $READELF instead.
10610 * configure: Regenerated.
10611
8538fdb3
UD
106122011-07-08 Ulrich Drepper <drepper@gmail.com>
10613
10614 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10615 if the result is not used.
10616
04d08991
AJ
106172011-07-05 Andreas Jaeger <aj@suse.de>
10618
10619 [BZ#9696]
10620 * stdlib/tst-strtod.c: Add testcase.
10621
de283087
AD
106222011-07-07 Ulrich Drepper <drepper@gmail.com>
10623
4e5f31c8 10624 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10625 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10626 The latter has a higher limit. Take additional parameter to pass to
10627 the new function.
10628 (__pathconf): Pass file to __statfs_link_max.
10629 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10630 __statfs_link_max.
10631 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10632 __statfs_link_max.
10633
de283087
AD
10634 [BZ #12868]
10635 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10636 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10637 Handle Lustre.
10638 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10639 (__statfs_filesize_max): Likewise.
10640 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10641
c75fa153
AJ
106422011-07-05 Andreas Jaeger <aj@suse.de>
10643
10644 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10645
1a544854
UD
106462011-07-06 Marek Polacek <mpolacek@redhat.com>
10647
10648 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10649 `status' variable.
10650 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10651 Likewise.
10652
6f0eec67
UD
106532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10654
10655 * Makefile (strop-tests): Add strncat.
10656 * string/test-strncat.c: New file.
10657
aae30307
UD
106582011-06-30 Marek Polacek <mpolacek@redhat.com>
10659
10660 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10661
c0cfb5eb
UD
106622011-06-21 Andreas Jaeger <aj@suse.de>
10663
10664 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10665 Copy rule from iconvdata/Makefile.
10666
01636b21
UD
106672011-07-06 Ulrich Drepper <drepper@gmail.com>
10668
10669 [BZ #12922]
10670 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10671 but no long options are defined, just return 'W'.
10672
9895c8bc
UD
106732011-06-22 Marek Polacek <mpolacek@redhat.com>
10674
10675 [BZ #9696]
10676 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10677
5d4cf042
UD
106782011-07-06 Ulrich Drepper <drepper@gmail.com>
10679
10680 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10681 netgroups to read.
960e5535 10682 (innetgr): Likewise.
5d4cf042 10683
751eb97e
RM
106842011-07-05 Roland McGrath <roland@hack.frob.com>
10685
10686 * config.make.in (install_root): Default to $(DESTDIR).
10687
f15f1e45
UD
106882011-07-05 Ulrich Drepper <drepper@gmail.com>
10689
10690 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10691
4e34ac6a
RM
106922011-07-02 Roland McGrath <roland@hack.frob.com>
10693
5e9b6af4
RM
10694 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10695
84f9ea0f
RM
10696 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10697 containing directory rather than embedding absolute directory names.
10698
ea5ee9f7
RM
10699 * scripts/check-local-headers.sh: Rewritten using awk.
10700 Match by word, not by line. Print error messages for matches.
10701 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10702
1b74661a
RM
10703 * Makerules [shlib-lds-flags empty]:
10704 ($(common-objpfx)libc_pic.opts): New target.
10705 ($(common-objpfx)libc_pic.os.clean): New target.
10706 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10707
10708 * config.make.in (OBJCOPY): New variable.
10709 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10710 * configure: Regenerated.
10711
f781ef40
RM
10712 * config.make.in (use-default-link): New variable.
10713 * configure.in (use_default_link): Grok --with-default-link to set it.
10714 * configure: Regenerated.
10715 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10716 (shlib-lds, shlib-lds-flags): Define to empty.
10717
2d4fa81e
RM
10718 * Makerules (shlib-lds): New variable.
10719 (shlib-lds-flags): New variable.
10720 (build-shlib, build-moduile, build-module-asneeded): Use it.
10721 ($(common-objpfx)libc.so): Use $(shlib-lds).
10722 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10723 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10724
31fffa6b
RM
10725 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10726 DT_FLAGS/DT_FLAGS_1 with zero flags.
10727
4e34ac6a
RM
10728 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10729 linker script munging.
10730
fcfc776b
UD
107312011-07-02 Ulrich Drepper <drepper@gmail.com>
10732
10733 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10734 as 128-bit value.
10735 * crypt/sha512.c (sha512_process_block): Perform total addition using
10736 128-bit if possible.
10737 (__sha512_finish_ctx): Likewise.
10738 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10739 as 64-bit value.
10740 * crypt/sha256.c (SWAP64): Define.
10741 (sha256_process_block): Perform total addition using 64-bit if
10742 possible.
10743 (__sha256_finish_ctx): Likewise.
10744
99231d9a
UD
107452011-07-01 Ulrich Drepper <drepper@gmail.com>
10746
10747 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10748 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10749 * nscd/hstcache.c (cache_addhst): Likewise.
10750 * nscd/grpcache.c (cache_addgr): Likewise.
10751 * nscd/aicache.c (addhstaiX): Likewise
10752 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10753
445b4a53
TK
107542011-07-01 Thorsten Kukuk <kukuk@suse.de>
10755
10756 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10757 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10758 * nscd/hstcache.c (cache_addhst): Likewise.
10759 * nscd/grpcache.c (cache_addgr): Likewise.
10760 * nscd/aicache.c (addhstaiX): Likewise
10761
6d4d8e8e
AS
107622011-07-01 Andreas Schwab <schwab@redhat.com>
10763
10764 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10765 domain only when needed.
10766
89f654c5
AS
107672011-06-30 Andreas Schwab <schwab@redhat.com>
10768
10769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10770 is always restored.
10771
cf3b23ff
UD
107722011-06-29 Ulrich Drepper <drepper@gmail.com>
10773
10774 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10775 are re-adding the entry.
10776 * nscd/servicescache.c (cache_addserv): Likewise.
10777
751626f9
AJ
107782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10779
10780 * sysdeps/generic/dl-irel.h: fix protection against multiple
10781 inclusions.
10782 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10783
9113ea1f
UD
107842011-06-28 Ulrich Drepper <drepper@gmail.com>
10785
5c0b8d90
UD
10786 [BZ #12935]
10787 * malloc/memusage.sh: Fix quoting in message.
10788 * debug/xtrace.sh: Likewise.
10789
9113ea1f
UD
10790 * configure.in: Remove support for --experimental-malloc option, make
10791 it the default.
10792 * config.make.in: Likewise.
10793 * malloc/Makefile: Likewise.
10794
a4172181
AS
107952011-06-27 Andreas Schwab <schwab@redhat.com>
10796
10797 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10798 two-byte characters.
10799
78a7eee7
RM
108002011-06-27 Roland McGrath <roland@hack.frob.com>
10801
62bede13
RM
10802 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10803 AC_CACHE_CHECK invocation.
10804 * configure: Regenerated.
10805
78a7eee7
RM
10806 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10807
5ce33a62
UD
108082011-06-27 Ulrich Drepper <drepper@gmail.com>
10809
034807a9
UD
10810 [BZ #12350]
10811 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10812 bit from old_res_options.
10813
4902da17
UD
10814 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10815
5ce33a62
UD
10816 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10817 value type for setfct.
10818
c2344f56
L
108192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10820
10821 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10822 __gettimeofday instead of gettimeofday.
10823
68468076
UD
108242011-06-26 Ulrich Drepper <drepper@gmail.com>
10825
10826 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10827
acb0d739
L
108282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10829
10830 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10831
10832 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10833 info.
10834
8912479f
L
108352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10836
10837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10838 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10839 strcpy-sse2-unaligned strncpy-sse2-unaligned
10840 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10841 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10842 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10843 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10844 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10845 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10846 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10847 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10848 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10849 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10850 (STRCPY): Support SSE2 and SSSE3 versions.
10851
d5495a11
UD
108522011-06-24 Ulrich Drepper <drepper@gmail.com>
10853
10854 [BZ #12874]
10855 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10856 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10857 kernels which artificially limit size of requests.
10858
0b1cbaae
L
108592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10860
10861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10862 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10863 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10864 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10865 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10866 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10867 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10868 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10869 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10870 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10871 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10872 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10873 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10874 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10875 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10877 Enable unaligned load optimization for Intel Core i3, i5 and i7
10878 processors.
10879 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10880 Define.
10881 (index_Fast_Unaligned_Load): Define.
10882 (HAS_FAST_UNALIGNED_LOAD): Define.
10883
07f494a0
MP
108842011-06-23 Marek Polacek <mpolacek@redhat.com>
10885
10886 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10887
fa3fc0fe
UD
108882011-06-22 Ulrich Drepper <drepper@gmail.com>
10889
10890 [BZ #12907]
10891 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10892 until it is clear that the information is realy needed.
10893 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10894
e12df166
AS
108952011-06-22 Andreas Schwab <schwab@redhat.com>
10896
10897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10898
852eb34d
UD
108992011-06-22 Ulrich Drepper <drepper@gmail.com>
10900
84e2a551
UD
10901 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10902 /sys/devices/system/cpu/online if it is usable.
10903
852eb34d
UD
10904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10905 reading the information from the /proc filesystem to once a second.
10906
6e502e19
UD
109072011-06-21 Andreas Jaeger <aj@suse.de>
10908
10909 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10910 NULL after inclusion of kernel headers.
10911
75d39ff2
UD
109122011-06-21 Ulrich Drepper <drepper@gmail.com>
10913
51f9aa6a
UD
10914 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10915 calls to internal_setent.
10916
c0244a9d
UD
10917 [BZ #12885]
10918 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10919 addresses using gethostbyname4_r ignore IPv4 addresses.
10920
c5e3c2ae
UD
10921 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10922 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10923
75d39ff2
UD
10924 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10925
42675c6f
DM
109262011-06-20 David S. Miller <davem@davemloft.net>
10927
10928 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10929 inclusions.
10930 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10931
10932 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10933 (elf_irel): Use it.
10934 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10935 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10936 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10937 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10938 * sysdeps/x86_64/dl-irel.h: Likewise.
10939
10940 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10941 * elf/dl-sym.c: Likewise.
10942
57912a71
UD
109432011-06-15 Ulrich Drepper <drepper@gmail.com>
10944
10945 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10946 need to dereference resplen2.
10947
ee22793d
AS
109482011-06-14 Andreas Schwab <schwab@redhat.com>
10949
10950 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10951
a9e836b0
UD
109522011-06-15 Ulrich Drepper <drepper@gmail.com>
10953
77fb9117
UD
10954 * Makeconfig: Define vardbdir and inst_vardbdir.
10955 * nss/Makefile: Add rules to install db-Makefile.
10956
40c1b22c
UD
10957 * nss/nss_db/db-XXX.c: Cleanup.
10958
9f2da732
UD
10959 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10960 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10961 GLIBC_PRIVATE.
10962 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10963 * nss/makedb.c: Implement -g option to specify that value strings
10964 are generated and should not be added to table iterated over for
10965 get*ent calls.
10966 * nss/nss_db/db-initgroups.c: New file.
10967
82e9a1f7
UD
10968 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10969 interface.
10970
c41af17e
UD
10971 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10972 (internal_getgrouplist): Adjust to name change.
10973 Update use_initgroups_entry if this is not the first call.
10974 * nss/databases.def: Add initgroups entry.
10975
a9e836b0
UD
10976 * nss/makedb.c (compute_tables): Check result of multiple hash table
10977 sizes to minimize maximum chain length.
10978
2666d441
UD
109792011-06-14 Ulrich Drepper <drepper@gmail.com>
10980
10981 * Versions.def: Add entry for libnss_db.
10982 * shlib-versions: Likewise.
10983 * nss/Makefile: Add rules to build libnss_db.
10984 * nss/Versions: Add libnss_db information. Organize libnss_files
10985 entries better.
10986 * nss/db-Makefile: Add gshadow support. Change rules for the new
10987 makedb progra. Some minor improvements to generate smaller files.
10988 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10989 here from...
10990 * nss/makedb.c: ...here.
10991 Improve database format to be smaller and require less memory at
10992 runtime.
10993 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10994 db anymore.
10995 * nss/nss_db/db-netgrp.c: Likewise.
10996 * nss/nss_db/db-open.c: Likewise.
10997 * nss/nss_files/flies-XXX.x: Adjust comments.
10998 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10999 * nss/nss_files/files-grp.c: Likewise.
11000 * nss/nss_files/files-hosts.c: Likewise.
11001 * nss/nss_files/files-network.c: Likewise.
11002 * nss/nss_files/files-proto.c: Likewise.
11003 * nss/nss_files/files-pwd.c: Likewise.
11004 * nss/nss_files/files-rpc.c: Likewise.
11005 * nss/nss_files/files-service.c: Likewise.
11006 * nss/nss_files/files-sgrp.c: Likewise.
11007 * nss/nss_files/files-spwd.c: Likewise.
11008 * nss/nss_db/db-alias.c: Removed.
11009 * nss/nss_db/dummy-db.h: Removed.
11010
9ee76b5a
UD
110112011-06-02 Ulrich Drepper <drepper@gmail.com>
11012
11013 * nss/makedb.c: Rewritten to not use database library.
11014 * nss/Makefile: Update to build new makedb program.
11015
c71ca1f8
AJ
110162011-06-14 Andreas Jaeger <aj@suse.de>
11017
11018 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11019 memset declaration.
11020
3154bfb8
UD
110212011-06-10 Andreas Schwab <schwab@redhat.com>
11022
11023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11024 tmpbuf.
11025
b350afab
RM
110262011-06-10 Roland McGrath <roland@hack.frob.com>
11027
decd4e50
RM
11028 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11029 * elf/Makefile ($(objpfx)ld.so): Likewise.
11030
5615eaf2
RM
11031 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11032 Don't list ld.so twice in dependencies.
11033
11034 * posix/bug-regex31.c: Include <stdlib.h>.
11035
11036 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11037
11038 * nis/nss_compat/compat-spwd.c
11039 (getspent_next_nss_netgr): Remove unused variable.
11040 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11041
11042 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11043 nonmembers" output to use the right array.
11044
11045 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11046
11047 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11048
11049 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11050 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11051 * catgets/gencat.c (read_input_file): Likewise.
11052 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11053
11054 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11055 variable definition inside #if's controlling its use.
11056
11057 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11058
11059 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11060
11061 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11062
11063 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11064 unreachable code.
11065
11066 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11067
b68e08db
RM
11068 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11069 * configure: Regenerated.
11070
b350afab
RM
11071 * Makerules: Revert last change.
11072 * elf/Makefile: Likewise.
11073
28368601
RM
110742011-06-09 Roland McGrath <roland@hack.frob.com>
11075
11076 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11077 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11078 (reloc-link): Likewise.
11079
11988f8f
UD
110802011-06-09 Ulrich Drepper <drepper@gmail.com>
11081
11082 * elf/Makefile: Add rules to build pldd.
11083 * elf/pldd.c: New file.
11084 * elf/pldd-xx.c: New file.
11085
e80fab37
UD
110862011-06-07 Ulrich Drepper <drepper@gmail.com>
11087
11088 * version.h: Update for 2.15 development version.
11089
9b849836
DM
110902011-06-07 David S. Miller <davem@davemloft.net>
11091
11092 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11093 ifuncs.
11094 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11095 elf_machine_lazy_rel): Likewise.
11096 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11097 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11098 elf_machine_lazy_rel): Likewise.
11099 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11100 dl_hwcap via passed in argument.
11101 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11102 Likewise.
11103
5a31b283
AK
111042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11105
11106 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11107
069e52f8
RM
111082011-06-06 Roland McGrath <roland@hack.frob.com>
11109
11110 [BZ #12849]
11111 * manual/fdl-1.1.texi: New file, verbatim from:
11112 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11113 * manual/lgpl-2.1.texi: New file, verbatim from:
11114 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11115 * manual/Makefile (licenses): New variable, list those new file names.
11116 (texis): Use it.
11117 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11118
11119 * manual/fdl.texi: File removed.
11120 * manual/lesser.texi: File removed.
11121 * manual/libc.texinfo (Copying, Documentation License):
11122 Use new @include file names, put @appendix directive before @include.
11123
f16846a5
JJ
111242011-06-04 Jakub Jelinek <jakub@redhat.com>
11125
11126 [BZ #12841]
11127 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11128 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11129 (mq_open): Add __NTH.
11130
3d29045b
L
111312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11132
11133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11134 Assume Intel Core i3/i5/i7 processor if AVX is available.
11135
8c297311
UD
111362011-05-31 Ulrich Drepper <drepper@gmail.com>
11137
11138 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11139 typo.
11140
c8fc0c91
UD
111412011-05-31 Andreas Schwab <schwab@redhat.com>
11142
11143 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11144 memory. Use alloca_account. Fix memory leak when retrying.
11145
5b27a807
UD
111462011-05-31 Ulrich Drepper <drepper@gmail.com>
11147
356f8bc6
UD
11148 * version.h (RELEASE): Bump for 2.14 release.
11149 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11150
5b27a807
UD
11151 * config.make.in (RANLIB): Remove entry.
11152
01f16ab0
UD
111532011-05-30 Ulrich Drepper <drepper@gmail.com>
11154
41fce8bd
UD
11155 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11156 (libc.pot): Work around missing support for .ksh extension in xgettext.
11157
4769ae77
UD
11158 [BZ #12684]
11159 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11160 if both request failed.
11161 (send_dg): In case of server errors clear resplen or *resplen2.
11162
6b1e7d19
UD
11163 [BZ #12454]
11164 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11165 when there are multiple maps.
11166 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11167 (_dl_fini): Remove test here.
11168
01f16ab0
UD
11169 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11170
b1ebd700
UD
111712011-05-29 Ulrich Drepper <drepper@gmail.com>
11172
7ae22829
UD
11173 [BZ #12350]
11174 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11175 bit from old_res_options.
11176 (gaih_inet): Likewise.
11177
553149f6 11178 [BZ #11099]
18a84741 11179 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11180 as signed.
11181
652ffab1
UD
11182 * resolv/res_init.c (res_setoptions): Make the code more compact.
11183
16985fd0
UD
11184 [BZ #11558]
11185 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11186 set RES_USEVC.
11187
0464f746
UD
11188 [BZ #11634]
11189 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11190
7d17596c
UD
11191 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11192
cf6bbbd7
UD
11193 [BZ #11781]
11194 * malloc/malloc.h: Declare malloc hook variables as volatile.
11195
13f1ab36
UD
11196 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11197 in last patch.
11198
b1ebd700
UD
11199 [BZ #11799]
11200 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11201 raise in the comment.
80e2212d
UD
11202 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11203 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11204 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11205
ce67228d
UD
112062011-05-28 Ulrich Drepper <drepper@gmail.com>
11207
8887a920
UD
11208 [BZ #12811]
11209 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11210 grow the buffers more if it already has to be sufficient.
11211 (build_wcs_upper_buffer): Likewise.
11212 * posix/regexec.c (check_matching): Likewise.
11213 (clean_state_log_if_needed): Likewise.
11214 (extend_buffers): Don't enlarge buffers beyond size of the input
11215 buffer.
11216 Patches mostly by Emil Wojak <emil@wojak.eu>.
11217 * posix/bug-regex32.c: New file.
11218 * posix/Makefile (tests): Add bug-regex32.
11219
4f031072
UD
11220 * locale/findlocale.c (_nl_find_locale): Return right away if
11221 _nl_explode_name failed.
11222 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11223
d0478f0c
UD
11224 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11225
de81b246
UD
11226 * debug/xtrace.sh: Unify messages.
11227 * malloc/memusage.sh: Likewise.
11228
c738465a
UD
11229 [BZ #12813]
11230 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11231 time symbol from vDSO. Substitute with vsyscall if not available.
11232 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11233 __vdso_time.
11234
f1f929d7
UD
11235 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11236 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11237 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11238 Add sendmmsg and internal_sendmmsg.
11239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11240 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11242
ce67228d
UD
11243 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11244 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11245 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11246
e57420c6
UD
112472011-05-27 Ulrich Drepper <drepper@gmail.com>
11248
a8509ca5
UD
11249 [BZ #12813]
11250 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11251 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11252 available.
11253 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11254 __vdso_getcpu.
11255
e57420c6
UD
11256 [BZ #12814]
11257 * iconvdata/Makefile (tests): Add bug-iconv9.
11258 * iconvdata/bug-iconv9.c: New file.
11259
4d07db15
AS
112602011-05-27 Andreas Schwab <schwab@redhat.com>
11261
11262 [BZ #12814]
11263 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11264
ea486f69
JJ
112652011-05-25 Jakub Jelinek <jakub@redhat.com>
11266
11267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11268 (struct user_regs_struct): Change intcs field back to cs.
11269
6f038433
UD
112702011-05-25 Ulrich Drepper <drepper@gmail.com>
11271
11272 * po/ja.po: Update from translation team.
11273
67f86a25
UD
112742011-05-23 Ulrich Drepper <drepper@gmail.com>
11275
11276 [BZ #12795]
11277 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11278 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11279
def7fbd6
AS
112802011-05-20 Andreas Schwab <schwab@redhat.com>
11281
11282 * stdlib/longlong.h: Update from GCC.
11283
f50ef8f1
AS
112842011-05-23 Andreas Schwab <schwab@redhat.com>
11285
11286 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11287 parameter name.
11288 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11289 Add parameter name.
11290 (__sysconf): Pass it down.
11291
de7ce8f1
UD
112922011-05-22 Ulrich Drepper <drepper@gmail.com>
11293
f2962a71
UD
11294 [BZ #12671]
11295 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11296 some situations.
11297 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11298 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11299 add in in __libc_use_alloca calls. Adjust callers.
11300 (glob): Use malloc in some situations.
11301
de7ce8f1
UD
11302 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11303 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11304 pltexit.
11305
aec84f53
UD
113062011-05-21 Ulrich Drepper <drepper@gmail.com>
11307
05bb4a68
UD
11308 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11309 and CLOCK_BOOTTIME_ALARM.
11310
7ea72f99
UD
11311 [BZ #12782]
11312 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11313 is returned.
11314
7e4afad5
UD
11315 * string/_strerror.c (__strerror_r): Print negative errors as signed
11316 numbers.
11317
8e211fec
UD
11318 [BZ #12777]
11319 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11320 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11321 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11322
f7d82dc9
UD
11323 * configure.in: Fix typo in redirection and correct removal of test
11324 files in two cases.
11325
cc9e536d
UD
11326 [BZ #12788]
11327 * locale/setlocale.c (new_composite_name): Fix test to check for
11328 identical name of all categories.
11329
aec84f53
UD
11330 [BZ #12792]
11331 * libio/filedoalloc.c (local_isatty): New function.
11332 (_IO_file_doallocate): Use local_isatty.
11333 * stdio-common/perror.c (perror): In case a new stream is used
11334 forward the stream error.
11335 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11336 error flag.
11337
78e64fdc
RT
113382011-05-20 Ulrich Drepper <drepper@gmail.com>
11339
34a9094f
UD
11340 [BZ #11869]
11341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11342 alloca.
11343 * include/alloca.h (extend_alloca_account): Define.
11344
78e64fdc
RT
11345 [BZ #11857]
11346 * posix/regex.h: Fix comments with documentation of user-accessible
11347 fields after compilation and describe correct free'ing of pattern
11348 after re_compile_pattern.
11349 Patch by Reuben Thomas <rrt@sc3d.org>.
11350
457bddfc
RA
113512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11352
11353 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11354 and -mno-altivec to prevent the compiler from using Altivec and/or
11355 VSX instructions when the corresponding registers are not available.
11356
a4527b51
AS
113572011-05-19 Andreas Schwab <schwab@redhat.com>
11358
11359 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11360
ed690b2f
UD
113612011-05-19 Ulrich Drepper <drepper@gmail.com>
11362
11363 * libio/freopen.c (freopen): Use __dup2, not dup2.
11364 * libio/freopen64.c (freopen64): Likewise.
11365
8db73634
L
113662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11367
11368 [BZ #12775]
11369 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11370 * math/Makefile (tests): Add test-powl.
11371 (CFLAGS-test-powl.c): Define.
11372 * math/test-powl.c: New file.
11373
0a197a9d
L
113742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11375
11376 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11377
ee30c380
UD
113782011-05-17 Ulrich Drepper <drepper@gmail.com>
11379
11380 [BZ #11837]
11381 * iconvdata/gb18030.c: Update to GB18020-2005.
11382
6ce75379
UD
113832011-05-16 Ulrich Drepper <drepper@gmail.com>
11384
a4b89fd8
AR
11385 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11386 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11387 Patch by Aharon Robbins <arnold@skeeve.com>.
11388
ea389b12
UD
11389 [BZ #11892]
11390 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11391 on the stack.
11392
68a3f91f
UD
11393 [BZ #11895]
11394 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11395 through underflows.
11396
15cc7dd1
UD
11397 [BZ #12766]
11398 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11399 point to strings before performing equality test for error_one_per_line
11400 mode.
11401
f3799213
UD
11402 [BZ #11697]
11403 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11404
d79a9c94
UD
11405 [BZ #11820]
11406 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11407 (struct user_fpregs_struct): Avoid __uint*_t types.
11408
56e5eb46
UD
11409 [BZ #6420]
11410 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11411 symbol info. Use it instead of calling _dl_addr locally.
11412 (lock_and_info): New function.
11413 (tr_freehook): Call lock_and_info and pass symbol info as additional
11414 parameter to tr_where.
11415 (tr_mallochook): Likewise.
11416 (tr_reallochook): Likewise.
11417 (tr_memalignhook): Likewise.
11418
6ce75379
UD
11419 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11420 used and couldn't be at all thread-safe.
11421
f8a3b5bf
UD
114222011-05-15 Ulrich Drepper <drepper@gmail.com>
11423
94b7cc37
UD
11424 * libio/freopen.c (freopen): Don't close old file descriptor
11425 before the new one is opened. Instead dup the new file descriptor
11426 to the old one after the new stream is created.
11427 * libio/freopen64.c (freopen64): Likewise.
11428 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11429 * libio/fileops.c (_IO_new_file_close_it): Handle new
11430 _IO_FLAGS2_NOCLOSE flag.
11431 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11432 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11433 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11434 _IO_FLAGS2_NOCLOSE flag.
11435 * include/unistd.h: Add hidden_proto for dup3.
11436 Define __have_dup3.
11437 * io/dup3.c: Define hidden symbol.
11438 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11439
bd25564e
UD
11440 [BZ #7101]
11441 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11442 when an incomplete long option is used.
11443 * posix/tst-getopt_long1.c: New file.
11444 * posix/Makefile (tests): Add tst-getopt_long1.
11445
c84cfef4
UD
11446 [BZ #10138]
11447 * scripts/config.guess: Update from autoconf-2.68.
11448 * scripts/config.sub: Likewise.
11449
3b85df27
UD
11450 [BZ #10157]
11451 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11452 tests into ...
11453 (has_cpuclock): ...this. New function.
11454 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11455 macro here based on has_cpuclock code.
11456
15a856b1
UD
11457 [BZ #10149]
11458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11459 First byte (not low byte) is now always NUL.
11460 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11461
05f399e6
UD
11462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11463 Use non-cancelable interfaces.
11464
10a52685 11465 [BZ #9809]
94ecc67d
UD
11466 * locale/iso-639.def: Add entry for Sorani.
11467
f8a3b5bf
UD
11468 [BZ #11901]
11469 * include/stdlib.h: Move include protection to the right place.
11470 Define abort_msg_s. Declare __abort_msg with it.
11471 * stdlib/abort.c (__abort_msg): Adjust type.
11472 * assert/assert.c (__assert_fail_base): New function. Majority
11473 of code from __assert_fail. Allocate memory for __abort_msg with
11474 mmap.
11475 (__assert_fail): Now call __assert_fail_base.
11476 * assert/assert-perr.c: Remove bulk of implementation. Use
11477 __assert_fail_base.
11478 * include/assert.hL Declare __assert_fail_base.
11479 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11480 mmap.
11481 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11482
1af4e298
UD
114832011-05-14 Ulrich Drepper <drepper@gmail.com>
11484
f8a3b5bf 11485 [BZ #11952]
d26dfc60
MG
11486 [BZ #12453]
11487 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11488 until all modules are registered in the DTV.
11489 * elf/Makefile: Add rules to build and run tst-tls19.
11490 * elf/tst-tls19.c: New file.
11491 * elf/tst-tls19mod1.c: New file.
11492 * elf/tst-tls19mod2.c: New file.
11493 * elf/tst-tls19mod3.c: New file.
11494 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11495
2fc54d6f
UD
11496 [BZ #12083]
11497 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11498 correctly.
11499
98d76b46
UD
11500 [BZ #12601]
11501 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11502 two-byte sequence errors.
11503 * iconvdata/Makefile (tests): Add bug-iconv8.
11504 * iconvdata/bug-iconv8.c: New file.
11505
da3c19ef
UD
11506 [BZ #12626]
11507 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11508 buf2 definition.
11509
ca408c15
UD
11510 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11511
d6f67f7d
UD
11512 [BZ #12432]
11513 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11514 (dummy_getcfa): New function.
11515 (init): Get _Unwind_GetCFA address, use dummy if not found.
11516 (backtrace_helper): In recursion check, also check whether CFA changes.
11517 (__backtrace): Completely initialize arg.
11518
1af4e298 11519 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11520 storing incomplete byte sequence in state object. Avoid testing for
11521 guaranteed too small input if we know there is enough data available.
1af4e298 11522
da62f81b
AS
115232011-05-11 Andreas Schwab <schwab@redhat.com>
11524
11525 * Makeconfig (+link-pie): Indent.
11526 * Rules (binaries-pie): Define if $(have-fpie) and
11527 $(build-shared).
11528 (binaries-shared): Also filter out $(binaries-pie).
11529 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11530 * nscd/Makefile (others-pie): Add nscd.
11531 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11532 ($(objpfx)nscd): Remove command override.
11533 * login/Makefile (others-pie): Add pt_chown.
11534 ($(objpfx)pt_chown): Remove command override.
11535 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11536 remove command overrides.
11537
fcabc0f8
UD
115382011-05-13 Ulrich Drepper <drepper@gmail.com>
11539
20030ae6
UD
11540 * libio/tst_putwc.c: Fix error messages.
11541
fcabc0f8
UD
11542 [BZ #12724]
11543 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11544 currently writing and seek to current position when not.
11545 * libio/Makefile (tests): Add bug-fclose1.
11546 * libio/bug-fclose1.c: New file.
11547
320a5dc0
PB
115482011-05-12 Ulrich Drepper <drepper@gmail.com>
11549
11550 [BZ #12511]
11551 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11552 don't set DF_1_NODELETE here.
11553 (do_lookup_x): When entering new entry test for copy relocation
11554 and if necessary set DF_1_NODELETE flag.
11555 * elf/tst-unique4.cc: New file.
11556 * elf/tst-unique4.h: New file.
11557 * elf/tst-unique4lib.cc: New file.
11558 * elf/Makefile: Add rules to build and run tst-unique4.
11559 Patch by Piotr Bury <pbury@goahead.com>.
11560
22836f52
UD
115612011-05-11 Ulrich Drepper <drepper@gmail.com>
11562
f574184a
UD
11563 [BZ #12052]
11564 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11565
e1fb097f
UD
11566 [BZ #12625]
11567 * misc/mntent_r.c (addmntent): Flush the stream after the output
11568
22836f52
UD
11569 [BZ #12393]
11570 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11571 (is_trusted_path_normalize): Skip initial colon. Append slash
11572 to empty buffer. Duplicate is_trusted_path code but allow
11573 constructed patch to be prefix.
11574 (is_dst): Allow $ORIGIN followed by /.
11575 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11576 Correct testing of result of is_trusted_path_normalize
11577 (decompose_rpath): Fix warning.
11578
7b3b0b2a
UD
115792011-05-10 Ulrich Drepper <drepper@gmail.com>
11580
11581 [BZ #11257]
11582 * grp/initgroups.c (internal_getgrouplist): When we found the service
11583 list through the initgroups entry in nsswitch.conf do not always
11584 continue on a successful lookup. Don't always use the
eac80ce2 11585 __nss_group_database value if it is set.
7b3b0b2a
UD
11586 * nss/nsswitch.conf (initgroups): Change action for successful db
11587 lookup to continue for compatibility.
11588
2a81eaa5
UD
115892011-05-09 Ulrich Drepper <drepper@gmail.com>
11590
be97a69e
UD
11591 [BZ #11532]
11592 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11593 and CP774 modules.
11594 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11595 and CP774 modules.
11596 * iconvdata/tst-tables.sh: Likewise.
11597 * iconvdata/cp770.c: New file.
11598 * iconvdata/cp771.c: New file.
11599 * iconvdata/cp772.c: New file.
11600 * iconvdata/cp773.c: New file.
11601 * iconvdata/cp774.c: New file.
11602 * iconvdata/testdata/CP770: New file.
11603 * iconvdata/testdata/CP770..UTF8: New file.
11604 * iconvdata/testdata/CP771: New file.
11605 * iconvdata/testdata/CP771..UTF8: New file.
11606 * iconvdata/testdata/CP772: New file.
11607 * iconvdata/testdata/CP772..UTF8: New file.
11608 * iconvdata/testdata/CP773: New file.
11609 * iconvdata/testdata/CP773..UTF8: New file.
11610 * iconvdata/testdata/CP774: New file.
11611 * iconvdata/testdata/CP774..UTF8: New file.
11612
11613 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11614 END CHARMAP line.
11615 * iconvdata/gen-8bit-gap.sh: Likewise.
11616 * iconvdata/gen-8bit.sh: Likewise.
11617
c1e9e399
UD
11618 * locale/iso-639.def: Add ary entry.
11619
24c55fb3 11620 [BZ #11258]
96b4b1b0
UD
11621 * locale/C-translit.h.in: Add U20A1 transliteration.
11622
bdc2f971
KB
11623 [BZ #12178]
11624 * locale/iso-639.def: Add wae entry.
11625 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11626
2952b117
UD
11627 [BZ #12545]
11628 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11629 for n.
11630
2a81eaa5
UD
11631 [BZ #12711]
11632 * locale/C-translit.h.in: Add entry for U20B9.
11633 Patch by pravin.d.s@gmail.com.
11634
28377d1b
UD
116352011-05-08 Ulrich Drepper <drepper@gmail.com>
11636
7fb90fb8
UD
11637 [BZ #12713]
11638 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11639 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11640 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11641 in rtld. Use *stat64.
7fb90fb8 11642 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11643 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11644 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11645 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11646 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11647 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11648 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11649 __fstatat64 macros.
7fb90fb8
UD
11650 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11651 * dirent/rewinddir.c: Add libc_hidden_def.
11652 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11653 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11654
28377d1b
UD
11655 * include/dirent.h (__alloc_dir): Add flags parameter.
11656 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11657 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11658 __alloc_dir.
11659 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11660 from fdopendir if O_CLOEXEC is already set.
11661
66bdbaa4
AM
116622011-03-15 Alan Modra <amodra@gmail.com>
11663
11664 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11665 l_tls_firstbyte_offset non-zero. Save padding offset in
11666 l_tls_firstbyte_offset for later use.
11667 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11668 freeing static tls block.
11669
95721191
JN
116702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11671
11672 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11673 where #ifdef was intended. The intent is to prevent ARG_MAX from
11674 being defined by the kernel headers.
11675
f87dfb1f
UD
116762011-05-07 Ulrich Drepper <drepper@gmail.com>
11677
11678 [BZ #12734]
11679 * resolv/resolv.h: Define RES_NOTLDQUERY.
11680 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11681 no-tld-query and set RES_NOTLDQUERY.
11682 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11683 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11684 modern BIND to search name as TLD unless forbidden.
11685
47c3cd7a
UD
116862011-05-07 Petr Baudis <pasky@suse.cz>
11687 Ulrich Drepper <drepper@gmail.com>
11688
11689 [BZ #12393]
11690 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11691 (is_trusted_path): ...to here.
c1e9ea35 11692 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11693 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11694 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11695
8a35c912
PP
116962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11697
11698 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11699 __BEGIN/__END_DECLS.
11700
acd41f47
UD
117012011-05-06 Ulrich Drepper <drepper@gmail.com>
11702
11703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11704 NSS_STATUS_NOTFOUND if no record was found.
11705
597df647
AS
117062011-05-05 Andreas Schwab <schwab@redhat.com>
11707
11708 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11709 (headers-not-in-tirpc): Remove rpc/netdb.h
11710 * resolv/netdb.h: Revert last change.
11711
b9af1301
PP
117122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11713
11714 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11715 circular dependency between libgcc.a and libc.a.
11716
4e34d5f5
AS
117172011-05-05 Andreas Schwab <schwab@redhat.com>
11718
11719 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11720 * nis/Makefile: Don't install rpcsvc/*.
11721 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11722 instead of <rpc/types.h>.
11723 (MAXHOSTNAMELEN): Define.
11724
00ee369c
AS
117252011-05-03 Andreas Schwab <schwab@redhat.com>
11726
11727 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11728
0b592a30
MB
117292011-04-28 Maciej Babinski <mbabinski@google.com>
11730
11731 [BZ #12714]
11732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11733 gethostbyname4_r when IPv6 results are possible.
11734
6e04cbbe
UD
117352011-05-02 Ulrich Drepper <drepper@gmail.com>
11736
11737 [BZ #12723]
11738 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11739 _PC_PIPE_BUF handling.
11740
e4ecafe0
BH
117412011-04-30 Bruno Haible <bruno@clisp.org>
11742
11743 [BZ #12717]
11744 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11745 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11746 to 'int'.
11747 * inet/getnameinfo.c (getnameinfo): Likewise.
11748
125ee683
UD
117492011-04-29 Ulrich Drepper <drepper@gmail.com>
11750
11751 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11752 to groups setting in database lookup.
11753 * nss/nsswitch.conf: Add initgroups entry.
11754
b722481a
EB
117552011-04-22 Ulrich Drepper <drepper@gmail.com>
11756
11757 [BZ #12685]
11758 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11759 mode string.
11760 Patch by Eric Blake <eblake@redhat.com>.
11761
4df46dbd
L
117622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11763
11764 * sunrpc/Makefile (need-export-routines): Add svc_run.
11765 (routines): Remove svc_run.
11766 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11767 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11768 * sunrpc/svc_run.c (svc_run): Likewise.
11769 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11770
e84142d2
UD
117712011-04-21 Ulrich Drepper <drepper@gmail.com>
11772
11773 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11774 problem in reallocation in last patch.
11775
877175d8
UD
117762011-04-20 Ulrich Drepper <drepper@gmail.com>
11777
11778 * sunrpc/Makefile: Move inclusion of Rules.
11779
ab8eed78
UD
117802011-04-19 Ulrich Drepper <drepper@gmail.com>
11781
11782 * nss/nss_files/files-initgroups.c: New file.
11783 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11784 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11785 _nss_files_initgroups_dyn.
11786
e3d8f584
RS
117872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11788
11789 * elf/elf.h (R_ARM_IRELATIVE): Define.
11790
af190f45
UD
117912011-04-19 Ulrich Drepper <drepper@gmail.com>
11792
11793 * po/ru.po: Update from translation team.
11794
53cf59ef
UD
117952011-04-17 Ulrich Drepper <drepper@gmail.com>
11796
11797 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11798 dependencies.
11799
4c559bcd
MF
118002011-02-06 Mike Frysinger <vapier@gentoo.org>
11801
11802 [BZ #12653]
11803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11804 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11805 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11806 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11807 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11808
4420675c
AS
118092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11810
11811 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11812 differing bytes.
11813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11815 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11816
75ea32ab
UD
118172011-04-17 Ulrich Drepper <drepper@gmail.com>
11818
11819 [BZ #12420]
11820 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11821 storing it.
11822 * stdlib/bug-getcontext.c: New file.
11823 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11824
27390476
AK
118252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11826
11827 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11828 instructions into .machine "z9-109".
11829 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11830 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11831
10442705
AK
118322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11833
11834 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11835 between environment variables and auxiliary vector.
11836
7b57bfe5
UD
118372011-04-16 Ulrich Drepper <drepper@gmail.com>
11838
11839 * Makefile: Add rules to build linkobj/libc.so.
11840 * include/libc-symbols.h: Define libc_hidden_nolink.
11841 * include/rpc/auth.h: Mark functions which are to be hidden.
11842 * include/rpc/auth_des.h: Likewise.
11843 * include/rpc/auth_unix.h: Likewise.
11844 * include/rpc/clnt.h: Likewise.
11845 * include/rpc/des_crypt.h: Likewise.
11846 * include/rpc/key_prot.h: Likewise.
11847 * include/rpc/pmap_clnt.h: Likewise.
11848 * include/rpc/pmap_prot.h: Likewise.
11849 * include/rpc/pmap_rmt.h: Likewise.
11850 * include/rpc/rpc_msg.h: Likewise.
11851 * include/rpc/svc.h: Likewise.
11852 * include/rpc/svc_auth.h: Likewise.
11853 * include/rpc/xdr.h: Likewise.
11854 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11855 * nss/Makefile: Likewise.
11856 * sunrpc/Makefile: Don't install headers. Build library with normal
11857 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11858 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11859 for the compat linking library. Remove use of INTDEF/INTUSE.
11860 * sunrpc/auth_none.c: Likewise.
11861 * sunrpc/auth_unix.c: Likewise.
11862 * sunrpc/authdes_prot.c: Likewise.
11863 * sunrpc/authuxprot.c: Likewise.
11864 * sunrpc/clnt_gen.c: Likewise.
11865 * sunrpc/clnt_perr.c: Likewise.
11866 * sunrpc/clnt_raw.c: Likewise.
11867 * sunrpc/clnt_simp.c: Likewise.
11868 * sunrpc/clnt_tcp.c: Likewise.
11869 * sunrpc/clnt_udp.c: Likewise.
11870 * sunrpc/clnt_unix.c: Likewise.
11871 * sunrpc/des_crypt.c: Likewise.
11872 * sunrpc/des_soft.c: Likewise.
11873 * sunrpc/get_myaddr.c: Likewise.
11874 * sunrpc/key_call.c: Likewise.
11875 * sunrpc/key_prot.c: Likewise.
11876 * sunrpc/netname.c: Likewise.
11877 * sunrpc/pm_getmaps.c: Likewise.
11878 * sunrpc/pm_getport.c: Likewise.
11879 * sunrpc/pmap_clnt.c: Likewise.
11880 * sunrpc/pmap_prot.c: Likewise.
11881 * sunrpc/pmap_prot2.c: Likewise.
11882 * sunrpc/pmap_rmt.c: Likewise.
11883 * sunrpc/publickey.c: Likewise.
11884 * sunrpc/rpc_cmsg.c: Likewise.
11885 * sunrpc/rpc_common.c: Likewise.
11886 * sunrpc/rpc_dtable.c: Likewise.
11887 * sunrpc/rpc_prot.c: Likewise.
11888 * sunrpc/rpc_thread.c: Likewise.
11889 * sunrpc/rtime.c: Likewise.
11890 * sunrpc/svc.c: Likewise.
11891 * sunrpc/svc_auth.c: Likewise.
11892 * sunrpc/svc_authux.c: Likewise.
11893 * sunrpc/svc_raw.c: Likewise.
11894 * sunrpc/svc_run.c: Likewise.
11895 * sunrpc/svc_simple.c: Likewise.
11896 * sunrpc/svc_tcp.c: Likewise.
11897 * sunrpc/svc_udp.c: Likewise.
11898 * sunrpc/svc_unix.c: Likewise.
11899 * sunrpc/svcauth_des.c: Likewise.
11900 * sunrpc/xcrypt.c: Likewise.
11901 * sunrpc/xdr.c: Likewise.
11902 * sunrpc/xdr_array.c: Likewise.
11903 * sunrpc/xdr_float.c: Likewise.
11904 * sunrpc/xdr_intXX_t.c: Likewise.
11905 * sunrpc/xdr_mem.c: Likewise.
11906 * sunrpc/xdr_rec.c: Likewise.
11907 * sunrpc/xdr_ref.c: Likewise.
11908 * sunrpc/xdr_sizeof.c: Likewise.
11909 * sunrpc/xdr_stdio.c: Likewise.
11910
e6c61494
UD
119112011-04-10 Ulrich Drepper <drepper@gmail.com>
11912
11913 [BZ #12650]
11914 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11915 * sysdeps/ia64/dl-tls.h: Likewise.
11916 * sysdeps/powerpc/dl-tls.h: Likewise.
11917 * sysdeps/s390/dl-tls.h: Likewise.
11918 * sysdeps/sh/dl-tls.h: Likewise.
11919 * sysdeps/sparc/dl-tls.h: Likewise.
11920 * sysdeps/x86_64/dl-tls.h: Likewise.
11921 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11922
34fe483e
AS
119232011-03-14 Andreas Schwab <schwab@redhat.com>
11924
11925 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11926 rpath element also skip the following colon.
11927 (expand_dynamic_string_token): Add is_path parameter and pass
11928 down to DL_DST_REQUIRED and _dl_dst_substitute.
11929 (decompose_rpath): Call expand_dynamic_string_token with
11930 non-zero is_path. Ignore empty rpaths.
11931 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11932 with zero is_path.
11933
f12a32e6
AS
119342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11935
11936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11937 Make cancelable.
11938
38a7d692
UD
119392011-04-09 Ulrich Drepper <drepper@gmail.com>
11940
11941 [BZ #12655]
11942 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11943 Patch by Filipe David Manana <fdmanana@apache.org>.
11944
e451d22b
AS
119452011-04-07 Andreas Schwab <schwab@redhat.com>
11946
11947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11948 Maintain aligned stack.
11949 (CHECK_RSP): Remove unused macro.
11950
dedc7c7b
UD
119512011-04-03 Ulrich Drepper <drepper@gmail.com>
11952
11953 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11954 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11955
94521213
UD
119562011-04-02 Ulrich Drepper <drepper@gmail.com>
11957
11958 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11959
8cb700c0 11960 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11961
0354e355
L
119622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11963
11964 [BZ #12518]
11965 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11966 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11967 * sysdeps/x86_64/memmove.c: New file.
11968 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11969 (memcpy): Renamed to ...
11970 (__new_memcpy): This.
11971 (memcpy): Provide GLIBC_2_14 memcpy.
11972 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11973 (memcpy): Provide GLIBC_2_2_5 memcpy.
11974
8593482f
UD
119752011-04-01 Ulrich Drepper <drepper@gmail.com>
11976
11977 [BZ #12631]
11978 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11979
81a5726b
AS
119802011-03-30 Andreas Schwab <schwab@redhat.com>
11981
11982 * misc/syncfs.c: New file.
11983 * misc/Makefile (routines): Add syncfs.
11984 * posix/unistd.h: Declare syncfs.
11985 * sysdeps/unix/syscalls.list: Add syncfs.
11986
00e5419f
AS
119872011-04-01 Andreas Schwab <schwab@redhat.com>
11988
11989 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11990 open_by_handle_at.
11991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11992 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11994 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11996 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11997 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11998
748876bf
UD
119992011-04-01 Ulrich Drepper <drepper@gmail.com>
12000
658e451d
UD
12001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12002 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12003 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12007 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12008
748876bf
UD
12009 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12010 sync_file_range.c with -fexceptions.
12011 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12012 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12013 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12014 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12015 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12016 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12017 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12018 sync_file_range as cancellation point
12019 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12020 now a wrapper around __call_sync_file_range with cancellation handling.
12021 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12022 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12023 function name to __call_sync_file_range.
12024 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12025 Add call_sync_file_range.
748876bf 12026
6e63d5e1
AS
120272011-04-01 Andreas Schwab <schwab@redhat.com>
12028
12029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12030 bits/timex.h.
6e63d5e1 12031
46998f74
UD
120322011-04-01 Ulrich Drepper <drepper@gmail.com>
12033
4c1423ed
UD
12034 * iconv/iconv.h: Fix typo in comment.
12035 * io/fcntl.h: Likewise.
12036 * libio/stdio.h: Likewise.
12037 * posix/spawn.h: Likewise.
12038 * posix/unistd.h: Likewise.
12039 * stdlib/stdlib.h: Likewise.
12040 * time/time.h: Likewise.
12041 * wcsmbs/wchar.h: Likewise.
12042
158648c0
UD
12043 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12044 open_by_handle): Add.
12045 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12046 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12047 Augment a few comments.
12048 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12050 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12051 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12052 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12053 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12054 open_by_handle.
12055
46998f74
UD
12056 * io/fcntl.h (AT_EMPTY_PATH): Define.
12057
83fe108b
UD
120582011-03-30 Ulrich Drepper <drepper@gmail.com>
12059
12060 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12061 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12062 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12063 to...
12064 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12065 * Versions.def: Add GLIBC_2.14.
12066 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12067 Export.
83fe108b 12068
bb242059
UD
120692011-03-22 Ulrich Drepper <drepper@gmail.com>
12070
12071 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12072 round counter.
12073 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12074
c97a1282
L
120752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12076
12077 [BZ #12597]
12078 * string/test-strncmp.c (do_page_test): New function.
12079 (check2): Likewise.
12080 (test_main): Call check2.
12081 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12082
2a115601
UD
120832011-03-20 Ulrich Drepper <drepper@gmail.com>
12084
12085 [BZ #12587]
12086 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12087 Handle cache information in CPU leaf 4.
12088 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12089
8126d904
UD
120902011-03-18 Ulrich Drepper <drepper@gmail.com>
12091
042c49c6 12092 [BZ #12583]
8126d904
UD
12093 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12094 character representation.
12095 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12096
ccfe366e
RA
120972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12098
12099 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12100 END(__isnan) to END(__isnanf) to match function entry point/label
12101 EALIGN(__isnanf,...).
12102
c6e13027
JJ
121032011-03-10 Jakub Jelinek <jakub@redhat.com>
12104
12105 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12106
33f85a3f
UD
121072011-03-10 Ulrich Drepper <drepper@gmail.com>
12108
028478fa
UD
12109 [BZ #12510]
12110 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12111 copy from the symbol referenced in the relocation to initialize the
12112 used variable.
12113 Patch by Piotr Bury <pbury@goahead.com>.
12114 * elf/Makefile: Add rules to build and tst-unique3.
12115 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12116 * elf/tst-unique3.cc: New file.
12117 * elf/tst-unique3.h: New file.
12118 * elf/tst-unique3lib.cc: New file.
12119 * elf/tst-unique3lib2.cc: New file.
12120
33f85a3f
UD
12121 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12122
03592fc7
MF
121232011-03-10 Mike Frysinger <vapier@gentoo.org>
12124
12125 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12126 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12127 to _start.
03592fc7 12128
6a5ee102
UD
121292011-03-06 Ulrich Drepper <drepper@gmail.com>
12130
12131 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12132 to-be-loaded object along a path to loader is ld.so.
12133
7e4ba49c
HJ
121342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12135 Ulrich Drepper <drepper@gmail.com>
12136
12137 * sysdeps/x86_64/memset.S: After aligning destination, code
12138 branches to different locations depending on the value of
12139 misalignment, when multiarch is enabled. Fix this.
12140
121412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12142
12143 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12144 Set _x86_64_preferred_memory_instruction for AMD processsors.
12145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12146 Set bit_Prefer_SSE_for_memop for AMD processors.
12147
13a804de
UD
121482011-03-04 Ulrich Drepper <drepper@gmail.com>
12149
12150 * libio/fmemopen.c (fmemopen): Optimize a bit.
12151
9d25c392
AS
121522011-03-03 Andreas Schwab <schwab@redhat.com>
12153
12154 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12155
a5543c6a
RM
121562011-03-03 Roland McGrath <roland@redhat.com>
12157
12158 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12159
012d35f7
DM
121602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12161
7e4ba49c 12162 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12163 __bzero_ultra1 instead of __memset_ultra1.
12164
4bff6e01
AS
121652011-02-23 Andreas Schwab <schwab@redhat.com>
12166 Ulrich Drepper <drepper@gmail.com>
12167
12168 [BZ #12509]
12169 * include/link.h (struct link_map): Add l_orig_initfini.
12170 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12171 returning unsuccessfully.
12172 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12173 close of a file loaded at startup, restore the original l_initfini
12174 list.
12175 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12176 list, store the pointer.
12177 * elf/Makefile ($(objpfx)noload-mem): New rule.
12178 (noload-ENV): Define.
12179 (tests): Add $(objpfx)noload-mem.
12180 * elf/noload.c: Include <memcheck.h>.
12181 (main): Call mtrace. Close all opened handles.
12182
f2092faf
AS
121832011-02-17 Andreas Schwab <schwab@redhat.com>
12184
12185 [BZ #12454]
12186 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12187 dependencies are missing.
12188
6c8a2e88
ST
121892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12190
f2092faf 12191 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12192 Hurd needs munmap.
12193 * sysdeps/mach/hurd/ifreq.h: New file.
12194
84a42118
PB
121952011-01-27 Petr Baudis <pasky@suse.cz>
12196 Ulrich Drepper <drepper@gmail.com>
12197
071f805e 12198 [BZ 12445]#
84a42118
PB
12199 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12200 to extend_alloca().
12201 * stdio-common/bug23.c: New file.
12202 * stdio-common/Makefile (tests): Add bug23.
12203
e23fe25b
AS
122042010-09-28 Andreas Schwab <schwab@redhat.com>
12205 Ulrich Drepper <drepper@gmail.com>
12206
12207 [BZ #12489]
12208 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12209 before performing relro protection. At old place add assertion
12210 to make sure nothing changed.
12211
d3f02e10
NS
122122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12213 Glauber de Oliveira Costa <glommer@gmail.com>
12214
12215 * elf/elf.h: Add new ARM TLS relocs.
12216
d55fd7a5
RA
122172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12218
12219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12220 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12221 cast from r3.
12222 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12223 'tests' variable.
12224 * sysdeps/wordsize-64/tst-writev.c: New file.
12225
2206397e
RA
122262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12227
12228 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12229 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12230 insns in _dl_start to prevent a TOC reference before relocs are
12231 resolved.
12232
e9433893
UD
122332011-02-15 Ulrich Drepper <drepper@gmail.com>
12234
12235 [BZ #12469]
12236 * Makeconfig: Remove RANLIB definition.
12237 * Makerules: Don't use RANLIB.
12238 * aclocal.m4: Remove ranlib test.
12239 * configure.in: No need to check for ranlib.
12240 * elf/rtld-Rules: Don't use RANLIB.
12241
f75286c6
ST
122422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12243
8e31c82d
ST
12244 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12245 protection macro.
12246 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12247 inclusion protection macro.
12248
f75286c6
ST
12249 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12250 SIGRTMIN and SIGRTMAX and print information in that case only when
12251 SIGRTMIN is defined.
12252
c1d0e639
JJ
122532011-02-11 Jakub Jelinek <jakub@redhat.com>
12254
12255 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12256 arginfo fn returning -1.
12257
12258 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12259 and thousands string is zero terminated.
12260
edf9294e
AS
122612011-02-03 Andreas Schwab <schwab@redhat.com>
12262
12263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12264 sysdeps/unix/sysv/linux/bits/socket.h.
12265
2b7e92df
ST
122662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12267
edf9294e
AS
12268 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12269 (__CPU_COUNT): Remove old macros.
12270 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12271 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12272 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12273 (__sched_cpualloc, __sched_cpufree): Add declarations.
12274
a4c7ea7b
UD
122752011-02-05 Ulrich Drepper <drepper@gmail.com>
12276
12277 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12278 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12279 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12280 (readdhstai): Return value of addhstaiX call.
12281 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12282 (addgrbyX): Return value returned by cache_addgr.
12283 (readdgrbyname): Return value returned by addgrbyX.
12284 (readdgrbygid): Likewise.
12285 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12286 (addpwbyX): Return value returned by cache_addpw.
12287 (readdpwbyname): Return value returned by addhstbyX.
12288 (readdpwbyuid): Likewise.
12289 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12290 (addservbyX): Return value returned by cache_addserv.
12291 (readdservbyname): Return value returned by addservbyX:
12292 (readdservbyport): Likewise.
12293 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12294 (addhstbyX): Return value returned by cache_addhst.
12295 (readdhstbyname): Return value returned by addhstbyX.
12296 (readdhstbyaddr): Likewise.
12297 (readdhstbynamev6): Likewise.
12298 (readdhstbyaddrv6): Likewise.
12299 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12300 (readdinitgroups): Return value returned by addinitgroupsX.
12301 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12302 (prune_cache): Keep track of timeout value of re-added entries.
12303 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12304 * nscd/nscd.h: Adjust prototypes of readd* functions.
12305
a0bf67cc
RM
123062011-02-04 Roland McGrath <roland@redhat.com>
12307
12308 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12309 (nis_stats): Likewise.
12310 * nis/nis_modify.c (nis_modify): Likewise.
12311 * nis/nis_remove.c (nis_remove): Likewise.
12312 * nis/nis_add.c (nis_add): Likewise.
12313
12314 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12315
12316 * posix/fnmatch_loop.c: Add some consts.
12317
12318 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12319
435b95eb
L
123202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12321
12322 [BZ #12460]
12323 * config.make.in (config-cflags-novzeroupper): Define.
12324 * configure.in: Substitute libc_cv_cc_novzeroupper.
12325 * elf/Makefile (AVX-CFLAGS): Define.
12326 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12327 (CFLAGS-tst-auditmod4a.c): Likewise.
12328 (CFLAGS-tst-auditmod4b.c): Likewise.
12329 (CFLAGS-tst-auditmod6b.c): Likewise.
12330 (CFLAGS-tst-auditmod6c.c): Likewise.
12331 (CFLAGS-tst-auditmod7b.c): Likewise.
12332 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12333
8517b15e
UD
123342011-02-02 Ulrich Drepper <drepper@gmail.com>
12335
12336 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12337 function to the callback.
12338 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12339
10a656fe
AS
123402011-02-02 Andreas Schwab <schwab@redhat.com>
12341
12342 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12343 of errno.
12344
968dad0a
UD
123452011-01-19 Ulrich Drepper <drepper@gmail.com>
12346
9f94d2ea 12347 [BZ #11724]
968dad0a
UD
12348 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12349 of constructors.
12350 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12351 of destructors.
12352 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12353
12354 [BZ #11724]
12355 * elf/Makefile: Add rules to build and run new test.
12356 * elf/tst-initorder.c: New file.
12357 * elf/tst-initorder.exp: New file.
12358 * elf/tst-initordera1.c: New file.
12359 * elf/tst-initordera2.c: New file.
12360 * elf/tst-initordera3.c: New file.
12361 * elf/tst-initordera4.c: New file.
12362 * elf/tst-initorderb1.c: New file.
12363 * elf/tst-initorderb2.c: New file.
12364 * elf/tst-order-a1.c: New file.
12365 * elf/tst-order-a2.c: New file.
12366 * elf/tst-order-a3.c: New file.
12367 * elf/tst-order-a4.c: New file.
12368 * elf/tst-order-b1.c: New file.
12369 * elf/tst-order-b2.c: New file.
12370 * elf/tst-order-main.c: New file.
12371 New test case by George Gensure <werkt0@gmail.com>.
12372
86e92359
UD
123732010-10-01 Andreas Schwab <schwab@redhat.com>
12374
12375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12376 decoding ACE if AI_CANONIDN.
12377
5d5732b0
UD
123782011-01-18 Ulrich Drepper <drepper@gmail.com>
12379
12380 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12381
a77e8cbc
UD
123822011-01-17 Ulrich Drepper <drepper@gmail.com>
12383
6392473f
UD
12384 * version.h (RELEASE): Bump for 2.13 release.
12385 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12386
620a0529
UD
12387 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12388
18ba70a5
UD
12389 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12390 MADV_NOHUGEPAGE.
32465c3e
UD
12391 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12392 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12393 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12394 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12396 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12397
c0dafcf1
UD
12398 * posix/getconf.c: Update copyright year.
12399 * catgets/gencat.c: Likewise.
12400 * csu/version.c: Likewise.
12401 * debug/catchsegv.sh: Likewise.
12402 * debug/xtrace.sh: Likewise.
12403 * elf/ldconfig.c: Likewise.
12404 * elf/ldd.bash.in: Likewise.
12405 * elf/sprof.c (print_version): Likewise.
12406 * iconv/iconv_prog.c: Likewise.
12407 * iconv/iconvconfig.c: Likewise.
12408 * locale/programs/locale.c: Likewise.
12409 * locale/programs/localedef.c: Likewise.
12410 * malloc/memusage.sh: Likewise.
12411 * malloc/mtrace.pl: Likewise.
12412 * nscd/nscd.c (print_version): Likewise.
12413 * nss/getent.c: Likewise.
12414
a77e8cbc
UD
12415 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12416 PF_CAIF, and PF_ALG.
12417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12418
77e8bddf
AS
124192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12420
1f20b93a
AS
12421 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12422 (modules-names): Use them.
12423 (ifunc-test-modules, ifunc-pie-tests): Define.
12424 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12425 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12426 (test-extras): Likewise.
12427 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12428 $(compile-command.c).
12429 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12430 (all-built-dso): Define.
12431 (check-textrel.out, check-execstack.out): Depend on it.
12432
77e8bddf
AS
12433 * configure.in: Don't override --enable-multi-arch.
12434
bc425b33
UD
124352011-01-15 Ulrich Drepper <drepper@gmail.com>
12436
12437 [BZ #6812]
12438 * nscd/hstcache.c (tryagain): Define.
12439 (cache_addhst): Return tryagain not notfound for temporary errors.
12440 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12441 failed.
12442
794c3ad3
UD
124432011-01-14 Ulrich Drepper <drepper@gmail.com>
12444
70181fdd
UD
12445 [BZ #10563]
12446 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12447 to make the syscall.
12448 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12449
794c3ad3
UD
12450 [BZ #12378]
12451 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12452 and fall back to matching as normal character if the string ends before
12453 the matching ']' is found. This is what POSIX requires.
12454 * posix/testfnm.c: Adjust test result.
12455 * posix/globtest.sh: Adjust test result. Add new test.
12456 * posix/tst-fnmatch.input: Likewise.
12457 * posix/tst-fnmatch2.c: Add new test.
12458
68dc9497
AS
124592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12460
12461 * elf/Makefile (check-execstack): Revert last change. Depend on
12462 check-execstack.h.
12463 (check-execstack.h): New target.
12464 (generated): Add check-execstack.h.
12465 * elf/check-execstack.c: Include "check-execstack.h".
12466 (main): Revert last change.
12467 (handle_file): Return zero if GNU_STACK is absent and
12468 DEFAULT_STACK_PERMS doesn't include PF_X.
12469
451f001b
UD
124702011-01-13 Ulrich Drepper <drepper@gmail.com>
12471
cfa28e56
UD
12472 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12473 in child fails because the descriptor is already closed.
8cf8ce17
UD
12474 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12475 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12476 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12477
1086d70d
UD
12478 [BZ #12397]
12479 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12480 syscall.
12481
451f001b
UD
12482 [BZ #10484]
12483 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12484 temporary buffer used to handle multi lookups locally.
a85b5cb4 12485 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12486
08769175
UD
124872011-01-12 Ulrich Drepper <drepper@gmail.com>
12488
12489 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12490 loader is ld.so.
12491
5e49c52e
UD
124922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12493
12494 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12495 alignment for SSE2.
12496
60522a5f
UD
124972011-01-12 Ulrich Drepper <drepper@gmail.com>
12498
12499 [BZ #12394]
12500 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12501 characters. When rounding increased number of integer digits recompute
12502 number of groups.
12503 * stdio-common/tst-grouping.c: New file.
12504 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12505
f257bbd7
UD
125062011-01-09 Ulrich Drepper <drepper@gmail.com>
12507
12508 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12509 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12510
12511 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12512 void.
12513 * bits/select.h: Likewise.
12514
fa9c15cb
UD
125152011-01-08 Ulrich Drepper <drepper@gmail.com>
12516
12517 * po/ja.po: Update from translation team.
12518
16c2895f
DM
125192011-01-04 David S. Miller <davem@sunset.davemloft.net>
12520
12521 [BZ #11155]
12522 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12523 implementation just like for lxstat, fxstatat, et al.
12524
2543fef2
JM
125252010-12-27 Jim Meyering <meyering@redhat.com>
12526
12527 [BZ #12348]
12528 * posix/regexec.c (build_trtable): Return failure indication upon
12529 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12530
98727dbe
UD
125312010-12-25 Ulrich Drepper <drepper@gmail.com>
12532
5bd6dc5c
UD
12533 [BZ #12201]
12534 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12535 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12536 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12537 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12538
97983464
UD
12539 [BZ #12207]
12540 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12541
98727dbe
UD
12542 [BZ #12204]
12543 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12544 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12545
4a531bb0
L
125462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12547
12548 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12549 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12550 script has SORT_BY_INIT_PRIORITY.
12551 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12552 NO_CTORS_DTORS_SECTIONS is defined.
12553 * elf/soinit.c: Likewise.
12554 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12555 NO_CTORS_DTORS_SECTIONS is defined.
12556 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12557 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12558 * sysdeps/sh/init-first.c: Likewise.
12559 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12560
07eb4b71
UD
125612010-12-24 Ulrich Drepper <drepper@gmail.com>
12562
12563 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12564 always use the slow path.
12565
30950a5f
RA
125662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12567
12568 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12569 similar rule which adds the sysdep directories to the header search in
12570 order to pick up the correct platform stackinfo.h.
12571 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12572 perform test if it is, otherwise return successfully without testing.
12573 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12574 DEFAULT_STACK_PERMS define in stackinfo.h.
12575 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12576 defined in stackinfo.h.
12577 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12578 DEFAULT_STACK_PERMS defined in stackinfo.h.
12579 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12580 * sysdeps/ia64/stackinfo.h: Likewise.
12581 * sysdeps/s390/stackinfo.h: Likewise.
12582 * sysdeps/sh/stackinfo.h: Likewise.
12583 * sysdeps/sparc/stackinfo.h: Likewise.
12584 * sysdeps/x86_64/stackinfo.h: Likewise.
12585 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12586 PF_X for powerpc64. Retain PF_X for powerpc32.
12587
db753e2c
UD
125882010-12-19 Ulrich Drepper <drepper@gmail.com>
12589
14b697f7
UD
12590 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12591 accurately.
db753e2c
UD
12592 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12593 GETDENTS_64BIT_ALIGNED.
12594
28300719
UD
125952010-12-14 Ulrich Drepper <dreper@gmail.com>
12596
14b697f7 12597 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12598
4f197237
AS
125992010-12-10 Andreas Schwab <schwab@redhat.com>
12600
dbb0472f
AS
12601 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12602 _GNU_SOURCE.
12603
4f197237
AS
12604 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12605 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12606 Remove __restrict.
12607 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12608 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12609
fb88ac72
UD
126102010-12-09 Ulrich Drepper <drepper@gmail.com>
12611
12612 [BZ #11655]
12613 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12614 are initialized.
12615
42acbb92
JJ
126162010-12-09 Jakub Jelinek <jakub@redhat.com>
12617
12618 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12619
c038d98d
UD
126202010-12-03 Ulrich Drepper <drepper@gmail.com>
12621
12622 * po/it.po: Update from translation team.
12623
3a4a2499
L
126242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12625
12626 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12627 unused codes.
12628
1e24cf6e
UD
126292010-11-30 Ulrich Drepper <drepper@gmail.com>
12630
12631 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12632
a7690819
AS
126332010-11-24 Andreas Schwab <schwab@redhat.com>
12634
12635 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12636 specially.
12637 (gaih_getanswer_slice): Likewise.
12638
3bf8d1b1
JJ
126392010-10-20 Jakub Jelinek <jakub@redhat.com>
12640
12641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12642
6db52fbb
PB
126432010-05-31 Petr Baudis <pasky@suse.cz>
12644
12645 [BZ #11149]
12646 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12647 silently even in the chroot mode.
12648
eaca7569
UD
126492010-11-22 Ulrich Drepper <drepper@gmail.com>
12650
12651 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12652 last patch a bit. Pretty printing
12653
3056dcdb
UD
126542010-05-31 Petr Baudis <pasky@suse.cz>
12655
12656 [BZ #10085]
12657 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12658 initialization of skip_initgroups_dyn.
12659
cf7c9078
UD
126602010-11-19 Ulrich Drepper <drepper@gmail.com>
12661
12662 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12663 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12664
a1fb5e3e
UD
126652010-11-16 Ulrich Drepper <drepper@gmail.com>
12666
12667 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12668
3540d66b
AS
126692010-11-11 Andreas Schwab <schwab@redhat.com>
12670
12671 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12672 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12673 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12674 ($(objpfx)tst-fnmatch-mem): New rule.
12675 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12676 * posix/tst-fnmatch.c (main): Call mtrace.
12677
13b69574
L
126782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12679
12680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12681 Support Intel processor model 6 and model 0x2c.
12682
da93d214
LM
126832010-11-10 Luis Machado <luisgpm@br.ibm.com>
12684
12685 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12686 signed comparison.
12687
8ca52c6e
L
126882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12689
12690 [BZ #12205]
12691 * string/test-strncasecmp.c (check_result): New function.
12692 (do_one_test): Use it.
12693 (check1): New function.
12694 (test_main): Use it.
12695 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12696 Support strcasecmp and strncasecmp.
12697
69da074d
UD
126982010-11-08 Ulrich Drepper <drepper@gmail.com>
12699
12700 [BZ #12194]
12701 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12702 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12703
ff02d528
L
127042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12705
12706 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12707 IFUNC support.
12708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12709 memset-x86-64.
12710 * sysdeps/x86_64/multiarch/bzero.S: New file.
12711 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12712 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12713 * sysdeps/x86_64/multiarch/memset.S: New file.
12714 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12716 Set bit_Prefer_SSE_for_memop for Intel processors.
12717 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12718 Define.
12719 (index_Prefer_SSE_for_memop): Define.
12720 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12721
344d0b54
LM
127222010-11-04 Luis Machado <luisgpm@br.ibm.com>
12723
12724 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12725 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12726
c0dde15b
UD
127272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12728
12729 [BZ #12191]
12730 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12731 (__x86_64_raw_data_cache_size_half): Likewise.
12732 (__x86_64_raw_shared_cache_size): Likewise.
12733 (__x86_64_raw_shared_cache_size_half): Likewise.
12734
12735 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12736 (__x86_64_raw_data_cache_size_half): Likewise.
12737 (__x86_64_raw_shared_cache_size): Likewise.
12738 (__x86_64_raw_shared_cache_size_half): Likewise.
12739 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12740 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12741 and __x86_64_raw_shared_cache_size_half. Round
12742 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12743 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12744 to multiple of 256 bytes.
12745
0e516e0e
MS
127462010-11-03 Ulrich Drepper <drepper@gmail.com>
12747
12748 [BZ #12167]
12749 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12750 of inacessible symlinks. Verify result of symlink before returning it.
12751 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12752 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12753
0e012e87
ER
127542010-10-28 Erich Ritz <erichritz@gmail.com>
12755
12756 * math/math.h (isinf): Fix typo in comment.
12757
de0ff7bc
UD
127582010-11-01 Ulrich Drepper <drepper@gmail.com>
12759
12760 * po/da.po: Update from translation team.
12761
fa41c84d
UD
127622010-10-26 Ulrich Drepper <drepper@gmail.com>
12763
12764 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12765 is added to the list.
12766
f0967738
AK
127672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12768 Ulrich Drepper <drepper@gmail.com>
12769
12770 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12771 the global list here. Move code to...
12772 (_dl_add_to_namespace_list): ...here. New function.
12773 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12774 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12775 * elf/dl-load.c (lose): Don't remove the element from the list.
12776 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12777 (_dl_map_object): Likewise.
12778
127792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12780
12781 [BZ #12159]
12782 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12783 into all bytes of SSE register.
12784 Patch by Richard Li <richardpku@gmail.com>.
12785
f0967738 127862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12787
12788 [BZ #12140]
12789 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12790 perturbing.
12791
d0b9e94f
MB
127922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12793
12794 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12795 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12796 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12797 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12799 submachine.
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12801
8e9f92e9
AS
128022010-10-22 Andreas Schwab <schwab@redhat.com>
12803
12804 * include/dlfcn.h (__RTLD_SECURE): Define.
12805 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12806 mode & __RTLD_SECURE instead.
12807 (open_path): Rename preloaded parameter to secure.
12808 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12809 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12810 * elf/dl-deps.c (openaux): Likewise.
12811 * elf/rtld.c (struct map_args): Remove is_preloaded.
12812 (map_doit): Don't use it.
12813 (dl_main): Likewise.
12814 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12815 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12816
bc96fbda
AS
128172010-09-09 Andreas Schwab <schwab@redhat.com>
12818
12819 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12820 (sysd-rules-targets): Remove duplicates.
12821 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12822 rtld-%.$o dependency.
12823
22cd1c9b
AS
128242010-10-18 Andreas Schwab <schwab@redhat.com>
12825
12826 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12827 _dl_map_object do it.
12828
18edac48
UD
128292010-10-19 Ulrich Drepper <drepper@gmail.com>
12830
12831 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12832 fast fma builtins, define the macros in the C99 standard.
12833 (FP_FAST_FMAF): Likewise.
12834 (FP_FAST_FMAL): Likewise.
12835 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12836
12837 * bits/mathdef.h: Update copyright year.
12838 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12839
d2050124
MM
128402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12841
12842 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12843 builtins, define the macros in the C99 standard.
12844 (FP_FAST_FMAF): Likewise.
12845 (FP_FAST_FMAL): Likewise.
12846 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12847 multiply/add.
12848 (FP_FAST_FMAF): Likewise.
12849
475facd1
JJ
128502010-10-15 Jakub Jelinek <jakub@redhat.com>
12851
12852 [BZ #3268]
12853 * math/libm-test.inc (fma_test): Some new testcases.
12854 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12855 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12856 y and infinite z. Do multiplication by C already in long double.
12857 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12859 y and infinite z. Do bitwise or of inexact bit into u.d.
12860 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12861 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12862 * sysdeps/i386/fpu/s_fma.S: Removed.
12863 * sysdeps/i386/fpu/s_fmal.S: Removed.
12864
7c08a05c
JJ
128652010-10-16 Jakub Jelinek <jakub@redhat.com>
12866
12867 [BZ #3268]
12868 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12870 computation is not scheduled after fetestexcept. Fix value
12871 of minimum denormal long double.
12872
f3f7372d
JJ
128732010-10-14 Jakub Jelinek <jakub@redhat.com>
12874
12875 [BZ #3268]
12876 * math/libm-test.inc (fma_test): Add some more tests.
12877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12878 correctly.
12879
14d43591
AS
128802010-10-15 Andreas Schwab <schwab@redhat.com>
12881
12882 * scripts/data/localplt-s390-linux-gnu.data: New file.
12883 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12884
5e908464
JJ
128852010-10-13 Jakub Jelinek <jakub@redhat.com>
12886
12887 [BZ #3268]
12888 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12889 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12890 instead of dbl-64.
12891 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12892 inlines.
12893 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12895 if one of x and y is very large and the other is subnormal.
12896 * sysdeps/s390/fpu/s_fmaf.c: New file.
12897 * sysdeps/s390/fpu/s_fma.c: New file.
12898 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12899 * sysdeps/powerpc/fpu/s_fma.S: New file.
12900 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12901 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12902 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12903
129042010-10-12 Jakub Jelinek <jakub@redhat.com>
12905
12906 [BZ #3268]
12907 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12908 fma tests.
12909 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12910 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12911 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12912 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12913 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12914 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12916
b833d51f
UD
129172010-10-12 Ulrich Drepper <drepper@redhat.com>
12918
12919 [BZ #12078]
12920 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12921 * posix/bug-regex31.input: Add test case.
12922
1751705d
UD
129232010-10-11 Ulrich Drepper <drepper@gmail.com>
12924
e9b9cbf5
UD
12925 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12926 * posix/bug-regex31.input: New file.
12927
12928 [BZ #12078]
12929 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12930 (parse_sub_exp): Fix last change, use postorder.
12931
ef06edbe
UD
12932 * posix/bug-regex31.c: New file.
12933 * posix/Makefile: Add rules to build and run bug-regex31.
12934
a129c80d
UD
12935 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12936
12937 [BZ #12078]
12938 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12939
b76b818e
UD
12940 [BZ #12108]
12941 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12942 to have entries in sys_siglist.
12943
1751705d
UD
12944 [BZ #12093]
12945 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12946 be NULL.
12947
9ff8d36f
JJ
129482010-10-07 Jakub Jelinek <jakub@redhat.com>
12949
12950 [BZ #3268]
12951 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12952 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12953 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12954 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12955 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12956 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12957 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12958 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12959 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12960 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12961 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12962 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12963 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12964 * math/ftestexcept.c (fetestexcept): Likewise.
12965 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12966 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12967 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12968 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12969 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12970 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12971 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12972
af325969
UD
129732010-10-11 Ulrich Drepper <drepper@gmail.com>
12974
c579b202 12975 [BZ #12107]
af325969
UD
12976 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12977 newline.
12978
67a67b95
UD
129792010-10-06 Ulrich Drepper <drepper@gmail.com>
12980
12981 * string/bug-strstr1.c: New file.
12982 * string/Makefile: Add rules to build and run bug-strstr1.
12983
5fb308bc
EB
129842010-10-05 Eric Blake <eblake@redhat.com>
12985
12986 [BZ #12092]
12987 * string/str-two-way.h (two_way_long_needle): Always clear memory
12988 when skipping input due to the shift table.
12989
45db99c7
UD
129902010-10-03 Ulrich Drepper <drepper@gmail.com>
12991
3b111893
UD
12992 [BZ #12005]
12993 * malloc/mcheck.c: Handle large requests.
12994
45db99c7
UD
12995 [BZ #12077]
12996 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12997 for strncmp and strncasecmp.
12998 * string/stratcliff.c: Add tests for strcmp and strncmp.
12999 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13000
cf7a1eb8
NI
130012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13002
13003 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13004 __set_fpscr.
13005
6484ba5e
AJ
130062010-09-30 Andreas Jaeger <aj@suse.de>
13007
13008 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13009 (CGROUP_SUPER_MAGIC): Define.
13010 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13011 Handle btrfs and cgroup file systems.
13012 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13013 Likewise.
13014
91c42559
LM
130152010-09-27 Luis Machado <luisgpm@br.ibm.com>
13016
13017 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13018 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13019
87a97932
AK
130202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13021
13022 [BZ #12067]
13023 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13024 trying to locate the ELF header.
13025
c21cc9bc
AS
130262010-09-27 Andreas Schwab <schwab@redhat.com>
13027
13028 [BZ #11611]
13029 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13030 Mask out sign-bit copies when constructing f_fsid.
13031
315970f6
PB
130322010-09-24 Petr Baudis <pasky@suse.cz>
13033
13034 * debug/stack_chk_fail_local.c: Add missing licence exception.
13035 * debug/warning-nop.c: Likewise.
13036
1ac7a2c7
JM
130372010-09-15 Joseph Myers <joseph@codesourcery.com>
13038
13039 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13040 implementing getdents64 using getdents syscall, set d_type if
13041 __ASSUME_GETDENTS32_D_TYPE.
13042
56801c50
AS
130432010-09-16 Andreas Schwab <schwab@redhat.com>
13044
13045 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13046 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13047
dda51327
UD
130482010-09-21 Ulrich Drepper <drepper@redhat.com>
13049
13050 [BZ #12037]
13051 * posix/unistd.h: Undo change of feature selection for ftruncate from
13052 2010-01-11.
13053
8ffcee4a
UD
130542010-09-20 Ulrich Drepper <drepper@redhat.com>
13055
a545ecd9 13056 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13057 detection.
13058
e24f0a8b
AS
130592010-09-20 Andreas Schwab <schwab@redhat.com>
13060
13061 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13062 fanotify_mark.
13063 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13064
7291c56f
AS
130652010-09-14 Andreas Schwab <schwab@redhat.com>
13066
13067 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13068 variables after CHECK_SP call.
13069 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13070
bc5fb037
AS
130712010-09-13 Andreas Schwab <schwab@redhat.com>
13072 Ulrich Drepper <drepper@redhat.com>
13073
13074 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13075 re-relocationg ld.so.
13076 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13077 _dl_init_paths call.
13078 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13079 here anymore.
13080
e66e7419
UD
130812010-09-14 Ulrich Drepper <drepper@redhat.com>
13082
13083 * resolv/res_init.c (__res_vinit): Count the default server we added.
13084
c044aa75
CLT
130852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13086 Ulrich Drepper <drepper@redhat.com>
13087
13088 [BZ #11968]
13089 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13090 (____longjmp_chk): Use %ebx for saving value across system call.
13091 Add unwind info.
13092
32cf4069
AS
130932010-09-06 Andreas Schwab <schwab@redhat.com>
13094
13095 * manual/Makefile: Don't mix pattern rules with normal rules.
13096
817328ee
AS
130972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13098
13099 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13100 operation.
13101 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13102 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13103 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13104 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13106 Likewise.
13107
29fddf61
UD
131082010-09-04 Ulrich Drepper <drepper@redhat.com>
13109
13110 [BZ #11979]
13111 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13112 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13113
0959ffc9
UD
131142010-09-02 Ulrich Drepper <drepper@redhat.com>
13115
13116 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13117 * sysdeps/x86_64/addmul_1.S: Likewise.
13118 * sysdeps/x86_64/lshift.S: Likewise.
13119 * sysdeps/x86_64/mul_1.S: Likewise.
13120 * sysdeps/x86_64/rshift.S: Likewise.
13121 * sysdeps/x86_64/sub_n.S: Likewise.
13122 * sysdeps/x86_64/submul_1.S: Likewise.
13123
ece29840
ST
131242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13125
0959ffc9
UD
13126 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13127 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13128 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13129 * bits/sched.h [__need_schedparam]
ece29840 13130 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13131 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13132 (__defined_schedparam): Define to 1.
ece29840
ST
13133 (__sched_param): New structure, identical to sched_param.
13134 (__need_schedparam): Undefine.
13135
e53a31fe
MF
131362010-08-31 Mike Frysinger <vapier@gentoo.org>
13137
fdc0c10d
MF
13138 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13139 (epoll_create1): Declare.
13140
e53a31fe
MF
13141 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13142
a726d796
AS
131432010-08-31 Andreas Schwab <schwab@redhat.com>
13144
13145 [BZ #7066]
13146 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13147 shifting retval into place.
13148
2f3e3dc7
UD
131492010-09-01 Ulrich Drepper <drepper@redhat.com>
13150
f2933da9
UD
13151 * nis/rpcsvc/nis.h: Update copyright notice.
13152 * nis/rpcsvc/nis.x: Likewise.
13153 * nis/rpcsvc/nis_callback.h: Likewise.
13154 * nis/rpcsvc/nis_callback.x: Likewise.
13155 * nis/rpcsvc/nis_object.x: Likewise.
13156 * nis/rpcsvc/nis_tags.h: Likewise.
13157 * nis/rpcsvc/yp.h: Likewise.
13158 * nis/rpcsvc/yp.x: Likewise.
13159 * nis/rpcsvc/ypupd.h: Likewise.
13160 * nis/yp_xdr.c: Likewise.
13161 * nis/ypupdate_xdr.c: Likewise.
13162
2f3e3dc7
UD
13163 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13164 mainly the body of pmap_getport. Add parameters to specify timeouts.
13165 (pmap_getport): Use __libc_rpc_getport.
13166 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13167 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13168 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13169
f3dcc2f9
AS
131702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13171
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13173 fanotify_mark.
13174
6d34eb5b
RM
131752010-08-27 Roland McGrath <roland@redhat.com>
13176
13177 * sysdeps/i386/i686/multiarch/Makefile
13178 (CFLAGS-varshift.c): New variable.
13179
9ea3de11
UD
131802010-08-27 Ulrich Drepper <drepper@redhat.com>
13181
c96d23fc
UD
13182 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13183 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13184
9ea3de11
UD
13185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13186
13187 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13188
623aac7f
L
131892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13190
13191 * sysdeps/x86_64/strlen.S: Unroll the loop.
13192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13193 strlen-sse2 strlen-sse2-bsf.
13194 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13195 __strlen_no_bsf if bit_Slow_BSF is set.
13196 (__strlen_sse42): Removed.
13197 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13198 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13199
8b2b7715
RM
132002010-08-25 Roland McGrath <roland@redhat.com>
13201
13202 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13203 * sysdeps/x86_64/multiarch/varshift.c: New file.
13204 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13205 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13206 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13207 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13208
e73015f2
L
132092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13210
13211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13212 strlen-sse2 strlen-sse2-bsf.
13213 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13214 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13215 (__strlen_sse2): Removed.
13216 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13217 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13219 bit_Slow_BSF for Atom.
13220 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13221 (index_Slow_BSF): Define.
13222 (HAS_SLOW_BSF): Define.
13223
df24a73e
UD
132242010-08-25 Ulrich Drepper <drepper@redhat.com>
13225
13226 [BZ #10851]
13227 * resolv/res_init.c (__res_vinit): When no server address at all
13228 is given default to loopback.
13229
f2ac4868
RM
132302010-08-24 Roland McGrath <roland@redhat.com>
13231
09055553
RM
13232 * configure.in: Remove config-name.h generation.
13233 * configure: Regenerated.
13234 * config-name.in: File removed.
13235 * scripts/config-uname.sh: New file.
13236 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13237 ($(objdir)config-name.h): New target.
13238
f2ac4868
RM
13239 * sunrpc/rpc_parse.h: Avoid nested comment.
13240
73f27d5e
RH
132412010-08-24 Richard Henderson <rth@redhat.com>
13242 Ulrich Drepper <drepper@redhat.com>
13243 H.J. Lu <hongjiu.lu@intel.com>
13244
13245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13247 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13248 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13249 _mm_alignr_epi8 with _mm_loadu_si128.
13250 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13251 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13252 (__m128i_shift_right): Removed.
13253 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13254 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13255 * sysdeps/x86_64/multiarch/varshift.h: New file.
13256 * sysdeps/x86_64/multiarch/varshift.S: New file.
13257
84b9230c
MF
132582010-08-21 Mike Frysinger <vapier@gentoo.org>
13259
13260 * configure.in: Move assembler checks to before sysdep dir checking.
13261
9bbd0ddc
PB
132622010-08-20 Petr Baudis <pasky@suse.cz>
13263
13264 * LICENSES: Sync the sunrpc license.
13265
9da4bb31
UD
132662010-08-19 Ulrich Drepper <drepper@redhat.com>
13267
a7ab6ec8
UD
13268 * sunrpc/auth_des.c: Update copyright notice once again.
13269 * sunrpc/auth_none.c: Likewise.
13270 * sunrpc/auth_unix.c: Likewise.
13271 * sunrpc/authdes_prot.c: Likewise.
13272 * sunrpc/authuxprot.c: Likewise.
13273 * sunrpc/bindrsvprt.c: Likewise.
13274 * sunrpc/clnt_gen.c: Likewise.
13275 * sunrpc/clnt_perr.c: Likewise.
13276 * sunrpc/clnt_raw.c: Likewise.
13277 * sunrpc/clnt_simp.c: Likewise.
13278 * sunrpc/clnt_tcp.c: Likewise.
13279 * sunrpc/clnt_udp.c: Likewise.
13280 * sunrpc/clnt_unix.c: Likewise.
13281 * sunrpc/des_crypt.c: Likewise.
13282 * sunrpc/des_soft.c: Likewise.
13283 * sunrpc/get_myaddr.c: Likewise.
13284 * sunrpc/getrpcport.c: Likewise.
13285 * sunrpc/key_call.c: Likewise.
13286 * sunrpc/key_prot.c: Likewise.
13287 * sunrpc/openchild.c: Likewise.
13288 * sunrpc/pm_getmaps.c: Likewise.
13289 * sunrpc/pm_getport.c: Likewise.
13290 * sunrpc/pmap_clnt.c: Likewise.
13291 * sunrpc/pmap_prot.c: Likewise.
13292 * sunrpc/pmap_prot2.c: Likewise.
13293 * sunrpc/pmap_rmt.c: Likewise.
13294 * sunrpc/rpc/auth.h: Likewise.
13295 * sunrpc/rpc/auth_unix.h: Likewise.
13296 * sunrpc/rpc/clnt.h: Likewise.
13297 * sunrpc/rpc/des_crypt.h: Likewise.
13298 * sunrpc/rpc/key_prot.h: Likewise.
13299 * sunrpc/rpc/netdb.h: Likewise.
13300 * sunrpc/rpc/pmap_clnt.h: Likewise.
13301 * sunrpc/rpc/pmap_prot.h: Likewise.
13302 * sunrpc/rpc/pmap_rmt.h: Likewise.
13303 * sunrpc/rpc/rpc.h: Likewise.
13304 * sunrpc/rpc/rpc_des.h: Likewise.
13305 * sunrpc/rpc/rpc_msg.h: Likewise.
13306 * sunrpc/rpc/svc.h: Likewise.
13307 * sunrpc/rpc/svc_auth.h: Likewise.
13308 * sunrpc/rpc/types.h: Likewise.
13309 * sunrpc/rpc/xdr.h: Likewise.
13310 * sunrpc/rpc_clntout.c: Likewise.
13311 * sunrpc/rpc_cmsg.c: Likewise.
13312 * sunrpc/rpc_common.c: Likewise.
13313 * sunrpc/rpc_cout.c: Likewise.
13314 * sunrpc/rpc_dtable.c: Likewise.
13315 * sunrpc/rpc_hout.c: Likewise.
13316 * sunrpc/rpc_main.c: Likewise.
13317 * sunrpc/rpc_parse.c: Likewise.
13318 * sunrpc/rpc_parse.h: Likewise.
13319 * sunrpc/rpc_prot.c: Likewise.
13320 * sunrpc/rpc_sample.c: Likewise.
13321 * sunrpc/rpc_scan.c: Likewise.
13322 * sunrpc/rpc_scan.h: Likewise.
13323 * sunrpc/rpc_svcout.c: Likewise.
13324 * sunrpc/rpc_tblout.c: Likewise.
13325 * sunrpc/rpc_util.c: Likewise.
13326 * sunrpc/rpc_util.h: Likewise.
13327 * sunrpc/rpcinfo.c: Likewise.
13328 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13329 * sunrpc/rpcsvc/key_prot.x: Likewise.
13330 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13331 * sunrpc/rpcsvc/mount.x: Likewise.
13332 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13333 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13334 * sunrpc/rpcsvc/rex.x: Likewise.
13335 * sunrpc/rpcsvc/rstat.x: Likewise.
13336 * sunrpc/rpcsvc/rusers.x: Likewise.
13337 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13338 * sunrpc/rpcsvc/spray.x: Likewise.
13339 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13340 * sunrpc/rtime.c: Likewise.
13341 * sunrpc/svc.c: Likewise.
13342 * sunrpc/svc_auth.c: Likewise.
13343 * sunrpc/svc_authux.c: Likewise.
13344 * sunrpc/svc_raw.c: Likewise.
13345 * sunrpc/svc_run.c: Likewise.
13346 * sunrpc/svc_simple.c: Likewise.
13347 * sunrpc/svc_tcp.c: Likewise.
13348 * sunrpc/svc_udp.c: Likewise.
13349 * sunrpc/svc_unix.c: Likewise.
13350 * sunrpc/svcauth_des.c: Likewise.
13351 * sunrpc/xcrypt.c: Likewise.
13352 * sunrpc/xdr.c: Likewise.
13353 * sunrpc/xdr_array.c: Likewise.
13354 * sunrpc/xdr_float.c: Likewise.
13355 * sunrpc/xdr_mem.c: Likewise.
13356 * sunrpc/xdr_rec.c: Likewise.
13357 * sunrpc/xdr_ref.c: Likewise.
13358 * sunrpc/xdr_sizeof.c: Likewise.
13359 * sunrpc/xdr_stdio.c: Likewise.
13360
9da4bb31
UD
13361 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13362 handling.
13363
bdaa77bc
AS
133642010-08-19 Andreas Schwab <schwab@redhat.com>
13365
13366 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13367
fe2f79db
LM
133682010-08-19 Luis Machado <luisgpm@br.ibm.com>
13369
13370 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13371 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13372 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13373 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13374 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13375 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13376 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13377 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13378 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13379 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13380 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13381 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13382 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13383 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13384
b9b42ee0
AB
133852010-07-26 Anton Blanchard <anton@samba.org>
13386
13387 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13388 * malloc/arena.c (heap_trim): Likewise.
13389
1c06ba31
UD
133902010-08-16 Ulrich Drepper <drepper@redhat.com>
13391
13392 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13393 here. Not...
13394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13395 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13396
f8392f40
L
133972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13398
13399 * sysdeps/i386/elf/Makefile: New file.
13400
3162f12e
AS
134012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13402
13403 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13404 from fanotify_init.
13405 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13406 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13407
28c90b2c
UD
134082010-08-15 Ulrich Drepper <drepper@redhat.com>
13409
13410 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13411 of strncasecmp_l.
1feccb6c 13412 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13413
ca6bb004
UD
134142010-08-14 Ulrich Drepper <drepper@redhat.com>
13415
e9f82e0d
UD
13416 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13417 strncase_l-nonascii.
13418 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13419 Add strncase_l-ssse3.
13420 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13421 * sysdeps/x86_64/strcmp.S: Likewise.
13422 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13423 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13424 * sysdeps/x86_64/strncase.S: New file.
13425 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13426 * sysdeps/x86_64/strncase_l.S: New file.
13427 * string/Makefile (strop-tests): Add strncasecmp.
13428 * string/test-strncasecmp.c: New file.
13429
13430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13431 warning.
13432
ca6bb004
UD
13433 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13434 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13435
052fa7b3
AS
134362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13437
13438 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13439
962dba78
UD
134402010-08-12 Ulrich Drepper <drepper@redhat.com>
13441
13442 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13443 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13444 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13445
bebff237
AM
134462010-05-01 Alan Modra <amodra@gmail.com>
13447
13448 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13449 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13450 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13451 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13452 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13453 tidying. Don't tail-call __sigjmp_save for static lib.
13454 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13455 save location.
13456 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13457 (CALL_MCOUNT): Add eh info, and nop after bl.
13458 (TAIL_CALL_SYSCALL_ERROR): New macro.
13459 (PSEUDO_RET): Use it.
13460 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13461 Correct save location of integer regs and cr.
13462 (_dl_profile_resolve): Correct cr save location. Delete nops
13463 after bl when SHARED. Reduce cfi size a little by better
13464 placement of cfi directives.
13465 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13466 make a stack frame. Instead use parm save area as a temp.
13467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13468 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13470 Don't make a stack frame for parent, use parm save area.
13471 Increase child stack frame to 112 bytes. Don't save unused reg,
13472 and adjust reg usage. Set up cfi on error recovery and
13473 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13475 (__makecontext): Add dummy nop after jump to exit.
13476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13477 Use correct parm save area and cr save, reduce stack frame.
13478 Correct cfi for possible PSEUDO_RET frame setup.
13479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13480 Branch to local label emitted by PSEUDO_RET rather than
13481 __syscall_error.
13482
02637374
AS
134832010-08-12 Andreas Schwab <schwab@redhat.com>
13484
13485 [BZ #11904]
13486 * locale/programs/locale.c (print_assignment): New function.
13487 (show_locale_vars): Use it.
13488
c3e2f19b
UD
134892010-08-11 Ulrich Drepper <drepper@redhat.com>
13490
3cdaa6ad
UD
13491 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13492 field.
13493 (struct statfs64): Likewise.
13494 (_STATFS_F_FLAGS): Define.
13495 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13496 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13497 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13498 (ST_VALID): Define locally.
13499 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13500 __statvfs_getflags, use the provided value.
13501 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13502 __ASSUME_STATFS_F_FLAGS.
13503
754f7da3
UD
13504 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13505
10b3bedc
UD
13506 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13507 Add sys/fanotify.h.
13508 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13509 fanotify_mask for GLIBC_2.13.
13510 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13511 fanotify_init and fanotify_mark.
13512 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13513 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13514
c08fb0d7
UD
13515 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13516 Add prlimit.
13517 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13518 prlimit64 for GLIBC_2.13.
13519 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13520 prlimit64.
13521 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13522 syscall.
13523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13524 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13525 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13526 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13527 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13528 add prlimit alias.
13529 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13530
15bac72b
UD
13531 [BZ #11903]
13532 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13533 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13534
c3e2f19b
UD
13535 * nss/Makefile: Add rules to build and run tst-nss-test1.
13536 * shlib-versions: Add entry for libnss_test1.
13537 * nss/nss_test1.c: New file.
13538 * nss/tst-nss-test1.c: New file.
13539
13540 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13541 (__nss_configure_lookup): Set appropriate entry in
13542 __nss_configure_lookup to true.
13543 * nss/nsswitch.h: Define enum with indeces of databases in
13544 databases and __nss_database_custom arrays. Declare
13545 __nss_database_custom.
13546 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13547 to avoid using nscd when custom rules are installed.
13548 * nss/getXXbyYY_r.c: Likewise.
13549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13550
13551 * nss/nss_files/files-parse.c: Whitespace fixes.
13552
f15ce4d8
UD
135532010-08-09 Ulrich Drepper <drepper@redhat.com>
13554
13555 [BZ #11883]
13556 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13557 * posix/fnmatch_loop.c: Likewise.
13558
d22e4cc9
AK
135592010-07-17 Andi Kleen <ak@linux.intel.com>
13560
13561 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13562 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13563 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13564 * Versions.def [GLIBC_2.13]: Add.
13565
805bc17d
UD
135662010-08-06 Ulrich Drepper <drepper@redhat.com>
13567
13568 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13569 Also fail if tpwd after pwuid call is NULL.
13570
5a42321d
ST
135712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13572
13573 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13574 when converting to ms.
13575
fd3ebeda
ST
135762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13577
13578 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13579 EOPNOTSUPP errors with ENOTTY.
13580 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13581 EOPNOTSUPP errors with ENOTTY.
13582
73507d3a
UD
135832010-07-31 Ulrich Drepper <drepper@redhat.com>
13584
13585 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13586 Add strcasecmp_l-ssse3.
13587 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13588 strcasecmp.
13589 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13590 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13591 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13592
fe36dd02
UD
135932010-07-30 Ulrich Drepper <drepper@redhat.com>
13594
66f6765a
UD
13595 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13596
42e08a54
UD
13597 * string/Makefile (strop-tests): Add strcasecmp.
13598 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13599 strcasecmp_l-nonascii.
13600 (gen-as-const-headers): Add locale-defines.sym.
13601 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13602 * sysdeps/x86_64/strcasecmp.S: New file.
13603 * sysdeps/x86_64/strcasecmp_l.S: New file.
13604 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13605 * sysdeps/x86_64/locale-defines.sym: New file.
13606 * string/test-strcasecmp.c: New file.
13607
fe36dd02
UD
13608 * string/test-strcasestr.c: Test both ends of the range of characters.
13609 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13610
48cbc0d6
RM
136112010-07-29 Roland McGrath <roland@redhat.com>
13612
76e6d6bc 13613 [BZ #11856]
48cbc0d6
RM
13614 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13615
880113d9
UD
136162010-07-27 Ulrich Drepper <drepper@redhat.com>
13617
13618 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13619 for ld.so.
13620
deb9cabb
AS
136212010-07-27 Andreas Schwab <schwab@redhat.com>
13622
13623 * manual/memory.texi (Malloc Tunable Parameters): Document
13624 M_PERTURB.
13625
1c7570ff
RM
136262010-07-26 Roland McGrath <roland@redhat.com>
13627
13628 [BZ #11840]
13629 * configure.in (-fgnu89-inline check): Set and substitute
13630 gnu89_inline, not libc_cv_gnu89_inline.
13631 * configure: Regenerated.
13632 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13633
24fb0f88
UD
136342010-07-26 Ulrich Drepper <drepper@redhat.com>
13635
13636 * string/test-strnlen.c: New file.
13637 * string/Makefile (strop-tests): Add strnlen.
13638 * string/tester.c (test_strnlen): Add a few more test cases.
13639 * string/tst-strlen.c: Better error reporting.
13640
13641 * sysdeps/x86_64/strnlen.S: New file.
13642
8e96b93a
UD
136432010-07-24 Ulrich Drepper <drepper@redhat.com>
13644
13645 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13646 lower-latency instructions.
13647
dbc676d4
UD
136482010-07-23 Ulrich Drepper <drepper@redhat.com>
13649
13650 * string/test-strcasestr.c: New file.
13651 * string/test-strstr.c: New file.
13652 * string/Makefile (strop-tests): Add strstr and strcasestr.
13653 * string/str-two-way.h: Don't undefine MAX.
13654 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13655
f6a31e0e
AS
136562010-07-21 Andreas Schwab <schwab@redhat.com>
13657
13658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13659 strcasestr-nonascii.
13660 (CFLAGS-strcasestr-nonascii.c): Define.
13661 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13662 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13663 Remove unused attribute.
13664
5dbc3b6c
RM
136652010-07-20 Roland McGrath <roland@redhat.com>
13666
13667 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13668 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13669 ld.so.cache was broken. With it, there is no way to disable dsocaps
13670 like LD_HWCAP_MASK can disable hwcaps.
13671
23d101d8
EPM
136722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13673
13674 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13675
cc9f2e47
UD
136762010-07-16 Ulrich Drepper <drepper@redhat.com>
13677
13678 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13679 call in strcasestr.
13680 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13681 __strcasestr_sse42_nonascii.
13682 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13683 strcasestr-nonascii.c.
13684 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13685
77c1b069
LM
136862010-06-15 Luis Machado <luisgpm@br.ibm.com>
13687
13688 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13689 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13690 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13691 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13692
440566c3
UD
136932010-07-09 Ulrich Drepper <drepper@redhat.com>
13694
13695 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13696 fcntl.
13697
5be9d05d
AS
136982010-07-06 Andreas Schwab <schwab@redhat.com>
13699
c30b7ee2 13700 [BZ #11577]
5be9d05d
AS
13701 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13702 dl_signal_cerror.
13703
8a492a67
UD
137042010-07-06 Ulrich Drepper <drepper@redhat.com>
13705
13706 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13707 _PC_PIPE_BUF using F_GETPIPE_SZ.
13708
713df3d5
RM
137092010-07-05 Roland McGrath <roland@redhat.com>
13710
13711 * manual/arith.texi (Rounding Functions): Fix rint description
13712 implicit in round description.
13713
702e8f14
UD
137142010-07-02 Ulrich Drepper <drepper@redhat.com>
13715
13716 * elf/Makefile: Fix linking for a few tests to make recent linker
13717 happy.
13718
52ed8be9
AS
137192010-06-30 Andreas Schwab <schwab@redhat.com>
13720
13721 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13722 $(common-objpfx)libc_nonshared.a.
13723
f47c9a11
LM
137242010-06-21 Luis Machado <luisgpm@br.ibm.com>
13725
13726 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13727 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13728 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13729 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13730 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13731 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13732 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13733 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13748 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13749 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13750 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13751 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13752 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13753 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13754 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13755 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13756 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13757 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13758 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13759 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13774
6fb8cbcb
L
137752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13776
13777 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13778 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13779 * string/memmove.c (memmove): Renamed to ...
13780 (MEMMOVE): ...this. Default to memmove.
13781 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13782 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13783 (END_CHK): Define.
13784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13785 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13786 mempcpy-ssse3-back memmove-ssse3-back.
13787 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13788 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13789 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13790 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13791 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13792 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13793 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13794 * sysdeps/x86_64/multiarch/memmove.c: New file.
13795 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13796 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13797 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13798 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13799 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13800 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13801 Define.
13802 (index_Fast_Copy_Backward): Define.
13803 (HAS_ARCH_FEATURE): Define.
13804 (HAS_FAST_REP_STRING): Define.
13805 (HAS_FAST_COPY_BACKWARD): Define.
13806
4e733bac 138072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13808
13809 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13810 Restore proper fallback handling.
13811
63c4ed22
UD
138122010-06-19 Ulrich Drepper <drepper@redhat.com>
13813
ac2b484c
UD
13814 [BZ #11701]
13815 * posix/group_member.c (__group_member): Correct checking loop.
13816
63c4ed22
UD
13817 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13818 OOM in getpwuid_r correctly. Return error number when the caller
13819 should return, otherwise -1.
13820 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13821 call returning > 0 value.
13822 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13823
765ade4b
AS
138242010-06-07 Andreas Schwab <schwab@redhat.com>
13825
13826 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13827 libc_nonshared.a from targets in modules-names.
13828
80da2e09
KS
138292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13830
13831 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13832 requires it.
13833
158db122
LM
138342010-06-10 Luis Machado <luisgpm@br.ibm.com>
13835
13836 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13837 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13838 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13839 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13840
caa78cf8
AS
138412010-06-02 Andreas Schwab <schwab@redhat.com>
13842
13843 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13844
b2ef2c01
UD
138452010-06-14 Ulrich Drepper <drepper@redhat.com>
13846
13847 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13848 and F_GETPIPE_SZ.
13849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13853 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13854 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13855
fbd643b6
RM
138562010-06-14 Roland McGrath <roland@redhat.com>
13857
13858 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13859
f32f2869
JJ
138602010-06-07 Jakub Jelinek <jakub@redhat.com>
13861
13862 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13863 __REDIRECT followed by __THROW.
13864 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13865 * posix/getopt.h (getopt): Likewise.
13866
2a50c078
EPM
138672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13868
13869 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13870 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13871 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13872 in AT_FLAGS.
13873 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13874 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13875
eb5ad2eb
LM
138762010-05-28 Luis Machado <luisgpm@br.ibm.com>
13877
13878 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13879
3c88fe1e
L
138802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13881
13882 [BZ #11640]
13883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13884 Properly check family and model.
13885
d2f73151
TY
138862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13887
13888 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13889
ebd2e13d
LM
138902010-05-24 Luis Machado <luisgpm@br.ibm.com>
13891
13892 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13893
b32b8b45
UD
138942010-05-21 Ulrich Drepper <drepper@redhat.com>
13895
13896 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13897 symbol reference.
13898
9acbe24d
AS
138992010-05-19 Andreas Schwab <schwab@redhat.com>
13900
13901 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13902 symbol reference.
13903
f0ccf6ea
AS
139042010-05-21 Andreas Schwab <schwab@redhat.com>
13905
3d04ff3a
AS
13906 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13907 and internal_recvmmsg.
13908 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13909 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13910 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13911 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13912
f0ccf6ea
AS
13913 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13914 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13915 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13916
5b08ac57
AS
139172010-05-20 Andreas Schwab <schwab@redhat.com>
13918
13919 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13920
4828935d
LM
139212010-05-17 Luis Machado <luisgpm@br.ibm.com>
13922
13923 POWER7 optimizations.
13924 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13925 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13926
373d545e
UD
139272010-05-19 Ulrich Drepper <drepper@redhat.com>
13928
13929 * version.h: Update for 2.13 development version.
13930
21a2b1ae
AS
139312010-05-12 Andrew Stubbs <ams@codesourcery.com>
13932
13933 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13934 exceptions. Return 0.
13935
3f7dcb2b
RM
139362010-05-07 Roland McGrath <roland@redhat.com>
13937
13938 * elf/ldconfig.c (main): Add a const.
13939
5f24d53a 139402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13941
a160f8d8
UD
13942 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13943 (args_options): Add no-idn option.
13944 (ahosts_keys_int): Add idn_flags to ai_flags.
13945 (parse_option): Handle 'i' option to clear idn_flags.
13946
5f24d53a
UD
13947 * malloc/malloc.c (_int_free): Possible race in the most recently
13948 added check. Only act on the data if no current modification
13949 happened.
265bb1ce
UD
13950
13951See ChangeLog.17 for earlier changes.