]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Hurd: avoid PLT call to strtoul
[thirdparty/glibc.git] / ChangeLog
CommitLineData
10589b4a
TS
12012-05-10 Thomas Schwinge <thomas@schwinge.name>
2
3 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4 __strtoul_internal rather than strtoul.
5
63643c85
PT
62012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7
8 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9 and reject them.
10
3faebe6a
ST
112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12
13 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14 which preserves existing values.
15 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
16
c6474b07
PT
172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18
19 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20 TIMEOUT values. Return EINVAL for NFDS values either negative or
21 greater than FD_SETSIZE.
22
1043890b
ST
232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24
25 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26 allocated, call __vm_protect to finish enabling the existing space, and
27 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28 allocate the remainder.
29
37ed8b9b
PT
302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31
32 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34
db653660
ST
352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36
37ed8b9b
PT
37 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38 sysdeps/mach/hurd/readlink.c.
b29d4053 39
db653660
ST
40 * posix/tst-sysconf.c (posix_options): Only use
41 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42 _POSIX_SYNCHRONIZED_IO when they are defined
43 * sysdeps/mach/hurd/bits/posix_opt.h:
44 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45 (_XOPEN_REALTIME): Undefine macro.
46 (_XOPEN_REALTIME_THREADS): Undefine macro.
47 (_XOPEN_SHM): Undefine macro.
48 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49 macro to -1.
50 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51 macro to -1.
52 (_POSIX_ASYNC_IO): Undefine macro.
53 (_POSIX_PRIORITIZED_IO): Undefine macro.
54 (_POSIX_SPIN_LOCKS): Define macro to -1.
55
ee16e894
ST
56 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
57 SA_NODEFER, SA_RESETHAND.
58 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
60 F_DUPFD_CLOEXEC.
61
6103ae3b
TS
622012-05-10 Thomas Schwinge <thomas@schwinge.name>
63
64 * elf/Makefile (pldd-modules): Define unconditionally.
65
80b4e5f3
TS
662012-05-10 Thomas Schwinge <thomas@schwinge.name>
67
68 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69
edadcbd6
ST
702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71
72 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
73 Return ENOENT when name is empty.
74 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
75
80694780
TS
762012-05-10 Thomas Schwinge <thomas@schwinge.name>
77
1792c087
TS
78 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
79
80694780
TS
80 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
81
6b645f0d
ST
822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
83
80694780
TS
84 Fix mlock in all cases except non-readable pages.
85 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
86 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 87
6b645f0d
ST
88 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
89 (__mkdir): When path is `/', just fail with EEXIST.
90 * sysdeps/mach/hurd/mkdirat.c: Likewise.
91
e468f8a3
TS
922012-05-10 Thomas Schwinge <thomas@schwinge.name>
93
94 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
95 <sys/uio.h> (for writev).
96 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
97 and <sys/param.h> (for MIN).
98
a4186cff
PT
992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
100
101 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
102 REQUESTED_TIME. Properly set the remaining time and return EINTR
103 if interrupted.
104
510bbf14
TS
1052012-05-10 Thomas Schwinge <thomas@schwinge.name>
106
107 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
108 Depend on against $(link-rpcuserlibs).
109
5d5722e8
ST
1102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
111
a4186cff
PT
112 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
113 (__libc_stack_end): Do not use attribute_relro.
114 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
115 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 116 to libthread-provided value.
a4186cff
PT
117 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
118 attribute_relro.
5d5722e8 119
37233df9
TS
1202012-05-10 Thomas Schwinge <thomas@schwinge.name>
121
be971a2b
TS
122 [BZ #3748]
123 * bits/libc-lock.h (__libc_once_get): New macro.
124 * sysdeps/mach/bits/libc-lock.h: Likewise.
125 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
126 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
127 instead of using implementation details.
128
37233df9
TS
129 * libio/fileops.c: Unconditionally include <kernel-features.h>.
130 * libio/freopen.c: Likewise.
131 * libio/freopen64.c: Likewise.
132 * misc/syslog.c: Likewise.
133 * nscd/connections.c: Likewise.
134 * nscd/netgroupcache.c: Likewise.
135 * sysdeps/posix/getcwd.c: Likewise.
136
38de94a5
RM
1372012-05-10 Roland McGrath <roland@hack.frob.com>
138
139 * math/w_ilogbf.c: Add #include <limits.h>.
140
67530489
ST
1412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
142
a4186cff 143 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
144 path instead of returning without unlocking.
145
67530489
ST
146 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
147 immediate-write ioctls.
148 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
149
5aa3a74a
TS
1502012-05-10 Thomas Schwinge <thomas@schwinge.name>
151
18bad2ae
TS
152 * sysdeps/mach/hurd/i386/init-first.c (init): Use
153 __builtin_frame_address instead of making assumptions about the
154 location of the return address relative to DATA. Force early load of
155 the return address.
156 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
157 __builtin_frame_address.
158
5aa3a74a
TS
159 dup3 for GNU Hurd.
160 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
161 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
162 implement dup3 and do some further code clean-ups.
163 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
164 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
165
ecd0de9a
ST
1662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
167
cd9fa985
ST
168 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
169
a4186cff
PT
170 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
171 HURD_CRITICAL_END around holding _hurd_dtable_lock.
172 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
173 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
174 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
175 d->port.lock.
802ca5a5 176
a4186cff
PT
177 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
178 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
179 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 180
bcf55240
TS
1812012-05-10 Thomas Schwinge <thomas@schwinge.name>
182
6960eb42
TS
183 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
184 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
185 definitions.
186
eb43375f
TS
187 accept4 for GNU Hurd.
188 * include/sys/socket.h (__libc_accept4): New prototype.
189 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
190 to implement __libc_accept4.
191 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
192 __libc_accept4.
193 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
194
bcf55240
TS
195 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
196 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
197 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
198 signal-defines.sym.
199
6178c55b
ST
2002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
201
a4186cff 202 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 203
6f080c2f
TS
2042012-05-10 Thomas Schwinge <thomas@schwinge.name>
205
206 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
207 assertion on O_CLOEXEC flag.
208 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
209 * hurd/intern-fd.c: Likewise.
210 * hurd/port2fd.c: Likewise.
211
bcfe3a54
ST
2122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
213
214 [BZ #3906]
215 * bits/in.h (IPV6_PKTINFO): Define new macro.
216 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
217
89c9aa49
AZ
2182012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
219
220 [BZ #13954]
221 [BZ #13955]
222 [BZ #13956]
223 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
224 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
225 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
226 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
227 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
228 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
229 * math/libm-test.inc (logb_test) : Additional logb tests.
230
021db4be
AJ
2312012-05-09 Andreas Schwab <schwab@linux-m68k.org>
232 Andreas Jaeger <aj@suse.de>
233
234 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
235 * configure: Regenerated.
236 * config.h.in (LINK_OBSOLETE_RPC): New macro.
237 * config.make.in (link-obsolete-rpc): New substituted variable.
238 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
239 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
240 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
241 (shared-only-routines): Don't set it under [link-obsolete-rpc],
242 so that libc.a contains the symbols.
243 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
244 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
245 * sunrpc/auth_none.c: Likewise.
246 * sunrpc/auth_unix.c: Likewise.
247 * sunrpc/authdes_prot.c: Likewise.
248 * sunrpc/authuxprot.c: Likewise.
249 * sunrpc/clnt_gen.c: Likewise.
250 * sunrpc/clnt_perr.c: Likewise.
251 * sunrpc/clnt_raw.c: Likewise.
252 * sunrpc/clnt_simp.c: Likewise.
253 * sunrpc/clnt_tcp.c: Likewise.
254 * sunrpc/clnt_udp.c: Likewise.
255 * sunrpc/clnt_unix.c: Likewise.
256 * sunrpc/des_crypt.c: Likewise.
257 * sunrpc/des_soft.c: Likewise.
258 * sunrpc/get_myaddr.c: Likewise.
259 * sunrpc/key_call.c: Likewise.
260 * sunrpc/key_prot.c: Likewise.
261 * sunrpc/netname.c: Likewise.
262 * sunrpc/pm_getmaps.c: Likewise.
263 * sunrpc/pm_getport.c: Likewise.
264 * sunrpc/pmap_clnt.c: Likewise.
265 * sunrpc/pmap_prot.c: Likewise.
266 * sunrpc/pmap_prot2.c: Likewise.
267 * sunrpc/pmap_rmt.c: Likewise.
268 * sunrpc/publickey.c: Likewise.
269 * sunrpc/rpc_cmsg.c: Likewise.
270 * sunrpc/rpc_common.c: Likewise.
271 * sunrpc/rpc_dtable.c: Likewise.
272 * sunrpc/rpc_prot.c: Likewise.
273 * sunrpc/rpc_thread.c: Likewise.
274 * sunrpc/rtime.c: Likewise.
275 * sunrpc/svc.c: Likewise.
276 * sunrpc/svc_auth.c: Likewise.
277 * sunrpc/svc_raw.c: Likewise.
278 * sunrpc/svc_run.c: Likewise.
279 * sunrpc/svc_tcp.c: Likewise.
280 * sunrpc/svc_udp.c: Likewise.
281 * sunrpc/svc_unix.c: Likewise.
282 * sunrpc/svcauth_des.c: Likewise.
283 * sunrpc/xcrypt.c: Likewise.
284 * sunrpc/xdr.c: Likewise.
285 * sunrpc/xdr_array.c: Likewise.
286 * sunrpc/xdr_float.c: Likewise.
287 * sunrpc/xdr_intXX_t.c: Likewise.
288 * sunrpc/xdr_mem.c: Likewise.
289 * sunrpc/xdr_rec.c: Likewise.
290 * sunrpc/xdr_ref.c: Likewise.
291 * sunrpc/xdr_sizeof.c: Likewise.
292 * sunrpc/xdr_stdio.c: Likewise.
293
b5c086a2
RM
2942012-05-10 Roland McGrath <roland@hack.frob.com>
295
296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
297 change. Update copyright years.
298
6d74dd09
JM
2992012-05-10 Joseph Myers <joseph@codesourcery.com>
300
301 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
302
28e72501
MK
3032012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
304 Joseph Myers <joseph@codesourcery.com>
305 Paul Pluzhnikov <ppluzhnikov@google.com>
306
307 [BZ #14012]
308 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
309 requiring rpcgen.
310 [cross-compiling] (extra-libs): Likewise.
311 [cross-compiling] (extra-libs-others): Likewise.
312 [cross-compiling] (librpcsvc-routines): Likewise.
313 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
314 [cross-compiling] (omit-deps): Likewise.
315 (sunrpc-CPPFLAGS): New variable.
316 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
317 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
318 (cross-rpcgen-objs): New variable.
319 (extra-objs): Append $(cross-rpcgen-objs).
320 ($(cross-rpcgen-objs)): New rule.
321 ($(objpfx)cross-rpcgen): Likewise.
322 (rpcgen-cmd): Define to use $(built-program-file). Expand
323 comment.
324 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
325 ($(objpfx)x%.stmp): Likewise.
326 * sunrpc/proto.h [IS_IN_build] (_): Define.
327 [IS_IN_build] (_libc_intl_domainname): Likewise.
328
c8c59454
L
3292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
330
331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
332 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
333 and R_X86_64_TPOFF64.
334
6f27cd16
JM
3352012-05-10 Joseph Myers <joseph@codesourcery.com>
336
337 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
338 sysdeps/unix/sysv/syscalls.list.
339 (stime): Likewise.
340 (utime): Likewise.
341 * sysdeps/unix/sysv/syscalls.list: Remove file.
342
02467e1c
PE
3432012-05-10 Paul Eggert <eggert@cs.ucla.edu>
344
345 [BZ #3440]
346 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
347 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
348 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
349 (__LC_IDENTIFICATION): Make these macros useful in #if
350 expressions, as required by C99.
351
da392631
AS
3522012-05-10 Andreas Schwab <schwab@linux-m68k.org>
353
354 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
355 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
356 after this.
357
8115f29b
L
3582012-05-09 H.J. Lu <hongjiu.lu@intel.com>
359
360 * stdlib/longlong.h: Updated from GCC.
361
bdd74070
AJ
3622012-05-09 Andreas Jaeger <aj@suse.de>
363
edfe0dbe
AJ
364 * nscd/nscd.c (run_modes): Make named enum, reorder so that
365 default is first entry.
366 (run_mode): Set type.
367 (main): Remove informal message about syslog.
368 (options): Fix typo.
369
bcfe3a54
ST
370 [BZ #14053]
371 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 372 to asm.
bcfe3a54
ST
373 (lrint): Likewise.
374 (llrintf): Likewise.
375 (llrint): Likewise.
376 (rint): Likewise.
377 (rintf): Likewise.
378 (nearbyint): Likewise.
379 (nearbyintf): Likewise.
bdd74070 380
91d8d69e
AJ
3812012-05-09 Andreas Jaeger <aj@suse.de>
382 Pedro Alves <palves@redhat.com>
383
384 * nscd/nscd.c (run_mode): Use enum.
385 (main): Cleanup coding style issue.
386
bb90b80b
AJ
3872012-05-09 Alexandre Oliva <aoliva@redhat.com>
388 Andreas Jaeger <aj@suse.de>
389
bcfe3a54
ST
390 * nscd/nscd.c (go_background): Replaced with...
391 (run_mode): ... this.
bb90b80b 392 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
393 (options): Add -F --foreground.
394 (main): Implement it.
395 (parse_opt): Parse it.
bb90b80b 396
1a4b75a1
AJ
3972012-05-09 Andreas Jaeger <aj@suse.de>
398
399 [BZ #14083]
400 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
401 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
402 -Wconversion warning.
403 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
404 Likewise.
405
b1cc2472
JM
4062012-05-09 Joseph Myers <joseph@codesourcery.com>
407
408 * conform/data/locale.h-data (NULL): Use macro-constant. Require
409 == 0.
410 (LC_ALL): Use macro-int-constant.
411 (LC_COLLATE): Likewise.
412 (LC_CTYPE): Likewise.
413 (LC_MESSAGES): Likewise.
414 (LC_MONETARY): Likewise.
415 (LC_NUMERIC): Likewise.
416 (LC_TIME): Likewise.
417 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
418 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
420 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
421 Specify type.
422 [C99-based standards] (float_t): Expect type.
423 [C99-based standards] (double_t): Expect type.
424 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
425 type.
426 [C99-based standards] (HUGE_VALL): Likewise.
427 [C99-based standards] (INFINITY): Likewise.
428 [C99-based standards] (NAN): Likewise.
429 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
430 [C99-based standards] (FP_NAN): Likewise.
431 [C99-based standards] (FP_NORMAL): Likewise.
432 [C99-based standards] (FP_SUBNORMAL): Likewise.
433 [C99-based standards] (FP_ZERO): Likewise.
434 [C99-based standards] (FP_FAST_FMA): Use
435 optional-macro-int-constant. Specify type. Require == 1.
436 [C99-based standards] (FP_FAST_FMAF): Likewise.
437 [C99-based standards] (FP_FAST_FMAL): Likewise.
438 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
439 [C99-based standards] (FP_ILOGBNAN): Likewise.
440 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
441 Specify type.
442 [C99-based standards] (MATH_ERREXCEPT): Likewise.
443 [C99-based standards] (math_errhandling): Specify type.
444 [ISO99 || ISO11] (signgam): Do not allow.
445 [non-C99-based standards] (copysignf): Do not allow.
446 [non-C99-based standards] (exp2f): Likewise.
447 [non-C99-based standards] (log2f): Likewise.
448 [non-C99-based standards] (modff): Allow.
449 [non-C99-based standards] (erff): Do not allow.
450 [non-C99-based standards] (erfcf): Likewise.
451 [non-C99-based standards] (gammaf): Likewise.
452 [non-C99-based standards] (hypotf): Likewise.
453 [non-C99-based standards] (j0f): Likewise.
454 [non-C99-based standards] (j1f): Likewise.
455 [non-C99-based standards] (jnf): Likewise.
456 [non-C99-based standards] (lgammaf): Likewise.
457 [non-C99-based standards] (tgammaf): Likewise.
458 [non-C99-based standards] (y0f): Likewise.
459 [non-C99-based standards] (y1f): Likewise.
460 [non-C99-based standards] (ynf): Likewise.
461 [non-C99-based standards] (isnanf): Likewise.
462 [non-C99-based standards] (acoshf): Likewise.
463 [non-C99-based standards] (asinhf): Likewise.
464 [non-C99-based standards] (atanhf): Likewise.
465 [non-C99-based standards] (cbrtf): Likewise.
466 [non-C99-based standards] (expm1f): Likewise.
467 [non-C99-based standards] (ilogbf): Likewise.
468 [non-C99-based standards] (log1pf): Likewise.
469 [non-C99-based standards] (logbf): Likewise.
470 [non-C99-based standards] (nextafterf): Likewise.
471 [non-C99-based standards] (remainderf): Likewise.
472 [non-C99-based standards] (rintf): Likewise.
473 [non-C99-based standards] (scalbf): Likewise.
474 [non-C99-based standards] (copysignl): Likewise.
475 [non-C99-based standards] (exp2l): Likewise.
476 [non-C99-based standards] (log2l): Likewise.
477 [non-C99-based standards] (modfl): Allow.
478 [non-C99-based standards] (erfl): Do not allow.
479 [non-C99-based standards] (erfcl): Likewise.
480 [non-C99-based standards] (gammal): Likewise.
481 [non-C99-based standards] (hypotl): Likewise.
482 [non-C99-based standards] (j0l): Likewise.
483 [non-C99-based standards] (j1l): Likewise.
484 [non-C99-based standards] (jnl): Likewise.
485 [non-C99-based standards] (lgammal): Likewise.
486 [non-C99-based standards] (tgammal): Likewise.
487 [non-C99-based standards] (y0l): Likewise.
488 [non-C99-based standards] (y1l): Likewise.
489 [non-C99-based standards] (ynl): Likewise.
490 [non-C99-based standards] (isnanl): Likewise.
491 [non-C99-based standards] (acoshl): Likewise.
492 [non-C99-based standards] (asinhl): Likewise.
493 [non-C99-based standards] (atanhl): Likewise.
494 [non-C99-based standards] (cbrtl): Likewise.
495 [non-C99-based standards] (expm1l): Likewise.
496 [non-C99-based standards] (ilogbl): Likewise.
497 [non-C99-based standards] (log1pl): Likewise.
498 [non-C99-based standards] (logbl): Likewise.
499 [non-C99-based standards] (nextafterl): Likewise.
500 [non-C99-based standards] (remainderl): Likewise.
501 [non-C99-based standards] (rintl): Likewise.
502 [non-C99-based standards] (scalbl): Likewise.
503 [ISO || ISO99 || ISO11] (*_t): Do not allow.
504 [non-C99-based standards] (FP_*): Do not allow.
505 [C99-based standards] (FP_*): Change to
506 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
507 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
508 allow.
509 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
510 (SIG_ERR): Likewise.
511 [X/Open-based standards] (SIG_HOLD): Likewise.
512 (SIG_IGN): Likewise.
513 (SIGABRT): Use macro-int-constant. Specify type. Require
514 positive value.
515 (SIGFPE): Likewise.
516 (SIGILL): Likewise.
517 (SIGINT): Likewise.
518 (SIGSEGV): Likewise.
519 (SIGTER): Likewise.
520 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
521 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
522 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
523 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
524 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
525 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
526 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
527 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
528 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
529 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
530 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
531 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
532 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
533 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
534 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
535 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
536 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
537 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
538 [X/Open-based standards] (SIGTRAP): Likewise.
539 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
540 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
541 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
542 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
543 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
544 allow.
545
b9f1922d
IW
5462012-05-08 Ian Wienand <ianw@vmware.com>
547
548 [BZ #14080]
549 * time/tzset.c (__tzset_parse_tz): Update default rules for
550 daylight time changes in the Energy Policy Act of 2005.
551
1db86e88
AJ
5522012-05-09 Andreas Jaeger <aj@suse.de>
553
554 [BZ #13983]
555 * elf/ldconfig.c (parse_conf): Change string to make clear that
556 ldconfig only issued a warning if ld.so.conf does not exist.
557
dee4a4e3
DM
5582012-05-08 David S. Miller <davem@davemloft.net>
559
ee0db190
DM
560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
561 movxtod instead of popping the value on the stack.
562
dee4a4e3
DM
563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
564
6a43ec98
CD
5652012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
566
567 * config.h.in: Add HAVE_ARM_PCS_VFP.
568
05c2c961
RMG
5692012-05-08 Roland Mc Grath <roland@hack.frob.com>
570
bcfe3a54
ST
571 [BZ #13979]
572 * include/features.h: Warn if user requests __FORTIFY_SOURCE
573 checking but the checks are disabled for any reason.
05c2c961 574
4b30f61a
L
5752012-05-08 H.J. Lu <hongjiu.lu@intel.com>
576
577 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
578 and ELF64_R_TYPE with ELFW(R_TYPE).
579
eee2bc67
JM
5802012-05-08 Joseph Myers <joseph@codesourcery.com>
581
7ea5391a
JM
582 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
583 (ulimit): Likewise.
584
eee2bc67
JM
585 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
586 (settimeofday): Likewise.
587
abb66a67
MF
5882012-05-08 Mike Frysinger <vapier@gentoo.org>
589
590 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
591 a struct th_u2 inside the union, and move tu_block/tu_code into
592 a new th_u3 union of tu_block/tu_code inside of that. Move
593 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
594 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
595 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
596 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
597 (th_stuff): Change to th_u1.tu_stuff.
598 (th_data): Define.
599 (th_msg): Change to th_u1.th_u2.tu_data.
600
7f18b530
DM
6012012-05-07 David S. Miller <davem@davemloft.net>
602
05760585
DM
603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
604
7f18b530
DM
605 [BZ #14074]
606 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
607 (SETUP_PIC_REG): Use it.
608 (SETUP_PIC_REG_LEAF): Use it.
609
495fd99f
JM
6102012-05-07 Joseph Myers <joseph@codesourcery.com>
611
612 [BZ #13885]
613 [BZ #13923]
614 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
615 USE_AS_EXPM1L.
616 (EXPL_FINITE): Likewise.
617 (FLDLOG): Likewise.
618 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
619 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
620 e_expl.S.
621 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
622 USE_AS_EXPM1L.
623 (EXPL_FINITE): Likewise.
624 (FLDLOG): Likewise.
625 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
626 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
627 e_expl.S.
628 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
629 test of -max_value argument for long double.
630 * sysdeps/i386/fpu/libm-test-ulps: Update.
631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
632
6693d694
DM
6332012-05-06 David S. Miller <davem@davemloft.net>
634
635 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
636 quad soft-float symbols whose references which are compiler
637 generated.
638 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
639
6c23e11c
JM
6402012-05-06 Joseph Myers <joseph@codesourcery.com>
641
d8b82cad
JM
642 [BZ #13884]
643 [BZ #13914]
644 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
645 USE_AS_EXP10L.
646 (EXPL_FINITE): Likewise.
647 (FLDLOG): Likewise.
648 (c0): Likewise.
649 (c1): Likewise.
650 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
651 Adjust comments for base varying.
652 (__expl_finite): Change alias to EXPL_FINITE.
653 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
654 e_expl.S.
655 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
656 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
657 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
658 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
659 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
660 USE_AS_EXP10L.
661 (EXPL_FINITE): Likewise.
662 (FLDLOG): Likewise.
663 (c0): Likewise.
664 (c1): Likewise.
665 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
666 Adjust comments for base varying.
667 (__expl_finite): Change alias to EXPL_FINITE.
668 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
669 tests for bugs.
670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
671
6c23e11c
JM
672 [BZ #14064]
673 * math/libm-test.inc (check_float_internal): Correct ulp
674 calculation for subnormal expected results.
675
29ba805c
AJ
6762012-05-06 Andreas Jaeger <aj@suse.de>
677
678 * Makeconfig (+math-flags): New, set to -frounding-math.
679 (+cflags): Add +math-flags so that all of glibc gets compiled with
680 it.
681
682 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
683
7b17aeda
JM
6842012-05-05 Joseph Myers <joseph@codesourcery.com>
685
5779f134
JM
686 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
687 Disable one test.
688
41498f4d
JM
689 [BZ #13787]
690 [BZ #13922]
691 [BZ #14036]
692 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
693 (__ieee754_expl): Allow for and saturate large arguments.
694 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
695 (u_threshold): Likewise.
696 (__exp): Call __ieee754_exp before checking for overflow and
697 underflow.
698 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
699 (u_threshold): Likewise.
700 (__expf): Call __ieee754_expf before checking for overflow and
701 underflow.
702 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
703 (u_threshold): Likewise.
704 (__expl): Call __ieee754_expl before checking for overflow and
705 underflow.
706 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
707 (__ieee754_expl): Allow for and saturate large arguments.
708 * math/libm-test.inc (exp_test): Add another test. Do not allow
709 missing overflow exception on overflow.
710 (expm1_test): Do not allow missing overflow exception on overflow.
711
6698b8bf
JM
712 * sysdeps/i386/fpu/e_expl.c: Move to ...
713 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
714 rather than using inline asm.
715 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
716 * sysdeps/x86_64/fpu/e_expl.S: Copy from
717 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
718
7b17aeda
JM
719 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
720 (nice): Likewise.
721 (poll): Likewise.
722 (signal): Likewise.
723 (time): Likewise.
724 (times): Likewise.
725
f7c85819
JM
7262012-05-04 Joseph Myers <joseph@codesourcery.com>
727
728 * sysdeps/unix/syscalls.list (adjtime): Add entry from
729 sysdeps/unix/common/syscalls.list.
730 (fchmod): Likewise.
731 (fchown): Likewise.
732 (ftruncate): Likewise.
733 (getrusage): Likewise.
734 (gettimeofday): Likewise.
735 (setpgid): Likewise.
736 (setregid): Likewise.
737 (setreuid): Likewise.
738 (sigaction): Likewise.
739 (truncate): Likewise.
740 (vhangup): Likewise.
741 * sysdeps/unix/common/syscalls.list: Remove file.
742 * sysdeps/unix/bsd/Implies: Don't include unix/common.
743 * sysdeps/unix/sysv/linux/Implies: Likewise.
744
336270d0
L
7452012-05-04 H.J. Lu <hongjiu.lu@intel.com>
746
747 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
749 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
750 Moved to ...
751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
752 Here.
753 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
754 to ...
755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
756 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
757 to ...
758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
759 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
760 to ...
761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
762 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
763 to ...
764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
765 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
766 to ...
767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
768 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
769 to ...
770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
771 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
772 to ...
773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
774 Here.
775 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
776 to ...
777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
778 Here.
779 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
780 to ...
781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
782 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
783 Moved to ...
784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
785 Here.
786 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
787 to ...
788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
789
d128e450
JM
7902012-05-04 Joseph Myers <joseph@codesourcery.com>
791
fa8ee516
JM
792 * sysdeps/unix/common/bits/dirent.h: Remove file.
793 * sysdeps/unix/common/bits/fcntl.h: Likewise.
794
d128e450
JM
795 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
796 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
797 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
798 * sysdeps/unix/bsd/isatty.c: Likewise.
799 * sysdeps/unix/bsd/tcdrain.c: Likewise.
800 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
801 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
802
ff8faaf0 8032012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 804
62881be4 805 [BZ #13563]
31dc8730
AZ
806 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
807 long double comparison inaccuracies.
808 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
810
6fef930c
AS
8112012-05-04 Andreas Schwab <schwab@linux-m68k.org>
812
813 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
814 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
815
8f203e6c
JM
8162012-05-04 Joseph Myers <joseph@codesourcery.com>
817
818 [BZ #14049]
819 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
820 nonzero digits before rounding a hex value.
821 * stdlib/tst-strtod.c (tests): Add another test.
822
5197d9c2
AK
8232012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
824
825 * sysdeps/s390/fpu/libm-test-ulps: Update.
826
f0c1dedf
AJ
8272012-05-03 Andreas Jaeger <aj@suse.de>
828
829 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
830 does not get optimized out.
831 (malloc_opt_barrier): New.
832
a65ef2ae 8332012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 834 Roland McGrath <roland@hack.frob.com>
a65ef2ae 835
2b942cb7 836 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 837 intermediate file deletion.
2b942cb7 838 (generated): Add .symlist files.
a65ef2ae 839
54b71e02
JM
8402012-05-03 Joseph Myers <joseph@codesourcery.com>
841
842 [BZ #13775]
843 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
844 Redirect under this condition.
845 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
846 [__USE_GNU] (__dprintf_chk): Not under this condition.
847 [__USE_GNU] (__vdprintf_chk): Likewise.
848 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
849 under this condition.
850 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
851 [__USE_XOPEN2K8] (dprintf): Define under this condition.
852 [__USE_XOPEN2K8] (vdprintf): Likewise.
853 [__USE_GNU] (__dprintf_chk): Not under this condition.
854 [__USE_GNU] (__vdprintf_chk): Likewise.
855 [__USE_GNU] (dprintf): Likewise.
856 [__USE_GNU] (vdprintf): Likewise.
857
d3dfcc41
RM
8582012-05-03 Roland McGrath <roland@hack.frob.com>
859
860 * elf/Makefile (common-generated): Set this instead of generated for
861 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
862 $(all-built-dso)-derived lists.
863
7ac30cc5
AJ
8642012-05-03 Andreas Jaeger <aj@suse.de>
865
0c51e550
AJ
866 * sysdeps/i386/fpu/libm-test-ulps: Update.
867
7ac30cc5
AJ
868 * FAQ: Removed.
869 * FAQ.in: Likewise.
870 * scripts/gen-FAQ.pl: Likewise.
871 * manual/install.texi (Installation): Point to online location of
872 FAQ.
873 * Makefile (files-for-dist): Remove FAQ.
874 (FAQ): Remove.
875
d4c2917f
AM
8762012-05-02 Allan McRae <allan@archlinux.org>
877
878 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
879 (LDFLAGS-reldepmod5.so): Likewise.
880 (LDFLAGS-reldep6mod1.so): Likewise.
881 (LDFLAGS-reldep6mod4.so): Likewise.
882 (LDFLAGS-reldep8mod3.so): Likewise.
883 (LDFLAGS-unload4mod1.so): Likewise.
884 (LDFLAGS-unload4mod2.so): Likewise.
885 (LDFLAGS-tst-initorder): Likewise.
886 (LDFLAGS-tst-initordera2.so): Likewise.
887 (LDFLAGS-tst-initordera3.so): Likewise.
888 (LDFLAGS-tst-initordera4.so): Likewise.
889 (LDFLAGS-tst-initorderb2.so): Likewise.
890 (LDFLAGS-noload): Likewise.
891 (LDFLAGS-next): Likewise.
892 (LDFLAGS-order2mod1.so): Likewise.
893 (LDFLAGS-order2mod2.so): Likewise.
894 (LDFLAGS-tst-initorder2): Likewise.
895 (LDFLAGS-tst-initorder2a.so): Likewise.
896 (LDFLAGS-tst-initorder2b.so): Likewise.
897 (LDFLAGS-tst-initorder2c.so): Likewise.
898 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
899
d77f993f
DM
9002012-05-02 David S. Miller <davem@davemloft.net>
901
902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
903
171a70b4
PP
9042012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
905
906 [BZ #14055]
907 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
908
0be196ad
AJ
9092012-05-02 Andreas Jaeger <aj@suse.de>
910
911 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
912 since we manipulate rounding mode.
913 (CPPFLAGS-test-idouble.c): Likewise.
914 (CPPFLAGS-test-ifloat.c): Likewise.
915 (CFLAGS-test-ldouble.c): Likewise.
916 (CFLAGS-test-double.c): Likewise.
917 (CFLAGS-test-float.c): Likewise.
918 (CFLAGS-test-misc.c): Likewise.
919 (CFLAGS-test-test-fenv.c): Likewise.
920
4f9d04aa
AZ
9212012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
922
2b942cb7
RM
923 [BZ #2550]
924 [BZ #2570]
925 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
926 comparisons to determine direction to adjust input.
4f9d04aa 927
82a79e7d
RM
9282012-05-01 Roland McGrath <roland@hack.frob.com>
929
f5a01ca9
RM
930 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
931 output to the target.
932
90fe4186
RM
933 * scripts/localplt.awk: New file.
934 * elf/Makefile ($(objpfx)check-localplt): Target removed.
935 (check-localplt-CFLAGS): Variable removed.
936 ($(all-built-dso:=.jmprel)): New static pattern rule.
937 (generated): Add those targets.
938 (localplt-built-dso): New variable.
939 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
940
941 * elf/check-localplt.c: File removed.
942
82397ed6
RM
943 * scripts/check-execstack.awk: New file.
944 * elf/Makefile ($(objpfx)check-execstack): Target removed.
945 (check-execstack-CFLAGS): Variable removed.
946 ($(objpfx)check-execstack.h): Target removed.
947 ($(objpfx)execstack-default): New target.
948 (generated): Add that instead of check-execstack.h.
949 ($(all-built-dso:=.phdr)): New static pattern rule.
950 (generated): Add those targets.
951 * elf/check-execstack.c: File removed.
952
82a79e7d
RM
953 * scripts/check-textrel.awk: New file.
954 * elf/Makefile ($(objpfx)check-textrel): Target removed.
955 (check-textrel-CFLAGS): Variable removed.
956 (all-built-dso): Use := to define.o
957 ($(all-built-dso:=.dyn)): New static pattern rule.
958 (generated): Add those targets.
959 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
960 * config.make.in (READELF): New substituted variable.
961 * elf/check-textrel.c: File removed.
962
62fde54f 9632012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 964
615605c9
JM
965 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
966 allow.
967 * conform/data/ctype.h-data [C99-based standards] (isblank):
968 Expect function.
969 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
970 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
972 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
973 Specify type. Require positive value.
974 (EILSEQ): Likewise.
975 (ERANGE): Likewise.
976 [ISO || POSIX] (EILSEQ): Do not expect.
977 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
978 Specify type. Require positive value.
979 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
980 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
981 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
982 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
983 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
984 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
985 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
986 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
987 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
988 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
989 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
990 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
991 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
992 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
993 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
994 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
995 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
996 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
997 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
998 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
999 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1000 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1001 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1002 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1003 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1004 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1005 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1006 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1007 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1008 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1009 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1010 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1011 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1012 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1013 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1014 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1015 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1016 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1017 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1018 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1019 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1020 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1021 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1022 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1023 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1024 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1025 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1026 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1027 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1028 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1029 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1030 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1031 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1032 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1033 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1034 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1035 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1036 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1037 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1038 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1039 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1040 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1041 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1042 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1043 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1044 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1045 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1046 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1047 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1048 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1049 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1050 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1051 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1052 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1053 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1054 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1055 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1056 Require >= 2.
1057 (FLT_ROUNDS): Expect as macro, not constant.
1058 (FLT_MANT_DIG): Use macro-int-constant.
1059 (DBL_MANT_DIG): Likewise.
1060 (LDBL_MANT_DIG): Likewise.
1061 (FLT_DIG): Likewise.
1062 (DBL_DIG): Likewise.
1063 (LDBL_DIG): Likewise.
1064 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1065 (DBL_MIN_EXP): Likewise.
1066 (LDBL_MIN_EXP): Likewise.
1067 (FLT_MAX_EXP): Use macro-int-constant.
1068 (DBL_MAX_EXP): Likewise.
1069 (LDBL_MAX_EXP): Likewise.
1070 (FLT_MAX_10_EXP): Likewise.
1071 (DBL_MAX_10_EXP): Likewise.
1072 (LDBL_MAX_10_EXP): Likewise.
1073 (FLT_MAX): Use macro-constant.
1074 (DBL_MAX): Likewise.
1075 (LDBL_MAX): Likewise.
1076 (FLT_EPSILON): Use macro-constant. Give upper bound.
1077 (DBL_EPSILON): Likewise.
1078 (LDBL_EPSILON): Likewise.
1079 (FLT_MIN): Likewise.
1080 (DBL_MIN): Likewise.
1081 (LDBL_MIN): Likewise.
1082 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1083 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1084 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1085 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1086 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1087 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1088 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1089 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1090 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1091 [ISO11] (FLT_TRUE_MIN): Likewise.
1092 [ISO11] (LDBL_TRUE_MIN): Likewise.
1093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1094 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1095 (SCHAR_MIN): Use macro-int-constant. Specify type.
1096 (SCHAR_MAX): Likewise.
1097 (UCHAR_MAX): Likewise.
1098 (CHAR_MIN): Likewise.
1099 (CHAR_MAX): Likewise.
1100 (MB_LEN_MAX): Use macro-int-constant.
1101 (SHRT_MIN): Use macro-int-constant. Specify type.
1102 (SHRT_MAX): Likewise.
1103 (USHRT_MAX): Likewise.
1104 (INT_MAX): Likewise.
1105 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1106 bound negative.
1107 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1108 bound with "U".
1109 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1110 bound with "L".
1111 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1112 bound negative. Suffix upper bound with "L".
1113 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1114 bound with "UL".
1115 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1116 Specify type.
1117 [C99-based standards] (LLONG_MAX): Likewise.
1118 [C99-based standards] (ULLONG_MAX): Likewise.
1119 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1120 == 0.
1121 [ISO11] (max_align_t): Require type.
1122 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1123
c9140a62
JM
1124 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1125 from $CFLAGS, without defining away __attribute__ calls.
1126 (checknamespace): Use $CFLAGS_namespace.
1127
9af0bf29
JM
1128 * conform/conformtest.pl (@keywords): Only include C99 keywords
1129 for standards based on C99 or C11.
1130
343222a2
JM
1131 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1132 Disable tests.
1133 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1134 UNIX98]: Likewise.
1135
661f8cf0
JM
1136 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1137 usability of symbols in #if.
1138
ee74b9cb
JM
1139 * conform/conformtest.pl: If macro or constant types start
1140 "promoted:", expect the symbol to be of the following type
1141 promoted by the integer promotions.
62fde54f 1142
aafc49b3
JM
1143 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1144 in one place. Also handle "macro-constant".
1145
fefdf574
JM
1146 * conform/conformtest.pl: Only accept expected macro values with
1147 "==". Parse all "macro" lines in one place.
1148 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1149
f2d922fe
JM
1150 * conform/conformtest.pl: Handle braced types on "constant" lines
1151 instead of handling "typed-constant".
1152 * conform/data/signal.h-data: Use "constant" instead of
1153 "typed-constant".
1154
d22956c9
JM
1155 * conform/conformtest.pl: Handle "optional-" at start of lines in
1156 one place rather than duplicating several cases. Handle each
1157 format of "macro" line with initial "optional-".
1158
028e2e38
JM
1159 * conform/conformtest.pl: Only accept expected constant or
1160 optional-constant values with "==". Parse all "constant" lines in
1161 one place. Parse all "optional-constant" lines in one place.
1162 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1163 * conform/data/fmtmsg.h-data: Likewise.
1164 * conform/data/netinet/in.h-data: Likewise.
1165 * conform/data/tar.h-data: Likewise.
1166 * conform/data/limits.h-data: Use "==" form on "constant" and
1167 "optional-constant" lines.
1168
1b8f2850
JM
1169 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1170 Use -std=c99 for XOPEN2K.
1171 (@knownproblems): Remove.
1172 (newtoken): Don't check %isknown.
1173
a05a144b
JM
1174 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1175 Do not expect macro.
1176 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1177 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1178 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1179 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1180 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1181 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1182 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1184 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1185 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1186 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1187 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1188 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1189 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1190 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1191 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1192 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1193 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1194 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1195 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1196 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1197 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1198 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1199 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1200 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1201 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1202 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1203 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1204 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1205 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1206 [XPG3] (acosh): Likewise.
1207 [XPG3] (asinh): Likewise.
1208 [XPG3] (atanh): Likewise.
1209 [XPG3] (cbrt): Likewise.
1210 [XPG3] (expm1): Likewise.
1211 [XPG3] (ilogb): Likewise.
1212 [XPG3] (log1p): Likewise.
1213 [XPG3] (logb): Likewise.
1214 [XPG3] (nextafter): Likewise.
1215 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1216 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1217 [XPG3] (remainder): Likewise.
1218 [XPG3] (rint): Likewise.
1219 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1220 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1221 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1222 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1223 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1224 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1225 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1226 [UNIX98 || XOPEN2K] (scalb): Expect.
1227 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1228 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1229 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1230 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1231 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1232 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1233 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1234 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1235 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1236 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1237 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1238 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1239 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1240 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1241 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1242 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1243 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1244 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1245 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1246 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1247 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1248 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1249 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1250 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1251 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1252 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1253 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1254 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1255 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1256 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1257 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1259 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1260 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1261 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1262 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1263 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1267 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1268 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1269 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1270 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1271 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1272 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1273 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1274 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1275 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1276 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1277 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1278 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1279 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1280 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1281 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1282 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1283 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1284 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1285 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1286 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1287 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1288 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1289 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1290 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1291 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1292 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1293 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1294 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1295 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1299 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1300 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1302 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1308 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1311 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1312 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1313 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1314 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1315 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1329 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1330 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1331 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1332 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1336 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1349 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1350 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1351 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1353 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1354 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1355 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1359 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1364
73c5ebe3
JM
1365 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1366 _XOPEN_SOURCE_EXTENDED for XPG4.
1367
39c33b6c
JM
1368 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1369
62fde54f
JM
1370 * Makeconfig (localtime): Remove variable.
1371 (inst_localtime-file): Likewise.
1372
0741d64c
AS
13732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1374
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1376 Update.
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1378 Update.
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1380 Update.
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1382 Update.
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1384 Update.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1386 Update.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1388 Update.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1390 Update.
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1392 Update.
1393
7cb029ee
JM
13942012-05-01 Joseph Myers <joseph@codesourcery.com>
1395
1396 [BZ #2550]
1397 [BZ #2570]
1398 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1399 comparisons to determine direction to adjust input.
1400 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1401 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1402 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1403 Likewise.
1404 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1405 Likewise.
1406 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1407 Likewise.
1408 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1409 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1410 Likewise.
1411 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1412 Likewise.
1413 * math/libm-test.inc (nexttoward_test): Add more tests.
1414
412bd966
AS
14152012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1416
1417 [BZ #14040]
1418 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1419 in version GLIBC_2.1, not GLIBC_2.0.
1420 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1421 Likewise.
1422
9568c0c2
JM
14232012-04-30 Joseph Myers <joseph@codesourcery.com>
1424
adfbc8ac
JM
1425 [BZ #13942]
1426 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1427 (1 - x) * (1 + x).
1428 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1429 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1430 * math/libm-test.inc (acos_test): Add more tests.
1431 (asin_test): Likewise.
1432 * sysdeps/i386/fpu/libm-test-ulps: Update.
1433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1434
5ba3cc69
JM
1435 [BZ #14034]
1436 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1437 of square root.
1438 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1439 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1440 * math/libm-test.inc (acos_test_tonearest): New function.
1441 (acos_test_towardzero): Likewise.
1442 (acos_test_downward): Likewise.
1443 (acos_test_upward): Likewise.
1444 (asin_test_tonearest): Likewise.
1445 (asin_test_towardzero): Likewise.
1446 (asin_test_downward): Likewise.
1447 (asin_test_upward): Likewise.
1448 (main): Call the new functions.
1449 * sysdeps/i386/fpu/libm-test-ulps: Update.
1450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1451
9568c0c2
JM
1452 [BZ #13884]
1453 [BZ #13924]
1454 * math/e_exp10.c: Include <float.h>.
1455 (__ieee754_exp10): Handle underflow here rather than multiplying
1456 large negative argument by M_LN10.
1457 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1458 of __ieee754_expf.
1459 * math/e_exp10l.c: Include <float.h>.
1460 (__ieee754_exp10l): Handle underflow here rather than multiplying
1461 large negative argument by M_LN10l.
1462 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1463 spurious overflow exception on underflow.
1464
5ac3ea17
MP
14652012-04-29 Marek Polacek <polacek@redhat.com>
1466
1467 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1468 (__fortify_function): New macro.
1469 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1470 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1471 __extern_always_inline.
1472 * libio/bits/stdio2.h: Likewise.
1473 * libio/bits/stdio.h: Likewise.
1474 * string/string.h: Likewise.
1475 * string/bits/string3.h: Likewise.
1476 * include/stdio.h: Likewise.
1477 * stdlib/bits/stdlib.h: Likewise.
1478 * stdlib/stdlib.h: Likewise.
1479 * rt/bits/mqueue2.h: Likewise.
1480 * rt/mqueue.h: Likewise.
1481 * posix/bits/unistd.h: Likewise.
1482 * posix/unistd.h: Likewise.
1483 * io/bits/poll2.h: Likewise.
1484 * io/bits/fcntl2.h: Likewise.
1485 * io/fcntl.h: Likewise.
1486 * io/sys/poll.h: Likewise.
1487 * misc/bits/syslog.h: Likewise.
1488 * misc/bits/syslog-ldbl.h: Likewise.
1489 * misc/sys/syslog.h: Likewise.
1490 * socket/bits/socket2.h: Likewise.
1491 * socket/sys/socket.h: Likewise.
1492 * debug/tst-chk1.c: Likewise.
1493 * wcsmbs/bits/wchar2.h: Likewise.
1494 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1495 * wcsmbs/wchar.h: Likewise.
1496
ecf0ebfb
AJ
14972012-04-29 Andreas Jaeger <aj@suse.de>
1498
1499 * Makerules (tests): Remove enable-check-abi protection.
1500 (check-abi-warn): Remove.
1501 (check-abi-%): Remove check-abi-warn usage.
1502
1503 * configure.in: Remove check-abi configure option.
1504 * configure: Regenerated.
1505 * config.make.in (enable-check-abi): Remove.
1506
6d5c57fa
AS
15072012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1508
24c5d07e 1509 [BZ #14033]
ded5180a
AS
1510 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1511 double functions to double *_finite functions.
1512
7e0d315d
AS
1513 [BZ #13941]
1514 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1515 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1516 LDBL_MIN_EXP.
1517 * stdio-common/Makefile (tests): Add tst-sprintf3.
1518 * stdio-common/tst-sprintf3.c: New file.
1519
6d5c57fa
AS
1520 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1521 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1522
0749ff8b
JM
15232012-04-28 Joseph Myers <joseph@codesourcery.com>
1524
1525 * conform/conformtest.pl: Remove duplicate typed-constant
1526 handling.
1527
8dbd5d7b
DM
15282012-04-28 David S. Miller <davem@davemloft.net>
1529
1530 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1531 (check-abi-%): Remove AWK script prerequisite and explicit
1532 abilist directory.
1533 (check-abi): Rewrite to just diff the symlist with the abilist.
1534 (config-tls, config-abi-config): Delete, no longer used.
1535 (update-abi-%): Remove AWK script and explicit abilist directory.
1536 (update-abi): Rewrite to simply compare and conditionally copy the
1537 symlist and the sysdep abilist file. Remove update-abi-config
1538 checks.
1539 * abilist/ld.abilist: Remove.
1540 * abilist/libBrokenLocale.abilist: Remove.
1541 * abilist/libanl.abilist: Remove.
1542 * abilist/libcrypt.abilist: Remove.
1543 * abilist/libdl.abilist: Remove.
1544 * abilist/librt.abilist: Remove.
1545 * abilist/libthread_db.abilist: Remove.
1546 * abilist/libutil.abilist: Remove.
1547 * scripts/extract-abilist.awk: Remove.
1548 * scripts/merge-abilist.awk: Remove.
1549 * sysdeps/generic/libcidn.abilist: New file.
1550 * sysdeps/generic/libnss_compat.abilist: New file.
1551 * sysdeps/generic/libnss_db.abilist: New file.
1552 * sysdeps/generic/libnss_dns.abilist: New file.
1553 * sysdeps/generic/libnss_files.abilist: New file.
1554 * sysdeps/generic/libnss_hesiod.abilist: New file.
1555 * sysdeps/generic/libnss_nis.abilist: New file.
1556 * sysdeps/generic/libnss_nisplus.abilist: New file.
1557 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1558 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1559 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1560 file.
1561 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1562 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1563 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1564 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1565 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1566 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1567 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1568 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1569 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1570 file.
1571 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1572 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1573 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1574 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1575 file.
1576 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1577 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1578 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1579 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1580 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1581 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1582 file.
1583 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1584 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1585 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1586 file.
1587 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1589 New file.
1590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1591 New file.
1592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1593 New file.
1594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1595 New file.
1596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1597 New file.
1598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1599 New file.
1600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1601 New file.
1602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1603 New file.
1604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1605 New file.
1606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1607 New file.
1608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1609 New file.
1610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1611 New file.
1612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1613 New file.
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1615 file.
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1617 New file.
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1619 New file.
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1621 file.
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1623 New file.
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1625 New file.
1626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1627 file.
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1629 New file.
1630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1631 New file.
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1633 New file.
1634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1635 New file.
1636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1637 New file.
1638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1639 New file.
1640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1642 file.
1643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1644 New file.
1645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1646 file.
1647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1648 file.
1649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1650 file.
1651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1652 file.
1653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1654 file.
1655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1656 New file.
1657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1658 file.
1659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1660 file.
1661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1662 New file.
1663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1664 file.
1665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1667 file.
1668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1669 New file.
1670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1671 file.
1672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1673 file.
1674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1675 file.
1676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1677 file.
1678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1679 file.
1680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1681 New file.
1682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1683 file.
1684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1685 file.
1686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1687 New file.
1688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1689 file.
1690 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1691 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1692 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1693 file.
1694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1695 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1696 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1697 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1698 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1699 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1700 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1701 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1702 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1703 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1706 file.
1707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1708 New file.
1709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1710 file.
1711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1712 file.
1713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1714 file.
1715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1716 file.
1717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1718 file.
1719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1720 New file.
1721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1722 New file.
1723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1724 file.
1725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1726 New file.
1727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1728 file.
1729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1731 file.
1732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1733 New file.
1734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1735 file.
1736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1737 file.
1738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1739 file.
1740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1741 file.
1742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1743 file.
1744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1745 New file.
1746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1747 New file.
1748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1749 file.
1750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1751 New file.
1752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1753 file.
1754
41d73a1b
JM
17552012-04-28 Joseph Myers <joseph@codesourcery.com>
1756
1757 * conform/conformtest.pl: Fix typo in handling typed-constant from
1758 allow-header.
1759
28aeeda4
JM
17602012-04-27 Joseph Myers <joseph@codesourcery.com>
1761
adae8f5e
JM
1762 * README: Cut down references to pre-2.6 Linux kernels and
1763 Linuxthreads. Update lists of configurations in libc and ports
1764 and sort alphabetically. Say "or newer" with Linux kernel version
1765 requirements.
1766
28aeeda4
JM
1767 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1768
a462cb63
RA
17692012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1770
1771 [BZ #887]
1772 * math/libm-test.inc (logb_test_downward): New test to expose
1773 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1774 rounding mode.
1775
6ad3493e
JM
17762012-04-27 Joseph Myers <joseph@codesourcery.com>
1777
1778 [BZ #14027]
1779 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1780 to be done.
1781 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1782 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1783
2ce4f015
JM
17842012-04-26 Joseph Myers <joseph@codesourcery.com>
1785
5aeb141a
JM
1786 * sysdeps/unix/i386/brk.S: Remove file.
1787 * sysdeps/unix/i386/dl-brk.S: Likewise.
1788 * sysdeps/unix/i386/pipe.S: Likewise.
1789 * sysdeps/unix/i386/sigreturn.S: Likewise.
1790 * sysdeps/unix/i386/syscall.S: Likewise.
1791 * sysdeps/unix/i386/vfork.S: Likewise.
1792 * sysdeps/unix/i386/wait.S: Likewise.
1793
7143acae
JM
1794 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1795 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1796
2ce4f015
JM
1797 * configure.in (arm*-none*): Do not allow without
1798 --enable-hacker-mode.
1799 (netbsd*): Remove case setting base_os.
1800 (386bsd*): Likewise.
1801 (freebsd*): Likewise.
1802 (bsdi*): Likewise.
1803 (osf*): Likewise.
1804 (sunos*): Likewise.
1805 (ultrix*): Likewise.
1806 (newsos*): Likewise.
1807 (dynix*): Likewise.
1808 (*bsd*): Likewise.
1809 (sysv*): Likewise.
1810 (isc*): Likewise.
1811 (esix*): Likewise.
1812 (sco*): Likewise.
1813 (minix*): Likewise.
1814 (irix4*): Likewise.
1815 (irix6*): Likewise.
1816 (solaris[2-9]*): Likewise.
1817 (none): Likewise.
1818 * configure: Regenerated.
1819
0ac229c8
AZ
18202012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1821
1822 [BZ #11521]
1823 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1824 overflow or cancellation in calculating denominator.
1825 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1826 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1827 down expression to avoid unexpected rounding in newer GCCs.
1828 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1829
33f244f4
DM
18302012-04-26 David S. Miller <davem@davemloft.net>
1831
1832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1833 long-double compat symbols.
1834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1847
cfa1f3e8
DM
18482012-04-25 David S. Miller <davem@davemloft.net>
1849
1850 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1851 HWCAP_* values only after the memory barriers have been defined.
1852 (atomic_full_barrier): Define.
1853 (atomic_read_barrier): Define.
1854 (atomic_write_barrier): Define.
1855
6e236b92
SP
18562012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1857
1858 * shlib-versions: Add libgcc_s version information.
1859 * sysdeps/generic/libgcc_s.h: Remove.
1860 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1861 libgcc_s.h.
1862 * sysdeps/gnu/unwind-resume.c: Likewise.
1863 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1864
aab39a09
DM
18652012-04-25 David S. Miller <davem@davemloft.net>
1866
1867 * sysdeps/unix/sparc/brk.S: Delete.
1868 * sysdeps/unix/sparc/dl-brk.S: Delete.
1869 * sysdeps/unix/sparc/pipe.S: Delete.
1870 * sysdeps/unix/sparc/sysdep.S: Delete.
1871 * sysdeps/unix/sparc/sysdep.h: Delete.
1872 * sysdeps/unix/sparc/vfork.S: Delete.
1873 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1874 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1875 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1876 ret_ERRVAL, r0, r1, MOVE): Define.
1877 (JUMPTARGET): Remove.
1878 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1879 sysdeps/unix/sparc/sysdep.h
1880 (ENTRY, END): Remove.
1881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1882
a3cc4f48
JM
18832012-04-25 Joseph Myers <joseph@codesourcery.com>
1884
2ed8cda2
JM
1885 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1886 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1887 -DIS_IN_build.
1888
35d76d59
JM
1889 * timezone/README: Update upstream location and email address for
1890 tzcode and tzdata.
1891 * timezone/zdump.c: Update from tzcode 2012b.
1892 * timezone/zic.c: Likewise.
1893
a3cc4f48
JM
1894 * configure.in (libc_cv_as_needed): Remove test.
1895 * configure: Regenerated.
1896 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1897 conditional definition.
1898 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1899 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1900 * config.make.in (have-as-needed): Remove variable.
1901
ceab42c3
SP
19022012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1903 Paul Pluzhnikov <ppluzhnikov@google.com>
1904
1905 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1906 strings correctly.
1907
3ce2865f
CLT
19082012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1909
1910 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1911 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1912 * sysdeps/sh/strlen.S: Likewise.
1913
f37e0d68
JM
19142012-04-24 Joseph Myers <joseph@codesourcery.com>
1915
ae186e9a
JM
1916 * sysdeps/unix/fork.S: Remove file.
1917 * sysdeps/unix/i386/fork.S: Likewise.
1918 * sysdeps/unix/sparc/fork.S: Likewise.
1919
b96914af
JM
1920 * sysdeps/unix/system.c: Remove file.
1921 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1922
f37e0d68
JM
1923 * sysdeps/unix/getegid.S: Remove file.
1924 * sysdeps/unix/geteuid.S: Likewise.
1925
87ef29ca
RM
19262012-04-24 Roland McGrath <roland@hack.frob.com>
1927
83bcd236
RM
1928 * scripts/check-localplt.awk: New file.
1929 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1930 of diff.
1931 * scripts/data/localplt-generic.data: Add a comment.
1932
87ef29ca
RM
1933 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1934 NODE when __dir_mkfile failed.
1935 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1936 Reported by Ludovic Courtès <ludo@gnu.org>.
1937
e5a6e567
AJ
19382012-04-24 Andreas Jaeger <aj@suse.de>
1939
1940 * Makerules (common-clean): Also remove gen-as-const-headers
1941 files.
1942
c1820385
JM
19432012-04-24 Joseph Myers <joseph@codesourcery.com>
1944
1945 * Makerules (native-compile): Do not change working directory for
1946 build. Use $(OUTPUT_OPTION) in command.
1947 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1948
94e02fc4
AZ
19492012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1950
1951 [BZ #13886]
1952 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1953 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1954 * math/libm-test.inc (floor_test): Add more tests.
1955 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1956
3a533ca3
JM
19572012-04-24 Joseph Myers <joseph@codesourcery.com>
1958
940ab4b3
JM
1959 * sysdeps/unix/getdents.c: Remove file.
1960 * sysdeps/unix/sysv/getdents.c: Likewise.
1961 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1962
90e037bd
JM
1963 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1964 sysdeps/unix/mman/syscalls.list.
1965 (mmap): Likewise.
1966 (mprotect): Likewise.
1967 (msync): Likewise.
1968 (munmap): Likewise.
1969 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1970 * sysdeps/unix/mman/syscalls.list: Remove.
1971 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1972
3a533ca3
JM
1973 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1974 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1975 * configure: Regenerated.
1976 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1977 $(libgcc_s_suffix).
1978 * config.make.in (libgcc_s_suffix): Remove variable.
1979
1ad743de
JM
19802012-04-23 Joseph Myers <joseph@codesourcery.com>
1981
4ad451e2
JM
1982 * sysdeps/unix/sysv/gethostname.c: Move to ...
1983 * sysdeps/posix/gethostname.c: ... here.
1984
5e37ce39
JM
1985 * sysdeps/unix/execve.S: Remove file.
1986
1ad743de
JM
1987 * sysdeps/unix/_exit.S: Remove file.
1988
4e681b5b
AJ
19892012-04-23 Andreas Jaeger <aj@suse.de>
1990
1991 [BZ #13739]
1992 * manual/Makefile: Remove make dist support, there's no
1993 need for a stand-alone documentation tar ball.
1994 (TEXI2DVI): Define always, it's not in Makeconfig.
1995 (dist): Removed.
1996 (tar-it): Removed.
1997 (edition): Removed.
1998 (glibc-doc-$(edition).tar): Removed
1999 (%.Z): Removed.
2000 (%.gz): Removed.
2001 (%.uu): Removed.
2002 (ETAGS): Remove, it's in Makeconfig.
2003 (move-if-change): Remove, it's in Makeconfig.
2004
c0baea34
PE
20052013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2006
2007 [BZ #13970]
2008 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2009 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2010 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2011 (strtod_l, strtof_l, strtold_l): Remove __wur.
2012 It is not necessarily an error to ignore strtol's return value.
2013 One can reliably look at the stored endptr to decide whether
2014 the number had valid syntax.
2015
7c0616fa
AJ
20162012-04-21 Andreas Jaeger <aj@suse.de>
2017
803cb6b7 2018 [BZ #13739]
7c0616fa
AJ
2019 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2020
b0fe253f
JM
20212012-04-21 Joseph Myers <joseph@codesourcery.com>
2022
2023 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2024 * sysdeps/unix/sysv/Versions: Remove file.
2025
8280f22d
MT
20262012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2027
2028 [BZ #13927]
2029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2030
75ce411f 20312012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2032
2033 [BZ #7064]
2034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2035 version from __vm86.
2036
097d59fa
JM
20372012-04-20 Joseph Myers <joseph@codesourcery.com>
2038
a90f3bcb
JM
2039 * sysdeps/unix/common/lxstat.c: Remove file.
2040 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2041
edc7ea78
JM
2042 * sysdeps/unix/sysv/Makefile: Remove file.
2043
cb78c221
JM
2044 * sysdeps/unix/sysv/direct.h: Remove file.
2045
efa6a45f
JM
2046 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2047 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2048 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2049 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2050 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2051 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2052 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2053
9c9f2d0c
JM
2054 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2055
4541c83b
JM
2056 * sysdeps/unix/xmknod.c: Remove file.
2057 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2058
f5d153a0
JM
2059 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2060
aa746595
JM
2061 * sysdeps/unix/sysv/i386/time.S: Remove file.
2062
cce5905e
JM
2063 * sysdeps/unix/fxstat.c: Remove file.
2064 * sysdeps/unix/xstat.c: Likewise.
2065 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2066
37fa3841
JM
2067 * sysdeps/unix/sysv/sigaction.c: Remove file.
2068
ff1962a3
JM
2069 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2070 (sysdep_headers): Remove variable.
2071 [termio.h not in sysdep_headers] (generated): Likewise.
2072 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2073 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2074 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2075 * sysdeps/unix/sysv/tcflow.c: Likewise.
2076 * sysdeps/unix/sysv/tcflush.c: Likewise.
2077 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2078 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2079 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2080 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2081 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2082
e7740d31
JM
2083 * sysdeps/unix/siglist.c: Remove file.
2084
ee06f18b
JM
2085 * sysdeps/unix/getppid.S: Remove file.
2086
097d59fa
JM
2087 * sysdeps/unix/mkdir.c: Remove file.
2088 * sysdeps/unix/rmdir.c: Likewise.
2089
ff3d51ec
AS
20902012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2091
2092 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2093 ERR_MAX value.
2094 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2095 errlist-compat value.
2096
50f81fd7
DM
20972012-04-18 David S. Miller <davem@davemloft.net>
2098
2099 * sysdeps/generic/memcopy.h (reg_char): Delete.
2100 * debug/strcat_chk.c: Use char, not reg_char.
2101 * debug/strcpy_chk.c: Likewise.
2102 * debug/strncat_chk.c: Likewise.
2103 * debug/strncpy_chk.c: Likewise.
2104 * string/memchr.c: Likewise.
2105 * string/memrchr.c: Likewise.
2106 * string/rawmemchr.c: Likewise.
2107 * string/strcat.c: Likewise.
2108 * string/strchr.c: Likewise.
2109 * string/strchrnul.c: Likewise.
2110 * string/strcmp.c: Likewise.
2111 * string/strcpy.c: Likewise.
2112 * string/strncat.c: Likewise.
2113 * string/strncmp.c: Likewise.
2114 * string/strncpy.c: Likewise.
2115
8ff41c46
WS
21162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2117
2118 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2119 __builtin_memcopy is called when src and dest ranges are known to not
2120 overlap.
2121
6b652f46
WS
21222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2123
2124 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2125 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2126 fwd_align_merge macro call.
2127 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2128 bwd_align_merge macro call.
2129 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2130
b282631e
WS
21312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2132
2133 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2134 bwd_align_merge macros.
2135 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2136 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2137 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2138
95aa737c
DM
21392012-04-18 David S. Miller <davem@davemloft.net>
2140
2141 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2142
7a99a614
AJ
21432012-04-18 Andreas Jaeger <aj@suse.de>
2144
2145 [BZ# 6794]
2146 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2147 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2148 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2149
2150 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2151 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2152 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2153
2154 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2155 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2156 Adjust for changed ldbl-128 files.
2157
2158 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2159 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2160 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2161
e5270c23
DM
21622012-04-17 David S. Miller <davem@davemloft.net>
2163
2164 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2165
fb5e92c9
AS
21662012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2167
2168 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2169 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2170 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2171 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2172 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2173 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2174
76da7265
AZ
21752012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2176
2177 [BZ #6794]
2178 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2179 * math/libm-test.inc: Add ilogb errno and exception tests.
2180 * math/w_ilogb.c: New file: ilogb wrapper.
2181 * math/w_ilogbf.c: New file: ilogbf wrapper.
2182 * math/w_ilogbl.c: New file: ilogbl wrapper.
2183 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2184 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2185 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2186 exception being thrown with 0.0 as argument.
2187 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2188 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2189 exception being thrown with 0.0 as argument.
2190 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2191 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2192 exception being thrown with 0.0 as argument.
2193 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2194 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2195 exception being thrown with 0.0 as argument.
2196 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2197 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2198 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2199 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2200 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2201 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2202 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2203 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2204 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2205
0396e69d
PB
22062012-04-17 Petr Baudis <pasky@ucw.cz>
2207
2208 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2209 with altivec.
2210
750b5926
MP
22112012-04-16 Marek Polacek <polacek@redhat.com>
2212
2213 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2214
751728a1
MP
22152012-04-16 Marek Polacek <polacek@redhat.com>
2216
2217 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2218 operands of fdivp instruction.
2219
34a27407
L
22202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2221
2222 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2223 * elf/tst-auditmod3b.c: Likewise.
2224 * elf/tst-auditmod4b.c: Likewise.
2225 * elf/tst-auditmod5b.c: Likewise.
2226 * elf/tst-auditmod6b.c: Likewise.
2227 * elf/tst-auditmod6c.c: Likewise.
2228 * elf/tst-auditmod7b.c: Likewise.
2229 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2230 * sysdeps/x86_64/preconfigure.in: Likewise.
2231 * sysdeps/x86_64/preconfigure: Regenerated.
2232
7e73e17d
L
22332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2234
2235 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2236 __ILP32__.
2237
c7a6ab72
AB
22382012-04-13 Antoine Balestrat <merkil33@gmail.com>
2239
2240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2241 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2242
a9e8e0e0
CL
22432012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2244
2245 [BZ #13973]
2246 * locale/iso-639.def: Fix gl language name. Spotted by
2247 Yaron Shahrabani.
2248
ec98af7d
RM
22492012-04-12 Roland McGrath <roland@hack.frob.com>
2250
2251 [BZ #2074]
2252 * libio/libio.h (__io_write_fn): Update comment.
2253
247c3ede
PB
22542012-04-12 Petr Baudis <pasky@ucw.cz>
2255
2256 [BZ #2074]
2257 * stdio.texi (Hook Functions): The user provided writer function
2258 is not allowed to return -1.
2259
55939d6d
DM
22602012-04-11 David S. Miller <davem@davemloft.net>
2261
2262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2263
90020f5a
MF
22642012-04-11 Mike Frysinger <vapier@gentoo.org>
2265
2266 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2267 Add a leading slash to rtkaio.
2268
288f9098
JM
22692012-04-11 Jim Meyering <meyering@redhat.com>
2270
90020f5a
MF
2271 [BZ #11959]
2272 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2273 It is not necessarily an error to ignore fwrite's return
2274 value. One can reliably use ferror to test for errors after
2275 the fact.
288f9098 2276
4be2b570
L
22772012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2278
2279 * bits/types.h (__snseconds_t): New type.
2280 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2281
2282 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2284 (__SNSECONDS_T_TYPE): Likewise.
2285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2286 (__SNSECONDS_T_TYPE): Likewise.
2287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2288 (__SNSECONDS_T_TYPE): Likewise.
2289
288f9098 22902012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2291
2292 [BZ #2636]
2293 * manual/time.texi (Processor Time): Return type of times is
2294 elapsed real time since an arbitrary point in the past.
2295 (CPU Time): Move CLK_TCK from here...
2296 (Processor Time): ...to here. Correct description.
2297 * manual/conf.texi (Constants for Sysconf): Correct description of
2298 _SC_CLK_TCK.
2299
d7dd4413
DM
23002012-04-10 David S. Miller <davem@davemloft.net>
2301
2302 [BZ #13967]
2303 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2304 where the is a gap between DT_REL(A) and DT_JMPREL.
2305
b46068fc
L
23062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2307
2308 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2309 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2310 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2311
73d65cc3
SP
23122012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2313
2314 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2315 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2316 (dl_main): Handle --inhibit-cache.
2317 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2318 _dl_inhibit_cache.
2319 * elf/dl-load.c (_dl_map_object): Use it.
2320 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2321
bcc8d661
JM
23222012-04-09 Joseph Myers <joseph@codesourcery.com>
2323
8f9a2fae
JM
2324 [BZ #13872]
2325 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2326 (__ieee754_powl): Saturate large exponents rather than testing for
2327 overflow of y*log2(x).
2328 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2329 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2330 exceptions.
2331
bcc8d661
JM
2332 [BZ #11521]
2333 * math/s_ctan.c: Include <float.h>.
2334 (__ctan): Avoid internal overflow or cancellation in calculating
2335 denominator.
2336 * math/s_ctanf.c: Likewise.
2337 * math/s_ctanl.c: Likewise.
2338 * math/s_ctanh.c: Likewise.
2339 * math/s_ctanhf.c: Likewise.
2340 * math/s_ctanhl.c: Likewise.
2341 * math/libm-test.inc (ctan_test): Add more tests.
2342 (ctanh_test): Likewise.
2343 * sysdeps/i386/fpu/libm-test-ulps: Update.
2344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2345
823fbbb4
AJ
23462012-04-09 Andreas Jaeger <aj@suse.de>
2347
03879793
AJ
2348 [BZ #6894]
2349 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2350 is an optional BSD extension.
2351
823fbbb4
AJ
2352 [BZ #10254]
2353 * manual/stdio.texi (Opening Streams): Document additional fopen
2354 parameters.
2355
8de131cb
RM
23562012-04-09 Roland McGrath <roland@hack.frob.com>
2357
2358 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2359 %eax without telling the compiler.
2360
c0ed9d7d
CD
23612012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2362
2363 [BZ # 13963]
2364 * manual/install.texi: Use sourceware.org.
2365
c483f6b4
JM
23662012-04-09 Joseph Myers <joseph@codesourcery.com>
2367
d7dd9453
JM
2368 [BZ #13873]
2369 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2370 (__ieee754_pow): Generate overflow and underflow using huge*huge
2371 and tiny*tiny rather than just returning constant infinity or zero
2372 for large exponents.
2373 * math/libm-test.inc (pow_test): Require overflow exceptions for
2374 applicable cases of large exponents.
2375
c483f6b4
JM
2376 [BZ #706]
2377 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2378 (__ieee754_pow): Use iterative multiplication algorithm only for
2379 integer exponents with absolute value below 1024. Check for odd
2380 integer exponents when using algorithm for real exponents.
2381 * math/libm-test.inc (pow_test): Add more tests.
2382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2383
d2de7579
JM
23842012-04-08 Joseph Myers <joseph@codesourcery.com>
2385
2386 [BZ #13705]
2387 * math/libm-test.inc (exp_test): Do not allow overflow exception
2388 on underflow test.
2389
f77f1232
AJ
23902012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2391
2392 [BZ #13705]
2393 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2394 instead of __kernel_standard_f.
2395
3884932b
MF
23962012-04-08 Mike Frysinger <vapier@gentoo.org>
2397
2398 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2399 * sysdeps/x86_64/memset_chk.S: Likewise.
2400
54472e9c
AJ
24012012-04-08 Andreas Jaeger <aj@suse.de>
2402
6ab0fbfc
AJ
2403 [BZ #10153]
2404 * manual/startup.texi (Environment Access): Describe return value
2405 for putenv and setenv.
2406
61efba8c
AJ
2407 [BZ #6895]
2408 * manual/filesys.texi (Directory Entries): Add description for
2409 DT_LNK.
2410
95c3f29a
AJ
2411 [BZ #6890]
2412 * manual/filesys.texi (Directory Entries): Clarify that it's file
2413 system not operating system in the description of DT_UNKNOWN.
2414
54472e9c
AJ
2415 [BZ #6578]
2416 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2417
624254b1
SC
24182012-04-08 Stephen Compall <s11@member.fsf.org>
2419
2420 [BZ #6649]
2421 * manual/llio.texi (Opening and Closing Files): Add cross
2422 reference to explain mode argument.
2423
1e4920e0
MF
24242012-04-07 Mike Frysinger <vapier@gentoo.org>
2425
2426 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2427 * sysdeps/x86_64/memset_chk.S: Likewise.
2428
5ed848f3
DM
24292012-04-07 David S. Miller <davem@davemloft.net>
2430
2431 * elf/elf.h (R_SPARC_WDISP10): Define.
2432 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2433 R_SPARC_SIZE32.
2434 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2435 R_SPARC_SIZE64 and R_SPARC_H34.
2436
96154cd8
CD
24372012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2438
2439 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2440 conditions and remove no longer applicable assertion.
2441
9904dc47
L
24422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2443
2444 * bits/byteswap.h: Include <features.h>.
2445 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2446 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2447
f8887d0a
L
24482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2449
2450 * bits/byteswap.h (__bswap_16): Removed.
2451 Include <bits/byteswap-16.h> to get __bswap_16.
2452 * sysdeps/i386/bits/byteswap.h: Likewise.
2453 * sysdeps/s390/bits/byteswap.h: Likewise.
2454 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2455 * bits/byteswap-16.h: New file.
2456 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2457 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2458 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2459 * string/Makefile (headers): Add bits/byteswap-16.h.
2460
62470f60
PP
24612012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2462
2463 [BZ #13895]
2464 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2465 extra indirection.
2466 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2467 * nss/tst-nss-static.c: New.
2468
4dad7bab
RM
24692012-04-06 Robert Millan <rmh@gnu.org>
2470
2471 [BZ #6486]
2472 * manual/llio.texi (File Position Primitive): lseek
2473 refers to WHENCE when it really means OFFSET.
2474
e9142a17
AJ
24752012-04-06 Andreas Jaeger <aj@suse.de>
2476
2c040eff
AJ
2477 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2478 strncmp declarations.
2479
e9142a17
AJ
2480 * abilist/libc.abilist: Add __poll and __ppoll.
2481
ff9f1c5f
DM
24822012-04-05 David S. Miller <davem@davemloft.net>
2483
dcd2ae90
DM
2484 * scripts/check-local-headers.sh: Accept a host triplet in the
2485 path matched by the exclude regexp.
2486
993eb054
DM
2487 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2488 definition.
2489 * sysdeps/powerpc/powerpc32/dl-machine.h
2490 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2491 * sysdeps/s390/s390-32/dl-machine.h
2492 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2493 * sysdeps/sparc/sparc32/dl-machine.h
2494 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2495 * sysdeps/sparc/sparc64/dl-machine.h
2496 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2497
ff9f1c5f
DM
2498 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2499 lazy binding.
48e2e132 2500 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2501 undefined symbol errors.
2502
48e2e132 2503 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2504 DT_NEEDED entries.
2505
e80d6f94
MM
25062012-04-05 Michael Matz <matz@suse.de>
2507
2508 [BZ #13592]
2509 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2510
349fa79f
AJ
25112012-04-05 Andreas Jaeger <aj@suse.de>
2512
2513 [BZ #13908]
2514 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2515 comment.
2516
f402708f
KK
25172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2518
2519 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2520 which ROUND is no valid rounding mode.
2521
2ecccfc9
KK
25222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2523
2524 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2525 read again.
2526 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2527
8a53f50f
KK
25282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2529
2530 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2531 an exception using FPU order intentionally.
2532
25332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2534
2535 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2536 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2537 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2538 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2539
d653abb7
SJ
25402012-04-05 Simon Josefsson <simon@josefsson.org>
2541
2542 [BZ #12340]
2543 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2544 EINVAL when BUFLEN is too smal.
2545
c3b1bf7d
TS
25462012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2547
2548 [BZ #13553]
2549 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2550 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2551
b1aa60f3
AJ
25522012-04-03 Andreas Jaeger <aj@suse.de>
2553
c3b1bf7d 2554 [BZ #13938]
67f60a26
AJ
2555 * manual/setjmp.texi (System V contexts): Fix sentence.
2556
b1aa60f3
AJ
2557 [BZ #13926]
2558 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2559 New macro for this case.
2560 [!__GNUC__] (__bswap_64): New inline function for this case.
2561 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2562 * bits/byteswap.h: Likewise.
2563 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2564 ull, guard with __GLIBC_HAVE_LONG_LONG.
2565
2566 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2567 __GLIBC_HAVE_LONG_LONG.
2568
2569 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2570 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2571
39c59c35
TMQMF
25722012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2573
2574 [BZ #13691]
2575 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2576 inptr and inend, rather than using last_ch.
2577
135ffda8
DM
25782012-04-02 David S. Miller <davem@davemloft.net>
2579
2580 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2581 * stdio-common/printf-parse.h (read_int): Change return type to
2582 'int', return -1 on INT_MAX overflow.
2583 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2584 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2585 overflows INT_MAX. Check for overflow of in-format-string precision
2586 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2587 SIZE_MAX not INT_MAX for integer overflow test.
2588 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2589 skip the construct in the format string but do not record anything.
2590 * stdio-common/bug22.c: Adjust to test both width/prevision
2591 INT_MAX overflow as well as total length INT_MAX overflow. Check
2592 explicitly for proper errno values.
2593
228c019e
TS
25942012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2595
302cadd3
TS
2596 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2597 CHAR_MAX.
2598 * string/test-strcmp.c [! WIDE]: Likewise.
2599 * time/tst-mktime2.c: Likewise for INT_MAX.
2600 * string/test-string.h: #include <sys/param.h> for MIN.
2601
228c019e
TS
2602 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2603 * sysdeps/i386/init-first.c (init): Likewise.
2604 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2605 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2606 * sysdeps/sh/init-first.c (init): Likewise.
2607
cfa633f5
UD
26082012-04-01 Ulrich Drepper <drepper@gmail.com>
2609
2610 * po/ru.po: Update from translation team.
d1635ef8 2611 * po/vi.po: Likewise.
cfa633f5 2612
6cd0a5ea
SP
26132012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2614
2615 * resolv/nss_dns/dns-host.c: Merge copyright years.
2616
4b43400f
LD
26172012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2618
2619 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2620 Optimize memcpy with prefetch if
2621 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2622 src, dst pointers have unequal 16 byte alignments.
2623
48c41d04
SP
26242012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2625
2626 [BZ #13928]
2627 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2628 from a CNAME entry and return the minimum ttl for the query.
2629 (gaih_getanswer_slice): Likewise.
2630
b8dc394d
JL
26312012-03-30 Jeff Law <law@redhat.com>
2632
2633 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2634 due to long keys.
2635 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2636 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2637
2f5a5ed0
JL
2638 * resolv/nss_dns/dns-host.c: Update copyright year.
2639
1d39e359
UD
26402012-03-30 Ulrich Drepper <drepper@gmail.com>
2641
c030f70c 2642 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2643 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2644
1d39e359
UD
2645 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2646 comments for sendmmsg.
2647
26482012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2649
2650 [BZ #13691]
2651 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2652 with only 1 character between 0x0041 and 0x01b0.
2653 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2654 * wcsmbs/tst-mbsnrtowcs.c: New file.
2655
20fde227
DM
26562012-03-29 David S. Miller <davem@davemloft.net>
2657
2658 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2659 small copies by hand.
2660
984a4237
JL
26612012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2662
2663 [BZ #13761]
2664 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2665 _nss_compat_initgroups_dyn): Fall back to malloc/free
2666 for large group memberships.
2667
18c9d62b
DM
26682012-03-28 David S. Miller <davem@davemloft.net>
2669
88d85d4f
DM
2670 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2671 that branches into memcpy.
2672 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2673 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2675 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2676 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2677 bits.
2678 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2679 implementation too.
2680 * sysdeps/sparc/mempcpy.S: New file.
2681
e5aa83e1
DM
2682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2683 the IFUNC routine in the libc case.
2684 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2685
88570753
DM
2686 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2687 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2688 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2689 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2690 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2691 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2692 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2693 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2694
249d7567
DM
2695 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2696 loop to 256 bytes instead of 64 bytes and fix test signedness.
2697
18c9d62b
DM
2698 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2699 * sysdeps/sparc/sparc32/Makefile: rather than here...
2700 * sysdeps/sparc/sparc64/Makefile: and here.
2701
05f3d1f6
UD
27022012-03-28 Ulrich Drepper <drepper@gmail.com>
2703
2704 * malloc/mallocbug.c: Avoid warnings about unused variables.
2705
86ae07a8
JL
27062012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2707
2708 [BZ #13760]
2709 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2710 in the right place. Discard and retry query if response is
2711 larger than input buffer size.
2712
41bf21a1
JM
27132012-03-28 Joseph Myers <joseph@codesourcery.com>
2714
d6270972
JM
2715 [BZ #369]
2716 [BZ #2678]
2717 [BZ #3866]
2718 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2719 x for large integer exponent.
2720 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2721 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2722 sign of result as needed afterwards.
2723 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2724 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2725 result for underflowing pow the same as for overflow.
2726 (__kernel_standard_l): Handle powl overflow and underflow here
2727 rather than calling __kernel_standard.
2728 * math/libm-test.inc (pow_test): Add more tests.
2729
414fca03 2730 [BZ #3868]
41bf21a1
JM
2731 [BZ #13879]
2732 [BZ #13910]
2733 [BZ #13911]
2734 [BZ #13912]
2735 [BZ #13913]
2736 [BZ #13915]
2737 [BZ #13916]
2738 [BZ #13917]
2739 [BZ #13918]
2740 [BZ #13919]
2741 [BZ #13920]
2742 [BZ #13921]
2743 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2744 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2745 (__kernel_standard_l): New function.
2746 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2747 __kernel_standard.
2748 * math/w_acosl.c (__acosl): Likewise.
2749 * math/w_asinl.c (__asinl): Likewise.
2750 * math/w_atan2l.c (__atan2l): Likewise.
2751 * math/w_atanhl.c (__atanhl): Likewise.
2752 * math/w_coshl.c (__coshl): Likewise.
2753 * math/w_exp10l.c (__exp10l): Likewise.
2754 * math/w_exp2l.c (__exp2l): Likewise.
2755 * math/w_fmodl.c (__fmodl): Likewise.
2756 * math/w_hypotl.c (__hypotl): Likewise.
2757 * math/w_j0l.c (__j0l, __y0l): Likewise.
2758 * math/w_j1l.c (__j1l, __y1l): Likewise.
2759 * math/w_jnl.c (__jnl, __ynl): Likewise.
2760 * math/w_lgammal.c (__lgammal): Likewise.
2761 * math/w_log10l.c (__log10l): Likewise.
2762 * math/w_log2l.c (__log2l): Likewise.
2763 * math/w_logl.c (__logl): Likewise.
2764 * math/w_powl.c (__powl): Likewise.
2765 * math/w_remainderl.c (__remainderl): Likewise.
2766 * math/w_scalbl.c (sysv_scalbl): Likewise.
2767 * math/w_sinhl.c (__sinhl): Likewise.
2768 * math/w_sqrtl.c (__sqrtl): Likewise.
2769 * math/w_tgammal.c (__tgammal): Likewise.
2770 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2771 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2772 * math/libm-test.inc (acos_test): Add more tests.
2773 (acosh_test): Likewise.
2774 (asin_test): Likewise.
2775 (atanh_test): Likewise.
2776 (exp_test): Likewise.
2777 (exp10_test): Likewise.
2778 (exp2_test): Likewise.
2779 (expm1_test): Likewise.
2780 (lgamma_test): Likewise.
2781 (log_test): Likewise.
2782 (log10_test): Likewise.
2783 (log1p_test): Likewise.
2784 (log2_test): Likewise.
2785 (pow_test): Do not allow some spurious overflow exceptions.
2786 (sqrt_test): Add more tests.
2787 (tgamma_test): Likewise.
2788 (y0_test): Likewise.
2789 (y1_test): Likewise.
2790 (yn_test): Likewise.
2791
dd62fda6
AB
27922012-03-27 Anton Blanchard <anton@samba.org>
2793
2794 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2795 MAP_HUGETLB.
2796 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2797 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2798 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2799
1e3cdfda
AJ
28002012-03-27 David S. Miller <davem@davemloft.net>
2801
b855ab85
DM
2802 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2803
1e3cdfda
AJ
2804 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2805 have-as-vis3 check.
2806
28072012-03-27 Andreas Jaeger <aj@suse.de>
2808
2809 * sysdeps/x86_64/elf/configure.in: Moved to ...
2810 * sysdeps/x86_64/configure.in: ... here.
2811 * sysdeps/x86_64/elf/start.S: Moved to ...
2812 * sysdeps/x86_64/start.S: ... here.
2813 * sysdeps/x86_64/elf/configure: Delete.
2814
2815 * sysdeps/x86_64/configure.in: Merge contents from
2816 sysdeps/i386/configure.in (without i686 check).
2817
2818 * sysdeps/i386/elf/Versions: Merge into ...
2819 * sysdeps/i386/Versions: ... this.
2820 * sysdeps/i386/elf/Versions: Delete file.
2821 * sysdeps/i386/elf/start.S: Moved to ...
2822 * sysdeps/i386/start.S: ...here.
2823 * sysdeps/i386/elf/configure.in: Merge into...
2824 * sysdeps/i386/configure.in: ...here.
2825 * sysdeps/i386/elf/configure.in: Delete file.
2826 * sysdeps/i386/elf/configure: Delete file.
2827
2828 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2829 * debug/backtracesyms.c: ... here.
2830 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2831 * debug/backtracesymsfd.c: ... here.
2832 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2833 * sysdeps/generic/ifunc-sel.h: ... here.
2834
2835 * sysdeps/unix/i386/start.c: Delete file.
2836 * sysdeps/unix/sparc/start.c: Delete file.
2837 * sysdeps/unix/start.c: Delete file.
2838
2839 * sysdeps/sh/elf/configure.in: Moved to ...
2840 * sysdeps/sh/configure.in: ... here.
2841 * sysdeps/sh/elf/start.S: Moved to ...
2842 * sysdeps/sh/start.S: ... here.
2843 * sysdeps/sh/elf/configure: Delete file.
2844
2845 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2846 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2847 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2848 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2849 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2850 * sysdeps/powerpc/powerpc64/start.S: here.
2851 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2852 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2853 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2854 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2855 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2856
2857 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2858 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2859 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2860 * sysdeps/powerpc/powerpc32/start.S: ... here.
2861 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2862 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2863 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2864
2865 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2866 * sysdeps/powerpc/ifunc-sel.h: ... here.
2867 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2868 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2869
2870 * sysdeps/sparc/elf/configure.in: Moved to ...
2871 * sysdeps/sparc/configure.in: ... here.
2872 * sysdeps/sparc/elf/configure: Delete file.
2873 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2874 * sysdeps/sparc/sparc32/start.S: ... here.
2875 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2876 * sysdeps/sparc/sparc64/start.S: ... here.
2877 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2878 * sysdeps/sparc/sparc32/Makefile: ... this.
2879 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2880 * sysdeps/sparc/sparc64/Makefile: ... this.
2881
2882 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2883 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2884 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2885 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2886 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2887 * sysdeps/s390/s390-32/setjmp.S: ... here.
2888 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2889 * sysdeps/s390/s390-32/configure.in: ... here.
2890 * sysdeps/s390/s390-32/elf/configure: Delete file.
2891 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2892 * sysdeps/s390/s390-32/start.S: ... here.
2893
2894 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2895 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2896 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2897 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2898 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2899 * sysdeps/s390/s390-64/setjmp.S: ... here.
2900 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2901 * sysdeps/s390/s390-64/configure.in: ... here
2902 * sysdeps/s390/s390-64/elf/configure: Delete file.
2903 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2904 * sysdeps/s390/s390-64/start.S: ... here.
2905 * sysdeps/s390/s390-64/elf/configure: Delete.
2906
2907 * configure.in: Remove support for elf directories in sysdeps.
2908
2909 * configure: Regenerated.
2910 * sysdeps/i386/configure: Regenerated.
2911 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2912 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2913 * sysdeps/s390/s390-32/configure: Regenerated.
2914 * sysdeps/s390/s390-64/configure: Regenerated.
2915 * sysdeps/sh/configure: Regenerated.
2916 * sysdeps/sparc/configure: Regenerated.
2917 * sysdeps/x86_64/configure: Regenerated.
2918
a3f61311
AS
29192012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2920
c876e002
AS
2921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2922
a3f61311
AS
2923 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2924 denormal result into account.
2925
ac4c54f0
RM
29262012-03-25 Roland McGrath <roland@hack.frob.com>
2927
2928 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2929 Reported by Allan McRae <allan@archlinux.org>.
2930
6a9b9c02
JL
29312012-03-23 Jeff Law <law@redhat.com>
2932
2933 * nss/getnssent.c (__nss_getent): Fix typo.
2934
4c42a0c1
DM
29352012-03-23 David S. Miller <davem@davemloft.net>
2936
2937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2938
1532c7ac
L
29392012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2940
2941 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2942 to pad to uint64_t for each field.
2943 (dl_tls_index): Replace unsigned long with uint64_t.
2944
3ff42526
PP
29452012-03-23 Daniel Jacobowitz <dmj@google.com>
2946 Paul Pluzhnikov <ppluzhnikov@google.com>
2947
2948 [BZ #6528]
2949 * grp/Makefile (otherlibs): Don't set it.
2950 * inet/Makefile (otherlibs): Likewise.
2951 * login/Makefile (otherlibs): Likewise.
2952 * nscd/Makefile (otherlibs): Likewise.
2953 * posix/Makefile (otherlibs): Likewise.
2954 * pwd/Makefile (otherlibs): Likewise.
2955 * rt/Makefile (otherlibs): Likewise.
2956 * sunrpc/Makefile (otherlibs): Likewise.
2957 * nss/Makefile (otherlibs): Likewise.
2958 Add libnss_files to routines and static-only-routines.
2959 ($(objpfx)getent): Remove rule.
2960 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2961 static-only-routines.
2962
7c69cd14
JM
29632012-03-22 Joseph Myers <joseph@codesourcery.com>
2964
2965 [BZ #13892]
2966 * math/s_cexp.c: Include <float.h>.
2967 (__cexp): Handle exp result overflowing not necessarily
2968 overflowing both real and imaginary parts of result.
2969 * math/s_cexpf.c: Likewise.
2970 * math/s_cexpl.c: Likewise.
2971 * math/libm-test.inc (cexp_test): Add more tests.
2972 * sysdeps/i386/fpu/libm-test-ulps: Update.
2973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2974
81b035fe
L
29752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2976
2977 * include/link.h (ELFW): New macro.
2978 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2979 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2980
1da7940c
L
29812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2982
2983 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2984 with uint64_t.
2985
b749dbb9
L
29862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2987
2988 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2989 declaration.
2990 (struct La_x32_retval): Likewise.
2991
2ff87f3f
L
29922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2993
2994 * sysdeps/x86_64/preconfigure.in: New file.
2995 * sysdeps/x86_64/preconfigure: New generated file.
2996
c0df8e69
JM
29972012-03-22 Joseph Myers <joseph@codesourcery.com>
2998
48e44791
JM
2999 [BZ #13824]
3000 * math/e_exp2l.c: Include <float.h>.
3001 (__ieee754_exp2l): Handle overflow and underflow cases
3002 separately. Only pass fractional part of argument to
3003 __ieee754_expl.
3004 * math/libm-test.inc (exp2_test): Add more tests.
3005
c0df8e69
JM
3006 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3007 negating x to take absolute value.
3008 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3009 Likewise.
3010 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3011 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3012 Likewise.
3013 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3014 computing low part if x was negated.
3015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3016
c8e43ba7
L
30172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3018
3019 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3020 la_x32_gnu_pltexit.
3021 (pltexit): Cast int_retval to ptrdiff_t.
3022 * elf/tst-auditmod3b.c: Likewise.
3023 * elf/tst-auditmod4b.c: Likewise.
3024 * elf/tst-auditmod5b.c: Likewise.
3025 * elf/tst-auditmod6b.c: Likewise.
3026 * elf/tst-auditmod6c.c: Likewise.
3027 * elf/tst-auditmod7b.c: Likewise.
3028
3029 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3030 and x32_gnu_pltexit.
3031
3032 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3033 __ELF_NATIVE_CLASS.
3034 (La_x32_regs): New macro.
3035 (La_x32_retval): Likewise.
3036 (la_x32_gnu_pltenter): New function prototype.
3037 (la_x32_gnu_pltexit): Likewise.
3038
7998fa78
AS
30392012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3040
dcb33988
AS
3041 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3042 exponent.
3043
233fc563
AS
3044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3045
7998fa78
AS
3046 * configure.in (libc_cv_cc_nofma): Check for option to disable
3047 generation of FMA instructions.
3048 * configure: Regenerate.
3049 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3050 * sysdeps/ieee754/dbl-64/Makefile: New file.
3051 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3052 Remove brandred-fma4.
3053 (CFLAGS-brandred-fma4.c): Remove.
3054 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3055 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3056 define.
3057 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3058 define.
3059
8e95c99a
L
30602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3061
3062 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3063 LLONG_MAX != LONG_MAX.
3064 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3065 (_fitoa_word): Likewise.
3066 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3067 LLONG_MAX != LONG_MAX.
3068 * stdio-common/_itowa.h: Include <_itoa.h>.
3069 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3070 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3071 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3072 only if not defined.
3073 (_ITOA_WORD_TYPE): Likewise.
3074 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3075 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3076
6f4db457
DM
30772012-03-21 David S. Miller <davem@davemloft.net>
3078
3079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3080
7785fe5a
L
30812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3082
3083 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3084 of x86_64 when setting libc_cv_slibdir, libdir and
3085 libc_cv_localedir.
3086 * sysdeps/unix/sysv/linux/configure: Regenerated.
3087
4535cd55
JM
30882012-03-21 Joseph Myers <joseph@codesourcery.com>
3089
3090 * manual/lang.texi (Old Varargs): Remove section.
3091 (How Variadic): Update menu.
3092 (va_start): Do not mention varargs.h.
3093
17228132
TS
30942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3095 Joseph Myers <joseph@codesourcery.com>
3096
3097 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3098 link test.
3099 * configure: Regenerated.
3100
8149f976
TS
31012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3102
05f3d1f6
UD
3103 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3104 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3105 conformtest.pl
8149f976 3106
1a4ac776
JM
31072012-03-21 Joseph Myers <joseph@codesourcery.com>
3108
be22ce65
JM
3109 * NOTES: Remove.
3110 * Makefile (files-for-dist): Remove NOTES.
3111 (NOTES): Remove rule.
3112 * README: Don't refer to NOTES.
3113 * manual/creature.texi: Don't include macros.texi.
3114 * manual/intro.texi (creature.texi): Remove comment referring to
3115 NOTES.
3116
40b601fb
JM
3117 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3118 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3119 * configure: Regenerated.
3120 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3121 LIBC_TRY_CC_OPTION.
3122 (libc_cv_as_i686): Likewise.
3123 (libc_cv_cc_avx): Likewise.
3124 (libc_cv_cc_sse2avx): Likewise.
3125 (libc_cv_cc_fma4): Likewise.
3126 (libc_cv_cc_novzeroupper): Likewise.
3127 * sysdeps/i386/configure: Regenerated.
3128
1a4ac776
JM
3129 [BZ #13883]
3130 * sysdeps/i386/fpu/s_cexp.S: Remove.
3131 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3132 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3133 * math/libm-test.inc (cexp_test): Add more tests.
3134 * sysdeps/i386/fpu/libm-test-ulps: Update.
3135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3136
a458e7fe
AM
31372012-03-21 Allan McRae <allan@archlinux.org>
3138
3139 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3140
0cb7efc5
JM
31412012-03-21 Joseph Myers <joseph@codesourcery.com>
3142
3143 [BZ #13871]
3144 * math/w_exp2.c: Do not include <float.h>.
3145 (o_threshold, u_threshold): Remove.
3146 (__exp2): Calculate result before checking finiteness and calling
3147 __kernel_standard.
3148 * math/w_exp2f.c: Likewise.
3149 * math/w_exp2l.c: Likewise.
3150 * math/libm-test.inc (exp2_test): Require overflow exception for
3151 1e6 input.
2460d3aa
JM
3152
3153 [BZ #3866]
3154 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3155 range of signed 64-bit integers before using fistpll. Remove
3156 checks for whether integers fit in mantissa bits.
3157 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3158 the range of signed 32-bit integers before using fistpl. Remove
3159 checks for whether integers fit in mantissa bits.
3160 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3161 (__ieee754_powl): Test for y outside the range of signed 64-bit
3162 integers before using fistpll. Reduce 64-bit values to 63-bit
3163 ones as needed.
3164 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3165 divide-by-zero is raised for zero to large negative powers.
3166 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3167 (__ieee754_powl): Test for y outside the range of signed 64-bit
3168 integers before using fistpll. Reduce 64-bit values to 63-bit
3169 ones as needed.
3170 * math/libm-test.inc (pow_test): Add more tests.
3171
eb96ffb0
L
31722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3173
3174 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3175 <stdio-common/_itoa.h>.
3176 * debug/segfault.c: Likewise.
3177 * elf/dl-cache.c: Likewise.
3178 * elf/dl-minimal.c: Likewise.
3179 * elf/dl-misc.c: Likewise.
3180 * elf/dl-sysdep.c: Likewise.
3181 * elf/dl-version.c: Likewise.
3182 * elf/rtld.c: Likewise.
3183 * hurd/hurdsock.c: Likewise.
3184 * hurd/lookup-retry.c: Likewise.
3185 * malloc/malloc.c: Likewise.
3186 * malloc/mtrace.c: Likewise.
3187 * nscd/nscd_getgr_r.c: Likewise.
3188 * nscd/nscd_getpw_r.c: Likewise.
3189 * nscd/nscd_getserv_r.c: Likewise.
3190 * posix/getopt_init.c: Likewise.
3191 * posix/wordexp.c: Likewise.
3192 * stdio-common/_itoa.c: Likewise.
3193 * stdio-common/printf_fphex.c: Likewise.
3194 * stdio-common/vfprintf.c: Likewise.
3195 * string/_strerror.c: Likewise.
3196 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3197 * sysdeps/i386/i686/hp-timing.h: Likewise.
3198 * sysdeps/mach/_strerror.c: Likewise.
3199 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3200 * sysdeps/mach/hurd/sethostid.c: Likewise.
3201 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3202 * sysdeps/mach/xpg-strerror.c: Likewise.
3203 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3204 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3205 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3206 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3207 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3208 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3209 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3210 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3211 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3212 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3213 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3214 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3215 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3216 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3217 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3218 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3219 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3220 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3221 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3222 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3223 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3224
3225 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3226
3227 * stdio-common/_itoa.h: Moved to ...
3228 * sysdeps/generic/_itoa.h: Here.
3229
3230 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3231
3232 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3233 instead of "_itoa.h" and "_itowa.h".
3234 * stdio-common/vfprintf.: Likewise.
3235
d1af992d
L
32362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3237
3238 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3239 <bits/wordsize.h>.
3240 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3241 (__signbit): Likwise.
3242 (llrintf): Likwise.
3243 (llrint): Likwise.
3244
114883e0
L
32452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3246
3247 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3248 __WORDSIZE != 64.
3249
c135cc1b
JM
32502012-03-20 Joseph Myers <joseph@codesourcery.com>
3251
3252 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3253 OVERFLOW_EXCEPTION_OK.
3254 * math/libm-test.inc ("Philosophy"): Update comment about
3255 exception testing.
3256 (OVERFLOW_EXCEPTION): Define.
3257 (OVERFLOW_EXCEPTION_OK): Likewise.
3258 (INVALID_EXCEPTION_OK): Renumber.
3259 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3260 (IGNORE_ZERO_INF_SIGN): Likewise.
3261 (test_exceptions): Handle FE_OVERFLOW.
3262 (exp10_test): Expect overflow exceptions.
3263 (exp2_test): Likewise.
3264 (expm1_test): Likewise.
3265 (nextafter_test): Likewise.
3266 (pow_test): Likewise.
3267 (scalbn_test): Likewise.
3268 (scalbln_test): Likewise.
3269
95443d88
L
32702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3271
3272 * sysdeps/x86_64/bits/atomic.h
3273 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3274 64bit integer.
3275 (atomic_exchange_acq): Likewise.
3276 (__arch_exchange_and_add_body): Likewise.
3277 (__arch_add_body): Likewise.
3278 (atomic_add_negative): Likewise.
3279 (atomic_add_zero): Likewise.
3280
490df6c4
L
32812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3282
c2722551 3283 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3284 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3285
5e52b189
L
32862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3287
3288 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3289 Check __x86_64__ instead of __WORDSIZE.
3290
a9879d4c
L
32912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3292
3293 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3294
5df98260
DM
32952012-03-19 David S. Miller <davem@davemloft.net>
3296
e1497744
DM
3297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3298
5df98260
DM
3299 * sysdeps/sparc/fpu/fenv_private.h: New file.
3300 * sysdeps/sparc/fpu/math_private.h: Use it.
3301 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3302 Remove.
3303 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3304 (libc_feholdexcept_setroundl): Remove.
3305 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3306 Remove.
3307 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3308 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3309
b4c35121
L
33102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3311
3312 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3313 int64_t instead of long int.
3314 (INSERT_WORDS64): Likwise.
3315
56965fd7
L
33162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3317
3318 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3319 _Unwind_GetCFA return to _Unwind_Ptr first.
3320
83d1aec8
JM
33212012-03-19 Joseph Myers <joseph@codesourcery.com>
3322
1897ad44
JM
3323 [BZ #13629]
3324 * math/s_clog.c: Include <float.h>.
3325 (__clog): Scale large or subnormal inputs.
3326 * math/s_clogf.c: Likewise.
3327 * math/s_clogl.c: Likewise.
3328 * math/s_clog10.c: Include <float.h>.
3329 (M_LOG10_2): Define.
3330 (__clog10): Scale large or subnormal inputs.
3331 * math/s_clog10f.c: Likewise.
3332 * math/s_clog10l.c: Likewise.
3333 * math/libm-test.inc (clog_test): Add more tests.
3334 (clog10_test): Likewise.
3335 * sysdeps/i386/fpu/libm-test-ulps: Update.
3336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3337
7726d6a9
JM
3338 [BZ #11451]
3339 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3340 x and y.
3341 * math/libm-test.inc (atan2_test): Add another test.
3342
83d1aec8
JM
3343 * Makerules (common-objdir-compile): Remove.
3344 * sysdeps/unix/Makefile (config-generated): Do not add
3345 $(unix-generated) to variable.
3346 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3347 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3348 Remove rule.
3349 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3350 Likewise.
3351 [generic bits/local_lim.h] (before-compile): Do not append to
3352 variable.
3353 [generic bits/local_lim.h] (common-generated): Likewise.
3354 [generic sys/param.h] (before-compile): Do not append to variable.
3355 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3356 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3357 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3358 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3359 include.
3360 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3361 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3362 [generic sys/param.h] ($(addprefix
3363 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3364 [generic sys/param.h] (common-generated): Do not append to
3365 variable.
3366 [generic sys/param.h] (sysdep_headers): Likewise.
3367 [generic bits/errno.h] (before-compile): Do not append to
3368 variable.
3369 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3370 rule.
3371 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3372 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3373 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3374 [generic bits/errno.h] (common-generated): Do not append to
3375 variable.
3376 [generic bits/ioctls.h] (before-compile): Do not append to
3377 variable.
3378 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3379 rule.
3380 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3381 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3382 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3383 rule.
3384 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3385 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3386 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3387 [generic bits/ioctls.h] (common-generated): Do not append to
3388 variable.
3389 [generic sys/syscall.h] (syscall.h): Remove variable.
3390 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3391 rule.
3392 [generic sys/syscall.h] (before-compile): Do not append to
3393 variable.
3394 [generic sys/syscall.h] (common-generated): Likewise.
3395 * sysdeps/unix/errnos-tmpl.c: Remove file.
3396 * sysdeps/unix/errnos.awk: Likewise.
3397 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3398 * sysdeps/unix/ioctls.awk: Likewise.
3399 * sysdeps/unix/mk-local_lim.c: Likewise.
3400 * sysdeps/unix/snarf-ioctls: Likewise.
3401
4851a949
RH
34022012-03-19 Richard Henderson <rth@twiddle.net>
3403
bd37f2ee
RH
3404 * sysdeps/i386/fpu/fenv_private.h: New file.
3405 * sysdeps/i386/fpu/math_private.h: Use it.
3406 (math_opt_barrier, math_force_eval): Remove.
3407 (libc_feholdexcept_setround_53bit): Remove.
3408 (libc_feupdateenv_53bit): Remove.
3409 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3410 (math_opt_barrier, math_force_eval): Remove.
3411 (libc_feholdexcept): Remove.
3412 (libc_feholdexcept_setround): Remove.
3413 (libc_fetestexcept, libc_fesetenv): Remove.
3414 (libc_feupdateenv_test): Remove.
3415 (libc_feupdateenv, libc_feholdsetround): Remove.
3416 (libc_feresetround): Remove.
3417
d0adc922
RH
3418 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3419 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3420
0fe0f1f8
RH
3421 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3422 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3423 (libc_feupdateenv_testl): New.
3424 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3425 (libc_feupdateenv_testf): New.
3426 (libc_feupdateenv): Use libc_feupdateenv_test.
3427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3428 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3429
eb92c487
RH
3430 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3431 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3432 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3433 (libc_feresetround_noex): New.
3434 (libc_feresetround_noexf): New.
3435 (libc_feresetround_noexl): New.
3436 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3437 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3438 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3439 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3440 SET_RESTORE_ROUND.
3441 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3442 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3443 (__cos): Likewise.
3444 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3445 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3446 SET_RESTORE_ROUND_NOEX.
3447 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3448 SET_RESTORE_ROUND_NOEXF.
3449 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3450 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3451 (libc_feholdsetroundf): New.
3452 (libc_feresetround, libc_feresetroundf): New.
3453
7d2e8012
RH
3454 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3455 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3456 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3457
b4dabbb4
RH
3458 * sysdeps/generic/math_private.h: Include <fenv.h>.
3459 (default_libc_feholdexcept): New.
3460 (default_libc_feholdexcept_setround): New.
3461 (default_libc_fesetenv, default_libc_feupdateenv): New.
3462 (libc_feholdexcept): Only define if undefined.
3463 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3464 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3465 (libc_feholdexcept_setroundl): Likewise.
3466 (libc_feholdexcept_setround_53bit): Likewise.
3467 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3468 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3469 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3470 (libc_feupdateenv_53bit): Likewise.
3471 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3472 (libc_feholdexcept): Convert from macro to inline function.
3473 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3474 (libc_fesetenv, libc_feupdateenv): Likewise.
3475
4851a949
RH
3476 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3477 not previously defined.
3478 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3479 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3480 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3481 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3482 * sysdeps/ieee754/flt-32/math_private.h: New file.
3483 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3484 math_private.h below SET_FLOAT_WORD.
3485 (__isnan, __isinf_ns, __finite): Remove.
3486 (__isnanf, __isinf_nsf, __finitef): Remove.
3487
e79d442e
AS
34882012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3489
3490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3491
90b80344
DM
34922012-03-17 David S. Miller <davem@davemloft.net>
3493
3494 [BZ #6471]
3495 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3496 for 2.16.
3497
edc21804
DM
34982012-03-16 David S. Miller <davem@davemloft.net>
3499
77e927af
DM
3500 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3501 warnings.
3502
374976dd
DM
3503 [BZ #6471]
3504 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3505 properly.
3506 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3507 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3508 sysdep_routines when subdir is sysvipc.
3509 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3510 __getshmlba helper.
3511
edc21804
DM
3512 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3513
473c3ef3
L
35142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3515
3516 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3517 [__LP64__].
3518
eb0f39b6
L
35192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3520
3521 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3522 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3523 (__lround): Renamed to ...
3524 (__llround): This. Replace long int with long long int.
3525 Define lround functions as aliases of llround functions.
3526 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3527
6b6cd74b
L
35282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3529
3530 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3531 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3532 adresses to uintptr_t. Replace "long int" and "unsigned long
3533 int" with "greg_t" on va_arg.
3534
f1a77b01
L
35352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3536
3537 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3538 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3539
3540 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3541 Move e_machine check before EI_CLASS check. Handle x32
3542 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3543 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3544 SKIP_EM_IA_64 and include
3545 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3546
3547 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3548 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3549 (add_system_dir): New macro.
3550
3551 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3552 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3553
11b90b9f
JM
35542012-03-16 Joseph Myers <joseph@codesourcery.com>
3555
c36e1d23
JM
3556 [BZ #2551]
3557 [BZ #2552]
3558 [BZ #2553]
3559 [BZ #2554]
3560 [BZ #2562]
3561 [BZ #2563]
3562 [BZ #2565]
3563 [BZ #2566]
3564 [BZ #2576]
3565 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3566 (y0): Likewise.
3567 * math/w_j0f.c (j0f): Likewise.
3568 (y0f): Likewise.
3569 * math/w_j0l.c (__j0l): Likewise.
3570 (__y0l): Likewise.
3571 * math/w_j1.c (j1): Likewise.
3572 (y1): Likewise.
3573 * math/w_j1f.c (j1f): Likewise.
3574 (y1f): Likewise.
3575 * math/w_j1l.c (__j1l): Likewise.
3576 (__y1l): Likewise.
3577 * math/w_jn.c (jn): Likewise.
3578 (yn): Likewise.
3579 * math/w_jnf.c (jnf): Likewise.
3580 (ynf): Likewise.
3581 * math/w_jnl.c (__jnl): Likewise.
3582 (__ynl): Likewise.
3583 * math/libm-test.inc (j0_test): Add more tests.
3584 (j1_test): Likewise.
3585 (jn_test): Likewise. Add trailing semicolon to existing test.
3586 (y0_test): Likewise.
3587 (y1_test): Likewise.
3588 * sysdeps/i386/fpu/libm-test-ulps: Update.
3589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3590
11b90b9f
JM
3591 [BZ #13851]
3592 [BZ #13854]
3593 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3594 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3595 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3596 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3597 (__tanl): Set errno for infinite argument.
3598 * sysdeps/i386/fpu/mptan.c: Remove.
3599 * sysdeps/i386/fpu/s_tan.S: Likewise.
3600 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3601 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3602 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3603 * math/libm-test.inc (tan_test): Add more tests and enable more
3604 tests for double and long double.
3605 * sysdeps/i386/fpu/libm-test-ulps: Update.
3606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3607
6a1bd2a1
JK
36082012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3609
3610 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3611 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3612
10a803e0
RM
36132012-03-16 Roland McGrath <roland@hack.frob.com>
3614
3615 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3616 * configure.in: Use it for both main tree and add-ons.
3617 * configure: Regenerated.
3618
f196c7f7
L
36192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3620
3621 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3622
8848d99d
JM
36232012-03-16 Joseph Myers <joseph@codesourcery.com>
3624
96cbe7f4
JM
3625 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3626 in comment.
3627
8848d99d
JM
3628 [BZ #13851]
3629 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3630 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3632 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3633 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3634 infinite argument.
3635 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3637 != 0 for prec == 2.
3638 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3639 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3640 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3641 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3642 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3643 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3644 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3645 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3646 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3647 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3648 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3649 * math/libm-test.inc (cos_test): Add more tests and enable more
3650 tests for long double.
3651 (sin_test): Likewise.
3652 (sincos_test): Likewise.
3653 * sysdeps/i386/fpu/libm-test-ulps: Update.
3654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3655
dd7f4703
DM
36562012-03-16 David S. Miller <davem@davemloft.net>
3657
3658 * sysdeps/sparc/fpu/math_private.h: New file.
3659
006f1daa
DM
36602012-03-15 David S. Miller <davem@davemloft.net>
3661
c0c83bc8
DM
3662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3663 file.
e6a62e18 3664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3666 file.
e6a62e18
DM
3667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3672 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3673 sysdep routines.
3674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3675
88cb87d9
DM
3676 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3677 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3678
006f1daa 3679 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3681 sparc-ifunc.h
006f1daa 3682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3684 Likewise.
3685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3686 Likewise.
006f1daa
DM
3687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3691 Likewise.
006f1daa
DM
3692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3697 Likewise.
3698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3699 Likewise.
006f1daa
DM
3700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3706 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3724
11e0098e
AS
37252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3726
3727 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3728 scaling.
3729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3730
e85b09d0
AJ
37312012-03-15 Andreas Jaeger <aj@suse.de>
3732
3733 [BZ #13852]
3734 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3735 ieee754/flt-32 implementation for sin, cos and sincos.
3736 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3737 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3738 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3739 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3740 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3741 ieee754/flt-32 implementation for tan.
3742
3743 * math/libm-test.inc (cos_test): Enable some large input tests for
3744 float as well
3745 (sin_test): Likewise.
3746 (sincos_test): Likewise.
3747 (tan_test): Add tests for large input.
3748
3749 * sysdeps/i386/fpu/libm-test-ulps: Update.
3750
81c64153
AJ
37512012-03-15 Andreas Jaeger <aj@suse.de>
3752
3753 [BZ #13658]
3754 * math/libm-test.inc (cos_test): Add more test cases.
3755 (sin_test): Likewise.
3756 (sincos_test): Likewise.
3757
7bbfa5c6
AJ
37582012-03-15 Andreas Jaeger <aj@suse.de>
3759
3760 [BZ #13837]
3761 * math/libm-test.inc (cos_test): Add a test case for large input
3762 value.
3763 (sin_test): Likewise.
3764 (sincos_test): Likewise.
3765
37662012-03-15 Andreas Jaeger <aj@suse.de>,
3767 Joseph Myers <joseph@codesourcery.com>
3768
3769 [BZ #13658]
0671f479 3770 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3771 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3772 * sysdeps/i386/fpu/branred.c: Likewise.
3773 * sysdeps/i386/fpu/dosincos.c: Likewise.
3774 * sysdeps/i386/fpu/mpa.c: Likewise.
3775 * sysdeps/i386/fpu/s_cos.S: Likewise.
3776 * sysdeps/i386/fpu/s_sin.S: Likewise.
3777 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3778 * sysdeps/i386/fpu/sincos32.c: Likewise.
3779
3780 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3781 Define.
3782 (libc_feupdateenv_53bit): Define.
3783 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3784 Define.
3785 (libc_feupdateenv_53bit): Define.
3786
3787 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3788 53 bit (without extend i386 double precision).
3789
3790 * math/libm-test.inc (sincos_test): Add tests for large input.
3791 (sin): Likewise.
3792 (cos): Likewise.
3793
3794 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3795
9cad04ea
AS
37962012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3797
3798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3799
f7062b9a
DM
38002012-03-15 David S. Miller <davem@davemloft.net>
3801
3802 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3803 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3804 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3805 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3818 file.
f7062b9a 3819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3821 file.
f7062b9a 3822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3824 file.
f7062b9a 3825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3827 file.
f7062b9a
DM
3828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3829 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3830 fmin/fmax sysdep routines.
3831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3832
7bd951ff
DM
38332012-03-14 David S. Miller <davem@davemloft.net>
3834
559398ab
DM
3835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3857 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3864 routines.
3865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3866 file.
559398ab 3867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3869 file.
559398ab 3870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3872 file.
559398ab 3873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3875 file.
559398ab 3876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3878 file.
559398ab 3879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3881 file.
3882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3883 file.
3884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3885 file.
3886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3887 file.
3888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3889 New file.
3890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3891 file.
3892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3893 file.
559398ab 3894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3896 file.
559398ab 3897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3899 file.
559398ab 3900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3902 file.
559398ab 3903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3905 VIS3 routines.
559398ab
DM
3906
3907 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3908 New file.
3909
5a1c1e32
DM
3910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3911
eae47a36
DM
3912 * sysdeps/sparc/configure.in: New file.
3913 * sysdeps/sparc/configure: Generate.
3914 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3915 * configure: Regenerate.
3916 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3917 * config.make.in (have-as-vis3): New.
3918 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3919 available use -Av9d instead of -Av9a.
3920 * sysdeps/sparc/sparc64/Makefile: Likewise.
3921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3923 New file.
3924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3925 file.
3926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3927 New file.
3928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3929 file.
eae47a36
DM
3930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3933 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3935
c0c83bc8
DM
3936 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3937 fzeros/fnegs to load 0x80000000 into a float register instead of
3938 using the stack.
7bd951ff
DM
3939 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3940
bd951ccb
JM
39412012-03-14 Joseph Myers <joseph@codesourcery.com>
3942
3943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3944 bits/syscall.h.
3945 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3946 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3947 ($(inst_includedir)/bits/syscall.h): Remove rule.
3948 ($(objpfx)bits/syscall.d): Include instead of
3949 $(objpfx)syscall-list.d.
3950 (generated): Change syscall-list.h and syscall-list.d to
3951 bits/syscall.h and bits/syscall.d.
3952
bb4e6db2
RM
39532012-03-14 Roland McGrath <roland@hack.frob.com>
3954
3955 [BZ #13846]
3956 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3957
aa4a2ae1
JM
39582012-03-14 Joseph Myers <joseph@codesourcery.com>
3959
e456826d
JM
3960 [BZ #13841]
3961 * math/s_csqrt.c: Include <float.h>.
3962 (__csqrt): Scale large or subnormal inputs.
3963 * math/s_csqrtf.c: Likewise.
3964 * math/s_csqrtl.c: Likewise.
3965 * math/libm-test.inc (csqrt_test): Add more tests.
3966 * sysdeps/i386/fpu/libm-test-ulps: Update.
3967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3968
aa4a2ae1
JM
3969 [BZ #13840]
3970 * math/libm-test.inc (hypot_test): Add more tests.
3971
7c10fd35
DM
39722012-03-13 David S. Miller <davem@davemloft.net>
3973
3974 [BZ #13840]
3975 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3976 double-precision for the calculation instead of scaling.
3977
f453b98b
JM
39782012-03-13 Joseph Myers <joseph@codesourcery.com>
3979
3980 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3981 manipulate bits before adding and subtracting TWO52[sx].
3982 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3983 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3984 Likewise.
3985 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3986
09a3453f
DM
39872012-03-13 David S. Miller <davem@davemloft.net>
3988
8e59da90
DM
3989 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3990 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3992 rtld-global-offsets.h
3993 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3994
2a8ab7f2
DM
3995 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3996 large parameters.
3997
10f62770
DM
3998 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3999
5f0bdb18
DM
4000 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4001 'err' in the ifdef scope in which it is actually used.
4002
09a3453f
DM
4003 * nss/nss_db/db-init.c: Include string.h
4004
b4b2eb5e
DM
40052012-03-12 David S. Miller <davem@davemloft.net>
4006
98bb2f1c
DM
4007 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4008 masking out of the most significant byte of random value used.
4009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4010 Fix coding style in previous change.
4011
b4b2eb5e
DM
4012 * sysdeps/unix/sysv/linux/kernel-features.h
4013 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4014 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4015 expression.
4016 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4017 later.
4018
6e226b09
DM
40192012-03-11 David S. Miller <davem@davemloft.net>
4020
a1bcbd40
DM
4021 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4022 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4023 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4024 for 'resultvar' otherwise things get truncated on 64-bit.
4025
cb9d6174
DM
4026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4027 Fix masking out of the most significant byte of random value used.
4028
6e226b09
DM
4029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4030
058c132d
AS
40312012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4032
4033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4034
2d2cd515
DM
40352012-03-09 David S. Miller <davem@davemloft.net>
4036
4037 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4038 variables with appropriate CPP guards.
4039 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4040 frame pointer, not the stack pointer. Correct layout comments. Fix test
4041 on resulting framesize and the management of the outregs buffer for pltexit.
4042 Preserve floating point return values across _dl_call_pltexit call.
4043 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4044 framesize and the management of the outregs buffer for pltexit.
4045 Preserve floating point return values across _dl_call_pltexit
4046 call.
4047 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4048 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4049 (print_exit): Fix format string for return register value.
4050
9a07f9d0
JM
40512012-03-10 Joseph Myers <joseph@codesourcery.com>
4052
4053 * sunrpc/Makefile (others): Add rpcgen.
4054 ($(objpfx)rpcgen): Remove special build rule and dependency on
4055 libc.
4056 * sunrpc/rpcgen.c: New file.
4057
547b5e30
PE
40582012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4059
c524201a
PE
4060 [BZ #13673]
4061 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4062 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4063 * sysdeps/i386/crti.S: Likewise.
4064 * sysdeps/i386/crtn.S: Likewise.
4065 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4066 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4067 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4068 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4069 * sysdeps/sh/crti.S: Likewise.
4070 * sysdeps/sh/crtn.S: Likewise.
4071 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4072
7b6235f2
PE
4073 [BZ #13673]
4074 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4075 with URL.
4076 * locale/programs/locfile-kw.gperf: Likewise.
4077 * locale/programs/charmap-kw.h: Regenerated.
4078 * locale/programs/locfile-kw.h: Likewise.
4079
547b5e30
PE
4080 [BZ #13673]
4081 * intl/plural.y: Replace FSF snail mail address with URL.
4082 * intl/plural.c: Regenerated.
4083
5f0a5dae
RH
40842012-03-09 Richard Henderson <rth@twiddle.net>
4085
4086 * include/math_private.h: Remove file.
4087 * math/math_private.h: Move file ...
4088 * sysdeps/generic/math_private.h: ... here.
4089
b8c03620
RH
4090 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4091 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4092 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4093
4e234f5d 4094 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4095 and <math_private.h>.
4096 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4097 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4098 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4099 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4100 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4101 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4102 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4108 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4110 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4120 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4121 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4126 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4128 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4129 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4130 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4131 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4132 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4133 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4134 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4136 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4137 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4138 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4139 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4140 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4141 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4142 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4143 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4144 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4145 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4146 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4147 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4148 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4149 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4150 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4151 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4152 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4153 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4154 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4155 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4157 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4160 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4161 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4162 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4163 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4173 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4184 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4185 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4186 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4187 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4188 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4189 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4190 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4191 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4192 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4193 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4194 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4195 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4196 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4197 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4198 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4199 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4200 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4201 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4202 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4203 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4204 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4205 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4206 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4207 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4208 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4209 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4210 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4211 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4212 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4213 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4214 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4215 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4216 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4217 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4218 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4219 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4220 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4221 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4222 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4223 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4224 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4225 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4226 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4227 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4228 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4229 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4230 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4231 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4232 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4233 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4234 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4235 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4236 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4237 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4238 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4239 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4240 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4241 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4242 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4243 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4244 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4245 * sysdeps/ieee754/k_standard.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4254 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4255 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4258 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4259 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4296 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4297 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4298 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4307 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4313 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4323 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4345 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4365 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4366 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4368 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4373 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4378 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4394 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4395 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4396 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4406 * sysdeps/ieee754/s_lib_version.c: Likewise.
4407 * sysdeps/ieee754/s_matherr.c: Likewise.
4408 * sysdeps/ieee754/s_signgam.c: Likewise.
4409 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4410 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4411 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4412 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4413 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4414 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4415 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4416 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4417 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4418 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4419 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4420 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4421 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4422 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4423 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4424 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4425 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4426 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4427 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4430
1991fa03
JM
44312012-03-09 Joseph Myers <joseph@codesourcery.com>
4432
4433 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4434 * sunrpc/rpc_main.c: Likewise.
4435 * sunrpc/rpc_svcout.c: Likewise.
4436
60d6f5a6
DM
44372012-03-09 David S. Miller <davem@davemloft.net>
4438
4439 * include/math_private.h: New file.
4440
4962050e
JM
44412012-03-09 Joseph Myers <joseph@codesourcery.com>
4442
02a6f887
JM
4443 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4444 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4445 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4446 from <bits/socket_type.h>.
4447 (enum __socket_type): Don't define here.
4448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4450 bits/socket_type.h.
4451
c6e013c1
JM
4452 [BZ #13566]
4453 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4454 checking __USE_GNU.
4455
4962050e
JM
4456 * Makerules ($(inst_includedir)/%.h): New rule.
4457 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4458 (install-others): Remove variable setting.
4459 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4460
38842f45
RH
44612012-03-08 Richard Henderson <rth@twiddle.net>
4462
67bb6da6
RH
4463 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4464 from macro to inline function; merge with the
4465 !__LIBC_INTERNAL_MATH_INLINES version.
4466 (__ieee754_sqrtf): Likewise.
4467
15194b4b
RH
4468 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4469 to inline function.
4470 (__rintf, __floor, __floorf): Likewise.
4471
64e21ede
RH
4472 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4473 macro to inline function.
4474 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4475
38842f45
RH
4476 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4477 not <math/math_private.h>.
4478
c64bf5fe
DM
44792012-03-08 David S. Miller <davem@davemloft.net>
4480
4481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4482 copyright year.
4483 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4484
82d86f28
TS
44852012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4486
4487 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4488 normalization.
4489 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4490 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4491
aea5d727
UD
44922012-03-08 Ulrich Drepper <drepper@gmail.com>
4493
4494 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4495 be defined individually, they must be defined as a block. Define
4496 S for printing a string instead of hidint the different by using a
4497 macro for adding the 'l'.
4498 * stdio-common/tst-fphex-wide.c: Adjust.
4499
70bca0a3
MP
45002012-03-07 Marek Polacek <polacek@redhat.com>
4501
4502 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4503
65b81130
MP
45042012-03-08 Marek Polacek <polacek@redhat.com>
4505
4506 [BZ #13806]
4507 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4508 * stdio-common/tst-fphex.c: Define a few macros to make the
4509 test reusable. Use them.
4510 * stdio-common/tst-fphex-wide.c: New file.
4511
07037eeb
JM
45122012-03-08 Joseph Myers <joseph@codesourcery.com>
4513
a7a93d50
JM
4514 [BZ #6911]
4515 * manual/macros.texi (gnusystems): New macro.
4516 (nongnusystems): Likewise.
4517 (gnulinuxhurdsystems): Likewise.
4518 (gnuhurdsystems): Likewise..
4519 (gnulinuxsystems): Likewise.
4520 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4521 variants of the GNU system, not "GNU system".
4522 * manual/conf.texi: Likewise.
4523 * manual/errno.texi: Likewise. Update example of errno macro
4524 expansion.
4525 * manual/filesys.texi: Likewise.
4526 (getumask): Document as specific to GNU/Hurd.
4527 * manual/install.texi: Likewise. Reword some references to
4528 GNU/Linux.
4529 * manual/intro.texi: Likewise.
4530 * manual/io.texi: Likewise.
4531 (File Name Portability): Detail which constraints are inapplicable
4532 to all GNU systems and which are only inapplicable to GNU/Hurd.
4533 * manual/job.texi: Likewise.
4534 * manual/llio.texi: Likewise.
4535 (O_NOCTTY): Document as present on GNU/Linux.
4536 * manual/maint.texi: Likewise.
4537 * manual/memory.texi: Likewise.
4538 * manual/pattern.texi: Likewise.
4539 * manual/pipe.texi: Likewise.
4540 * manual/process.texi: Likewise.
4541 * manual/resource.texi: Likewise.
4542 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4543 child on GNU/Hurd.
4544 * manual/setjmp.texi: Likewise.
4545 * manual/signal.texi: Likewise.
4546 * manual/startup.texi: Likewise.
4547 * manual/stdio.texi: Likewise.
4548 * manual/terminal.texi: Likewise.
4549 (ONLCR): Document as POSIX.
4550 (OXTABS): Document availability on GNU/Linux as XTABS.
4551 (ONOEOT): Document availability separately from other bits.
4552 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4553 * manual/time.texi: Likewise.
4554 * manual/users.texi: Likewise.
4555 * INSTALL: Regenerated.
4556 * sysdeps/gnu/errlist.c: Regenerated.
4557
07037eeb
JM
4558 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4559 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4560 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4561 puts.
4562 * configure: Regenerated.
4563
d1d3431a
JM
45642012-03-07 Joseph Myers <joseph@codesourcery.com>
4565
af6a1e37
JM
4566 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4567 default includes instead of AC_HEADER_CHECK.
4568 * sysdeps/i386/configure: Regenerated.
4569
d1d3431a
JM
4570 [BZ #10716]
4571 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4572 * math/s_cacoshf.c (__cacoshf): Likewise.
4573 * math/s_cacoshl.c (__cacoshl): Likewise.
4574 * math/s_casinh.c (__casinh): Set signs of result from argument.
4575 * math/s_casinhf.c (__casinhf): Likewise.
4576 * math/s_casinhl.c (__casinhl): Likewise.
4577 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4578 (casinh_test): Add more tests.
4579 * sysdeps/i386/fpu/libm-test-ulps: Update.
4580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4581
482ff4da
UD
45822012-03-07 Ulrich Drepper <drepper@gmail.com>
4583
872fda05
UD
4584 * po/zh_TW.po: Update from translation team.
4585
a4300c7a
UD
4586 * login/Makefile (distribute): Remove variable.
4587 * catgets/Makefile: Likewise.
4588 * mach/Makefile: Likewise.
4589 * malloc/Makefile: Likewise.
4590 * misc/Makefile: Likewise.
4591 * iconv/Makefile: Likewise.
4592 * nscd/Makefile: Likewise.
4593 * hurd/Makefile: Likewise.
4594 * manual/Makefile: Likewise.
4595 * locale/Makefile: Likewise.
4596 * intl/Makefile: Likewise.
4597 * conform/Makefile: Likewise.
4598 * nss/Makefile: Likewise.
4599 * time/Makefile: Likewise.
4600 * soft-fp/Makefile: Likewise.
4601 * dirent/Makefile: Likewise.
4602 * gmon/Makefile: Likewise.
4603 * po/Makefile: Likewise.
4604 * rt/Makefile: Likewise.
4605 * socket/Makefile: Likewise.
4606 * math/Makefile: Likewise.
4607 * signal/Makefile: Likewise.
4608 * debug/Makefile: Likewise.
4609 * elf/Makefile: Likewise.
4610 * timezone/Makefile: Likewise.
4611 * stdlib/Makefile: Likewise.
4612 * iconvdata/Makefile: Likewise.
4613 * sunrpc/Makefile: Likewise.
4614 * io/Makefile: Likewise.
4615 * argp/Makefile: Likewise.
4616 * inet/Makefile: Likewise.
4617 * hesiod/Makefile: Likewise.
4618 * grp/Makefile: Likewise.
4619 * csu/Makefile: Likewise.
4620 * wctype/Makefile: Likewise.
4621 * crypt/Makefile: Likewise.
4622 * libio/Makefile: Likewise.
4623 * string/Makefile: Likewise.
4624 * nis/Makefile: Likewise.
4625 * resolv/Makefile: Likewise.
4626 * stdio-common/Makefile: Likewise.
4627 * wcsmbs/Makefile: Likewise.
4628 * dlfcn/Makefile: Likewise.
4629 * posix/Makefile: Likewise.
4630
3b7c4e74 4631 [BZ #6959]
482ff4da
UD
4632 * timezone/Makefile: Don't install timezone files, just the programs
4633 and scripts.
4634
f72ed77d
UD
46352012-03-06 Ulrich Drepper <drepper@gmail.com>
4636
a000466f
UD
4637 * nss/databases.def: Add missing gshadow entry.
4638
f72ed77d
UD
4639 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4640
a53b7a4e
MP
46412012-03-06 Marek Polacek <polacek@redhat.com>
4642
4643 [BZ #13726]
4644 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4645 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4646 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4647 * stdio-common/tst-long-dbl-fphex.c: New file.
4648
e9258400
DM
46492012-03-06 David S. Miller <davem@davemloft.net>
4650
4651 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4652 (set_obp_int): New function.
4653 (get_obp_int): New function.
4654 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4655 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4656 Avoid unused variable warnings on 'val' and use builtin_expect.
4657 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4658 __builtin_expect.
e9258400
DM
4659 (INLINE_CLONE_SYSCALL): Likewise.
4660
3bd2c723
DM
46612012-03-05 David S. Miller <davem@davemloft.net>
4662
4663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4664
bbb78d03
AS
46652012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4666
884c5db4
AS
4667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4668
bbb78d03
AS
4669 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4670 only for |x| >= 40.
4671 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4672
1c9f702a 46732012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4674
4675 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4676 Replace gettimeofday with __vdso_gettimeofday.
4677
7be16f82
RM
4678 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4679 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4680 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4681
4682 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4683 time with __vdso_time.
4684
ed58a00f
JM
46852012-03-05 Joseph Myers <joseph@codesourcery.com>
4686
4687 * manual/lang.texi (size_t): Note types to which size_t may be
4688 equivalent with the GNU C Library, but do not describe when
4689 differences between them are significant.
4690
30ee4ced
AJ
46912012-03-05 Andreas Jaeger <aj@suse.de>
4692
4693 * sysdeps/i386/fpu/libm-test-ulps: Update.
4694
b7cd39e8
JM
46952012-03-05 Joseph Myers <joseph@codesourcery.com>
4696
4697 [BZ #3976]
4698 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4699 (__ieee754_pow): Save and restore rounding mode and use
4700 round-to-nearest for main computations.
4701 * math/libm-test.inc (pow_test_tonearest): New function.
4702 (pow_test_towardzero): Likewise.
4703 (pow_test_downward): Likewise.
4704 (pow_test_upward): Likewise.
4705 (main): Call the new functions.
4706 * sysdeps/i386/fpu/libm-test-ulps: Update.
4707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4708
4709 [BZ #3976]
4710 * math/libm-test.inc (cosh_test_tonearest): New function.
4711 (cosh_test_towardzero): Likewise.
4712 (cosh_test_downward): Likewise.
4713 (cosh_test_upward): Likewise.
4714 (sinh_test_tonearest): Likewise.
4715 (sinh_test_towardzero): Likewise.
4716 (sinh_test_downward): Likewise.
4717 (sinh_test_upward): Likewise.
4718 (main): Call the new functions.
4719 * sysdeps/i386/fpu/libm-test-ulps: Update.
4720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4721
6c6a98c9
TV
47222012-03-05 Tom de Vries <tom@codesourcery.com>
4723
4724 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4725 default stack guard is set in last bytes.
4726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4727
21bb2d2e 47282012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4729
21bb2d2e 4730 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4731
21bb2d2e
AJ
4732 [BZ #13656]
4733 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4734 possibly allocate from heap instead of stack.
4735 * stdio-common/bug-vfprintf-nargs.c: New file.
4736 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4737
c6922934
AS
47382012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4739
4740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4741
bc957d53
MP
47422012-03-03 Marek Polacek <polacek@redhat.com>
4743
4744 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4745 * math/math_private.h: Likewise.
4746 * stdlib/tst-strtod.c: Likewise.
4747 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4748 * sysdeps/x86_64/bits/atomic.h: Likewise.
4749
6358490d
DM
47502012-03-02 David S. Miller <davem@davemloft.net>
4751
4752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4756 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4757 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4758 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4759 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4760
01ae168d
RM
47612012-03-02 Roland McGrath <roland@hack.frob.com>
4762
d9a17c07
RM
4763 [BZ #13792]
4764 * manual/examples/README: New file, says the example source files
4765 can be used under GPL>=2.
4766 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4767 line containing just "*/".
4768 * manual/examples/add.c: Add copyright header (GPL>=2).
4769 * manual/examples/argp-ex1.c: Likewise.
4770 * manual/examples/argp-ex2.c: Likewise.
4771 * manual/examples/argp-ex3.c: Likewise.
4772 * manual/examples/argp-ex4.c: Likewise.
4773 * manual/examples/atexit.c: Likewise.
4774 * manual/examples/db.c: Likewise.
4775 * manual/examples/dir.c: Likewise.
4776 * manual/examples/dir2.c: Likewise.
4777 * manual/examples/execinfo.c: Likewise.
4778 * manual/examples/filecli.c: Likewise.
4779 * manual/examples/filesrv.c: Likewise.
4780 * manual/examples/fmtmsgexpl.c: Likewise.
4781 * manual/examples/genpass.c: Likewise.
4782 * manual/examples/inetcli.c: Likewise.
4783 * manual/examples/inetsrv.c: Likewise.
4784 * manual/examples/isockad.c: Likewise.
4785 * manual/examples/longopt.c: Likewise.
4786 * manual/examples/memopen.c: Likewise.
4787 * manual/examples/memstrm.c: Likewise.
4788 * manual/examples/mkfsock.c: Likewise.
4789 * manual/examples/mkisock.c: Likewise.
4790 * manual/examples/mygetpass.c: Likewise.
4791 * manual/examples/pipe.c: Likewise.
4792 * manual/examples/popen.c: Likewise.
4793 * manual/examples/rprintf.c: Likewise.
4794 * manual/examples/search.c: Likewise.
4795 * manual/examples/select.c: Likewise.
4796 * manual/examples/setjmp.c: Likewise.
4797 * manual/examples/sigh1.c: Likewise.
4798 * manual/examples/sigusr.c: Likewise.
4799 * manual/examples/stpcpy.c: Likewise.
4800 * manual/examples/strdupa.c: Likewise.
4801 * manual/examples/strftim.c: Likewise.
4802 * manual/examples/strncat.c: Likewise.
4803 * manual/examples/subopt.c: Likewise.
4804 * manual/examples/swapcontext.c: Likewise.
4805 * manual/examples/termios.c: Likewise.
4806 * manual/examples/testopt.c: Likewise.
4807 * manual/examples/testpass.c: Likewise.
4808 * manual/examples/timeval_subtract.c: Likewise.
4809
01ae168d
RM
4810 [BZ #13792]
4811 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4812 function to ...
4813 * manual/timeval_subtract.c.texi: ... here, new file.
4814
49efa33d
DM
48152012-03-02 David S. Miller <davem@davemloft.net>
4816
4817 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4818
28afd92d
JM
48192012-03-02 Joseph Myers <joseph@codesourcery.com>
4820
804360ed
JM
4821 [BZ #3976]
4822 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4823 (__sin): Save and restore rounding mode and use round-to-nearest
4824 for all computations.
4825 (__cos): Save and restore rounding mode and use round-to-nearest
4826 for all computations.
4827 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4828 <fenv.h>.
4829 (tan): Save and restore rounding mode and use round-to-nearest for
4830 all computations.
4831 * math/libm-test.inc (cos_test_tonearest): New function.
4832 (cos_test_towardzero): Likewise.
4833 (cos_test_downward): Likewise.
4834 (cos_test_upward): Likewise.
4835 (sin_test_tonearest): Likewise.
4836 (sin_test_towardzero): Likewise.
4837 (sin_test_downward): Likewise.
4838 (sin_test_upward): Likewise.
4839 (tan_test_tonearest): Likewise.
4840 (tan_test_towardzero): Likewise.
4841 (tan_test_downward): Likewise.
4842 (tan_test_upward): Likewise.
4843 (main): Call the new functions.
4844 * sysdeps/i386/fpu/libm-test-ulps: Update.
4845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4846
a6d06d7b
JM
4847 [BZ #10135]
4848 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4849 small n, then large n, before computing and testing k+n.
4850 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4852 Likewise.
4853 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4854 Likewise.
4855 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4856 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4857 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4858 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4859 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4860 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4862 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4863 * math/libm-test.inc (scalbn_test): Add more tests.
4864 (scalbln_test): Likewise.
4865
07e12bb3
JM
4866 * manual/filesys.texi (mode_t): Describe constraints on size and
4867 signedness, not exact equivalence to a particular type.
4868 (ino_t): Likewise.
4869 (ino64_t): Likewise.
4870 (dev_t): Likewise.
4871 (nlink_t): Likewise.
4872 (blkcnt_t): Likewise.
4873 (blkcnt64_t): Likewise.
4874 * manual/llio.texi (off_t): Likewise.
4875
28afd92d
JM
4876 [BZ #3976]
4877 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4878 (__ieee754_exp): Save and restore rounding mode and use
4879 round-to-nearest for all computations.
4880 * math/libm-test.inc (exp_test_tonearest): New function.
4881 (exp_test_towardzero): Likewise.
4882 (exp_test_downward): Likewise.
4883 (exp_test_upward): Likewise.
4884 (main): Call the new functions.
4885 * sysdeps/i386/fpu/libm-test-ulps: Update.
4886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4887
b1eeb65d
CD
48882012-03-01 Chris Demetriou <cgd@google.com>
4889
4890 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4891 have predictable order.
4892
53362a4b
DM
48932012-03-01 David S. Miller <davem@davemloft.net>
4894
3c969083
DM
4895 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4896
759707de
DM
4897 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4898 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4899 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4900 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4901
dfdb8ff2
DM
4902 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4903 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4904 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4906 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4907 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4908 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4909 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4910 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4911
ead89f96
DM
4912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4913
7f66bd07
DM
4914 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4915 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4916 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4917
53362a4b
DM
4918 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4919 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4920 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4921 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4922 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4923 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4924 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4925 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4926 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4927 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4928 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4929 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4930 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4931 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4932 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4934 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4935 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4936 * sysdeps/sparc/elf/configure: Regenerated.
4937
7b1902cb
JM
49382012-03-01 Joseph Myers <joseph@codesourcery.com>
4939
bec039bc
JM
4940 * configure.in (AS, LD): Require binutils 2.20 or later.
4941 * configure: Regenerated.
4942 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4943 as required minimum version.
4944 * INSTALL: Regenerated.
4945
7b1902cb
JM
4946 [BZ #2541]
4947 [BZ #4108]
4948 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4949 before squaring exponent.
4950 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4951 bottom long double and 27 bits of top long double before squaring
4952 exponent.
4953 * math/libm-test.inc (erfc_test): Add more tests.
4954 * sysdeps/i386/fpu/libm-test-ulps: Update.
4955 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4957
f775c276
KT
49582012-03-01 Kai Tietz <ktietz@redhat.com>
4959
4960 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4961 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4962 containing bit-fields.
4963 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4964 * soft-fp/single.h (_FP_UNION_S): Likewise.
4965 * soft-fp/double.h (_FP_UNION_D): Likewise.
4966
5b8a4d4a
JM
49672012-02-29 Joseph Myers <joseph@codesourcery.com>
4968
0bab47b6
JM
4969 [BZ #13786]
4970 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4971 not include ../strcmp.S.
4972 [USE_AS_STRNCASECMP_L]: Likewise.
4973 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4974 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4975 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4976 (__strncasecmp_l_ia32): Define as alias to
4977 __strncasecmp_l_nonascii.
4978
0fcad3e2
JM
4979 [BZ #5794]
4980 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4981 * sysdeps/i386/fpu/libm-test-ulps: Update.
4982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4983
5b8a4d4a
JM
4984 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4986
8fdceb2e
JL
49872012-02-29 Jeff Law <law@redhat.com>
4988
4989 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4990 out of bounds read.
4991
1f393a11
MP
49922012-02-29 Marek Polacek <polacek@redhat.com>
4993
4994 [BZ #13706]
4995 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4996 * elf/Makefile: Add rules to run tst-unused-dep.out.
4997
8847f037
DM
49982012-02-28 David S. Miller <davem@davemloft.net>
4999
5000 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5001 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5002 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5003 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5004 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5005 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5006
169d7f11
JM
50072012-02-29 Joseph Myers <joseph@codesourcery.com>
5008
5009 * math/libm-test.inc (llround_test): Move one test from
5010 lround_test. Use TEST_f_L in moved test.
5011 (lround_test): Move misplaced test to llround_test. Add testcase
5012 from bug 2561.
5013
39adf059
UD
50142012-02-28 Ulrich Drepper <drepper@gmail.com>
5015
5016 * sysdeps/x86_64/fpu/e_expf.S: New file.
5017 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5018
71b5d1c5
SB
50192012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5020
5021 [BZ #13637]
5022 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5023 of remain_len that may cause incomplete multi-byte character and
5024 false match.
5025 * posix/bug-regex33.c: New file.
5026 * posix/Makefile (tests): Add bug-regex33.
5027
1f77f049
JM
50282012-02-28 Joseph Myers <joseph@codesourcery.com>
5029
5030 * manual/macros.texi: New file.
5031 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5032 * manual/libc.texinfo: Include macros.texi.
5033 * manual/creatute.texi: Likewise.
5034 * manual/install.texi: Likewise.
5035 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5036 @glibcadj{} in references to the GNU C Library.
5037 * manual/charset.texi: Likewise.
5038 * manual/conf.texi: Likewise.
5039 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5040 when not using those macros.
5041 * manual/creature.texi: Likewise.
5042 * manual/crypt.texi: Likewise.
5043 * manual/errno.texi: Likewise.
5044 * manual/filesys.texi: Likewise.
5045 * manual/header.texi: Likewise.
5046 * manual/install.texi: Likewise.
5047 * manual/intro.texi: Likewise.
5048 * manual/io.texi: Likewise.
5049 * manual/job.texi: Likewise.
5050 * manual/lang.texi: Likewise.
5051 * manual/libc.texiinfo: Likewise.
5052 * manual/llio.texi: Likewise.
5053 * manual/locale.texi: Likewise.
5054 * manual/maint.texi: Likewise.
5055 * manual/math.texi: Likewise.
5056 * manual/memory.texi: Likewise.
5057 * manual/message.texi: Likewise.
5058 * manual/nss.texi: Likewise.
5059 * manual/pattern.texi: Likewise.
5060 * manual/process.texi: Likewise.
5061 * manual/resource.texi: Likewise.
5062 * manual/search.texi: Likewise.
5063 * manual/setjmp.texi: Likewise.
5064 * manual/signal.texi: Likewise.
5065 * manual/socket.texi: Likewise.
5066 * manual/startup.texi: Likewise.
5067 * manual/stdio.texi: Likewise.
5068 * manual/string.texi: Likewise.
5069 * manual/sysinfo.texi: Likewise.
5070 * manual/syslog.texi: Likewise.
5071 * manual/terminal.texi: Likewise.
5072 * manual/time.texi: Likewise.
5073 * manual/users.texi: Likewise.
5074 * INSTALL: Regenerated.
5075 * NOTES: Regenerated.
d40c5d54 5076 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5077
450bf206
AS
50782012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5079
5080 * include/dirent.h: Include <dirstream.h> before
5081 <dirent/dirent.h>.
5082
741a235b
DM
50832012-02-28 David S. Miller <davem@davemloft.net>
5084
5085 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5086 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5087 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5088 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5089
d6b5aa58
DM
50902012-02-27 David S. Miller <davem@davemloft.net>
5091
1aff59a3
DM
5092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5094 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5095 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5096
d6b5aa58
DM
5097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5098 frame pointer instead of stack pointer relative arg slot.
5099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5100 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5101 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5102
433f48bf
CD
51032012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5104
5105 [BZ #3992]
5106 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5107
d674b76d
DM
51082012-02-27 David S. Miller <davem@davemloft.net>
5109
5110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5114 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5115 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5116 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5117 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5118
0e7727f7
JM
51192012-02-27 Joseph Myers <joseph@codesourcery.com>
5120
5121 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5122 later. Allow versions 5-9.
43be4ca2 5123 * configure: Regenerated.
0e7727f7
JM
5124 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5125 required minimum version and 4.6 as recommended version. Do not
5126 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5127 * INSTALL: Regenerated.
0e7727f7 5128
a78bc654
DM
51292012-02-27 David S. Miller <davem@davemloft.net>
5130
428d5830
DM
5131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5135 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5136 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5137 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5138 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5139
a78bc654
DM
5140 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5141 manipulate bits before adding and subtracting TWO112[sx].
5142 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5143
4579f81c
RM
51442012-02-27 Roland McGrath <roland@hack.frob.com>
5145
36c8acb4
RM
5146 [BZ #13775]
5147 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5148 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5149 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5150 being in POSIX, because they are in 1003.1-2008.
5151
84ad622b
RM
5152 * rt/tst-aio.c: Include <fcntl.h>.
5153 * rt/tst-aio7.c: Likewise.
5154 * rt/tst-aio64.c: Likewise.
5155
4579f81c
RM
5156 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5157
abd923db
JM
51582012-02-27 Joseph Myers <joseph@codesourcery.com>
5159
5160 * manual/install.texi (--with-headers): Describe headers as
5161 interface headers, not private headers.
5162 (Specific advice for GNU/Linux systems): Describe use of headers
5163 from "make headers_install", not private headers from older
5164 kernels.
43be4ca2 5165 * INSTALL: Regenerated.
abd923db
JM
5166 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5167 Change to 2.6.19.
5168 * sysdeps/unix/sysv/linux/configure: Regenerated.
5169
6664049b
JM
5170 * manual/llio.texi (fclean): Remove documentation.
5171
bb8b6697
JM
5172 * manual/Makefile (libc-texi-generated): New variable. Include
5173 version.texi.
5174 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5175 $(libc-texi-generated), not duplicated list of files.
5176 (version.texi, stamp-version): New rules.
5177 (realclean): Remove $(libc-texi-generated), not individual files
5178 from that list. Do not remove dir-add.texinfo.
5179 * manual/libc.texinfo: Comment out uses of edition numbers and
5180 references to printed manual. Remove last-updated dates.
5181 (EDITION): Comment out.
5182 (ISBN): Likewise.
5183 (VERSION, UPDATED): Remove.
5184 (version.texi): Include.
5185
12e5c3b9
AS
51862012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5187
5188 * sysdeps/posix/spawni.c: Include <signal.h>.
5189 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5190 * sysdeps/pthread/aio_fsync.c: Likewise.
5191
4efeffc1 51922012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5193
ba63ba08
UD
5194 * conform/Makefile (tests): Run only when not cross-compiling and
5195 when fast-check is not defined.
5196
d94a4670
UD
5197 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5198 * conform/data/limits.h-data: Fixes for POSIX2008.
5199 * conform/run-conformtest.sh: Run all tests.
5200 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5201 headers.
5202 * include/bits/dlfcn.h: Likewise.
5203 * include/langinfo.h: Likewise.
5204 * include/monetary.h: Likewise.
5205 * include/sys/poll.h: Likewise.
5206
5207 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5208 for __USE_GNU.
5209 * posix/spawn.h: Define __need_sigset_t.
5210 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5211 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5212 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5213 to get sigevent_t only.
5214 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5215 only for __USE_GNU.
5216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5217 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5218 process_vm_writev only for __USE_GNU.
5219 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5220
5221 * conform/Makefile: For now ignore errors from run-conformtest.
5222 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5223 POSIX to avoid namespace pollution. Don't prepend headers.
5224 * conform/data/aio.h-data: Fixes for POSIX testing.
5225 * conform/data/fcntl.h-data: Likewise.
5226 * conform/data/glob.h-data: Likewise.
5227 * conform/data/grp.h-data: Likewise.
5228 * conform/data/pthread.h-data: Likewise.
5229 * conform/data/pwd.h-data: Likewise.
5230 * conform/data/signal.h-data: Likewise.
5231 * conform/data/spawn.h-data: Likewise.
5232 * conform/data/stdio.h-data: Likewise.
5233 * conform/data/stdlib.h-data: Likewise.
5234 * conform/data/stropts.h-data: Likewise.
5235 * conform/data/sys/mman.h-data: Likewise.
5236 * conform/data/sys/stat.h-data: Likewise.
5237 * conform/data/sys/types.h-data: Likewise.
5238 * conform/data/sys/wait.h-data: Likewise.
5239 * conform/data/time.h-data: Likewise.
5240 * conform/data/unistd.h-data: Likewise.
5241 * conform/data/utime.h-data: Likewise.
5242
5243 * io/sys/stat.h: fchmod was always in POSIX.
5244 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5245 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5246 * rt/aio.h: Define __need_timespec before including <time.h>.
5247 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5248 struct. Add forward declaration of pthread_attr_t and use it in
5249 sigevent.
5250 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5251 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5252 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5253 always remove CLK_TCK definition.
5254
c20105c3
AS
52552012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5256
5257 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5258
7a270350
UD
52592012-02-25 Ulrich Drepper <drepper@gmail.com>
5260
31341567
UD
5261 * conform/run-conformtest.sh: New file.
5262 * conform/Makefile: Run run-conformtest for tests.
5263 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5264 support.
5265
5266 * conform/data/uchar.h-data: New file.
5267 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5268 * conform/data/arpa/inet.h-data: Likewise.
5269 * conform/data/assert.h-data: Likewise.
5270 * conform/data/complex.h-data: Likewise.
5271 * conform/data/cpio.h-data: Likewise.
5272 * conform/data/ctype.h-data: Likewise.
5273 * conform/data/dirent.h-data: Likewise.
5274 * conform/data/dlfcn.h-data: Likewise.
5275 * conform/data/errno.h-data: Likewise.
5276 * conform/data/fcntl.h-data: Likewise.
5277 * conform/data/float.h-data: Likewise.
5278 * conform/data/fmtmsg.h-data: Likewise.
5279 * conform/data/fnmatch.h-data: Likewise.
5280 * conform/data/ftw.h-data: Likewise.
5281 * conform/data/glob.h-data: Likewise.
5282 * conform/data/grp.h-data: Likewise.
5283 * conform/data/iconv.h-data: Likewise.
5284 * conform/data/inttypes.h-data: Likewise.
5285 * conform/data/langinfo.h-data: Likewise.
5286 * conform/data/libgen.h-data: Likewise.
5287 * conform/data/limits.h-data: Likewise.
5288 * conform/data/locale.h-data: Likewise.
5289 * conform/data/math.h-data: Likewise.
5290 * conform/data/monetary.h-data: Likewise.
5291 * conform/data/mqueue.h-data: Likewise.
5292 * conform/data/ndbm.h-data: Likewise.
5293 * conform/data/net/if.h-data: Likewise.
5294 * conform/data/netdb.h-data: Likewise.
5295 * conform/data/netinet/in.h-data: Likewise.
5296 * conform/data/nl_types.h-data: Likewise.
5297 * conform/data/poll.h-data: Likewise.
5298 * conform/data/pthread.h-data: Likewise.
5299 * conform/data/pwd.h-data: Likewise.
5300 * conform/data/regex.h-data: Likewise.
5301 * conform/data/sched.h-data: Likewise.
5302 * conform/data/search.h-data: Likewise.
5303 * conform/data/semaphore.h-data: Likewise.
5304 * conform/data/setjmp.h-data: Likewise.
5305 * conform/data/signal.h-data: Likewise.
5306 * conform/data/spawn.h-data: Likewise.
5307 * conform/data/stdarg.h-data: Likewise.
5308 * conform/data/stdio.h-data: Likewise.
5309 * conform/data/stdlib.h-data: Likewise.
5310 * conform/data/string.h-data: Likewise.
5311 * conform/data/strings.h-data: Likewise.
5312 * conform/data/stropts.h-data: Likewise.
5313 * conform/data/sys/ipc.h-data: Likewise.
5314 * conform/data/sys/mman.h-data: Likewise.
5315 * conform/data/sys/msg.h-data: Likewise.
5316 * conform/data/sys/resource.h-data: Likewise.
5317 * conform/data/sys/select.h-data: Likewise.
5318 * conform/data/sys/sem.h-data: Likewise.
5319 * conform/data/sys/shm.h-data: Likewise.
5320 * conform/data/sys/socket.h-data: Likewise.
5321 * conform/data/sys/stat.h-data: Likewise.
5322 * conform/data/sys/statvfs.h-data: Likewise.
5323 * conform/data/sys/time.h-data: Likewise.
5324 * conform/data/sys/timeb.h-data: Likewise.
5325 * conform/data/sys/times.h-data: Likewise.
5326 * conform/data/sys/types.h-data: Likewise.
5327 * conform/data/sys/uio.h-data: Likewise.
5328 * conform/data/sys/un.h-data: Likewise.
5329 * conform/data/sys/utsname.h-data: Likewise.
5330 * conform/data/sys/wait.h-data: Likewise.
5331 * conform/data/syslog.h-data: Likewise.
5332 * conform/data/tar.h-data: Likewise.
5333 * conform/data/termios.h-data: Likewise.
5334 * conform/data/utime.h-data: Likewise.
5335 * conform/data/utmpx.h-data: Likewise.
5336 * conform/data/varargs.h-data: Likewise.
5337 * conform/data/wchar.h-data: Likewise.
5338 * conform/data/wctype.h-data: Likewise.
5339 * conform/data/wordexp.h-data: Likewise.
5340
5341 * include/stropts.h: New file.
5342 * include/uchar.h: New file.
5343 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5344 * include/assert.h: Likewise.
5345 * include/ctype.h: Likewise.
5346 * include/dirent.h: Likewise.
5347 * include/dlfcn.h: Likewise.
5348 * include/fcntl.h: Likewise.
5349 * include/fnmatch.h: Likewise.
5350 * include/glob.h: Likewise.
5351 * include/grp.h: Likewise.
5352 * include/libio.h: Likewise.
5353 * include/locale.h: Likewise.
5354 * include/math.h: Likewise.
5355 * include/net/if.h: Likewise.
5356 * include/netdb.h: Likewise.
5357 * include/netinet/in.h: Likewise.
5358 * include/pthread.h: Likewise.
5359 * include/pwd.h: Likewise.
5360 * include/regex.h: Likewise.
5361 * include/sched.h: Likewise.
5362 * include/search.h: Likewise.
5363 * include/setjmp.h: Likewise.
5364 * include/signal.h: Likewise.
5365 * include/stdio.h: Likewise.
5366 * include/stdlib.h: Likewise.
5367 * include/string.h: Likewise.
5368 * include/sys/cdefs.h: Likewise.
5369 * include/sys/mman.h: Likewise.
5370 * include/sys/msg.h: Likewise.
5371 * include/sys/resource.h: Likewise.
5372 * include/sys/select.h: Likewise.
5373 * include/sys/socket.h: Likewise.
5374 * include/sys/stat.h: Likewise.
5375 * include/sys/statvfs.h: Likewise.
5376 * include/sys/time.h: Likewise.
5377 * include/sys/times.h: Likewise.
5378 * include/sys/uio.h: Likewise.
5379 * include/sys/utsname.h: Likewise.
5380 * include/sys/wait.h: Likewise.
5381 * include/termios.h: Likewise.
5382 * include/time.h: Likewise.
5383 * include/ulimit.h: Likewise.
5384 * include/unistd.h: Likewise.
5385 * include/utime.h: Likewise.
5386 * include/wchar.h: Likewise.
5387 * include/wctype.h: Likewise.
5388 * include/wordexp.h: Likewise.
5389
5390 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5391
7a270350
UD
5392 * time/time.h: TIME_UTC must be a macro.
5393 Make timespec_get available for ISO C11 only as well.
5394
7724defc
UD
53952012-02-24 Ulrich Drepper <drepper@gmail.com>
5396
5397 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5398 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5399
6b1d1d46
JM
54002012-02-24 Joseph Myers <joseph@codesourcery.com>
5401
5402 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5403
0f8bbd69
JM
54042012-02-24 Joseph Myers <joseph@codesourcery.com>
5405
5406 * manual/texinfo.tex: Update to version 2012-01-19.16.
5407
66ab80bc
JM
54082012-02-24 Joseph Myers <joseph@codesourcery.com>
5409
5410 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5411
74981cc5
RM
54122012-02-24 Roland McGrath <roland@hack.frob.com>
5413
ee968201
RM
5414 [BZ #13738]
5415 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5416 * manual/fdl-1.3.texi: New file.
5417 * manual/fdl-1.1.texi: File removed.
5418
74981cc5
RM
5419 [BZ #13738]
5420 * manual/libc.texinfo (FDL_VERSION): New @set.
5421 Use it for mention of FDL in cover text.
5422 (Documentation License): Use it in @include file name.
5423
7bb764bc
JM
54242012-02-22 Joseph Myers <joseph@codesourcery.com>
5425 Roland McGrath <roland@hack.frob.com>
5426
5427 [BZ #5461]
5428 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5429 not LONG_LONG_MAX and LONG_LONG_MIN.
5430 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5431 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5432 name.
5433 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5434
6cbeae47
JM
54352012-02-22 Joseph Myers <joseph@codesourcery.com>
5436
5437 [BZ #2547]
5438 [BZ #11365]
5439 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5440 manipulate bits before adding and subtracting TWO23[sx].
5441 * math/libm-test.inc (nearbyint_test): Add more tests.
5442
fe45ce09
JM
54432012-02-22 Joseph Myers <joseph@codesourcery.com>
5444
5445 [BZ #2548]
5446 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5447 bits before adding and subtracting TWO23[sx].
5448 * math/libm-test.inc (rint_test): Add more tests.
5449 (rint_test_tonearest): Likewise.
5450 (rint_test_towardzero): Likewise.
5451 (rint_test_downward): Likewise.
5452 (rint_test_upward: Likewise.
5453
ff3b3d82
JM
54542012-02-22 Joseph Myers <joseph@codesourcery.com>
5455
5456 [BZ #10110]
5457 * include/stdc-predef.h: New file. Extracted from features.h.
5458 * include/features.h: Include stdc-predef.h.
5459 * Makefile (headers): Add stdc-predef.h.
5460 * CONFORMANCE (Compiler limitations): Update.
5461
ef0aab35
JM
54622012-02-22 Joseph Myers <joseph@codesourcery.com>
5463
5464 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5465
58639409
DM
54662012-02-21 David S. Miller <davem@davemloft.net>
5467
5468 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5469 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5470
c0e70b25
DM
54712012-02-20 David S. Miller <davem@davemloft.net>
5472
5473 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5474 using a normal save/restore sequence, rather than allocating a
5475 dummy stack frame just to store a frame pointer and restore.
5476 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5477
fb06851d
JM
54782012-02-21 Joseph Myers <joseph@codesourcery.com>
5479
5480 * manual/install.texi: Fix stray word in line-wrapped comment.
5481
7a8b71c3
DM
54822012-02-20 David S. Miller <davem@davemloft.net>
5483
d510c123
DM
5484 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5485 both binutils and gcc support GOTDATA.
5486
0722d7c2
DM
5487 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5488 "rd %pc" in the PIC register setup sequences.
5489
3d2b3019
DM
5490 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5491 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5492 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5493 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5494 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5495 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5497 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5499 (SYSCALL_ERROR_HANDLER): Likewise.
5500 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5501 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5503 (SYSCALL_ERROR_HANDLER): Likewise.
5504
c80098a9
DM
5505 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5506 (HAVE_GCC_GOTDATA): New.
5507 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5508 relocation support in both binutils and gcc.
5509 * sysdeps/sparc/elf/configure: Regenerate.
5510
3a2545a0
DM
5511 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5512 * sysdeps/sparc/sparc32/elf/configure: Delete.
5513 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5514 * sysdeps/sparc/sparc64/elf/configure: Delete.
5515 * sysdeps/sparc/elf/configure.in: New file.
5516 * sysdeps/sparc/elf/configure: Generate.
5517
7a8b71c3
DM
5518 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5519 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5520 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5521 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5522 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5523
f1e86fca
JM
55242012-02-21 Joseph Myers <joseph@codesourcery.com>
5525
5526 * manual/install.texi: Do not mention specific glibc version
5527 numbers.
5528 * manual/libc.texinfo (VERSION, UPDATED): Update.
5529 (@copying): Use @copyright{} and range of years.
5530
0e7dfaef
JM
55312012-02-21 Joseph Myers <joseph@codesourcery.com>
5532
5533 [BZ #13695]
5534 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5535 [crti.S not in sysdirs] (generated): Do not append.
5536 [crti.S not in sysdirs] (omit-deps): Likewise.
5537 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5538 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5539 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5540 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5541 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5542 Likewise.
5543 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5544 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5545 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5546 * csu/defs.awk: Remove file.
5547 * sysdeps/generic/initfini.c: Likewise.
5548 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5549 variable.
5550 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5551 Likewise.
5552
599af3ca
JM
55532012-02-20 Joseph Myers <joseph@codesourcery.com>
5554
5555 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5556 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5557 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5559 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5560 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5561 <bits/epoll.h>.
5562 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5563 (__EPOLL_PACKED): Define to empty if not defined by
5564 <bits/epoll.h>.
5565 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5567 bits/epoll.h.
5568
0e499750
JM
55692012-02-20 Joseph Myers <joseph@codesourcery.com>
5570
5571 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5572 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5573 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5574 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5575 <bits/timerfd.h>.
5576 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5578 bits/timerfd.h.
5579
5ad91f6e
JM
55802012-02-20 Joseph Myers <joseph@codesourcery.com>
5581
5582 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5583 in C locale.
5584 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5585 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5586 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5588
06b99b02
AJ
55892012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5590
5591 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5592 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5593
7638c0fd
AS
55942012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5595
5596 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5597 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5598 defined.
5599 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5600 Likewise.
5601 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5602 entry for 2.16.
5603
92221550
AJ
56042012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5605
5606 * math/w_acos.c: Use non-signaling floating-point comparisons.
5607 * math/w_acosf.c: Likewise.
5608 * math/w_acosh.c: Likewise.
5609 * math/w_acoshf.c: Likewise.
5610 * math/w_acoshl.c: Likewise.
5611 * math/w_acosl.c: Likewise.
5612 * math/w_asin.c: Likewise.
5613 * math/w_asinf.c: Likewise.
5614 * math/w_asinl.c: Likewise.
5615 * math/w_atanh.c: Likewise.
5616 * math/w_atanhf.c: Likewise.
5617 * math/w_atanhl.c: Likewise.
5618 * math/w_exp2.c: Likewise.
5619 * math/w_exp2f.c: Likewise.
5620 * math/w_exp2l.c: Likewise.
5621 * math/w_j0.c: Likewise.
5622 * math/w_j0f.c: Likewise.
5623 * math/w_j0l.c: Likewise.
5624 * math/w_j1.c: Likewise.
5625 * math/w_j1f.c: Likewise.
5626 * math/w_j1l.c: Likewise.
5627 * math/w_jn.c: Likewise.
5628 * math/w_jnf.c: Likewise.
5629 * math/w_log.c: Likewise.
5630 * math/w_log10.c: Likewise.
5631 * math/w_log10f.c: Likewise.
5632 * math/w_log10l.c: Likewise.
5633 * math/w_log2.c: Likewise.
5634 * math/w_log2f.c: Likewise.
5635 * math/w_log2l.c: Likewise.
5636 * math/w_logf.c: Likewise.
5637 * math/w_logl.c: Likewise.
5638 * math/w_sqrt.c: Likewise.
5639 * math/w_sqrtf.c: Likewise.
5640 * math/w_sqrtl.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5642 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5643 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5644 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5645 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5646
ebaf36eb
JM
56472012-02-19 Joseph Myers <joseph@codesourcery.com>
5648
5649 [BZ #9739]
5650 * manual/string.texi (strnlen): Use correct parameter name in
5651 equivalent expression.
5652
71c254a6
JM
56532012-02-19 Joseph Myers <joseph@codesourcery.com>
5654
5655 [BZ #11174]
5656 * manual/users.texi (seteuid): Consistently use neweuid for
5657 argument name.
5658
16d2c631
JM
56592012-02-19 Joseph Myers <joseph@codesourcery.com>
5660
5661 [BZ #13704]
5662 * manual/nss.texi (Services in the NSS configuration): Correct
5663 list of services in example configuration file.
5664
cd837b09
NB
56652012-02-19 Nick Bowler <nbowler@draconx.ca>
5666
5667 [BZ #11322]
5668 * manual/arith.texi: Remove statements about negative zero
5669 behaving identically to zero.
5670
02c4bbad
JM
56712012-02-18 Joseph Myers <joseph@codesourcery.com>
5672
5673 [BZ #5993]
5674 * manual/install.texi: Do not document upgrading from libc5.
5675
366842e7
JM
56762012-02-18 Joseph Myers <joseph@codesourcery.com>
5677
5678 [BZ #4596]
5679 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5680
dd54084d
DM
56812012-02-18 David S. Miller <davem@davemloft.net>
5682
5683 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5684 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5685 %o7 across the call.
5686 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5687 instead.
5688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5689 SETUP_PIC_REG_LEAF.
5690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5691 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5692 * sysdeps/sparc/crtn.S: Likewise.
5693
2bcc53a3
UD
56942012-02-17 Ulrich Drepper <drepper@gmail.com>
5695
5696 * aout/Makefile: Remove.
5697
09c093b5
RK
56982012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5699
5700 [BZ #13058]
5701 * manual/examples/argp-ex1.c (main): Format definition in GNU
5702 style.
5703 * manual/examples/argp-ex2.c (main): Likewise.
5704 * manual/examples/argp-ex3.c (main): Likewise.
5705 * manual/examples/argp-ex4.c (main): Likewise.
5706 * manual/examples/longopt.c (main): Use new-style prototype
5707 definition.
5708 * manual/examples/strncat.c (main): Specify return type and use
5709 (void) for arguments.
5710 * manual/examples/subopt.c (main): Use char **argv argument.
5711
2ee633a2
JM
57122012-02-17 Joseph Myers <joseph@codesourcery.com>
5713
5714 [BZ #5077]
5715 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5716 rounding modes.
5717
0520adde
FB
57182012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5719
5720 [BZ #6907]
5721 * manual/string.texi (strchr): Change when strchrnul is
5722 recommended.
5723
3f4081cd
DGM
57242012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5725
5726 [BZ #174]
5727 * manual/locale.texi (setlocale): Document LOCPATH.
5728
d1b10e78
JM
57292012-02-17 Joseph Myers <joseph@codesourcery.com>
5730
5731 [BZ #10210]
5732 * manual/process.texi (execle): Move @dots{} before last argument.
5733
79c6869c
PB
57342012-02-17 Paul Bolle <pebolle@tiscali.nl>
5735
5736 [BZ #12047]
5737 * manual/charset.texi (Generic Charset Conversion): Fix typo
5738 (LC_TYPE -> LC_CTYPE).
5739
cc6e48bc
NB
57402012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5741
5742 [BZ #5805]
5743 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5744 (scalbnf): Likewise.
5745 (scalbnl): Likewise.
5746 (scalbln): Likewise.
5747 (scalblnf): Likewise.
5748 (scalblnl): Likewise.
5749 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5750 (vwarnx): Likewise.
5751 (verr): Likewise.
5752 (verrx): Likewise.
5753 * manual/filesys.texi (telldir): Use braces around return type.
5754 * manual/llio.texi (mmap): Add space after comma.
5755 (mmap64): Likewise.
5756 * manual/math.texi (jn): Use @var{} on parameter names.
5757 (jnf): Likewise.
5758 (jnl): Likewise.
5759 (yn): Likewise.
5760 (ynf): Likewise.
5761 (ynl): Likewise.
5762 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5763 line.
5764 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5765 "...".
5766 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5767 (sched_get_priority_max): Likewise.
5768 * manual/signal.texi (sigvec): Add space after comma.
5769 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5770 names.
5771 (if_indextoname): Likewise.
5772 (if_freenameindex): Likewise.
5773 (sendto): Use ',' instead of '.' in prototype.
5774 * manual/startup.texi (syscall): Use @dots{} instead of literal
5775 "...".
5776 * manual/stdio.texi (__fpending): Separate initial words of
5777 paragraph from @deftypefun line.
5778 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5779 "...".
5780 (vsyslog): Use @var{} on parameter names.
5781 * manual/terminal.texi (stty): Use @var{} on parameter names.
5782 * manual/users.texi (getutmp): Use @var{} on parameter names.
5783 (getutmpx): Likewise.
5784
5b23062f
JM
57852012-02-17 Joseph Myers <joseph@codesourcery.com>
5786
5787 [BZ #6884]
5788 * manual/stdio.texi (fopen): Fix typos in description of
5789 ",ccs=STRING".
5790
8dee4833
AJ
57912012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5792
5793 [BZ #4026]
5794 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5795 get clock_id definition.
5796
9078ce93
TS
57972012-02-17 Thomas Schwinge <thomas@schwinge.name>
5798
5799 [BZ #4822]
5800 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5801 (madvise): Cast every argument to void on its own.
5802
3835c55f
JM
58032012-02-17 Joseph Myers <joseph@codesourcery.com>
5804
5805 [BZ #9902]
5806 * manual/startup.texi (Exit Status): Fix typo.
5807
35c47e37
JM
58082012-02-17 Joseph Myers <joseph@codesourcery.com>
5809
5810 [BZ #10140]
5811 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5812 * manual/examples/argp-ex2.c: Likewise.
5813 * manual/examples/argp-ex3.c: Likewise.
5814
e3b69ca7
RH
58152012-02-16 Richard Henderson <rth@redhat.com>
5816
5817 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5818 * sysdeps/s390/s390-32/initfini.c: Remove.
5819 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5820 * sysdeps/s390/s390-64/initfini.c: Remove.
5821
df83af67
KK
58222012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5823
5824 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5825 compiler output for sysdeps/generic/initfini.c.
5826 * sysdeps/sh/elf/initfini.c: Remove file.
5827
f63f3380
DM
58282012-02-16 David S. Miller <davem@davemloft.net>
5829
fb59b3a4
DM
5830 [BZ #11494]
5831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5832
f63f3380
DM
5833 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5834 * sysdeps/sparc/crti.S: New file.
5835 * sysdeps/sparc/crtn.S: New file.
5836 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5837 * sysdeps/sparc/sparc64/Makefile: Likewise.
5838
df6a4a4a
MF
58392012-02-15 Mike Frysinger <vapier@gentoo.org>
5840
6dd8f3dc 5841 [BZ #3335]
df6a4a4a
MF
5842 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5843
1cac7236
RM
58442012-02-15 Roland McGrath <roland@hack.frob.com>
5845
d2c736f8
RM
5846 [BZ #4822]
5847 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5848
1cac7236
RM
5849 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5850 (write, read, close): Likewise.
5851 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5852
8e475601
JM
58532012-02-15 Joseph Myers <joseph@codesourcery.com>
5854
5855 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5856 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5857 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5858 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5859 <bits/signalfd.h>.
5860 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5862 bits/signalfd.h.
5863
ed656b40
MP
58642012-02-14 Marek Polacek <polacek@redhat.com>
5865
5866 * sysdeps/x86_64/crti.S: New file.
5867 * sysdeps/x86_64/crtn.S: New file.
5868 * sysdeps/x86_64/elf/initfini.c: Remove file.
5869
2a979d3a
JM
58702012-02-13 Joseph Myers <joseph@codesourcery.com>
5871
5872 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5873 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5874 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5875 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5876 <bits/inotify.h>.
5877 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5879 bits/inotify.h.
5880
2a418ac3
JM
58812012-02-13 Joseph Myers <joseph@codesourcery.com>
5882
5883 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5884 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5885 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5886 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5887 <bits/eventfd.h>.
5888 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5890 bits/eventfd.h.
5891
fb779be7
TS
58922012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5893
e19e83c5
RM
5894 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5895 __feraiseexcept instead of feraiseexcept.
7c35ffed 5896
fb779be7
TS
5897 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5898 nanosleep invocations.
5899 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5900 strings, and add error checking for a nanosleep invocations.
5901
59ba27a6
PE
59022012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5903
5904 Replace FSF snail mail address with URLs, as per GNU coding standards.
5905 Most of the snail mail addresses were wrong anyway, and omitting
5906 them makes the source code easier to maintain. Almost all of the
5907 changes are to license notices and to locale LC_IDENTIFICATION
5908 addresses, except for this one:
5909 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5910 not its snail mail address.
5911
57b957eb
RH
59122012-02-09 Richard Henderson <rth@twiddle.net>
5913
af850b1c
RH
5914 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5915 of kernel-features.h.
5916
57b957eb
RH
5917 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5918
6b73181a
MP
59192012-02-08 Marek Polacek <polacek@redhat.com>
5920
5921 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5922 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5923 * sysdeps/gnu/_G_config.h: Likewise.
5924 * sysdeps/generic/_G_config.h: Likewise.
5925
26ecc33a
AS
59262012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5927
6c6dbc63
AS
5928 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5929 tests.
5930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5931
e216c012
AS
5932 * sysdeps/powerpc/powerpc32/crti.S: New file.
5933 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5934 * sysdeps/powerpc/powerpc64/crti.S: New file.
5935 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5936
26ecc33a
AS
5937 * Makeconfig (have-initfini): Don't set.
5938 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5939 * configure.in (nopic_initfini): Don't substitute.
5940 * config.h.in (HAVE_INITFINI): Don't #undef.
5941 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5942 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5943
3add8e13
JM
59442012-02-08 Joseph Myers <joseph@codesourcery.com>
5945
5946 Support crti.S and crtn.S provided directly by architectures.
5947 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5948 [crti.S in sysdirs] (omit-deps): Likewise.
5949 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5950 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5951 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5952 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5953 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5954 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5955 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5956 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5957 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5958 compiler output for sysdeps/generic/initfini.c.
5959 * sysdeps/i386/elf/Makefile: Remove file.
5960 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5961
a22f12b4
MP
59622012-02-07 Marek Polacek <polacek@redhat.com>
5963
5964 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5965 * sysdeps/gnu/_G_config.h: Likewise.
5966 * sysdeps/mach/hurd/_G_config.h: Likewise.
5967
148cf100
MP
59682012-02-07 Marek Polacek <polacek@redhat.com>
5969
5970 * math/Makefile (tests): Add tst-CMPLX2.
5971 * math/tst-CMPLX2.c: New file.
5972
cfdc0dd7
AS
59732012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5974
84ba42c4
AS
5975 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5976
cfdc0dd7
AS
5977 * math/libm-test.inc (jn_test): Add missing L suffix.
5978
622c86f4
MP
59792012-02-06 Marek Polacek <polacek@redhat.com>
5980
5981 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5982 * sysdeps/i386/fpu/e_powf.S: Likewise.
5983 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5984 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5985 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5986 * sysdeps/i386/fpu/e_pow.S: Likewise.
5987 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5988 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5989 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5990 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5991 * sysdeps/i386/fpu/e_log2.S: Likewise.
5992 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5993 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5994 * sysdeps/i386/fpu/e_powl.S: Likewise.
5995 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5996 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5997 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5998 * sysdeps/i386/fpu/e_logl.S: Likewise.
5999 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6000 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6001 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6002 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6003 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6004 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6005 * sysdeps/i386/fpu/e_log.S: Likewise.
6006 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6007 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6008 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6009 * sysdeps/i386/fpu/e_logf.S: Likewise.
6010 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6011 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6012 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6013 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6014 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6015 * sysdeps/i386/fpu/e_log10.S: Likewise.
6016 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6017 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6018 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6019 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6020 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6021 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6022 * sysdeps/i386/asm-syntax.h: Likewise.
6023 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6024 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6025 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6026 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6027 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6028 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6029 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6030 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6031 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6032 * sysdeps/powerpc/sysdep.h: Likewise.
6033 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6034 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6035
d4a54ac6
JM
60362012-02-06 Joseph Myers <joseph@codesourcery.com>
6037
6038 [BZ #411]
6039 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6040
314054ea
JM
60412012-02-06 Joseph Myers <joseph@codesourcery.com>
6042
6043 * sysdeps/i386/sysdep.h: Include <features.h>.
6044 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6045 version.
6046
d8e0ca50
JM
60472012-02-05 Joseph Myers <joseph@codesourcery.com>
6048
6049 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6050 Define.
6051 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6052 LOAD_PIC_REG_STR.
6053
b1da7dd9
JM
60542012-02-03 Joseph Myers <joseph@codesourcery.com>
6055
6056 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6057 (SETUP_PIC_REG): Use GET_PC_THUNK.
6058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6059 macro.
6060
9a1d9254
JM
60612012-02-03 Joseph Myers <joseph@codesourcery.com>
6062
6063 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6064 for non-PIC compilation.
6065 (SETUP_PIC_REG): Add .p2align directive.
6066 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6067 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6068 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6069 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6071 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6073 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6074 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6075 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6076 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6077 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6078 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6079 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6080 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6081 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6082 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6083 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6084 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6085 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6086 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6087 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6088 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6089 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6095 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6096 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6097 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6098 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6099 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6100 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6107
65dc3b75
JM
61082012-02-03 Joseph Myers <joseph@codesourcery.com>
6109
6110 * math/tst-CMPLX.c: Include <stdio.h>.
6111
d55bf177
JM
61122012-01-31 Joseph Myers <joseph@codesourcery.com>
6113
6114 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6115 float.
6116 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6117 * sysdeps/sparc/bits/mathdef.h: Likewise.
6118
69db4f8f
MP
61192012-01-31 Marek Polacek <polacek@redhat.com>
6120
6121 * libio/libio.h: Don't define _PARAMS.
6122 * locale/programs/config.h: Don't define PARAMS.
6123 * stdlib/strtol_l.c: Likewise.
6124 (__strtol_l): Remove PARAMS from the prototype.
6125
41b81892
UD
61262012-01-31 Ulrich Drepper <drepper@gmail.com>
6127
3b49edc0
UD
6128 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6129 names. Just use the correct names. Remove unnecessary wrapper
6130 functions.
6131 * malloc/arena.c: Likewise.
6132 * malloc/hooks.c: Likewise.
6133
41b81892
UD
6134 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6135 ARENA_TEST says not to. Simplify test for creation of a new arena.
6136 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6137
27a25b6e
UD
61382012-01-30 Ulrich Drepper <drepper@gmail.com>
6139
6140 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6141 into tail calls.
6142 (update_get_addr): New function.
6143 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6144 GET_ADDR_MODULE parameter.
6145
c8a89e7d
JM
61462012-01-30 Joseph Myers <joseph@codesourcery.com>
6147
6148 * crypt/cert.c: Remove __STDC__ conditionals.
6149 * crypt/crypt-entry.c: Likewise.
6150 * crypt/crypt_util.c: Likewise.
6151 * libio/filedoalloc.c: Likewise.
6152 * libio/fileops.c: Likewise.
6153 * libio/genops.c: Likewise.
6154 * libio/iofclose.c: Likewise.
6155 * libio/iofdopen.c: Likewise.
6156 * libio/iofopen.c: Likewise.
6157 * libio/iofopen64.c: Likewise.
6158 * libio/iogetdelim.c: Likewise.
6159 * libio/iopopen.c: Likewise.
6160 * libio/obprintf.c: Likewise.
6161 * libio/oldfileops.c: Likewise.
6162 * libio/oldiofclose.c: Likewise.
6163 * libio/oldiofdopen.c: Likewise.
6164 * libio/oldiofopen.c: Likewise.
6165 * libio/oldiopopen.c: Likewise.
6166 * libio/wfiledoalloc.c: Likewise.
6167 * libio/wgenops.c: Likewise.
6168 * locale/programs/xmalloc.c: Likewise.
6169 * misc/syslog.c: Likewise.
6170 * stdio-common/xbug.c: Likewise.
6171 * string/memchr.c: Likewise.
6172 * string/memcmp.c: Likewise.
6173 * string/memrchr.c: Likewise.
6174 * string/rawmemchr.c: Likewise.
6175 * sysdeps/posix/getcwd.c: Likewise.
6176 * time/strftime_l.c: Likewise.
6177
3b100462
JM
61782012-01-30 Joseph Myers <joseph@codesourcery.com>
6179
6180 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6181 * config.make.in (config-cflags-sse2avx): Define.
6182 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6183 Fix typo.
6184
607998af
CM
61852012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6186
6187 * scripts/config.guess: Update from upstream config git repository.
6188 * scripts/config.sub: Likewise.
6189
3601428f
CM
61902012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6191
3ac8b282
CM
6192 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6193 (EM_NUM): Update.
6194 (R_TILEPRO_*, R_TILEGX_*): New macros.
6195
e034841e
CM
6196 * scripts/firstversions.awk: Fix bug in version range handling.
6197
540d7568
CM
6198 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6199
3601428f
CM
6200 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6201
463de862
CM
6202 * include/sys/epoll.h: New file.
6203 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6204 libc_hidden_def.
6205
73139a76
UD
62062012-01-28 Ulrich Drepper <drepper@gmail.com>
6207
96bc5b45
UD
6208 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6209 Avoid unnecessary __WORDSIZE == 64 test.
6210 (fmaxf): Use VEX format if possible.
6211 (fmax): Likewise.
6212 (fminf): Likewise.
6213 (fmin): Likewise.
6214
56f6f6a2
UD
6215 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6216 * math/math_private.h: Remove libc_fegetround* and
6217 libc_fesetround*.
6218 * sysdeps/i386/configure.in: Check for -msse2avx.
6219 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6220 also if SSE2AVX is defined.
6221 Remove libc_fegetround* and libc_fesetround*.
6222 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6223 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6224 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6225 of HAS_YMM_USABLE.
6226 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6227 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6228 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6230 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6231
73139a76
UD
6232 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6233
d73f93a4
AZ
62342012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6235
6236 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6237 size is not set.
6238 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6239
6ee65ed6
UD
62402012-01-27 Ulrich Drepper <drepper@gmail.com>
6241
6242 [BZ #13618]
6243 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6244 relocation.
6245 * Makeconfig (libm): Define.
6246 * elf/Makefile: Add rules to build and run tst-relsort1.
6247 * elf/tst-relsort1.c: New file.
6248 * elf/tst-relsort1mod1.c: New file.
6249 * elf/tst-relsort1mod2.c: New file.
6250
8db21882
JM
62512012-01-27 Joseph Myers <joseph@codesourcery.com>
6252
6253 * math/s_ldexp.c: Remove __STDC__ conditionals.
6254 * math/s_ldexpf.c: Likewise.
6255 * math/s_ldexpl.c: Likewise.
6256 * math/s_nextafter.c: Likewise.
6257 * math/s_nexttowardf.c: Likewise.
6258 * math/s_significand.c: Likewise.
6259 * math/s_significandf.c: Likewise.
6260 * math/s_significandl.c: Likewise.
6261 * math/w_jnl.c: Likewise.
6262 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6263 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6264 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6265 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6266 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6267 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6268 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6269 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6270 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6271 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6272 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6273 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6274 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6275 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6276 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6277 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6278 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6279 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6281 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6282 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6283 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6284 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6285 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6286 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6287 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6288 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6289 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6290 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6291 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6292 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6293 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6294 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6295 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6296 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6297 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6298 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6299 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6300 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6301 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6302 * sysdeps/ieee754/k_standard.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6364 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6369 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6377 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6378 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6382 * sysdeps/ieee754/s_matherr.c: Likewise.
6383 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6384 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6387
965a54a4
JM
63882012-01-26 Joseph Myers <joseph@codesourcery.com>
6389
6390 * crypt/md5.h: Remove __STDC__ conditionals.
6391 * libio/libioP.h: Likewise.
6392 * locale/programs/config.h: Likewise.
6393 * sysdeps/generic/sysdep.h: Likewise.
6394 * sysdeps/i386/asm-syntax.h: Likewise.
6395 * sysdeps/s390/asm-syntax.h: Likewise.
6396 * sysdeps/unix/sysdep.h: Likewise.
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6399
7071ad79
JM
64002012-01-26 Joseph Myers <joseph@codesourcery.com>
6401
6402 * libio/libio.h: Remove __STDC__ conditionals.
6403 * malloc/obstack.h: Likewise.
6404 * math/complex.h: Likewise.
6405 * math/math.h: Likewise.
6406 * sysdeps/generic/_G_config.h: Likewise.
6407 * sysdeps/gnu/_G_config.h: Likewise.
6408 * sysdeps/mach/hurd/_G_config.h: Likewise.
6409 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6410 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6411 * sysdeps/sparc/bits/mathdef.h: Likewise.
6412
afc5ed09
UD
64132012-01-26 Ulrich Drepper <drepper@gmail.com>
6414
6415 [BZ #13583]
6416 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6417 Clean up HAS_* macros.
afc5ed09 6418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6419 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6420 possible.
6421 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6422 HAS_AVX.
6423 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6424 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6425 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6427 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6428
bdb6de1d
JM
64292012-01-25 Joseph Myers <joseph@codesourcery.com>
6430
6431 * elf/tst-unique3.cc (gets): Remove declaration.
6432 * elf/tst-unique3lib.cc (gets): Likewise.
6433 * elf/tst-unique3lib2.cc (gets): Likewise.
6434 * elf/tst-unique4.cc (gets): Likewise.
6435
b15549e6
UD
64362012-01-24 Ulrich Drepper <drepper@gmail.com>
6437
6438 * include/stdio.h: Add C++ protection. Add gets declarations and
6439 definitions.
6440 * debug/tst-chk1.c: Don't declare gets here.
6441 * stdio-common/tst-gets.c: Likewise.
6442
a037381f
JM
64432012-01-24 Joseph Myers <joseph@codesourcery.com>
6444
6445 * posix/glob: Remove directory.
6446
f1d4aa75
JM
64472012-01-24 Joseph Myers <joseph@codesourcery.com>
6448
6449 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6450
81c0c964
PT
64512012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6452
6453 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6454 of the non-standard EPFNOSUPPORT.
6455
0ea698ae
ST
64562011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6457
6458 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6459 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6460 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6461
d220b117
UD
64622012-01-21 Ulrich Drepper <drepper@gmail.com>
6463
6464 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6465
3e1aa84e
UD
64662012-01-20 Ulrich Drepper <drepper@gmail.com>
6467
6468 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6469 transient errors.
6470 * nscd/grpcache.c (cache_addgr): Likewise.
6471 * nscd/hstcache.c (cache_addhst): Likewise.
6472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6473 * nscd/pwdcache.c (cache_addpw): Likewise.
6474 * nscd/servicescache.c (cache_addserv): Likewise.
6475
400aa020
UD
64762012-01-16 Ulrich Drepper <drepper@gmail.com>
6477
d77e7869
UD
6478 * malloc/malloc.c: Various cleanups.
6479 * malloc/hooks.c: Likewise.
6480
400aa020
UD
6481 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6482 * stdlib/bug-fmtmsg1.c: New file.
6483
6484 * stdlib/fmtmsg.c (init): Add missing unlock.
6485 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6486
e0a309cf
MP
64872012-01-12 Marek Polacek <polacek@redhat.com>
6488
6489 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6490 and _GNU_SOURCE.
6491
929d11c7
WS
64922012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6493
6494 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6495 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6496 macro to ensure uniqueness of label name.
6497 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6498 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6499
41d0e869
UD
65002012-01-11 Ulrich Drepper <drepper@gmail.com>
6501
0cc5ed3b
UD
6502 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6503
41d0e869
UD
6504 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6505 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6506 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6508
a47a831a
UD
65092012-01-10 Ulrich Drepper <drepper@gmail.com>
6510
daa891c0
UD
6511 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6512
6513 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6514 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6515 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6516
e58ef0f2
UD
6517 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6518
a47a831a 6519 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6520 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6521 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6523
6524 * math/bits/math-finite.h: Add ldexp support.
6525
a0bfc9c7
MP
65262012-01-10 Marek Polacek <polacek@redhat.com>
6527
6528 * locale/programs/localedef.h (show_archive_content): Add noreturn
6529 attribute.
6530
d6e97a1d
UD
65312012-01-09 Ulrich Drepper <drepper@gmail.com>
6532
6533 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6534
d5835c26
UD
65352012-01-08 Ulrich Drepper <drepper@gmail.com>
6536
e5f484c6
UD
6537 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6538
d5835c26
UD
6539 * io/Makefile (headers): Add bits/poll2.h.
6540
d1f741e9
WS
65412011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6542
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6544 typo #include statement.
6545
ec09c1c4
UD
65462012-01-08 Ulrich Drepper <drepper@gmail.com>
6547
6548 * include/sys/cdefs.h: Define __attribute_alloc_size.
6549 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6550 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6551 * elf/pldd.c: Likewise.
6552 * iconv/iconv_charmap.c: Likewise.
6553 * iconv/iconvconfig.c: Likewise.
6554 * iconv/strtab.c: Likewise.
6555 * locale/programs/locale.c: Likewise.
6556 * locale/programs/localedef.h: Likewise.
6557 * locale/programs/simple-hash.c: Likewise.
6558 * nscd/nscd.h: Likewise.
6559 * nss/makedb.c: Likewise.
6560 * sysdeps/generic/ldconfig.h: Likewise.
6561 * locale/programs/localedef.c: Remove xmalloc prototype.
6562 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6563
20b38e03
PP
65642012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6565
6566 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6567 appropriate.
6568
a0da5fe1
UD
65692012-01-08 Ulrich Drepper <drepper@gmail.com>
6570
1d5a644a 6571 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6572 * math/tst-CMPLX.c: New file.
1d5a644a 6573
8784a6db
UD
6574 * math/complex.h (CMPLXL): Fix typo.
6575
d9a216c0
UD
6576 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6577 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6578 GLIBC_2.16.
6579 * debug/tst-chk1.c: Add poll and ppoll tests.
6580 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6581 * include/sys/poll.h: Add hidden proto for ppoll.
6582 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6583 * sysdeps/mach/hurd/ppoll.c: Likewise.
6584 * io/ppoll.c: Likewise.
6585 * debug/poll_chk.c: New file.
6586 * debug/ppoll_chk.c: New file.
6587 * include/bits/poll2.h: New file.
6588 * io/bits/poll2.h: New file.
6589
ac097f5c
UD
6590 [BZ #1350]
6591 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6592
2119dcfa
UD
6593 * configure.in: static is always set to yes. Remove.
6594 * config.make.in: Don't set build-static.
6595 * Makeconfig: Remove use of build-static.
6596 * dlfcn/Makefile: Likewise.
6597 * elf/Makefile: Likewise.
6598 * math/Makefile: Likewise.
6599 * misc/Makefile: Likewise.
6600 * nptl/Makefile: Likewise.
6601 * sysdeps/mach/hurd/Makefile: Likewise.
6602
121766a9
UD
6603 * configure.in: PWD_P is not used anymore.
6604 * config.make.in: Remove PWD_P entry.
6605
51a1d39c 6606 * configure.in: Remove last remnants of RANLIB.
8720d066 6607 No need to check for signed size_t anymore.
215f4bdc
UD
6608 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6609 and IA-64.
3857022a 6610 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6611 * aclocal.m4: Likewise.
6612
d3ed7225
UD
6613 * wcsmbs/mbrtoc16.c: Implement using towc function.
6614 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6615 * wcsmbs/wcsmbsload.c: Likewise.
6616 * iconv/gconv_simple.c: Likewise.
6617 * iconv/gconv_int.h: Likewise.
6618 * iconv/gconv_builtin.h: Likewise.
6619 * iconv/iconv_prog.c: Remove CHAR16 handling.
6620
6621 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6622
6623 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6624
a0da5fe1
UD
6625 * configure.in: Remove --with-elf and --enable-bounded options.
6626 Dont set base_machine for ia64. More non-ELF conditions removed.
6627 Remove testing and setting of leading underscore information.
6628 * config.make.in (build-bounded): Set to no.
6629 * config.h.in: Remove NO_UNDERSCORES entry.
6630 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6631 them.
6632 * csu/start.c: Remove !NO_UNDERSCORE code.
6633 * locale/localeinfo.h: Likewise.
6634 * sysdeps/generic/machine-gmon.h: Likewise.
6635 * sysdeps/generic/sysdep.h: Likewise.
6636 * sysdeps/i386/sysdep.h: Likewise.
6637 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6638 * sysdeps/mach/sysdep.h: Likewise.
6639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6640 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6641 * sysdeps/sh/sysdep.h: Likewise.
6642 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6643 * sysdeps/unix/i386/sysdep.S: Likewise.
6644 * sysdeps/unix/sparc/start.c: Likewise.
6645 * sysdeps/unix/sparc/sysdep.S: Likewise.
6646 * sysdeps/unix/sparc/sysdep.h: Likewise.
6647 * sysdeps/unix/start.c: Likewise.
6648 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6649 * sysdeps/x86_64/sysdep.h: Likewise.
6650
df78418a
UD
66512012-01-07 Ulrich Drepper <drepper@gmail.com>
6652
a784e502
UD
6653 [BZ #13553]
6654 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6655 for non-gcc.
6656 * argp/argp-fmtstream.h: Use const instead __const.
6657 * argp/argp.h: Likewise.
6658 * assert/assert.h: Likewise.
6659 * bits/fenv.h: Likewise.
6660 * bits/sched.h: Likewise.
6661 * bits/sigset.h: Likewise.
6662 * bits/sigthread.h: Likewise.
6663 * catgets/nl_types.h: Likewise.
6664 * conform/data/pthread.h-data: Likewise.
6665 * crypt/crypt-private.h: Likewise.
6666 * crypt/crypt.h: Likewise.
6667 * crypt/crypt_util.c: Likewise.
6668 * ctype/ctype.h: Likewise.
6669 * debug/execinfo.h: Likewise.
6670 * debug/mbsnrtowcs_chk.c: Likewise.
6671 * debug/mbsrtowcs_chk.c: Likewise.
6672 * debug/wcsnrtombs_chk.c: Likewise.
6673 * debug/wcsrtombs_chk.c: Likewise.
6674 * debug/wcstombs_chk.c: Likewise.
6675 * dirent/dirent.h: Likewise.
6676 * dlfcn/dlfcn.h: Likewise.
6677 * elf/neededtest4.c: Likewise.
6678 * grp/grp.h: Likewise.
6679 * gshadow/gshadow.h: Likewise.
6680 * iconv/gconv.h: Likewise.
6681 * iconv/gconv_int.h: Likewise.
6682 * iconv/gconv_simple.c: Likewise.
6683 * iconv/iconv.h: Likewise.
6684 * iconv/loop.c: Likewise.
6685 * iconv/skeleton.c: Likewise.
6686 * include/aio.h: Likewise.
6687 * include/aliases.h: Likewise.
6688 * include/argz.h: Likewise.
6689 * include/arpa/inet.h: Likewise.
6690 * include/assert.h: Likewise.
6691 * include/dirent.h: Likewise.
6692 * include/dlfcn.h: Likewise.
6693 * include/execinfo.h: Likewise.
6694 * include/fcntl.h: Likewise.
6695 * include/fenv.h: Likewise.
6696 * include/glob.h: Likewise.
6697 * include/grp.h: Likewise.
6698 * include/libintl.h: Likewise.
6699 * include/mntent.h: Likewise.
6700 * include/netdb.h: Likewise.
6701 * include/pwd.h: Likewise.
6702 * include/rpc/netdb.h: Likewise.
6703 * include/sched.h: Likewise.
6704 * include/search.h: Likewise.
6705 * include/shadow.h: Likewise.
6706 * include/signal.h: Likewise.
6707 * include/stdio.h: Likewise.
6708 * include/stdlib.h: Likewise.
6709 * include/string.h: Likewise.
6710 * include/sys/socket.h: Likewise.
6711 * include/sys/stat.h: Likewise.
6712 * include/sys/statfs.h: Likewise.
6713 * include/sys/statvfs.h: Likewise.
6714 * include/sys/syslog.h: Likewise.
6715 * include/sys/time.h: Likewise.
6716 * include/sys/uio.h: Likewise.
6717 * include/time.h: Likewise.
6718 * include/unistd.h: Likewise.
6719 * include/utmp.h: Likewise.
6720 * include/wchar.h: Likewise.
6721 * include/wctype.h: Likewise.
6722 * inet/aliases.h: Likewise.
6723 * inet/arpa/inet.h: Likewise.
6724 * inet/netinet/ether.h: Likewise.
6725 * inet/netinet/in.h: Likewise.
6726 * intl/libintl.h: Likewise.
6727 * io/bits/fcntl2.h: Likewise.
6728 * io/fcntl.h: Likewise.
6729 * io/ftw.h: Likewise.
6730 * io/sys/poll.h: Likewise.
6731 * io/sys/stat.h: Likewise.
6732 * io/sys/statfs.h: Likewise.
6733 * io/sys/statvfs.h: Likewise.
6734 * io/utime.h: Likewise.
6735 * libio/bits/stdio.h: Likewise.
6736 * libio/bits/stdio2.h: Likewise.
6737 * libio/libio.h: Likewise.
6738 * libio/libioP.h: Likewise.
6739 * libio/stdio.h: Likewise.
6740 * locale/lc-ctype.c: Likewise.
6741 * locale/locale.h: Likewise.
6742 * login/utmp.h: Likewise.
6743 * malloc/arena.c: Likewise.
6744 * malloc/malloc.c: Likewise.
6745 * malloc/malloc.h: Likewise.
6746 * malloc/mcheck.c: Likewise.
6747 * malloc/mtrace.c: Likewise.
6748 * math/bits/mathcalls.h: Likewise.
6749 * math/fenv.h: Likewise.
6750 * math/math_private.h: Likewise.
6751 * misc/bits/error.h: Likewise.
6752 * misc/bits/syslog.h: Likewise.
6753 * misc/err.h: Likewise.
6754 * misc/error.h: Likewise.
6755 * misc/fstab.h: Likewise.
6756 * misc/mntent.h: Likewise.
6757 * misc/regexp.h: Likewise.
6758 * misc/search.h: Likewise.
6759 * misc/sgtty.h: Likewise.
6760 * misc/sys/mman.h: Likewise.
6761 * misc/sys/syslog.h: Likewise.
6762 * misc/sys/uio.h: Likewise.
6763 * misc/sys/xattr.h: Likewise.
6764 * misc/ttyent.h: Likewise.
6765 * nis/rpcsvc/ypclnt.h: Likewise.
6766 * nss/nss.h: Likewise.
6767 * posix/bits/unistd.h: Likewise.
6768 * posix/fnmatch.h: Likewise.
6769 * posix/glob.h: Likewise.
6770 * posix/sched.h: Likewise.
6771 * posix/spawn.h: Likewise.
6772 * posix/sys/wait.h: Likewise.
6773 * posix/unistd.h: Likewise.
6774 * posix/wordexp.h: Likewise.
6775 * pwd/pwd.h: Likewise.
6776 * resolv/netdb.h: Likewise.
6777 * resource/sys/resource.h: Likewise.
6778 * rt/aio.h: Likewise.
6779 * rt/bits/mqueue2.h: Likewise.
6780 * rt/mqueue.h: Likewise.
6781 * shadow/shadow.h: Likewise.
6782 * signal/signal.h: Likewise.
6783 * socket/send.c: Likewise.
6784 * socket/sendto.c: Likewise.
6785 * socket/sys/socket.h: Likewise.
6786 * stdio-common/printf.h: Likewise.
6787 * stdlib/bits/stdlib.h: Likewise.
6788 * stdlib/fmtmsg.h: Likewise.
6789 * stdlib/monetary.h: Likewise.
6790 * stdlib/stdlib.h: Likewise.
6791 * stdlib/ucontext.h: Likewise.
6792 * streams/stropts.h: Likewise.
6793 * string/argz.h: Likewise.
6794 * string/bits/string2.h: Likewise.
6795 * string/string.h: Likewise.
6796 * string/strings.h: Likewise.
6797 * sunrpc/rpc/auth.h: Likewise.
6798 * sunrpc/rpc/auth_des.h: Likewise.
6799 * sunrpc/rpc/clnt.h: Likewise.
6800 * sunrpc/rpc/netdb.h: Likewise.
6801 * sunrpc/rpc/pmap_clnt.h: Likewise.
6802 * sunrpc/rpc/xdr.h: Likewise.
6803 * sysdeps/generic/inttypes.h: Likewise.
6804 * sysdeps/generic/net/if.h: Likewise.
6805 * sysdeps/generic/sys/swap.h: Likewise.
6806 * sysdeps/gnu/net/if.h: Likewise.
6807 * sysdeps/gnu/utmpx.h: Likewise.
6808 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6809 * sysdeps/i386/i486/bits/string.h: Likewise.
6810 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6811 * sysdeps/s390/bits/string.h: Likewise.
6812 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6813 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6814 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6815 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6816 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6817 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6818 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6819 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6820 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6821 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6822 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6823 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6824 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6825 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6826 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6827 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6828 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6831 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6832 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6833 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6834 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6835 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6836 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6837 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6838 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6839 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6840 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6841 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6842 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6843 * sysvipc/sys/ipc.h: Likewise.
6844 * sysvipc/sys/msg.h: Likewise.
6845 * sysvipc/sys/sem.h: Likewise.
6846 * sysvipc/sys/shm.h: Likewise.
6847 * termios/termios.h: Likewise.
6848 * time/sys/time.h: Likewise.
6849 * time/time.h: Likewise.
6850 * wcsmbs/bits/wchar2.h: Likewise.
6851 * wcsmbs/uchar.h: Likewise.
6852 * wcsmbs/wchar.h: Likewise.
6853 * wctype/wctype.h: Likewise.
6854
0269750c
UD
6855 [BZ #13551]
6856 * Makeconfig: Remove all but ELF support including AIX support.
6857 * Makerules: Likewise.
6858 * config.h.in: Likewise.
6859 * config.make.in: Likewise.
6860 * configure: Likewise.
6861 * configure.in: Likewise.
6862 * csu/Makefile: Likewise.
6863 * csu/version.c: Likewise.
6864 * debug/Makefile: Likewise.
6865 * dlfcn/Makefile: Likewise.
6866 * elf/Makefile: Likewise.
6867 * extra-lib.mk: Likewise.
6868 * iconv/Makefile: Likewise.
6869 * include/libc-symbols.h: Likewise.
6870 * include/shlib-compat.h: Likewise.
6871 * resolv/Makefile: Likewise.
6872 * resolv/res_libc.c: Likewise.
6873 * rt/Makefile: Likewise.
6874 * sysdeps/i386/asm-syntax.h: Likewise.
6875 * sysdeps/i386/sysdep.h: Likewise.
6876 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6877 * sysdeps/mach/sysdep.h: Likewise.
6878 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6879 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6880 * sysdeps/s390/asm-syntax.h: Likewise.
6881 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6883 * sysdeps/sh/sysdep.h: Likewise.
6884 * sysdeps/unix/sparc/sysdep.h: Likewise.
6885 * sysdeps/wordsize-32/divdi3.c: Likewise.
6886 * sysdeps/x86_64/sysdep.h: Likewise.
6887
00bbd29b
UD
6888 * argp/Versions: Remove _argp_unlock_xxx.
6889
6890 [BZ #13559]
6891 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6892 * abilist/libBrokenLocale.abilist: Likewise.
6893 * abilist/libanl.abilist: Likewise.
6894 * abilist/libc.abilist: Likewise.
6895 * abilist/libcrypt.abilist: Likewise.
6896 * abilist/libdl.abilist: Likewise.
6897 * abilist/libm.abilist: Likewise.
6898 * abilist/libnsl.abilist: Likewise.
6899 * abilist/libpthread.abilist: Likewise.
6900 * abilist/libresolv.abilist: Likewise.
6901 * abilist/librt.abilist: Likewise.
6902 * abilist/libthread_db.abilist: Likewise.
6903 * abilist/libutil.abilist: Likewise.
6904 * abilist/libnss_db.abilist: New file.
6905
6906 * scripts/abilist.awk: Add support for indirect functions.
6907
a2693a0e
UD
6908 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6909
3f05895f
UD
6910 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6911
ecb6fb48
UD
6912 * shlib-versions: Remove entries for ports architectures.
6913
664f8cb9
UD
6914 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6915 files in ports.
6916 * elf/stackguard-macros.h: Remove support for IA-64.
6917 * elf/tst-auditmod1.c: Likewise.
6918 * sysdeps/generic/ldsodefs.h: Likewise.
6919
7ae81d88
UD
6920 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6921 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6922 configure files.
6923
bdeba135
UD
6924 [BZ #13552]
6925 * configure.in: Remove --enable-omitfp support.
6926 * FAQ.in: Adjust.
6927 * config.make.in: Likewise.
6928 * Makeconfig: Likewise.
6929 * manual/install.texi: Likewise.
6930
d75a0a62
UD
6931 In case anyone cares, the IA-64 architecture could move to ports.
6932 * sysdeps/ia64/*: Removed.
6933 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6934 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6935
dcc9756b
UD
6936 [BZ #13555]
6937 * configure.in: Remove entries for unsupported architectures.
6938
d3761ebc 6939 [BZ #13533]
9954432e
UD
6940 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6941 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6942 routines.
6943 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6944 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6945 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6946 fall back to using wcrtomb.
6947 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6948 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6949 renaming.
6950 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6951 * wcsmbs/tst-c16c32-1.c: New file.
6952
6953 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6954 local variable.
6955
c3a87236
UD
6956 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6957
28926a1b
UD
6958 * elf/tst-unique3.cc: Add explicit declaration of gets.
6959 * elf/tst-unique3lib.cc: Likewise.
6960 * elf/tst-unique3lib2.cc: Likewise.
6961 * elf/tst-unique4.cc: Likewise.
6962
df78418a
UD
6963 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6964
8ecd6b2a
JM
69652012-01-06 Joseph Myers <joseph@codesourcery.com>
6966
6967 [BZ #13566]
6968 * assert/assert.h (static_assert): Don't define for C++.
6969 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6970 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6971
9f115170
UD
69722012-01-03 Ulrich Drepper <drepper@gmail.com>
6973
5e0d0300
UD
6974 * iconv/loop.c (single loop): Fix assertion in storing of
6975 remaining bytes.
6976
9f115170
UD
6977 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6978
81fb02b0
UD
69792012-01-01 Ulrich Drepper <drepper@gmail.com>
6980
6981 * posix/getconf.c: Update copyright year.
6982 * nss/getent.c: Likewise.
a316c1f6 6983 * nss/makedb.c: Likewise.
81fb02b0
UD
6984 * iconv/iconvconfig.c: Likewise.
6985 * iconv/iconv_prog.c: Likewise.
6986 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6987 * elf/pldd.c: Likewise.
6988 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6989 * catgets/gencat.c: Likewise.
6990 * csu/version.c: Likewise.
6991 * elf/ldd.bash.in: Likewise.
6992 * elf/sprof.c (print_version): Likewise.
6993 * locale/programs/locale.c: Likewise.
6994 * locale/programs/localedef.c: Likewise.
a316c1f6 6995 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6996 * nscd/nscd.c (print_version): Likewise.
6997 * debug/xtrace.sh: Likewise.
6998 * malloc/memusage.sh: Likewise.
6999 * malloc/mtrace.pl: Likewise.
7000 * debug/catchsegv.sh: Likewise.
7001
2ba92745
JJ
70022011-12-30 Jakub Jelinek <jakub@redhat.com>
7003
7004 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7005 pure attribute.
7006
dadebdae
UD
70072011-12-24 Ulrich Drepper <drepper@gmail.com>
7008
d3761ebc 7009 [BZ #13533]
db6af3eb
UD
7010 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7011 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7012 transformations.
7013 * iconv/gconv_int.h: Likewise.
7014 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7015 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7016 from libc for GLIBC_2.16.
7017 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7018 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7019 * wcsmbs/uchar.h: Really define mbstate_t.
7020 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7021 * wcsmbs/c16rtomb.c: New file.
7022 * wcsmbs/mbrtoc16.c: New file.
7023 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7024 for C/POSIX locale.
7025 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7026 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7027
dadebdae
UD
7028 * wcsmbs/wchar.h: Add missing __restrict.
7029
67371b56
UD
70302011-12-23 Ulrich Drepper <drepper@gmail.com>
7031
74033a25
UD
7032 [BZ #13532]
7033 * time/Makefile (routines): Add timespec_get.
7034 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7035 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7036 timespec for ISO C11.
7037 * time/timespec_get.c: New file.
7038 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7039 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7040
380d7e87
UD
7041 [BZ #13531]
7042 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7043 * stdlib/stdlib.h: Declare aligned_alloc.
7044 * Versions.def: Add GLIBC_2.16 for libc.
7045 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7046
4e9e7a35
UD
7047 [BZ 13527]
7048 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7049 ISO C11.
7050
380d7e87 7051 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7052 code.
7053
03a71829
UD
7054 [BZ #13528]
7055 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7056
839e283e
UD
7057 [BZ #13529]
7058 * assert/assert.h (static_assert): Define.
7059
ce5294e2 7060 * version.h: Update for 2.16 development version.
90fa7312 7061
8d44e150 7062 [BZ #13526]
d7809905
UD
7063 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7064 _ISOC11_SOURCE.
7065
c0da14cd
UD
7066 * version.h (RELEASE): Bump for 2.15 release.
7067 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7068
530a3249
MP
7069 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7070 Patch by Marek Polacek <mpolacek@redhat.com>.
7071
67371b56
UD
7072 * bits/byteswap.h: Protect long long constants with __extension__.
7073 * sysdeps/i386/bits/byteswap.h: Likewise.
7074 * sysdeps/ia64/bits/byteswap.h: Likewise.
7075 * sysdeps/s390/bits/byteswap.h: Likewise.
7076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7077
15db4de1
LD
70782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7079
7080 [BZ #13540]
bbe315ea
LD
7081 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7082 destination buffer.
15db4de1
LD
7083 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7084
2b2596b1
MP
70852011-12-23 Marek Polacek <polacek@redhat.com>
7086
7087 * elf/dl-addr.c (determine_info): Add inline keyword.
7088 * elf/tst-auditmod4b.c (check_avx): Likewise.
7089 * elf/tst-auditmod6b.c (check_avx): Likewise.
7090 * elf/tst-auditmod6c.c (check_avx): Likewise.
7091 * elf/tst-auditmod7b.c (check_avx): Likewise.
7092
70c6c246
UD
70932011-12-23 Ulrich Drepper <drepper@gmail.com>
7094
7095 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7096 !__SSE_MATH__.
7097
c044cf14
LD
70982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7099
15db4de1 7100 [BZ #13540]
c044cf14
LD
7101 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7102 processing for last bytes.
7103
6b13d9d9
BH
71042011-08-06 Bruno Haible <bruno@clisp.org>
7105
d455f537
BH
7106 [BZ #13061]
7107 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7108 U+0385, not to U+1FEE.
7109
6b13d9d9
BH
7110 [BZ #13062]
7111 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7112 entry for U+00A5 U+0301.
7113
db910efd
UD
71142011-12-22 Ulrich Drepper <drepper@gmail.com>
7115
27deeafc
UD
7116 [BZ #13166]
7117 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7118 buffer for the output is too small.
7119
aed9d171
UD
7120 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7121 optimization.
7122
db910efd
UD
7123 [BZ #13185]
7124 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7125 SSE flags if possible.
7126
2bd779ae
LD
71272011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7128
e7f9dac3 7129 [BZ #13540]
2bd779ae
LD
7130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7131 processing for last bytes.
7132
154bfc16
JM
71332011-12-22 Joseph Myers <joseph@codesourcery.com>
7134
7135 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7136 (syscall-list-default-options, syscall-list-default-condition)
7137 (syscall-list-includes): Define.
7138 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7139 list of ABIs and options and #if conditions for each ABI. Do not
7140 handle common syscalls between ABIs specially.
7141 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7142 Remove.
7143 (syscall-list-variants, syscall-list-32bit-options)
7144 (syscall-list-32bit-condition, syscall-list-64bit-options)
7145 (syscall-list-64bit-condition): Define.
7146 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7147 (syscall-list-variants, syscall-list-32bit-options)
7148 (syscall-list-32bit-condition, syscall-list-64bit-options)
7149 (syscall-list-64bit-condition): Define.
7150 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7151 Remove.
7152 (syscall-list-variants, syscall-list-32bit-options)
7153 (syscall-list-32bit-condition, syscall-list-64bit-options)
7154 (syscall-list-64bit-condition): Define.
7155 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7156 Remove.
7157 (syscall-list-variants, syscall-list-32bit-options)
7158 (syscall-list-32bit-condition, syscall-list-64bit-options)
7159 (syscall-list-64bit-condition): Define.
7160
21eaf3a5
UD
71612011-12-22 Ulrich Drepper <drepper@gmail.com>
7162
16c6f992
UD
7163 * locale/iso-639.def: Add brx entry.
7164
41043168
UD
7165 [BZ #13328]
7166 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7167 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7168
21eaf3a5
UD
7169 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7170 __feraiseexcept_renamed.
7171
e3a851a2
UD
71722011-12-21 Ulrich Drepper <drepper@gmail.com>
7173
4920765e
UD
7174 [BZ #13538]
7175 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7176 EPOLLET with unsigned values.
7177 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7178 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7179
e3a851a2
UD
7180 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7181 to large cancellation.
7182 * math/s_cacoshf.c: Likewise.
7183 * math/s_cacoshl.c: Likewise.
7184
b27e24b8
RK
71852011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7186
7187 [BZ #13305]
aebefeee 7188 [BZ #12786]
b27e24b8
RK
7189 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7190 * math/s_cacoshf.c: Likewise.
7191 * math/s_cacoshl.c: Likewise.
7192
ee190f67
UD
71932011-12-21 Ulrich Drepper <drepper@gmail.com>
7194
7195 [BZ #13439]
7196 * iconv/gconv.h: Define __GCONV_SWAP.
7197 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7198 * iconvdata/utf-16.c: Likewise.
7199 * iconvdata/utf-32.c: Likewise.
7200
707f25df
AS
72012011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7202
7203 [BZ #13524]
7204 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7205 numerator after shifting it by one limb.
7206
d2daaa1e
RÁE
72072011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7208
7209 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7210 under [__USE_EXTERN_INLINES].
7211
a4647e72
UD
72122011-12-17 Ulrich Drepper <drepper@gmail.com>
7213
7214 [BZ #13446]
7215 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7216
f0b264f1
AZ
72172011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7218
7219 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7220 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7221 optimized code.
7222 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7223 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7224 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7225 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7226 for strncasecmp/strncasecmp_l compilation.
7227 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7228 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7229
8ef4f244
MP
72302011-12-08 Marek Polacek <mpolacek@redhat.com>
7231
7232 [BZ #13484]
7233 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7234 of __asm__.
7235
97ac2654
UD
72362011-12-17 Ulrich Drepper <drepper@gmail.com>
7237
7238 [BZ #13506]
7239 * time/tzfile.c (__tzfile_read): Check values from file header.
7240
91d2a845
WS
72412011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7242
7243 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7244 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7245 * powerpc/powerpc32/dl-start.S: Likewise.
7246 * powerpc/powerpc32/elf/start.S: Likewise.
7247 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7248 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7249 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7250 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7251 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7252 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7253 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7254 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7255 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7256 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7257 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7258 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7259 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7260 * powerpc/powerpc32/memset.S: Likewise.
7261 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7262 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7263 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7264 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7265 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7266 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7267 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7268 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7269 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7270 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7271 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7272 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7273 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7274
a1267ba1
AZ
72752011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7276
7277 * math/libm-test.inc: Added more nearbyint tests.
7278 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7279 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7281 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7282
ad8ac1bd
RL
72832011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7284
7285 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7286 FD_CLOEXEC.
7287
1d3e4b61
UD
72882011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7289
7290 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7291 Add wcscpy-ssse3 wcscpy-c.
7292 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7293 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7294 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7295 * sysdeps/x86_64/wcschr.S: New file.
7296 * sysdeps/x86_64/wcsrchr.S: New file.
7297 * string/test-strcmp.c: Remove checking of wcscmp function for
7298 wrong alignments.
7299 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7300 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7301 wcsrchr-sse2 wcsrchr-c.
7302 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7303 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7304 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7305 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7306 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7307 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7308 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7309 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7310 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7311 * wcsmbc/wcschr.c (WCSCHR): New macro.
7312
5b330a2d
UD
73132011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7314
7315 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7316 * wcsmbs/test-wcsrchr.c: New file.
7317 * string/test-strrchr.c: Add wcsrchr support.
7318 (WIDE): New macro.
7319 * wcsmbs/test-wcscpy.c: New file.
7320 * string/test-strcpy.c: Add wcscpy support.
7321 (WIDE): New macro.
26428b7c 7322
f039c043
UD
73232011-12-10 Ulrich Drepper <drepper@gmail.com>
7324
7325 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7326 the inner loop.
7327
850fb039
AS
73282011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7329
7330 [BZ #13472]
7331 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7332
4efbd5cb
UD
73332011-12-04 Ulrich Drepper <drepper@gmail.com>
7334
52ff5dd0 7335 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7336 Minor optimizations.
52ff5dd0 7337
4efbd5cb
UD
7338 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7339 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7340 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7341
8a426e12
UD
73422011-12-03 Ulrich Drepper <drepper@gmail.com>
7343
aff2453d
UD
7344 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7345 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7346 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7347 for gcc to avoid warnings.
7348 * inet/Makefile (tests): Add tst-checks.
7349 * inet/tst-checks.c: New file.
7350
7351 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7352 warning.
7353
7354 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7355 __wmemcmp_sse2.
7356
7357 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7358 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7359
8a426e12
UD
7360 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7361
9bea3473
UD
73622011-12-02 Ulrich Drepper <drepper@gmail.com>
7363
3a965496
UD
7364 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7365 problem.
7366
9bea3473
UD
7367 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7368
f101631b
UD
73692011-11-29 Joseph Myers <joseph@codesourcery.com>
7370
7371 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7372 conditional on GCC version.
7373 (__arch_compare_and_exchange_val_8_acq)
7374 (__arch_compare_and_exchange_val_16_acq)
7375 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7376 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7377 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7378
a98275aa
UD
73792011-12-02 Joseph Myers <joseph@codesourcery.com>
7380
7381 * sysdeps/sh/backtrace.c: New file.
7382
d4cc29a2
AS
73832011-12-02 Andreas Schwab <schwab@redhat.com>
7384
7385 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7386 parenthesis.
7387
6257af2d
AS
73882011-12-01 Andreas Schwab <schwab@redhat.com>
7389
7390 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7391 falling back to utime.
7392
b5f44c1a
AS
73932011-11-30 Andreas Schwab <schwab@redhat.com>
7394
7395 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7396 expectations for float.
7397
f3a6cc0a
AS
73982011-11-29 Andreas Schwab <schwab@redhat.com>
7399
7400 * locale/weight.h (findidx): Add parameter len.
7401 * locale/weightwc.h (findidx): Likewise.
7402 * posix/fnmatch_loop.c (FCT): Adjust caller.
7403 * posix/regcomp.c (build_equiv_class): Likewise.
7404 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7405 * posix/regexec.c (check_node_accept_bytes): Likewise.
7406 * string/strcoll_l.c (STRCOLL): Likewise.
7407 * string/strxfrm_l.c (STRXFRM): Likewise.
7408
9d65ea3a
UD
74092011-11-17 Ulrich Drepper <drepper@gmail.com>
7410
7411 * Makefile.in: Remove CVSOPT handling.
7412 * configure.in: Remove use of AC_REVISION.
7413 * iconvdata/Makefile (distribute): No need to filter out CVS.
7414 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7415 handling.
7416
5583a086
AS
74172011-11-16 Andreas Schwab <schwab@redhat.com>
7418
7419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7420 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7421 [USE_AS_STRNCASECMP_L]: Likewise.
7422 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7423 NO_TLS_DIRECT_SEG_REFS.
7424 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7425 Fix argument offsets for non-PIC.
7426 [USE_AS_STRNCASECMP_L]: Likewise.
7427 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7428 NO_TLS_DIRECT_SEG_REFS.
7429
d62a8200
UD
74302011-11-15 Ulrich Drepper <drepper@gmail.com>
7431
9d65ea3a 7432 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7433 O_CLOEXEC.
7434 * locale/loadlocale.c (_nl_load_locale): Likewise.
7435
09f93bd3
AS
74362011-11-15 Andreas Schwab <schwab@redhat.com>
7437
446514f9
AS
7438 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7439 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7440 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7441 (SYSCALL_GETTIME): Set errno on error.
7442
09f93bd3
AS
7443 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7444 count references to noai6ai_cached.
7445
312be3f9
UD
74462011-11-15 Ulrich Drepper <drepper@gmail.com>
7447
7448 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7449
7450 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7451 FD_CLOEXEC for /proc/self/maps.
7452
7453 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7454 FD_CLOEXEC for /proc/meminfo.
7455
7456 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7457 gai.conf.
7458
7459 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7460 FD_CLOEXEC for given file.
7461
7462 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7463
7464 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7465 FD_CLOEXEC for /etc/hosts.
7466 (_gethtent): Likewise.
7467
7468 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7469
7470 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7471 cancellation and set FD_CLOEXEC for /etc/netgroup.
7472
7473 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7474 reading /etc/publickey.
7475
7476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7477 allow cancellation when reading /etc/group.
7478
7479 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7480 cancellation.
7481 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7482
7483 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7484 when using data file.
7485
7486 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7487
7488 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7489 (write_nis_obj): Use "c" and "e" in fopen.
7490
7491 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7492
7493 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7494
7495 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7496
7497 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7498
7499 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7500 locale.alias.
7501
7502 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7503
7504 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7505
7506 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7507
7508 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7509 file parsing and set FD_CLOEXEC.
7510
82af0fa8
UD
75112011-11-14 Ulrich Drepper <drepper@gmail.com>
7512
7513 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7514
a5fb313c
AS
75152011-11-14 Andreas Schwab <schwab@redhat.com>
7516
7517 * malloc/arena.c (arena_get2): Don't call reused_arena when
7518 _int_new_arena failed.
7519
6abf3465
UD
75202011-11-14 Ulrich Drepper <drepper@gmail.com>
7521
7522 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7523 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7524 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7525 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7526 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7527 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7528 to compile strcasecmp and strncasecmp.
7529 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7530 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7531
7532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7533
76e3966e
UD
75342011-11-13 Ulrich Drepper <drepper@gmail.com>
7535
7536 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7537 locale-defines.sym to gen-as-const-headers.
7538 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7539 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7541 to compile strcasecmp and strncasecmp.
7542 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7543 strcasecmp_l and strncasecmp_l.
7544 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7545 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7546 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7547 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7548 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7549 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7550 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7551 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7552 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7553 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7554 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7555
ab26144e
UD
75562011-11-12 Ulrich Drepper <drepper@gmail.com>
7557
7edb22ef
UD
7558 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7559 result of SYSDEP_GETTIME_CPU to retval.
7560 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7561 parameter list to macro. Remove trailing semicolon. Adjust users.
7562
9694fc44
UD
7563 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7564 variable.
7565
8ad89ef8
UD
7566 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7567 mantissa words.
7568 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7569
0c822ef9
UD
7570 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7571 from unused variable.
7572
874e0564
UD
7573 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7574 DWARF definitions.
7575 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7576 for assembling.
7577
3a2edc79
UD
7578 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7579 over namespaces.
7580
f3c2577f
UD
7581 * sunrpc/rpc_prot.c (rejected): Fix case value.
7582
294ce126
UD
7583 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7584 unsigned long long int to avoid warnings in shift.
7585
5e2b63c6
UD
7586 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7587 of use of trans.
7588 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7589 variable tmp.
7590
e7f4b08e
UD
7591 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7592 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7593 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7594
ab26144e
UD
7595 * nis/nis_table.c (nis_list): Use variable of correct type for
7596 result of __follow_path call.
7597
8a6d5255
AZ
75982011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7599
7600 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7601 of math functions ceil, trunc, floor, round, and sqrt, when
7602 avaliable on the platform.
7603 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7604 name clash.
7605 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7606 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7607 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7608
aaddc98c
MP
76092011-10-30 Marek Polacek <mpolacek@redhat.com>
7610
7611 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7612 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7613
95b7042b
RM
76142011-11-11 Roland McGrath <roland@hack.frob.com>
7615
7616 * include/unistd.h: Fix __readlink return type.
7617 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7618
57769839
UD
76192011-11-11 Ulrich Drepper <drepper@gmail.com>
7620
7621 * stdlib/ucontext.h: Undo last change for makecontext.
7622
edc5984d
AS
76232011-11-11 Andreas Schwab <schwab@redhat.com>
7624
98591e58
AS
7625 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7626
edc5984d
AS
7627 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7628 * setjmp/setjmp.h: Mark functions as non-leaf.
7629 * setjmp/bits/setjmp2.h: Likewise.
7630 * stdlib/ucontext.h: Likewise.
7631
77cdc054
AS
76322011-11-10 Andreas Schwab <schwab@redhat.com>
7633
7634 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7635 (reused_arena): Don't check arena limit.
7636 (arena_get2): Atomically check arena limit.
7637
fe72eebd
UD
76382011-11-08 Ulrich Drepper <drepper@gmail.com>
7639
5f078c32
UD
7640 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7641 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7642
fe72eebd
UD
7643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7644 instructions.
7645
ae1bc2fa
AS
76462011-11-07 Andreas Schwab <schwab@redhat.com>
7647
7583a88d
AS
7648 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7649 handler when locking.
7650
ae1bc2fa
AS
7651 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7652 Fix size of allocated buffer.
7653
10fb0bfa
AS
76542011-11-04 Andreas Schwab <schwab@redhat.com>
7655
998832a4
AS
7656 [BZ #10103]
7657 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7658 declarations for long double functions.
7659 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7660
10fb0bfa
AS
7661 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7662
3d7ba52b
AS
76632011-11-03 Andreas Schwab <schwab@redhat.com>
7664
a9ae54a1
AS
7665 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7666 installed.
7667
3d7ba52b
AS
7668 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7669 is disabled.
7670
bc8db248
ST
76712011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7672
7673 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7674
45b96dd6
AS
76752011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7676
647776f6
AS
7677 * include/alloca.h (stackinfo_alloca_round): Define.
7678 (extend_alloca): Use it.
7679 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7680 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7681 here.
7682
d91a8b93
AS
7683 * scripts/check-local-headers.sh: Ignore libaudit.h.
7684
45b96dd6
AS
7685 * nscd/Makefile (extra-objs): Make recursively expanded.
7686
432d41ce
UD
76872011-11-01 Ulrich Drepper <drepper@gmail.com>
7688
34372fc6
UD
7689 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7690 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7691
fadb59f8
UD
7692 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7693 * posix/tst-rfc3484-2.c: Likewise.
7694 * posix/tst-rfc3484-3.c: Likewise.
7695
78239589
UD
7696 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7697 process_vm_writev.
7698 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7699 process_vm_writev.
7700 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7701 process_vm_writev from libc using GLIBC_2.15 version.
7702
432d41ce
UD
7703 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7704
02f9c6cf
PP
77052011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7706
7707 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7708 stack usage.
7709
3a2c0242
UD
77102011-10-31 Ulrich Drepper <drepper@gmail.com>
7711
f4ec4833
UD
7712 [BZ #13367]
7713 * nss/getent.c (initgroups_keys): Show error message in case no group
7714 names are given.
7715
3a2c0242
UD
7716 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7717 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7718 __bump_nl_timestamp.
7719 * nscd/connections (nscd_init): When host database is served open
7720 netlink socket and request notification about configuration changes.
7721 (main_loop_poll): Track netlink file descriptor and bump timestamp
7722 in case data becomes available.
7723 (main_loop_epoll): Likewise.
7724 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7725 (database_pers_head): Add extra_data fileds.
7726 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7727 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7728 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7729 Adjust caller.
7730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7731 in6ai data, call __free_in6ai.
7732 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7733 Add -DHAVE_NETLINK.
7734 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7735 interface information. Reuse previous data if netlink timestamp
7736 is not changed.
7737 (__bump_nl_timestamp): New function.
7738 (__free_in6ai): New function.
7739
636064eb
UD
77402011-10-30 Ulrich Drepper <drepper@gmail.com>
7741
7742 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7743 close_not_cancel_no_status here.
7744 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7745
9beb2334
UD
77462011-10-29 Ulrich Drepper <drepper@gmail.com>
7747
6ef76f3b
UD
7748 [BZ #13276]
7749 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7750 return value.
7751
0ffc4f3e 7752 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7753 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7754 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7755
cb95113e
UD
77562011-07-03 Andreas Jaeger <aj@suse.de>
7757
7758 [BZ #10709]
7759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7760 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7761 * math/libm-test.inc (sin_test): Add test case.
7762
a1b560ff
UD
77632011-10-29 Ulrich Drepper <drepper@gmail.com>
7764
c9aaface
UD
7765 [BZ #13337]
7766 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7767 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7768
d272e7f1
UD
7769 * elf/chroot_canon.c (chroot_canon): Cleanups.
7770
1bc33071
UD
7771 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7772
1760874d
TJ
7773 [BZ #13335]
7774 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7775 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7776
51d91b18
UD
7777 * string/test-strchr.c: Make usable for strchrnul testing.
7778 * string/test-strchrnul.c: New file.
7779 * string/Makefile (strop-tests): Add strchrnul.
7780
a1b560ff 7781 * po/it.po: Update from translation team.
b611fb81 7782 * po/es.po: Likewise.
a1b560ff 7783
a5b81e1f
UD
77842011-10-28 Ulrich Drepper <drepper@gmail.com>
7785
fd52bc6d
UD
7786 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7787 the three constants needed as parameters. Drop the others.
7788 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7789 __m128i_strloadu_tolower.
52e4b9eb
UD
7790 Create and initialize variable zero and use it in all the places
7791 where _mm_setzero_si128 was used.
fd52bc6d 7792
a5b81e1f
UD
7793 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7794 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7795 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7796 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7797 anymore.
7798 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7799 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7800 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7801 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7802 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7803 __mpranred, __mptan.
7804 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7805 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7806 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7807 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7808 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7809 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7810 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7811 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7812 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7813
b4343346
AS
78142011-10-28 Andreas Schwab <schwab@redhat.com>
7815
0c92d8a8
AS
7816 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7817 redefine if SHARED.
7818 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7819
b4343346
AS
7820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7821 wide char related routines to wcsmbs subdir.
7822
3871f58f
AS
78232011-10-27 Andreas Schwab <schwab@redhat.com>
7824
7825 [BZ #13344]
7826 * misc/sys/cdefs.h (__THROWNL): Define.
7827 * posix/unistd.h: Use __THREADNL instead of __THREAD
7828 for memory synchronization functions.
7829
94d44d9f
RM
78302011-10-26 Roland McGrath <roland@hack.frob.com>
7831
21b64b15 7832 [BZ #13349]
94d44d9f
RM
7833 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7834 doesn't exist.
7835 * manual/stdio.texi (Obstack Streams): Node removed.
7836
f6ce9294
AS
78372011-10-26 Andreas Schwab <schwab@redhat.com>
7838
80479147
AS
7839 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7841 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7842
f6ce9294
AS
7843 * math/math_private.h (math_force_eval): Allow non-addressable
7844 arguments.
7845 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7846
618280a1
UD
78472011-10-25 Ulrich Drepper <drepper@gmail.com>
7848
e0016b11
UD
7849 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7850 file is not needed.
7851
7852 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7853 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7854 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7855 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7857 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7858 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7859 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7860 Add AVX variants.
7861 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7862 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7863 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7864 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7865 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7866 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7867 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7868 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7869 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7870 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7871 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7872 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7873 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7874 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7875 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7876 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7877 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7878 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7879 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7880
7881 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7882 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7883
618280a1
UD
7884 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7885 place. Use VEX encoding when compiling for AVX.
7886
37822576
AS
78872011-10-25 Andreas Schwab <schwab@redhat.com>
7888
1f1e1947
AS
7889 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7890 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7891
37822576
AS
7892 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7893
31ea014d
UD
78942011-10-25 Ulrich Drepper <drepper@gmail.com>
7895
d7826aa1 7896 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7897 useless if() expression.
d7826aa1
UD
7898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7899 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7900 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7901 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7902 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7903 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7904 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7905 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7906 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7907 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7908 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7909 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7910 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7911 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7912 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7913 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7916 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7917
31ea014d
UD
7918 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7919
16437fec
AS
79202011-10-25 Andreas Schwab <schwab@redhat.com>
7921
7922 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7923 condition.
7924 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7925
31d3cc00
UD
79262011-10-25 Ulrich Drepper <drepper@gmail.com>
7927
7928 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7929 .text section. Avoid duplicate constants.
7930 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7932 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7937 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7938 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7939 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7940 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7941 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7942 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7943 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7944 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7946 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7947 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7950 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7951 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7952 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7953 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7954 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7955 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7956 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7957 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7958 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7959 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7960 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7961 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7963 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7964 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7965 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7966 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7967 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7968 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7969 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7970 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7971 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7972 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7973 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7974 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7975
58985aa9
UD
79762011-10-24 Ulrich Drepper <drepper@gmail.com>
7977
202c9deb
UD
7978 * sysdeps/x86_64/dla.h: Move to ...
7979 * sysdeps/x86_64/fpu/dla.h: ...here.
7980 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7981 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7982
af968f62
UD
7983 * config.make.in: Add have-mfma4 entry.
7984 * configure.in: Substitute libc_cv_cc_fma4.
7985 * math/Makefile (dbl-only-routines): Add sincostab.
7986 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7987 Use __sincostab not sincos.
7988 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7989 name is a macro.
7990 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7994 using __copysign.
7995 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7996 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7997 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7998 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7999 and __inv.
8000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8001 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8002 __copysign.
8003 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8004 define aliases when function name is a macro.
8005 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8006 sysdeps/ieee754/dbl-64/sincos.tbl.
8007 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8008 fma4-enabled routines.
8009 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8010 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8011 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8012 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8013 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8014 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8015 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8016 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8017 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8018 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8019 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8021 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8022 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8023 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8024 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8025 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8026 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8027 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8028 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8029 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8030 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8031 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8032 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8034 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8035 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8036 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8037 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8038 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8039
58985aa9
UD
8040 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8041 rename.
8042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8050
a201fbcf
AS
80512011-10-24 Andreas Schwab <schwab@redhat.com>
8052
8053 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8054
fc2ee42a
LD
80552011-10-23 Ulrich Drepper <drepper@gmail.com>
8056
bb3129bd
UD
8057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8058
0275fff8
UD
8059 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8060 prediction.
8061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8062
2fa2ae85
UD
8063 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8064 Remove unused variable magic_bits.
8065 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8066
fc2ee42a
LD
8067 * string/strnlen.c: Define and use STRNLEN macro.
8068 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8069 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8071 * wcsmbs/wcslen.c: Define and use WCSLEN.
8072 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8073 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8074 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8075 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8076 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8077 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8078 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8079
ce7dd29f
LD
80802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8081
8082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8083 strnlen-sse2-no-bsf.
8084 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8086 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8087 Add strnlen support.
8088 (USE_AS_STRNLEN): New macro.
8089 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8090 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8091 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8092 * sysdeps/x86_64/wcslen.S: New file.
8093
979c70a3
MZ
80942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8095
8096 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8097 XMM-moves are used for copying on small sizes.
8098
2d09f82f
LD
80992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8100
8101 * wcsmbs/Makefile (strop-tests): Add wcschr.
8102 * wcsmbs/test-wcschr.c: New file.
8103 * string/test-strchr.c: Update.
8104 Add wcschr support.
8105 (WIDE): New macro.
8106
619fccca
LD
81072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8108
2d09f82f 8109 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8110 * wcsmbs/test-wcslen.c: New file.
8111 * string/test-strlen.c: Update.
8112 Add wcslen support.
8113 (WIDE): New macro.
8114
09f699ea
UD
81152011-10-23 Ulrich Drepper <drepper@gmail.com>
8116
8117 * po/it.po: Update from translation team.
8118
95584d3b
LD
81192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8120
8121 * sysdeps/x86_64/wcscmp.S: Update.
8122 Fix wrong comparison semantics.
8123 wcscmp shall use signed comparison not unsigned.
8124 Don't use substraction to avoid overflow bug.
8125 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8126 * wcsmbc/wcscmp.c: Likewise.
8127 * string/test-strcmp.c: Likewise.
8128 Add new tests to check cases with negative values.
8129
c8b3296b
UD
81302011-10-23 Ulrich Drepper <drepper@gmail.com>
8131
8132 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8133 * sysdeps/x86_64/dla.h: ...here. New file.
8134 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8143
246ad57a
AS
81442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8145
8146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8147 __ynl_finite aliases.
8148
a1a87169
UD
81492011-10-22 Ulrich Drepper <drepper@gmail.com>
8150
0d355eb7
UD
8151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8152
a1a87169
UD
8153 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8154 define DLA_FMA.
8155 [DLA_FMA] (EMULV): Use DLA_FMA.
8156 [DLA_FMA] (MUL12): Use EMULV.
8157 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8158 that are not needed.
8159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8166
ee2aafe0
AS
81672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8168
8169 * math/s_nan.c: Undef __nan.
8170 * math/s_nanf.c: Undef __nanf.
8171 * math/s_nanl.c: Undef __nanl.
8172 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8173 "math_private.h".
8174
bc62c2fb
UD
81752011-10-22 Ulrich Drepper <drepper@gmail.com>
8176
77425c63
UD
8177 * math/s_catan.c: Add branch predictions.
8178 * math/s_catanf.c: Likewise.
8179 * math/s_catanh.c: Likewise.
8180 * math/s_catanhf.c: Likewise.
8181 * math/s_catanhl.c: Likewise.
8182 * math/s_catanl.c: Likewise.
8183 * math/s_cexp.c: Likewise.
8184 * math/s_cexpf.c: Likewise.
8185 * math/s_cexpl.c: Likewise.
8186 * math/s_clog.c: Likewise.
8187 * math/s_clog10.c: Likewise.
8188 * math/s_clog10f.c: Likewise.
8189 * math/s_clog10l.c: Likewise.
8190 * math/s_clogf.c: Likewise.
8191 * math/s_clogl.c: Likewise.
8192 * math/s_csqrt.c: Likewise.
8193 * math/s_csqrtf.c: Likewise.
8194 * math/s_csqrtl.c: Likewise.
8195 * math/s_ctanf.c: Likewise.
8196 * math/s_ctanh.c: Likewise.
8197 * math/s_ctanhf.c: Likewise.
8198 * math/s_ctanhl.c: Likewise.
8199 * math/s_ctanl.c: Likewise.
8200
bc62c2fb
UD
8201 * math/math_private.h: Define __nan, __nanf, __nanl.
8202 * math/s_cacosh.c: Include <math_private.h>.
8203 * math/s_cacoshl.c: Likewise.
8204 * math/s_casinh.c: Likewise.
8205 * math/s_casinhf.c: Likewise.
8206 * math/s_casinhl.c: Likewise.
8207 * math/s_ccos.c: Rely entire on ccosh.
8208 * math/s_ccosf.c: Rely entire on ccoshf.
8209 * math/s_ccosl.c: Rely entirely on ccoshl.
8210 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8211 Remove tests for FE_INVALID.
8212 * math/s_ccoshf.c: Likewise.
8213 * math/s_ccoshl.c: Likewise.
8214 * math/s_csin.c: Likewise.
8215 * math/s_csinf.c: Likewise.
8216 * math/s_csinh.c Likewise.
8217 * math/s_csinhf.c: Likewise.
8218 * math/s_csinhl.c: Likewise.
8219 * math/s_csinl.c: Likewise.
8220 * math/s_ctan.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8222 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8223 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8224
8ec250a4
UD
82252011-10-21 Ulrich Drepper <drepper@gmail.com>
8226
c196fed8
UD
8227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8228 compilation problems.
8229
8ec250a4
UD
8230 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8231 __builtin_expect.
8232
8d4f46c6
UD
82332011-10-20 Ulrich Drepper <drepper@gmail.com>
8234
ed72b654
UD
8235 * sysdeps/i386/configure.in: Test for -mfma4 option.
8236 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8237 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8238 COMMON_CPUID_INDEX_80000001.
8239 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8240 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8241 use it if FMA3 is not supported.
8242 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8243
8d4f46c6
UD
8244 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8245 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8246
d45c60c2
AS
82472011-10-20 Andreas Schwab <schwab@redhat.com>
8248
8249 [BZ #12892]
8250 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8251 it would create a cycle with a link time dependency.
8252
d9a4d2ab
UD
82532011-10-19 Ulrich Drepper <drepper@gmail.com>
8254
855d1560
UD
8255 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8256 instruction.
8257 * string/Makefile (strop-tests): Add rawmemchr.
8258 * string/test-rawmemchr.c: New file.
8259
d9a4d2ab
UD
8260 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8261 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8262 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8263 when compiling str{,n}casecmp and when AVX is available. Hook up
8264 new optimized code in initializers.
8265
8f3b1ffe
AS
82662011-10-19 Andreas Schwab <schwab@redhat.com>
8267
8268 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8269 __feraiseexcept instead of feraiseexcept.
8270
d38f1dba
UD
82712011-10-18 Ulrich Drepper <drepper@gmail.com>
8272
d9a8d0ab
UD
8273 * math/math_private.h: Define defaults for libc_fetestexcept and
8274 libc_feupdateenv.
8275 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8276 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8277 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8278 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8279 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8280 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8281 libc_fetestexcept and libc_feupdateenv.
8282
4855e3dd
UD
8283 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8284 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8285 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8286 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8287 libc_feholdexcept_setround.
8288
581d30e3
UD
8289 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8290 Add s_nearbyint-c and s_nearbyintf-c.
8291 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8292 nearbyintf inlines.
8293 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8294 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8295 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8296 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8297
d38f1dba
UD
8298 * math/math_private.h: Define defaults for libc_fegetround,
8299 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8300 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8301 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8302 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8303 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8304 standard functions.
8305 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8306 Remove comments and hacks for old compiler versions.
8307 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8308 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8309 libc_feholdexceptl.
8310
caa6c9d8
AS
83112011-10-18 Andreas Schwab <schwab@redhat.com>
8312
8313 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8314 (__feraiseexcept_renamed): Add __NTH.
8315 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8316 namespace violations.
8317
97c066e6
UD
83182011-10-17 Ulrich Drepper <drepper@gmail.com>
8319
99ce7b04
UD
8320 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8321
1004d182
UD
8322 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8323
228a984d
UD
8324 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8325 recently added interfaces.
8326 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8327
c8553a6a
UD
8328 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8329 about macro parameter expansion.
8330
ed22dcf6
UD
8331 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8332 __NO_MATH_INLINES is defined. Cleanups.
8333
8334 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8335 and __floorf is target has SSE4.1.
8336 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8337 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8338 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8339 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8340
b171c137
UD
8341 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8342 name.
8343 (floorf): Likewise.
8344
97c066e6
UD
8345 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8346
629f62ef
AS
83472011-10-17 Andreas Schwab <schwab@redhat.com>
8348
49a43d80
AS
8349 * misc/sys/cdefs.h: Fix last change.
8350
629f62ef
AS
8351 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8352 database lookup.
8353
e453f6cd
UD
83542011-10-16 Ulrich Drepper <drepper@gmail.com>
8355
aa78043a
UD
8356 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8357
ad0f5cad
UD
8358 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8359 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8360 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8361 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8363 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8364 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8365 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8366 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8367 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8368 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8369 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8370 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8371 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8372 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8373 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8374 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8375 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8376 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8377 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8378 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8379 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8380
8381 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8382 ceil, ceilf, floor, floorf.
8383
8384 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8385 Perform IRELATIVE relocations last.
8386
e453f6cd
UD
8387 * elf/do-rel.h: Add another parameter nrelative, replacing the
8388 local variable with the same name. Change name of the function
8389 to end in Rel or Rela (uppercase).
8390 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8391 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8392 elf_dynamic_do_##reloc function.
8393
fd5bdc09
UD
83942011-10-15 Ulrich Drepper <drepper@gmail.com>
8395
79b195b5
UD
8396 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8397 is sufficient, at least on modern CPUs.
8398
d4a28569
UD
8399 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8400
b61099b5
UD
8401 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8402 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8403
bcf01e6d
UD
8404 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8405 __expl_finite.
8406 * math/bits/math-finite.h: Add entries for exp.
8407 * math/e_expl.c: Add __*_finite alias.
8408 * sysdeps/i386/fpu/e_exp.S: Likewise.
8409 * sysdeps/i386/fpu/e_expf.S: Likewise.
8410 * sysdeps/i386/fpu/e_expl.c: Likewise.
8411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8412 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8415 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8416 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8417 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8418
ba1a0d59
UD
8419 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8420 is sufficient, at least on modern CPUs.
8421
fd5bdc09
UD
8422 * ctype/ctype-info.c (__ctype_init): Define.
8423 * include/ctype.h (__ctype_init): Declare.
8424 (__ctype_b_loc): The variable is always initialized.
8425 (__ctype_toupper_loc): Likewise.
8426 (__ctype_tolower_loc): Likewise.
8427 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8428 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8429
7872cfb0
AS
84302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8431
b468825a
AS
8432 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8433
7872cfb0
AS
8434 * configure.in: Also look in $cxxmachine/include for C++ system
8435 headers.
8436
be13f7bf
LD
84372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8438
8439 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8440 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8441 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8442 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8443 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8444 (USE_AS_WMEMCMP): New macro.
8445 Fixing indents.
8446 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8447 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8448 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8449 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8451 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8452 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8453 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8454 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8455 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8456 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8457 (USE_AS_WMEMCMP): New macro.
8458 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8459 * sysdeps/string/test-memcmp.c: Update.
8460 Fix simple_wmemcmp.
8461 Add new tests.
8462 * wcsmbs/wmemcmp.c: Update.
8463 (WMEMCMP): New macro.
8464 Fix overflow bug.
8465
556a2007
AJ
84662011-10-12 Andreas Jaeger <aj@suse.de>
8467
8468 [BZ #13268]
8469 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8470
538faaa7
UD
84712011-10-15 Ulrich Drepper <drepper@gmail.com>
8472
ab6737ff
UD
8473 * libio/iofwide.c (do_length): Avoid warning.
8474
538faaa7
UD
8475 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8476
396a21b1
UD
84772011-10-14 Ulrich Drepper <drepper@gmail.com>
8478
cdf2901f
UD
8479 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8480
38ad40ce
UD
8481 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8482 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8483 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8484 * sysdeps/i386/i686/fpu/e_log.S: New file.
8485 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8486 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8487
396a21b1
UD
8488 * ctype/ctype.h: Add support for inlined isXXX functions when
8489 compiling C++ code.
8490
6b1f68c9
AS
84912011-10-14 Andreas Schwab <schwab@redhat.com>
8492
349290c0
AS
8493 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8494
6b1f68c9
AS
8495 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8496
f2282d42
RM
84972011-10-13 Roland McGrath <roland@hack.frob.com>
8498
8499 [BZ #13291]
8500 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8501
5298ffa8
AS
85022011-10-13 Andreas Schwab <schwab@redhat.com>
8503
714fad23
AS
8504 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8505 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8506 feraiseexcept.
8507
81dcc7fb
AS
8508 * sysdeps/x86_64/memrchr.S: Check for zero size.
8509
5298ffa8
AS
8510 * string/stratcliff.c: Add memrchr tests.
8511
951fbcec
LD
85122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8513
8514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8515 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8516 rawmemchr-sse2 rawmemchr-sse2-bsf.
8517 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8518 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8519 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8520 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8521 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8522 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8523 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8524 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8525 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8526 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8527 * string/memrchr.c (MEMRCHR): New macro.
8528
0ac5ae23
UD
85292011-10-12 Ulrich Drepper <drepper@gmail.com>
8530
8531 Add integration with gcc's -ffinite-math-only and optimize wrapper
8532 functions in libm.
8533 * Versions.def: Define GLIBC_2.15 version for libm.
8534 * math/Makefile (headers): Add bits/math-finite.h.
8535 * math/bits/math-finite.h: New file.
8536 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8537 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8538 * math/e_acoshl.c: Add __*_finite alias.
8539 * math/e_acosl.c: Likewise.
8540 * math/e_asinl.c: Likewise.
8541 * math/e_atan2l.c: Likewise.
8542 * math/e_atanhl.c: Likewise.
8543 * math/e_coshl.c: Likewise.
8544 * math/e_exp10.c: Likewise.
8545 * math/e_exp10f.c: Likewise.
8546 * math/e_exp10l.c: Likewise.
8547 * math/e_exp2l.c: Likewise.
8548 * math/e_fmodl.c: Likewise.
8549 * math/e_gammal_r.c: Likewise.
8550 * math/e_hypotl.c: Likewise.
8551 * math/e_j0l.c: Likewise.
8552 * math/e_j1l.c: Likewise.
8553 * math/e_jnl.c: Likewise.
8554 * math/e_lgammal_r.c: Likewise.
8555 * math/e_log10l.c: Likewise.
8556 * math/e_log2l.c: Likewise.
8557 * math/e_logl.c: Likewise.
8558 * math/e_powl.c: Likewise.
8559 * math/e_sinhl.c: Likewise.
8560 * math/e_sqrtl.c: Likewise.
8561 * math/e_scalb.c: Completely rewritten and optimized.
8562 * math/e_scalbf.c: Likewise.
8563 * math/e_scalbl.c: Likewise.
8564 * math/w_acos.c: Likewise.
8565 * math/w_acosf.c: Likewise.
8566 * math/w_acosl.c: Likewise.
8567 * math/w_acosh.c: Likewise.
8568 * math/w_acoshf.c: Likewise.
8569 * math/w_acoshl.c: Likewise.
8570 * math/w_asin.c: Likewise.
8571 * math/w_asinf.c: Likewise.
8572 * math/w_asinl.c: Likewise.
8573 * math/w_atan2.c: Likewise.
8574 * math/w_atan2f.c: Likewise.
8575 * math/w_atan2l.c: Likewise.
8576 * math/w_atanh.c: Likewise.
8577 * math/w_atanhf.c: Likewise.
8578 * math/w_atanhl.c: Likewise.
8579 * math/w_exp10.c: Likewise.
8580 * math/w_exp10f.c: Likewise.
8581 * math/w_exp10l.c: Likewise.
8582 * math/w_fmod.c: Likewise.
8583 * math/w_fmodf.c: Likewise.
8584 * math/w_fmodl.c: Likewise.
8585 * math/w_j0.c: Likewise.
8586 * math/w_j0f.c: Likewise.
8587 * math/w_j0l.c: Likewise.
8588 * math/w_j1.c: Likewise.
8589 * math/w_j1f.c: Likewise.
8590 * math/w_j1l.c: Likewise.
8591 * math/w_jn.c: Likewise.
8592 * math/w_jnf.c: Likewise.
8593 * math/w_log.c: Likewise.
8594 * math/w_logf.c: Likewise.
8595 * math/w_logl.c: Likewise.
8596 * math/w_log10.c: Likewise.
8597 * math/w_log10f.c: Likewise.
8598 * math/w_log10l.c: Likewise.
8599 * math/w_log2.c: Likewise.
8600 * math/w_log2f.c: Likewise.
8601 * math/w_log2l.c: Likewise.
8602 * math/w_pow.c: Likewise.
8603 * math/w_powf.c: Likewise.
8604 * math/w_powl.c: Likewise.
8605 * math/w_remainder.c: Likewise.
8606 * math/w_remainderf.c: Likewise.
8607 * math/w_remainderl.c: Likewise.
8608 * math/w_scalb.c: Likewise.
8609 * math/w_scalbf.c: Likewise.
8610 * math/w_scalbl.c: Likewise.
8611 * math/w_sqrt.c: Likewise.
8612 * math/w_sqrtf.c: Likewise.
8613 * math/w_sqrtl.c: Likewise.
8614 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8615 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8616 used.
8617 * math/math_private.h: Declare __kernel_standard_f.
8618 * math/w_cosh.c: Remove cruft and optimize a bit.
8619 * math/w_coshf.c: Likewise.
8620 * math/w_coshl.c: Likewise.
8621 * math/w_exp2.c: Likewise.
8622 * math/w_exp2f.c: Likewise.
8623 * math/w_exp2l.c: Likewise.
8624 * math/w_hypot.c: Likewise.
8625 * math/w_hypotf.c: Likewise.
8626 * math/w_hypotl.c: Likewise.
8627 * math/w_lgamma.c: Likewise.
8628 * math/w_lgamma_r.c: Likewise.
8629 * math/w_lgammaf.c: Likewise.
8630 * math/w_lgammaf_r.c: Likewise.
8631 * math/w_lgammal.c: Likewise.
8632 * math/w_lgammal_r.c: Likewise.
8633 * math/w_sinh.c: Likewise.
8634 * math/w_sinhf.c: Likewise.
8635 * math/w_sinhl.c: Likewise.
8636 * math/w_tgamma.c: Likewise.
8637 * math/w_tgammaf.c: Likewise.
8638 * math/w_tgammal.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8640 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8641 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8642 Minor optimizations. Pretty printing. Remove cruft.
8643 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8644 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8645 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8646 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8647 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8648 * sysdeps/i386/fpu/e_asin.S: Likewise.
8649 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8650 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8651 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8652 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8653 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8654 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8656 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8657 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8658 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8659 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8660 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8661 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8662 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8663 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8664 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8665 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8666 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8667 * sysdeps/i386/fpu/e_log.S: Likewise.
8668 * sysdeps/i386/fpu/e_log10.S: Likewise.
8669 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8670 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8671 * sysdeps/i386/fpu/e_log2.S: Likewise.
8672 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8673 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8674 * sysdeps/i386/fpu/e_logf.S: Likewise.
8675 * sysdeps/i386/fpu/e_logl.S: Likewise.
8676 * sysdeps/i386/fpu/e_pow.S: Likewise.
8677 * sysdeps/i386/fpu/e_powf.S: Likewise.
8678 * sysdeps/i386/fpu/e_powl.S: Likewise.
8679 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8680 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8681 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8682 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8683 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8684 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8685 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8686 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8687 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8709 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8710 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8711 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8712 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8713 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8714 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8715 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8716 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8717 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8718 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8719 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8720 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8721 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8722 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8723 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8724 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8725 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8726 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8727 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8728 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8729 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8768 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8773 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8776 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8779 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8780 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8781 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8782 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8783 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8784 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8785 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8786 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8787 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8788 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8789 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8790 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8791 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8792 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8793 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8794 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8795 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8796 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8797 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8798 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8799 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8800 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8801 (__isnanf): Likewise.
8802 (__isinf_ns): Likewise.
8803 (__isinf_nsf): Likewise.
8804 (__finite): Likewise.
8805 (__finitef): Likewise.
8806 (__ieee754_sqrt): Define as macro.
8807 (__ieee754_sqrtf): Define as macro.
8808 (__ieee754_sqrtl): Define as macro.
8809 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8810 inlined copy.
8811 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8812 __FINITE_MATH_ONLY__ consistent.
8813 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8814
12cc2fcd
AS
88152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8816
a843a204
AS
8817 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8818 of rawmemchr.
8819
12cc2fcd
AS
8820 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8821
c853acd5
UD
88222011-10-09 Ulrich Drepper <drepper@gmail.com>
8823
8824 * po/ja.po: Update from translation team.
8825
c658d255
RM
88262011-10-08 Roland McGrath <roland@hack.frob.com>
8827
110946e4
RM
8828 * locale/programs/locarchive.c (prepare_address_space): New function.
8829 (create_archive, enlarge_archive, open_archive): Use it.
8830
50604220
RM
8831 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8832 inside [SHARED], where it is used.
8833
c658d255
RM
8834 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8835
8836 * nss/getent.c (netgroup_keys): Remove unused variable.
8837 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8838
6a621eb7
UD
88392011-10-08 Ulrich Drepper <drepper@gmail.com>
8840
7edb55ce
UD
8841 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8842 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8844 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8845 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8846 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8847 * math/Makefile (libm-calls): Add s_isinf_ns.
8848 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8849 * math/multc3.c: Likewise.
8850 * math/s_casin.c: Likewise.
8851 * math/s_casinf.c: Likewise.
8852 * math/s_casinl.c: Likewise.
8853 * math/s_ccos.c: Likewise.
8854 * math/s_ccosf.c: Likewise.
8855 * math/s_ccosl.c: Likewise.
8856 * math/s_ctan.c: Likewise.
8857 * math/s_ctanf.c: Likewise.
8858 * math/s_ctanh.c: Likewise.
8859 * math/s_ctanhf.c: Likewise.
8860 * math/s_ctanhl.c: Likewise.
8861 * math/s_ctanl.c: Likewise.
8862 * math/w_fmod.c: Likewise.
8863 * math/w_fmodf.c: Likewise.
8864 * math/w_fmodl.c: Likewise.
8865 * math/w_remainder.c: Likewise.
8866 * math/w_remainderf.c: Likewise.
8867 * math/w_remainderl.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8869 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8870 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8872 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8873 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8874 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8875 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8876
187da0ae
UD
8877 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8878 of the number.
8879 * stdio-common/printf_fphex.c: Likewise.
8880 * stdio-common/printf_size.c: Likewise.
8881
9277c064
UD
8882 * math/e_exp10.c: Include math_private.h using <...> not "...".
8883 * math/e_exp10f.c: Likewise.
8884 * math/e_exp10l.c: Likewise.
8885 * math/e_exp2l.c: Likewise.
8886 * math/e_j0l.c: Likewise.
8887 * math/e_j1l.c: Likewise.
8888 * math/e_jnl.c: Likewise.
8889 * math/e_lgammal_r.c: Likewise.
8890 * math/e_rem_pio2l.c: Likewise.
8891 * math/e_scalb.c: Likewise.
8892 * math/e_scalbf.c: Likewise.
8893 * math/e_scalbl.c: Likewise.
8894 * math/k_cosl.c: Likewise.
8895 * math/k_sinl.c: Likewise.
8896 * math/k_tanl.c: Likewise.
8897 * math/s_cacoshf.c: Likewise.
8898 * math/s_catan.c: Likewise.
8899 * math/s_catanf.c: Likewise.
8900 * math/s_catanh.c: Likewise.
8901 * math/s_catanhf.c: Likewise.
8902 * math/s_catanhl.c: Likewise.
8903 * math/s_catanl.c: Likewise.
8904 * math/s_ccosh.c: Likewise.
8905 * math/s_ccoshf.c: Likewise.
8906 * math/s_ccoshl.c: Likewise.
8907 * math/s_cexp.c: Likewise.
8908 * math/s_cexpf.c: Likewise.
8909 * math/s_cexpl.c: Likewise.
8910 * math/s_clog.c: Likewise.
8911 * math/s_clog10.c: Likewise.
8912 * math/s_clog10f.c: Likewise.
8913 * math/s_clog10l.c: Likewise.
8914 * math/s_clogf.c: Likewise.
8915 * math/s_clogl.c: Likewise.
8916 * math/s_csin.c: Likewise.
8917 * math/s_csinf.c: Likewise.
8918 * math/s_csinh.c: Likewise.
8919 * math/s_csinhf.c: Likewise.
8920 * math/s_csinhl.c: Likewise.
8921 * math/s_csinl.c: Likewise.
8922 * math/s_csqrt.c: Likewise.
8923 * math/s_csqrtf.c: Likewise.
8924 * math/s_csqrtl.c: Likewise.
8925 * math/s_ctan.c: Likewise.
8926 * math/s_ctanf.c: Likewise.
8927 * math/s_ctanh.c: Likewise.
8928 * math/s_ctanhf.c: Likewise.
8929 * math/s_ctanhl.c: Likewise.
8930 * math/s_ctanl.c: Likewise.
8931 * math/s_ldexp.c: Likewise.
8932 * math/s_ldexpf.c: Likewise.
8933 * math/s_ldexpl.c: Likewise.
8934 * math/s_significand.c: Likewise.
8935 * math/s_significandf.c: Likewise.
8936 * math/s_significandl.c: Likewise.
8937 * math/w_acos.c: Likewise.
8938 * math/w_acosf.c: Likewise.
8939 * math/w_acosh.c: Likewise.
8940 * math/w_acoshf.c: Likewise.
8941 * math/w_acoshl.c: Likewise.
8942 * math/w_acosl.c: Likewise.
8943 * math/w_asin.c: Likewise.
8944 * math/w_asinf.c: Likewise.
8945 * math/w_asinl.c: Likewise.
8946 * math/w_atan2.c: Likewise.
8947 * math/w_atan2f.c: Likewise.
8948 * math/w_atan2l.c: Likewise.
8949 * math/w_atanh.c: Likewise.
8950 * math/w_atanhf.c: Likewise.
8951 * math/w_atanhl.c: Likewise.
8952 * math/w_cosh.c: Likewise.
8953 * math/w_coshf.c: Likewise.
8954 * math/w_coshl.c: Likewise.
8955 * math/w_dremf.c: Likewise.
8956 * math/w_exp10.c: Likewise.
8957 * math/w_exp10f.c: Likewise.
8958 * math/w_exp10l.c: Likewise.
8959 * math/w_exp2.c: Likewise.
8960 * math/w_exp2f.c: Likewise.
8961 * math/w_fmod.c: Likewise.
8962 * math/w_fmodf.c: Likewise.
8963 * math/w_fmodl.c: Likewise.
8964 * math/w_hypot.c: Likewise.
8965 * math/w_hypotf.c: Likewise.
8966 * math/w_hypotl.c: Likewise.
8967 * math/w_j0.c: Likewise.
8968 * math/w_j0f.c: Likewise.
8969 * math/w_j0l.c: Likewise.
8970 * math/w_j1.c: Likewise.
8971 * math/w_j1f.c: Likewise.
8972 * math/w_j1l.c: Likewise.
8973 * math/w_jn.c: Likewise.
8974 * math/w_jnf.c: Likewise.
8975 * math/w_jnl.c: Likewise.
8976 * math/w_lgamma.c: Likewise.
8977 * math/w_lgamma_r.c: Likewise.
8978 * math/w_lgammaf.c: Likewise.
8979 * math/w_lgammaf_r.c: Likewise.
8980 * math/w_lgammal.c: Likewise.
8981 * math/w_lgammal_r.c: Likewise.
8982 * math/w_log.c: Likewise.
8983 * math/w_log10.c: Likewise.
8984 * math/w_log10f.c: Likewise.
8985 * math/w_log10l.c: Likewise.
8986 * math/w_log2.c: Likewise.
8987 * math/w_log2f.c: Likewise.
8988 * math/w_log2l.c: Likewise.
8989 * math/w_logf.c: Likewise.
8990 * math/w_logl.c: Likewise.
8991 * math/w_pow.c: Likewise.
8992 * math/w_powf.c: Likewise.
8993 * math/w_powl.c: Likewise.
8994 * math/w_remainder.c: Likewise.
8995 * math/w_remainderf.c: Likewise.
8996 * math/w_remainderl.c: Likewise.
8997 * math/w_scalb.c: Likewise.
8998 * math/w_scalbf.c: Likewise.
8999 * math/w_scalbl.c: Likewise.
9000 * math/w_sinh.c: Likewise.
9001 * math/w_sinhf.c: Likewise.
9002 * math/w_sinhl.c: Likewise.
9003 * math/w_sqrt.c: Likewise.
9004 * math/w_sqrtf.c: Likewise.
9005 * math/w_sqrtl.c: Likewise.
9006 * math/w_tgamma.c: Likewise.
9007 * math/w_tgammaf.c: Likewise.
9008 * math/w_tgammal.c: Likewise.
9009
6a621eb7
UD
9010 * po/ja.po: Update from translation team.
9011
bf582445
AJ
90122011-09-29 Andreas Jaeger <aj@suse.de>
9013
f9efbf3a
AJ
9014 [BZ #13179]
9015 * sunrpc/netname.c (netname2host): Fix logic.
9016
bf582445
AJ
9017 [BZ #6779]
9018 [BZ #6783]
9019 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9020 correctly.
9021 * math/w_remainder.c (__remainder): Likewise.
9022 * math/w_remainderf.c (__remainderf): Likewise.
9023 * math/libm-test.inc (remainder_test): Add test cases.
9024
48693bea
AK
90252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9026
9027 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9028 sdiv_qrnnd.
9029
42622229
LD
90302011-10-07 Ulrich Drepper <drepper@gmail.com>
9031
9032 * string/test-memcmp.c: Avoid unncessary #defines.
9033 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9034
093ecf92
LD
90352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9036
9037 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9038 Use new sse2 version for core i3 - i7 as it's faster
9039 than sse42 version.
9040 (bit_Prefer_PMINUB_for_stringop): New.
9041 * sysdeps/x86_64/rawmemchr.S: Update.
9042 Replace with faster SSE2 version.
9043 * sysdeps/x86_64/memrchr.S: New file.
9044 * sysdeps/x86_64/memchr.S: Update.
9045 Replace with faster SSE2 version.
9046
fde56e5c
MP
90472011-09-12 Marek Polacek <mpolacek@redhat.com>
9048
9049 * elf/dl-load.c (lose): Add cast to avoid warning.
9050
21fd49a9
UD
90512011-10-07 Ulrich Drepper <drepper@gmail.com>
9052
5a06e643
UD
9053 * po/ca.po: Update from translation team.
9054
684ae515
UD
9055 * inet/getnetgrent_r.c: Hook up nscd.
9056 * nscd/Makefile (routines): Add nscd_netgroup.
9057 (nscd-modules): Add netgroupcache.
9058 (CFLAGS-netgroupcache.c): Define.
9059 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9060 (cache_search): Add const to second parameter.
9061 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9062 INNETGR.
9063 (dbs): Add netgrdb entry.
9064 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9065 (verify_persistent_db): Handle netgrdb.
9066 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9067 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9068 GETFDNETGR.
9069 (netgroup_response_header): Define.
9070 (innetgroup_response_header): Define.
9071 (datahead): Add netgroup_response_header and innetgroup_response_header
9072 elements.
9073 * nscd/nscd.conf: Add entries for netgroup cache.
9074 * nscd/nscd.h (dbtype): Add netgrdb.
9075 (_PATH_NSCD_NETGROUP_DB): Define.
9076 (netgroup_iov_disabled): Declare.
9077 (xmalloc, xcalloc, xrealloc): Move declarations here.
9078 (cache_search): Adjust prototype.
9079 Add netgroup-related prototypes.
9080 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9081 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9082 (__nscd_innetgr): Declare.
9083 * nscd/selinux.c (perms): Use access_vector_t as element type and
9084 add netgroup-related initializers.
9085 * nscd/netgroupcache.c: New file.
9086 * nscd/nscd_netgroup.c: New file.
9087 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9088 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9089 For four parameters use innetgr.
9090 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9091 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9092 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9093 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9094
21fd49a9
UD
9095 * nscd/connections.c (register_traced_file): Don't register file
9096 for disabled databases.
9097
054c0457
UD
90982011-10-06 Ulrich Drepper <drepper@gmail.com>
9099
32b63198
UD
9100 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9101
054c0457
UD
9102 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9103 from tree and freeing node.
9104
64031225
JO
91052011-09-25 Jiri Olsa <jolsa@redhat.com>
9106
9107 * nss/nsswitch.c (__nss_database_lookup): Handle
9108 nss_parse_service_list out of memory case.
9109
0490345c
JO
91102011-09-15 Jiri Olsa <jolsa@redhat.com>
9111
9112 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9113 out of memory case.
9114
3a62d00d
AS
91152011-10-04 Andreas Schwab <schwab@redhat.com>
9116
9117 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9118 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9119 pass it down.
9120 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9121 elf_machine_rela, elf_machine_lazy_rel.
9122 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9123 (ELF_DYNAMIC_DO_REL): Likewise.
9124 (ELF_DYNAMIC_DO_RELA): Likewise.
9125 (ELF_DYNAMIC_RELOCATE): Likewise.
9126 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9127 to ELF_DYNAMIC_DO_REL.
9128 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9129 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9130 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9131 elf_machine_rela.
9132 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9133 skip_ifunc, don't call ifunc function if non-zero.
9134 (elf_machine_rela): Likewise.
9135 (elf_machine_lazy_rel): Likewise.
9136 (elf_machine_lazy_rela): Likewise.
9137 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9138 (elf_machine_lazy_rel): Likewise.
9139 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9140 Likewise.
9141 (elf_machine_lazy_rel): Likewise.
9142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9143 Likewise.
9144 (elf_machine_lazy_rel): Likewise.
9145 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9146 (elf_machine_lazy_rel): Likewise.
9147 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9148 (elf_machine_lazy_rel): Likewise.
9149 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9150 (elf_machine_lazy_rel): Likewise.
9151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9152 (elf_machine_lazy_rel): Likewise.
9153 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9154 (elf_machine_lazy_rel): Likewise.
9155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9156 (elf_machine_lazy_rel): Likewise.
9157
68577918
UD
91582011-09-28 Ulrich Drepper <drepper@gmail.com>
9159
9160 * nss/nss_files/files-init.c (_nss_files_init): Use static
9161 initialization for all the *_traced_file variables.
9162
68822d74
AS
91632011-09-28 Andreas Schwab <schwab@redhat.com>
9164
9165 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9166
2056100b
RM
91672011-09-27 Roland McGrath <roland@hack.frob.com>
9168
9169 [BZ #13226]
9170 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9171
32c76b63
AS
91722011-09-27 Andreas Schwab <schwab@redhat.com>
9173
9174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9175 Reread the line before reparsing it.
9176
bf972c9d
AS
91772011-09-26 Andreas Schwab <schwab@redhat.com>
9178
9179 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9180
e057a1b5
JM
91812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9182 Maxim Kuvyrkov <maxim@codesourcery.com>
9183 Joseph Myers <joseph@codesourcery.com>
9184
9185 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9186 if needed for __stack_chk_guard.
9187
bc7e1c36
RM
91882011-09-19 Roland McGrath <roland@hack.frob.com>
9189
ecb1482f
RM
9190 * sysdeps/posix/spawni.c (script_execute): Always define it.
9191 It will be optimized away if unused.
9192 (maybe_script_execute): New function.
9193 (__spawni): Call it.
9194
bc7e1c36
RM
9195 * Makerules: Don't include tls.make.
9196 (config-tls): Always set to thread.
9197 * tls.make.c: File removed.
9198
1c3b002b
MF
91992011-09-19 Mike Frysinger <vapier@gentoo.org>
9200
9201 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9202 * config.make.in (CPPFLAGS-config): New substituted variable.
9203
2840865d
UD
92042011-09-15 Ulrich Drepper <drepper@gmail.com>
9205
88738eb6
UD
9206 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9207
cbf645a6 9208 [BZ #13192]
2840865d
UD
9209 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9210 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9211
b402e91a
RM
92122011-09-15 Roland McGrath <roland@hack.frob.com>
9213
9214 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9215 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9217 (CALL_FAIL): Likewise.
9218 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9219 (CALL_FAIL): Macro removed.
9220 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9221
4c1a1f71
UD
92222011-09-15 Ulrich Drepper <drepper@gmail.com>
9223
9224 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9225 for __FINITE_MATH_ONLY__ == 1.
9226
edc121be
AS
92272011-09-15 Andreas Schwab <schwab@redhat.com>
9228
9229 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9230 __ieee754_sqrt instead of sqrt.
9231 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9232 __ieee754_sqrtf instead of sqrtf.
9233 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9234 __floorf instead of floorf.
9235 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9236 __floorf, __truncf instead of floorf, truncf.
9237
cd205654
UD
92382011-09-14 Ulrich Drepper <drepper@gmail.com>
9239
ee4d0315
UD
9240 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9241
cd205654
UD
9242 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9243 __extern_always_inline.
9244 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9245 32-bit.
9246
48b67d71
AS
92472011-09-14 Andreas Schwab <schwab@redhat.com>
9248
9249 * elf/rtld.c (dl_main): Also relocate in dependency order when
9250 doing symbol dependency testing.
9251
1ae12c75
AS
92522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9253
9254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9255 Always define `refsym'.
9256
995a80df
AS
92572011-09-13 Andreas Schwab <schwab@redhat.com>
9258
e529793b
AS
9259 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9260 (__FD_ELT): Renamed from __FDELT.
9261 * misc/bits/select2.h (__FD_ELT): Likewise.
9262 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9263 __FD_MASK instead of __FDELT, __FDMASK.
9264 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9265 Likewise.
9266 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9267 Likewise.
9268
52d4fef8
AS
9269 * elf/Makefile (gen-ldd): Fix pattern.
9270
995a80df
AS
9271 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9272 (init_tls): Likewise.
9273
8682f8b0
UD
92742011-09-12 Ulrich Drepper <drepper@gmail.com>
9275
9276 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9277
de82006d
AS
92782011-09-12 Andreas Schwab <schwab@redhat.com>
9279
a7c8e6a1
AS
9280 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9281 `struct cmsghdr *' instead of `void *'.
9282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9283 Likewise.
9284
0f31fe77
AS
92852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9286
9287 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9288 if non-absolute.
9289 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9290 ldd_rewrite_script.
0f31fe77 9291
32b4c839
UD
92922011-09-11 Ulrich Drepper <drepper@gmail.com>
9293
83cd1420
UD
9294 * configure.in: Remove --with-tls option.
9295 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9296 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9297 out in case it is missing.
9298 * sysdeps/ia64/elf/configure.in: Likewise.
9299 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9300 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9301 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9302 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9303 * sysdeps/sh/elf/configure.in: Likewise.
9304 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9305 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9306 * sysdeps/x86_64/elf/configure.in: Likewise.
9307 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9308 * sysdeps/mach/hurd/tls.h: Likewise.
9309
633f745d
UD
9310 [BZ #13067]
9311 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9312
f318beb8
UD
9313 [BZ #13090]
9314 * configure.in: Fix use of AC_INIT.
9315
32b4c839
UD
9316 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9317
3ce1f295
UD
93182011-09-10 Ulrich Drepper <drepper@gmail.com>
9319
bb016596
UD
9320 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9321 __set_errno.
8e58439c
UD
9322 * malloc/hooks.c: Likewise.
9323
aebae053 9324 [BZ #11929]
02d46fc4
UD
9325 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9326 variables statically.
9327 (narenas): Initialize.
9328 (list_lock): Initialize.
bb016596
UD
9329 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9330 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9331 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9332 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9333 Add initializers to main_arena and mp_.
9334 (malloc_state): Remove pagesize member. Change all users to use
9335 GLRO(dl_pagesize).
9336
9337 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9338 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9339 is always initialized.
9340
22a89187
UD
9341 * malloc/malloc.c: Removed unused configurations and dead code.
9342 * malloc/arena.c: Likewise.
9343 * malloc/hooks.c: Likewise.
02d46fc4 9344 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9345
d063d164
UD
9346 * include/tls.h: Removed. USE___THREAD must always be defined.
9347 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9348 * elf/dl-libc.c: Likewise.
9349 * elf/dl-tsd.c: Likewise.
9350 * include/errno.h: Likewise.
9351 * include/netdb.h: Likewise.
9352 * include/resolv.h: Likewise.
9353 * inet/herrno-loc.c: Likewise.
9354 * inet/herrno.c: Likewise.
9355 * malloc/arena.c: Likewise.
9356 * malloc/hooks.c: Likewise.
9357 * malloc/malloc.c: Likewise.
9358 * resolv/res-state.c: Likewise.
9359 * resolv/res_libc.c: Likewise.
9360 * sysdeps/i386/dl-machine.h: Likewise.
9361 * sysdeps/ia64/dl-machine.h: Likewise.
9362 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9363 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9364 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9365 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9366 * sysdeps/sh/dl-machine.h: Likewise.
9367 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9368 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9369 * sysdeps/unix/i386/sysdep.S: Likewise.
9370 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9371 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9376 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9380 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9381 * sysdeps/x86_64/dl-machine.h: Likewise.
9382 * tls.make.c: Likewise.
9383
3ce1f295
UD
9384 * configure.in: Remove --with-__thread option. Make tests for
9385 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9386 tls_model attribute fail if no support is available. Remove
9387 USE_IN_LIBIO.
9388 * Makeconfig: Adjust for dropped configure option. All features are
9389 now mandatory.
9390 * Makerules: Likewise.
9391 * Versions.def: Likewise.
9392 * argp/argp-fmtstream.c: Likewise.
9393 * argp/argp-fmtstream.h: Likewise.
9394 * argp/argp-help.c: Likewise.
9395 * assert/assert.c: Likewise.
9396 * config.h.in: Likewise.
9397 * config.make.in: Likewise.
9398 * configure: Likewise.
9399 * configure.in: Likewise.
9400 * csu/Versions: Likewise.
9401 * csu/init.c: Likewise.
9402 * elf/tst-audit2.c: Likewise.
9403 * elf/tst-tls10.c: Likewise.
9404 * elf/tst-tls10.h: Likewise.
9405 * elf/tst-tls11.c: Likewise.
9406 * elf/tst-tls12.c: Likewise.
9407 * elf/tst-tls14.c: Likewise.
9408 * elf/tst-tlsmod11.c: Likewise.
9409 * elf/tst-tlsmod12.c: Likewise.
9410 * elf/tst-tlsmod13.c: Likewise.
9411 * elf/tst-tlsmod13a.c: Likewise.
9412 * elf/tst-tlsmod14a.c: Likewise.
9413 * elf/tst-tlsmod15b.c: Likewise.
9414 * elf/tst-tlsmod16a.c: Likewise.
9415 * elf/tst-tlsmod16b.c: Likewise.
9416 * elf/tst-tlsmod7.c: Likewise.
9417 * elf/tst-tlsmod8.c: Likewise.
9418 * elf/tst-tlsmod9.c: Likewise.
9419 * gmon/gmon.c: Likewise.
9420 * grp/fgetgrent_r.c: Likewise.
9421 * grp/putgrent.c: Likewise.
9422 * hurd/fopenport.c: Likewise.
9423 * include/libc-symbols.h: Likewise.
9424 * include/tls.h: Likewise.
9425 * intl/gettextP.h: Likewise.
9426 * intl/loadinfo.h: Likewise.
9427 * locale/global-locale.c: Likewise.
9428 * locale/localeinfo.h: Likewise.
9429 * mach/devstream.c: Likewise.
9430 * malloc/arena.c: Likewise.
9431 * malloc/set-freeres.c: Likewise.
9432 * misc/err.c: Likewise.
9433 * misc/getttyent.c: Likewise.
9434 * misc/mntent_r.c: Likewise.
9435 * posix/getopt.c: Likewise.
9436 * posix/wordexp.c: Likewise.
9437 * pwd/fgetpwent_r.c: Likewise.
9438 * resolv/Versions: Likewise.
9439 * resolv/res_hconf.c: Likewise.
9440 * shadow/fgetspent_r.c: Likewise.
9441 * shadow/putspent.c: Likewise.
9442 * stdio-common/printf_fphex.c: Likewise.
9443 * stdio-common/tmpfile.c: Likewise.
9444 * stdlib/abort.c: Likewise.
9445 * stdlib/fmtmsg.c: Likewise.
9446 * sunrpc/auth_unix.c: Likewise.
9447 * sunrpc/clnt_perr.c: Likewise.
9448 * sunrpc/clnt_tcp.c: Likewise.
9449 * sunrpc/clnt_udp.c: Likewise.
9450 * sunrpc/clnt_unix.c: Likewise.
9451 * sunrpc/openchild.c: Likewise.
9452 * sunrpc/svc_simple.c: Likewise.
9453 * sunrpc/svc_tcp.c: Likewise.
9454 * sunrpc/svc_udp.c: Likewise.
9455 * sunrpc/svc_unix.c: Likewise.
9456 * sunrpc/xdr.c: Likewise.
9457 * sunrpc/xdr_array.c: Likewise.
9458 * sunrpc/xdr_rec.c: Likewise.
9459 * sunrpc/xdr_ref.c: Likewise.
9460 * sunrpc/xdr_stdio.c: Likewise.
9461
1248c1c4
PB
94622011-09-09 Ulrich Drepper <drepper@gmail.com>
9463
9464 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9465
94662011-07-03 Andreas Jaeger <aj@suse.de>
9467
9468 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9469 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9470 regenerate with gen-libm-tests.pl.
9471
94722010-05-12 Petr Baudis <pasky@suse.cz>
9473
9474 [BZ #11589]
9475 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9476 around j0() zero points by switching to j1().
9477 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9478 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9480 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9481
f22e1074
UD
94822011-09-09 Ulrich Drepper <drepper@gmail.com>
9483
f19009c1
UD
9484 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9485 instead of 0.
9486 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9487 instead of 0. .
9488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9489 Patch in part by Pavel Roskin <proski@gnu.org>.
9490
3f8cc204
UD
9491 [BZ #13138]
9492 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9493 realloc.
9494 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9495 Free memory block if necessary.
9496
f22e1074
UD
9497 [BZ #12847]
9498 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9499 be NULL. Don't lock in this case.
9500
0a2349f9
RM
95012011-09-09 Roland McGrath <roland@hack.frob.com>
9502
9503 * elf/elf.h (ELFOSABI_GNU): New macro.
9504 (ELFOSABI_LINUX): Define to that.
9505
f3cdd467
DZ
95062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9507
9508 * string/strncat.c (strncat): Undef the symbol in case it has been
9509 defined in bits/string.h.
9510
74718d13
UD
95112011-09-09 Ulrich Drepper <drepper@gmail.com>
9512
633e9e0f
UD
9513 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9514
0a2349f9 9515 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9516 link map.
9517
f9924780
AJ
95182011-08-17 Andreas Jaeger <aj@suse.de>
9519
9520 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9521
7f5517aa
PP
95222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9523 Ian Lance Taylor <iant@google.com>
9524
9525 * math/libm-test.inc (lround_test): New testcase.
9526 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9527
762011fe
UD
95282011-09-08 Ulrich Drepper <drepper@gmail.com>
9529
92963737
UD
9530 * Makefile: Remove support for automatic cvs check-ins.
9531 * Makerules: Likewise.
9532 * config.make.in: Likewise.
9533 * configure.in: Likewise.
9534 * intl/Makefile: Likewise.
9535 * locale/Makefile: Likewise.
9536 * po/Makefile: Likewise.
9537 * posix/Makefile: Likewise.
9538 * sysdeps/gnu/Makefile: Likewise.
9539 * sysdeps/mach/hurd/Makefile: Likewise.
9540 * sysdeps/sparc/sparc32/Makefile: Likewise.
9541
b0727fd8
JS
9542 [BZ #13118]
9543 * posix/Makefile (bug-regex32-ENV): Define.
9544 Patch by John Stanley <jpsinthemix@verizon.net>.
9545
a0f33f99
UD
9546 * misc/Makefile (headers): Add bits/select2.h.
9547 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9548 * misc/bits/select2.h: New file.
9549 * include/bits/select2.h: New file.
9550 * debug/Makefile (routines): Add fdelt_chk.
9551 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9552 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9553 FD_ISSET.
9554 * debug/fdelt_chk.c: New file.
9555
762011fe
UD
9556 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9557 * wcsmbs/test-wmemcmp.c: Likewise.
9558 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9559 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9560
95612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9562
9563 * string/Makefile (strop-tests): Add memcmp.
9564 * string/test-wmemcmp.c: New file.
9565 * string/test-memcmp.c: Add wmemcmp support.
9566
7f513ec8
RM
95672011-09-08 Roland McGrath <roland@hack.frob.com>
9568
0442afb4
RM
9569 [BZ #13153]
9570 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9571 2011-07-19 change.
9572
7f513ec8
RM
9573 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9574 garbage value in a __mach_port_mod_refs call in the cases of the
9575 task-self and thread-self ports.
9576
a12b2239
ST
95772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9578
9579 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9580
610f9ab4
AS
95812011-09-08 Andreas Schwab <schwab@redhat.com>
9582
7f513ec8 9583 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9584
48882a1a
LD
95852011-09-07 Ulrich Drepper <drepper@gmail.com>
9586
b49865be
UD
9587 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9588
fdc86bc9
UD
9589 * elf/dl-libc.c (dlerror_run): Pass back error code from
9590 dl_catch_error.
9591
c966526a
UD
9592 [BZ #13123]
9593 * elf/dl-load.c (lose): Free l_origin if it is valid.
9594
48882a1a
LD
9595 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9596 names.
9597 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9598 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9599 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9600 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9601 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9602 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9603
77a2a8b4
AZ
96042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9605
9606 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9607 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9608 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9609 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9610 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9611 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9612 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9613 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9614 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9615 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9616
24f579d8
AM
96172011-08-15 Alan Modra <amodra@gmail.com>
9618
9619 [BZ #13092]
9620 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9621 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9622 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9623 ppc_mcount to static-only-routines.
9624 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9625 __mcount_internal.
9626 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9627 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9628
3d4837df
UD
96292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9630
9631 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9632 for finite and infinity parameters.
9633
22700377
WS
96342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9635
9636 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9637 and add nop instructions for throughput optimization.
9638 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9639
5025581e
WS
96402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9641
9642 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9643 aligned copy for power7 with vector-scalar instructions.
9644 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9645
08a300c9
L
96462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9647
9648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9649 AVX check.
9650
59178ef9
AS
96512011-09-07 Andreas Schwab <schwab@redhat.com>
9652
9653 [BZ #13144]
9654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9655 last change.
9656
e38ba7ab
UD
96572011-09-07 Ulrich Drepper <drepper@gmail.com>
9658
9659 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9660 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9661 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9662 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9663 clock_gettime.
9664
d53a73ac
UD
96652011-09-06 Ulrich Drepper <drepper@gmail.com>
9666
fc8bffcc
UD
9667 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9668 Forgot to demangle the pointer.
9669
ceaa0c5d
UD
9670 * sysdeps/i386/sysdep.h: Define atom_text_section.
9671 * sysdeps/x86_64/sysdep.h: Likewise.
9672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9673 section with atom_text_section.
9674 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9675 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9676 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9678 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9679
a77d3c17
UD
9680 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9681 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9682 already be defined. Change to take two parameters and don't assign
9683 result to variable. Adjust all users.
9684 Define INTERNAL_GETTIME if not already defined.
9685 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9686 call.
9687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9688 HAVE_CLOCK_GETTIME_VSYSCALL.
9689 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9690
d53a73ac
UD
9691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9692 gettimeofday vsyscall, just use time.
9693
a8f84144
AS
96942011-09-06 Andreas Schwab <schwab@redhat.com>
9695
9696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9697 <errno.h>.
9698
ef606249
UD
96992011-09-06 Ulrich Drepper <drepper@gmail.com>
9700
9701 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9702 syscall on x86-64.
9703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9704 syscall.
9705 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9706 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9707 syscall if possible.
9708
6585cb60
UD
97092011-09-05 Ulrich Drepper <drepper@gmail.com>
9710
9711 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9712 e_ident. Don't pass to find_mapsXX.
9713 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9714
a5f524e4
LD
97152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9716
9717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9718 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9719 * sysdeps/x86_64/multiarch/strchr.S: Update.
9720 Check bit_slow_BSF bit.
9721 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9722 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9723 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9724
554881ef
UD
97252011-09-05 Ulrich Drepper <drepper@gmail.com>
9726
d96de963
UD
9727 [BZ #13134]
9728 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9729 before glibc 2.15.
9730 (tryshell): Define.
9731 (__spawni): Change last parameter to be flag. Test
9732 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9733 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9734 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9735 * posix/spawni.c: Likewise.
9736 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9737 * posix/spawnp.c: Likewise. Change normal version to use
9738 SPAWN_XFLAGS_USE_PATH.
9739 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9740 SPAWN_XFLAGS_TRY_SHELL.
9741
d48e5868
UD
9742 [BZ #13150]
9743 * posix/glob.h: Remove gcc 1.x support.
9744
554881ef
UD
9745 [BZ #13068]
9746 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9747
693fb948
LD
97482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9749
9750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9751 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9752 strrchr-sse2-bsf
9753 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9754 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9755 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9756 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9757 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9758 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9759
1b48c537
UD
97602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9761
49d42c37
UD
9762 * sysdeps/x86_64/wcscmp.S: New file.
9763
1b48c537
UD
9764 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9765 wcscmp-c wcscmp-sse2
9766 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9767 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9768 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9769 * wcsmbs/wcscmp.c: Allow renaming.
9770
15c95c5d
DM
97712011-09-05 David S. Miller <davem@davemloft.net>
9772
9773 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9774 stack slot, rather than the struct return pointer slot.
9775 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9776 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9778 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9779
2f0ad8f3
UD
97802011-09-05 Ulrich Drepper <drepper@gmail.com>
9781
d88ae418
UD
9782 * po/ja.po: Update from translation team.
9783
2f0ad8f3
UD
9784 [BZ #13144]
9785 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9786 kernel in 64-bit binaries.
9787
5f4318d1
DM
97882011-09-01 David S. Miller <davem@davemloft.net>
9789
9790 * elf/elf.h (HWCAP_SPARC_*): Move to..
9791 * sysdeps/sparc/sysdep.h: this new file and add new values.
9792 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9793 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9794 _DL_HWCAP_COUNT to 24.
9795 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9796 entries.
9797 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9798 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9799 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9801 instead of magic constants.
9802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9803
3ba57516
DM
98042011-08-31 David S. Miller <davem@davemloft.net>
9805
9806 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9808 Reimplement to do errno handling inline.
9809 (SYSCALL_ERROR_HANDLER): New macro.
9810 (__SYSCALL_STRING): Do not do errno handling in asm.
9811 (__CLONE_SYSCALL_STRING): Delete.
9812 (__INTERNAL_SYSCALL_STRING): Delete.
9813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9814 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9815 (PSEUDO): Reimplement to do errno handling inline.
9816 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9817 (SYSCALL_ERROR_HANDLER): New macro.
9818 (__SYSCALL_STRING): Do not do errno handling in asm.
9819 (__CLONE_SYSCALL_STRING): Delete.
9820 (__INTERNAL_SYSCALL_STRING): Delete.
9821 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9822 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9823 i386.
9824 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9825 (inline_syscall*): Add 'err' argument.
9826 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9827 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9828 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9829 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9830
9831 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9832 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9833
2bc17433
AS
98342011-08-30 Andreas Schwab <schwab@redhat.com>
9835
9836 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9837
fbeb5f4d
JO
98382011-08-29 Jiri Olsa <jolsa@redhat.com>
9839
9840 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9841 directive.
9842
ad69cc26
DM
98432011-08-24 David S. Miller <davem@davemloft.net>
9844
9845 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9846
39dd69df
AS
98472011-08-24 Andreas Schwab <schwab@redhat.com>
9848
9849 * elf/Makefile: Add rules to build and run unload8 test.
9850 * elf/unload8.c: New file.
9851 * elf/unload8mod1.c: New file.
9852 * elf/unload8mod1x.c: New file.
9853 * elf/unload8mod2.c: New file.
9854 * elf/unload8mod3.c: New file.
9855
9856 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9857 it wasn't used.
9858
2c0b250a
DM
98592011-08-23 David S. Miller <davem@davemloft.net>
9860
9861 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9862 subtract stack bias.
9863 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9864 %sp not %fp in calculations.
9865 (_JMPBUF_UNWINDS_ADJ): Likewise.
9866
22044b48
DM
9867 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9868 (aio_suspend): Call it to force an exception region around the
9869 AIO_MISC_WAIT() invocation.
9870
2cae4995
AS
98712011-08-23 Andreas Schwab <schwab@redhat.com>
9872
9873 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9874 backslash.
9875
873a772e
AJ
98762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9877
9878 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9879 protection macro.
9880 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9881 and <dl-machine.h>.
9882 (Elf64_FuncDesc): Remove.
9883
25ad0df1
DM
98842011-08-22 David S. Miller <davem@davemloft.net>
9885
9886 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9887 sigaltstack check, add missing cfi directives.
9888 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9889 missing cfi directives, and sigaltstack handling.
9890
e888bcbe
AS
98912011-08-16 Andreas Schwab <schwab@redhat.com>
9892
9893 [BZ #11724]
9894 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9895 object is seen twice.
9896 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9897
9898 * elf/Makefile (distribute): Add tst-initorder2.c.
9899 (tests): Add tst-initorder2.
9900 (modules-names): Add tst-initorder2a tst-initorder2b
9901 tst-initorder2c tst-initorder2d. Add rules to build them.
9902 ($(objpfx)tst-initorder2.out): New rule.
9903 * elf/tst-initorder2.c: New file.
9904 * elf/tst-initorder2.exp: New file.
9905
87162f46
AS
99062011-08-22 Andreas Schwab <schwab@redhat.com>
9907
70538b7f
AS
9908 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9909
f55ffe58
AS
9910 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9911 dependencies back to end of function.
9912
87162f46
AS
9913 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9914 $(elfobjdir)/ld.so.
9915
91b392a4
UD
99162011-08-21 Ulrich Drepper <drepper@gmail.com>
9917
9918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9919 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9921 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9922 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9923 of __vdso_gettimeofday.
9924 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9925 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9926 attribute_hidden.
9927 (_libc_vdso_platform_setup): Remove initialization of
9928 __vdso_gettimeofday and __vdso_time.
9929
5c43483f
UD
99302011-08-20 Ulrich Drepper <drepper@gmail.com>
9931
775a77e7
UD
9932 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9933 and fgetc_unlocked.
9934 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9935 getc_unlocked.
89f447ed 9936
49c74ba9
UD
9937 * elf/dl-open.c (add_to_global): Report additions to the global scope
9938 for LD_DEBUG=scopes.
9939 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9940 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9941
5c43483f
UD
9942 [BZ #13114]
9943 * stdio-common/Makefile (tests): Add bug24.
9944 * stdio-common/bug24.c: New file.
9945
a101b025
AJ
99462011-08-19 Andreas Jaeger <aj@suse.de>
9947
9948 [BZ #13114]
9949 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9950 non-existant file when using close-on-exec mode.
9951
c88f1766
UD
99522011-08-20 Ulrich Drepper <drepper@gmail.com>
9953
0276a718
UD
9954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9955 the very first instruction.
9956
c88f1766
UD
9957 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9958 the CFI state in the end.
9959 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9960 inclusion of dl-trampoline.h.
9961 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9962
51ccffa0
AS
99632011-08-19 Andreas Schwab <schwab@redhat.com>
9964
94d7165f
AS
9965 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9966 expectations for long double.
9967
51ccffa0
AS
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9969 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9970
fd708658 99712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9972
9973 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9974 artificual limit depends upon the system page size.
9975
44f0a71e
UD
99762011-08-17 Ulrich Drepper <drepper@gmail.com>
9977
9978 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9979 * resolv/Makefile: Define CFLAGS-libresolv.
9980
8de79a24
AS
99812011-08-17 Andreas Schwab <schwab@redhat.com>
9982
9983 * nss/makedb.c (compute_tables): Make variables used in nested
9984 function static.
9985
27724598
UD
99862011-08-17 Ulrich Drepper <drepper@gmail.com>
9987
c5305d88
UD
9988 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9989 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9990 if buffer was too small.
9991
27724598
UD
9992 * elf/pldd.c (main): Attach to all threads in the process.
9993 Rewrite /proc handling to use *at functions.
9994
076fe015
UD
99952011-08-16 Ulrich Drepper <drepper@gmail.com>
9996
174baab3
UD
9997 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9998 specifies first scope to show.
9999 (dl_open_worker): Update callers. Move printing scope of new
10000 object to before the relocation.
44f0a71e 10001 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10002 * sysdeps/generic/ldsodefs.h: Update declaration.
10003
076fe015
UD
10004 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10005 string for the scope number.
10006
a60df2c3
UD
100072011-08-14 Ulrich Drepper <drepper@gmail.com>
10008
10009 * nscd/servicescache.c (cache_addserv): Make sure written is always
10010 initialized.
10011
5e4287d1
RM
100122011-08-14 Roland McGrath <roland@hack.frob.com>
10013
85ae0589
RM
10014 * sysdeps/i386/i486/bits/atomic.h
10015 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10016 statement expression, so as to suppress "set but not used" warning.
10017 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10018
69f63097
RM
10019 * string/strncat.c (STRNCAT): Use prototype definition.
10020
675456ef
RM
10021 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10022 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10023 -Iprograms here.
10024 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10025 (localedef-modules): Add localedef.
10026 (locale-modules): Add locale.
10027
5e4287d1
RM
10028 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10029 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10030 to avoid a warning.
10031
9c96ff23
DM
100322011-08-14 David S. Miller <davem@davemloft.net>
10033
10034 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10035 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10036
f9ddf089
UD
100372011-08-13 Ulrich Drepper <drepper@gmail.com>
10038
44f0a71e 10039 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10040 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10041 * elf/rtld.c (dl_main): Set l_name of vDSO.
10042 Call _dl_show_scope when DL_DEBUG_SCOPES.
10043 (process_dl_debug): Recognize scopes flag and also set it for all.
10044 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10045 Declare _dl_show_scope.
10046
1dc27704
UD
10047 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10048 (do_dlopen): Pass caller_dlopen to dl_open.
10049 (__libc_dlopen_mode): Initialize caller_dlopen.
10050
f9ddf089
UD
10051 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10052 of libc. Make tolower call locale-independent. Optimize a bit by
10053 using isdigit instead of isalnum.
10054 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10055
9ac533d3
UD
100562011-08-12 Ulrich Drepper <drepper@gmail.com>
10057
10058 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10059 was a dependency or dynamically loaded.
10060
89edf2e9
UD
100612011-08-11 Ulrich Drepper <drepper@gmail.com>
10062
8e999d29
UD
10063 * intl/l10nflist.c: Allow architecture-specific pop function.
10064 * sysdeps/x86_64/l10nflist.c: New file.
10065
89edf2e9
UD
10066 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10067 classification.
10068
14d96785
AS
100692011-08-10 Andreas Schwab <schwab@redhat.com>
10070
10071 * include/dirent.h: Add libc_hidden_proto for scandirat and
10072 scandirat64. Don't declare __scandirat64.
10073 * dirent/scandirat.c: Add libc_hidden_def.
10074 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10075 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10076
6761ac04
DM
100772011-08-10 David S. Miller <davem@davemloft.net>
10078
10079 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10080 enum.
10081 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10082 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10083 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10084
c55fbd1e
UD
100852011-08-09 Ulrich Drepper <drepper@gmail.com>
10086
10087 * Versions.def [libc]: Add GLIBC_2.15.
10088 * dirent/Makefile (routines): Add scandirat and scandirat64.
10089 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10090 GLIBC_2.15.
10091 * dirent/dirent.h: Declare scandirat and scandirat64.
10092 * dirent/scandirat.c: New file.
10093 * dirent/scandirat64.c: New file.
10094 * sysdeps/wordsize-64/scandirat.c: New file.
10095 * sysdeps/wordsize-64/scandirat64.c: New file.
10096 * dirent/opendir.c: Define opendirat.
10097 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10098 using scandirat.
10099 * dirent/scandir64.c: Adjust for scandir.c change.
10100 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10101 __scandirat64, and __scandir_cancel_handler.
10102 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10103 additional parameter and use openat instead of open (outside of ld.so).
10104 Add new __opendir as wrapper around __opendirat.
10105 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10106 here without requiring old scandirat implementation.
10107
879165f2
UD
101082011-08-08 Ulrich Drepper <drepper@gmail.com>
10109
10110 * dirent/scandir.c (cancel_handler): Renamed to
10111 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10112 defined. Adjust users.
10113 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10114 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10115
cb7e923b
UD
101162011-08-04 Ulrich Drepper <drepper@gmail.com>
10117
16292edd
UD
10118 * string/test-string.h (IMPL): Use __STRING to expand name and then
10119 stringify it.
10120
cb7e923b
UD
10121 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10122 of cleanups.
10123
cff82933
LD
101242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10125
10126 * string/Makefile: Update.
10127 (strop-tests): Append strncat.
10128 * string/test-wcscmp.c: New file.
10129 New comprehensive test for wcscmp.
10130 * string/test-strcmp.c: Update.
10131 (WIDE): New define.
10132
9be9bfcc
AS
101332011-07-22 Andreas Schwab <schwab@redhat.com>
10134
10135 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10136 line.
10137
2e96f1c7
AS
101382011-07-26 Andreas Schwab <schwab@redhat.com>
10139
10140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10141 encoding to ACE if AI_IDN.
10142
85188888
JJ
101432011-08-01 Jakub Jelinek <jakub@redhat.com>
10144
10145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10146 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10147
5fa16e9b
LD
101482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10149
10150 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10151 Fix overflow bug in strncat.
10152 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10153
10154 * string/test-strncat.c: Update.
10155 Add new tests for checking overflow bugs.
10156
101572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10158
10159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10160 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10161 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10162 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10163 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10164 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10165 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10166 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10167 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10168
10169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10170 (USE_AS_STRCAT): Define.
10171 Add strcat and strncat support.
10172 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10173
8c1a459f
AS
101742011-07-25 Andreas Schwab <schwab@redhat.com>
10175
10176 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10177 __n bigger than INT_MAX+1.
10178 (__strncmp_g): Likewise.
10179
bba33c28
UD
101802011-07-23 Ulrich Drepper <drepper@gmail.com>
10181
798be72d
UD
10182 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10183 * libio/stido.h: Likewise.
10184
8accd4dc
UD
10185 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10186 (AF_NFC): Define.
10187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10188 (AF_NFC): Define.
10189
cbff0d96
UD
10190 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10191 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10192 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10193 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10195
9191c04a
UD
10196 [BZ #13021]
10197 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10198 installed.
10199
bba33c28
UD
10200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10201 typo.
10202 (_dl_x86_64_save_sse): Likewise.
10203
90f139dd
UD
102042011-07-22 Ulrich Drepper <drepper@gmail.com>
10205
1aae088a
UD
10206 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10207 OSXSAVE.
10208 (_dl_x86_64_save_sse): Likewise.
10209
8e2045f5
UD
10210 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10211
90f139dd
UD
10212 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10213
1d002f25
AS
102142011-07-21 Andreas Schwab <schwab@redhat.com>
10215
10216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10217 change.
10218 (_dl_x86_64_save_sse): Use correct AVX check.
10219
21137f89
UD
102202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10221
10222 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10223 bug in strncpy/strncat.
10224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10225
a65c0b7a
UD
102262011-07-21 Ulrich Drepper <drepper@gmail.com>
10227
10228 * string/tester.c (test_strcat): Add tests for different alignments
10229 of source and destination.
10230 (test_strncat): Likewise.
10231
6986b98a
UD
102322011-07-20 Ulrich Drepper <drepper@gmail.com>
10233
90bb2039
UD
10234 [BZ #12852]
10235 * posix/glob.c (glob): Check passed in values before using them in
10236 expressions to avoid some overflows.
10237 (glob_in_dir): Likewise.
10238
5644ef54
UD
10239 [BZ #13007]
10240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10241 check for AVX enablement so that we don't crash with old kernels and
10242 new hardware.
10243 * elf/tst-audit4.c: Add same checks here.
10244 * elf/tst-audit6.c: Likewise.
10245
10246 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10247
bfc9dc9b
AS
102482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10249
10250 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10251
702e64bb
UD
102522011-07-20 Ulrich Drepper <drepper@gmail.com>
10253
10254 * po/cs.po: Update from translation team.
10255 * po/bg.po: Likewise.
10256
295e904f
MP
102572011-07-12 Marek Polacek <mpolacek@redhat.com>
10258
10259 * misc/sys/cdefs.h: Add support for const attribute.
10260 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10261 to gnu_dev_{major,minor,makedev} functions.
10262
3ff94596
MP
102632011-07-20 Marek Polacek <mpolacek@redhat.com>
10264
10265 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10266
28b59fca
AS
102672011-07-20 Andreas Schwab <schwab@redhat.com>
10268
10269 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10270 strlen results.
10271
19df733e
AK
102722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10273
10274 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10275 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10276 register in order to avoid conflicts with the soft frame pointer
10277 being held in r11 when necessary.
10278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10279 (INTERNAL_VSYSCALL_NCS): Likewise.
10280
c8835729
MP
102812011-07-14 Marek Polacek <mpolacek@redhat.com>
10282
10283 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10284 * elf/dl-fini.c (_dl_fini): Adjust caller.
10285 * elf/dl-close.c (_dl_close_worker): Likewise.
10286 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10287
b902330c
MP
102882011-07-15 Marek Polacek <mpolacek@redhat.com>
10289
8991e135
MP
10290 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10291 "aux_cache->nlibs < 0".
10292
b902330c
MP
10293 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10294 in the reload-count case.
10295
99710781
LD
102962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10297
10298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10299 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10300 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10301 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10302 * sysdeps/x86_64/multiarch/strcat.S: New file.
10303 * sysdeps/x86_64/multiarch/strncat.S: New file.
10304 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10305 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10306 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10307 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10309 (USE_AS_STRCAT): Define.
10310 Add strcat and strncat support.
10311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10312 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10313 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10314 * string/strncat.c: Update.
10315 (USE_AS_STRNCAT): Define.
10316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10317 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10318 and i7.
10319 * sysdeps/x86_64/multiarch/init-arch.h
10320 (bit_Prefer_PMINUB_for_stringop): New.
10321 (index_Prefer_PMINUB_for_stringop): Likewise.
10322 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10323 bit_Prefer_PMINUB_for_stringop.
10324
7dc6bd90
UD
103252011-07-19 Ulrich Drepper <drepper@gmail.com>
10326
10327 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10328 buffer64.
10329 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10330 of casting of buffer.
10331 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10332 buffer32 and buffer64.
10333 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10334 writes instead of casting of buffer.
10335 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10336 buffer32.
10337 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10338 casting of buffer.
10339
e0e72284
AS
103402011-07-19 Andreas Schwab <schwab@redhat.com>
10341
10342 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10343
feb1eb0b
UD
103442011-07-19 Ulrich Drepper <drepper@gmail.com>
10345
10346 * nscd/nscd.c (termination_handler): Don't do anything for a database
10347 if it has not yet been initialized.
10348
298711ff
UD
103492011-07-18 Ulrich Drepper <drepper@gmail.com>
10350
10351 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10352
103532011-07-15 Marek Polacek <mpolacek@redhat.com>
10354
10355 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10356
f9d68389
UD
103572011-07-18 Ulrich Drepper <drepper@gmail.com>
10358
10359 * po/nl.po: Update from translation team.
10360 * po/sv.po: Likewise.
10361
db290cf5
RM
103622011-07-16 Roland McGrath <roland@hack.frob.com>
10363
10364 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10365 now disallowed by GCC.
5c550700 10366
fd5e21c7
RM
10367 * configure.in (use-default-link): Default to yes if a test -shared
10368 link meets our qualifications.
10369 * configure: Regenerated.
10370
5c550700
RM
10371 * config.make.in (output-format): New variable.
10372 * configure.in: Check for ld --print-output-format support.
10373 * configure: Regenerated.
10374 * Makerules ($(common-objpfx)format.lds)
10375 [$(output-format) != unknown]: Just use $(output-format),
10376 instead of the linker-script munging.
10377
9fa2c032
RM
103782011-07-14 Roland McGrath <roland@hack.frob.com>
10379
a6928d51
RM
10380 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10381 of $(common-objpfx)shlib.lds.
10382 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10383
661607b3
RM
10384 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10385 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10386
9fa2c032
RM
10387 * configure.in (-z relro check): Adjust test code to add a large
10388 writable data section after it.
10389 * configure: Regenerated.
10390
defe9061
RM
103912011-07-11 Roland McGrath <roland@hack.frob.com>
10392
10393 * configure.in (-z relro check): Fix test code to make the variable
10394 truly const.
10395 * configure: Regenerated.
10396
319b9ad4
UD
103972011-07-11 Ulrich Drepper <drepper@gmail.com>
10398
10399 * nscd/nscd.h (struct traced_file): Define.
10400 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10401 elements. Add traced_files.
10402 (inotify_fd): Declare.
10403 (register_traced_file): Declare.
10404 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10405 (inotify_fd): Export.
10406 (resolv_conf_descr): Remove.
10407 (nscd_init): Move inotify descriptor creation to main.
10408 Don't register files for notification here.
10409 (register_traced_file): New function.
10410 (invalidate_cache): Don't use reset_res to determine whether to call
10411 res_init, go through the list of registered files.
10412 (main_loop_poll): The inotify descriptors are now stored in the
10413 structures for the traced files.
10414 (main_loop_epoll): Likewise
10415 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10416 to __nss_disable_nscd.
10417 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10418 for a database anymore. Check the records for all the registered
10419 files instead.
10420 * nss/Makefile (libnss_files-routines): Add files-init.
10421 (libnss_db-routines): Add db-init.
10422 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10423 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10424 * nss/nss_db/db-init.c: New file.
10425 * nss/nss_files/files-init.c: New file.
10426 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10427 __nss_lookup_function.
10428 (__nss_lookup_function): Call nss_load_library.
10429 (nss_load_all_libraries): New function.
10430 (__nss_disable_nscd): Take parameter with callback function for files
10431 to register. Set is_nscd. Load all the DSOs for the NSS modules
10432 used for the cached services.
10433 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10434 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10435 options for features to all the files in nscd.
10436
10437 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10438
23bee3e8
RM
104392011-07-10 Roland McGrath <roland@hack.frob.com>
10440
10441 * csu/elf-init.c (__libc_csu_init): Comment typo.
10442
46a5b7f0
UD
104432011-07-09 Ulrich Drepper <drepper@gmail.com>
10444
10445 * po/pl.po: Update from translation team.
10446 * po/ja.po: Likewise.
10447 * po/ru.po: Likewise.
10448 * po/ko.po: Likewise.
10449 * po/fr.po: Likewise.
10450
d30cf5bb
RM
104512011-07-09 Roland McGrath <roland@hack.frob.com>
10452
113ddea4
RM
10453 * configure.in (.ctors/.dtors header and trailer check):
10454 Use an empirical test on a built program.
10455 * configure: Regenerated.
10456
574920b4
RM
10457 * configure.in (-z relro check): Use an empirical test on a built DSO.
10458 Detect, but do not require, on ia64.
10459 * configure: Regenerated.
10460
d30cf5bb
RM
10461 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10462 Update tests that use readelf to use $READELF instead.
10463 * configure: Regenerated.
10464
8538fdb3
UD
104652011-07-08 Ulrich Drepper <drepper@gmail.com>
10466
10467 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10468 if the result is not used.
10469
04d08991
AJ
104702011-07-05 Andreas Jaeger <aj@suse.de>
10471
10472 [BZ#9696]
10473 * stdlib/tst-strtod.c: Add testcase.
10474
de283087
AD
104752011-07-07 Ulrich Drepper <drepper@gmail.com>
10476
4e5f31c8 10477 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10478 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10479 The latter has a higher limit. Take additional parameter to pass to
10480 the new function.
10481 (__pathconf): Pass file to __statfs_link_max.
10482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10483 __statfs_link_max.
10484 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10485 __statfs_link_max.
10486
de283087
AD
10487 [BZ #12868]
10488 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10489 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10490 Handle Lustre.
10491 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10492 (__statfs_filesize_max): Likewise.
10493 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10494
c75fa153
AJ
104952011-07-05 Andreas Jaeger <aj@suse.de>
10496
10497 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10498
1a544854
UD
104992011-07-06 Marek Polacek <mpolacek@redhat.com>
10500
10501 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10502 `status' variable.
10503 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10504 Likewise.
10505
6f0eec67
UD
105062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10507
10508 * Makefile (strop-tests): Add strncat.
10509 * string/test-strncat.c: New file.
10510
aae30307
UD
105112011-06-30 Marek Polacek <mpolacek@redhat.com>
10512
10513 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10514
c0cfb5eb
UD
105152011-06-21 Andreas Jaeger <aj@suse.de>
10516
10517 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10518 Copy rule from iconvdata/Makefile.
10519
01636b21
UD
105202011-07-06 Ulrich Drepper <drepper@gmail.com>
10521
10522 [BZ #12922]
10523 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10524 but no long options are defined, just return 'W'.
10525
9895c8bc
UD
105262011-06-22 Marek Polacek <mpolacek@redhat.com>
10527
10528 [BZ #9696]
10529 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10530
5d4cf042
UD
105312011-07-06 Ulrich Drepper <drepper@gmail.com>
10532
10533 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10534 netgroups to read.
960e5535 10535 (innetgr): Likewise.
5d4cf042 10536
751eb97e
RM
105372011-07-05 Roland McGrath <roland@hack.frob.com>
10538
10539 * config.make.in (install_root): Default to $(DESTDIR).
10540
f15f1e45
UD
105412011-07-05 Ulrich Drepper <drepper@gmail.com>
10542
10543 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10544
4e34ac6a
RM
105452011-07-02 Roland McGrath <roland@hack.frob.com>
10546
5e9b6af4
RM
10547 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10548
84f9ea0f
RM
10549 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10550 containing directory rather than embedding absolute directory names.
10551
ea5ee9f7
RM
10552 * scripts/check-local-headers.sh: Rewritten using awk.
10553 Match by word, not by line. Print error messages for matches.
10554 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10555
1b74661a
RM
10556 * Makerules [shlib-lds-flags empty]:
10557 ($(common-objpfx)libc_pic.opts): New target.
10558 ($(common-objpfx)libc_pic.os.clean): New target.
10559 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10560
10561 * config.make.in (OBJCOPY): New variable.
10562 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10563 * configure: Regenerated.
10564
f781ef40
RM
10565 * config.make.in (use-default-link): New variable.
10566 * configure.in (use_default_link): Grok --with-default-link to set it.
10567 * configure: Regenerated.
10568 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10569 (shlib-lds, shlib-lds-flags): Define to empty.
10570
2d4fa81e
RM
10571 * Makerules (shlib-lds): New variable.
10572 (shlib-lds-flags): New variable.
10573 (build-shlib, build-moduile, build-module-asneeded): Use it.
10574 ($(common-objpfx)libc.so): Use $(shlib-lds).
10575 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10576 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10577
31fffa6b
RM
10578 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10579 DT_FLAGS/DT_FLAGS_1 with zero flags.
10580
4e34ac6a
RM
10581 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10582 linker script munging.
10583
fcfc776b
UD
105842011-07-02 Ulrich Drepper <drepper@gmail.com>
10585
10586 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10587 as 128-bit value.
10588 * crypt/sha512.c (sha512_process_block): Perform total addition using
10589 128-bit if possible.
10590 (__sha512_finish_ctx): Likewise.
10591 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10592 as 64-bit value.
10593 * crypt/sha256.c (SWAP64): Define.
10594 (sha256_process_block): Perform total addition using 64-bit if
10595 possible.
10596 (__sha256_finish_ctx): Likewise.
10597
99231d9a
UD
105982011-07-01 Ulrich Drepper <drepper@gmail.com>
10599
10600 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10601 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10602 * nscd/hstcache.c (cache_addhst): Likewise.
10603 * nscd/grpcache.c (cache_addgr): Likewise.
10604 * nscd/aicache.c (addhstaiX): Likewise
10605 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10606
445b4a53
TK
106072011-07-01 Thorsten Kukuk <kukuk@suse.de>
10608
10609 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10610 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10611 * nscd/hstcache.c (cache_addhst): Likewise.
10612 * nscd/grpcache.c (cache_addgr): Likewise.
10613 * nscd/aicache.c (addhstaiX): Likewise
10614
6d4d8e8e
AS
106152011-07-01 Andreas Schwab <schwab@redhat.com>
10616
10617 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10618 domain only when needed.
10619
89f654c5
AS
106202011-06-30 Andreas Schwab <schwab@redhat.com>
10621
10622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10623 is always restored.
10624
cf3b23ff
UD
106252011-06-29 Ulrich Drepper <drepper@gmail.com>
10626
10627 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10628 are re-adding the entry.
10629 * nscd/servicescache.c (cache_addserv): Likewise.
10630
751626f9
AJ
106312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10632
10633 * sysdeps/generic/dl-irel.h: fix protection against multiple
10634 inclusions.
10635 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10636
9113ea1f
UD
106372011-06-28 Ulrich Drepper <drepper@gmail.com>
10638
5c0b8d90
UD
10639 [BZ #12935]
10640 * malloc/memusage.sh: Fix quoting in message.
10641 * debug/xtrace.sh: Likewise.
10642
9113ea1f
UD
10643 * configure.in: Remove support for --experimental-malloc option, make
10644 it the default.
10645 * config.make.in: Likewise.
10646 * malloc/Makefile: Likewise.
10647
a4172181
AS
106482011-06-27 Andreas Schwab <schwab@redhat.com>
10649
10650 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10651 two-byte characters.
10652
78a7eee7
RM
106532011-06-27 Roland McGrath <roland@hack.frob.com>
10654
62bede13
RM
10655 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10656 AC_CACHE_CHECK invocation.
10657 * configure: Regenerated.
10658
78a7eee7
RM
10659 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10660
5ce33a62
UD
106612011-06-27 Ulrich Drepper <drepper@gmail.com>
10662
034807a9
UD
10663 [BZ #12350]
10664 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10665 bit from old_res_options.
10666
4902da17
UD
10667 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10668
5ce33a62
UD
10669 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10670 value type for setfct.
10671
c2344f56
L
106722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10673
10674 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10675 __gettimeofday instead of gettimeofday.
10676
68468076
UD
106772011-06-26 Ulrich Drepper <drepper@gmail.com>
10678
10679 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10680
acb0d739
L
106812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10682
10683 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10684
10685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10686 info.
10687
8912479f
L
106882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10689
10690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10691 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10692 strcpy-sse2-unaligned strncpy-sse2-unaligned
10693 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10694 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10695 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10696 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10697 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10698 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10699 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10700 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10701 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10702 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10703 (STRCPY): Support SSE2 and SSSE3 versions.
10704
d5495a11
UD
107052011-06-24 Ulrich Drepper <drepper@gmail.com>
10706
10707 [BZ #12874]
10708 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10709 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10710 kernels which artificially limit size of requests.
10711
0b1cbaae
L
107122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10713
10714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10715 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10716 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10717 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10718 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10719 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10720 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10721 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10722 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10724 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10725 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10726 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10727 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10728 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10730 Enable unaligned load optimization for Intel Core i3, i5 and i7
10731 processors.
10732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10733 Define.
10734 (index_Fast_Unaligned_Load): Define.
10735 (HAS_FAST_UNALIGNED_LOAD): Define.
10736
07f494a0
MP
107372011-06-23 Marek Polacek <mpolacek@redhat.com>
10738
10739 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10740
fa3fc0fe
UD
107412011-06-22 Ulrich Drepper <drepper@gmail.com>
10742
10743 [BZ #12907]
10744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10745 until it is clear that the information is realy needed.
10746 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10747
e12df166
AS
107482011-06-22 Andreas Schwab <schwab@redhat.com>
10749
10750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10751
852eb34d
UD
107522011-06-22 Ulrich Drepper <drepper@gmail.com>
10753
84e2a551
UD
10754 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10755 /sys/devices/system/cpu/online if it is usable.
10756
852eb34d
UD
10757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10758 reading the information from the /proc filesystem to once a second.
10759
6e502e19
UD
107602011-06-21 Andreas Jaeger <aj@suse.de>
10761
10762 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10763 NULL after inclusion of kernel headers.
10764
75d39ff2
UD
107652011-06-21 Ulrich Drepper <drepper@gmail.com>
10766
51f9aa6a
UD
10767 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10768 calls to internal_setent.
10769
c0244a9d
UD
10770 [BZ #12885]
10771 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10772 addresses using gethostbyname4_r ignore IPv4 addresses.
10773
c5e3c2ae
UD
10774 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10775 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10776
75d39ff2
UD
10777 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10778
42675c6f
DM
107792011-06-20 David S. Miller <davem@davemloft.net>
10780
10781 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10782 inclusions.
10783 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10784
10785 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10786 (elf_irel): Use it.
10787 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10788 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10789 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10790 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10791 * sysdeps/x86_64/dl-irel.h: Likewise.
10792
10793 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10794 * elf/dl-sym.c: Likewise.
10795
57912a71
UD
107962011-06-15 Ulrich Drepper <drepper@gmail.com>
10797
10798 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10799 need to dereference resplen2.
10800
ee22793d
AS
108012011-06-14 Andreas Schwab <schwab@redhat.com>
10802
10803 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10804
a9e836b0
UD
108052011-06-15 Ulrich Drepper <drepper@gmail.com>
10806
77fb9117
UD
10807 * Makeconfig: Define vardbdir and inst_vardbdir.
10808 * nss/Makefile: Add rules to install db-Makefile.
10809
40c1b22c
UD
10810 * nss/nss_db/db-XXX.c: Cleanup.
10811
9f2da732
UD
10812 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10813 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10814 GLIBC_PRIVATE.
10815 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10816 * nss/makedb.c: Implement -g option to specify that value strings
10817 are generated and should not be added to table iterated over for
10818 get*ent calls.
10819 * nss/nss_db/db-initgroups.c: New file.
10820
82e9a1f7
UD
10821 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10822 interface.
10823
c41af17e
UD
10824 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10825 (internal_getgrouplist): Adjust to name change.
10826 Update use_initgroups_entry if this is not the first call.
10827 * nss/databases.def: Add initgroups entry.
10828
a9e836b0
UD
10829 * nss/makedb.c (compute_tables): Check result of multiple hash table
10830 sizes to minimize maximum chain length.
10831
2666d441
UD
108322011-06-14 Ulrich Drepper <drepper@gmail.com>
10833
10834 * Versions.def: Add entry for libnss_db.
10835 * shlib-versions: Likewise.
10836 * nss/Makefile: Add rules to build libnss_db.
10837 * nss/Versions: Add libnss_db information. Organize libnss_files
10838 entries better.
10839 * nss/db-Makefile: Add gshadow support. Change rules for the new
10840 makedb progra. Some minor improvements to generate smaller files.
10841 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10842 here from...
10843 * nss/makedb.c: ...here.
10844 Improve database format to be smaller and require less memory at
10845 runtime.
10846 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10847 db anymore.
10848 * nss/nss_db/db-netgrp.c: Likewise.
10849 * nss/nss_db/db-open.c: Likewise.
10850 * nss/nss_files/flies-XXX.x: Adjust comments.
10851 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10852 * nss/nss_files/files-grp.c: Likewise.
10853 * nss/nss_files/files-hosts.c: Likewise.
10854 * nss/nss_files/files-network.c: Likewise.
10855 * nss/nss_files/files-proto.c: Likewise.
10856 * nss/nss_files/files-pwd.c: Likewise.
10857 * nss/nss_files/files-rpc.c: Likewise.
10858 * nss/nss_files/files-service.c: Likewise.
10859 * nss/nss_files/files-sgrp.c: Likewise.
10860 * nss/nss_files/files-spwd.c: Likewise.
10861 * nss/nss_db/db-alias.c: Removed.
10862 * nss/nss_db/dummy-db.h: Removed.
10863
9ee76b5a
UD
108642011-06-02 Ulrich Drepper <drepper@gmail.com>
10865
10866 * nss/makedb.c: Rewritten to not use database library.
10867 * nss/Makefile: Update to build new makedb program.
10868
c71ca1f8
AJ
108692011-06-14 Andreas Jaeger <aj@suse.de>
10870
10871 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10872 memset declaration.
10873
3154bfb8
UD
108742011-06-10 Andreas Schwab <schwab@redhat.com>
10875
10876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10877 tmpbuf.
10878
b350afab
RM
108792011-06-10 Roland McGrath <roland@hack.frob.com>
10880
decd4e50
RM
10881 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10882 * elf/Makefile ($(objpfx)ld.so): Likewise.
10883
5615eaf2
RM
10884 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10885 Don't list ld.so twice in dependencies.
10886
10887 * posix/bug-regex31.c: Include <stdlib.h>.
10888
10889 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10890
10891 * nis/nss_compat/compat-spwd.c
10892 (getspent_next_nss_netgr): Remove unused variable.
10893 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10894
10895 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10896 nonmembers" output to use the right array.
10897
10898 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10899
10900 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10901
10902 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10903 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10904 * catgets/gencat.c (read_input_file): Likewise.
10905 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10906
10907 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10908 variable definition inside #if's controlling its use.
10909
10910 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10911
10912 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10913
10914 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10915
10916 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10917 unreachable code.
10918
10919 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10920
b68e08db
RM
10921 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10922 * configure: Regenerated.
10923
b350afab
RM
10924 * Makerules: Revert last change.
10925 * elf/Makefile: Likewise.
10926
28368601
RM
109272011-06-09 Roland McGrath <roland@hack.frob.com>
10928
10929 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10930 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10931 (reloc-link): Likewise.
10932
11988f8f
UD
109332011-06-09 Ulrich Drepper <drepper@gmail.com>
10934
10935 * elf/Makefile: Add rules to build pldd.
10936 * elf/pldd.c: New file.
10937 * elf/pldd-xx.c: New file.
10938
e80fab37
UD
109392011-06-07 Ulrich Drepper <drepper@gmail.com>
10940
10941 * version.h: Update for 2.15 development version.
10942
9b849836
DM
109432011-06-07 David S. Miller <davem@davemloft.net>
10944
10945 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10946 ifuncs.
10947 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10948 elf_machine_lazy_rel): Likewise.
10949 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10950 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10951 elf_machine_lazy_rel): Likewise.
10952 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10953 dl_hwcap via passed in argument.
10954 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10955 Likewise.
10956
5a31b283
AK
109572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10958
10959 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10960
069e52f8
RM
109612011-06-06 Roland McGrath <roland@hack.frob.com>
10962
10963 [BZ #12849]
10964 * manual/fdl-1.1.texi: New file, verbatim from:
10965 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10966 * manual/lgpl-2.1.texi: New file, verbatim from:
10967 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10968 * manual/Makefile (licenses): New variable, list those new file names.
10969 (texis): Use it.
10970 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10971
10972 * manual/fdl.texi: File removed.
10973 * manual/lesser.texi: File removed.
10974 * manual/libc.texinfo (Copying, Documentation License):
10975 Use new @include file names, put @appendix directive before @include.
10976
f16846a5
JJ
109772011-06-04 Jakub Jelinek <jakub@redhat.com>
10978
10979 [BZ #12841]
10980 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10981 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10982 (mq_open): Add __NTH.
10983
3d29045b
L
109842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10985
10986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10987 Assume Intel Core i3/i5/i7 processor if AVX is available.
10988
8c297311
UD
109892011-05-31 Ulrich Drepper <drepper@gmail.com>
10990
10991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10992 typo.
10993
c8fc0c91
UD
109942011-05-31 Andreas Schwab <schwab@redhat.com>
10995
10996 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10997 memory. Use alloca_account. Fix memory leak when retrying.
10998
5b27a807
UD
109992011-05-31 Ulrich Drepper <drepper@gmail.com>
11000
356f8bc6
UD
11001 * version.h (RELEASE): Bump for 2.14 release.
11002 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11003
5b27a807
UD
11004 * config.make.in (RANLIB): Remove entry.
11005
01f16ab0
UD
110062011-05-30 Ulrich Drepper <drepper@gmail.com>
11007
41fce8bd
UD
11008 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11009 (libc.pot): Work around missing support for .ksh extension in xgettext.
11010
4769ae77
UD
11011 [BZ #12684]
11012 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11013 if both request failed.
11014 (send_dg): In case of server errors clear resplen or *resplen2.
11015
6b1e7d19
UD
11016 [BZ #12454]
11017 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11018 when there are multiple maps.
11019 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11020 (_dl_fini): Remove test here.
11021
01f16ab0
UD
11022 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11023
b1ebd700
UD
110242011-05-29 Ulrich Drepper <drepper@gmail.com>
11025
7ae22829
UD
11026 [BZ #12350]
11027 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11028 bit from old_res_options.
11029 (gaih_inet): Likewise.
11030
553149f6 11031 [BZ #11099]
18a84741 11032 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11033 as signed.
11034
652ffab1
UD
11035 * resolv/res_init.c (res_setoptions): Make the code more compact.
11036
16985fd0
UD
11037 [BZ #11558]
11038 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11039 set RES_USEVC.
11040
0464f746
UD
11041 [BZ #11634]
11042 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11043
7d17596c
UD
11044 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11045
cf6bbbd7
UD
11046 [BZ #11781]
11047 * malloc/malloc.h: Declare malloc hook variables as volatile.
11048
13f1ab36
UD
11049 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11050 in last patch.
11051
b1ebd700
UD
11052 [BZ #11799]
11053 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11054 raise in the comment.
80e2212d
UD
11055 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11056 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11057 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11058
ce67228d
UD
110592011-05-28 Ulrich Drepper <drepper@gmail.com>
11060
8887a920
UD
11061 [BZ #12811]
11062 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11063 grow the buffers more if it already has to be sufficient.
11064 (build_wcs_upper_buffer): Likewise.
11065 * posix/regexec.c (check_matching): Likewise.
11066 (clean_state_log_if_needed): Likewise.
11067 (extend_buffers): Don't enlarge buffers beyond size of the input
11068 buffer.
11069 Patches mostly by Emil Wojak <emil@wojak.eu>.
11070 * posix/bug-regex32.c: New file.
11071 * posix/Makefile (tests): Add bug-regex32.
11072
4f031072
UD
11073 * locale/findlocale.c (_nl_find_locale): Return right away if
11074 _nl_explode_name failed.
11075 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11076
d0478f0c
UD
11077 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11078
de81b246
UD
11079 * debug/xtrace.sh: Unify messages.
11080 * malloc/memusage.sh: Likewise.
11081
c738465a
UD
11082 [BZ #12813]
11083 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11084 time symbol from vDSO. Substitute with vsyscall if not available.
11085 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11086 __vdso_time.
11087
f1f929d7
UD
11088 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11089 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11090 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11091 Add sendmmsg and internal_sendmmsg.
11092 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11093 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11094 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11095
ce67228d
UD
11096 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11097 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11098 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11099
e57420c6
UD
111002011-05-27 Ulrich Drepper <drepper@gmail.com>
11101
a8509ca5
UD
11102 [BZ #12813]
11103 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11104 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11105 available.
11106 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11107 __vdso_getcpu.
11108
e57420c6
UD
11109 [BZ #12814]
11110 * iconvdata/Makefile (tests): Add bug-iconv9.
11111 * iconvdata/bug-iconv9.c: New file.
11112
4d07db15
AS
111132011-05-27 Andreas Schwab <schwab@redhat.com>
11114
11115 [BZ #12814]
11116 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11117
ea486f69
JJ
111182011-05-25 Jakub Jelinek <jakub@redhat.com>
11119
11120 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11121 (struct user_regs_struct): Change intcs field back to cs.
11122
6f038433
UD
111232011-05-25 Ulrich Drepper <drepper@gmail.com>
11124
11125 * po/ja.po: Update from translation team.
11126
67f86a25
UD
111272011-05-23 Ulrich Drepper <drepper@gmail.com>
11128
11129 [BZ #12795]
11130 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11131 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11132
def7fbd6
AS
111332011-05-20 Andreas Schwab <schwab@redhat.com>
11134
11135 * stdlib/longlong.h: Update from GCC.
11136
f50ef8f1
AS
111372011-05-23 Andreas Schwab <schwab@redhat.com>
11138
11139 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11140 parameter name.
11141 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11142 Add parameter name.
11143 (__sysconf): Pass it down.
11144
de7ce8f1
UD
111452011-05-22 Ulrich Drepper <drepper@gmail.com>
11146
f2962a71
UD
11147 [BZ #12671]
11148 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11149 some situations.
11150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11151 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11152 add in in __libc_use_alloca calls. Adjust callers.
11153 (glob): Use malloc in some situations.
11154
de7ce8f1
UD
11155 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11156 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11157 pltexit.
11158
aec84f53
UD
111592011-05-21 Ulrich Drepper <drepper@gmail.com>
11160
05bb4a68
UD
11161 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11162 and CLOCK_BOOTTIME_ALARM.
11163
7ea72f99
UD
11164 [BZ #12782]
11165 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11166 is returned.
11167
7e4afad5
UD
11168 * string/_strerror.c (__strerror_r): Print negative errors as signed
11169 numbers.
11170
8e211fec
UD
11171 [BZ #12777]
11172 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11173 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11174 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11175
f7d82dc9
UD
11176 * configure.in: Fix typo in redirection and correct removal of test
11177 files in two cases.
11178
cc9e536d
UD
11179 [BZ #12788]
11180 * locale/setlocale.c (new_composite_name): Fix test to check for
11181 identical name of all categories.
11182
aec84f53
UD
11183 [BZ #12792]
11184 * libio/filedoalloc.c (local_isatty): New function.
11185 (_IO_file_doallocate): Use local_isatty.
11186 * stdio-common/perror.c (perror): In case a new stream is used
11187 forward the stream error.
11188 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11189 error flag.
11190
78e64fdc
RT
111912011-05-20 Ulrich Drepper <drepper@gmail.com>
11192
34a9094f
UD
11193 [BZ #11869]
11194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11195 alloca.
11196 * include/alloca.h (extend_alloca_account): Define.
11197
78e64fdc
RT
11198 [BZ #11857]
11199 * posix/regex.h: Fix comments with documentation of user-accessible
11200 fields after compilation and describe correct free'ing of pattern
11201 after re_compile_pattern.
11202 Patch by Reuben Thomas <rrt@sc3d.org>.
11203
457bddfc
RA
112042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11205
11206 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11207 and -mno-altivec to prevent the compiler from using Altivec and/or
11208 VSX instructions when the corresponding registers are not available.
11209
a4527b51
AS
112102011-05-19 Andreas Schwab <schwab@redhat.com>
11211
11212 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11213
ed690b2f
UD
112142011-05-19 Ulrich Drepper <drepper@gmail.com>
11215
11216 * libio/freopen.c (freopen): Use __dup2, not dup2.
11217 * libio/freopen64.c (freopen64): Likewise.
11218
8db73634
L
112192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11220
11221 [BZ #12775]
11222 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11223 * math/Makefile (tests): Add test-powl.
11224 (CFLAGS-test-powl.c): Define.
11225 * math/test-powl.c: New file.
11226
0a197a9d
L
112272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11228
11229 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11230
ee30c380
UD
112312011-05-17 Ulrich Drepper <drepper@gmail.com>
11232
11233 [BZ #11837]
11234 * iconvdata/gb18030.c: Update to GB18020-2005.
11235
6ce75379
UD
112362011-05-16 Ulrich Drepper <drepper@gmail.com>
11237
a4b89fd8
AR
11238 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11239 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11240 Patch by Aharon Robbins <arnold@skeeve.com>.
11241
ea389b12
UD
11242 [BZ #11892]
11243 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11244 on the stack.
11245
68a3f91f
UD
11246 [BZ #11895]
11247 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11248 through underflows.
11249
15cc7dd1
UD
11250 [BZ #12766]
11251 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11252 point to strings before performing equality test for error_one_per_line
11253 mode.
11254
f3799213
UD
11255 [BZ #11697]
11256 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11257
d79a9c94
UD
11258 [BZ #11820]
11259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11260 (struct user_fpregs_struct): Avoid __uint*_t types.
11261
56e5eb46
UD
11262 [BZ #6420]
11263 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11264 symbol info. Use it instead of calling _dl_addr locally.
11265 (lock_and_info): New function.
11266 (tr_freehook): Call lock_and_info and pass symbol info as additional
11267 parameter to tr_where.
11268 (tr_mallochook): Likewise.
11269 (tr_reallochook): Likewise.
11270 (tr_memalignhook): Likewise.
11271
6ce75379
UD
11272 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11273 used and couldn't be at all thread-safe.
11274
f8a3b5bf
UD
112752011-05-15 Ulrich Drepper <drepper@gmail.com>
11276
94b7cc37
UD
11277 * libio/freopen.c (freopen): Don't close old file descriptor
11278 before the new one is opened. Instead dup the new file descriptor
11279 to the old one after the new stream is created.
11280 * libio/freopen64.c (freopen64): Likewise.
11281 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11282 * libio/fileops.c (_IO_new_file_close_it): Handle new
11283 _IO_FLAGS2_NOCLOSE flag.
11284 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11285 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11286 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11287 _IO_FLAGS2_NOCLOSE flag.
11288 * include/unistd.h: Add hidden_proto for dup3.
11289 Define __have_dup3.
11290 * io/dup3.c: Define hidden symbol.
11291 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11292
bd25564e
UD
11293 [BZ #7101]
11294 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11295 when an incomplete long option is used.
11296 * posix/tst-getopt_long1.c: New file.
11297 * posix/Makefile (tests): Add tst-getopt_long1.
11298
c84cfef4
UD
11299 [BZ #10138]
11300 * scripts/config.guess: Update from autoconf-2.68.
11301 * scripts/config.sub: Likewise.
11302
3b85df27
UD
11303 [BZ #10157]
11304 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11305 tests into ...
11306 (has_cpuclock): ...this. New function.
11307 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11308 macro here based on has_cpuclock code.
11309
15a856b1
UD
11310 [BZ #10149]
11311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11312 First byte (not low byte) is now always NUL.
11313 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11314
05f399e6
UD
11315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11316 Use non-cancelable interfaces.
11317
10a52685 11318 [BZ #9809]
94ecc67d
UD
11319 * locale/iso-639.def: Add entry for Sorani.
11320
f8a3b5bf
UD
11321 [BZ #11901]
11322 * include/stdlib.h: Move include protection to the right place.
11323 Define abort_msg_s. Declare __abort_msg with it.
11324 * stdlib/abort.c (__abort_msg): Adjust type.
11325 * assert/assert.c (__assert_fail_base): New function. Majority
11326 of code from __assert_fail. Allocate memory for __abort_msg with
11327 mmap.
11328 (__assert_fail): Now call __assert_fail_base.
11329 * assert/assert-perr.c: Remove bulk of implementation. Use
11330 __assert_fail_base.
11331 * include/assert.hL Declare __assert_fail_base.
11332 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11333 mmap.
11334 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11335
1af4e298
UD
113362011-05-14 Ulrich Drepper <drepper@gmail.com>
11337
f8a3b5bf 11338 [BZ #11952]
d26dfc60
MG
11339 [BZ #12453]
11340 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11341 until all modules are registered in the DTV.
11342 * elf/Makefile: Add rules to build and run tst-tls19.
11343 * elf/tst-tls19.c: New file.
11344 * elf/tst-tls19mod1.c: New file.
11345 * elf/tst-tls19mod2.c: New file.
11346 * elf/tst-tls19mod3.c: New file.
11347 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11348
2fc54d6f
UD
11349 [BZ #12083]
11350 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11351 correctly.
11352
98d76b46
UD
11353 [BZ #12601]
11354 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11355 two-byte sequence errors.
11356 * iconvdata/Makefile (tests): Add bug-iconv8.
11357 * iconvdata/bug-iconv8.c: New file.
11358
da3c19ef
UD
11359 [BZ #12626]
11360 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11361 buf2 definition.
11362
ca408c15
UD
11363 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11364
d6f67f7d
UD
11365 [BZ #12432]
11366 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11367 (dummy_getcfa): New function.
11368 (init): Get _Unwind_GetCFA address, use dummy if not found.
11369 (backtrace_helper): In recursion check, also check whether CFA changes.
11370 (__backtrace): Completely initialize arg.
11371
1af4e298 11372 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11373 storing incomplete byte sequence in state object. Avoid testing for
11374 guaranteed too small input if we know there is enough data available.
1af4e298 11375
da62f81b
AS
113762011-05-11 Andreas Schwab <schwab@redhat.com>
11377
11378 * Makeconfig (+link-pie): Indent.
11379 * Rules (binaries-pie): Define if $(have-fpie) and
11380 $(build-shared).
11381 (binaries-shared): Also filter out $(binaries-pie).
11382 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11383 * nscd/Makefile (others-pie): Add nscd.
11384 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11385 ($(objpfx)nscd): Remove command override.
11386 * login/Makefile (others-pie): Add pt_chown.
11387 ($(objpfx)pt_chown): Remove command override.
11388 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11389 remove command overrides.
11390
fcabc0f8
UD
113912011-05-13 Ulrich Drepper <drepper@gmail.com>
11392
20030ae6
UD
11393 * libio/tst_putwc.c: Fix error messages.
11394
fcabc0f8
UD
11395 [BZ #12724]
11396 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11397 currently writing and seek to current position when not.
11398 * libio/Makefile (tests): Add bug-fclose1.
11399 * libio/bug-fclose1.c: New file.
11400
320a5dc0
PB
114012011-05-12 Ulrich Drepper <drepper@gmail.com>
11402
11403 [BZ #12511]
11404 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11405 don't set DF_1_NODELETE here.
11406 (do_lookup_x): When entering new entry test for copy relocation
11407 and if necessary set DF_1_NODELETE flag.
11408 * elf/tst-unique4.cc: New file.
11409 * elf/tst-unique4.h: New file.
11410 * elf/tst-unique4lib.cc: New file.
11411 * elf/Makefile: Add rules to build and run tst-unique4.
11412 Patch by Piotr Bury <pbury@goahead.com>.
11413
22836f52
UD
114142011-05-11 Ulrich Drepper <drepper@gmail.com>
11415
f574184a
UD
11416 [BZ #12052]
11417 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11418
e1fb097f
UD
11419 [BZ #12625]
11420 * misc/mntent_r.c (addmntent): Flush the stream after the output
11421
22836f52
UD
11422 [BZ #12393]
11423 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11424 (is_trusted_path_normalize): Skip initial colon. Append slash
11425 to empty buffer. Duplicate is_trusted_path code but allow
11426 constructed patch to be prefix.
11427 (is_dst): Allow $ORIGIN followed by /.
11428 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11429 Correct testing of result of is_trusted_path_normalize
11430 (decompose_rpath): Fix warning.
11431
7b3b0b2a
UD
114322011-05-10 Ulrich Drepper <drepper@gmail.com>
11433
11434 [BZ #11257]
11435 * grp/initgroups.c (internal_getgrouplist): When we found the service
11436 list through the initgroups entry in nsswitch.conf do not always
11437 continue on a successful lookup. Don't always use the
eac80ce2 11438 __nss_group_database value if it is set.
7b3b0b2a
UD
11439 * nss/nsswitch.conf (initgroups): Change action for successful db
11440 lookup to continue for compatibility.
11441
2a81eaa5
UD
114422011-05-09 Ulrich Drepper <drepper@gmail.com>
11443
be97a69e
UD
11444 [BZ #11532]
11445 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11446 and CP774 modules.
11447 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11448 and CP774 modules.
11449 * iconvdata/tst-tables.sh: Likewise.
11450 * iconvdata/cp770.c: New file.
11451 * iconvdata/cp771.c: New file.
11452 * iconvdata/cp772.c: New file.
11453 * iconvdata/cp773.c: New file.
11454 * iconvdata/cp774.c: New file.
11455 * iconvdata/testdata/CP770: New file.
11456 * iconvdata/testdata/CP770..UTF8: New file.
11457 * iconvdata/testdata/CP771: New file.
11458 * iconvdata/testdata/CP771..UTF8: New file.
11459 * iconvdata/testdata/CP772: New file.
11460 * iconvdata/testdata/CP772..UTF8: New file.
11461 * iconvdata/testdata/CP773: New file.
11462 * iconvdata/testdata/CP773..UTF8: New file.
11463 * iconvdata/testdata/CP774: New file.
11464 * iconvdata/testdata/CP774..UTF8: New file.
11465
11466 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11467 END CHARMAP line.
11468 * iconvdata/gen-8bit-gap.sh: Likewise.
11469 * iconvdata/gen-8bit.sh: Likewise.
11470
c1e9e399
UD
11471 * locale/iso-639.def: Add ary entry.
11472
24c55fb3 11473 [BZ #11258]
96b4b1b0
UD
11474 * locale/C-translit.h.in: Add U20A1 transliteration.
11475
bdc2f971
KB
11476 [BZ #12178]
11477 * locale/iso-639.def: Add wae entry.
11478 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11479
2952b117
UD
11480 [BZ #12545]
11481 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11482 for n.
11483
2a81eaa5
UD
11484 [BZ #12711]
11485 * locale/C-translit.h.in: Add entry for U20B9.
11486 Patch by pravin.d.s@gmail.com.
11487
28377d1b
UD
114882011-05-08 Ulrich Drepper <drepper@gmail.com>
11489
7fb90fb8
UD
11490 [BZ #12713]
11491 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11492 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11493 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11494 in rtld. Use *stat64.
7fb90fb8 11495 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11496 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11497 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11498 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11499 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11500 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11501 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11502 __fstatat64 macros.
7fb90fb8
UD
11503 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11504 * dirent/rewinddir.c: Add libc_hidden_def.
11505 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11506 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11507
28377d1b
UD
11508 * include/dirent.h (__alloc_dir): Add flags parameter.
11509 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11510 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11511 __alloc_dir.
11512 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11513 from fdopendir if O_CLOEXEC is already set.
11514
66bdbaa4
AM
115152011-03-15 Alan Modra <amodra@gmail.com>
11516
11517 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11518 l_tls_firstbyte_offset non-zero. Save padding offset in
11519 l_tls_firstbyte_offset for later use.
11520 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11521 freeing static tls block.
11522
95721191
JN
115232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11524
11525 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11526 where #ifdef was intended. The intent is to prevent ARG_MAX from
11527 being defined by the kernel headers.
11528
f87dfb1f
UD
115292011-05-07 Ulrich Drepper <drepper@gmail.com>
11530
11531 [BZ #12734]
11532 * resolv/resolv.h: Define RES_NOTLDQUERY.
11533 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11534 no-tld-query and set RES_NOTLDQUERY.
11535 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11536 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11537 modern BIND to search name as TLD unless forbidden.
11538
47c3cd7a
UD
115392011-05-07 Petr Baudis <pasky@suse.cz>
11540 Ulrich Drepper <drepper@gmail.com>
11541
11542 [BZ #12393]
11543 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11544 (is_trusted_path): ...to here.
c1e9ea35 11545 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11546 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11547 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11548
8a35c912
PP
115492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11550
11551 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11552 __BEGIN/__END_DECLS.
11553
acd41f47
UD
115542011-05-06 Ulrich Drepper <drepper@gmail.com>
11555
11556 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11557 NSS_STATUS_NOTFOUND if no record was found.
11558
597df647
AS
115592011-05-05 Andreas Schwab <schwab@redhat.com>
11560
11561 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11562 (headers-not-in-tirpc): Remove rpc/netdb.h
11563 * resolv/netdb.h: Revert last change.
11564
b9af1301
PP
115652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11566
11567 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11568 circular dependency between libgcc.a and libc.a.
11569
4e34d5f5
AS
115702011-05-05 Andreas Schwab <schwab@redhat.com>
11571
11572 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11573 * nis/Makefile: Don't install rpcsvc/*.
11574 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11575 instead of <rpc/types.h>.
11576 (MAXHOSTNAMELEN): Define.
11577
00ee369c
AS
115782011-05-03 Andreas Schwab <schwab@redhat.com>
11579
11580 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11581
0b592a30
MB
115822011-04-28 Maciej Babinski <mbabinski@google.com>
11583
11584 [BZ #12714]
11585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11586 gethostbyname4_r when IPv6 results are possible.
11587
6e04cbbe
UD
115882011-05-02 Ulrich Drepper <drepper@gmail.com>
11589
11590 [BZ #12723]
11591 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11592 _PC_PIPE_BUF handling.
11593
e4ecafe0
BH
115942011-04-30 Bruno Haible <bruno@clisp.org>
11595
11596 [BZ #12717]
11597 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11598 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11599 to 'int'.
11600 * inet/getnameinfo.c (getnameinfo): Likewise.
11601
125ee683
UD
116022011-04-29 Ulrich Drepper <drepper@gmail.com>
11603
11604 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11605 to groups setting in database lookup.
11606 * nss/nsswitch.conf: Add initgroups entry.
11607
b722481a
EB
116082011-04-22 Ulrich Drepper <drepper@gmail.com>
11609
11610 [BZ #12685]
11611 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11612 mode string.
11613 Patch by Eric Blake <eblake@redhat.com>.
11614
4df46dbd
L
116152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11616
11617 * sunrpc/Makefile (need-export-routines): Add svc_run.
11618 (routines): Remove svc_run.
11619 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11620 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11621 * sunrpc/svc_run.c (svc_run): Likewise.
11622 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11623
e84142d2
UD
116242011-04-21 Ulrich Drepper <drepper@gmail.com>
11625
11626 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11627 problem in reallocation in last patch.
11628
877175d8
UD
116292011-04-20 Ulrich Drepper <drepper@gmail.com>
11630
11631 * sunrpc/Makefile: Move inclusion of Rules.
11632
ab8eed78
UD
116332011-04-19 Ulrich Drepper <drepper@gmail.com>
11634
11635 * nss/nss_files/files-initgroups.c: New file.
11636 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11637 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11638 _nss_files_initgroups_dyn.
11639
e3d8f584
RS
116402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11641
11642 * elf/elf.h (R_ARM_IRELATIVE): Define.
11643
af190f45
UD
116442011-04-19 Ulrich Drepper <drepper@gmail.com>
11645
11646 * po/ru.po: Update from translation team.
11647
53cf59ef
UD
116482011-04-17 Ulrich Drepper <drepper@gmail.com>
11649
11650 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11651 dependencies.
11652
4c559bcd
MF
116532011-02-06 Mike Frysinger <vapier@gentoo.org>
11654
11655 [BZ #12653]
11656 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11657 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11659 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11661
4420675c
AS
116622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11663
11664 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11665 differing bytes.
11666 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11667 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11668 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11669
75ea32ab
UD
116702011-04-17 Ulrich Drepper <drepper@gmail.com>
11671
11672 [BZ #12420]
11673 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11674 storing it.
11675 * stdlib/bug-getcontext.c: New file.
11676 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11677
27390476
AK
116782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11679
11680 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11681 instructions into .machine "z9-109".
11682 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11683 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11684
10442705
AK
116852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11686
11687 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11688 between environment variables and auxiliary vector.
11689
7b57bfe5
UD
116902011-04-16 Ulrich Drepper <drepper@gmail.com>
11691
11692 * Makefile: Add rules to build linkobj/libc.so.
11693 * include/libc-symbols.h: Define libc_hidden_nolink.
11694 * include/rpc/auth.h: Mark functions which are to be hidden.
11695 * include/rpc/auth_des.h: Likewise.
11696 * include/rpc/auth_unix.h: Likewise.
11697 * include/rpc/clnt.h: Likewise.
11698 * include/rpc/des_crypt.h: Likewise.
11699 * include/rpc/key_prot.h: Likewise.
11700 * include/rpc/pmap_clnt.h: Likewise.
11701 * include/rpc/pmap_prot.h: Likewise.
11702 * include/rpc/pmap_rmt.h: Likewise.
11703 * include/rpc/rpc_msg.h: Likewise.
11704 * include/rpc/svc.h: Likewise.
11705 * include/rpc/svc_auth.h: Likewise.
11706 * include/rpc/xdr.h: Likewise.
11707 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11708 * nss/Makefile: Likewise.
11709 * sunrpc/Makefile: Don't install headers. Build library with normal
11710 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11711 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11712 for the compat linking library. Remove use of INTDEF/INTUSE.
11713 * sunrpc/auth_none.c: Likewise.
11714 * sunrpc/auth_unix.c: Likewise.
11715 * sunrpc/authdes_prot.c: Likewise.
11716 * sunrpc/authuxprot.c: Likewise.
11717 * sunrpc/clnt_gen.c: Likewise.
11718 * sunrpc/clnt_perr.c: Likewise.
11719 * sunrpc/clnt_raw.c: Likewise.
11720 * sunrpc/clnt_simp.c: Likewise.
11721 * sunrpc/clnt_tcp.c: Likewise.
11722 * sunrpc/clnt_udp.c: Likewise.
11723 * sunrpc/clnt_unix.c: Likewise.
11724 * sunrpc/des_crypt.c: Likewise.
11725 * sunrpc/des_soft.c: Likewise.
11726 * sunrpc/get_myaddr.c: Likewise.
11727 * sunrpc/key_call.c: Likewise.
11728 * sunrpc/key_prot.c: Likewise.
11729 * sunrpc/netname.c: Likewise.
11730 * sunrpc/pm_getmaps.c: Likewise.
11731 * sunrpc/pm_getport.c: Likewise.
11732 * sunrpc/pmap_clnt.c: Likewise.
11733 * sunrpc/pmap_prot.c: Likewise.
11734 * sunrpc/pmap_prot2.c: Likewise.
11735 * sunrpc/pmap_rmt.c: Likewise.
11736 * sunrpc/publickey.c: Likewise.
11737 * sunrpc/rpc_cmsg.c: Likewise.
11738 * sunrpc/rpc_common.c: Likewise.
11739 * sunrpc/rpc_dtable.c: Likewise.
11740 * sunrpc/rpc_prot.c: Likewise.
11741 * sunrpc/rpc_thread.c: Likewise.
11742 * sunrpc/rtime.c: Likewise.
11743 * sunrpc/svc.c: Likewise.
11744 * sunrpc/svc_auth.c: Likewise.
11745 * sunrpc/svc_authux.c: Likewise.
11746 * sunrpc/svc_raw.c: Likewise.
11747 * sunrpc/svc_run.c: Likewise.
11748 * sunrpc/svc_simple.c: Likewise.
11749 * sunrpc/svc_tcp.c: Likewise.
11750 * sunrpc/svc_udp.c: Likewise.
11751 * sunrpc/svc_unix.c: Likewise.
11752 * sunrpc/svcauth_des.c: Likewise.
11753 * sunrpc/xcrypt.c: Likewise.
11754 * sunrpc/xdr.c: Likewise.
11755 * sunrpc/xdr_array.c: Likewise.
11756 * sunrpc/xdr_float.c: Likewise.
11757 * sunrpc/xdr_intXX_t.c: Likewise.
11758 * sunrpc/xdr_mem.c: Likewise.
11759 * sunrpc/xdr_rec.c: Likewise.
11760 * sunrpc/xdr_ref.c: Likewise.
11761 * sunrpc/xdr_sizeof.c: Likewise.
11762 * sunrpc/xdr_stdio.c: Likewise.
11763
e6c61494
UD
117642011-04-10 Ulrich Drepper <drepper@gmail.com>
11765
11766 [BZ #12650]
11767 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11768 * sysdeps/ia64/dl-tls.h: Likewise.
11769 * sysdeps/powerpc/dl-tls.h: Likewise.
11770 * sysdeps/s390/dl-tls.h: Likewise.
11771 * sysdeps/sh/dl-tls.h: Likewise.
11772 * sysdeps/sparc/dl-tls.h: Likewise.
11773 * sysdeps/x86_64/dl-tls.h: Likewise.
11774 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11775
34fe483e
AS
117762011-03-14 Andreas Schwab <schwab@redhat.com>
11777
11778 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11779 rpath element also skip the following colon.
11780 (expand_dynamic_string_token): Add is_path parameter and pass
11781 down to DL_DST_REQUIRED and _dl_dst_substitute.
11782 (decompose_rpath): Call expand_dynamic_string_token with
11783 non-zero is_path. Ignore empty rpaths.
11784 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11785 with zero is_path.
11786
f12a32e6
AS
117872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11788
11789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11790 Make cancelable.
11791
38a7d692
UD
117922011-04-09 Ulrich Drepper <drepper@gmail.com>
11793
11794 [BZ #12655]
11795 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11796 Patch by Filipe David Manana <fdmanana@apache.org>.
11797
e451d22b
AS
117982011-04-07 Andreas Schwab <schwab@redhat.com>
11799
11800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11801 Maintain aligned stack.
11802 (CHECK_RSP): Remove unused macro.
11803
dedc7c7b
UD
118042011-04-03 Ulrich Drepper <drepper@gmail.com>
11805
11806 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11807 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11808
94521213
UD
118092011-04-02 Ulrich Drepper <drepper@gmail.com>
11810
11811 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11812
8cb700c0 11813 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11814
0354e355
L
118152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11816
11817 [BZ #12518]
11818 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11819 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11820 * sysdeps/x86_64/memmove.c: New file.
11821 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11822 (memcpy): Renamed to ...
11823 (__new_memcpy): This.
11824 (memcpy): Provide GLIBC_2_14 memcpy.
11825 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11826 (memcpy): Provide GLIBC_2_2_5 memcpy.
11827
8593482f
UD
118282011-04-01 Ulrich Drepper <drepper@gmail.com>
11829
11830 [BZ #12631]
11831 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11832
81a5726b
AS
118332011-03-30 Andreas Schwab <schwab@redhat.com>
11834
11835 * misc/syncfs.c: New file.
11836 * misc/Makefile (routines): Add syncfs.
11837 * posix/unistd.h: Declare syncfs.
11838 * sysdeps/unix/syscalls.list: Add syncfs.
11839
00e5419f
AS
118402011-04-01 Andreas Schwab <schwab@redhat.com>
11841
11842 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11843 open_by_handle_at.
11844 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11845 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11847 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11849 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11851
748876bf
UD
118522011-04-01 Ulrich Drepper <drepper@gmail.com>
11853
658e451d
UD
11854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11856 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11861
748876bf
UD
11862 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11863 sync_file_range.c with -fexceptions.
11864 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11865 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11866 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11867 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11868 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11869 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11870 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11871 sync_file_range as cancellation point
11872 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11873 now a wrapper around __call_sync_file_range with cancellation handling.
11874 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11875 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11876 function name to __call_sync_file_range.
11877 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11878 Add call_sync_file_range.
748876bf 11879
6e63d5e1
AS
118802011-04-01 Andreas Schwab <schwab@redhat.com>
11881
11882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11883 bits/timex.h.
6e63d5e1 11884
46998f74
UD
118852011-04-01 Ulrich Drepper <drepper@gmail.com>
11886
4c1423ed
UD
11887 * iconv/iconv.h: Fix typo in comment.
11888 * io/fcntl.h: Likewise.
11889 * libio/stdio.h: Likewise.
11890 * posix/spawn.h: Likewise.
11891 * posix/unistd.h: Likewise.
11892 * stdlib/stdlib.h: Likewise.
11893 * time/time.h: Likewise.
11894 * wcsmbs/wchar.h: Likewise.
11895
158648c0
UD
11896 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11897 open_by_handle): Add.
11898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11899 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11900 Augment a few comments.
11901 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11903 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11906 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11907 open_by_handle.
11908
46998f74
UD
11909 * io/fcntl.h (AT_EMPTY_PATH): Define.
11910
83fe108b
UD
119112011-03-30 Ulrich Drepper <drepper@gmail.com>
11912
11913 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11914 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11915 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11916 to...
11917 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11918 * Versions.def: Add GLIBC_2.14.
11919 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11920 Export.
83fe108b 11921
bb242059
UD
119222011-03-22 Ulrich Drepper <drepper@gmail.com>
11923
11924 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11925 round counter.
11926 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11927
c97a1282
L
119282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11929
11930 [BZ #12597]
11931 * string/test-strncmp.c (do_page_test): New function.
11932 (check2): Likewise.
11933 (test_main): Call check2.
11934 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11935
2a115601
UD
119362011-03-20 Ulrich Drepper <drepper@gmail.com>
11937
11938 [BZ #12587]
11939 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11940 Handle cache information in CPU leaf 4.
11941 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11942
8126d904
UD
119432011-03-18 Ulrich Drepper <drepper@gmail.com>
11944
042c49c6 11945 [BZ #12583]
8126d904
UD
11946 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11947 character representation.
11948 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11949
ccfe366e
RA
119502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11951
11952 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11953 END(__isnan) to END(__isnanf) to match function entry point/label
11954 EALIGN(__isnanf,...).
11955
c6e13027
JJ
119562011-03-10 Jakub Jelinek <jakub@redhat.com>
11957
11958 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11959
33f85a3f
UD
119602011-03-10 Ulrich Drepper <drepper@gmail.com>
11961
028478fa
UD
11962 [BZ #12510]
11963 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11964 copy from the symbol referenced in the relocation to initialize the
11965 used variable.
11966 Patch by Piotr Bury <pbury@goahead.com>.
11967 * elf/Makefile: Add rules to build and tst-unique3.
11968 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11969 * elf/tst-unique3.cc: New file.
11970 * elf/tst-unique3.h: New file.
11971 * elf/tst-unique3lib.cc: New file.
11972 * elf/tst-unique3lib2.cc: New file.
11973
33f85a3f
UD
11974 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11975
03592fc7
MF
119762011-03-10 Mike Frysinger <vapier@gentoo.org>
11977
11978 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11979 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11980 to _start.
03592fc7 11981
6a5ee102
UD
119822011-03-06 Ulrich Drepper <drepper@gmail.com>
11983
11984 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11985 to-be-loaded object along a path to loader is ld.so.
11986
7e4ba49c
HJ
119872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11988 Ulrich Drepper <drepper@gmail.com>
11989
11990 * sysdeps/x86_64/memset.S: After aligning destination, code
11991 branches to different locations depending on the value of
11992 misalignment, when multiarch is enabled. Fix this.
11993
119942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11995
11996 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11997 Set _x86_64_preferred_memory_instruction for AMD processsors.
11998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11999 Set bit_Prefer_SSE_for_memop for AMD processors.
12000
13a804de
UD
120012011-03-04 Ulrich Drepper <drepper@gmail.com>
12002
12003 * libio/fmemopen.c (fmemopen): Optimize a bit.
12004
9d25c392
AS
120052011-03-03 Andreas Schwab <schwab@redhat.com>
12006
12007 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12008
a5543c6a
RM
120092011-03-03 Roland McGrath <roland@redhat.com>
12010
12011 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12012
012d35f7
DM
120132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12014
7e4ba49c 12015 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12016 __bzero_ultra1 instead of __memset_ultra1.
12017
4bff6e01
AS
120182011-02-23 Andreas Schwab <schwab@redhat.com>
12019 Ulrich Drepper <drepper@gmail.com>
12020
12021 [BZ #12509]
12022 * include/link.h (struct link_map): Add l_orig_initfini.
12023 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12024 returning unsuccessfully.
12025 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12026 close of a file loaded at startup, restore the original l_initfini
12027 list.
12028 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12029 list, store the pointer.
12030 * elf/Makefile ($(objpfx)noload-mem): New rule.
12031 (noload-ENV): Define.
12032 (tests): Add $(objpfx)noload-mem.
12033 * elf/noload.c: Include <memcheck.h>.
12034 (main): Call mtrace. Close all opened handles.
12035
f2092faf
AS
120362011-02-17 Andreas Schwab <schwab@redhat.com>
12037
12038 [BZ #12454]
12039 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12040 dependencies are missing.
12041
6c8a2e88
ST
120422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12043
f2092faf 12044 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12045 Hurd needs munmap.
12046 * sysdeps/mach/hurd/ifreq.h: New file.
12047
84a42118
PB
120482011-01-27 Petr Baudis <pasky@suse.cz>
12049 Ulrich Drepper <drepper@gmail.com>
12050
071f805e 12051 [BZ 12445]#
84a42118
PB
12052 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12053 to extend_alloca().
12054 * stdio-common/bug23.c: New file.
12055 * stdio-common/Makefile (tests): Add bug23.
12056
e23fe25b
AS
120572010-09-28 Andreas Schwab <schwab@redhat.com>
12058 Ulrich Drepper <drepper@gmail.com>
12059
12060 [BZ #12489]
12061 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12062 before performing relro protection. At old place add assertion
12063 to make sure nothing changed.
12064
d3f02e10
NS
120652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12066 Glauber de Oliveira Costa <glommer@gmail.com>
12067
12068 * elf/elf.h: Add new ARM TLS relocs.
12069
d55fd7a5
RA
120702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12071
12072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12073 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12074 cast from r3.
12075 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12076 'tests' variable.
12077 * sysdeps/wordsize-64/tst-writev.c: New file.
12078
2206397e
RA
120792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12080
12081 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12082 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12083 insns in _dl_start to prevent a TOC reference before relocs are
12084 resolved.
12085
e9433893
UD
120862011-02-15 Ulrich Drepper <drepper@gmail.com>
12087
12088 [BZ #12469]
12089 * Makeconfig: Remove RANLIB definition.
12090 * Makerules: Don't use RANLIB.
12091 * aclocal.m4: Remove ranlib test.
12092 * configure.in: No need to check for ranlib.
12093 * elf/rtld-Rules: Don't use RANLIB.
12094
f75286c6
ST
120952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12096
8e31c82d
ST
12097 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12098 protection macro.
12099 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12100 inclusion protection macro.
12101
f75286c6
ST
12102 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12103 SIGRTMIN and SIGRTMAX and print information in that case only when
12104 SIGRTMIN is defined.
12105
c1d0e639
JJ
121062011-02-11 Jakub Jelinek <jakub@redhat.com>
12107
12108 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12109 arginfo fn returning -1.
12110
12111 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12112 and thousands string is zero terminated.
12113
edf9294e
AS
121142011-02-03 Andreas Schwab <schwab@redhat.com>
12115
12116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12117 sysdeps/unix/sysv/linux/bits/socket.h.
12118
2b7e92df
ST
121192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12120
edf9294e
AS
12121 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12122 (__CPU_COUNT): Remove old macros.
12123 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12124 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12125 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12126 (__sched_cpualloc, __sched_cpufree): Add declarations.
12127
a4c7ea7b
UD
121282011-02-05 Ulrich Drepper <drepper@gmail.com>
12129
12130 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12131 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12132 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12133 (readdhstai): Return value of addhstaiX call.
12134 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12135 (addgrbyX): Return value returned by cache_addgr.
12136 (readdgrbyname): Return value returned by addgrbyX.
12137 (readdgrbygid): Likewise.
12138 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12139 (addpwbyX): Return value returned by cache_addpw.
12140 (readdpwbyname): Return value returned by addhstbyX.
12141 (readdpwbyuid): Likewise.
12142 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12143 (addservbyX): Return value returned by cache_addserv.
12144 (readdservbyname): Return value returned by addservbyX:
12145 (readdservbyport): Likewise.
12146 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12147 (addhstbyX): Return value returned by cache_addhst.
12148 (readdhstbyname): Return value returned by addhstbyX.
12149 (readdhstbyaddr): Likewise.
12150 (readdhstbynamev6): Likewise.
12151 (readdhstbyaddrv6): Likewise.
12152 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12153 (readdinitgroups): Return value returned by addinitgroupsX.
12154 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12155 (prune_cache): Keep track of timeout value of re-added entries.
12156 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12157 * nscd/nscd.h: Adjust prototypes of readd* functions.
12158
a0bf67cc
RM
121592011-02-04 Roland McGrath <roland@redhat.com>
12160
12161 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12162 (nis_stats): Likewise.
12163 * nis/nis_modify.c (nis_modify): Likewise.
12164 * nis/nis_remove.c (nis_remove): Likewise.
12165 * nis/nis_add.c (nis_add): Likewise.
12166
12167 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12168
12169 * posix/fnmatch_loop.c: Add some consts.
12170
12171 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12172
435b95eb
L
121732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12174
12175 [BZ #12460]
12176 * config.make.in (config-cflags-novzeroupper): Define.
12177 * configure.in: Substitute libc_cv_cc_novzeroupper.
12178 * elf/Makefile (AVX-CFLAGS): Define.
12179 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12180 (CFLAGS-tst-auditmod4a.c): Likewise.
12181 (CFLAGS-tst-auditmod4b.c): Likewise.
12182 (CFLAGS-tst-auditmod6b.c): Likewise.
12183 (CFLAGS-tst-auditmod6c.c): Likewise.
12184 (CFLAGS-tst-auditmod7b.c): Likewise.
12185 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12186
8517b15e
UD
121872011-02-02 Ulrich Drepper <drepper@gmail.com>
12188
12189 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12190 function to the callback.
12191 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12192
10a656fe
AS
121932011-02-02 Andreas Schwab <schwab@redhat.com>
12194
12195 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12196 of errno.
12197
968dad0a
UD
121982011-01-19 Ulrich Drepper <drepper@gmail.com>
12199
9f94d2ea 12200 [BZ #11724]
968dad0a
UD
12201 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12202 of constructors.
12203 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12204 of destructors.
12205 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12206
12207 [BZ #11724]
12208 * elf/Makefile: Add rules to build and run new test.
12209 * elf/tst-initorder.c: New file.
12210 * elf/tst-initorder.exp: New file.
12211 * elf/tst-initordera1.c: New file.
12212 * elf/tst-initordera2.c: New file.
12213 * elf/tst-initordera3.c: New file.
12214 * elf/tst-initordera4.c: New file.
12215 * elf/tst-initorderb1.c: New file.
12216 * elf/tst-initorderb2.c: New file.
12217 * elf/tst-order-a1.c: New file.
12218 * elf/tst-order-a2.c: New file.
12219 * elf/tst-order-a3.c: New file.
12220 * elf/tst-order-a4.c: New file.
12221 * elf/tst-order-b1.c: New file.
12222 * elf/tst-order-b2.c: New file.
12223 * elf/tst-order-main.c: New file.
12224 New test case by George Gensure <werkt0@gmail.com>.
12225
86e92359
UD
122262010-10-01 Andreas Schwab <schwab@redhat.com>
12227
12228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12229 decoding ACE if AI_CANONIDN.
12230
5d5732b0
UD
122312011-01-18 Ulrich Drepper <drepper@gmail.com>
12232
12233 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12234
a77e8cbc
UD
122352011-01-17 Ulrich Drepper <drepper@gmail.com>
12236
6392473f
UD
12237 * version.h (RELEASE): Bump for 2.13 release.
12238 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12239
620a0529
UD
12240 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12241
18ba70a5
UD
12242 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12243 MADV_NOHUGEPAGE.
32465c3e
UD
12244 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12245 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12246 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12247 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12249 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12250
c0dafcf1
UD
12251 * posix/getconf.c: Update copyright year.
12252 * catgets/gencat.c: Likewise.
12253 * csu/version.c: Likewise.
12254 * debug/catchsegv.sh: Likewise.
12255 * debug/xtrace.sh: Likewise.
12256 * elf/ldconfig.c: Likewise.
12257 * elf/ldd.bash.in: Likewise.
12258 * elf/sprof.c (print_version): Likewise.
12259 * iconv/iconv_prog.c: Likewise.
12260 * iconv/iconvconfig.c: Likewise.
12261 * locale/programs/locale.c: Likewise.
12262 * locale/programs/localedef.c: Likewise.
12263 * malloc/memusage.sh: Likewise.
12264 * malloc/mtrace.pl: Likewise.
12265 * nscd/nscd.c (print_version): Likewise.
12266 * nss/getent.c: Likewise.
12267
a77e8cbc
UD
12268 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12269 PF_CAIF, and PF_ALG.
12270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12271
77e8bddf
AS
122722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12273
1f20b93a
AS
12274 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12275 (modules-names): Use them.
12276 (ifunc-test-modules, ifunc-pie-tests): Define.
12277 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12278 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12279 (test-extras): Likewise.
12280 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12281 $(compile-command.c).
12282 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12283 (all-built-dso): Define.
12284 (check-textrel.out, check-execstack.out): Depend on it.
12285
77e8bddf
AS
12286 * configure.in: Don't override --enable-multi-arch.
12287
bc425b33
UD
122882011-01-15 Ulrich Drepper <drepper@gmail.com>
12289
12290 [BZ #6812]
12291 * nscd/hstcache.c (tryagain): Define.
12292 (cache_addhst): Return tryagain not notfound for temporary errors.
12293 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12294 failed.
12295
794c3ad3
UD
122962011-01-14 Ulrich Drepper <drepper@gmail.com>
12297
70181fdd
UD
12298 [BZ #10563]
12299 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12300 to make the syscall.
12301 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12302
794c3ad3
UD
12303 [BZ #12378]
12304 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12305 and fall back to matching as normal character if the string ends before
12306 the matching ']' is found. This is what POSIX requires.
12307 * posix/testfnm.c: Adjust test result.
12308 * posix/globtest.sh: Adjust test result. Add new test.
12309 * posix/tst-fnmatch.input: Likewise.
12310 * posix/tst-fnmatch2.c: Add new test.
12311
68dc9497
AS
123122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12313
12314 * elf/Makefile (check-execstack): Revert last change. Depend on
12315 check-execstack.h.
12316 (check-execstack.h): New target.
12317 (generated): Add check-execstack.h.
12318 * elf/check-execstack.c: Include "check-execstack.h".
12319 (main): Revert last change.
12320 (handle_file): Return zero if GNU_STACK is absent and
12321 DEFAULT_STACK_PERMS doesn't include PF_X.
12322
451f001b
UD
123232011-01-13 Ulrich Drepper <drepper@gmail.com>
12324
cfa28e56
UD
12325 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12326 in child fails because the descriptor is already closed.
8cf8ce17
UD
12327 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12328 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12329 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12330
1086d70d
UD
12331 [BZ #12397]
12332 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12333 syscall.
12334
451f001b
UD
12335 [BZ #10484]
12336 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12337 temporary buffer used to handle multi lookups locally.
a85b5cb4 12338 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12339
08769175
UD
123402011-01-12 Ulrich Drepper <drepper@gmail.com>
12341
12342 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12343 loader is ld.so.
12344
5e49c52e
UD
123452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12346
12347 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12348 alignment for SSE2.
12349
60522a5f
UD
123502011-01-12 Ulrich Drepper <drepper@gmail.com>
12351
12352 [BZ #12394]
12353 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12354 characters. When rounding increased number of integer digits recompute
12355 number of groups.
12356 * stdio-common/tst-grouping.c: New file.
12357 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12358
f257bbd7
UD
123592011-01-09 Ulrich Drepper <drepper@gmail.com>
12360
12361 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12362 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12363
12364 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12365 void.
12366 * bits/select.h: Likewise.
12367
fa9c15cb
UD
123682011-01-08 Ulrich Drepper <drepper@gmail.com>
12369
12370 * po/ja.po: Update from translation team.
12371
16c2895f
DM
123722011-01-04 David S. Miller <davem@sunset.davemloft.net>
12373
12374 [BZ #11155]
12375 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12376 implementation just like for lxstat, fxstatat, et al.
12377
2543fef2
JM
123782010-12-27 Jim Meyering <meyering@redhat.com>
12379
12380 [BZ #12348]
12381 * posix/regexec.c (build_trtable): Return failure indication upon
12382 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12383
98727dbe
UD
123842010-12-25 Ulrich Drepper <drepper@gmail.com>
12385
5bd6dc5c
UD
12386 [BZ #12201]
12387 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12388 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12389 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12390 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12391
97983464
UD
12392 [BZ #12207]
12393 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12394
98727dbe
UD
12395 [BZ #12204]
12396 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12397 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12398
4a531bb0
L
123992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12400
12401 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12402 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12403 script has SORT_BY_INIT_PRIORITY.
12404 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12405 NO_CTORS_DTORS_SECTIONS is defined.
12406 * elf/soinit.c: Likewise.
12407 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12408 NO_CTORS_DTORS_SECTIONS is defined.
12409 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12410 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12411 * sysdeps/sh/init-first.c: Likewise.
12412 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12413
07eb4b71
UD
124142010-12-24 Ulrich Drepper <drepper@gmail.com>
12415
12416 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12417 always use the slow path.
12418
30950a5f
RA
124192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12420
12421 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12422 similar rule which adds the sysdep directories to the header search in
12423 order to pick up the correct platform stackinfo.h.
12424 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12425 perform test if it is, otherwise return successfully without testing.
12426 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12427 DEFAULT_STACK_PERMS define in stackinfo.h.
12428 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12429 defined in stackinfo.h.
12430 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12431 DEFAULT_STACK_PERMS defined in stackinfo.h.
12432 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12433 * sysdeps/ia64/stackinfo.h: Likewise.
12434 * sysdeps/s390/stackinfo.h: Likewise.
12435 * sysdeps/sh/stackinfo.h: Likewise.
12436 * sysdeps/sparc/stackinfo.h: Likewise.
12437 * sysdeps/x86_64/stackinfo.h: Likewise.
12438 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12439 PF_X for powerpc64. Retain PF_X for powerpc32.
12440
db753e2c
UD
124412010-12-19 Ulrich Drepper <drepper@gmail.com>
12442
14b697f7
UD
12443 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12444 accurately.
db753e2c
UD
12445 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12446 GETDENTS_64BIT_ALIGNED.
12447
28300719
UD
124482010-12-14 Ulrich Drepper <dreper@gmail.com>
12449
14b697f7 12450 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12451
4f197237
AS
124522010-12-10 Andreas Schwab <schwab@redhat.com>
12453
dbb0472f
AS
12454 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12455 _GNU_SOURCE.
12456
4f197237
AS
12457 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12458 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12459 Remove __restrict.
12460 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12461 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12462
fb88ac72
UD
124632010-12-09 Ulrich Drepper <drepper@gmail.com>
12464
12465 [BZ #11655]
12466 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12467 are initialized.
12468
42acbb92
JJ
124692010-12-09 Jakub Jelinek <jakub@redhat.com>
12470
12471 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12472
c038d98d
UD
124732010-12-03 Ulrich Drepper <drepper@gmail.com>
12474
12475 * po/it.po: Update from translation team.
12476
3a4a2499
L
124772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12478
12479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12480 unused codes.
12481
1e24cf6e
UD
124822010-11-30 Ulrich Drepper <drepper@gmail.com>
12483
12484 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12485
a7690819
AS
124862010-11-24 Andreas Schwab <schwab@redhat.com>
12487
12488 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12489 specially.
12490 (gaih_getanswer_slice): Likewise.
12491
3bf8d1b1
JJ
124922010-10-20 Jakub Jelinek <jakub@redhat.com>
12493
12494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12495
6db52fbb
PB
124962010-05-31 Petr Baudis <pasky@suse.cz>
12497
12498 [BZ #11149]
12499 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12500 silently even in the chroot mode.
12501
eaca7569
UD
125022010-11-22 Ulrich Drepper <drepper@gmail.com>
12503
12504 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12505 last patch a bit. Pretty printing
12506
3056dcdb
UD
125072010-05-31 Petr Baudis <pasky@suse.cz>
12508
12509 [BZ #10085]
12510 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12511 initialization of skip_initgroups_dyn.
12512
cf7c9078
UD
125132010-11-19 Ulrich Drepper <drepper@gmail.com>
12514
12515 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12516 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12517
a1fb5e3e
UD
125182010-11-16 Ulrich Drepper <drepper@gmail.com>
12519
12520 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12521
3540d66b
AS
125222010-11-11 Andreas Schwab <schwab@redhat.com>
12523
12524 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12525 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12526 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12527 ($(objpfx)tst-fnmatch-mem): New rule.
12528 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12529 * posix/tst-fnmatch.c (main): Call mtrace.
12530
13b69574
L
125312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12532
12533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12534 Support Intel processor model 6 and model 0x2c.
12535
da93d214
LM
125362010-11-10 Luis Machado <luisgpm@br.ibm.com>
12537
12538 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12539 signed comparison.
12540
8ca52c6e
L
125412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12542
12543 [BZ #12205]
12544 * string/test-strncasecmp.c (check_result): New function.
12545 (do_one_test): Use it.
12546 (check1): New function.
12547 (test_main): Use it.
12548 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12549 Support strcasecmp and strncasecmp.
12550
69da074d
UD
125512010-11-08 Ulrich Drepper <drepper@gmail.com>
12552
12553 [BZ #12194]
12554 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12555 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12556
ff02d528
L
125572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12558
12559 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12560 IFUNC support.
12561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12562 memset-x86-64.
12563 * sysdeps/x86_64/multiarch/bzero.S: New file.
12564 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12565 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12566 * sysdeps/x86_64/multiarch/memset.S: New file.
12567 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12569 Set bit_Prefer_SSE_for_memop for Intel processors.
12570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12571 Define.
12572 (index_Prefer_SSE_for_memop): Define.
12573 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12574
344d0b54
LM
125752010-11-04 Luis Machado <luisgpm@br.ibm.com>
12576
12577 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12578 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12579
c0dde15b
UD
125802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12581
12582 [BZ #12191]
12583 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12584 (__x86_64_raw_data_cache_size_half): Likewise.
12585 (__x86_64_raw_shared_cache_size): Likewise.
12586 (__x86_64_raw_shared_cache_size_half): Likewise.
12587
12588 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12589 (__x86_64_raw_data_cache_size_half): Likewise.
12590 (__x86_64_raw_shared_cache_size): Likewise.
12591 (__x86_64_raw_shared_cache_size_half): Likewise.
12592 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12593 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12594 and __x86_64_raw_shared_cache_size_half. Round
12595 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12596 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12597 to multiple of 256 bytes.
12598
0e516e0e
MS
125992010-11-03 Ulrich Drepper <drepper@gmail.com>
12600
12601 [BZ #12167]
12602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12603 of inacessible symlinks. Verify result of symlink before returning it.
12604 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12605 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12606
0e012e87
ER
126072010-10-28 Erich Ritz <erichritz@gmail.com>
12608
12609 * math/math.h (isinf): Fix typo in comment.
12610
de0ff7bc
UD
126112010-11-01 Ulrich Drepper <drepper@gmail.com>
12612
12613 * po/da.po: Update from translation team.
12614
fa41c84d
UD
126152010-10-26 Ulrich Drepper <drepper@gmail.com>
12616
12617 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12618 is added to the list.
12619
f0967738
AK
126202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12621 Ulrich Drepper <drepper@gmail.com>
12622
12623 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12624 the global list here. Move code to...
12625 (_dl_add_to_namespace_list): ...here. New function.
12626 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12627 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12628 * elf/dl-load.c (lose): Don't remove the element from the list.
12629 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12630 (_dl_map_object): Likewise.
12631
126322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12633
12634 [BZ #12159]
12635 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12636 into all bytes of SSE register.
12637 Patch by Richard Li <richardpku@gmail.com>.
12638
f0967738 126392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12640
12641 [BZ #12140]
12642 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12643 perturbing.
12644
d0b9e94f
MB
126452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12646
12647 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12648 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12649 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12650 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12652 submachine.
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12654
8e9f92e9
AS
126552010-10-22 Andreas Schwab <schwab@redhat.com>
12656
12657 * include/dlfcn.h (__RTLD_SECURE): Define.
12658 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12659 mode & __RTLD_SECURE instead.
12660 (open_path): Rename preloaded parameter to secure.
12661 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12662 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12663 * elf/dl-deps.c (openaux): Likewise.
12664 * elf/rtld.c (struct map_args): Remove is_preloaded.
12665 (map_doit): Don't use it.
12666 (dl_main): Likewise.
12667 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12668 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12669
bc96fbda
AS
126702010-09-09 Andreas Schwab <schwab@redhat.com>
12671
12672 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12673 (sysd-rules-targets): Remove duplicates.
12674 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12675 rtld-%.$o dependency.
12676
22cd1c9b
AS
126772010-10-18 Andreas Schwab <schwab@redhat.com>
12678
12679 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12680 _dl_map_object do it.
12681
18edac48
UD
126822010-10-19 Ulrich Drepper <drepper@gmail.com>
12683
12684 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12685 fast fma builtins, define the macros in the C99 standard.
12686 (FP_FAST_FMAF): Likewise.
12687 (FP_FAST_FMAL): Likewise.
12688 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12689
12690 * bits/mathdef.h: Update copyright year.
12691 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12692
d2050124
MM
126932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12694
12695 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12696 builtins, define the macros in the C99 standard.
12697 (FP_FAST_FMAF): Likewise.
12698 (FP_FAST_FMAL): Likewise.
12699 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12700 multiply/add.
12701 (FP_FAST_FMAF): Likewise.
12702
475facd1
JJ
127032010-10-15 Jakub Jelinek <jakub@redhat.com>
12704
12705 [BZ #3268]
12706 * math/libm-test.inc (fma_test): Some new testcases.
12707 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12708 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12709 y and infinite z. Do multiplication by C already in long double.
12710 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12712 y and infinite z. Do bitwise or of inexact bit into u.d.
12713 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12714 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12715 * sysdeps/i386/fpu/s_fma.S: Removed.
12716 * sysdeps/i386/fpu/s_fmal.S: Removed.
12717
7c08a05c
JJ
127182010-10-16 Jakub Jelinek <jakub@redhat.com>
12719
12720 [BZ #3268]
12721 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12723 computation is not scheduled after fetestexcept. Fix value
12724 of minimum denormal long double.
12725
f3f7372d
JJ
127262010-10-14 Jakub Jelinek <jakub@redhat.com>
12727
12728 [BZ #3268]
12729 * math/libm-test.inc (fma_test): Add some more tests.
12730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12731 correctly.
12732
14d43591
AS
127332010-10-15 Andreas Schwab <schwab@redhat.com>
12734
12735 * scripts/data/localplt-s390-linux-gnu.data: New file.
12736 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12737
5e908464
JJ
127382010-10-13 Jakub Jelinek <jakub@redhat.com>
12739
12740 [BZ #3268]
12741 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12742 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12743 instead of dbl-64.
12744 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12745 inlines.
12746 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12748 if one of x and y is very large and the other is subnormal.
12749 * sysdeps/s390/fpu/s_fmaf.c: New file.
12750 * sysdeps/s390/fpu/s_fma.c: New file.
12751 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12752 * sysdeps/powerpc/fpu/s_fma.S: New file.
12753 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12754 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12755 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12756
127572010-10-12 Jakub Jelinek <jakub@redhat.com>
12758
12759 [BZ #3268]
12760 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12761 fma tests.
12762 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12763 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12764 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12765 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12766 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12767 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12768 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12769
b833d51f
UD
127702010-10-12 Ulrich Drepper <drepper@redhat.com>
12771
12772 [BZ #12078]
12773 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12774 * posix/bug-regex31.input: Add test case.
12775
1751705d
UD
127762010-10-11 Ulrich Drepper <drepper@gmail.com>
12777
e9b9cbf5
UD
12778 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12779 * posix/bug-regex31.input: New file.
12780
12781 [BZ #12078]
12782 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12783 (parse_sub_exp): Fix last change, use postorder.
12784
ef06edbe
UD
12785 * posix/bug-regex31.c: New file.
12786 * posix/Makefile: Add rules to build and run bug-regex31.
12787
a129c80d
UD
12788 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12789
12790 [BZ #12078]
12791 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12792
b76b818e
UD
12793 [BZ #12108]
12794 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12795 to have entries in sys_siglist.
12796
1751705d
UD
12797 [BZ #12093]
12798 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12799 be NULL.
12800
9ff8d36f
JJ
128012010-10-07 Jakub Jelinek <jakub@redhat.com>
12802
12803 [BZ #3268]
12804 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12805 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12806 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12807 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12808 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12809 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12810 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12811 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12812 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12813 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12814 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12815 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12816 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12817 * math/ftestexcept.c (fetestexcept): Likewise.
12818 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12819 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12820 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12821 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12822 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12823 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12824 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12825
af325969
UD
128262010-10-11 Ulrich Drepper <drepper@gmail.com>
12827
c579b202 12828 [BZ #12107]
af325969
UD
12829 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12830 newline.
12831
67a67b95
UD
128322010-10-06 Ulrich Drepper <drepper@gmail.com>
12833
12834 * string/bug-strstr1.c: New file.
12835 * string/Makefile: Add rules to build and run bug-strstr1.
12836
5fb308bc
EB
128372010-10-05 Eric Blake <eblake@redhat.com>
12838
12839 [BZ #12092]
12840 * string/str-two-way.h (two_way_long_needle): Always clear memory
12841 when skipping input due to the shift table.
12842
45db99c7
UD
128432010-10-03 Ulrich Drepper <drepper@gmail.com>
12844
3b111893
UD
12845 [BZ #12005]
12846 * malloc/mcheck.c: Handle large requests.
12847
45db99c7
UD
12848 [BZ #12077]
12849 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12850 for strncmp and strncasecmp.
12851 * string/stratcliff.c: Add tests for strcmp and strncmp.
12852 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12853
cf7a1eb8
NI
128542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12855
12856 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12857 __set_fpscr.
12858
6484ba5e
AJ
128592010-09-30 Andreas Jaeger <aj@suse.de>
12860
12861 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12862 (CGROUP_SUPER_MAGIC): Define.
12863 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12864 Handle btrfs and cgroup file systems.
12865 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12866 Likewise.
12867
91c42559
LM
128682010-09-27 Luis Machado <luisgpm@br.ibm.com>
12869
12870 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12871 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12872
87a97932
AK
128732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12874
12875 [BZ #12067]
12876 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12877 trying to locate the ELF header.
12878
c21cc9bc
AS
128792010-09-27 Andreas Schwab <schwab@redhat.com>
12880
12881 [BZ #11611]
12882 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12883 Mask out sign-bit copies when constructing f_fsid.
12884
315970f6
PB
128852010-09-24 Petr Baudis <pasky@suse.cz>
12886
12887 * debug/stack_chk_fail_local.c: Add missing licence exception.
12888 * debug/warning-nop.c: Likewise.
12889
1ac7a2c7
JM
128902010-09-15 Joseph Myers <joseph@codesourcery.com>
12891
12892 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12893 implementing getdents64 using getdents syscall, set d_type if
12894 __ASSUME_GETDENTS32_D_TYPE.
12895
56801c50
AS
128962010-09-16 Andreas Schwab <schwab@redhat.com>
12897
12898 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12899 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12900
dda51327
UD
129012010-09-21 Ulrich Drepper <drepper@redhat.com>
12902
12903 [BZ #12037]
12904 * posix/unistd.h: Undo change of feature selection for ftruncate from
12905 2010-01-11.
12906
8ffcee4a
UD
129072010-09-20 Ulrich Drepper <drepper@redhat.com>
12908
a545ecd9 12909 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12910 detection.
12911
e24f0a8b
AS
129122010-09-20 Andreas Schwab <schwab@redhat.com>
12913
12914 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12915 fanotify_mark.
12916 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12917
7291c56f
AS
129182010-09-14 Andreas Schwab <schwab@redhat.com>
12919
12920 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12921 variables after CHECK_SP call.
12922 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12923
bc5fb037
AS
129242010-09-13 Andreas Schwab <schwab@redhat.com>
12925 Ulrich Drepper <drepper@redhat.com>
12926
12927 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12928 re-relocationg ld.so.
12929 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12930 _dl_init_paths call.
12931 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12932 here anymore.
12933
e66e7419
UD
129342010-09-14 Ulrich Drepper <drepper@redhat.com>
12935
12936 * resolv/res_init.c (__res_vinit): Count the default server we added.
12937
c044aa75
CLT
129382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12939 Ulrich Drepper <drepper@redhat.com>
12940
12941 [BZ #11968]
12942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12943 (____longjmp_chk): Use %ebx for saving value across system call.
12944 Add unwind info.
12945
32cf4069
AS
129462010-09-06 Andreas Schwab <schwab@redhat.com>
12947
12948 * manual/Makefile: Don't mix pattern rules with normal rules.
12949
817328ee
AS
129502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12951
12952 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12953 operation.
12954 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12955 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12956 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12957 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12958 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12959 Likewise.
12960
29fddf61
UD
129612010-09-04 Ulrich Drepper <drepper@redhat.com>
12962
12963 [BZ #11979]
12964 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12965 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12966
0959ffc9
UD
129672010-09-02 Ulrich Drepper <drepper@redhat.com>
12968
12969 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12970 * sysdeps/x86_64/addmul_1.S: Likewise.
12971 * sysdeps/x86_64/lshift.S: Likewise.
12972 * sysdeps/x86_64/mul_1.S: Likewise.
12973 * sysdeps/x86_64/rshift.S: Likewise.
12974 * sysdeps/x86_64/sub_n.S: Likewise.
12975 * sysdeps/x86_64/submul_1.S: Likewise.
12976
ece29840
ST
129772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12978
0959ffc9
UD
12979 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12980 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12981 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12982 * bits/sched.h [__need_schedparam]
ece29840 12983 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12984 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12985 (__defined_schedparam): Define to 1.
ece29840
ST
12986 (__sched_param): New structure, identical to sched_param.
12987 (__need_schedparam): Undefine.
12988
e53a31fe
MF
129892010-08-31 Mike Frysinger <vapier@gentoo.org>
12990
fdc0c10d
MF
12991 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12992 (epoll_create1): Declare.
12993
e53a31fe
MF
12994 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12995
a726d796
AS
129962010-08-31 Andreas Schwab <schwab@redhat.com>
12997
12998 [BZ #7066]
12999 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13000 shifting retval into place.
13001
2f3e3dc7
UD
130022010-09-01 Ulrich Drepper <drepper@redhat.com>
13003
f2933da9
UD
13004 * nis/rpcsvc/nis.h: Update copyright notice.
13005 * nis/rpcsvc/nis.x: Likewise.
13006 * nis/rpcsvc/nis_callback.h: Likewise.
13007 * nis/rpcsvc/nis_callback.x: Likewise.
13008 * nis/rpcsvc/nis_object.x: Likewise.
13009 * nis/rpcsvc/nis_tags.h: Likewise.
13010 * nis/rpcsvc/yp.h: Likewise.
13011 * nis/rpcsvc/yp.x: Likewise.
13012 * nis/rpcsvc/ypupd.h: Likewise.
13013 * nis/yp_xdr.c: Likewise.
13014 * nis/ypupdate_xdr.c: Likewise.
13015
2f3e3dc7
UD
13016 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13017 mainly the body of pmap_getport. Add parameters to specify timeouts.
13018 (pmap_getport): Use __libc_rpc_getport.
13019 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13020 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13021 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13022
f3dcc2f9
AS
130232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13024
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13026 fanotify_mark.
13027
6d34eb5b
RM
130282010-08-27 Roland McGrath <roland@redhat.com>
13029
13030 * sysdeps/i386/i686/multiarch/Makefile
13031 (CFLAGS-varshift.c): New variable.
13032
9ea3de11
UD
130332010-08-27 Ulrich Drepper <drepper@redhat.com>
13034
c96d23fc
UD
13035 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13036 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13037
9ea3de11
UD
13038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13039
13040 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13041
623aac7f
L
130422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13043
13044 * sysdeps/x86_64/strlen.S: Unroll the loop.
13045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13046 strlen-sse2 strlen-sse2-bsf.
13047 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13048 __strlen_no_bsf if bit_Slow_BSF is set.
13049 (__strlen_sse42): Removed.
13050 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13051 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13052
8b2b7715
RM
130532010-08-25 Roland McGrath <roland@redhat.com>
13054
13055 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13056 * sysdeps/x86_64/multiarch/varshift.c: New file.
13057 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13058 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13059 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13060 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13061
e73015f2
L
130622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13063
13064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13065 strlen-sse2 strlen-sse2-bsf.
13066 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13067 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13068 (__strlen_sse2): Removed.
13069 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13070 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13072 bit_Slow_BSF for Atom.
13073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13074 (index_Slow_BSF): Define.
13075 (HAS_SLOW_BSF): Define.
13076
df24a73e
UD
130772010-08-25 Ulrich Drepper <drepper@redhat.com>
13078
13079 [BZ #10851]
13080 * resolv/res_init.c (__res_vinit): When no server address at all
13081 is given default to loopback.
13082
f2ac4868
RM
130832010-08-24 Roland McGrath <roland@redhat.com>
13084
09055553
RM
13085 * configure.in: Remove config-name.h generation.
13086 * configure: Regenerated.
13087 * config-name.in: File removed.
13088 * scripts/config-uname.sh: New file.
13089 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13090 ($(objdir)config-name.h): New target.
13091
f2ac4868
RM
13092 * sunrpc/rpc_parse.h: Avoid nested comment.
13093
73f27d5e
RH
130942010-08-24 Richard Henderson <rth@redhat.com>
13095 Ulrich Drepper <drepper@redhat.com>
13096 H.J. Lu <hongjiu.lu@intel.com>
13097
13098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13100 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13101 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13102 _mm_alignr_epi8 with _mm_loadu_si128.
13103 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13104 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13105 (__m128i_shift_right): Removed.
13106 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13107 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13108 * sysdeps/x86_64/multiarch/varshift.h: New file.
13109 * sysdeps/x86_64/multiarch/varshift.S: New file.
13110
84b9230c
MF
131112010-08-21 Mike Frysinger <vapier@gentoo.org>
13112
13113 * configure.in: Move assembler checks to before sysdep dir checking.
13114
9bbd0ddc
PB
131152010-08-20 Petr Baudis <pasky@suse.cz>
13116
13117 * LICENSES: Sync the sunrpc license.
13118
9da4bb31
UD
131192010-08-19 Ulrich Drepper <drepper@redhat.com>
13120
a7ab6ec8
UD
13121 * sunrpc/auth_des.c: Update copyright notice once again.
13122 * sunrpc/auth_none.c: Likewise.
13123 * sunrpc/auth_unix.c: Likewise.
13124 * sunrpc/authdes_prot.c: Likewise.
13125 * sunrpc/authuxprot.c: Likewise.
13126 * sunrpc/bindrsvprt.c: Likewise.
13127 * sunrpc/clnt_gen.c: Likewise.
13128 * sunrpc/clnt_perr.c: Likewise.
13129 * sunrpc/clnt_raw.c: Likewise.
13130 * sunrpc/clnt_simp.c: Likewise.
13131 * sunrpc/clnt_tcp.c: Likewise.
13132 * sunrpc/clnt_udp.c: Likewise.
13133 * sunrpc/clnt_unix.c: Likewise.
13134 * sunrpc/des_crypt.c: Likewise.
13135 * sunrpc/des_soft.c: Likewise.
13136 * sunrpc/get_myaddr.c: Likewise.
13137 * sunrpc/getrpcport.c: Likewise.
13138 * sunrpc/key_call.c: Likewise.
13139 * sunrpc/key_prot.c: Likewise.
13140 * sunrpc/openchild.c: Likewise.
13141 * sunrpc/pm_getmaps.c: Likewise.
13142 * sunrpc/pm_getport.c: Likewise.
13143 * sunrpc/pmap_clnt.c: Likewise.
13144 * sunrpc/pmap_prot.c: Likewise.
13145 * sunrpc/pmap_prot2.c: Likewise.
13146 * sunrpc/pmap_rmt.c: Likewise.
13147 * sunrpc/rpc/auth.h: Likewise.
13148 * sunrpc/rpc/auth_unix.h: Likewise.
13149 * sunrpc/rpc/clnt.h: Likewise.
13150 * sunrpc/rpc/des_crypt.h: Likewise.
13151 * sunrpc/rpc/key_prot.h: Likewise.
13152 * sunrpc/rpc/netdb.h: Likewise.
13153 * sunrpc/rpc/pmap_clnt.h: Likewise.
13154 * sunrpc/rpc/pmap_prot.h: Likewise.
13155 * sunrpc/rpc/pmap_rmt.h: Likewise.
13156 * sunrpc/rpc/rpc.h: Likewise.
13157 * sunrpc/rpc/rpc_des.h: Likewise.
13158 * sunrpc/rpc/rpc_msg.h: Likewise.
13159 * sunrpc/rpc/svc.h: Likewise.
13160 * sunrpc/rpc/svc_auth.h: Likewise.
13161 * sunrpc/rpc/types.h: Likewise.
13162 * sunrpc/rpc/xdr.h: Likewise.
13163 * sunrpc/rpc_clntout.c: Likewise.
13164 * sunrpc/rpc_cmsg.c: Likewise.
13165 * sunrpc/rpc_common.c: Likewise.
13166 * sunrpc/rpc_cout.c: Likewise.
13167 * sunrpc/rpc_dtable.c: Likewise.
13168 * sunrpc/rpc_hout.c: Likewise.
13169 * sunrpc/rpc_main.c: Likewise.
13170 * sunrpc/rpc_parse.c: Likewise.
13171 * sunrpc/rpc_parse.h: Likewise.
13172 * sunrpc/rpc_prot.c: Likewise.
13173 * sunrpc/rpc_sample.c: Likewise.
13174 * sunrpc/rpc_scan.c: Likewise.
13175 * sunrpc/rpc_scan.h: Likewise.
13176 * sunrpc/rpc_svcout.c: Likewise.
13177 * sunrpc/rpc_tblout.c: Likewise.
13178 * sunrpc/rpc_util.c: Likewise.
13179 * sunrpc/rpc_util.h: Likewise.
13180 * sunrpc/rpcinfo.c: Likewise.
13181 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13182 * sunrpc/rpcsvc/key_prot.x: Likewise.
13183 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13184 * sunrpc/rpcsvc/mount.x: Likewise.
13185 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13186 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13187 * sunrpc/rpcsvc/rex.x: Likewise.
13188 * sunrpc/rpcsvc/rstat.x: Likewise.
13189 * sunrpc/rpcsvc/rusers.x: Likewise.
13190 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13191 * sunrpc/rpcsvc/spray.x: Likewise.
13192 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13193 * sunrpc/rtime.c: Likewise.
13194 * sunrpc/svc.c: Likewise.
13195 * sunrpc/svc_auth.c: Likewise.
13196 * sunrpc/svc_authux.c: Likewise.
13197 * sunrpc/svc_raw.c: Likewise.
13198 * sunrpc/svc_run.c: Likewise.
13199 * sunrpc/svc_simple.c: Likewise.
13200 * sunrpc/svc_tcp.c: Likewise.
13201 * sunrpc/svc_udp.c: Likewise.
13202 * sunrpc/svc_unix.c: Likewise.
13203 * sunrpc/svcauth_des.c: Likewise.
13204 * sunrpc/xcrypt.c: Likewise.
13205 * sunrpc/xdr.c: Likewise.
13206 * sunrpc/xdr_array.c: Likewise.
13207 * sunrpc/xdr_float.c: Likewise.
13208 * sunrpc/xdr_mem.c: Likewise.
13209 * sunrpc/xdr_rec.c: Likewise.
13210 * sunrpc/xdr_ref.c: Likewise.
13211 * sunrpc/xdr_sizeof.c: Likewise.
13212 * sunrpc/xdr_stdio.c: Likewise.
13213
9da4bb31
UD
13214 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13215 handling.
13216
bdaa77bc
AS
132172010-08-19 Andreas Schwab <schwab@redhat.com>
13218
13219 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13220
fe2f79db
LM
132212010-08-19 Luis Machado <luisgpm@br.ibm.com>
13222
13223 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13224 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13225 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13226 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13227 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13228 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13229 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13230 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13231 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13232 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13233 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13234 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13235 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13236 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13237
b9b42ee0
AB
132382010-07-26 Anton Blanchard <anton@samba.org>
13239
13240 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13241 * malloc/arena.c (heap_trim): Likewise.
13242
1c06ba31
UD
132432010-08-16 Ulrich Drepper <drepper@redhat.com>
13244
13245 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13246 here. Not...
13247 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13248 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13249
f8392f40
L
132502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13251
13252 * sysdeps/i386/elf/Makefile: New file.
13253
3162f12e
AS
132542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13255
13256 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13257 from fanotify_init.
13258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13260
28c90b2c
UD
132612010-08-15 Ulrich Drepper <drepper@redhat.com>
13262
13263 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13264 of strncasecmp_l.
1feccb6c 13265 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13266
ca6bb004
UD
132672010-08-14 Ulrich Drepper <drepper@redhat.com>
13268
e9f82e0d
UD
13269 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13270 strncase_l-nonascii.
13271 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13272 Add strncase_l-ssse3.
13273 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13274 * sysdeps/x86_64/strcmp.S: Likewise.
13275 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13276 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13277 * sysdeps/x86_64/strncase.S: New file.
13278 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13279 * sysdeps/x86_64/strncase_l.S: New file.
13280 * string/Makefile (strop-tests): Add strncasecmp.
13281 * string/test-strncasecmp.c: New file.
13282
13283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13284 warning.
13285
ca6bb004
UD
13286 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13287 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13288
052fa7b3
AS
132892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13290
13291 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13292
962dba78
UD
132932010-08-12 Ulrich Drepper <drepper@redhat.com>
13294
13295 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13296 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13297 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13298
bebff237
AM
132992010-05-01 Alan Modra <amodra@gmail.com>
13300
13301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13302 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13303 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13304 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13305 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13306 tidying. Don't tail-call __sigjmp_save for static lib.
13307 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13308 save location.
13309 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13310 (CALL_MCOUNT): Add eh info, and nop after bl.
13311 (TAIL_CALL_SYSCALL_ERROR): New macro.
13312 (PSEUDO_RET): Use it.
13313 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13314 Correct save location of integer regs and cr.
13315 (_dl_profile_resolve): Correct cr save location. Delete nops
13316 after bl when SHARED. Reduce cfi size a little by better
13317 placement of cfi directives.
13318 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13319 make a stack frame. Instead use parm save area as a temp.
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13321 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13323 Don't make a stack frame for parent, use parm save area.
13324 Increase child stack frame to 112 bytes. Don't save unused reg,
13325 and adjust reg usage. Set up cfi on error recovery and
13326 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13328 (__makecontext): Add dummy nop after jump to exit.
13329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13330 Use correct parm save area and cr save, reduce stack frame.
13331 Correct cfi for possible PSEUDO_RET frame setup.
13332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13333 Branch to local label emitted by PSEUDO_RET rather than
13334 __syscall_error.
13335
02637374
AS
133362010-08-12 Andreas Schwab <schwab@redhat.com>
13337
13338 [BZ #11904]
13339 * locale/programs/locale.c (print_assignment): New function.
13340 (show_locale_vars): Use it.
13341
c3e2f19b
UD
133422010-08-11 Ulrich Drepper <drepper@redhat.com>
13343
3cdaa6ad
UD
13344 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13345 field.
13346 (struct statfs64): Likewise.
13347 (_STATFS_F_FLAGS): Define.
13348 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13350 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13351 (ST_VALID): Define locally.
13352 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13353 __statvfs_getflags, use the provided value.
13354 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13355 __ASSUME_STATFS_F_FLAGS.
13356
754f7da3
UD
13357 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13358
10b3bedc
UD
13359 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13360 Add sys/fanotify.h.
13361 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13362 fanotify_mask for GLIBC_2.13.
13363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13364 fanotify_init and fanotify_mark.
13365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13366 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13367
c08fb0d7
UD
13368 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13369 Add prlimit.
13370 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13371 prlimit64 for GLIBC_2.13.
13372 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13373 prlimit64.
13374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13375 syscall.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13377 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13378 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13379 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13381 add prlimit alias.
13382 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13383
15bac72b
UD
13384 [BZ #11903]
13385 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13386 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13387
c3e2f19b
UD
13388 * nss/Makefile: Add rules to build and run tst-nss-test1.
13389 * shlib-versions: Add entry for libnss_test1.
13390 * nss/nss_test1.c: New file.
13391 * nss/tst-nss-test1.c: New file.
13392
13393 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13394 (__nss_configure_lookup): Set appropriate entry in
13395 __nss_configure_lookup to true.
13396 * nss/nsswitch.h: Define enum with indeces of databases in
13397 databases and __nss_database_custom arrays. Declare
13398 __nss_database_custom.
13399 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13400 to avoid using nscd when custom rules are installed.
13401 * nss/getXXbyYY_r.c: Likewise.
13402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13403
13404 * nss/nss_files/files-parse.c: Whitespace fixes.
13405
f15ce4d8
UD
134062010-08-09 Ulrich Drepper <drepper@redhat.com>
13407
13408 [BZ #11883]
13409 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13410 * posix/fnmatch_loop.c: Likewise.
13411
d22e4cc9
AK
134122010-07-17 Andi Kleen <ak@linux.intel.com>
13413
13414 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13415 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13416 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13417 * Versions.def [GLIBC_2.13]: Add.
13418
805bc17d
UD
134192010-08-06 Ulrich Drepper <drepper@redhat.com>
13420
13421 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13422 Also fail if tpwd after pwuid call is NULL.
13423
5a42321d
ST
134242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13425
13426 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13427 when converting to ms.
13428
fd3ebeda
ST
134292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13430
13431 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13432 EOPNOTSUPP errors with ENOTTY.
13433 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13434 EOPNOTSUPP errors with ENOTTY.
13435
73507d3a
UD
134362010-07-31 Ulrich Drepper <drepper@redhat.com>
13437
13438 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13439 Add strcasecmp_l-ssse3.
13440 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13441 strcasecmp.
13442 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13443 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13444 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13445
fe36dd02
UD
134462010-07-30 Ulrich Drepper <drepper@redhat.com>
13447
66f6765a
UD
13448 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13449
42e08a54
UD
13450 * string/Makefile (strop-tests): Add strcasecmp.
13451 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13452 strcasecmp_l-nonascii.
13453 (gen-as-const-headers): Add locale-defines.sym.
13454 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13455 * sysdeps/x86_64/strcasecmp.S: New file.
13456 * sysdeps/x86_64/strcasecmp_l.S: New file.
13457 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13458 * sysdeps/x86_64/locale-defines.sym: New file.
13459 * string/test-strcasecmp.c: New file.
13460
fe36dd02
UD
13461 * string/test-strcasestr.c: Test both ends of the range of characters.
13462 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13463
48cbc0d6
RM
134642010-07-29 Roland McGrath <roland@redhat.com>
13465
76e6d6bc 13466 [BZ #11856]
48cbc0d6
RM
13467 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13468
880113d9
UD
134692010-07-27 Ulrich Drepper <drepper@redhat.com>
13470
13471 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13472 for ld.so.
13473
deb9cabb
AS
134742010-07-27 Andreas Schwab <schwab@redhat.com>
13475
13476 * manual/memory.texi (Malloc Tunable Parameters): Document
13477 M_PERTURB.
13478
1c7570ff
RM
134792010-07-26 Roland McGrath <roland@redhat.com>
13480
13481 [BZ #11840]
13482 * configure.in (-fgnu89-inline check): Set and substitute
13483 gnu89_inline, not libc_cv_gnu89_inline.
13484 * configure: Regenerated.
13485 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13486
24fb0f88
UD
134872010-07-26 Ulrich Drepper <drepper@redhat.com>
13488
13489 * string/test-strnlen.c: New file.
13490 * string/Makefile (strop-tests): Add strnlen.
13491 * string/tester.c (test_strnlen): Add a few more test cases.
13492 * string/tst-strlen.c: Better error reporting.
13493
13494 * sysdeps/x86_64/strnlen.S: New file.
13495
8e96b93a
UD
134962010-07-24 Ulrich Drepper <drepper@redhat.com>
13497
13498 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13499 lower-latency instructions.
13500
dbc676d4
UD
135012010-07-23 Ulrich Drepper <drepper@redhat.com>
13502
13503 * string/test-strcasestr.c: New file.
13504 * string/test-strstr.c: New file.
13505 * string/Makefile (strop-tests): Add strstr and strcasestr.
13506 * string/str-two-way.h: Don't undefine MAX.
13507 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13508
f6a31e0e
AS
135092010-07-21 Andreas Schwab <schwab@redhat.com>
13510
13511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13512 strcasestr-nonascii.
13513 (CFLAGS-strcasestr-nonascii.c): Define.
13514 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13515 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13516 Remove unused attribute.
13517
5dbc3b6c
RM
135182010-07-20 Roland McGrath <roland@redhat.com>
13519
13520 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13521 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13522 ld.so.cache was broken. With it, there is no way to disable dsocaps
13523 like LD_HWCAP_MASK can disable hwcaps.
13524
23d101d8
EPM
135252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13526
13527 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13528
cc9f2e47
UD
135292010-07-16 Ulrich Drepper <drepper@redhat.com>
13530
13531 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13532 call in strcasestr.
13533 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13534 __strcasestr_sse42_nonascii.
13535 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13536 strcasestr-nonascii.c.
13537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13538
77c1b069
LM
135392010-06-15 Luis Machado <luisgpm@br.ibm.com>
13540
13541 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13542 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13543 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13544 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13545
440566c3
UD
135462010-07-09 Ulrich Drepper <drepper@redhat.com>
13547
13548 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13549 fcntl.
13550
5be9d05d
AS
135512010-07-06 Andreas Schwab <schwab@redhat.com>
13552
c30b7ee2 13553 [BZ #11577]
5be9d05d
AS
13554 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13555 dl_signal_cerror.
13556
8a492a67
UD
135572010-07-06 Ulrich Drepper <drepper@redhat.com>
13558
13559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13560 _PC_PIPE_BUF using F_GETPIPE_SZ.
13561
713df3d5
RM
135622010-07-05 Roland McGrath <roland@redhat.com>
13563
13564 * manual/arith.texi (Rounding Functions): Fix rint description
13565 implicit in round description.
13566
702e8f14
UD
135672010-07-02 Ulrich Drepper <drepper@redhat.com>
13568
13569 * elf/Makefile: Fix linking for a few tests to make recent linker
13570 happy.
13571
52ed8be9
AS
135722010-06-30 Andreas Schwab <schwab@redhat.com>
13573
13574 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13575 $(common-objpfx)libc_nonshared.a.
13576
f47c9a11
LM
135772010-06-21 Luis Machado <luisgpm@br.ibm.com>
13578
13579 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13580 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13581 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13582 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13583 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13584 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13585 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13586 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13601 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13602 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13603 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13604 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13605 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13606 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13607 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13608 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13609 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13610 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13611 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13612 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13627
6fb8cbcb
L
136282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13629
13630 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13631 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13632 * string/memmove.c (memmove): Renamed to ...
13633 (MEMMOVE): ...this. Default to memmove.
13634 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13635 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13636 (END_CHK): Define.
13637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13638 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13639 mempcpy-ssse3-back memmove-ssse3-back.
13640 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13641 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13642 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13643 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13644 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13645 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13646 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13647 * sysdeps/x86_64/multiarch/memmove.c: New file.
13648 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13649 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13650 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13651 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13652 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13653 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13654 Define.
13655 (index_Fast_Copy_Backward): Define.
13656 (HAS_ARCH_FEATURE): Define.
13657 (HAS_FAST_REP_STRING): Define.
13658 (HAS_FAST_COPY_BACKWARD): Define.
13659
4e733bac 136602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13661
13662 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13663 Restore proper fallback handling.
13664
63c4ed22
UD
136652010-06-19 Ulrich Drepper <drepper@redhat.com>
13666
ac2b484c
UD
13667 [BZ #11701]
13668 * posix/group_member.c (__group_member): Correct checking loop.
13669
63c4ed22
UD
13670 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13671 OOM in getpwuid_r correctly. Return error number when the caller
13672 should return, otherwise -1.
13673 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13674 call returning > 0 value.
13675 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13676
765ade4b
AS
136772010-06-07 Andreas Schwab <schwab@redhat.com>
13678
13679 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13680 libc_nonshared.a from targets in modules-names.
13681
80da2e09
KS
136822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13683
13684 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13685 requires it.
13686
158db122
LM
136872010-06-10 Luis Machado <luisgpm@br.ibm.com>
13688
13689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13690 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13693
caa78cf8
AS
136942010-06-02 Andreas Schwab <schwab@redhat.com>
13695
13696 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13697
b2ef2c01
UD
136982010-06-14 Ulrich Drepper <drepper@redhat.com>
13699
13700 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13701 and F_GETPIPE_SZ.
13702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13703 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13704 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13707 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13708
fbd643b6
RM
137092010-06-14 Roland McGrath <roland@redhat.com>
13710
13711 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13712
f32f2869
JJ
137132010-06-07 Jakub Jelinek <jakub@redhat.com>
13714
13715 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13716 __REDIRECT followed by __THROW.
13717 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13718 * posix/getopt.h (getopt): Likewise.
13719
2a50c078
EPM
137202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13721
13722 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13723 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13724 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13725 in AT_FLAGS.
13726 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13727 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13728
eb5ad2eb
LM
137292010-05-28 Luis Machado <luisgpm@br.ibm.com>
13730
13731 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13732
3c88fe1e
L
137332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13734
13735 [BZ #11640]
13736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13737 Properly check family and model.
13738
d2f73151
TY
137392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13740
13741 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13742
ebd2e13d
LM
137432010-05-24 Luis Machado <luisgpm@br.ibm.com>
13744
13745 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13746
b32b8b45
UD
137472010-05-21 Ulrich Drepper <drepper@redhat.com>
13748
13749 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13750 symbol reference.
13751
9acbe24d
AS
137522010-05-19 Andreas Schwab <schwab@redhat.com>
13753
13754 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13755 symbol reference.
13756
f0ccf6ea
AS
137572010-05-21 Andreas Schwab <schwab@redhat.com>
13758
3d04ff3a
AS
13759 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13760 and internal_recvmmsg.
13761 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13762 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13763 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13764 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13765
f0ccf6ea
AS
13766 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13767 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13768 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13769
5b08ac57
AS
137702010-05-20 Andreas Schwab <schwab@redhat.com>
13771
13772 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13773
4828935d
LM
137742010-05-17 Luis Machado <luisgpm@br.ibm.com>
13775
13776 POWER7 optimizations.
13777 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13778 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13779
373d545e
UD
137802010-05-19 Ulrich Drepper <drepper@redhat.com>
13781
13782 * version.h: Update for 2.13 development version.
13783
21a2b1ae
AS
137842010-05-12 Andrew Stubbs <ams@codesourcery.com>
13785
13786 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13787 exceptions. Return 0.
13788
3f7dcb2b
RM
137892010-05-07 Roland McGrath <roland@redhat.com>
13790
13791 * elf/ldconfig.c (main): Add a const.
13792
5f24d53a 137932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13794
a160f8d8
UD
13795 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13796 (args_options): Add no-idn option.
13797 (ahosts_keys_int): Add idn_flags to ai_flags.
13798 (parse_option): Handle 'i' option to clear idn_flags.
13799
5f24d53a
UD
13800 * malloc/malloc.c (_int_free): Possible race in the most recently
13801 added check. Only act on the data if no current modification
13802 happened.
265bb1ce
UD
13803
13804See ChangeLog.17 for earlier changes.