]> sourceware.org Git - glibc.git/blame - ChangeLog
Hurd: readlinkat
[glibc.git] / ChangeLog
CommitLineData
db653660
ST
12012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2
b29d4053
ST
3 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4 sysdeps/mach/hurd/readlink.c.
5
db653660
ST
6 * posix/tst-sysconf.c (posix_options): Only use
7 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8 _POSIX_SYNCHRONIZED_IO when they are defined
9 * sysdeps/mach/hurd/bits/posix_opt.h:
10 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11 (_XOPEN_REALTIME): Undefine macro.
12 (_XOPEN_REALTIME_THREADS): Undefine macro.
13 (_XOPEN_SHM): Undefine macro.
14 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15 macro to -1.
16 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17 macro to -1.
18 (_POSIX_ASYNC_IO): Undefine macro.
19 (_POSIX_PRIORITIZED_IO): Undefine macro.
20 (_POSIX_SPIN_LOCKS): Define macro to -1.
21
ee16e894
ST
22 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23 SA_NODEFER, SA_RESETHAND.
24 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26 F_DUPFD_CLOEXEC.
27
6103ae3b
TS
282012-05-10 Thomas Schwinge <thomas@schwinge.name>
29
30 * elf/Makefile (pldd-modules): Define unconditionally.
31
80b4e5f3
TS
322012-05-10 Thomas Schwinge <thomas@schwinge.name>
33
34 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35
edadcbd6
ST
362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37
38 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39 Return ENOENT when name is empty.
40 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41
80694780
TS
422012-05-10 Thomas Schwinge <thomas@schwinge.name>
43
1792c087
TS
44 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45
80694780
TS
46 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47
6b645f0d
ST
482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49
80694780
TS
50 Fix mlock in all cases except non-readable pages.
51 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
52 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 53
6b645f0d
ST
54 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
55 (__mkdir): When path is `/', just fail with EEXIST.
56 * sysdeps/mach/hurd/mkdirat.c: Likewise.
57
e468f8a3
TS
582012-05-10 Thomas Schwinge <thomas@schwinge.name>
59
60 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61 <sys/uio.h> (for writev).
62 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63 and <sys/param.h> (for MIN).
64
a4186cff
PT
652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
66
67 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68 REQUESTED_TIME. Properly set the remaining time and return EINTR
69 if interrupted.
70
510bbf14
TS
712012-05-10 Thomas Schwinge <thomas@schwinge.name>
72
73 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
74 Depend on against $(link-rpcuserlibs).
75
5d5722e8
ST
762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
77
a4186cff
PT
78 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
79 (__libc_stack_end): Do not use attribute_relro.
80 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
81 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 82 to libthread-provided value.
a4186cff
PT
83 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
84 attribute_relro.
5d5722e8 85
37233df9
TS
862012-05-10 Thomas Schwinge <thomas@schwinge.name>
87
be971a2b
TS
88 [BZ #3748]
89 * bits/libc-lock.h (__libc_once_get): New macro.
90 * sysdeps/mach/bits/libc-lock.h: Likewise.
91 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
92 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
93 instead of using implementation details.
94
37233df9
TS
95 * libio/fileops.c: Unconditionally include <kernel-features.h>.
96 * libio/freopen.c: Likewise.
97 * libio/freopen64.c: Likewise.
98 * misc/syslog.c: Likewise.
99 * nscd/connections.c: Likewise.
100 * nscd/netgroupcache.c: Likewise.
101 * sysdeps/posix/getcwd.c: Likewise.
102
38de94a5
RM
1032012-05-10 Roland McGrath <roland@hack.frob.com>
104
105 * math/w_ilogbf.c: Add #include <limits.h>.
106
67530489
ST
1072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
108
a4186cff 109 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
110 path instead of returning without unlocking.
111
67530489
ST
112 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
113 immediate-write ioctls.
114 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
115
5aa3a74a
TS
1162012-05-10 Thomas Schwinge <thomas@schwinge.name>
117
18bad2ae
TS
118 * sysdeps/mach/hurd/i386/init-first.c (init): Use
119 __builtin_frame_address instead of making assumptions about the
120 location of the return address relative to DATA. Force early load of
121 the return address.
122 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
123 __builtin_frame_address.
124
5aa3a74a
TS
125 dup3 for GNU Hurd.
126 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
127 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
128 implement dup3 and do some further code clean-ups.
129 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
130 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
131
ecd0de9a
ST
1322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
133
cd9fa985
ST
134 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
135
a4186cff
PT
136 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
137 HURD_CRITICAL_END around holding _hurd_dtable_lock.
138 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
139 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
140 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
141 d->port.lock.
802ca5a5 142
a4186cff
PT
143 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
144 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
145 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 146
bcf55240
TS
1472012-05-10 Thomas Schwinge <thomas@schwinge.name>
148
6960eb42
TS
149 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
150 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
151 definitions.
152
eb43375f
TS
153 accept4 for GNU Hurd.
154 * include/sys/socket.h (__libc_accept4): New prototype.
155 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
156 to implement __libc_accept4.
157 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
158 __libc_accept4.
159 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
160
bcf55240
TS
161 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
162 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
163 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
164 signal-defines.sym.
165
6178c55b
ST
1662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
167
a4186cff 168 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 169
6f080c2f
TS
1702012-05-10 Thomas Schwinge <thomas@schwinge.name>
171
172 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
173 assertion on O_CLOEXEC flag.
174 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
175 * hurd/intern-fd.c: Likewise.
176 * hurd/port2fd.c: Likewise.
177
bcfe3a54
ST
1782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
179
180 [BZ #3906]
181 * bits/in.h (IPV6_PKTINFO): Define new macro.
182 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
183
89c9aa49
AZ
1842012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
185
186 [BZ #13954]
187 [BZ #13955]
188 [BZ #13956]
189 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
190 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
191 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
192 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
193 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
194 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
195 * math/libm-test.inc (logb_test) : Additional logb tests.
196
021db4be
AJ
1972012-05-09 Andreas Schwab <schwab@linux-m68k.org>
198 Andreas Jaeger <aj@suse.de>
199
200 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
201 * configure: Regenerated.
202 * config.h.in (LINK_OBSOLETE_RPC): New macro.
203 * config.make.in (link-obsolete-rpc): New substituted variable.
204 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
205 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
206 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
207 (shared-only-routines): Don't set it under [link-obsolete-rpc],
208 so that libc.a contains the symbols.
209 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
210 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
211 * sunrpc/auth_none.c: Likewise.
212 * sunrpc/auth_unix.c: Likewise.
213 * sunrpc/authdes_prot.c: Likewise.
214 * sunrpc/authuxprot.c: Likewise.
215 * sunrpc/clnt_gen.c: Likewise.
216 * sunrpc/clnt_perr.c: Likewise.
217 * sunrpc/clnt_raw.c: Likewise.
218 * sunrpc/clnt_simp.c: Likewise.
219 * sunrpc/clnt_tcp.c: Likewise.
220 * sunrpc/clnt_udp.c: Likewise.
221 * sunrpc/clnt_unix.c: Likewise.
222 * sunrpc/des_crypt.c: Likewise.
223 * sunrpc/des_soft.c: Likewise.
224 * sunrpc/get_myaddr.c: Likewise.
225 * sunrpc/key_call.c: Likewise.
226 * sunrpc/key_prot.c: Likewise.
227 * sunrpc/netname.c: Likewise.
228 * sunrpc/pm_getmaps.c: Likewise.
229 * sunrpc/pm_getport.c: Likewise.
230 * sunrpc/pmap_clnt.c: Likewise.
231 * sunrpc/pmap_prot.c: Likewise.
232 * sunrpc/pmap_prot2.c: Likewise.
233 * sunrpc/pmap_rmt.c: Likewise.
234 * sunrpc/publickey.c: Likewise.
235 * sunrpc/rpc_cmsg.c: Likewise.
236 * sunrpc/rpc_common.c: Likewise.
237 * sunrpc/rpc_dtable.c: Likewise.
238 * sunrpc/rpc_prot.c: Likewise.
239 * sunrpc/rpc_thread.c: Likewise.
240 * sunrpc/rtime.c: Likewise.
241 * sunrpc/svc.c: Likewise.
242 * sunrpc/svc_auth.c: Likewise.
243 * sunrpc/svc_raw.c: Likewise.
244 * sunrpc/svc_run.c: Likewise.
245 * sunrpc/svc_tcp.c: Likewise.
246 * sunrpc/svc_udp.c: Likewise.
247 * sunrpc/svc_unix.c: Likewise.
248 * sunrpc/svcauth_des.c: Likewise.
249 * sunrpc/xcrypt.c: Likewise.
250 * sunrpc/xdr.c: Likewise.
251 * sunrpc/xdr_array.c: Likewise.
252 * sunrpc/xdr_float.c: Likewise.
253 * sunrpc/xdr_intXX_t.c: Likewise.
254 * sunrpc/xdr_mem.c: Likewise.
255 * sunrpc/xdr_rec.c: Likewise.
256 * sunrpc/xdr_ref.c: Likewise.
257 * sunrpc/xdr_sizeof.c: Likewise.
258 * sunrpc/xdr_stdio.c: Likewise.
259
b5c086a2
RM
2602012-05-10 Roland McGrath <roland@hack.frob.com>
261
262 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
263 change. Update copyright years.
264
6d74dd09
JM
2652012-05-10 Joseph Myers <joseph@codesourcery.com>
266
267 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
268
28e72501
MK
2692012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
270 Joseph Myers <joseph@codesourcery.com>
271 Paul Pluzhnikov <ppluzhnikov@google.com>
272
273 [BZ #14012]
274 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
275 requiring rpcgen.
276 [cross-compiling] (extra-libs): Likewise.
277 [cross-compiling] (extra-libs-others): Likewise.
278 [cross-compiling] (librpcsvc-routines): Likewise.
279 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
280 [cross-compiling] (omit-deps): Likewise.
281 (sunrpc-CPPFLAGS): New variable.
282 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
283 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
284 (cross-rpcgen-objs): New variable.
285 (extra-objs): Append $(cross-rpcgen-objs).
286 ($(cross-rpcgen-objs)): New rule.
287 ($(objpfx)cross-rpcgen): Likewise.
288 (rpcgen-cmd): Define to use $(built-program-file). Expand
289 comment.
290 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
291 ($(objpfx)x%.stmp): Likewise.
292 * sunrpc/proto.h [IS_IN_build] (_): Define.
293 [IS_IN_build] (_libc_intl_domainname): Likewise.
294
c8c59454
L
2952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
296
297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
298 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
299 and R_X86_64_TPOFF64.
300
6f27cd16
JM
3012012-05-10 Joseph Myers <joseph@codesourcery.com>
302
303 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
304 sysdeps/unix/sysv/syscalls.list.
305 (stime): Likewise.
306 (utime): Likewise.
307 * sysdeps/unix/sysv/syscalls.list: Remove file.
308
02467e1c
PE
3092012-05-10 Paul Eggert <eggert@cs.ucla.edu>
310
311 [BZ #3440]
312 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
313 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
314 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
315 (__LC_IDENTIFICATION): Make these macros useful in #if
316 expressions, as required by C99.
317
da392631
AS
3182012-05-10 Andreas Schwab <schwab@linux-m68k.org>
319
320 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
321 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
322 after this.
323
8115f29b
L
3242012-05-09 H.J. Lu <hongjiu.lu@intel.com>
325
326 * stdlib/longlong.h: Updated from GCC.
327
bdd74070
AJ
3282012-05-09 Andreas Jaeger <aj@suse.de>
329
edfe0dbe
AJ
330 * nscd/nscd.c (run_modes): Make named enum, reorder so that
331 default is first entry.
332 (run_mode): Set type.
333 (main): Remove informal message about syslog.
334 (options): Fix typo.
335
bcfe3a54
ST
336 [BZ #14053]
337 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 338 to asm.
bcfe3a54
ST
339 (lrint): Likewise.
340 (llrintf): Likewise.
341 (llrint): Likewise.
342 (rint): Likewise.
343 (rintf): Likewise.
344 (nearbyint): Likewise.
345 (nearbyintf): Likewise.
bdd74070 346
91d8d69e
AJ
3472012-05-09 Andreas Jaeger <aj@suse.de>
348 Pedro Alves <palves@redhat.com>
349
350 * nscd/nscd.c (run_mode): Use enum.
351 (main): Cleanup coding style issue.
352
bb90b80b
AJ
3532012-05-09 Alexandre Oliva <aoliva@redhat.com>
354 Andreas Jaeger <aj@suse.de>
355
bcfe3a54
ST
356 * nscd/nscd.c (go_background): Replaced with...
357 (run_mode): ... this.
bb90b80b 358 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
359 (options): Add -F --foreground.
360 (main): Implement it.
361 (parse_opt): Parse it.
bb90b80b 362
1a4b75a1
AJ
3632012-05-09 Andreas Jaeger <aj@suse.de>
364
365 [BZ #14083]
366 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
367 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
368 -Wconversion warning.
369 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
370 Likewise.
371
b1cc2472
JM
3722012-05-09 Joseph Myers <joseph@codesourcery.com>
373
374 * conform/data/locale.h-data (NULL): Use macro-constant. Require
375 == 0.
376 (LC_ALL): Use macro-int-constant.
377 (LC_COLLATE): Likewise.
378 (LC_CTYPE): Likewise.
379 (LC_MESSAGES): Likewise.
380 (LC_MONETARY): Likewise.
381 (LC_NUMERIC): Likewise.
382 (LC_TIME): Likewise.
383 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
384 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
385 [ISO || ISO99 || ISO11] (*_t): Do not allow.
386 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
387 Specify type.
388 [C99-based standards] (float_t): Expect type.
389 [C99-based standards] (double_t): Expect type.
390 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
391 type.
392 [C99-based standards] (HUGE_VALL): Likewise.
393 [C99-based standards] (INFINITY): Likewise.
394 [C99-based standards] (NAN): Likewise.
395 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
396 [C99-based standards] (FP_NAN): Likewise.
397 [C99-based standards] (FP_NORMAL): Likewise.
398 [C99-based standards] (FP_SUBNORMAL): Likewise.
399 [C99-based standards] (FP_ZERO): Likewise.
400 [C99-based standards] (FP_FAST_FMA): Use
401 optional-macro-int-constant. Specify type. Require == 1.
402 [C99-based standards] (FP_FAST_FMAF): Likewise.
403 [C99-based standards] (FP_FAST_FMAL): Likewise.
404 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
405 [C99-based standards] (FP_ILOGBNAN): Likewise.
406 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
407 Specify type.
408 [C99-based standards] (MATH_ERREXCEPT): Likewise.
409 [C99-based standards] (math_errhandling): Specify type.
410 [ISO99 || ISO11] (signgam): Do not allow.
411 [non-C99-based standards] (copysignf): Do not allow.
412 [non-C99-based standards] (exp2f): Likewise.
413 [non-C99-based standards] (log2f): Likewise.
414 [non-C99-based standards] (modff): Allow.
415 [non-C99-based standards] (erff): Do not allow.
416 [non-C99-based standards] (erfcf): Likewise.
417 [non-C99-based standards] (gammaf): Likewise.
418 [non-C99-based standards] (hypotf): Likewise.
419 [non-C99-based standards] (j0f): Likewise.
420 [non-C99-based standards] (j1f): Likewise.
421 [non-C99-based standards] (jnf): Likewise.
422 [non-C99-based standards] (lgammaf): Likewise.
423 [non-C99-based standards] (tgammaf): Likewise.
424 [non-C99-based standards] (y0f): Likewise.
425 [non-C99-based standards] (y1f): Likewise.
426 [non-C99-based standards] (ynf): Likewise.
427 [non-C99-based standards] (isnanf): Likewise.
428 [non-C99-based standards] (acoshf): Likewise.
429 [non-C99-based standards] (asinhf): Likewise.
430 [non-C99-based standards] (atanhf): Likewise.
431 [non-C99-based standards] (cbrtf): Likewise.
432 [non-C99-based standards] (expm1f): Likewise.
433 [non-C99-based standards] (ilogbf): Likewise.
434 [non-C99-based standards] (log1pf): Likewise.
435 [non-C99-based standards] (logbf): Likewise.
436 [non-C99-based standards] (nextafterf): Likewise.
437 [non-C99-based standards] (remainderf): Likewise.
438 [non-C99-based standards] (rintf): Likewise.
439 [non-C99-based standards] (scalbf): Likewise.
440 [non-C99-based standards] (copysignl): Likewise.
441 [non-C99-based standards] (exp2l): Likewise.
442 [non-C99-based standards] (log2l): Likewise.
443 [non-C99-based standards] (modfl): Allow.
444 [non-C99-based standards] (erfl): Do not allow.
445 [non-C99-based standards] (erfcl): Likewise.
446 [non-C99-based standards] (gammal): Likewise.
447 [non-C99-based standards] (hypotl): Likewise.
448 [non-C99-based standards] (j0l): Likewise.
449 [non-C99-based standards] (j1l): Likewise.
450 [non-C99-based standards] (jnl): Likewise.
451 [non-C99-based standards] (lgammal): Likewise.
452 [non-C99-based standards] (tgammal): Likewise.
453 [non-C99-based standards] (y0l): Likewise.
454 [non-C99-based standards] (y1l): Likewise.
455 [non-C99-based standards] (ynl): Likewise.
456 [non-C99-based standards] (isnanl): Likewise.
457 [non-C99-based standards] (acoshl): Likewise.
458 [non-C99-based standards] (asinhl): Likewise.
459 [non-C99-based standards] (atanhl): Likewise.
460 [non-C99-based standards] (cbrtl): Likewise.
461 [non-C99-based standards] (expm1l): Likewise.
462 [non-C99-based standards] (ilogbl): Likewise.
463 [non-C99-based standards] (log1pl): Likewise.
464 [non-C99-based standards] (logbl): Likewise.
465 [non-C99-based standards] (nextafterl): Likewise.
466 [non-C99-based standards] (remainderl): Likewise.
467 [non-C99-based standards] (rintl): Likewise.
468 [non-C99-based standards] (scalbl): Likewise.
469 [ISO || ISO99 || ISO11] (*_t): Do not allow.
470 [non-C99-based standards] (FP_*): Do not allow.
471 [C99-based standards] (FP_*): Change to
472 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
473 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
474 allow.
475 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
476 (SIG_ERR): Likewise.
477 [X/Open-based standards] (SIG_HOLD): Likewise.
478 (SIG_IGN): Likewise.
479 (SIGABRT): Use macro-int-constant. Specify type. Require
480 positive value.
481 (SIGFPE): Likewise.
482 (SIGILL): Likewise.
483 (SIGINT): Likewise.
484 (SIGSEGV): Likewise.
485 (SIGTER): Likewise.
486 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
487 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
488 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
489 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
490 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
491 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
492 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
493 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
494 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
495 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
496 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
497 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
498 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
499 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
500 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
501 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
502 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
503 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
504 [X/Open-based standards] (SIGTRAP): Likewise.
505 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
506 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
507 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
508 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
509 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
510 allow.
511
b9f1922d
IW
5122012-05-08 Ian Wienand <ianw@vmware.com>
513
514 [BZ #14080]
515 * time/tzset.c (__tzset_parse_tz): Update default rules for
516 daylight time changes in the Energy Policy Act of 2005.
517
1db86e88
AJ
5182012-05-09 Andreas Jaeger <aj@suse.de>
519
520 [BZ #13983]
521 * elf/ldconfig.c (parse_conf): Change string to make clear that
522 ldconfig only issued a warning if ld.so.conf does not exist.
523
dee4a4e3
DM
5242012-05-08 David S. Miller <davem@davemloft.net>
525
ee0db190
DM
526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
527 movxtod instead of popping the value on the stack.
528
dee4a4e3
DM
529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
530
6a43ec98
CD
5312012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
532
533 * config.h.in: Add HAVE_ARM_PCS_VFP.
534
05c2c961
RMG
5352012-05-08 Roland Mc Grath <roland@hack.frob.com>
536
bcfe3a54
ST
537 [BZ #13979]
538 * include/features.h: Warn if user requests __FORTIFY_SOURCE
539 checking but the checks are disabled for any reason.
05c2c961 540
4b30f61a
L
5412012-05-08 H.J. Lu <hongjiu.lu@intel.com>
542
543 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
544 and ELF64_R_TYPE with ELFW(R_TYPE).
545
eee2bc67
JM
5462012-05-08 Joseph Myers <joseph@codesourcery.com>
547
7ea5391a
JM
548 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
549 (ulimit): Likewise.
550
eee2bc67
JM
551 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
552 (settimeofday): Likewise.
553
abb66a67
MF
5542012-05-08 Mike Frysinger <vapier@gentoo.org>
555
556 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
557 a struct th_u2 inside the union, and move tu_block/tu_code into
558 a new th_u3 union of tu_block/tu_code inside of that. Move
559 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
560 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
561 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
562 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
563 (th_stuff): Change to th_u1.tu_stuff.
564 (th_data): Define.
565 (th_msg): Change to th_u1.th_u2.tu_data.
566
7f18b530
DM
5672012-05-07 David S. Miller <davem@davemloft.net>
568
05760585
DM
569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
570
7f18b530
DM
571 [BZ #14074]
572 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
573 (SETUP_PIC_REG): Use it.
574 (SETUP_PIC_REG_LEAF): Use it.
575
495fd99f
JM
5762012-05-07 Joseph Myers <joseph@codesourcery.com>
577
578 [BZ #13885]
579 [BZ #13923]
580 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
581 USE_AS_EXPM1L.
582 (EXPL_FINITE): Likewise.
583 (FLDLOG): Likewise.
584 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
585 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
586 e_expl.S.
587 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
588 USE_AS_EXPM1L.
589 (EXPL_FINITE): Likewise.
590 (FLDLOG): Likewise.
591 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
592 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
593 e_expl.S.
594 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
595 test of -max_value argument for long double.
596 * sysdeps/i386/fpu/libm-test-ulps: Update.
597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
598
6693d694
DM
5992012-05-06 David S. Miller <davem@davemloft.net>
600
601 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
602 quad soft-float symbols whose references which are compiler
603 generated.
604 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
605
6c23e11c
JM
6062012-05-06 Joseph Myers <joseph@codesourcery.com>
607
d8b82cad
JM
608 [BZ #13884]
609 [BZ #13914]
610 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
611 USE_AS_EXP10L.
612 (EXPL_FINITE): Likewise.
613 (FLDLOG): Likewise.
614 (c0): Likewise.
615 (c1): Likewise.
616 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
617 Adjust comments for base varying.
618 (__expl_finite): Change alias to EXPL_FINITE.
619 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
620 e_expl.S.
621 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
622 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
623 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
624 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
625 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
626 USE_AS_EXP10L.
627 (EXPL_FINITE): Likewise.
628 (FLDLOG): Likewise.
629 (c0): Likewise.
630 (c1): Likewise.
631 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
632 Adjust comments for base varying.
633 (__expl_finite): Change alias to EXPL_FINITE.
634 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
635 tests for bugs.
636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
637
6c23e11c
JM
638 [BZ #14064]
639 * math/libm-test.inc (check_float_internal): Correct ulp
640 calculation for subnormal expected results.
641
29ba805c
AJ
6422012-05-06 Andreas Jaeger <aj@suse.de>
643
644 * Makeconfig (+math-flags): New, set to -frounding-math.
645 (+cflags): Add +math-flags so that all of glibc gets compiled with
646 it.
647
648 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
649
7b17aeda
JM
6502012-05-05 Joseph Myers <joseph@codesourcery.com>
651
5779f134
JM
652 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
653 Disable one test.
654
41498f4d
JM
655 [BZ #13787]
656 [BZ #13922]
657 [BZ #14036]
658 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
659 (__ieee754_expl): Allow for and saturate large arguments.
660 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
661 (u_threshold): Likewise.
662 (__exp): Call __ieee754_exp before checking for overflow and
663 underflow.
664 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
665 (u_threshold): Likewise.
666 (__expf): Call __ieee754_expf before checking for overflow and
667 underflow.
668 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
669 (u_threshold): Likewise.
670 (__expl): Call __ieee754_expl before checking for overflow and
671 underflow.
672 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
673 (__ieee754_expl): Allow for and saturate large arguments.
674 * math/libm-test.inc (exp_test): Add another test. Do not allow
675 missing overflow exception on overflow.
676 (expm1_test): Do not allow missing overflow exception on overflow.
677
6698b8bf
JM
678 * sysdeps/i386/fpu/e_expl.c: Move to ...
679 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
680 rather than using inline asm.
681 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
682 * sysdeps/x86_64/fpu/e_expl.S: Copy from
683 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
684
7b17aeda
JM
685 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
686 (nice): Likewise.
687 (poll): Likewise.
688 (signal): Likewise.
689 (time): Likewise.
690 (times): Likewise.
691
f7c85819
JM
6922012-05-04 Joseph Myers <joseph@codesourcery.com>
693
694 * sysdeps/unix/syscalls.list (adjtime): Add entry from
695 sysdeps/unix/common/syscalls.list.
696 (fchmod): Likewise.
697 (fchown): Likewise.
698 (ftruncate): Likewise.
699 (getrusage): Likewise.
700 (gettimeofday): Likewise.
701 (setpgid): Likewise.
702 (setregid): Likewise.
703 (setreuid): Likewise.
704 (sigaction): Likewise.
705 (truncate): Likewise.
706 (vhangup): Likewise.
707 * sysdeps/unix/common/syscalls.list: Remove file.
708 * sysdeps/unix/bsd/Implies: Don't include unix/common.
709 * sysdeps/unix/sysv/linux/Implies: Likewise.
710
336270d0
L
7112012-05-04 H.J. Lu <hongjiu.lu@intel.com>
712
713 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
715 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
716 Moved to ...
717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
718 Here.
719 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
720 to ...
721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
722 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
723 to ...
724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
725 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
726 to ...
727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
728 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
729 to ...
730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
731 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
732 to ...
733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
734 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
735 to ...
736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
737 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
738 to ...
739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
740 Here.
741 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
742 to ...
743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
744 Here.
745 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
746 to ...
747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
748 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
749 Moved to ...
750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
751 Here.
752 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
753 to ...
754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
755
d128e450
JM
7562012-05-04 Joseph Myers <joseph@codesourcery.com>
757
fa8ee516
JM
758 * sysdeps/unix/common/bits/dirent.h: Remove file.
759 * sysdeps/unix/common/bits/fcntl.h: Likewise.
760
d128e450
JM
761 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
762 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
763 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
764 * sysdeps/unix/bsd/isatty.c: Likewise.
765 * sysdeps/unix/bsd/tcdrain.c: Likewise.
766 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
767 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
768
ff8faaf0 7692012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 770
62881be4 771 [BZ #13563]
31dc8730
AZ
772 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
773 long double comparison inaccuracies.
774 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
776
6fef930c
AS
7772012-05-04 Andreas Schwab <schwab@linux-m68k.org>
778
779 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
780 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
781
8f203e6c
JM
7822012-05-04 Joseph Myers <joseph@codesourcery.com>
783
784 [BZ #14049]
785 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
786 nonzero digits before rounding a hex value.
787 * stdlib/tst-strtod.c (tests): Add another test.
788
5197d9c2
AK
7892012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
790
791 * sysdeps/s390/fpu/libm-test-ulps: Update.
792
f0c1dedf
AJ
7932012-05-03 Andreas Jaeger <aj@suse.de>
794
795 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
796 does not get optimized out.
797 (malloc_opt_barrier): New.
798
a65ef2ae 7992012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 800 Roland McGrath <roland@hack.frob.com>
a65ef2ae 801
2b942cb7 802 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 803 intermediate file deletion.
2b942cb7 804 (generated): Add .symlist files.
a65ef2ae 805
54b71e02
JM
8062012-05-03 Joseph Myers <joseph@codesourcery.com>
807
808 [BZ #13775]
809 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
810 Redirect under this condition.
811 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
812 [__USE_GNU] (__dprintf_chk): Not under this condition.
813 [__USE_GNU] (__vdprintf_chk): Likewise.
814 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
815 under this condition.
816 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
817 [__USE_XOPEN2K8] (dprintf): Define under this condition.
818 [__USE_XOPEN2K8] (vdprintf): Likewise.
819 [__USE_GNU] (__dprintf_chk): Not under this condition.
820 [__USE_GNU] (__vdprintf_chk): Likewise.
821 [__USE_GNU] (dprintf): Likewise.
822 [__USE_GNU] (vdprintf): Likewise.
823
d3dfcc41
RM
8242012-05-03 Roland McGrath <roland@hack.frob.com>
825
826 * elf/Makefile (common-generated): Set this instead of generated for
827 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
828 $(all-built-dso)-derived lists.
829
7ac30cc5
AJ
8302012-05-03 Andreas Jaeger <aj@suse.de>
831
0c51e550
AJ
832 * sysdeps/i386/fpu/libm-test-ulps: Update.
833
7ac30cc5
AJ
834 * FAQ: Removed.
835 * FAQ.in: Likewise.
836 * scripts/gen-FAQ.pl: Likewise.
837 * manual/install.texi (Installation): Point to online location of
838 FAQ.
839 * Makefile (files-for-dist): Remove FAQ.
840 (FAQ): Remove.
841
d4c2917f
AM
8422012-05-02 Allan McRae <allan@archlinux.org>
843
844 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
845 (LDFLAGS-reldepmod5.so): Likewise.
846 (LDFLAGS-reldep6mod1.so): Likewise.
847 (LDFLAGS-reldep6mod4.so): Likewise.
848 (LDFLAGS-reldep8mod3.so): Likewise.
849 (LDFLAGS-unload4mod1.so): Likewise.
850 (LDFLAGS-unload4mod2.so): Likewise.
851 (LDFLAGS-tst-initorder): Likewise.
852 (LDFLAGS-tst-initordera2.so): Likewise.
853 (LDFLAGS-tst-initordera3.so): Likewise.
854 (LDFLAGS-tst-initordera4.so): Likewise.
855 (LDFLAGS-tst-initorderb2.so): Likewise.
856 (LDFLAGS-noload): Likewise.
857 (LDFLAGS-next): Likewise.
858 (LDFLAGS-order2mod1.so): Likewise.
859 (LDFLAGS-order2mod2.so): Likewise.
860 (LDFLAGS-tst-initorder2): Likewise.
861 (LDFLAGS-tst-initorder2a.so): Likewise.
862 (LDFLAGS-tst-initorder2b.so): Likewise.
863 (LDFLAGS-tst-initorder2c.so): Likewise.
864 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
865
d77f993f
DM
8662012-05-02 David S. Miller <davem@davemloft.net>
867
868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
869
171a70b4
PP
8702012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
871
872 [BZ #14055]
873 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
874
0be196ad
AJ
8752012-05-02 Andreas Jaeger <aj@suse.de>
876
877 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
878 since we manipulate rounding mode.
879 (CPPFLAGS-test-idouble.c): Likewise.
880 (CPPFLAGS-test-ifloat.c): Likewise.
881 (CFLAGS-test-ldouble.c): Likewise.
882 (CFLAGS-test-double.c): Likewise.
883 (CFLAGS-test-float.c): Likewise.
884 (CFLAGS-test-misc.c): Likewise.
885 (CFLAGS-test-test-fenv.c): Likewise.
886
4f9d04aa
AZ
8872012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
888
2b942cb7
RM
889 [BZ #2550]
890 [BZ #2570]
891 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
892 comparisons to determine direction to adjust input.
4f9d04aa 893
82a79e7d
RM
8942012-05-01 Roland McGrath <roland@hack.frob.com>
895
f5a01ca9
RM
896 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
897 output to the target.
898
90fe4186
RM
899 * scripts/localplt.awk: New file.
900 * elf/Makefile ($(objpfx)check-localplt): Target removed.
901 (check-localplt-CFLAGS): Variable removed.
902 ($(all-built-dso:=.jmprel)): New static pattern rule.
903 (generated): Add those targets.
904 (localplt-built-dso): New variable.
905 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
906
907 * elf/check-localplt.c: File removed.
908
82397ed6
RM
909 * scripts/check-execstack.awk: New file.
910 * elf/Makefile ($(objpfx)check-execstack): Target removed.
911 (check-execstack-CFLAGS): Variable removed.
912 ($(objpfx)check-execstack.h): Target removed.
913 ($(objpfx)execstack-default): New target.
914 (generated): Add that instead of check-execstack.h.
915 ($(all-built-dso:=.phdr)): New static pattern rule.
916 (generated): Add those targets.
917 * elf/check-execstack.c: File removed.
918
82a79e7d
RM
919 * scripts/check-textrel.awk: New file.
920 * elf/Makefile ($(objpfx)check-textrel): Target removed.
921 (check-textrel-CFLAGS): Variable removed.
922 (all-built-dso): Use := to define.o
923 ($(all-built-dso:=.dyn)): New static pattern rule.
924 (generated): Add those targets.
925 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
926 * config.make.in (READELF): New substituted variable.
927 * elf/check-textrel.c: File removed.
928
62fde54f 9292012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 930
615605c9
JM
931 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
932 allow.
933 * conform/data/ctype.h-data [C99-based standards] (isblank):
934 Expect function.
935 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
936 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
937 [ISO || ISO99 || ISO11] (*_t): Do not allow.
938 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
939 Specify type. Require positive value.
940 (EILSEQ): Likewise.
941 (ERANGE): Likewise.
942 [ISO || POSIX] (EILSEQ): Do not expect.
943 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
944 Specify type. Require positive value.
945 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
946 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
947 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
948 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
949 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
950 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
951 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
952 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
953 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
954 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
955 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
956 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
957 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
958 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
959 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
960 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
961 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
962 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
963 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
964 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
965 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
966 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
967 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
968 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
969 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
970 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
971 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
972 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
973 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
974 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
975 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
976 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
977 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
978 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
979 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
980 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
981 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
982 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
983 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
984 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
985 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
986 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
987 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
988 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
989 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
990 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
991 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
992 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
993 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
994 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
995 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
996 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
997 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
998 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
999 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1000 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1001 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1002 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1003 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1004 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1005 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1006 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1007 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1008 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1009 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1010 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1011 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1012 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1013 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1014 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1015 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1016 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1017 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1018 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1019 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1020 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1021 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1022 Require >= 2.
1023 (FLT_ROUNDS): Expect as macro, not constant.
1024 (FLT_MANT_DIG): Use macro-int-constant.
1025 (DBL_MANT_DIG): Likewise.
1026 (LDBL_MANT_DIG): Likewise.
1027 (FLT_DIG): Likewise.
1028 (DBL_DIG): Likewise.
1029 (LDBL_DIG): Likewise.
1030 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1031 (DBL_MIN_EXP): Likewise.
1032 (LDBL_MIN_EXP): Likewise.
1033 (FLT_MAX_EXP): Use macro-int-constant.
1034 (DBL_MAX_EXP): Likewise.
1035 (LDBL_MAX_EXP): Likewise.
1036 (FLT_MAX_10_EXP): Likewise.
1037 (DBL_MAX_10_EXP): Likewise.
1038 (LDBL_MAX_10_EXP): Likewise.
1039 (FLT_MAX): Use macro-constant.
1040 (DBL_MAX): Likewise.
1041 (LDBL_MAX): Likewise.
1042 (FLT_EPSILON): Use macro-constant. Give upper bound.
1043 (DBL_EPSILON): Likewise.
1044 (LDBL_EPSILON): Likewise.
1045 (FLT_MIN): Likewise.
1046 (DBL_MIN): Likewise.
1047 (LDBL_MIN): Likewise.
1048 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1049 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1050 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1051 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1052 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1053 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1054 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1055 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1056 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1057 [ISO11] (FLT_TRUE_MIN): Likewise.
1058 [ISO11] (LDBL_TRUE_MIN): Likewise.
1059 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1060 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1061 (SCHAR_MIN): Use macro-int-constant. Specify type.
1062 (SCHAR_MAX): Likewise.
1063 (UCHAR_MAX): Likewise.
1064 (CHAR_MIN): Likewise.
1065 (CHAR_MAX): Likewise.
1066 (MB_LEN_MAX): Use macro-int-constant.
1067 (SHRT_MIN): Use macro-int-constant. Specify type.
1068 (SHRT_MAX): Likewise.
1069 (USHRT_MAX): Likewise.
1070 (INT_MAX): Likewise.
1071 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1072 bound negative.
1073 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1074 bound with "U".
1075 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1076 bound with "L".
1077 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1078 bound negative. Suffix upper bound with "L".
1079 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1080 bound with "UL".
1081 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1082 Specify type.
1083 [C99-based standards] (LLONG_MAX): Likewise.
1084 [C99-based standards] (ULLONG_MAX): Likewise.
1085 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1086 == 0.
1087 [ISO11] (max_align_t): Require type.
1088 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1089
c9140a62
JM
1090 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1091 from $CFLAGS, without defining away __attribute__ calls.
1092 (checknamespace): Use $CFLAGS_namespace.
1093
9af0bf29
JM
1094 * conform/conformtest.pl (@keywords): Only include C99 keywords
1095 for standards based on C99 or C11.
1096
343222a2
JM
1097 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1098 Disable tests.
1099 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1100 UNIX98]: Likewise.
1101
661f8cf0
JM
1102 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1103 usability of symbols in #if.
1104
ee74b9cb
JM
1105 * conform/conformtest.pl: If macro or constant types start
1106 "promoted:", expect the symbol to be of the following type
1107 promoted by the integer promotions.
62fde54f 1108
aafc49b3
JM
1109 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1110 in one place. Also handle "macro-constant".
1111
fefdf574
JM
1112 * conform/conformtest.pl: Only accept expected macro values with
1113 "==". Parse all "macro" lines in one place.
1114 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1115
f2d922fe
JM
1116 * conform/conformtest.pl: Handle braced types on "constant" lines
1117 instead of handling "typed-constant".
1118 * conform/data/signal.h-data: Use "constant" instead of
1119 "typed-constant".
1120
d22956c9
JM
1121 * conform/conformtest.pl: Handle "optional-" at start of lines in
1122 one place rather than duplicating several cases. Handle each
1123 format of "macro" line with initial "optional-".
1124
028e2e38
JM
1125 * conform/conformtest.pl: Only accept expected constant or
1126 optional-constant values with "==". Parse all "constant" lines in
1127 one place. Parse all "optional-constant" lines in one place.
1128 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1129 * conform/data/fmtmsg.h-data: Likewise.
1130 * conform/data/netinet/in.h-data: Likewise.
1131 * conform/data/tar.h-data: Likewise.
1132 * conform/data/limits.h-data: Use "==" form on "constant" and
1133 "optional-constant" lines.
1134
1b8f2850
JM
1135 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1136 Use -std=c99 for XOPEN2K.
1137 (@knownproblems): Remove.
1138 (newtoken): Don't check %isknown.
1139
a05a144b
JM
1140 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1141 Do not expect macro.
1142 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1143 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1145 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1146 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1147 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1148 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1149 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1150 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1151 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1152 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1153 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1154 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1155 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1156 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1157 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1158 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1159 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1160 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1161 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1162 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1163 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1164 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1165 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1166 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1168 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1169 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1170 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1171 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1172 [XPG3] (acosh): Likewise.
1173 [XPG3] (asinh): Likewise.
1174 [XPG3] (atanh): Likewise.
1175 [XPG3] (cbrt): Likewise.
1176 [XPG3] (expm1): Likewise.
1177 [XPG3] (ilogb): Likewise.
1178 [XPG3] (log1p): Likewise.
1179 [XPG3] (logb): Likewise.
1180 [XPG3] (nextafter): Likewise.
1181 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1182 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1183 [XPG3] (remainder): Likewise.
1184 [XPG3] (rint): Likewise.
1185 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1186 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1187 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1188 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1189 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1190 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1191 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1192 [UNIX98 || XOPEN2K] (scalb): Expect.
1193 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1194 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1195 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1196 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1197 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1198 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1199 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1200 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1201 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1202 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1203 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1204 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1205 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1206 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1207 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1208 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1209 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1210 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1211 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1212 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1213 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1214 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1215 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1216 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1217 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1218 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1219 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1220 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1221 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1222 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1223 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1224 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1225 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1226 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1227 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1228 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1229 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1230 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1231 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1232 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1233 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1234 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1235 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1236 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1237 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1238 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1239 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1240 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1241 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1242 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1243 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1244 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1245 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1246 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1247 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1248 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1249 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1250 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1251 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1252 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1253 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1254 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1255 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1256 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1257 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1259 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1260 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1261 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1262 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1263 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1267 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1268 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1269 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1270 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1271 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1272 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1273 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1274 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1275 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1276 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1277 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1278 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1279 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1280 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1281 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1282 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1283 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1284 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1285 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1286 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1287 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1288 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1289 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1290 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1291 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1292 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1293 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1294 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1295 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1299 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1300 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1302 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1308 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1311 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1312 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1313 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1314 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1315 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1329 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1330
73c5ebe3
JM
1331 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1332 _XOPEN_SOURCE_EXTENDED for XPG4.
1333
39c33b6c
JM
1334 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1335
62fde54f
JM
1336 * Makeconfig (localtime): Remove variable.
1337 (inst_localtime-file): Likewise.
1338
0741d64c
AS
13392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1340
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1342 Update.
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1344 Update.
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1346 Update.
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1348 Update.
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1350 Update.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1352 Update.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1354 Update.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1356 Update.
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1358 Update.
1359
7cb029ee
JM
13602012-05-01 Joseph Myers <joseph@codesourcery.com>
1361
1362 [BZ #2550]
1363 [BZ #2570]
1364 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1365 comparisons to determine direction to adjust input.
1366 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1367 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1368 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1369 Likewise.
1370 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1371 Likewise.
1372 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1373 Likewise.
1374 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1375 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1376 Likewise.
1377 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1378 Likewise.
1379 * math/libm-test.inc (nexttoward_test): Add more tests.
1380
412bd966
AS
13812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1382
1383 [BZ #14040]
1384 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1385 in version GLIBC_2.1, not GLIBC_2.0.
1386 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1387 Likewise.
1388
9568c0c2
JM
13892012-04-30 Joseph Myers <joseph@codesourcery.com>
1390
adfbc8ac
JM
1391 [BZ #13942]
1392 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1393 (1 - x) * (1 + x).
1394 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1395 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1396 * math/libm-test.inc (acos_test): Add more tests.
1397 (asin_test): Likewise.
1398 * sysdeps/i386/fpu/libm-test-ulps: Update.
1399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1400
5ba3cc69
JM
1401 [BZ #14034]
1402 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1403 of square root.
1404 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1405 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1406 * math/libm-test.inc (acos_test_tonearest): New function.
1407 (acos_test_towardzero): Likewise.
1408 (acos_test_downward): Likewise.
1409 (acos_test_upward): Likewise.
1410 (asin_test_tonearest): Likewise.
1411 (asin_test_towardzero): Likewise.
1412 (asin_test_downward): Likewise.
1413 (asin_test_upward): Likewise.
1414 (main): Call the new functions.
1415 * sysdeps/i386/fpu/libm-test-ulps: Update.
1416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1417
9568c0c2
JM
1418 [BZ #13884]
1419 [BZ #13924]
1420 * math/e_exp10.c: Include <float.h>.
1421 (__ieee754_exp10): Handle underflow here rather than multiplying
1422 large negative argument by M_LN10.
1423 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1424 of __ieee754_expf.
1425 * math/e_exp10l.c: Include <float.h>.
1426 (__ieee754_exp10l): Handle underflow here rather than multiplying
1427 large negative argument by M_LN10l.
1428 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1429 spurious overflow exception on underflow.
1430
5ac3ea17
MP
14312012-04-29 Marek Polacek <polacek@redhat.com>
1432
1433 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1434 (__fortify_function): New macro.
1435 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1436 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1437 __extern_always_inline.
1438 * libio/bits/stdio2.h: Likewise.
1439 * libio/bits/stdio.h: Likewise.
1440 * string/string.h: Likewise.
1441 * string/bits/string3.h: Likewise.
1442 * include/stdio.h: Likewise.
1443 * stdlib/bits/stdlib.h: Likewise.
1444 * stdlib/stdlib.h: Likewise.
1445 * rt/bits/mqueue2.h: Likewise.
1446 * rt/mqueue.h: Likewise.
1447 * posix/bits/unistd.h: Likewise.
1448 * posix/unistd.h: Likewise.
1449 * io/bits/poll2.h: Likewise.
1450 * io/bits/fcntl2.h: Likewise.
1451 * io/fcntl.h: Likewise.
1452 * io/sys/poll.h: Likewise.
1453 * misc/bits/syslog.h: Likewise.
1454 * misc/bits/syslog-ldbl.h: Likewise.
1455 * misc/sys/syslog.h: Likewise.
1456 * socket/bits/socket2.h: Likewise.
1457 * socket/sys/socket.h: Likewise.
1458 * debug/tst-chk1.c: Likewise.
1459 * wcsmbs/bits/wchar2.h: Likewise.
1460 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1461 * wcsmbs/wchar.h: Likewise.
1462
ecf0ebfb
AJ
14632012-04-29 Andreas Jaeger <aj@suse.de>
1464
1465 * Makerules (tests): Remove enable-check-abi protection.
1466 (check-abi-warn): Remove.
1467 (check-abi-%): Remove check-abi-warn usage.
1468
1469 * configure.in: Remove check-abi configure option.
1470 * configure: Regenerated.
1471 * config.make.in (enable-check-abi): Remove.
1472
6d5c57fa
AS
14732012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1474
24c5d07e 1475 [BZ #14033]
ded5180a
AS
1476 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1477 double functions to double *_finite functions.
1478
7e0d315d
AS
1479 [BZ #13941]
1480 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1481 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1482 LDBL_MIN_EXP.
1483 * stdio-common/Makefile (tests): Add tst-sprintf3.
1484 * stdio-common/tst-sprintf3.c: New file.
1485
6d5c57fa
AS
1486 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1487 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1488
0749ff8b
JM
14892012-04-28 Joseph Myers <joseph@codesourcery.com>
1490
1491 * conform/conformtest.pl: Remove duplicate typed-constant
1492 handling.
1493
8dbd5d7b
DM
14942012-04-28 David S. Miller <davem@davemloft.net>
1495
1496 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1497 (check-abi-%): Remove AWK script prerequisite and explicit
1498 abilist directory.
1499 (check-abi): Rewrite to just diff the symlist with the abilist.
1500 (config-tls, config-abi-config): Delete, no longer used.
1501 (update-abi-%): Remove AWK script and explicit abilist directory.
1502 (update-abi): Rewrite to simply compare and conditionally copy the
1503 symlist and the sysdep abilist file. Remove update-abi-config
1504 checks.
1505 * abilist/ld.abilist: Remove.
1506 * abilist/libBrokenLocale.abilist: Remove.
1507 * abilist/libanl.abilist: Remove.
1508 * abilist/libcrypt.abilist: Remove.
1509 * abilist/libdl.abilist: Remove.
1510 * abilist/librt.abilist: Remove.
1511 * abilist/libthread_db.abilist: Remove.
1512 * abilist/libutil.abilist: Remove.
1513 * scripts/extract-abilist.awk: Remove.
1514 * scripts/merge-abilist.awk: Remove.
1515 * sysdeps/generic/libcidn.abilist: New file.
1516 * sysdeps/generic/libnss_compat.abilist: New file.
1517 * sysdeps/generic/libnss_db.abilist: New file.
1518 * sysdeps/generic/libnss_dns.abilist: New file.
1519 * sysdeps/generic/libnss_files.abilist: New file.
1520 * sysdeps/generic/libnss_hesiod.abilist: New file.
1521 * sysdeps/generic/libnss_nis.abilist: New file.
1522 * sysdeps/generic/libnss_nisplus.abilist: New file.
1523 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1524 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1525 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1526 file.
1527 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1528 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1529 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1530 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1531 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1532 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1533 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1534 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1535 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1536 file.
1537 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1538 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1539 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1540 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1541 file.
1542 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1543 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1544 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1545 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1546 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1547 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1548 file.
1549 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1550 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1551 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1552 file.
1553 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1555 New file.
1556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1557 New file.
1558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1559 New file.
1560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1561 New file.
1562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1563 New file.
1564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1565 New file.
1566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1567 New file.
1568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1569 New file.
1570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1571 New file.
1572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1573 New file.
1574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1575 New file.
1576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1577 New file.
1578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1579 New file.
1580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1581 file.
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1583 New file.
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1585 New file.
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1587 file.
1588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1589 New file.
1590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1591 New file.
1592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1593 file.
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1595 New file.
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1597 New file.
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1599 New file.
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1601 New file.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1603 New file.
1604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1605 New file.
1606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1608 file.
1609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1610 New file.
1611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1612 file.
1613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1614 file.
1615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1616 file.
1617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1618 file.
1619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1620 file.
1621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1622 New file.
1623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1624 file.
1625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1626 file.
1627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1628 New file.
1629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1630 file.
1631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1633 file.
1634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1635 New file.
1636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1637 file.
1638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1639 file.
1640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1641 file.
1642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1643 file.
1644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1645 file.
1646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1647 New file.
1648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1649 file.
1650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1651 file.
1652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1653 New file.
1654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1655 file.
1656 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1657 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1658 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1659 file.
1660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1661 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1662 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1663 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1664 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1665 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1666 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1667 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1668 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1669 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1672 file.
1673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1674 New file.
1675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1676 file.
1677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1678 file.
1679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1680 file.
1681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1682 file.
1683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1684 file.
1685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1686 New file.
1687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1688 New file.
1689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1690 file.
1691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1692 New file.
1693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1694 file.
1695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1697 file.
1698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1699 New file.
1700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1701 file.
1702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1703 file.
1704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1705 file.
1706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1707 file.
1708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1709 file.
1710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1711 New file.
1712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1713 New file.
1714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1715 file.
1716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1717 New file.
1718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1719 file.
1720
41d73a1b
JM
17212012-04-28 Joseph Myers <joseph@codesourcery.com>
1722
1723 * conform/conformtest.pl: Fix typo in handling typed-constant from
1724 allow-header.
1725
28aeeda4
JM
17262012-04-27 Joseph Myers <joseph@codesourcery.com>
1727
adae8f5e
JM
1728 * README: Cut down references to pre-2.6 Linux kernels and
1729 Linuxthreads. Update lists of configurations in libc and ports
1730 and sort alphabetically. Say "or newer" with Linux kernel version
1731 requirements.
1732
28aeeda4
JM
1733 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1734
a462cb63
RA
17352012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1736
1737 [BZ #887]
1738 * math/libm-test.inc (logb_test_downward): New test to expose
1739 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1740 rounding mode.
1741
6ad3493e
JM
17422012-04-27 Joseph Myers <joseph@codesourcery.com>
1743
1744 [BZ #14027]
1745 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1746 to be done.
1747 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1748 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1749
2ce4f015
JM
17502012-04-26 Joseph Myers <joseph@codesourcery.com>
1751
5aeb141a
JM
1752 * sysdeps/unix/i386/brk.S: Remove file.
1753 * sysdeps/unix/i386/dl-brk.S: Likewise.
1754 * sysdeps/unix/i386/pipe.S: Likewise.
1755 * sysdeps/unix/i386/sigreturn.S: Likewise.
1756 * sysdeps/unix/i386/syscall.S: Likewise.
1757 * sysdeps/unix/i386/vfork.S: Likewise.
1758 * sysdeps/unix/i386/wait.S: Likewise.
1759
7143acae
JM
1760 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1761 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1762
2ce4f015
JM
1763 * configure.in (arm*-none*): Do not allow without
1764 --enable-hacker-mode.
1765 (netbsd*): Remove case setting base_os.
1766 (386bsd*): Likewise.
1767 (freebsd*): Likewise.
1768 (bsdi*): Likewise.
1769 (osf*): Likewise.
1770 (sunos*): Likewise.
1771 (ultrix*): Likewise.
1772 (newsos*): Likewise.
1773 (dynix*): Likewise.
1774 (*bsd*): Likewise.
1775 (sysv*): Likewise.
1776 (isc*): Likewise.
1777 (esix*): Likewise.
1778 (sco*): Likewise.
1779 (minix*): Likewise.
1780 (irix4*): Likewise.
1781 (irix6*): Likewise.
1782 (solaris[2-9]*): Likewise.
1783 (none): Likewise.
1784 * configure: Regenerated.
1785
0ac229c8
AZ
17862012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1787
1788 [BZ #11521]
1789 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1790 overflow or cancellation in calculating denominator.
1791 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1792 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1793 down expression to avoid unexpected rounding in newer GCCs.
1794 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1795
33f244f4
DM
17962012-04-26 David S. Miller <davem@davemloft.net>
1797
1798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1799 long-double compat symbols.
1800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1813
cfa1f3e8
DM
18142012-04-25 David S. Miller <davem@davemloft.net>
1815
1816 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1817 HWCAP_* values only after the memory barriers have been defined.
1818 (atomic_full_barrier): Define.
1819 (atomic_read_barrier): Define.
1820 (atomic_write_barrier): Define.
1821
6e236b92
SP
18222012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1823
1824 * shlib-versions: Add libgcc_s version information.
1825 * sysdeps/generic/libgcc_s.h: Remove.
1826 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1827 libgcc_s.h.
1828 * sysdeps/gnu/unwind-resume.c: Likewise.
1829 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1830
aab39a09
DM
18312012-04-25 David S. Miller <davem@davemloft.net>
1832
1833 * sysdeps/unix/sparc/brk.S: Delete.
1834 * sysdeps/unix/sparc/dl-brk.S: Delete.
1835 * sysdeps/unix/sparc/pipe.S: Delete.
1836 * sysdeps/unix/sparc/sysdep.S: Delete.
1837 * sysdeps/unix/sparc/sysdep.h: Delete.
1838 * sysdeps/unix/sparc/vfork.S: Delete.
1839 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1840 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1841 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1842 ret_ERRVAL, r0, r1, MOVE): Define.
1843 (JUMPTARGET): Remove.
1844 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1845 sysdeps/unix/sparc/sysdep.h
1846 (ENTRY, END): Remove.
1847 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1848
a3cc4f48
JM
18492012-04-25 Joseph Myers <joseph@codesourcery.com>
1850
2ed8cda2
JM
1851 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1852 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1853 -DIS_IN_build.
1854
35d76d59
JM
1855 * timezone/README: Update upstream location and email address for
1856 tzcode and tzdata.
1857 * timezone/zdump.c: Update from tzcode 2012b.
1858 * timezone/zic.c: Likewise.
1859
a3cc4f48
JM
1860 * configure.in (libc_cv_as_needed): Remove test.
1861 * configure: Regenerated.
1862 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1863 conditional definition.
1864 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1865 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1866 * config.make.in (have-as-needed): Remove variable.
1867
ceab42c3
SP
18682012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1869 Paul Pluzhnikov <ppluzhnikov@google.com>
1870
1871 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1872 strings correctly.
1873
3ce2865f
CLT
18742012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1875
1876 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1877 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1878 * sysdeps/sh/strlen.S: Likewise.
1879
f37e0d68
JM
18802012-04-24 Joseph Myers <joseph@codesourcery.com>
1881
ae186e9a
JM
1882 * sysdeps/unix/fork.S: Remove file.
1883 * sysdeps/unix/i386/fork.S: Likewise.
1884 * sysdeps/unix/sparc/fork.S: Likewise.
1885
b96914af
JM
1886 * sysdeps/unix/system.c: Remove file.
1887 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1888
f37e0d68
JM
1889 * sysdeps/unix/getegid.S: Remove file.
1890 * sysdeps/unix/geteuid.S: Likewise.
1891
87ef29ca
RM
18922012-04-24 Roland McGrath <roland@hack.frob.com>
1893
83bcd236
RM
1894 * scripts/check-localplt.awk: New file.
1895 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1896 of diff.
1897 * scripts/data/localplt-generic.data: Add a comment.
1898
87ef29ca
RM
1899 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1900 NODE when __dir_mkfile failed.
1901 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1902 Reported by Ludovic Courtès <ludo@gnu.org>.
1903
e5a6e567
AJ
19042012-04-24 Andreas Jaeger <aj@suse.de>
1905
1906 * Makerules (common-clean): Also remove gen-as-const-headers
1907 files.
1908
c1820385
JM
19092012-04-24 Joseph Myers <joseph@codesourcery.com>
1910
1911 * Makerules (native-compile): Do not change working directory for
1912 build. Use $(OUTPUT_OPTION) in command.
1913 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1914
94e02fc4
AZ
19152012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1916
1917 [BZ #13886]
1918 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1919 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1920 * math/libm-test.inc (floor_test): Add more tests.
1921 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1922
3a533ca3
JM
19232012-04-24 Joseph Myers <joseph@codesourcery.com>
1924
940ab4b3
JM
1925 * sysdeps/unix/getdents.c: Remove file.
1926 * sysdeps/unix/sysv/getdents.c: Likewise.
1927 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1928
90e037bd
JM
1929 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1930 sysdeps/unix/mman/syscalls.list.
1931 (mmap): Likewise.
1932 (mprotect): Likewise.
1933 (msync): Likewise.
1934 (munmap): Likewise.
1935 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1936 * sysdeps/unix/mman/syscalls.list: Remove.
1937 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1938
3a533ca3
JM
1939 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1940 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1941 * configure: Regenerated.
1942 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1943 $(libgcc_s_suffix).
1944 * config.make.in (libgcc_s_suffix): Remove variable.
1945
1ad743de
JM
19462012-04-23 Joseph Myers <joseph@codesourcery.com>
1947
4ad451e2
JM
1948 * sysdeps/unix/sysv/gethostname.c: Move to ...
1949 * sysdeps/posix/gethostname.c: ... here.
1950
5e37ce39
JM
1951 * sysdeps/unix/execve.S: Remove file.
1952
1ad743de
JM
1953 * sysdeps/unix/_exit.S: Remove file.
1954
4e681b5b
AJ
19552012-04-23 Andreas Jaeger <aj@suse.de>
1956
1957 [BZ #13739]
1958 * manual/Makefile: Remove make dist support, there's no
1959 need for a stand-alone documentation tar ball.
1960 (TEXI2DVI): Define always, it's not in Makeconfig.
1961 (dist): Removed.
1962 (tar-it): Removed.
1963 (edition): Removed.
1964 (glibc-doc-$(edition).tar): Removed
1965 (%.Z): Removed.
1966 (%.gz): Removed.
1967 (%.uu): Removed.
1968 (ETAGS): Remove, it's in Makeconfig.
1969 (move-if-change): Remove, it's in Makeconfig.
1970
c0baea34
PE
19712013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1972
1973 [BZ #13970]
1974 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1975 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1976 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1977 (strtod_l, strtof_l, strtold_l): Remove __wur.
1978 It is not necessarily an error to ignore strtol's return value.
1979 One can reliably look at the stored endptr to decide whether
1980 the number had valid syntax.
1981
7c0616fa
AJ
19822012-04-21 Andreas Jaeger <aj@suse.de>
1983
803cb6b7 1984 [BZ #13739]
7c0616fa
AJ
1985 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1986
b0fe253f
JM
19872012-04-21 Joseph Myers <joseph@codesourcery.com>
1988
1989 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1990 * sysdeps/unix/sysv/Versions: Remove file.
1991
8280f22d
MT
19922012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1993
1994 [BZ #13927]
1995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1996
75ce411f 19972012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1998
1999 [BZ #7064]
2000 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2001 version from __vm86.
2002
097d59fa
JM
20032012-04-20 Joseph Myers <joseph@codesourcery.com>
2004
a90f3bcb
JM
2005 * sysdeps/unix/common/lxstat.c: Remove file.
2006 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2007
edc7ea78
JM
2008 * sysdeps/unix/sysv/Makefile: Remove file.
2009
cb78c221
JM
2010 * sysdeps/unix/sysv/direct.h: Remove file.
2011
efa6a45f
JM
2012 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2013 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2014 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2015 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2016 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2017 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2018 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2019
9c9f2d0c
JM
2020 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2021
4541c83b
JM
2022 * sysdeps/unix/xmknod.c: Remove file.
2023 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2024
f5d153a0
JM
2025 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2026
aa746595
JM
2027 * sysdeps/unix/sysv/i386/time.S: Remove file.
2028
cce5905e
JM
2029 * sysdeps/unix/fxstat.c: Remove file.
2030 * sysdeps/unix/xstat.c: Likewise.
2031 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2032
37fa3841
JM
2033 * sysdeps/unix/sysv/sigaction.c: Remove file.
2034
ff1962a3
JM
2035 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2036 (sysdep_headers): Remove variable.
2037 [termio.h not in sysdep_headers] (generated): Likewise.
2038 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2039 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2040 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2041 * sysdeps/unix/sysv/tcflow.c: Likewise.
2042 * sysdeps/unix/sysv/tcflush.c: Likewise.
2043 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2044 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2045 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2046 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2047 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2048
e7740d31
JM
2049 * sysdeps/unix/siglist.c: Remove file.
2050
ee06f18b
JM
2051 * sysdeps/unix/getppid.S: Remove file.
2052
097d59fa
JM
2053 * sysdeps/unix/mkdir.c: Remove file.
2054 * sysdeps/unix/rmdir.c: Likewise.
2055
ff3d51ec
AS
20562012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2057
2058 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2059 ERR_MAX value.
2060 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2061 errlist-compat value.
2062
50f81fd7
DM
20632012-04-18 David S. Miller <davem@davemloft.net>
2064
2065 * sysdeps/generic/memcopy.h (reg_char): Delete.
2066 * debug/strcat_chk.c: Use char, not reg_char.
2067 * debug/strcpy_chk.c: Likewise.
2068 * debug/strncat_chk.c: Likewise.
2069 * debug/strncpy_chk.c: Likewise.
2070 * string/memchr.c: Likewise.
2071 * string/memrchr.c: Likewise.
2072 * string/rawmemchr.c: Likewise.
2073 * string/strcat.c: Likewise.
2074 * string/strchr.c: Likewise.
2075 * string/strchrnul.c: Likewise.
2076 * string/strcmp.c: Likewise.
2077 * string/strcpy.c: Likewise.
2078 * string/strncat.c: Likewise.
2079 * string/strncmp.c: Likewise.
2080 * string/strncpy.c: Likewise.
2081
8ff41c46
WS
20822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2083
2084 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2085 __builtin_memcopy is called when src and dest ranges are known to not
2086 overlap.
2087
6b652f46
WS
20882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2089
2090 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2091 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2092 fwd_align_merge macro call.
2093 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2094 bwd_align_merge macro call.
2095 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2096
b282631e
WS
20972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2098
2099 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2100 bwd_align_merge macros.
2101 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2102 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2103 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2104
95aa737c
DM
21052012-04-18 David S. Miller <davem@davemloft.net>
2106
2107 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2108
7a99a614
AJ
21092012-04-18 Andreas Jaeger <aj@suse.de>
2110
2111 [BZ# 6794]
2112 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2113 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2114 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2115
2116 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2117 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2118 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2119
2120 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2121 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2122 Adjust for changed ldbl-128 files.
2123
2124 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2125 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2126 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2127
e5270c23
DM
21282012-04-17 David S. Miller <davem@davemloft.net>
2129
2130 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2131
fb5e92c9
AS
21322012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2133
2134 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2135 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2136 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2137 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2138 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2139 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2140
76da7265
AZ
21412012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2142
2143 [BZ #6794]
2144 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2145 * math/libm-test.inc: Add ilogb errno and exception tests.
2146 * math/w_ilogb.c: New file: ilogb wrapper.
2147 * math/w_ilogbf.c: New file: ilogbf wrapper.
2148 * math/w_ilogbl.c: New file: ilogbl wrapper.
2149 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2150 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2151 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2152 exception being thrown with 0.0 as argument.
2153 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2154 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2155 exception being thrown with 0.0 as argument.
2156 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2157 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2158 exception being thrown with 0.0 as argument.
2159 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2160 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2161 exception being thrown with 0.0 as argument.
2162 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2163 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2164 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2165 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2166 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2167 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2168 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2169 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2170 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2171
0396e69d
PB
21722012-04-17 Petr Baudis <pasky@ucw.cz>
2173
2174 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2175 with altivec.
2176
750b5926
MP
21772012-04-16 Marek Polacek <polacek@redhat.com>
2178
2179 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2180
751728a1
MP
21812012-04-16 Marek Polacek <polacek@redhat.com>
2182
2183 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2184 operands of fdivp instruction.
2185
34a27407
L
21862012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2187
2188 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2189 * elf/tst-auditmod3b.c: Likewise.
2190 * elf/tst-auditmod4b.c: Likewise.
2191 * elf/tst-auditmod5b.c: Likewise.
2192 * elf/tst-auditmod6b.c: Likewise.
2193 * elf/tst-auditmod6c.c: Likewise.
2194 * elf/tst-auditmod7b.c: Likewise.
2195 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2196 * sysdeps/x86_64/preconfigure.in: Likewise.
2197 * sysdeps/x86_64/preconfigure: Regenerated.
2198
7e73e17d
L
21992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2200
2201 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2202 __ILP32__.
2203
c7a6ab72
AB
22042012-04-13 Antoine Balestrat <merkil33@gmail.com>
2205
2206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2207 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2208
a9e8e0e0
CL
22092012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2210
2211 [BZ #13973]
2212 * locale/iso-639.def: Fix gl language name. Spotted by
2213 Yaron Shahrabani.
2214
ec98af7d
RM
22152012-04-12 Roland McGrath <roland@hack.frob.com>
2216
2217 [BZ #2074]
2218 * libio/libio.h (__io_write_fn): Update comment.
2219
247c3ede
PB
22202012-04-12 Petr Baudis <pasky@ucw.cz>
2221
2222 [BZ #2074]
2223 * stdio.texi (Hook Functions): The user provided writer function
2224 is not allowed to return -1.
2225
55939d6d
DM
22262012-04-11 David S. Miller <davem@davemloft.net>
2227
2228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2229
90020f5a
MF
22302012-04-11 Mike Frysinger <vapier@gentoo.org>
2231
2232 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2233 Add a leading slash to rtkaio.
2234
288f9098
JM
22352012-04-11 Jim Meyering <meyering@redhat.com>
2236
90020f5a
MF
2237 [BZ #11959]
2238 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2239 It is not necessarily an error to ignore fwrite's return
2240 value. One can reliably use ferror to test for errors after
2241 the fact.
288f9098 2242
4be2b570
L
22432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2244
2245 * bits/types.h (__snseconds_t): New type.
2246 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2247
2248 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2250 (__SNSECONDS_T_TYPE): Likewise.
2251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2252 (__SNSECONDS_T_TYPE): Likewise.
2253 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2254 (__SNSECONDS_T_TYPE): Likewise.
2255
288f9098 22562012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2257
2258 [BZ #2636]
2259 * manual/time.texi (Processor Time): Return type of times is
2260 elapsed real time since an arbitrary point in the past.
2261 (CPU Time): Move CLK_TCK from here...
2262 (Processor Time): ...to here. Correct description.
2263 * manual/conf.texi (Constants for Sysconf): Correct description of
2264 _SC_CLK_TCK.
2265
d7dd4413
DM
22662012-04-10 David S. Miller <davem@davemloft.net>
2267
2268 [BZ #13967]
2269 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2270 where the is a gap between DT_REL(A) and DT_JMPREL.
2271
b46068fc
L
22722012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2273
2274 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2275 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2276 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2277
73d65cc3
SP
22782012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2279
2280 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2281 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2282 (dl_main): Handle --inhibit-cache.
2283 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2284 _dl_inhibit_cache.
2285 * elf/dl-load.c (_dl_map_object): Use it.
2286 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2287
bcc8d661
JM
22882012-04-09 Joseph Myers <joseph@codesourcery.com>
2289
8f9a2fae
JM
2290 [BZ #13872]
2291 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2292 (__ieee754_powl): Saturate large exponents rather than testing for
2293 overflow of y*log2(x).
2294 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2295 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2296 exceptions.
2297
bcc8d661
JM
2298 [BZ #11521]
2299 * math/s_ctan.c: Include <float.h>.
2300 (__ctan): Avoid internal overflow or cancellation in calculating
2301 denominator.
2302 * math/s_ctanf.c: Likewise.
2303 * math/s_ctanl.c: Likewise.
2304 * math/s_ctanh.c: Likewise.
2305 * math/s_ctanhf.c: Likewise.
2306 * math/s_ctanhl.c: Likewise.
2307 * math/libm-test.inc (ctan_test): Add more tests.
2308 (ctanh_test): Likewise.
2309 * sysdeps/i386/fpu/libm-test-ulps: Update.
2310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2311
823fbbb4
AJ
23122012-04-09 Andreas Jaeger <aj@suse.de>
2313
03879793
AJ
2314 [BZ #6894]
2315 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2316 is an optional BSD extension.
2317
823fbbb4
AJ
2318 [BZ #10254]
2319 * manual/stdio.texi (Opening Streams): Document additional fopen
2320 parameters.
2321
8de131cb
RM
23222012-04-09 Roland McGrath <roland@hack.frob.com>
2323
2324 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2325 %eax without telling the compiler.
2326
c0ed9d7d
CD
23272012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2328
2329 [BZ # 13963]
2330 * manual/install.texi: Use sourceware.org.
2331
c483f6b4
JM
23322012-04-09 Joseph Myers <joseph@codesourcery.com>
2333
d7dd9453
JM
2334 [BZ #13873]
2335 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2336 (__ieee754_pow): Generate overflow and underflow using huge*huge
2337 and tiny*tiny rather than just returning constant infinity or zero
2338 for large exponents.
2339 * math/libm-test.inc (pow_test): Require overflow exceptions for
2340 applicable cases of large exponents.
2341
c483f6b4
JM
2342 [BZ #706]
2343 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2344 (__ieee754_pow): Use iterative multiplication algorithm only for
2345 integer exponents with absolute value below 1024. Check for odd
2346 integer exponents when using algorithm for real exponents.
2347 * math/libm-test.inc (pow_test): Add more tests.
2348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2349
d2de7579
JM
23502012-04-08 Joseph Myers <joseph@codesourcery.com>
2351
2352 [BZ #13705]
2353 * math/libm-test.inc (exp_test): Do not allow overflow exception
2354 on underflow test.
2355
f77f1232
AJ
23562012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2357
2358 [BZ #13705]
2359 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2360 instead of __kernel_standard_f.
2361
3884932b
MF
23622012-04-08 Mike Frysinger <vapier@gentoo.org>
2363
2364 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2365 * sysdeps/x86_64/memset_chk.S: Likewise.
2366
54472e9c
AJ
23672012-04-08 Andreas Jaeger <aj@suse.de>
2368
6ab0fbfc
AJ
2369 [BZ #10153]
2370 * manual/startup.texi (Environment Access): Describe return value
2371 for putenv and setenv.
2372
61efba8c
AJ
2373 [BZ #6895]
2374 * manual/filesys.texi (Directory Entries): Add description for
2375 DT_LNK.
2376
95c3f29a
AJ
2377 [BZ #6890]
2378 * manual/filesys.texi (Directory Entries): Clarify that it's file
2379 system not operating system in the description of DT_UNKNOWN.
2380
54472e9c
AJ
2381 [BZ #6578]
2382 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2383
624254b1
SC
23842012-04-08 Stephen Compall <s11@member.fsf.org>
2385
2386 [BZ #6649]
2387 * manual/llio.texi (Opening and Closing Files): Add cross
2388 reference to explain mode argument.
2389
1e4920e0
MF
23902012-04-07 Mike Frysinger <vapier@gentoo.org>
2391
2392 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2393 * sysdeps/x86_64/memset_chk.S: Likewise.
2394
5ed848f3
DM
23952012-04-07 David S. Miller <davem@davemloft.net>
2396
2397 * elf/elf.h (R_SPARC_WDISP10): Define.
2398 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2399 R_SPARC_SIZE32.
2400 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2401 R_SPARC_SIZE64 and R_SPARC_H34.
2402
96154cd8
CD
24032012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2404
2405 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2406 conditions and remove no longer applicable assertion.
2407
9904dc47
L
24082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2409
2410 * bits/byteswap.h: Include <features.h>.
2411 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2412 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2413
f8887d0a
L
24142012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2415
2416 * bits/byteswap.h (__bswap_16): Removed.
2417 Include <bits/byteswap-16.h> to get __bswap_16.
2418 * sysdeps/i386/bits/byteswap.h: Likewise.
2419 * sysdeps/s390/bits/byteswap.h: Likewise.
2420 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2421 * bits/byteswap-16.h: New file.
2422 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2423 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2424 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2425 * string/Makefile (headers): Add bits/byteswap-16.h.
2426
62470f60
PP
24272012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2428
2429 [BZ #13895]
2430 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2431 extra indirection.
2432 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2433 * nss/tst-nss-static.c: New.
2434
4dad7bab
RM
24352012-04-06 Robert Millan <rmh@gnu.org>
2436
2437 [BZ #6486]
2438 * manual/llio.texi (File Position Primitive): lseek
2439 refers to WHENCE when it really means OFFSET.
2440
e9142a17
AJ
24412012-04-06 Andreas Jaeger <aj@suse.de>
2442
2c040eff
AJ
2443 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2444 strncmp declarations.
2445
e9142a17
AJ
2446 * abilist/libc.abilist: Add __poll and __ppoll.
2447
ff9f1c5f
DM
24482012-04-05 David S. Miller <davem@davemloft.net>
2449
dcd2ae90
DM
2450 * scripts/check-local-headers.sh: Accept a host triplet in the
2451 path matched by the exclude regexp.
2452
993eb054
DM
2453 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2454 definition.
2455 * sysdeps/powerpc/powerpc32/dl-machine.h
2456 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2457 * sysdeps/s390/s390-32/dl-machine.h
2458 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2459 * sysdeps/sparc/sparc32/dl-machine.h
2460 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2461 * sysdeps/sparc/sparc64/dl-machine.h
2462 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2463
ff9f1c5f
DM
2464 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2465 lazy binding.
48e2e132 2466 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2467 undefined symbol errors.
2468
48e2e132 2469 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2470 DT_NEEDED entries.
2471
e80d6f94
MM
24722012-04-05 Michael Matz <matz@suse.de>
2473
2474 [BZ #13592]
2475 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2476
349fa79f
AJ
24772012-04-05 Andreas Jaeger <aj@suse.de>
2478
2479 [BZ #13908]
2480 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2481 comment.
2482
f402708f
KK
24832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2484
2485 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2486 which ROUND is no valid rounding mode.
2487
2ecccfc9
KK
24882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2489
2490 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2491 read again.
2492 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2493
8a53f50f
KK
24942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2495
2496 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2497 an exception using FPU order intentionally.
2498
24992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2500
2501 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2502 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2503 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2504 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2505
d653abb7
SJ
25062012-04-05 Simon Josefsson <simon@josefsson.org>
2507
2508 [BZ #12340]
2509 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2510 EINVAL when BUFLEN is too smal.
2511
c3b1bf7d
TS
25122012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2513
2514 [BZ #13553]
2515 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2516 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2517
b1aa60f3
AJ
25182012-04-03 Andreas Jaeger <aj@suse.de>
2519
c3b1bf7d 2520 [BZ #13938]
67f60a26
AJ
2521 * manual/setjmp.texi (System V contexts): Fix sentence.
2522
b1aa60f3
AJ
2523 [BZ #13926]
2524 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2525 New macro for this case.
2526 [!__GNUC__] (__bswap_64): New inline function for this case.
2527 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2528 * bits/byteswap.h: Likewise.
2529 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2530 ull, guard with __GLIBC_HAVE_LONG_LONG.
2531
2532 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2533 __GLIBC_HAVE_LONG_LONG.
2534
2535 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2536 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2537
39c59c35
TMQMF
25382012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2539
2540 [BZ #13691]
2541 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2542 inptr and inend, rather than using last_ch.
2543
135ffda8
DM
25442012-04-02 David S. Miller <davem@davemloft.net>
2545
2546 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2547 * stdio-common/printf-parse.h (read_int): Change return type to
2548 'int', return -1 on INT_MAX overflow.
2549 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2550 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2551 overflows INT_MAX. Check for overflow of in-format-string precision
2552 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2553 SIZE_MAX not INT_MAX for integer overflow test.
2554 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2555 skip the construct in the format string but do not record anything.
2556 * stdio-common/bug22.c: Adjust to test both width/prevision
2557 INT_MAX overflow as well as total length INT_MAX overflow. Check
2558 explicitly for proper errno values.
2559
228c019e
TS
25602012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2561
302cadd3
TS
2562 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2563 CHAR_MAX.
2564 * string/test-strcmp.c [! WIDE]: Likewise.
2565 * time/tst-mktime2.c: Likewise for INT_MAX.
2566 * string/test-string.h: #include <sys/param.h> for MIN.
2567
228c019e
TS
2568 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2569 * sysdeps/i386/init-first.c (init): Likewise.
2570 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2571 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2572 * sysdeps/sh/init-first.c (init): Likewise.
2573
cfa633f5
UD
25742012-04-01 Ulrich Drepper <drepper@gmail.com>
2575
2576 * po/ru.po: Update from translation team.
d1635ef8 2577 * po/vi.po: Likewise.
cfa633f5 2578
6cd0a5ea
SP
25792012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2580
2581 * resolv/nss_dns/dns-host.c: Merge copyright years.
2582
4b43400f
LD
25832012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2584
2585 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2586 Optimize memcpy with prefetch if
2587 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2588 src, dst pointers have unequal 16 byte alignments.
2589
48c41d04
SP
25902012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2591
2592 [BZ #13928]
2593 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2594 from a CNAME entry and return the minimum ttl for the query.
2595 (gaih_getanswer_slice): Likewise.
2596
b8dc394d
JL
25972012-03-30 Jeff Law <law@redhat.com>
2598
2599 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2600 due to long keys.
2601 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2602 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2603
2f5a5ed0
JL
2604 * resolv/nss_dns/dns-host.c: Update copyright year.
2605
1d39e359
UD
26062012-03-30 Ulrich Drepper <drepper@gmail.com>
2607
c030f70c 2608 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2609 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2610
1d39e359
UD
2611 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2612 comments for sendmmsg.
2613
26142012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2615
2616 [BZ #13691]
2617 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2618 with only 1 character between 0x0041 and 0x01b0.
2619 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2620 * wcsmbs/tst-mbsnrtowcs.c: New file.
2621
20fde227
DM
26222012-03-29 David S. Miller <davem@davemloft.net>
2623
2624 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2625 small copies by hand.
2626
984a4237
JL
26272012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2628
2629 [BZ #13761]
2630 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2631 _nss_compat_initgroups_dyn): Fall back to malloc/free
2632 for large group memberships.
2633
18c9d62b
DM
26342012-03-28 David S. Miller <davem@davemloft.net>
2635
88d85d4f
DM
2636 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2637 that branches into memcpy.
2638 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2639 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2640 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2641 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2642 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2643 bits.
2644 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2645 implementation too.
2646 * sysdeps/sparc/mempcpy.S: New file.
2647
e5aa83e1
DM
2648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2649 the IFUNC routine in the libc case.
2650 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2651
88570753
DM
2652 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2653 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2654 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2655 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2656 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2657 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2658 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2659 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2660
249d7567
DM
2661 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2662 loop to 256 bytes instead of 64 bytes and fix test signedness.
2663
18c9d62b
DM
2664 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2665 * sysdeps/sparc/sparc32/Makefile: rather than here...
2666 * sysdeps/sparc/sparc64/Makefile: and here.
2667
05f3d1f6
UD
26682012-03-28 Ulrich Drepper <drepper@gmail.com>
2669
2670 * malloc/mallocbug.c: Avoid warnings about unused variables.
2671
86ae07a8
JL
26722012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2673
2674 [BZ #13760]
2675 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2676 in the right place. Discard and retry query if response is
2677 larger than input buffer size.
2678
41bf21a1
JM
26792012-03-28 Joseph Myers <joseph@codesourcery.com>
2680
d6270972
JM
2681 [BZ #369]
2682 [BZ #2678]
2683 [BZ #3866]
2684 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2685 x for large integer exponent.
2686 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2687 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2688 sign of result as needed afterwards.
2689 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2690 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2691 result for underflowing pow the same as for overflow.
2692 (__kernel_standard_l): Handle powl overflow and underflow here
2693 rather than calling __kernel_standard.
2694 * math/libm-test.inc (pow_test): Add more tests.
2695
414fca03 2696 [BZ #3868]
41bf21a1
JM
2697 [BZ #13879]
2698 [BZ #13910]
2699 [BZ #13911]
2700 [BZ #13912]
2701 [BZ #13913]
2702 [BZ #13915]
2703 [BZ #13916]
2704 [BZ #13917]
2705 [BZ #13918]
2706 [BZ #13919]
2707 [BZ #13920]
2708 [BZ #13921]
2709 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2710 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2711 (__kernel_standard_l): New function.
2712 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2713 __kernel_standard.
2714 * math/w_acosl.c (__acosl): Likewise.
2715 * math/w_asinl.c (__asinl): Likewise.
2716 * math/w_atan2l.c (__atan2l): Likewise.
2717 * math/w_atanhl.c (__atanhl): Likewise.
2718 * math/w_coshl.c (__coshl): Likewise.
2719 * math/w_exp10l.c (__exp10l): Likewise.
2720 * math/w_exp2l.c (__exp2l): Likewise.
2721 * math/w_fmodl.c (__fmodl): Likewise.
2722 * math/w_hypotl.c (__hypotl): Likewise.
2723 * math/w_j0l.c (__j0l, __y0l): Likewise.
2724 * math/w_j1l.c (__j1l, __y1l): Likewise.
2725 * math/w_jnl.c (__jnl, __ynl): Likewise.
2726 * math/w_lgammal.c (__lgammal): Likewise.
2727 * math/w_log10l.c (__log10l): Likewise.
2728 * math/w_log2l.c (__log2l): Likewise.
2729 * math/w_logl.c (__logl): Likewise.
2730 * math/w_powl.c (__powl): Likewise.
2731 * math/w_remainderl.c (__remainderl): Likewise.
2732 * math/w_scalbl.c (sysv_scalbl): Likewise.
2733 * math/w_sinhl.c (__sinhl): Likewise.
2734 * math/w_sqrtl.c (__sqrtl): Likewise.
2735 * math/w_tgammal.c (__tgammal): Likewise.
2736 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2737 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2738 * math/libm-test.inc (acos_test): Add more tests.
2739 (acosh_test): Likewise.
2740 (asin_test): Likewise.
2741 (atanh_test): Likewise.
2742 (exp_test): Likewise.
2743 (exp10_test): Likewise.
2744 (exp2_test): Likewise.
2745 (expm1_test): Likewise.
2746 (lgamma_test): Likewise.
2747 (log_test): Likewise.
2748 (log10_test): Likewise.
2749 (log1p_test): Likewise.
2750 (log2_test): Likewise.
2751 (pow_test): Do not allow some spurious overflow exceptions.
2752 (sqrt_test): Add more tests.
2753 (tgamma_test): Likewise.
2754 (y0_test): Likewise.
2755 (y1_test): Likewise.
2756 (yn_test): Likewise.
2757
dd62fda6
AB
27582012-03-27 Anton Blanchard <anton@samba.org>
2759
2760 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2761 MAP_HUGETLB.
2762 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2763 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2764 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2765
1e3cdfda
AJ
27662012-03-27 David S. Miller <davem@davemloft.net>
2767
b855ab85
DM
2768 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2769
1e3cdfda
AJ
2770 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2771 have-as-vis3 check.
2772
27732012-03-27 Andreas Jaeger <aj@suse.de>
2774
2775 * sysdeps/x86_64/elf/configure.in: Moved to ...
2776 * sysdeps/x86_64/configure.in: ... here.
2777 * sysdeps/x86_64/elf/start.S: Moved to ...
2778 * sysdeps/x86_64/start.S: ... here.
2779 * sysdeps/x86_64/elf/configure: Delete.
2780
2781 * sysdeps/x86_64/configure.in: Merge contents from
2782 sysdeps/i386/configure.in (without i686 check).
2783
2784 * sysdeps/i386/elf/Versions: Merge into ...
2785 * sysdeps/i386/Versions: ... this.
2786 * sysdeps/i386/elf/Versions: Delete file.
2787 * sysdeps/i386/elf/start.S: Moved to ...
2788 * sysdeps/i386/start.S: ...here.
2789 * sysdeps/i386/elf/configure.in: Merge into...
2790 * sysdeps/i386/configure.in: ...here.
2791 * sysdeps/i386/elf/configure.in: Delete file.
2792 * sysdeps/i386/elf/configure: Delete file.
2793
2794 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2795 * debug/backtracesyms.c: ... here.
2796 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2797 * debug/backtracesymsfd.c: ... here.
2798 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2799 * sysdeps/generic/ifunc-sel.h: ... here.
2800
2801 * sysdeps/unix/i386/start.c: Delete file.
2802 * sysdeps/unix/sparc/start.c: Delete file.
2803 * sysdeps/unix/start.c: Delete file.
2804
2805 * sysdeps/sh/elf/configure.in: Moved to ...
2806 * sysdeps/sh/configure.in: ... here.
2807 * sysdeps/sh/elf/start.S: Moved to ...
2808 * sysdeps/sh/start.S: ... here.
2809 * sysdeps/sh/elf/configure: Delete file.
2810
2811 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2812 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2813 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2814 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2815 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2816 * sysdeps/powerpc/powerpc64/start.S: here.
2817 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2818 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2819 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2820 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2821 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2822
2823 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2824 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2825 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2826 * sysdeps/powerpc/powerpc32/start.S: ... here.
2827 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2828 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2829 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2830
2831 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2832 * sysdeps/powerpc/ifunc-sel.h: ... here.
2833 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2834 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2835
2836 * sysdeps/sparc/elf/configure.in: Moved to ...
2837 * sysdeps/sparc/configure.in: ... here.
2838 * sysdeps/sparc/elf/configure: Delete file.
2839 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2840 * sysdeps/sparc/sparc32/start.S: ... here.
2841 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2842 * sysdeps/sparc/sparc64/start.S: ... here.
2843 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2844 * sysdeps/sparc/sparc32/Makefile: ... this.
2845 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2846 * sysdeps/sparc/sparc64/Makefile: ... this.
2847
2848 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2849 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2850 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2851 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2852 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2853 * sysdeps/s390/s390-32/setjmp.S: ... here.
2854 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2855 * sysdeps/s390/s390-32/configure.in: ... here.
2856 * sysdeps/s390/s390-32/elf/configure: Delete file.
2857 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2858 * sysdeps/s390/s390-32/start.S: ... here.
2859
2860 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2861 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2862 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2863 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2864 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2865 * sysdeps/s390/s390-64/setjmp.S: ... here.
2866 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2867 * sysdeps/s390/s390-64/configure.in: ... here
2868 * sysdeps/s390/s390-64/elf/configure: Delete file.
2869 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2870 * sysdeps/s390/s390-64/start.S: ... here.
2871 * sysdeps/s390/s390-64/elf/configure: Delete.
2872
2873 * configure.in: Remove support for elf directories in sysdeps.
2874
2875 * configure: Regenerated.
2876 * sysdeps/i386/configure: Regenerated.
2877 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2878 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2879 * sysdeps/s390/s390-32/configure: Regenerated.
2880 * sysdeps/s390/s390-64/configure: Regenerated.
2881 * sysdeps/sh/configure: Regenerated.
2882 * sysdeps/sparc/configure: Regenerated.
2883 * sysdeps/x86_64/configure: Regenerated.
2884
a3f61311
AS
28852012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2886
c876e002
AS
2887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2888
a3f61311
AS
2889 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2890 denormal result into account.
2891
ac4c54f0
RM
28922012-03-25 Roland McGrath <roland@hack.frob.com>
2893
2894 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2895 Reported by Allan McRae <allan@archlinux.org>.
2896
6a9b9c02
JL
28972012-03-23 Jeff Law <law@redhat.com>
2898
2899 * nss/getnssent.c (__nss_getent): Fix typo.
2900
4c42a0c1
DM
29012012-03-23 David S. Miller <davem@davemloft.net>
2902
2903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2904
1532c7ac
L
29052012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2906
2907 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2908 to pad to uint64_t for each field.
2909 (dl_tls_index): Replace unsigned long with uint64_t.
2910
3ff42526
PP
29112012-03-23 Daniel Jacobowitz <dmj@google.com>
2912 Paul Pluzhnikov <ppluzhnikov@google.com>
2913
2914 [BZ #6528]
2915 * grp/Makefile (otherlibs): Don't set it.
2916 * inet/Makefile (otherlibs): Likewise.
2917 * login/Makefile (otherlibs): Likewise.
2918 * nscd/Makefile (otherlibs): Likewise.
2919 * posix/Makefile (otherlibs): Likewise.
2920 * pwd/Makefile (otherlibs): Likewise.
2921 * rt/Makefile (otherlibs): Likewise.
2922 * sunrpc/Makefile (otherlibs): Likewise.
2923 * nss/Makefile (otherlibs): Likewise.
2924 Add libnss_files to routines and static-only-routines.
2925 ($(objpfx)getent): Remove rule.
2926 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2927 static-only-routines.
2928
7c69cd14
JM
29292012-03-22 Joseph Myers <joseph@codesourcery.com>
2930
2931 [BZ #13892]
2932 * math/s_cexp.c: Include <float.h>.
2933 (__cexp): Handle exp result overflowing not necessarily
2934 overflowing both real and imaginary parts of result.
2935 * math/s_cexpf.c: Likewise.
2936 * math/s_cexpl.c: Likewise.
2937 * math/libm-test.inc (cexp_test): Add more tests.
2938 * sysdeps/i386/fpu/libm-test-ulps: Update.
2939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2940
81b035fe
L
29412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2942
2943 * include/link.h (ELFW): New macro.
2944 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2945 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2946
1da7940c
L
29472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2948
2949 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2950 with uint64_t.
2951
b749dbb9
L
29522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2953
2954 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2955 declaration.
2956 (struct La_x32_retval): Likewise.
2957
2ff87f3f
L
29582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2959
2960 * sysdeps/x86_64/preconfigure.in: New file.
2961 * sysdeps/x86_64/preconfigure: New generated file.
2962
c0df8e69
JM
29632012-03-22 Joseph Myers <joseph@codesourcery.com>
2964
48e44791
JM
2965 [BZ #13824]
2966 * math/e_exp2l.c: Include <float.h>.
2967 (__ieee754_exp2l): Handle overflow and underflow cases
2968 separately. Only pass fractional part of argument to
2969 __ieee754_expl.
2970 * math/libm-test.inc (exp2_test): Add more tests.
2971
c0df8e69
JM
2972 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2973 negating x to take absolute value.
2974 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2975 Likewise.
2976 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2977 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2978 Likewise.
2979 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2980 computing low part if x was negated.
2981 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2982
c8e43ba7
L
29832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2984
2985 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2986 la_x32_gnu_pltexit.
2987 (pltexit): Cast int_retval to ptrdiff_t.
2988 * elf/tst-auditmod3b.c: Likewise.
2989 * elf/tst-auditmod4b.c: Likewise.
2990 * elf/tst-auditmod5b.c: Likewise.
2991 * elf/tst-auditmod6b.c: Likewise.
2992 * elf/tst-auditmod6c.c: Likewise.
2993 * elf/tst-auditmod7b.c: Likewise.
2994
2995 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2996 and x32_gnu_pltexit.
2997
2998 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2999 __ELF_NATIVE_CLASS.
3000 (La_x32_regs): New macro.
3001 (La_x32_retval): Likewise.
3002 (la_x32_gnu_pltenter): New function prototype.
3003 (la_x32_gnu_pltexit): Likewise.
3004
7998fa78
AS
30052012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3006
dcb33988
AS
3007 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3008 exponent.
3009
233fc563
AS
3010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3011
7998fa78
AS
3012 * configure.in (libc_cv_cc_nofma): Check for option to disable
3013 generation of FMA instructions.
3014 * configure: Regenerate.
3015 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3016 * sysdeps/ieee754/dbl-64/Makefile: New file.
3017 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3018 Remove brandred-fma4.
3019 (CFLAGS-brandred-fma4.c): Remove.
3020 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3021 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3022 define.
3023 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3024 define.
3025
8e95c99a
L
30262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3029 LLONG_MAX != LONG_MAX.
3030 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3031 (_fitoa_word): Likewise.
3032 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3033 LLONG_MAX != LONG_MAX.
3034 * stdio-common/_itowa.h: Include <_itoa.h>.
3035 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3036 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3037 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3038 only if not defined.
3039 (_ITOA_WORD_TYPE): Likewise.
3040 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3041 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3042
6f4db457
DM
30432012-03-21 David S. Miller <davem@davemloft.net>
3044
3045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3046
7785fe5a
L
30472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3048
3049 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3050 of x86_64 when setting libc_cv_slibdir, libdir and
3051 libc_cv_localedir.
3052 * sysdeps/unix/sysv/linux/configure: Regenerated.
3053
4535cd55
JM
30542012-03-21 Joseph Myers <joseph@codesourcery.com>
3055
3056 * manual/lang.texi (Old Varargs): Remove section.
3057 (How Variadic): Update menu.
3058 (va_start): Do not mention varargs.h.
3059
17228132
TS
30602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3061 Joseph Myers <joseph@codesourcery.com>
3062
3063 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3064 link test.
3065 * configure: Regenerated.
3066
8149f976
TS
30672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3068
05f3d1f6
UD
3069 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3070 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3071 conformtest.pl
8149f976 3072
1a4ac776
JM
30732012-03-21 Joseph Myers <joseph@codesourcery.com>
3074
be22ce65
JM
3075 * NOTES: Remove.
3076 * Makefile (files-for-dist): Remove NOTES.
3077 (NOTES): Remove rule.
3078 * README: Don't refer to NOTES.
3079 * manual/creature.texi: Don't include macros.texi.
3080 * manual/intro.texi (creature.texi): Remove comment referring to
3081 NOTES.
3082
40b601fb
JM
3083 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3084 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3085 * configure: Regenerated.
3086 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3087 LIBC_TRY_CC_OPTION.
3088 (libc_cv_as_i686): Likewise.
3089 (libc_cv_cc_avx): Likewise.
3090 (libc_cv_cc_sse2avx): Likewise.
3091 (libc_cv_cc_fma4): Likewise.
3092 (libc_cv_cc_novzeroupper): Likewise.
3093 * sysdeps/i386/configure: Regenerated.
3094
1a4ac776
JM
3095 [BZ #13883]
3096 * sysdeps/i386/fpu/s_cexp.S: Remove.
3097 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3098 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3099 * math/libm-test.inc (cexp_test): Add more tests.
3100 * sysdeps/i386/fpu/libm-test-ulps: Update.
3101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3102
a458e7fe
AM
31032012-03-21 Allan McRae <allan@archlinux.org>
3104
3105 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3106
0cb7efc5
JM
31072012-03-21 Joseph Myers <joseph@codesourcery.com>
3108
3109 [BZ #13871]
3110 * math/w_exp2.c: Do not include <float.h>.
3111 (o_threshold, u_threshold): Remove.
3112 (__exp2): Calculate result before checking finiteness and calling
3113 __kernel_standard.
3114 * math/w_exp2f.c: Likewise.
3115 * math/w_exp2l.c: Likewise.
3116 * math/libm-test.inc (exp2_test): Require overflow exception for
3117 1e6 input.
2460d3aa
JM
3118
3119 [BZ #3866]
3120 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3121 range of signed 64-bit integers before using fistpll. Remove
3122 checks for whether integers fit in mantissa bits.
3123 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3124 the range of signed 32-bit integers before using fistpl. Remove
3125 checks for whether integers fit in mantissa bits.
3126 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3127 (__ieee754_powl): Test for y outside the range of signed 64-bit
3128 integers before using fistpll. Reduce 64-bit values to 63-bit
3129 ones as needed.
3130 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3131 divide-by-zero is raised for zero to large negative powers.
3132 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3133 (__ieee754_powl): Test for y outside the range of signed 64-bit
3134 integers before using fistpll. Reduce 64-bit values to 63-bit
3135 ones as needed.
3136 * math/libm-test.inc (pow_test): Add more tests.
3137
eb96ffb0
L
31382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3139
3140 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3141 <stdio-common/_itoa.h>.
3142 * debug/segfault.c: Likewise.
3143 * elf/dl-cache.c: Likewise.
3144 * elf/dl-minimal.c: Likewise.
3145 * elf/dl-misc.c: Likewise.
3146 * elf/dl-sysdep.c: Likewise.
3147 * elf/dl-version.c: Likewise.
3148 * elf/rtld.c: Likewise.
3149 * hurd/hurdsock.c: Likewise.
3150 * hurd/lookup-retry.c: Likewise.
3151 * malloc/malloc.c: Likewise.
3152 * malloc/mtrace.c: Likewise.
3153 * nscd/nscd_getgr_r.c: Likewise.
3154 * nscd/nscd_getpw_r.c: Likewise.
3155 * nscd/nscd_getserv_r.c: Likewise.
3156 * posix/getopt_init.c: Likewise.
3157 * posix/wordexp.c: Likewise.
3158 * stdio-common/_itoa.c: Likewise.
3159 * stdio-common/printf_fphex.c: Likewise.
3160 * stdio-common/vfprintf.c: Likewise.
3161 * string/_strerror.c: Likewise.
3162 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3163 * sysdeps/i386/i686/hp-timing.h: Likewise.
3164 * sysdeps/mach/_strerror.c: Likewise.
3165 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3166 * sysdeps/mach/hurd/sethostid.c: Likewise.
3167 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3168 * sysdeps/mach/xpg-strerror.c: Likewise.
3169 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3170 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3171 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3172 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3173 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3174 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3175 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3176 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3177 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3178 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3179 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3180 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3181 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3182 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3183 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3184 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3185 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3186 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3187 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3188 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3189 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3190
3191 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3192
3193 * stdio-common/_itoa.h: Moved to ...
3194 * sysdeps/generic/_itoa.h: Here.
3195
3196 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3197
3198 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3199 instead of "_itoa.h" and "_itowa.h".
3200 * stdio-common/vfprintf.: Likewise.
3201
d1af992d
L
32022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3203
3204 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3205 <bits/wordsize.h>.
3206 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3207 (__signbit): Likwise.
3208 (llrintf): Likwise.
3209 (llrint): Likwise.
3210
114883e0
L
32112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3212
3213 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3214 __WORDSIZE != 64.
3215
c135cc1b
JM
32162012-03-20 Joseph Myers <joseph@codesourcery.com>
3217
3218 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3219 OVERFLOW_EXCEPTION_OK.
3220 * math/libm-test.inc ("Philosophy"): Update comment about
3221 exception testing.
3222 (OVERFLOW_EXCEPTION): Define.
3223 (OVERFLOW_EXCEPTION_OK): Likewise.
3224 (INVALID_EXCEPTION_OK): Renumber.
3225 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3226 (IGNORE_ZERO_INF_SIGN): Likewise.
3227 (test_exceptions): Handle FE_OVERFLOW.
3228 (exp10_test): Expect overflow exceptions.
3229 (exp2_test): Likewise.
3230 (expm1_test): Likewise.
3231 (nextafter_test): Likewise.
3232 (pow_test): Likewise.
3233 (scalbn_test): Likewise.
3234 (scalbln_test): Likewise.
3235
95443d88
L
32362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3237
3238 * sysdeps/x86_64/bits/atomic.h
3239 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3240 64bit integer.
3241 (atomic_exchange_acq): Likewise.
3242 (__arch_exchange_and_add_body): Likewise.
3243 (__arch_add_body): Likewise.
3244 (atomic_add_negative): Likewise.
3245 (atomic_add_zero): Likewise.
3246
490df6c4
L
32472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3248
c2722551 3249 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3250 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3251
5e52b189
L
32522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3253
3254 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3255 Check __x86_64__ instead of __WORDSIZE.
3256
a9879d4c
L
32572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3258
3259 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3260
5df98260
DM
32612012-03-19 David S. Miller <davem@davemloft.net>
3262
e1497744
DM
3263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3264
5df98260
DM
3265 * sysdeps/sparc/fpu/fenv_private.h: New file.
3266 * sysdeps/sparc/fpu/math_private.h: Use it.
3267 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3268 Remove.
3269 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3270 (libc_feholdexcept_setroundl): Remove.
3271 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3272 Remove.
3273 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3274 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3275
b4c35121
L
32762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3277
3278 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3279 int64_t instead of long int.
3280 (INSERT_WORDS64): Likwise.
3281
56965fd7
L
32822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3283
3284 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3285 _Unwind_GetCFA return to _Unwind_Ptr first.
3286
83d1aec8
JM
32872012-03-19 Joseph Myers <joseph@codesourcery.com>
3288
1897ad44
JM
3289 [BZ #13629]
3290 * math/s_clog.c: Include <float.h>.
3291 (__clog): Scale large or subnormal inputs.
3292 * math/s_clogf.c: Likewise.
3293 * math/s_clogl.c: Likewise.
3294 * math/s_clog10.c: Include <float.h>.
3295 (M_LOG10_2): Define.
3296 (__clog10): Scale large or subnormal inputs.
3297 * math/s_clog10f.c: Likewise.
3298 * math/s_clog10l.c: Likewise.
3299 * math/libm-test.inc (clog_test): Add more tests.
3300 (clog10_test): Likewise.
3301 * sysdeps/i386/fpu/libm-test-ulps: Update.
3302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3303
7726d6a9
JM
3304 [BZ #11451]
3305 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3306 x and y.
3307 * math/libm-test.inc (atan2_test): Add another test.
3308
83d1aec8
JM
3309 * Makerules (common-objdir-compile): Remove.
3310 * sysdeps/unix/Makefile (config-generated): Do not add
3311 $(unix-generated) to variable.
3312 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3313 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3314 Remove rule.
3315 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3316 Likewise.
3317 [generic bits/local_lim.h] (before-compile): Do not append to
3318 variable.
3319 [generic bits/local_lim.h] (common-generated): Likewise.
3320 [generic sys/param.h] (before-compile): Do not append to variable.
3321 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3322 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3323 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3324 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3325 include.
3326 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3327 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3328 [generic sys/param.h] ($(addprefix
3329 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3330 [generic sys/param.h] (common-generated): Do not append to
3331 variable.
3332 [generic sys/param.h] (sysdep_headers): Likewise.
3333 [generic bits/errno.h] (before-compile): Do not append to
3334 variable.
3335 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3336 rule.
3337 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3338 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3339 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3340 [generic bits/errno.h] (common-generated): Do not append to
3341 variable.
3342 [generic bits/ioctls.h] (before-compile): Do not append to
3343 variable.
3344 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3345 rule.
3346 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3347 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3348 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3349 rule.
3350 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3351 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3352 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3353 [generic bits/ioctls.h] (common-generated): Do not append to
3354 variable.
3355 [generic sys/syscall.h] (syscall.h): Remove variable.
3356 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3357 rule.
3358 [generic sys/syscall.h] (before-compile): Do not append to
3359 variable.
3360 [generic sys/syscall.h] (common-generated): Likewise.
3361 * sysdeps/unix/errnos-tmpl.c: Remove file.
3362 * sysdeps/unix/errnos.awk: Likewise.
3363 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3364 * sysdeps/unix/ioctls.awk: Likewise.
3365 * sysdeps/unix/mk-local_lim.c: Likewise.
3366 * sysdeps/unix/snarf-ioctls: Likewise.
3367
4851a949
RH
33682012-03-19 Richard Henderson <rth@twiddle.net>
3369
bd37f2ee
RH
3370 * sysdeps/i386/fpu/fenv_private.h: New file.
3371 * sysdeps/i386/fpu/math_private.h: Use it.
3372 (math_opt_barrier, math_force_eval): Remove.
3373 (libc_feholdexcept_setround_53bit): Remove.
3374 (libc_feupdateenv_53bit): Remove.
3375 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3376 (math_opt_barrier, math_force_eval): Remove.
3377 (libc_feholdexcept): Remove.
3378 (libc_feholdexcept_setround): Remove.
3379 (libc_fetestexcept, libc_fesetenv): Remove.
3380 (libc_feupdateenv_test): Remove.
3381 (libc_feupdateenv, libc_feholdsetround): Remove.
3382 (libc_feresetround): Remove.
3383
d0adc922
RH
3384 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3385 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3386
0fe0f1f8
RH
3387 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3388 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3389 (libc_feupdateenv_testl): New.
3390 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3391 (libc_feupdateenv_testf): New.
3392 (libc_feupdateenv): Use libc_feupdateenv_test.
3393 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3394 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3395
eb92c487
RH
3396 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3397 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3398 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3399 (libc_feresetround_noex): New.
3400 (libc_feresetround_noexf): New.
3401 (libc_feresetround_noexl): New.
3402 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3403 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3404 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3405 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3406 SET_RESTORE_ROUND.
3407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3408 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3409 (__cos): Likewise.
3410 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3411 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3412 SET_RESTORE_ROUND_NOEX.
3413 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3414 SET_RESTORE_ROUND_NOEXF.
3415 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3416 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3417 (libc_feholdsetroundf): New.
3418 (libc_feresetround, libc_feresetroundf): New.
3419
7d2e8012
RH
3420 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3421 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3422 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3423
b4dabbb4
RH
3424 * sysdeps/generic/math_private.h: Include <fenv.h>.
3425 (default_libc_feholdexcept): New.
3426 (default_libc_feholdexcept_setround): New.
3427 (default_libc_fesetenv, default_libc_feupdateenv): New.
3428 (libc_feholdexcept): Only define if undefined.
3429 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3430 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3431 (libc_feholdexcept_setroundl): Likewise.
3432 (libc_feholdexcept_setround_53bit): Likewise.
3433 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3434 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3435 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3436 (libc_feupdateenv_53bit): Likewise.
3437 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3438 (libc_feholdexcept): Convert from macro to inline function.
3439 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3440 (libc_fesetenv, libc_feupdateenv): Likewise.
3441
4851a949
RH
3442 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3443 not previously defined.
3444 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3445 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3446 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3447 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3448 * sysdeps/ieee754/flt-32/math_private.h: New file.
3449 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3450 math_private.h below SET_FLOAT_WORD.
3451 (__isnan, __isinf_ns, __finite): Remove.
3452 (__isnanf, __isinf_nsf, __finitef): Remove.
3453
e79d442e
AS
34542012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3455
3456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3457
90b80344
DM
34582012-03-17 David S. Miller <davem@davemloft.net>
3459
3460 [BZ #6471]
3461 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3462 for 2.16.
3463
edc21804
DM
34642012-03-16 David S. Miller <davem@davemloft.net>
3465
77e927af
DM
3466 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3467 warnings.
3468
374976dd
DM
3469 [BZ #6471]
3470 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3471 properly.
3472 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3473 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3474 sysdep_routines when subdir is sysvipc.
3475 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3476 __getshmlba helper.
3477
edc21804
DM
3478 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3479
473c3ef3
L
34802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3481
3482 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3483 [__LP64__].
3484
eb0f39b6
L
34852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3486
3487 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3488 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3489 (__lround): Renamed to ...
3490 (__llround): This. Replace long int with long long int.
3491 Define lround functions as aliases of llround functions.
3492 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3493
6b6cd74b
L
34942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3495
3496 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3497 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3498 adresses to uintptr_t. Replace "long int" and "unsigned long
3499 int" with "greg_t" on va_arg.
3500
f1a77b01
L
35012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3502
3503 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3504 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3505
3506 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3507 Move e_machine check before EI_CLASS check. Handle x32
3508 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3509 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3510 SKIP_EM_IA_64 and include
3511 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3512
3513 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3514 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3515 (add_system_dir): New macro.
3516
3517 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3518 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3519
11b90b9f
JM
35202012-03-16 Joseph Myers <joseph@codesourcery.com>
3521
c36e1d23
JM
3522 [BZ #2551]
3523 [BZ #2552]
3524 [BZ #2553]
3525 [BZ #2554]
3526 [BZ #2562]
3527 [BZ #2563]
3528 [BZ #2565]
3529 [BZ #2566]
3530 [BZ #2576]
3531 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3532 (y0): Likewise.
3533 * math/w_j0f.c (j0f): Likewise.
3534 (y0f): Likewise.
3535 * math/w_j0l.c (__j0l): Likewise.
3536 (__y0l): Likewise.
3537 * math/w_j1.c (j1): Likewise.
3538 (y1): Likewise.
3539 * math/w_j1f.c (j1f): Likewise.
3540 (y1f): Likewise.
3541 * math/w_j1l.c (__j1l): Likewise.
3542 (__y1l): Likewise.
3543 * math/w_jn.c (jn): Likewise.
3544 (yn): Likewise.
3545 * math/w_jnf.c (jnf): Likewise.
3546 (ynf): Likewise.
3547 * math/w_jnl.c (__jnl): Likewise.
3548 (__ynl): Likewise.
3549 * math/libm-test.inc (j0_test): Add more tests.
3550 (j1_test): Likewise.
3551 (jn_test): Likewise. Add trailing semicolon to existing test.
3552 (y0_test): Likewise.
3553 (y1_test): Likewise.
3554 * sysdeps/i386/fpu/libm-test-ulps: Update.
3555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3556
11b90b9f
JM
3557 [BZ #13851]
3558 [BZ #13854]
3559 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3560 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3561 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3562 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3563 (__tanl): Set errno for infinite argument.
3564 * sysdeps/i386/fpu/mptan.c: Remove.
3565 * sysdeps/i386/fpu/s_tan.S: Likewise.
3566 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3567 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3568 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3569 * math/libm-test.inc (tan_test): Add more tests and enable more
3570 tests for double and long double.
3571 * sysdeps/i386/fpu/libm-test-ulps: Update.
3572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3573
6a1bd2a1
JK
35742012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3575
3576 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3577 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3578
10a803e0
RM
35792012-03-16 Roland McGrath <roland@hack.frob.com>
3580
3581 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3582 * configure.in: Use it for both main tree and add-ons.
3583 * configure: Regenerated.
3584
f196c7f7
L
35852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3586
3587 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3588
8848d99d
JM
35892012-03-16 Joseph Myers <joseph@codesourcery.com>
3590
96cbe7f4
JM
3591 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3592 in comment.
3593
8848d99d
JM
3594 [BZ #13851]
3595 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3596 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3597 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3598 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3599 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3600 infinite argument.
3601 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3603 != 0 for prec == 2.
3604 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3605 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3606 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3607 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3608 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3609 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3610 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3611 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3612 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3613 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3614 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3615 * math/libm-test.inc (cos_test): Add more tests and enable more
3616 tests for long double.
3617 (sin_test): Likewise.
3618 (sincos_test): Likewise.
3619 * sysdeps/i386/fpu/libm-test-ulps: Update.
3620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3621
dd7f4703
DM
36222012-03-16 David S. Miller <davem@davemloft.net>
3623
3624 * sysdeps/sparc/fpu/math_private.h: New file.
3625
006f1daa
DM
36262012-03-15 David S. Miller <davem@davemloft.net>
3627
c0c83bc8
DM
3628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3629 file.
e6a62e18 3630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3632 file.
e6a62e18
DM
3633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3639 sysdep routines.
3640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3641
88cb87d9
DM
3642 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3643 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3644
006f1daa 3645 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3647 sparc-ifunc.h
006f1daa 3648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3650 Likewise.
3651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3652 Likewise.
006f1daa
DM
3653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3657 Likewise.
006f1daa
DM
3658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3663 Likewise.
3664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3665 Likewise.
006f1daa
DM
3666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3672 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3673 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3675 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3685 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3688 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3689 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3690
11e0098e
AS
36912012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3692
3693 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3694 scaling.
3695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3696
e85b09d0
AJ
36972012-03-15 Andreas Jaeger <aj@suse.de>
3698
3699 [BZ #13852]
3700 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3701 ieee754/flt-32 implementation for sin, cos and sincos.
3702 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3703 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3704 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3705 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3706 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3707 ieee754/flt-32 implementation for tan.
3708
3709 * math/libm-test.inc (cos_test): Enable some large input tests for
3710 float as well
3711 (sin_test): Likewise.
3712 (sincos_test): Likewise.
3713 (tan_test): Add tests for large input.
3714
3715 * sysdeps/i386/fpu/libm-test-ulps: Update.
3716
81c64153
AJ
37172012-03-15 Andreas Jaeger <aj@suse.de>
3718
3719 [BZ #13658]
3720 * math/libm-test.inc (cos_test): Add more test cases.
3721 (sin_test): Likewise.
3722 (sincos_test): Likewise.
3723
7bbfa5c6
AJ
37242012-03-15 Andreas Jaeger <aj@suse.de>
3725
3726 [BZ #13837]
3727 * math/libm-test.inc (cos_test): Add a test case for large input
3728 value.
3729 (sin_test): Likewise.
3730 (sincos_test): Likewise.
3731
37322012-03-15 Andreas Jaeger <aj@suse.de>,
3733 Joseph Myers <joseph@codesourcery.com>
3734
3735 [BZ #13658]
0671f479 3736 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3737 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3738 * sysdeps/i386/fpu/branred.c: Likewise.
3739 * sysdeps/i386/fpu/dosincos.c: Likewise.
3740 * sysdeps/i386/fpu/mpa.c: Likewise.
3741 * sysdeps/i386/fpu/s_cos.S: Likewise.
3742 * sysdeps/i386/fpu/s_sin.S: Likewise.
3743 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3744 * sysdeps/i386/fpu/sincos32.c: Likewise.
3745
3746 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3747 Define.
3748 (libc_feupdateenv_53bit): Define.
3749 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3750 Define.
3751 (libc_feupdateenv_53bit): Define.
3752
3753 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3754 53 bit (without extend i386 double precision).
3755
3756 * math/libm-test.inc (sincos_test): Add tests for large input.
3757 (sin): Likewise.
3758 (cos): Likewise.
3759
3760 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3761
9cad04ea
AS
37622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3763
3764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3765
f7062b9a
DM
37662012-03-15 David S. Miller <davem@davemloft.net>
3767
3768 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3769 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3770 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3771 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3781 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3784 file.
f7062b9a 3785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3787 file.
f7062b9a 3788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3790 file.
f7062b9a 3791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3793 file.
f7062b9a
DM
3794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3796 fmin/fmax sysdep routines.
3797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3798
7bd951ff
DM
37992012-03-14 David S. Miller <davem@davemloft.net>
3800
559398ab
DM
3801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3805 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3806 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3807 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3808 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3812 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3821 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3822 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3823 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3824 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3825 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3826 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3827 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3828 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3829 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3830 routines.
3831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3832 file.
559398ab 3833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3835 file.
559398ab 3836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3838 file.
559398ab 3839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3841 file.
559398ab 3842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3844 file.
559398ab 3845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3847 file.
3848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3849 file.
3850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3851 file.
3852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3853 file.
3854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3855 New file.
3856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3857 file.
3858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3859 file.
559398ab 3860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3862 file.
559398ab 3863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3865 file.
559398ab 3866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3868 file.
559398ab 3869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3871 VIS3 routines.
559398ab
DM
3872
3873 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3874 New file.
3875
5a1c1e32
DM
3876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3877
eae47a36
DM
3878 * sysdeps/sparc/configure.in: New file.
3879 * sysdeps/sparc/configure: Generate.
3880 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3881 * configure: Regenerate.
3882 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3883 * config.make.in (have-as-vis3): New.
3884 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3885 available use -Av9d instead of -Av9a.
3886 * sysdeps/sparc/sparc64/Makefile: Likewise.
3887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3889 New file.
3890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3891 file.
3892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3893 New file.
3894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3895 file.
eae47a36
DM
3896 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3897 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3898 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3899 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3900 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3901
c0c83bc8
DM
3902 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3903 fzeros/fnegs to load 0x80000000 into a float register instead of
3904 using the stack.
7bd951ff
DM
3905 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3906
bd951ccb
JM
39072012-03-14 Joseph Myers <joseph@codesourcery.com>
3908
3909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3910 bits/syscall.h.
3911 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3912 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3913 ($(inst_includedir)/bits/syscall.h): Remove rule.
3914 ($(objpfx)bits/syscall.d): Include instead of
3915 $(objpfx)syscall-list.d.
3916 (generated): Change syscall-list.h and syscall-list.d to
3917 bits/syscall.h and bits/syscall.d.
3918
bb4e6db2
RM
39192012-03-14 Roland McGrath <roland@hack.frob.com>
3920
3921 [BZ #13846]
3922 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3923
aa4a2ae1
JM
39242012-03-14 Joseph Myers <joseph@codesourcery.com>
3925
e456826d
JM
3926 [BZ #13841]
3927 * math/s_csqrt.c: Include <float.h>.
3928 (__csqrt): Scale large or subnormal inputs.
3929 * math/s_csqrtf.c: Likewise.
3930 * math/s_csqrtl.c: Likewise.
3931 * math/libm-test.inc (csqrt_test): Add more tests.
3932 * sysdeps/i386/fpu/libm-test-ulps: Update.
3933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3934
aa4a2ae1
JM
3935 [BZ #13840]
3936 * math/libm-test.inc (hypot_test): Add more tests.
3937
7c10fd35
DM
39382012-03-13 David S. Miller <davem@davemloft.net>
3939
3940 [BZ #13840]
3941 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3942 double-precision for the calculation instead of scaling.
3943
f453b98b
JM
39442012-03-13 Joseph Myers <joseph@codesourcery.com>
3945
3946 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3947 manipulate bits before adding and subtracting TWO52[sx].
3948 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3949 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3950 Likewise.
3951 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3952
09a3453f
DM
39532012-03-13 David S. Miller <davem@davemloft.net>
3954
8e59da90
DM
3955 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3956 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3957 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3958 rtld-global-offsets.h
3959 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3960
2a8ab7f2
DM
3961 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3962 large parameters.
3963
10f62770
DM
3964 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3965
5f0bdb18
DM
3966 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3967 'err' in the ifdef scope in which it is actually used.
3968
09a3453f
DM
3969 * nss/nss_db/db-init.c: Include string.h
3970
b4b2eb5e
DM
39712012-03-12 David S. Miller <davem@davemloft.net>
3972
98bb2f1c
DM
3973 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3974 masking out of the most significant byte of random value used.
3975 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3976 Fix coding style in previous change.
3977
b4b2eb5e
DM
3978 * sysdeps/unix/sysv/linux/kernel-features.h
3979 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3980 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3981 expression.
3982 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3983 later.
3984
6e226b09
DM
39852012-03-11 David S. Miller <davem@davemloft.net>
3986
a1bcbd40
DM
3987 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3988 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3989 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3990 for 'resultvar' otherwise things get truncated on 64-bit.
3991
cb9d6174
DM
3992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3993 Fix masking out of the most significant byte of random value used.
3994
6e226b09
DM
3995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3996
058c132d
AS
39972012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3998
3999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4000
2d2cd515
DM
40012012-03-09 David S. Miller <davem@davemloft.net>
4002
4003 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4004 variables with appropriate CPP guards.
4005 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4006 frame pointer, not the stack pointer. Correct layout comments. Fix test
4007 on resulting framesize and the management of the outregs buffer for pltexit.
4008 Preserve floating point return values across _dl_call_pltexit call.
4009 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4010 framesize and the management of the outregs buffer for pltexit.
4011 Preserve floating point return values across _dl_call_pltexit
4012 call.
4013 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4014 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4015 (print_exit): Fix format string for return register value.
4016
9a07f9d0
JM
40172012-03-10 Joseph Myers <joseph@codesourcery.com>
4018
4019 * sunrpc/Makefile (others): Add rpcgen.
4020 ($(objpfx)rpcgen): Remove special build rule and dependency on
4021 libc.
4022 * sunrpc/rpcgen.c: New file.
4023
547b5e30
PE
40242012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4025
c524201a
PE
4026 [BZ #13673]
4027 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4028 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4029 * sysdeps/i386/crti.S: Likewise.
4030 * sysdeps/i386/crtn.S: Likewise.
4031 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4032 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4033 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4034 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4035 * sysdeps/sh/crti.S: Likewise.
4036 * sysdeps/sh/crtn.S: Likewise.
4037 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4038
7b6235f2
PE
4039 [BZ #13673]
4040 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4041 with URL.
4042 * locale/programs/locfile-kw.gperf: Likewise.
4043 * locale/programs/charmap-kw.h: Regenerated.
4044 * locale/programs/locfile-kw.h: Likewise.
4045
547b5e30
PE
4046 [BZ #13673]
4047 * intl/plural.y: Replace FSF snail mail address with URL.
4048 * intl/plural.c: Regenerated.
4049
5f0a5dae
RH
40502012-03-09 Richard Henderson <rth@twiddle.net>
4051
4052 * include/math_private.h: Remove file.
4053 * math/math_private.h: Move file ...
4054 * sysdeps/generic/math_private.h: ... here.
4055
b8c03620
RH
4056 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4057 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4058 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4059
4e234f5d 4060 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4061 and <math_private.h>.
4062 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4063 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4064 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4065 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4066 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4067 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4068 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4069 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4070 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4071 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4073 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4074 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4075 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4076 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4077 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4078 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4079 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4080 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4081 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4083 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4084 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4085 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4086 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4087 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4088 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4089 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4092 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4093 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4094 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4095 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4096 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4097 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4098 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4099 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4100 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4101 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4102 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4103 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4104 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4106 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4108 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4109 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4110 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4111 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4112 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4113 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4114 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4115 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4116 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4117 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4118 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4119 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4120 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4121 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4122 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4123 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4124 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4125 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4126 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4127 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4128 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4129 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4130 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4131 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4132 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4133 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4134 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4135 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4136 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4138 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4139 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4140 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4141 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4142 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4143 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4144 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4145 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4146 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4147 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4148 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4149 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4150 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4153 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4154 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4155 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4156 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4157 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4158 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4159 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4160 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4161 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4162 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4163 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4164 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4165 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4166 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4167 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4168 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4169 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4170 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4171 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4172 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4173 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4174 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4175 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4176 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4177 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4178 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4179 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4180 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4181 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4182 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4183 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4184 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4185 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4186 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4187 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4188 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4189 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4190 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4191 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4192 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4193 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4194 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4195 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4196 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4197 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4198 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4199 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4200 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4201 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4202 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4203 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4204 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4205 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4206 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4207 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4208 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4209 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4210 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4211 * sysdeps/ieee754/k_standard.c: Likewise.
4212 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4222 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4224 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4232 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4243 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4254 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4255 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4258 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4259 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4297 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4303 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4305 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4307 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4313 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4324 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4325 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4327 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4329 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4331 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4332 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4334 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4337 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4339 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4344 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4345 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4350 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4357 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4360 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4361 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4362 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4372 * sysdeps/ieee754/s_lib_version.c: Likewise.
4373 * sysdeps/ieee754/s_matherr.c: Likewise.
4374 * sysdeps/ieee754/s_signgam.c: Likewise.
4375 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4376 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4377 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4378 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4379 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4380 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4381 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4382 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4383 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4384 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4385 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4386 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4387 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4388 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4389 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4390 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4391 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4392 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4393 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4394 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4395 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4396
1991fa03
JM
43972012-03-09 Joseph Myers <joseph@codesourcery.com>
4398
4399 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4400 * sunrpc/rpc_main.c: Likewise.
4401 * sunrpc/rpc_svcout.c: Likewise.
4402
60d6f5a6
DM
44032012-03-09 David S. Miller <davem@davemloft.net>
4404
4405 * include/math_private.h: New file.
4406
4962050e
JM
44072012-03-09 Joseph Myers <joseph@codesourcery.com>
4408
02a6f887
JM
4409 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4410 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4411 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4412 from <bits/socket_type.h>.
4413 (enum __socket_type): Don't define here.
4414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4416 bits/socket_type.h.
4417
c6e013c1
JM
4418 [BZ #13566]
4419 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4420 checking __USE_GNU.
4421
4962050e
JM
4422 * Makerules ($(inst_includedir)/%.h): New rule.
4423 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4424 (install-others): Remove variable setting.
4425 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4426
38842f45
RH
44272012-03-08 Richard Henderson <rth@twiddle.net>
4428
67bb6da6
RH
4429 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4430 from macro to inline function; merge with the
4431 !__LIBC_INTERNAL_MATH_INLINES version.
4432 (__ieee754_sqrtf): Likewise.
4433
15194b4b
RH
4434 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4435 to inline function.
4436 (__rintf, __floor, __floorf): Likewise.
4437
64e21ede
RH
4438 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4439 macro to inline function.
4440 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4441
38842f45
RH
4442 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4443 not <math/math_private.h>.
4444
c64bf5fe
DM
44452012-03-08 David S. Miller <davem@davemloft.net>
4446
4447 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4448 copyright year.
4449 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4450
82d86f28
TS
44512012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4452
4453 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4454 normalization.
4455 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4456 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4457
aea5d727
UD
44582012-03-08 Ulrich Drepper <drepper@gmail.com>
4459
4460 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4461 be defined individually, they must be defined as a block. Define
4462 S for printing a string instead of hidint the different by using a
4463 macro for adding the 'l'.
4464 * stdio-common/tst-fphex-wide.c: Adjust.
4465
70bca0a3
MP
44662012-03-07 Marek Polacek <polacek@redhat.com>
4467
4468 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4469
65b81130
MP
44702012-03-08 Marek Polacek <polacek@redhat.com>
4471
4472 [BZ #13806]
4473 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4474 * stdio-common/tst-fphex.c: Define a few macros to make the
4475 test reusable. Use them.
4476 * stdio-common/tst-fphex-wide.c: New file.
4477
07037eeb
JM
44782012-03-08 Joseph Myers <joseph@codesourcery.com>
4479
a7a93d50
JM
4480 [BZ #6911]
4481 * manual/macros.texi (gnusystems): New macro.
4482 (nongnusystems): Likewise.
4483 (gnulinuxhurdsystems): Likewise.
4484 (gnuhurdsystems): Likewise..
4485 (gnulinuxsystems): Likewise.
4486 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4487 variants of the GNU system, not "GNU system".
4488 * manual/conf.texi: Likewise.
4489 * manual/errno.texi: Likewise. Update example of errno macro
4490 expansion.
4491 * manual/filesys.texi: Likewise.
4492 (getumask): Document as specific to GNU/Hurd.
4493 * manual/install.texi: Likewise. Reword some references to
4494 GNU/Linux.
4495 * manual/intro.texi: Likewise.
4496 * manual/io.texi: Likewise.
4497 (File Name Portability): Detail which constraints are inapplicable
4498 to all GNU systems and which are only inapplicable to GNU/Hurd.
4499 * manual/job.texi: Likewise.
4500 * manual/llio.texi: Likewise.
4501 (O_NOCTTY): Document as present on GNU/Linux.
4502 * manual/maint.texi: Likewise.
4503 * manual/memory.texi: Likewise.
4504 * manual/pattern.texi: Likewise.
4505 * manual/pipe.texi: Likewise.
4506 * manual/process.texi: Likewise.
4507 * manual/resource.texi: Likewise.
4508 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4509 child on GNU/Hurd.
4510 * manual/setjmp.texi: Likewise.
4511 * manual/signal.texi: Likewise.
4512 * manual/startup.texi: Likewise.
4513 * manual/stdio.texi: Likewise.
4514 * manual/terminal.texi: Likewise.
4515 (ONLCR): Document as POSIX.
4516 (OXTABS): Document availability on GNU/Linux as XTABS.
4517 (ONOEOT): Document availability separately from other bits.
4518 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4519 * manual/time.texi: Likewise.
4520 * manual/users.texi: Likewise.
4521 * INSTALL: Regenerated.
4522 * sysdeps/gnu/errlist.c: Regenerated.
4523
07037eeb
JM
4524 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4525 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4526 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4527 puts.
4528 * configure: Regenerated.
4529
d1d3431a
JM
45302012-03-07 Joseph Myers <joseph@codesourcery.com>
4531
af6a1e37
JM
4532 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4533 default includes instead of AC_HEADER_CHECK.
4534 * sysdeps/i386/configure: Regenerated.
4535
d1d3431a
JM
4536 [BZ #10716]
4537 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4538 * math/s_cacoshf.c (__cacoshf): Likewise.
4539 * math/s_cacoshl.c (__cacoshl): Likewise.
4540 * math/s_casinh.c (__casinh): Set signs of result from argument.
4541 * math/s_casinhf.c (__casinhf): Likewise.
4542 * math/s_casinhl.c (__casinhl): Likewise.
4543 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4544 (casinh_test): Add more tests.
4545 * sysdeps/i386/fpu/libm-test-ulps: Update.
4546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4547
482ff4da
UD
45482012-03-07 Ulrich Drepper <drepper@gmail.com>
4549
872fda05
UD
4550 * po/zh_TW.po: Update from translation team.
4551
a4300c7a
UD
4552 * login/Makefile (distribute): Remove variable.
4553 * catgets/Makefile: Likewise.
4554 * mach/Makefile: Likewise.
4555 * malloc/Makefile: Likewise.
4556 * misc/Makefile: Likewise.
4557 * iconv/Makefile: Likewise.
4558 * nscd/Makefile: Likewise.
4559 * hurd/Makefile: Likewise.
4560 * manual/Makefile: Likewise.
4561 * locale/Makefile: Likewise.
4562 * intl/Makefile: Likewise.
4563 * conform/Makefile: Likewise.
4564 * nss/Makefile: Likewise.
4565 * time/Makefile: Likewise.
4566 * soft-fp/Makefile: Likewise.
4567 * dirent/Makefile: Likewise.
4568 * gmon/Makefile: Likewise.
4569 * po/Makefile: Likewise.
4570 * rt/Makefile: Likewise.
4571 * socket/Makefile: Likewise.
4572 * math/Makefile: Likewise.
4573 * signal/Makefile: Likewise.
4574 * debug/Makefile: Likewise.
4575 * elf/Makefile: Likewise.
4576 * timezone/Makefile: Likewise.
4577 * stdlib/Makefile: Likewise.
4578 * iconvdata/Makefile: Likewise.
4579 * sunrpc/Makefile: Likewise.
4580 * io/Makefile: Likewise.
4581 * argp/Makefile: Likewise.
4582 * inet/Makefile: Likewise.
4583 * hesiod/Makefile: Likewise.
4584 * grp/Makefile: Likewise.
4585 * csu/Makefile: Likewise.
4586 * wctype/Makefile: Likewise.
4587 * crypt/Makefile: Likewise.
4588 * libio/Makefile: Likewise.
4589 * string/Makefile: Likewise.
4590 * nis/Makefile: Likewise.
4591 * resolv/Makefile: Likewise.
4592 * stdio-common/Makefile: Likewise.
4593 * wcsmbs/Makefile: Likewise.
4594 * dlfcn/Makefile: Likewise.
4595 * posix/Makefile: Likewise.
4596
3b7c4e74 4597 [BZ #6959]
482ff4da
UD
4598 * timezone/Makefile: Don't install timezone files, just the programs
4599 and scripts.
4600
f72ed77d
UD
46012012-03-06 Ulrich Drepper <drepper@gmail.com>
4602
a000466f
UD
4603 * nss/databases.def: Add missing gshadow entry.
4604
f72ed77d
UD
4605 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4606
a53b7a4e
MP
46072012-03-06 Marek Polacek <polacek@redhat.com>
4608
4609 [BZ #13726]
4610 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4611 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4612 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4613 * stdio-common/tst-long-dbl-fphex.c: New file.
4614
e9258400
DM
46152012-03-06 David S. Miller <davem@davemloft.net>
4616
4617 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4618 (set_obp_int): New function.
4619 (get_obp_int): New function.
4620 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4621 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4622 Avoid unused variable warnings on 'val' and use builtin_expect.
4623 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4624 __builtin_expect.
e9258400
DM
4625 (INLINE_CLONE_SYSCALL): Likewise.
4626
3bd2c723
DM
46272012-03-05 David S. Miller <davem@davemloft.net>
4628
4629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4630
bbb78d03
AS
46312012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4632
884c5db4
AS
4633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4634
bbb78d03
AS
4635 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4636 only for |x| >= 40.
4637 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4638
1c9f702a 46392012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4640
4641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4642 Replace gettimeofday with __vdso_gettimeofday.
4643
7be16f82
RM
4644 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4645 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4646 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4647
4648 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4649 time with __vdso_time.
4650
ed58a00f
JM
46512012-03-05 Joseph Myers <joseph@codesourcery.com>
4652
4653 * manual/lang.texi (size_t): Note types to which size_t may be
4654 equivalent with the GNU C Library, but do not describe when
4655 differences between them are significant.
4656
30ee4ced
AJ
46572012-03-05 Andreas Jaeger <aj@suse.de>
4658
4659 * sysdeps/i386/fpu/libm-test-ulps: Update.
4660
b7cd39e8
JM
46612012-03-05 Joseph Myers <joseph@codesourcery.com>
4662
4663 [BZ #3976]
4664 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4665 (__ieee754_pow): Save and restore rounding mode and use
4666 round-to-nearest for main computations.
4667 * math/libm-test.inc (pow_test_tonearest): New function.
4668 (pow_test_towardzero): Likewise.
4669 (pow_test_downward): Likewise.
4670 (pow_test_upward): Likewise.
4671 (main): Call the new functions.
4672 * sysdeps/i386/fpu/libm-test-ulps: Update.
4673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4674
4675 [BZ #3976]
4676 * math/libm-test.inc (cosh_test_tonearest): New function.
4677 (cosh_test_towardzero): Likewise.
4678 (cosh_test_downward): Likewise.
4679 (cosh_test_upward): Likewise.
4680 (sinh_test_tonearest): Likewise.
4681 (sinh_test_towardzero): Likewise.
4682 (sinh_test_downward): Likewise.
4683 (sinh_test_upward): Likewise.
4684 (main): Call the new functions.
4685 * sysdeps/i386/fpu/libm-test-ulps: Update.
4686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4687
6c6a98c9
TV
46882012-03-05 Tom de Vries <tom@codesourcery.com>
4689
4690 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4691 default stack guard is set in last bytes.
4692 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4693
21bb2d2e 46942012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4695
21bb2d2e 4696 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4697
21bb2d2e
AJ
4698 [BZ #13656]
4699 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4700 possibly allocate from heap instead of stack.
4701 * stdio-common/bug-vfprintf-nargs.c: New file.
4702 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4703
c6922934
AS
47042012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4705
4706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4707
bc957d53
MP
47082012-03-03 Marek Polacek <polacek@redhat.com>
4709
4710 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4711 * math/math_private.h: Likewise.
4712 * stdlib/tst-strtod.c: Likewise.
4713 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4714 * sysdeps/x86_64/bits/atomic.h: Likewise.
4715
6358490d
DM
47162012-03-02 David S. Miller <davem@davemloft.net>
4717
4718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4722 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4723 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4724 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4725 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4726
01ae168d
RM
47272012-03-02 Roland McGrath <roland@hack.frob.com>
4728
d9a17c07
RM
4729 [BZ #13792]
4730 * manual/examples/README: New file, says the example source files
4731 can be used under GPL>=2.
4732 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4733 line containing just "*/".
4734 * manual/examples/add.c: Add copyright header (GPL>=2).
4735 * manual/examples/argp-ex1.c: Likewise.
4736 * manual/examples/argp-ex2.c: Likewise.
4737 * manual/examples/argp-ex3.c: Likewise.
4738 * manual/examples/argp-ex4.c: Likewise.
4739 * manual/examples/atexit.c: Likewise.
4740 * manual/examples/db.c: Likewise.
4741 * manual/examples/dir.c: Likewise.
4742 * manual/examples/dir2.c: Likewise.
4743 * manual/examples/execinfo.c: Likewise.
4744 * manual/examples/filecli.c: Likewise.
4745 * manual/examples/filesrv.c: Likewise.
4746 * manual/examples/fmtmsgexpl.c: Likewise.
4747 * manual/examples/genpass.c: Likewise.
4748 * manual/examples/inetcli.c: Likewise.
4749 * manual/examples/inetsrv.c: Likewise.
4750 * manual/examples/isockad.c: Likewise.
4751 * manual/examples/longopt.c: Likewise.
4752 * manual/examples/memopen.c: Likewise.
4753 * manual/examples/memstrm.c: Likewise.
4754 * manual/examples/mkfsock.c: Likewise.
4755 * manual/examples/mkisock.c: Likewise.
4756 * manual/examples/mygetpass.c: Likewise.
4757 * manual/examples/pipe.c: Likewise.
4758 * manual/examples/popen.c: Likewise.
4759 * manual/examples/rprintf.c: Likewise.
4760 * manual/examples/search.c: Likewise.
4761 * manual/examples/select.c: Likewise.
4762 * manual/examples/setjmp.c: Likewise.
4763 * manual/examples/sigh1.c: Likewise.
4764 * manual/examples/sigusr.c: Likewise.
4765 * manual/examples/stpcpy.c: Likewise.
4766 * manual/examples/strdupa.c: Likewise.
4767 * manual/examples/strftim.c: Likewise.
4768 * manual/examples/strncat.c: Likewise.
4769 * manual/examples/subopt.c: Likewise.
4770 * manual/examples/swapcontext.c: Likewise.
4771 * manual/examples/termios.c: Likewise.
4772 * manual/examples/testopt.c: Likewise.
4773 * manual/examples/testpass.c: Likewise.
4774 * manual/examples/timeval_subtract.c: Likewise.
4775
01ae168d
RM
4776 [BZ #13792]
4777 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4778 function to ...
4779 * manual/timeval_subtract.c.texi: ... here, new file.
4780
49efa33d
DM
47812012-03-02 David S. Miller <davem@davemloft.net>
4782
4783 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4784
28afd92d
JM
47852012-03-02 Joseph Myers <joseph@codesourcery.com>
4786
804360ed
JM
4787 [BZ #3976]
4788 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4789 (__sin): Save and restore rounding mode and use round-to-nearest
4790 for all computations.
4791 (__cos): Save and restore rounding mode and use round-to-nearest
4792 for all computations.
4793 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4794 <fenv.h>.
4795 (tan): Save and restore rounding mode and use round-to-nearest for
4796 all computations.
4797 * math/libm-test.inc (cos_test_tonearest): New function.
4798 (cos_test_towardzero): Likewise.
4799 (cos_test_downward): Likewise.
4800 (cos_test_upward): Likewise.
4801 (sin_test_tonearest): Likewise.
4802 (sin_test_towardzero): Likewise.
4803 (sin_test_downward): Likewise.
4804 (sin_test_upward): Likewise.
4805 (tan_test_tonearest): Likewise.
4806 (tan_test_towardzero): Likewise.
4807 (tan_test_downward): Likewise.
4808 (tan_test_upward): Likewise.
4809 (main): Call the new functions.
4810 * sysdeps/i386/fpu/libm-test-ulps: Update.
4811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4812
a6d06d7b
JM
4813 [BZ #10135]
4814 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4815 small n, then large n, before computing and testing k+n.
4816 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4817 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4818 Likewise.
4819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4820 Likewise.
4821 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4822 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4823 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4824 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4825 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4826 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4827 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4828 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4829 * math/libm-test.inc (scalbn_test): Add more tests.
4830 (scalbln_test): Likewise.
4831
07e12bb3
JM
4832 * manual/filesys.texi (mode_t): Describe constraints on size and
4833 signedness, not exact equivalence to a particular type.
4834 (ino_t): Likewise.
4835 (ino64_t): Likewise.
4836 (dev_t): Likewise.
4837 (nlink_t): Likewise.
4838 (blkcnt_t): Likewise.
4839 (blkcnt64_t): Likewise.
4840 * manual/llio.texi (off_t): Likewise.
4841
28afd92d
JM
4842 [BZ #3976]
4843 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4844 (__ieee754_exp): Save and restore rounding mode and use
4845 round-to-nearest for all computations.
4846 * math/libm-test.inc (exp_test_tonearest): New function.
4847 (exp_test_towardzero): Likewise.
4848 (exp_test_downward): Likewise.
4849 (exp_test_upward): Likewise.
4850 (main): Call the new functions.
4851 * sysdeps/i386/fpu/libm-test-ulps: Update.
4852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4853
b1eeb65d
CD
48542012-03-01 Chris Demetriou <cgd@google.com>
4855
4856 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4857 have predictable order.
4858
53362a4b
DM
48592012-03-01 David S. Miller <davem@davemloft.net>
4860
3c969083
DM
4861 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4862
759707de
DM
4863 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4864 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4865 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4866 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4867
dfdb8ff2
DM
4868 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4869 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4870 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4872 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4873 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4874 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4875 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4876 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4877
ead89f96
DM
4878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4879
7f66bd07
DM
4880 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4881 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4882 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4883
53362a4b
DM
4884 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4885 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4886 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4887 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4888 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4889 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4890 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4891 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4892 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4893 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4894 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4895 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4897 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4898 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4900 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4901 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4902 * sysdeps/sparc/elf/configure: Regenerated.
4903
7b1902cb
JM
49042012-03-01 Joseph Myers <joseph@codesourcery.com>
4905
bec039bc
JM
4906 * configure.in (AS, LD): Require binutils 2.20 or later.
4907 * configure: Regenerated.
4908 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4909 as required minimum version.
4910 * INSTALL: Regenerated.
4911
7b1902cb
JM
4912 [BZ #2541]
4913 [BZ #4108]
4914 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4915 before squaring exponent.
4916 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4917 bottom long double and 27 bits of top long double before squaring
4918 exponent.
4919 * math/libm-test.inc (erfc_test): Add more tests.
4920 * sysdeps/i386/fpu/libm-test-ulps: Update.
4921 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4923
f775c276
KT
49242012-03-01 Kai Tietz <ktietz@redhat.com>
4925
4926 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4927 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4928 containing bit-fields.
4929 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4930 * soft-fp/single.h (_FP_UNION_S): Likewise.
4931 * soft-fp/double.h (_FP_UNION_D): Likewise.
4932
5b8a4d4a
JM
49332012-02-29 Joseph Myers <joseph@codesourcery.com>
4934
0bab47b6
JM
4935 [BZ #13786]
4936 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4937 not include ../strcmp.S.
4938 [USE_AS_STRNCASECMP_L]: Likewise.
4939 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4940 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4941 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4942 (__strncasecmp_l_ia32): Define as alias to
4943 __strncasecmp_l_nonascii.
4944
0fcad3e2
JM
4945 [BZ #5794]
4946 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4947 * sysdeps/i386/fpu/libm-test-ulps: Update.
4948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4949
5b8a4d4a
JM
4950 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4952
8fdceb2e
JL
49532012-02-29 Jeff Law <law@redhat.com>
4954
4955 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4956 out of bounds read.
4957
1f393a11
MP
49582012-02-29 Marek Polacek <polacek@redhat.com>
4959
4960 [BZ #13706]
4961 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4962 * elf/Makefile: Add rules to run tst-unused-dep.out.
4963
8847f037
DM
49642012-02-28 David S. Miller <davem@davemloft.net>
4965
4966 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4967 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4968 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4969 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4970 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4971 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4972
169d7f11
JM
49732012-02-29 Joseph Myers <joseph@codesourcery.com>
4974
4975 * math/libm-test.inc (llround_test): Move one test from
4976 lround_test. Use TEST_f_L in moved test.
4977 (lround_test): Move misplaced test to llround_test. Add testcase
4978 from bug 2561.
4979
39adf059
UD
49802012-02-28 Ulrich Drepper <drepper@gmail.com>
4981
4982 * sysdeps/x86_64/fpu/e_expf.S: New file.
4983 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4984
71b5d1c5
SB
49852012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4986
4987 [BZ #13637]
4988 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4989 of remain_len that may cause incomplete multi-byte character and
4990 false match.
4991 * posix/bug-regex33.c: New file.
4992 * posix/Makefile (tests): Add bug-regex33.
4993
1f77f049
JM
49942012-02-28 Joseph Myers <joseph@codesourcery.com>
4995
4996 * manual/macros.texi: New file.
4997 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4998 * manual/libc.texinfo: Include macros.texi.
4999 * manual/creatute.texi: Likewise.
5000 * manual/install.texi: Likewise.
5001 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5002 @glibcadj{} in references to the GNU C Library.
5003 * manual/charset.texi: Likewise.
5004 * manual/conf.texi: Likewise.
5005 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5006 when not using those macros.
5007 * manual/creature.texi: Likewise.
5008 * manual/crypt.texi: Likewise.
5009 * manual/errno.texi: Likewise.
5010 * manual/filesys.texi: Likewise.
5011 * manual/header.texi: Likewise.
5012 * manual/install.texi: Likewise.
5013 * manual/intro.texi: Likewise.
5014 * manual/io.texi: Likewise.
5015 * manual/job.texi: Likewise.
5016 * manual/lang.texi: Likewise.
5017 * manual/libc.texiinfo: Likewise.
5018 * manual/llio.texi: Likewise.
5019 * manual/locale.texi: Likewise.
5020 * manual/maint.texi: Likewise.
5021 * manual/math.texi: Likewise.
5022 * manual/memory.texi: Likewise.
5023 * manual/message.texi: Likewise.
5024 * manual/nss.texi: Likewise.
5025 * manual/pattern.texi: Likewise.
5026 * manual/process.texi: Likewise.
5027 * manual/resource.texi: Likewise.
5028 * manual/search.texi: Likewise.
5029 * manual/setjmp.texi: Likewise.
5030 * manual/signal.texi: Likewise.
5031 * manual/socket.texi: Likewise.
5032 * manual/startup.texi: Likewise.
5033 * manual/stdio.texi: Likewise.
5034 * manual/string.texi: Likewise.
5035 * manual/sysinfo.texi: Likewise.
5036 * manual/syslog.texi: Likewise.
5037 * manual/terminal.texi: Likewise.
5038 * manual/time.texi: Likewise.
5039 * manual/users.texi: Likewise.
5040 * INSTALL: Regenerated.
5041 * NOTES: Regenerated.
d40c5d54 5042 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5043
450bf206
AS
50442012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5045
5046 * include/dirent.h: Include <dirstream.h> before
5047 <dirent/dirent.h>.
5048
741a235b
DM
50492012-02-28 David S. Miller <davem@davemloft.net>
5050
5051 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5052 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5053 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5054 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5055
d6b5aa58
DM
50562012-02-27 David S. Miller <davem@davemloft.net>
5057
1aff59a3
DM
5058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5060 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5061 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5062
d6b5aa58
DM
5063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5064 frame pointer instead of stack pointer relative arg slot.
5065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5066 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5067 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5068
433f48bf
CD
50692012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5070
5071 [BZ #3992]
5072 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5073
d674b76d
DM
50742012-02-27 David S. Miller <davem@davemloft.net>
5075
5076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5080 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5081 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5082 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5083 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5084
0e7727f7
JM
50852012-02-27 Joseph Myers <joseph@codesourcery.com>
5086
5087 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5088 later. Allow versions 5-9.
43be4ca2 5089 * configure: Regenerated.
0e7727f7
JM
5090 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5091 required minimum version and 4.6 as recommended version. Do not
5092 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5093 * INSTALL: Regenerated.
0e7727f7 5094
a78bc654
DM
50952012-02-27 David S. Miller <davem@davemloft.net>
5096
428d5830
DM
5097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5101 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5102 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5103 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5104 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5105
a78bc654
DM
5106 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5107 manipulate bits before adding and subtracting TWO112[sx].
5108 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5109
4579f81c
RM
51102012-02-27 Roland McGrath <roland@hack.frob.com>
5111
36c8acb4
RM
5112 [BZ #13775]
5113 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5114 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5115 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5116 being in POSIX, because they are in 1003.1-2008.
5117
84ad622b
RM
5118 * rt/tst-aio.c: Include <fcntl.h>.
5119 * rt/tst-aio7.c: Likewise.
5120 * rt/tst-aio64.c: Likewise.
5121
4579f81c
RM
5122 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5123
abd923db
JM
51242012-02-27 Joseph Myers <joseph@codesourcery.com>
5125
5126 * manual/install.texi (--with-headers): Describe headers as
5127 interface headers, not private headers.
5128 (Specific advice for GNU/Linux systems): Describe use of headers
5129 from "make headers_install", not private headers from older
5130 kernels.
43be4ca2 5131 * INSTALL: Regenerated.
abd923db
JM
5132 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5133 Change to 2.6.19.
5134 * sysdeps/unix/sysv/linux/configure: Regenerated.
5135
6664049b
JM
5136 * manual/llio.texi (fclean): Remove documentation.
5137
bb8b6697
JM
5138 * manual/Makefile (libc-texi-generated): New variable. Include
5139 version.texi.
5140 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5141 $(libc-texi-generated), not duplicated list of files.
5142 (version.texi, stamp-version): New rules.
5143 (realclean): Remove $(libc-texi-generated), not individual files
5144 from that list. Do not remove dir-add.texinfo.
5145 * manual/libc.texinfo: Comment out uses of edition numbers and
5146 references to printed manual. Remove last-updated dates.
5147 (EDITION): Comment out.
5148 (ISBN): Likewise.
5149 (VERSION, UPDATED): Remove.
5150 (version.texi): Include.
5151
12e5c3b9
AS
51522012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5153
5154 * sysdeps/posix/spawni.c: Include <signal.h>.
5155 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5156 * sysdeps/pthread/aio_fsync.c: Likewise.
5157
4efeffc1 51582012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5159
ba63ba08
UD
5160 * conform/Makefile (tests): Run only when not cross-compiling and
5161 when fast-check is not defined.
5162
d94a4670
UD
5163 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5164 * conform/data/limits.h-data: Fixes for POSIX2008.
5165 * conform/run-conformtest.sh: Run all tests.
5166 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5167 headers.
5168 * include/bits/dlfcn.h: Likewise.
5169 * include/langinfo.h: Likewise.
5170 * include/monetary.h: Likewise.
5171 * include/sys/poll.h: Likewise.
5172
5173 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5174 for __USE_GNU.
5175 * posix/spawn.h: Define __need_sigset_t.
5176 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5177 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5178 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5179 to get sigevent_t only.
5180 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5181 only for __USE_GNU.
5182 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5183 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5184 process_vm_writev only for __USE_GNU.
5185 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5186
5187 * conform/Makefile: For now ignore errors from run-conformtest.
5188 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5189 POSIX to avoid namespace pollution. Don't prepend headers.
5190 * conform/data/aio.h-data: Fixes for POSIX testing.
5191 * conform/data/fcntl.h-data: Likewise.
5192 * conform/data/glob.h-data: Likewise.
5193 * conform/data/grp.h-data: Likewise.
5194 * conform/data/pthread.h-data: Likewise.
5195 * conform/data/pwd.h-data: Likewise.
5196 * conform/data/signal.h-data: Likewise.
5197 * conform/data/spawn.h-data: Likewise.
5198 * conform/data/stdio.h-data: Likewise.
5199 * conform/data/stdlib.h-data: Likewise.
5200 * conform/data/stropts.h-data: Likewise.
5201 * conform/data/sys/mman.h-data: Likewise.
5202 * conform/data/sys/stat.h-data: Likewise.
5203 * conform/data/sys/types.h-data: Likewise.
5204 * conform/data/sys/wait.h-data: Likewise.
5205 * conform/data/time.h-data: Likewise.
5206 * conform/data/unistd.h-data: Likewise.
5207 * conform/data/utime.h-data: Likewise.
5208
5209 * io/sys/stat.h: fchmod was always in POSIX.
5210 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5211 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5212 * rt/aio.h: Define __need_timespec before including <time.h>.
5213 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5214 struct. Add forward declaration of pthread_attr_t and use it in
5215 sigevent.
5216 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5217 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5218 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5219 always remove CLK_TCK definition.
5220
c20105c3
AS
52212012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5222
5223 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5224
7a270350
UD
52252012-02-25 Ulrich Drepper <drepper@gmail.com>
5226
31341567
UD
5227 * conform/run-conformtest.sh: New file.
5228 * conform/Makefile: Run run-conformtest for tests.
5229 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5230 support.
5231
5232 * conform/data/uchar.h-data: New file.
5233 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5234 * conform/data/arpa/inet.h-data: Likewise.
5235 * conform/data/assert.h-data: Likewise.
5236 * conform/data/complex.h-data: Likewise.
5237 * conform/data/cpio.h-data: Likewise.
5238 * conform/data/ctype.h-data: Likewise.
5239 * conform/data/dirent.h-data: Likewise.
5240 * conform/data/dlfcn.h-data: Likewise.
5241 * conform/data/errno.h-data: Likewise.
5242 * conform/data/fcntl.h-data: Likewise.
5243 * conform/data/float.h-data: Likewise.
5244 * conform/data/fmtmsg.h-data: Likewise.
5245 * conform/data/fnmatch.h-data: Likewise.
5246 * conform/data/ftw.h-data: Likewise.
5247 * conform/data/glob.h-data: Likewise.
5248 * conform/data/grp.h-data: Likewise.
5249 * conform/data/iconv.h-data: Likewise.
5250 * conform/data/inttypes.h-data: Likewise.
5251 * conform/data/langinfo.h-data: Likewise.
5252 * conform/data/libgen.h-data: Likewise.
5253 * conform/data/limits.h-data: Likewise.
5254 * conform/data/locale.h-data: Likewise.
5255 * conform/data/math.h-data: Likewise.
5256 * conform/data/monetary.h-data: Likewise.
5257 * conform/data/mqueue.h-data: Likewise.
5258 * conform/data/ndbm.h-data: Likewise.
5259 * conform/data/net/if.h-data: Likewise.
5260 * conform/data/netdb.h-data: Likewise.
5261 * conform/data/netinet/in.h-data: Likewise.
5262 * conform/data/nl_types.h-data: Likewise.
5263 * conform/data/poll.h-data: Likewise.
5264 * conform/data/pthread.h-data: Likewise.
5265 * conform/data/pwd.h-data: Likewise.
5266 * conform/data/regex.h-data: Likewise.
5267 * conform/data/sched.h-data: Likewise.
5268 * conform/data/search.h-data: Likewise.
5269 * conform/data/semaphore.h-data: Likewise.
5270 * conform/data/setjmp.h-data: Likewise.
5271 * conform/data/signal.h-data: Likewise.
5272 * conform/data/spawn.h-data: Likewise.
5273 * conform/data/stdarg.h-data: Likewise.
5274 * conform/data/stdio.h-data: Likewise.
5275 * conform/data/stdlib.h-data: Likewise.
5276 * conform/data/string.h-data: Likewise.
5277 * conform/data/strings.h-data: Likewise.
5278 * conform/data/stropts.h-data: Likewise.
5279 * conform/data/sys/ipc.h-data: Likewise.
5280 * conform/data/sys/mman.h-data: Likewise.
5281 * conform/data/sys/msg.h-data: Likewise.
5282 * conform/data/sys/resource.h-data: Likewise.
5283 * conform/data/sys/select.h-data: Likewise.
5284 * conform/data/sys/sem.h-data: Likewise.
5285 * conform/data/sys/shm.h-data: Likewise.
5286 * conform/data/sys/socket.h-data: Likewise.
5287 * conform/data/sys/stat.h-data: Likewise.
5288 * conform/data/sys/statvfs.h-data: Likewise.
5289 * conform/data/sys/time.h-data: Likewise.
5290 * conform/data/sys/timeb.h-data: Likewise.
5291 * conform/data/sys/times.h-data: Likewise.
5292 * conform/data/sys/types.h-data: Likewise.
5293 * conform/data/sys/uio.h-data: Likewise.
5294 * conform/data/sys/un.h-data: Likewise.
5295 * conform/data/sys/utsname.h-data: Likewise.
5296 * conform/data/sys/wait.h-data: Likewise.
5297 * conform/data/syslog.h-data: Likewise.
5298 * conform/data/tar.h-data: Likewise.
5299 * conform/data/termios.h-data: Likewise.
5300 * conform/data/utime.h-data: Likewise.
5301 * conform/data/utmpx.h-data: Likewise.
5302 * conform/data/varargs.h-data: Likewise.
5303 * conform/data/wchar.h-data: Likewise.
5304 * conform/data/wctype.h-data: Likewise.
5305 * conform/data/wordexp.h-data: Likewise.
5306
5307 * include/stropts.h: New file.
5308 * include/uchar.h: New file.
5309 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5310 * include/assert.h: Likewise.
5311 * include/ctype.h: Likewise.
5312 * include/dirent.h: Likewise.
5313 * include/dlfcn.h: Likewise.
5314 * include/fcntl.h: Likewise.
5315 * include/fnmatch.h: Likewise.
5316 * include/glob.h: Likewise.
5317 * include/grp.h: Likewise.
5318 * include/libio.h: Likewise.
5319 * include/locale.h: Likewise.
5320 * include/math.h: Likewise.
5321 * include/net/if.h: Likewise.
5322 * include/netdb.h: Likewise.
5323 * include/netinet/in.h: Likewise.
5324 * include/pthread.h: Likewise.
5325 * include/pwd.h: Likewise.
5326 * include/regex.h: Likewise.
5327 * include/sched.h: Likewise.
5328 * include/search.h: Likewise.
5329 * include/setjmp.h: Likewise.
5330 * include/signal.h: Likewise.
5331 * include/stdio.h: Likewise.
5332 * include/stdlib.h: Likewise.
5333 * include/string.h: Likewise.
5334 * include/sys/cdefs.h: Likewise.
5335 * include/sys/mman.h: Likewise.
5336 * include/sys/msg.h: Likewise.
5337 * include/sys/resource.h: Likewise.
5338 * include/sys/select.h: Likewise.
5339 * include/sys/socket.h: Likewise.
5340 * include/sys/stat.h: Likewise.
5341 * include/sys/statvfs.h: Likewise.
5342 * include/sys/time.h: Likewise.
5343 * include/sys/times.h: Likewise.
5344 * include/sys/uio.h: Likewise.
5345 * include/sys/utsname.h: Likewise.
5346 * include/sys/wait.h: Likewise.
5347 * include/termios.h: Likewise.
5348 * include/time.h: Likewise.
5349 * include/ulimit.h: Likewise.
5350 * include/unistd.h: Likewise.
5351 * include/utime.h: Likewise.
5352 * include/wchar.h: Likewise.
5353 * include/wctype.h: Likewise.
5354 * include/wordexp.h: Likewise.
5355
5356 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5357
7a270350
UD
5358 * time/time.h: TIME_UTC must be a macro.
5359 Make timespec_get available for ISO C11 only as well.
5360
7724defc
UD
53612012-02-24 Ulrich Drepper <drepper@gmail.com>
5362
5363 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5364 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5365
6b1d1d46
JM
53662012-02-24 Joseph Myers <joseph@codesourcery.com>
5367
5368 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5369
0f8bbd69
JM
53702012-02-24 Joseph Myers <joseph@codesourcery.com>
5371
5372 * manual/texinfo.tex: Update to version 2012-01-19.16.
5373
66ab80bc
JM
53742012-02-24 Joseph Myers <joseph@codesourcery.com>
5375
5376 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5377
74981cc5
RM
53782012-02-24 Roland McGrath <roland@hack.frob.com>
5379
ee968201
RM
5380 [BZ #13738]
5381 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5382 * manual/fdl-1.3.texi: New file.
5383 * manual/fdl-1.1.texi: File removed.
5384
74981cc5
RM
5385 [BZ #13738]
5386 * manual/libc.texinfo (FDL_VERSION): New @set.
5387 Use it for mention of FDL in cover text.
5388 (Documentation License): Use it in @include file name.
5389
7bb764bc
JM
53902012-02-22 Joseph Myers <joseph@codesourcery.com>
5391 Roland McGrath <roland@hack.frob.com>
5392
5393 [BZ #5461]
5394 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5395 not LONG_LONG_MAX and LONG_LONG_MIN.
5396 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5397 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5398 name.
5399 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5400
6cbeae47
JM
54012012-02-22 Joseph Myers <joseph@codesourcery.com>
5402
5403 [BZ #2547]
5404 [BZ #11365]
5405 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5406 manipulate bits before adding and subtracting TWO23[sx].
5407 * math/libm-test.inc (nearbyint_test): Add more tests.
5408
fe45ce09
JM
54092012-02-22 Joseph Myers <joseph@codesourcery.com>
5410
5411 [BZ #2548]
5412 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5413 bits before adding and subtracting TWO23[sx].
5414 * math/libm-test.inc (rint_test): Add more tests.
5415 (rint_test_tonearest): Likewise.
5416 (rint_test_towardzero): Likewise.
5417 (rint_test_downward): Likewise.
5418 (rint_test_upward: Likewise.
5419
ff3b3d82
JM
54202012-02-22 Joseph Myers <joseph@codesourcery.com>
5421
5422 [BZ #10110]
5423 * include/stdc-predef.h: New file. Extracted from features.h.
5424 * include/features.h: Include stdc-predef.h.
5425 * Makefile (headers): Add stdc-predef.h.
5426 * CONFORMANCE (Compiler limitations): Update.
5427
ef0aab35
JM
54282012-02-22 Joseph Myers <joseph@codesourcery.com>
5429
5430 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5431
58639409
DM
54322012-02-21 David S. Miller <davem@davemloft.net>
5433
5434 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5435 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5436
c0e70b25
DM
54372012-02-20 David S. Miller <davem@davemloft.net>
5438
5439 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5440 using a normal save/restore sequence, rather than allocating a
5441 dummy stack frame just to store a frame pointer and restore.
5442 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5443
fb06851d
JM
54442012-02-21 Joseph Myers <joseph@codesourcery.com>
5445
5446 * manual/install.texi: Fix stray word in line-wrapped comment.
5447
7a8b71c3
DM
54482012-02-20 David S. Miller <davem@davemloft.net>
5449
d510c123
DM
5450 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5451 both binutils and gcc support GOTDATA.
5452
0722d7c2
DM
5453 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5454 "rd %pc" in the PIC register setup sequences.
5455
3d2b3019
DM
5456 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5457 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5458 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5459 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5460 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5461 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5462 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5463 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5465 (SYSCALL_ERROR_HANDLER): Likewise.
5466 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5467 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5468 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5469 (SYSCALL_ERROR_HANDLER): Likewise.
5470
c80098a9
DM
5471 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5472 (HAVE_GCC_GOTDATA): New.
5473 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5474 relocation support in both binutils and gcc.
5475 * sysdeps/sparc/elf/configure: Regenerate.
5476
3a2545a0
DM
5477 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5478 * sysdeps/sparc/sparc32/elf/configure: Delete.
5479 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5480 * sysdeps/sparc/sparc64/elf/configure: Delete.
5481 * sysdeps/sparc/elf/configure.in: New file.
5482 * sysdeps/sparc/elf/configure: Generate.
5483
7a8b71c3
DM
5484 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5485 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5486 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5487 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5488 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5489
f1e86fca
JM
54902012-02-21 Joseph Myers <joseph@codesourcery.com>
5491
5492 * manual/install.texi: Do not mention specific glibc version
5493 numbers.
5494 * manual/libc.texinfo (VERSION, UPDATED): Update.
5495 (@copying): Use @copyright{} and range of years.
5496
0e7dfaef
JM
54972012-02-21 Joseph Myers <joseph@codesourcery.com>
5498
5499 [BZ #13695]
5500 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5501 [crti.S not in sysdirs] (generated): Do not append.
5502 [crti.S not in sysdirs] (omit-deps): Likewise.
5503 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5504 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5505 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5506 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5507 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5508 Likewise.
5509 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5510 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5511 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5512 * csu/defs.awk: Remove file.
5513 * sysdeps/generic/initfini.c: Likewise.
5514 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5515 variable.
5516 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5517 Likewise.
5518
599af3ca
JM
55192012-02-20 Joseph Myers <joseph@codesourcery.com>
5520
5521 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5522 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5523 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5524 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5525 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5526 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5527 <bits/epoll.h>.
5528 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5529 (__EPOLL_PACKED): Define to empty if not defined by
5530 <bits/epoll.h>.
5531 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5533 bits/epoll.h.
5534
0e499750
JM
55352012-02-20 Joseph Myers <joseph@codesourcery.com>
5536
5537 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5538 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5539 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5540 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5541 <bits/timerfd.h>.
5542 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5544 bits/timerfd.h.
5545
5ad91f6e
JM
55462012-02-20 Joseph Myers <joseph@codesourcery.com>
5547
5548 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5549 in C locale.
5550 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5551 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5552 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5554
06b99b02
AJ
55552012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5556
5557 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5558 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5559
7638c0fd
AS
55602012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5561
5562 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5563 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5564 defined.
5565 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5566 Likewise.
5567 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5568 entry for 2.16.
5569
92221550
AJ
55702012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5571
5572 * math/w_acos.c: Use non-signaling floating-point comparisons.
5573 * math/w_acosf.c: Likewise.
5574 * math/w_acosh.c: Likewise.
5575 * math/w_acoshf.c: Likewise.
5576 * math/w_acoshl.c: Likewise.
5577 * math/w_acosl.c: Likewise.
5578 * math/w_asin.c: Likewise.
5579 * math/w_asinf.c: Likewise.
5580 * math/w_asinl.c: Likewise.
5581 * math/w_atanh.c: Likewise.
5582 * math/w_atanhf.c: Likewise.
5583 * math/w_atanhl.c: Likewise.
5584 * math/w_exp2.c: Likewise.
5585 * math/w_exp2f.c: Likewise.
5586 * math/w_exp2l.c: Likewise.
5587 * math/w_j0.c: Likewise.
5588 * math/w_j0f.c: Likewise.
5589 * math/w_j0l.c: Likewise.
5590 * math/w_j1.c: Likewise.
5591 * math/w_j1f.c: Likewise.
5592 * math/w_j1l.c: Likewise.
5593 * math/w_jn.c: Likewise.
5594 * math/w_jnf.c: Likewise.
5595 * math/w_log.c: Likewise.
5596 * math/w_log10.c: Likewise.
5597 * math/w_log10f.c: Likewise.
5598 * math/w_log10l.c: Likewise.
5599 * math/w_log2.c: Likewise.
5600 * math/w_log2f.c: Likewise.
5601 * math/w_log2l.c: Likewise.
5602 * math/w_logf.c: Likewise.
5603 * math/w_logl.c: Likewise.
5604 * math/w_sqrt.c: Likewise.
5605 * math/w_sqrtf.c: Likewise.
5606 * math/w_sqrtl.c: Likewise.
5607 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5608 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5609 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5610 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5611 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5612
ebaf36eb
JM
56132012-02-19 Joseph Myers <joseph@codesourcery.com>
5614
5615 [BZ #9739]
5616 * manual/string.texi (strnlen): Use correct parameter name in
5617 equivalent expression.
5618
71c254a6
JM
56192012-02-19 Joseph Myers <joseph@codesourcery.com>
5620
5621 [BZ #11174]
5622 * manual/users.texi (seteuid): Consistently use neweuid for
5623 argument name.
5624
16d2c631
JM
56252012-02-19 Joseph Myers <joseph@codesourcery.com>
5626
5627 [BZ #13704]
5628 * manual/nss.texi (Services in the NSS configuration): Correct
5629 list of services in example configuration file.
5630
cd837b09
NB
56312012-02-19 Nick Bowler <nbowler@draconx.ca>
5632
5633 [BZ #11322]
5634 * manual/arith.texi: Remove statements about negative zero
5635 behaving identically to zero.
5636
02c4bbad
JM
56372012-02-18 Joseph Myers <joseph@codesourcery.com>
5638
5639 [BZ #5993]
5640 * manual/install.texi: Do not document upgrading from libc5.
5641
366842e7
JM
56422012-02-18 Joseph Myers <joseph@codesourcery.com>
5643
5644 [BZ #4596]
5645 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5646
dd54084d
DM
56472012-02-18 David S. Miller <davem@davemloft.net>
5648
5649 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5650 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5651 %o7 across the call.
5652 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5653 instead.
5654 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5655 SETUP_PIC_REG_LEAF.
5656 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5657 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5658 * sysdeps/sparc/crtn.S: Likewise.
5659
2bcc53a3
UD
56602012-02-17 Ulrich Drepper <drepper@gmail.com>
5661
5662 * aout/Makefile: Remove.
5663
09c093b5
RK
56642012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5665
5666 [BZ #13058]
5667 * manual/examples/argp-ex1.c (main): Format definition in GNU
5668 style.
5669 * manual/examples/argp-ex2.c (main): Likewise.
5670 * manual/examples/argp-ex3.c (main): Likewise.
5671 * manual/examples/argp-ex4.c (main): Likewise.
5672 * manual/examples/longopt.c (main): Use new-style prototype
5673 definition.
5674 * manual/examples/strncat.c (main): Specify return type and use
5675 (void) for arguments.
5676 * manual/examples/subopt.c (main): Use char **argv argument.
5677
2ee633a2
JM
56782012-02-17 Joseph Myers <joseph@codesourcery.com>
5679
5680 [BZ #5077]
5681 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5682 rounding modes.
5683
0520adde
FB
56842012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5685
5686 [BZ #6907]
5687 * manual/string.texi (strchr): Change when strchrnul is
5688 recommended.
5689
3f4081cd
DGM
56902012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5691
5692 [BZ #174]
5693 * manual/locale.texi (setlocale): Document LOCPATH.
5694
d1b10e78
JM
56952012-02-17 Joseph Myers <joseph@codesourcery.com>
5696
5697 [BZ #10210]
5698 * manual/process.texi (execle): Move @dots{} before last argument.
5699
79c6869c
PB
57002012-02-17 Paul Bolle <pebolle@tiscali.nl>
5701
5702 [BZ #12047]
5703 * manual/charset.texi (Generic Charset Conversion): Fix typo
5704 (LC_TYPE -> LC_CTYPE).
5705
cc6e48bc
NB
57062012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5707
5708 [BZ #5805]
5709 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5710 (scalbnf): Likewise.
5711 (scalbnl): Likewise.
5712 (scalbln): Likewise.
5713 (scalblnf): Likewise.
5714 (scalblnl): Likewise.
5715 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5716 (vwarnx): Likewise.
5717 (verr): Likewise.
5718 (verrx): Likewise.
5719 * manual/filesys.texi (telldir): Use braces around return type.
5720 * manual/llio.texi (mmap): Add space after comma.
5721 (mmap64): Likewise.
5722 * manual/math.texi (jn): Use @var{} on parameter names.
5723 (jnf): Likewise.
5724 (jnl): Likewise.
5725 (yn): Likewise.
5726 (ynf): Likewise.
5727 (ynl): Likewise.
5728 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5729 line.
5730 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5731 "...".
5732 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5733 (sched_get_priority_max): Likewise.
5734 * manual/signal.texi (sigvec): Add space after comma.
5735 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5736 names.
5737 (if_indextoname): Likewise.
5738 (if_freenameindex): Likewise.
5739 (sendto): Use ',' instead of '.' in prototype.
5740 * manual/startup.texi (syscall): Use @dots{} instead of literal
5741 "...".
5742 * manual/stdio.texi (__fpending): Separate initial words of
5743 paragraph from @deftypefun line.
5744 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5745 "...".
5746 (vsyslog): Use @var{} on parameter names.
5747 * manual/terminal.texi (stty): Use @var{} on parameter names.
5748 * manual/users.texi (getutmp): Use @var{} on parameter names.
5749 (getutmpx): Likewise.
5750
5b23062f
JM
57512012-02-17 Joseph Myers <joseph@codesourcery.com>
5752
5753 [BZ #6884]
5754 * manual/stdio.texi (fopen): Fix typos in description of
5755 ",ccs=STRING".
5756
8dee4833
AJ
57572012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5758
5759 [BZ #4026]
5760 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5761 get clock_id definition.
5762
9078ce93
TS
57632012-02-17 Thomas Schwinge <thomas@schwinge.name>
5764
5765 [BZ #4822]
5766 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5767 (madvise): Cast every argument to void on its own.
5768
3835c55f
JM
57692012-02-17 Joseph Myers <joseph@codesourcery.com>
5770
5771 [BZ #9902]
5772 * manual/startup.texi (Exit Status): Fix typo.
5773
35c47e37
JM
57742012-02-17 Joseph Myers <joseph@codesourcery.com>
5775
5776 [BZ #10140]
5777 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5778 * manual/examples/argp-ex2.c: Likewise.
5779 * manual/examples/argp-ex3.c: Likewise.
5780
e3b69ca7
RH
57812012-02-16 Richard Henderson <rth@redhat.com>
5782
5783 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5784 * sysdeps/s390/s390-32/initfini.c: Remove.
5785 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5786 * sysdeps/s390/s390-64/initfini.c: Remove.
5787
df83af67
KK
57882012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5789
5790 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5791 compiler output for sysdeps/generic/initfini.c.
5792 * sysdeps/sh/elf/initfini.c: Remove file.
5793
f63f3380
DM
57942012-02-16 David S. Miller <davem@davemloft.net>
5795
fb59b3a4
DM
5796 [BZ #11494]
5797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5798
f63f3380
DM
5799 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5800 * sysdeps/sparc/crti.S: New file.
5801 * sysdeps/sparc/crtn.S: New file.
5802 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5803 * sysdeps/sparc/sparc64/Makefile: Likewise.
5804
df6a4a4a
MF
58052012-02-15 Mike Frysinger <vapier@gentoo.org>
5806
6dd8f3dc 5807 [BZ #3335]
df6a4a4a
MF
5808 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5809
1cac7236
RM
58102012-02-15 Roland McGrath <roland@hack.frob.com>
5811
d2c736f8
RM
5812 [BZ #4822]
5813 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5814
1cac7236
RM
5815 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5816 (write, read, close): Likewise.
5817 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5818
8e475601
JM
58192012-02-15 Joseph Myers <joseph@codesourcery.com>
5820
5821 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5822 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5823 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5824 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5825 <bits/signalfd.h>.
5826 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5828 bits/signalfd.h.
5829
ed656b40
MP
58302012-02-14 Marek Polacek <polacek@redhat.com>
5831
5832 * sysdeps/x86_64/crti.S: New file.
5833 * sysdeps/x86_64/crtn.S: New file.
5834 * sysdeps/x86_64/elf/initfini.c: Remove file.
5835
2a979d3a
JM
58362012-02-13 Joseph Myers <joseph@codesourcery.com>
5837
5838 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5839 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5840 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5841 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5842 <bits/inotify.h>.
5843 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5845 bits/inotify.h.
5846
2a418ac3
JM
58472012-02-13 Joseph Myers <joseph@codesourcery.com>
5848
5849 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5850 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5851 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5852 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5853 <bits/eventfd.h>.
5854 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5856 bits/eventfd.h.
5857
fb779be7
TS
58582012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5859
e19e83c5
RM
5860 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5861 __feraiseexcept instead of feraiseexcept.
7c35ffed 5862
fb779be7
TS
5863 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5864 nanosleep invocations.
5865 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5866 strings, and add error checking for a nanosleep invocations.
5867
59ba27a6
PE
58682012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5869
5870 Replace FSF snail mail address with URLs, as per GNU coding standards.
5871 Most of the snail mail addresses were wrong anyway, and omitting
5872 them makes the source code easier to maintain. Almost all of the
5873 changes are to license notices and to locale LC_IDENTIFICATION
5874 addresses, except for this one:
5875 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5876 not its snail mail address.
5877
57b957eb
RH
58782012-02-09 Richard Henderson <rth@twiddle.net>
5879
af850b1c
RH
5880 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5881 of kernel-features.h.
5882
57b957eb
RH
5883 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5884
6b73181a
MP
58852012-02-08 Marek Polacek <polacek@redhat.com>
5886
5887 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5888 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5889 * sysdeps/gnu/_G_config.h: Likewise.
5890 * sysdeps/generic/_G_config.h: Likewise.
5891
26ecc33a
AS
58922012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5893
6c6dbc63
AS
5894 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5895 tests.
5896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5897
e216c012
AS
5898 * sysdeps/powerpc/powerpc32/crti.S: New file.
5899 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5900 * sysdeps/powerpc/powerpc64/crti.S: New file.
5901 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5902
26ecc33a
AS
5903 * Makeconfig (have-initfini): Don't set.
5904 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5905 * configure.in (nopic_initfini): Don't substitute.
5906 * config.h.in (HAVE_INITFINI): Don't #undef.
5907 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5908 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5909
3add8e13
JM
59102012-02-08 Joseph Myers <joseph@codesourcery.com>
5911
5912 Support crti.S and crtn.S provided directly by architectures.
5913 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5914 [crti.S in sysdirs] (omit-deps): Likewise.
5915 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5916 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5917 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5918 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5919 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5920 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5921 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5922 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5923 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5924 compiler output for sysdeps/generic/initfini.c.
5925 * sysdeps/i386/elf/Makefile: Remove file.
5926 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5927
a22f12b4
MP
59282012-02-07 Marek Polacek <polacek@redhat.com>
5929
5930 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5931 * sysdeps/gnu/_G_config.h: Likewise.
5932 * sysdeps/mach/hurd/_G_config.h: Likewise.
5933
148cf100
MP
59342012-02-07 Marek Polacek <polacek@redhat.com>
5935
5936 * math/Makefile (tests): Add tst-CMPLX2.
5937 * math/tst-CMPLX2.c: New file.
5938
cfdc0dd7
AS
59392012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5940
84ba42c4
AS
5941 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5942
cfdc0dd7
AS
5943 * math/libm-test.inc (jn_test): Add missing L suffix.
5944
622c86f4
MP
59452012-02-06 Marek Polacek <polacek@redhat.com>
5946
5947 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5948 * sysdeps/i386/fpu/e_powf.S: Likewise.
5949 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5950 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5951 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5952 * sysdeps/i386/fpu/e_pow.S: Likewise.
5953 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5954 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5955 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5956 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5957 * sysdeps/i386/fpu/e_log2.S: Likewise.
5958 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5959 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5960 * sysdeps/i386/fpu/e_powl.S: Likewise.
5961 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5962 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5963 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5964 * sysdeps/i386/fpu/e_logl.S: Likewise.
5965 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5966 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5967 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5968 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5969 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5970 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5971 * sysdeps/i386/fpu/e_log.S: Likewise.
5972 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5973 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5974 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5975 * sysdeps/i386/fpu/e_logf.S: Likewise.
5976 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5977 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5978 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5979 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5980 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5981 * sysdeps/i386/fpu/e_log10.S: Likewise.
5982 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5983 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5984 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5985 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5986 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5987 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5988 * sysdeps/i386/asm-syntax.h: Likewise.
5989 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5990 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5991 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5992 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5993 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5994 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5995 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5996 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5997 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5998 * sysdeps/powerpc/sysdep.h: Likewise.
5999 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6000 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6001
d4a54ac6
JM
60022012-02-06 Joseph Myers <joseph@codesourcery.com>
6003
6004 [BZ #411]
6005 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6006
314054ea
JM
60072012-02-06 Joseph Myers <joseph@codesourcery.com>
6008
6009 * sysdeps/i386/sysdep.h: Include <features.h>.
6010 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6011 version.
6012
d8e0ca50
JM
60132012-02-05 Joseph Myers <joseph@codesourcery.com>
6014
6015 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6016 Define.
6017 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6018 LOAD_PIC_REG_STR.
6019
b1da7dd9
JM
60202012-02-03 Joseph Myers <joseph@codesourcery.com>
6021
6022 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6023 (SETUP_PIC_REG): Use GET_PC_THUNK.
6024 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6025 macro.
6026
9a1d9254
JM
60272012-02-03 Joseph Myers <joseph@codesourcery.com>
6028
6029 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6030 for non-PIC compilation.
6031 (SETUP_PIC_REG): Add .p2align directive.
6032 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6033 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6034 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6035 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6036 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6037 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6038 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6039 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6040 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6041 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6042 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6043 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6044 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6045 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6046 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6047 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6048 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6049 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6050 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6051 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6052 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6053 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6054 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6055 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6056 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6058 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6059 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6060 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6061 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6062 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6063 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6064 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6065 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6066 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6067 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6068 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6069 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6070 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6071 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6072 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6073
65dc3b75
JM
60742012-02-03 Joseph Myers <joseph@codesourcery.com>
6075
6076 * math/tst-CMPLX.c: Include <stdio.h>.
6077
d55bf177
JM
60782012-01-31 Joseph Myers <joseph@codesourcery.com>
6079
6080 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6081 float.
6082 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6083 * sysdeps/sparc/bits/mathdef.h: Likewise.
6084
69db4f8f
MP
60852012-01-31 Marek Polacek <polacek@redhat.com>
6086
6087 * libio/libio.h: Don't define _PARAMS.
6088 * locale/programs/config.h: Don't define PARAMS.
6089 * stdlib/strtol_l.c: Likewise.
6090 (__strtol_l): Remove PARAMS from the prototype.
6091
41b81892
UD
60922012-01-31 Ulrich Drepper <drepper@gmail.com>
6093
3b49edc0
UD
6094 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6095 names. Just use the correct names. Remove unnecessary wrapper
6096 functions.
6097 * malloc/arena.c: Likewise.
6098 * malloc/hooks.c: Likewise.
6099
41b81892
UD
6100 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6101 ARENA_TEST says not to. Simplify test for creation of a new arena.
6102 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6103
27a25b6e
UD
61042012-01-30 Ulrich Drepper <drepper@gmail.com>
6105
6106 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6107 into tail calls.
6108 (update_get_addr): New function.
6109 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6110 GET_ADDR_MODULE parameter.
6111
c8a89e7d
JM
61122012-01-30 Joseph Myers <joseph@codesourcery.com>
6113
6114 * crypt/cert.c: Remove __STDC__ conditionals.
6115 * crypt/crypt-entry.c: Likewise.
6116 * crypt/crypt_util.c: Likewise.
6117 * libio/filedoalloc.c: Likewise.
6118 * libio/fileops.c: Likewise.
6119 * libio/genops.c: Likewise.
6120 * libio/iofclose.c: Likewise.
6121 * libio/iofdopen.c: Likewise.
6122 * libio/iofopen.c: Likewise.
6123 * libio/iofopen64.c: Likewise.
6124 * libio/iogetdelim.c: Likewise.
6125 * libio/iopopen.c: Likewise.
6126 * libio/obprintf.c: Likewise.
6127 * libio/oldfileops.c: Likewise.
6128 * libio/oldiofclose.c: Likewise.
6129 * libio/oldiofdopen.c: Likewise.
6130 * libio/oldiofopen.c: Likewise.
6131 * libio/oldiopopen.c: Likewise.
6132 * libio/wfiledoalloc.c: Likewise.
6133 * libio/wgenops.c: Likewise.
6134 * locale/programs/xmalloc.c: Likewise.
6135 * misc/syslog.c: Likewise.
6136 * stdio-common/xbug.c: Likewise.
6137 * string/memchr.c: Likewise.
6138 * string/memcmp.c: Likewise.
6139 * string/memrchr.c: Likewise.
6140 * string/rawmemchr.c: Likewise.
6141 * sysdeps/posix/getcwd.c: Likewise.
6142 * time/strftime_l.c: Likewise.
6143
3b100462
JM
61442012-01-30 Joseph Myers <joseph@codesourcery.com>
6145
6146 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6147 * config.make.in (config-cflags-sse2avx): Define.
6148 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6149 Fix typo.
6150
607998af
CM
61512012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6152
6153 * scripts/config.guess: Update from upstream config git repository.
6154 * scripts/config.sub: Likewise.
6155
3601428f
CM
61562012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6157
3ac8b282
CM
6158 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6159 (EM_NUM): Update.
6160 (R_TILEPRO_*, R_TILEGX_*): New macros.
6161
e034841e
CM
6162 * scripts/firstversions.awk: Fix bug in version range handling.
6163
540d7568
CM
6164 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6165
3601428f
CM
6166 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6167
463de862
CM
6168 * include/sys/epoll.h: New file.
6169 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6170 libc_hidden_def.
6171
73139a76
UD
61722012-01-28 Ulrich Drepper <drepper@gmail.com>
6173
96bc5b45
UD
6174 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6175 Avoid unnecessary __WORDSIZE == 64 test.
6176 (fmaxf): Use VEX format if possible.
6177 (fmax): Likewise.
6178 (fminf): Likewise.
6179 (fmin): Likewise.
6180
56f6f6a2
UD
6181 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6182 * math/math_private.h: Remove libc_fegetround* and
6183 libc_fesetround*.
6184 * sysdeps/i386/configure.in: Check for -msse2avx.
6185 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6186 also if SSE2AVX is defined.
6187 Remove libc_fegetround* and libc_fesetround*.
6188 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6189 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6190 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6191 of HAS_YMM_USABLE.
6192 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6193 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6194 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6195 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6196 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6197
73139a76
UD
6198 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6199
d73f93a4
AZ
62002012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6201
6202 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6203 size is not set.
6204 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6205
6ee65ed6
UD
62062012-01-27 Ulrich Drepper <drepper@gmail.com>
6207
6208 [BZ #13618]
6209 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6210 relocation.
6211 * Makeconfig (libm): Define.
6212 * elf/Makefile: Add rules to build and run tst-relsort1.
6213 * elf/tst-relsort1.c: New file.
6214 * elf/tst-relsort1mod1.c: New file.
6215 * elf/tst-relsort1mod2.c: New file.
6216
8db21882
JM
62172012-01-27 Joseph Myers <joseph@codesourcery.com>
6218
6219 * math/s_ldexp.c: Remove __STDC__ conditionals.
6220 * math/s_ldexpf.c: Likewise.
6221 * math/s_ldexpl.c: Likewise.
6222 * math/s_nextafter.c: Likewise.
6223 * math/s_nexttowardf.c: Likewise.
6224 * math/s_significand.c: Likewise.
6225 * math/s_significandf.c: Likewise.
6226 * math/s_significandl.c: Likewise.
6227 * math/w_jnl.c: Likewise.
6228 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6229 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6230 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6231 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6232 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6233 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6234 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6235 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6236 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6237 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6238 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6239 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6240 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6241 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6242 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6243 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6244 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6245 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6247 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6248 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6249 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6250 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6251 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6252 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6253 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6254 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6255 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6256 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6257 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6258 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6259 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6260 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6261 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6262 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6263 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6264 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6265 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6266 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6267 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6268 * sysdeps/ieee754/k_standard.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6279 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6280 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6290 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6292 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6296 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6298 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6330 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6335 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6343 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6344 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6348 * sysdeps/ieee754/s_matherr.c: Likewise.
6349 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6350 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6351 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6352 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6353
965a54a4
JM
63542012-01-26 Joseph Myers <joseph@codesourcery.com>
6355
6356 * crypt/md5.h: Remove __STDC__ conditionals.
6357 * libio/libioP.h: Likewise.
6358 * locale/programs/config.h: Likewise.
6359 * sysdeps/generic/sysdep.h: Likewise.
6360 * sysdeps/i386/asm-syntax.h: Likewise.
6361 * sysdeps/s390/asm-syntax.h: Likewise.
6362 * sysdeps/unix/sysdep.h: Likewise.
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6365
7071ad79
JM
63662012-01-26 Joseph Myers <joseph@codesourcery.com>
6367
6368 * libio/libio.h: Remove __STDC__ conditionals.
6369 * malloc/obstack.h: Likewise.
6370 * math/complex.h: Likewise.
6371 * math/math.h: Likewise.
6372 * sysdeps/generic/_G_config.h: Likewise.
6373 * sysdeps/gnu/_G_config.h: Likewise.
6374 * sysdeps/mach/hurd/_G_config.h: Likewise.
6375 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6376 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6377 * sysdeps/sparc/bits/mathdef.h: Likewise.
6378
afc5ed09
UD
63792012-01-26 Ulrich Drepper <drepper@gmail.com>
6380
6381 [BZ #13583]
6382 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6383 Clean up HAS_* macros.
afc5ed09 6384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6385 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6386 possible.
6387 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6388 HAS_AVX.
6389 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6390 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6391 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6392 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6393 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6394
bdb6de1d
JM
63952012-01-25 Joseph Myers <joseph@codesourcery.com>
6396
6397 * elf/tst-unique3.cc (gets): Remove declaration.
6398 * elf/tst-unique3lib.cc (gets): Likewise.
6399 * elf/tst-unique3lib2.cc (gets): Likewise.
6400 * elf/tst-unique4.cc (gets): Likewise.
6401
b15549e6
UD
64022012-01-24 Ulrich Drepper <drepper@gmail.com>
6403
6404 * include/stdio.h: Add C++ protection. Add gets declarations and
6405 definitions.
6406 * debug/tst-chk1.c: Don't declare gets here.
6407 * stdio-common/tst-gets.c: Likewise.
6408
a037381f
JM
64092012-01-24 Joseph Myers <joseph@codesourcery.com>
6410
6411 * posix/glob: Remove directory.
6412
f1d4aa75
JM
64132012-01-24 Joseph Myers <joseph@codesourcery.com>
6414
6415 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6416
81c0c964
PT
64172012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6418
6419 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6420 of the non-standard EPFNOSUPPORT.
6421
0ea698ae
ST
64222011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6423
6424 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6425 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6426 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6427
d220b117
UD
64282012-01-21 Ulrich Drepper <drepper@gmail.com>
6429
6430 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6431
3e1aa84e
UD
64322012-01-20 Ulrich Drepper <drepper@gmail.com>
6433
6434 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6435 transient errors.
6436 * nscd/grpcache.c (cache_addgr): Likewise.
6437 * nscd/hstcache.c (cache_addhst): Likewise.
6438 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6439 * nscd/pwdcache.c (cache_addpw): Likewise.
6440 * nscd/servicescache.c (cache_addserv): Likewise.
6441
400aa020
UD
64422012-01-16 Ulrich Drepper <drepper@gmail.com>
6443
d77e7869
UD
6444 * malloc/malloc.c: Various cleanups.
6445 * malloc/hooks.c: Likewise.
6446
400aa020
UD
6447 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6448 * stdlib/bug-fmtmsg1.c: New file.
6449
6450 * stdlib/fmtmsg.c (init): Add missing unlock.
6451 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6452
e0a309cf
MP
64532012-01-12 Marek Polacek <polacek@redhat.com>
6454
6455 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6456 and _GNU_SOURCE.
6457
929d11c7
WS
64582012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6459
6460 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6461 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6462 macro to ensure uniqueness of label name.
6463 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6464 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6465
41d0e869
UD
64662012-01-11 Ulrich Drepper <drepper@gmail.com>
6467
0cc5ed3b
UD
6468 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6469
41d0e869
UD
6470 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6471 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6472 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6474
a47a831a
UD
64752012-01-10 Ulrich Drepper <drepper@gmail.com>
6476
daa891c0
UD
6477 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6478
6479 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6480 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6481 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6482
e58ef0f2
UD
6483 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6484
a47a831a 6485 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6486 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6487 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6488 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6489
6490 * math/bits/math-finite.h: Add ldexp support.
6491
a0bfc9c7
MP
64922012-01-10 Marek Polacek <polacek@redhat.com>
6493
6494 * locale/programs/localedef.h (show_archive_content): Add noreturn
6495 attribute.
6496
d6e97a1d
UD
64972012-01-09 Ulrich Drepper <drepper@gmail.com>
6498
6499 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6500
d5835c26
UD
65012012-01-08 Ulrich Drepper <drepper@gmail.com>
6502
e5f484c6
UD
6503 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6504
d5835c26
UD
6505 * io/Makefile (headers): Add bits/poll2.h.
6506
d1f741e9
WS
65072011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6508
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6510 typo #include statement.
6511
ec09c1c4
UD
65122012-01-08 Ulrich Drepper <drepper@gmail.com>
6513
6514 * include/sys/cdefs.h: Define __attribute_alloc_size.
6515 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6516 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6517 * elf/pldd.c: Likewise.
6518 * iconv/iconv_charmap.c: Likewise.
6519 * iconv/iconvconfig.c: Likewise.
6520 * iconv/strtab.c: Likewise.
6521 * locale/programs/locale.c: Likewise.
6522 * locale/programs/localedef.h: Likewise.
6523 * locale/programs/simple-hash.c: Likewise.
6524 * nscd/nscd.h: Likewise.
6525 * nss/makedb.c: Likewise.
6526 * sysdeps/generic/ldconfig.h: Likewise.
6527 * locale/programs/localedef.c: Remove xmalloc prototype.
6528 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6529
20b38e03
PP
65302012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6531
6532 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6533 appropriate.
6534
a0da5fe1
UD
65352012-01-08 Ulrich Drepper <drepper@gmail.com>
6536
1d5a644a 6537 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6538 * math/tst-CMPLX.c: New file.
1d5a644a 6539
8784a6db
UD
6540 * math/complex.h (CMPLXL): Fix typo.
6541
d9a216c0
UD
6542 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6543 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6544 GLIBC_2.16.
6545 * debug/tst-chk1.c: Add poll and ppoll tests.
6546 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6547 * include/sys/poll.h: Add hidden proto for ppoll.
6548 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6549 * sysdeps/mach/hurd/ppoll.c: Likewise.
6550 * io/ppoll.c: Likewise.
6551 * debug/poll_chk.c: New file.
6552 * debug/ppoll_chk.c: New file.
6553 * include/bits/poll2.h: New file.
6554 * io/bits/poll2.h: New file.
6555
ac097f5c
UD
6556 [BZ #1350]
6557 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6558
2119dcfa
UD
6559 * configure.in: static is always set to yes. Remove.
6560 * config.make.in: Don't set build-static.
6561 * Makeconfig: Remove use of build-static.
6562 * dlfcn/Makefile: Likewise.
6563 * elf/Makefile: Likewise.
6564 * math/Makefile: Likewise.
6565 * misc/Makefile: Likewise.
6566 * nptl/Makefile: Likewise.
6567 * sysdeps/mach/hurd/Makefile: Likewise.
6568
121766a9
UD
6569 * configure.in: PWD_P is not used anymore.
6570 * config.make.in: Remove PWD_P entry.
6571
51a1d39c 6572 * configure.in: Remove last remnants of RANLIB.
8720d066 6573 No need to check for signed size_t anymore.
215f4bdc
UD
6574 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6575 and IA-64.
3857022a 6576 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6577 * aclocal.m4: Likewise.
6578
d3ed7225
UD
6579 * wcsmbs/mbrtoc16.c: Implement using towc function.
6580 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6581 * wcsmbs/wcsmbsload.c: Likewise.
6582 * iconv/gconv_simple.c: Likewise.
6583 * iconv/gconv_int.h: Likewise.
6584 * iconv/gconv_builtin.h: Likewise.
6585 * iconv/iconv_prog.c: Remove CHAR16 handling.
6586
6587 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6588
6589 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6590
a0da5fe1
UD
6591 * configure.in: Remove --with-elf and --enable-bounded options.
6592 Dont set base_machine for ia64. More non-ELF conditions removed.
6593 Remove testing and setting of leading underscore information.
6594 * config.make.in (build-bounded): Set to no.
6595 * config.h.in: Remove NO_UNDERSCORES entry.
6596 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6597 them.
6598 * csu/start.c: Remove !NO_UNDERSCORE code.
6599 * locale/localeinfo.h: Likewise.
6600 * sysdeps/generic/machine-gmon.h: Likewise.
6601 * sysdeps/generic/sysdep.h: Likewise.
6602 * sysdeps/i386/sysdep.h: Likewise.
6603 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6604 * sysdeps/mach/sysdep.h: Likewise.
6605 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6606 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6607 * sysdeps/sh/sysdep.h: Likewise.
6608 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6609 * sysdeps/unix/i386/sysdep.S: Likewise.
6610 * sysdeps/unix/sparc/start.c: Likewise.
6611 * sysdeps/unix/sparc/sysdep.S: Likewise.
6612 * sysdeps/unix/sparc/sysdep.h: Likewise.
6613 * sysdeps/unix/start.c: Likewise.
6614 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6615 * sysdeps/x86_64/sysdep.h: Likewise.
6616
df78418a
UD
66172012-01-07 Ulrich Drepper <drepper@gmail.com>
6618
a784e502
UD
6619 [BZ #13553]
6620 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6621 for non-gcc.
6622 * argp/argp-fmtstream.h: Use const instead __const.
6623 * argp/argp.h: Likewise.
6624 * assert/assert.h: Likewise.
6625 * bits/fenv.h: Likewise.
6626 * bits/sched.h: Likewise.
6627 * bits/sigset.h: Likewise.
6628 * bits/sigthread.h: Likewise.
6629 * catgets/nl_types.h: Likewise.
6630 * conform/data/pthread.h-data: Likewise.
6631 * crypt/crypt-private.h: Likewise.
6632 * crypt/crypt.h: Likewise.
6633 * crypt/crypt_util.c: Likewise.
6634 * ctype/ctype.h: Likewise.
6635 * debug/execinfo.h: Likewise.
6636 * debug/mbsnrtowcs_chk.c: Likewise.
6637 * debug/mbsrtowcs_chk.c: Likewise.
6638 * debug/wcsnrtombs_chk.c: Likewise.
6639 * debug/wcsrtombs_chk.c: Likewise.
6640 * debug/wcstombs_chk.c: Likewise.
6641 * dirent/dirent.h: Likewise.
6642 * dlfcn/dlfcn.h: Likewise.
6643 * elf/neededtest4.c: Likewise.
6644 * grp/grp.h: Likewise.
6645 * gshadow/gshadow.h: Likewise.
6646 * iconv/gconv.h: Likewise.
6647 * iconv/gconv_int.h: Likewise.
6648 * iconv/gconv_simple.c: Likewise.
6649 * iconv/iconv.h: Likewise.
6650 * iconv/loop.c: Likewise.
6651 * iconv/skeleton.c: Likewise.
6652 * include/aio.h: Likewise.
6653 * include/aliases.h: Likewise.
6654 * include/argz.h: Likewise.
6655 * include/arpa/inet.h: Likewise.
6656 * include/assert.h: Likewise.
6657 * include/dirent.h: Likewise.
6658 * include/dlfcn.h: Likewise.
6659 * include/execinfo.h: Likewise.
6660 * include/fcntl.h: Likewise.
6661 * include/fenv.h: Likewise.
6662 * include/glob.h: Likewise.
6663 * include/grp.h: Likewise.
6664 * include/libintl.h: Likewise.
6665 * include/mntent.h: Likewise.
6666 * include/netdb.h: Likewise.
6667 * include/pwd.h: Likewise.
6668 * include/rpc/netdb.h: Likewise.
6669 * include/sched.h: Likewise.
6670 * include/search.h: Likewise.
6671 * include/shadow.h: Likewise.
6672 * include/signal.h: Likewise.
6673 * include/stdio.h: Likewise.
6674 * include/stdlib.h: Likewise.
6675 * include/string.h: Likewise.
6676 * include/sys/socket.h: Likewise.
6677 * include/sys/stat.h: Likewise.
6678 * include/sys/statfs.h: Likewise.
6679 * include/sys/statvfs.h: Likewise.
6680 * include/sys/syslog.h: Likewise.
6681 * include/sys/time.h: Likewise.
6682 * include/sys/uio.h: Likewise.
6683 * include/time.h: Likewise.
6684 * include/unistd.h: Likewise.
6685 * include/utmp.h: Likewise.
6686 * include/wchar.h: Likewise.
6687 * include/wctype.h: Likewise.
6688 * inet/aliases.h: Likewise.
6689 * inet/arpa/inet.h: Likewise.
6690 * inet/netinet/ether.h: Likewise.
6691 * inet/netinet/in.h: Likewise.
6692 * intl/libintl.h: Likewise.
6693 * io/bits/fcntl2.h: Likewise.
6694 * io/fcntl.h: Likewise.
6695 * io/ftw.h: Likewise.
6696 * io/sys/poll.h: Likewise.
6697 * io/sys/stat.h: Likewise.
6698 * io/sys/statfs.h: Likewise.
6699 * io/sys/statvfs.h: Likewise.
6700 * io/utime.h: Likewise.
6701 * libio/bits/stdio.h: Likewise.
6702 * libio/bits/stdio2.h: Likewise.
6703 * libio/libio.h: Likewise.
6704 * libio/libioP.h: Likewise.
6705 * libio/stdio.h: Likewise.
6706 * locale/lc-ctype.c: Likewise.
6707 * locale/locale.h: Likewise.
6708 * login/utmp.h: Likewise.
6709 * malloc/arena.c: Likewise.
6710 * malloc/malloc.c: Likewise.
6711 * malloc/malloc.h: Likewise.
6712 * malloc/mcheck.c: Likewise.
6713 * malloc/mtrace.c: Likewise.
6714 * math/bits/mathcalls.h: Likewise.
6715 * math/fenv.h: Likewise.
6716 * math/math_private.h: Likewise.
6717 * misc/bits/error.h: Likewise.
6718 * misc/bits/syslog.h: Likewise.
6719 * misc/err.h: Likewise.
6720 * misc/error.h: Likewise.
6721 * misc/fstab.h: Likewise.
6722 * misc/mntent.h: Likewise.
6723 * misc/regexp.h: Likewise.
6724 * misc/search.h: Likewise.
6725 * misc/sgtty.h: Likewise.
6726 * misc/sys/mman.h: Likewise.
6727 * misc/sys/syslog.h: Likewise.
6728 * misc/sys/uio.h: Likewise.
6729 * misc/sys/xattr.h: Likewise.
6730 * misc/ttyent.h: Likewise.
6731 * nis/rpcsvc/ypclnt.h: Likewise.
6732 * nss/nss.h: Likewise.
6733 * posix/bits/unistd.h: Likewise.
6734 * posix/fnmatch.h: Likewise.
6735 * posix/glob.h: Likewise.
6736 * posix/sched.h: Likewise.
6737 * posix/spawn.h: Likewise.
6738 * posix/sys/wait.h: Likewise.
6739 * posix/unistd.h: Likewise.
6740 * posix/wordexp.h: Likewise.
6741 * pwd/pwd.h: Likewise.
6742 * resolv/netdb.h: Likewise.
6743 * resource/sys/resource.h: Likewise.
6744 * rt/aio.h: Likewise.
6745 * rt/bits/mqueue2.h: Likewise.
6746 * rt/mqueue.h: Likewise.
6747 * shadow/shadow.h: Likewise.
6748 * signal/signal.h: Likewise.
6749 * socket/send.c: Likewise.
6750 * socket/sendto.c: Likewise.
6751 * socket/sys/socket.h: Likewise.
6752 * stdio-common/printf.h: Likewise.
6753 * stdlib/bits/stdlib.h: Likewise.
6754 * stdlib/fmtmsg.h: Likewise.
6755 * stdlib/monetary.h: Likewise.
6756 * stdlib/stdlib.h: Likewise.
6757 * stdlib/ucontext.h: Likewise.
6758 * streams/stropts.h: Likewise.
6759 * string/argz.h: Likewise.
6760 * string/bits/string2.h: Likewise.
6761 * string/string.h: Likewise.
6762 * string/strings.h: Likewise.
6763 * sunrpc/rpc/auth.h: Likewise.
6764 * sunrpc/rpc/auth_des.h: Likewise.
6765 * sunrpc/rpc/clnt.h: Likewise.
6766 * sunrpc/rpc/netdb.h: Likewise.
6767 * sunrpc/rpc/pmap_clnt.h: Likewise.
6768 * sunrpc/rpc/xdr.h: Likewise.
6769 * sysdeps/generic/inttypes.h: Likewise.
6770 * sysdeps/generic/net/if.h: Likewise.
6771 * sysdeps/generic/sys/swap.h: Likewise.
6772 * sysdeps/gnu/net/if.h: Likewise.
6773 * sysdeps/gnu/utmpx.h: Likewise.
6774 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6775 * sysdeps/i386/i486/bits/string.h: Likewise.
6776 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6777 * sysdeps/s390/bits/string.h: Likewise.
6778 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6779 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6780 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6781 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6782 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6783 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6784 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6785 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6786 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6787 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6788 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6789 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6790 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6791 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6792 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6793 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6794 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6795 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6796 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6797 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6798 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6799 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6800 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6801 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6802 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6803 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6804 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6805 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6806 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6807 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6808 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6809 * sysvipc/sys/ipc.h: Likewise.
6810 * sysvipc/sys/msg.h: Likewise.
6811 * sysvipc/sys/sem.h: Likewise.
6812 * sysvipc/sys/shm.h: Likewise.
6813 * termios/termios.h: Likewise.
6814 * time/sys/time.h: Likewise.
6815 * time/time.h: Likewise.
6816 * wcsmbs/bits/wchar2.h: Likewise.
6817 * wcsmbs/uchar.h: Likewise.
6818 * wcsmbs/wchar.h: Likewise.
6819 * wctype/wctype.h: Likewise.
6820
0269750c
UD
6821 [BZ #13551]
6822 * Makeconfig: Remove all but ELF support including AIX support.
6823 * Makerules: Likewise.
6824 * config.h.in: Likewise.
6825 * config.make.in: Likewise.
6826 * configure: Likewise.
6827 * configure.in: Likewise.
6828 * csu/Makefile: Likewise.
6829 * csu/version.c: Likewise.
6830 * debug/Makefile: Likewise.
6831 * dlfcn/Makefile: Likewise.
6832 * elf/Makefile: Likewise.
6833 * extra-lib.mk: Likewise.
6834 * iconv/Makefile: Likewise.
6835 * include/libc-symbols.h: Likewise.
6836 * include/shlib-compat.h: Likewise.
6837 * resolv/Makefile: Likewise.
6838 * resolv/res_libc.c: Likewise.
6839 * rt/Makefile: Likewise.
6840 * sysdeps/i386/asm-syntax.h: Likewise.
6841 * sysdeps/i386/sysdep.h: Likewise.
6842 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6843 * sysdeps/mach/sysdep.h: Likewise.
6844 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6845 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6846 * sysdeps/s390/asm-syntax.h: Likewise.
6847 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6848 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6849 * sysdeps/sh/sysdep.h: Likewise.
6850 * sysdeps/unix/sparc/sysdep.h: Likewise.
6851 * sysdeps/wordsize-32/divdi3.c: Likewise.
6852 * sysdeps/x86_64/sysdep.h: Likewise.
6853
00bbd29b
UD
6854 * argp/Versions: Remove _argp_unlock_xxx.
6855
6856 [BZ #13559]
6857 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6858 * abilist/libBrokenLocale.abilist: Likewise.
6859 * abilist/libanl.abilist: Likewise.
6860 * abilist/libc.abilist: Likewise.
6861 * abilist/libcrypt.abilist: Likewise.
6862 * abilist/libdl.abilist: Likewise.
6863 * abilist/libm.abilist: Likewise.
6864 * abilist/libnsl.abilist: Likewise.
6865 * abilist/libpthread.abilist: Likewise.
6866 * abilist/libresolv.abilist: Likewise.
6867 * abilist/librt.abilist: Likewise.
6868 * abilist/libthread_db.abilist: Likewise.
6869 * abilist/libutil.abilist: Likewise.
6870 * abilist/libnss_db.abilist: New file.
6871
6872 * scripts/abilist.awk: Add support for indirect functions.
6873
a2693a0e
UD
6874 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6875
3f05895f
UD
6876 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6877
ecb6fb48
UD
6878 * shlib-versions: Remove entries for ports architectures.
6879
664f8cb9
UD
6880 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6881 files in ports.
6882 * elf/stackguard-macros.h: Remove support for IA-64.
6883 * elf/tst-auditmod1.c: Likewise.
6884 * sysdeps/generic/ldsodefs.h: Likewise.
6885
7ae81d88
UD
6886 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6887 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6888 configure files.
6889
bdeba135
UD
6890 [BZ #13552]
6891 * configure.in: Remove --enable-omitfp support.
6892 * FAQ.in: Adjust.
6893 * config.make.in: Likewise.
6894 * Makeconfig: Likewise.
6895 * manual/install.texi: Likewise.
6896
d75a0a62
UD
6897 In case anyone cares, the IA-64 architecture could move to ports.
6898 * sysdeps/ia64/*: Removed.
6899 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6900 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6901
dcc9756b
UD
6902 [BZ #13555]
6903 * configure.in: Remove entries for unsupported architectures.
6904
d3761ebc 6905 [BZ #13533]
9954432e
UD
6906 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6907 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6908 routines.
6909 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6910 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6911 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6912 fall back to using wcrtomb.
6913 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6914 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6915 renaming.
6916 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6917 * wcsmbs/tst-c16c32-1.c: New file.
6918
6919 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6920 local variable.
6921
c3a87236
UD
6922 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6923
28926a1b
UD
6924 * elf/tst-unique3.cc: Add explicit declaration of gets.
6925 * elf/tst-unique3lib.cc: Likewise.
6926 * elf/tst-unique3lib2.cc: Likewise.
6927 * elf/tst-unique4.cc: Likewise.
6928
df78418a
UD
6929 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6930
8ecd6b2a
JM
69312012-01-06 Joseph Myers <joseph@codesourcery.com>
6932
6933 [BZ #13566]
6934 * assert/assert.h (static_assert): Don't define for C++.
6935 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6936 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6937
9f115170
UD
69382012-01-03 Ulrich Drepper <drepper@gmail.com>
6939
5e0d0300
UD
6940 * iconv/loop.c (single loop): Fix assertion in storing of
6941 remaining bytes.
6942
9f115170
UD
6943 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6944
81fb02b0
UD
69452012-01-01 Ulrich Drepper <drepper@gmail.com>
6946
6947 * posix/getconf.c: Update copyright year.
6948 * nss/getent.c: Likewise.
a316c1f6 6949 * nss/makedb.c: Likewise.
81fb02b0
UD
6950 * iconv/iconvconfig.c: Likewise.
6951 * iconv/iconv_prog.c: Likewise.
6952 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6953 * elf/pldd.c: Likewise.
6954 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6955 * catgets/gencat.c: Likewise.
6956 * csu/version.c: Likewise.
6957 * elf/ldd.bash.in: Likewise.
6958 * elf/sprof.c (print_version): Likewise.
6959 * locale/programs/locale.c: Likewise.
6960 * locale/programs/localedef.c: Likewise.
a316c1f6 6961 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6962 * nscd/nscd.c (print_version): Likewise.
6963 * debug/xtrace.sh: Likewise.
6964 * malloc/memusage.sh: Likewise.
6965 * malloc/mtrace.pl: Likewise.
6966 * debug/catchsegv.sh: Likewise.
6967
2ba92745
JJ
69682011-12-30 Jakub Jelinek <jakub@redhat.com>
6969
6970 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6971 pure attribute.
6972
dadebdae
UD
69732011-12-24 Ulrich Drepper <drepper@gmail.com>
6974
d3761ebc 6975 [BZ #13533]
db6af3eb
UD
6976 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6977 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6978 transformations.
6979 * iconv/gconv_int.h: Likewise.
6980 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6981 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6982 from libc for GLIBC_2.16.
6983 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6984 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6985 * wcsmbs/uchar.h: Really define mbstate_t.
6986 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6987 * wcsmbs/c16rtomb.c: New file.
6988 * wcsmbs/mbrtoc16.c: New file.
6989 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6990 for C/POSIX locale.
6991 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6992 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6993
dadebdae
UD
6994 * wcsmbs/wchar.h: Add missing __restrict.
6995
67371b56
UD
69962011-12-23 Ulrich Drepper <drepper@gmail.com>
6997
74033a25
UD
6998 [BZ #13532]
6999 * time/Makefile (routines): Add timespec_get.
7000 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7001 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7002 timespec for ISO C11.
7003 * time/timespec_get.c: New file.
7004 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7005 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7006
380d7e87
UD
7007 [BZ #13531]
7008 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7009 * stdlib/stdlib.h: Declare aligned_alloc.
7010 * Versions.def: Add GLIBC_2.16 for libc.
7011 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7012
4e9e7a35
UD
7013 [BZ 13527]
7014 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7015 ISO C11.
7016
380d7e87 7017 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7018 code.
7019
03a71829
UD
7020 [BZ #13528]
7021 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7022
839e283e
UD
7023 [BZ #13529]
7024 * assert/assert.h (static_assert): Define.
7025
ce5294e2 7026 * version.h: Update for 2.16 development version.
90fa7312 7027
8d44e150 7028 [BZ #13526]
d7809905
UD
7029 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7030 _ISOC11_SOURCE.
7031
c0da14cd
UD
7032 * version.h (RELEASE): Bump for 2.15 release.
7033 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7034
530a3249
MP
7035 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7036 Patch by Marek Polacek <mpolacek@redhat.com>.
7037
67371b56
UD
7038 * bits/byteswap.h: Protect long long constants with __extension__.
7039 * sysdeps/i386/bits/byteswap.h: Likewise.
7040 * sysdeps/ia64/bits/byteswap.h: Likewise.
7041 * sysdeps/s390/bits/byteswap.h: Likewise.
7042 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7043
15db4de1
LD
70442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7045
7046 [BZ #13540]
bbe315ea
LD
7047 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7048 destination buffer.
15db4de1
LD
7049 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7050
2b2596b1
MP
70512011-12-23 Marek Polacek <polacek@redhat.com>
7052
7053 * elf/dl-addr.c (determine_info): Add inline keyword.
7054 * elf/tst-auditmod4b.c (check_avx): Likewise.
7055 * elf/tst-auditmod6b.c (check_avx): Likewise.
7056 * elf/tst-auditmod6c.c (check_avx): Likewise.
7057 * elf/tst-auditmod7b.c (check_avx): Likewise.
7058
70c6c246
UD
70592011-12-23 Ulrich Drepper <drepper@gmail.com>
7060
7061 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7062 !__SSE_MATH__.
7063
c044cf14
LD
70642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7065
15db4de1 7066 [BZ #13540]
c044cf14
LD
7067 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7068 processing for last bytes.
7069
6b13d9d9
BH
70702011-08-06 Bruno Haible <bruno@clisp.org>
7071
d455f537
BH
7072 [BZ #13061]
7073 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7074 U+0385, not to U+1FEE.
7075
6b13d9d9
BH
7076 [BZ #13062]
7077 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7078 entry for U+00A5 U+0301.
7079
db910efd
UD
70802011-12-22 Ulrich Drepper <drepper@gmail.com>
7081
27deeafc
UD
7082 [BZ #13166]
7083 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7084 buffer for the output is too small.
7085
aed9d171
UD
7086 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7087 optimization.
7088
db910efd
UD
7089 [BZ #13185]
7090 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7091 SSE flags if possible.
7092
2bd779ae
LD
70932011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7094
e7f9dac3 7095 [BZ #13540]
2bd779ae
LD
7096 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7097 processing for last bytes.
7098
154bfc16
JM
70992011-12-22 Joseph Myers <joseph@codesourcery.com>
7100
7101 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7102 (syscall-list-default-options, syscall-list-default-condition)
7103 (syscall-list-includes): Define.
7104 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7105 list of ABIs and options and #if conditions for each ABI. Do not
7106 handle common syscalls between ABIs specially.
7107 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7108 Remove.
7109 (syscall-list-variants, syscall-list-32bit-options)
7110 (syscall-list-32bit-condition, syscall-list-64bit-options)
7111 (syscall-list-64bit-condition): Define.
7112 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7113 (syscall-list-variants, syscall-list-32bit-options)
7114 (syscall-list-32bit-condition, syscall-list-64bit-options)
7115 (syscall-list-64bit-condition): Define.
7116 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7117 Remove.
7118 (syscall-list-variants, syscall-list-32bit-options)
7119 (syscall-list-32bit-condition, syscall-list-64bit-options)
7120 (syscall-list-64bit-condition): Define.
7121 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7122 Remove.
7123 (syscall-list-variants, syscall-list-32bit-options)
7124 (syscall-list-32bit-condition, syscall-list-64bit-options)
7125 (syscall-list-64bit-condition): Define.
7126
21eaf3a5
UD
71272011-12-22 Ulrich Drepper <drepper@gmail.com>
7128
16c6f992
UD
7129 * locale/iso-639.def: Add brx entry.
7130
41043168
UD
7131 [BZ #13328]
7132 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7133 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7134
21eaf3a5
UD
7135 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7136 __feraiseexcept_renamed.
7137
e3a851a2
UD
71382011-12-21 Ulrich Drepper <drepper@gmail.com>
7139
4920765e
UD
7140 [BZ #13538]
7141 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7142 EPOLLET with unsigned values.
7143 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7144 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7145
e3a851a2
UD
7146 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7147 to large cancellation.
7148 * math/s_cacoshf.c: Likewise.
7149 * math/s_cacoshl.c: Likewise.
7150
b27e24b8
RK
71512011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7152
7153 [BZ #13305]
aebefeee 7154 [BZ #12786]
b27e24b8
RK
7155 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7156 * math/s_cacoshf.c: Likewise.
7157 * math/s_cacoshl.c: Likewise.
7158
ee190f67
UD
71592011-12-21 Ulrich Drepper <drepper@gmail.com>
7160
7161 [BZ #13439]
7162 * iconv/gconv.h: Define __GCONV_SWAP.
7163 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7164 * iconvdata/utf-16.c: Likewise.
7165 * iconvdata/utf-32.c: Likewise.
7166
707f25df
AS
71672011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7168
7169 [BZ #13524]
7170 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7171 numerator after shifting it by one limb.
7172
d2daaa1e
RÁE
71732011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7174
7175 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7176 under [__USE_EXTERN_INLINES].
7177
a4647e72
UD
71782011-12-17 Ulrich Drepper <drepper@gmail.com>
7179
7180 [BZ #13446]
7181 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7182
f0b264f1
AZ
71832011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7184
7185 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7186 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7187 optimized code.
7188 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7189 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7190 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7191 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7192 for strncasecmp/strncasecmp_l compilation.
7193 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7194 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7195
8ef4f244
MP
71962011-12-08 Marek Polacek <mpolacek@redhat.com>
7197
7198 [BZ #13484]
7199 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7200 of __asm__.
7201
97ac2654
UD
72022011-12-17 Ulrich Drepper <drepper@gmail.com>
7203
7204 [BZ #13506]
7205 * time/tzfile.c (__tzfile_read): Check values from file header.
7206
91d2a845
WS
72072011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7208
7209 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7210 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7211 * powerpc/powerpc32/dl-start.S: Likewise.
7212 * powerpc/powerpc32/elf/start.S: Likewise.
7213 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7214 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7215 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7216 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7217 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7218 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7219 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7220 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7221 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7222 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7223 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7224 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7225 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7226 * powerpc/powerpc32/memset.S: Likewise.
7227 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7228 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7229 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7230 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7231 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7232 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7233 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7234 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7235 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7236 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7237 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7238 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7239 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7240
a1267ba1
AZ
72412011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7242
7243 * math/libm-test.inc: Added more nearbyint tests.
7244 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7245 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7246 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7247 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7248
ad8ac1bd
RL
72492011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7250
7251 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7252 FD_CLOEXEC.
7253
1d3e4b61
UD
72542011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7255
7256 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7257 Add wcscpy-ssse3 wcscpy-c.
7258 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7259 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7260 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7261 * sysdeps/x86_64/wcschr.S: New file.
7262 * sysdeps/x86_64/wcsrchr.S: New file.
7263 * string/test-strcmp.c: Remove checking of wcscmp function for
7264 wrong alignments.
7265 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7266 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7267 wcsrchr-sse2 wcsrchr-c.
7268 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7269 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7270 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7271 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7272 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7273 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7274 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7275 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7276 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7277 * wcsmbc/wcschr.c (WCSCHR): New macro.
7278
5b330a2d
UD
72792011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7280
7281 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7282 * wcsmbs/test-wcsrchr.c: New file.
7283 * string/test-strrchr.c: Add wcsrchr support.
7284 (WIDE): New macro.
7285 * wcsmbs/test-wcscpy.c: New file.
7286 * string/test-strcpy.c: Add wcscpy support.
7287 (WIDE): New macro.
26428b7c 7288
f039c043
UD
72892011-12-10 Ulrich Drepper <drepper@gmail.com>
7290
7291 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7292 the inner loop.
7293
850fb039
AS
72942011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7295
7296 [BZ #13472]
7297 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7298
4efbd5cb
UD
72992011-12-04 Ulrich Drepper <drepper@gmail.com>
7300
52ff5dd0 7301 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7302 Minor optimizations.
52ff5dd0 7303
4efbd5cb
UD
7304 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7305 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7306 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7307
8a426e12
UD
73082011-12-03 Ulrich Drepper <drepper@gmail.com>
7309
aff2453d
UD
7310 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7311 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7312 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7313 for gcc to avoid warnings.
7314 * inet/Makefile (tests): Add tst-checks.
7315 * inet/tst-checks.c: New file.
7316
7317 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7318 warning.
7319
7320 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7321 __wmemcmp_sse2.
7322
7323 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7324 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7325
8a426e12
UD
7326 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7327
9bea3473
UD
73282011-12-02 Ulrich Drepper <drepper@gmail.com>
7329
3a965496
UD
7330 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7331 problem.
7332
9bea3473
UD
7333 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7334
f101631b
UD
73352011-11-29 Joseph Myers <joseph@codesourcery.com>
7336
7337 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7338 conditional on GCC version.
7339 (__arch_compare_and_exchange_val_8_acq)
7340 (__arch_compare_and_exchange_val_16_acq)
7341 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7342 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7343 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7344
a98275aa
UD
73452011-12-02 Joseph Myers <joseph@codesourcery.com>
7346
7347 * sysdeps/sh/backtrace.c: New file.
7348
d4cc29a2
AS
73492011-12-02 Andreas Schwab <schwab@redhat.com>
7350
7351 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7352 parenthesis.
7353
6257af2d
AS
73542011-12-01 Andreas Schwab <schwab@redhat.com>
7355
7356 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7357 falling back to utime.
7358
b5f44c1a
AS
73592011-11-30 Andreas Schwab <schwab@redhat.com>
7360
7361 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7362 expectations for float.
7363
f3a6cc0a
AS
73642011-11-29 Andreas Schwab <schwab@redhat.com>
7365
7366 * locale/weight.h (findidx): Add parameter len.
7367 * locale/weightwc.h (findidx): Likewise.
7368 * posix/fnmatch_loop.c (FCT): Adjust caller.
7369 * posix/regcomp.c (build_equiv_class): Likewise.
7370 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7371 * posix/regexec.c (check_node_accept_bytes): Likewise.
7372 * string/strcoll_l.c (STRCOLL): Likewise.
7373 * string/strxfrm_l.c (STRXFRM): Likewise.
7374
9d65ea3a
UD
73752011-11-17 Ulrich Drepper <drepper@gmail.com>
7376
7377 * Makefile.in: Remove CVSOPT handling.
7378 * configure.in: Remove use of AC_REVISION.
7379 * iconvdata/Makefile (distribute): No need to filter out CVS.
7380 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7381 handling.
7382
5583a086
AS
73832011-11-16 Andreas Schwab <schwab@redhat.com>
7384
7385 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7386 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7387 [USE_AS_STRNCASECMP_L]: Likewise.
7388 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7389 NO_TLS_DIRECT_SEG_REFS.
7390 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7391 Fix argument offsets for non-PIC.
7392 [USE_AS_STRNCASECMP_L]: Likewise.
7393 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7394 NO_TLS_DIRECT_SEG_REFS.
7395
d62a8200
UD
73962011-11-15 Ulrich Drepper <drepper@gmail.com>
7397
9d65ea3a 7398 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7399 O_CLOEXEC.
7400 * locale/loadlocale.c (_nl_load_locale): Likewise.
7401
09f93bd3
AS
74022011-11-15 Andreas Schwab <schwab@redhat.com>
7403
446514f9
AS
7404 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7405 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7406 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7407 (SYSCALL_GETTIME): Set errno on error.
7408
09f93bd3
AS
7409 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7410 count references to noai6ai_cached.
7411
312be3f9
UD
74122011-11-15 Ulrich Drepper <drepper@gmail.com>
7413
7414 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7415
7416 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7417 FD_CLOEXEC for /proc/self/maps.
7418
7419 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7420 FD_CLOEXEC for /proc/meminfo.
7421
7422 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7423 gai.conf.
7424
7425 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7426 FD_CLOEXEC for given file.
7427
7428 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7429
7430 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7431 FD_CLOEXEC for /etc/hosts.
7432 (_gethtent): Likewise.
7433
7434 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7435
7436 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7437 cancellation and set FD_CLOEXEC for /etc/netgroup.
7438
7439 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7440 reading /etc/publickey.
7441
7442 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7443 allow cancellation when reading /etc/group.
7444
7445 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7446 cancellation.
7447 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7448
7449 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7450 when using data file.
7451
7452 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7453
7454 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7455 (write_nis_obj): Use "c" and "e" in fopen.
7456
7457 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7458
7459 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7460
7461 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7462
7463 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7464
7465 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7466 locale.alias.
7467
7468 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7469
7470 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7471
7472 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7473
7474 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7475 file parsing and set FD_CLOEXEC.
7476
82af0fa8
UD
74772011-11-14 Ulrich Drepper <drepper@gmail.com>
7478
7479 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7480
a5fb313c
AS
74812011-11-14 Andreas Schwab <schwab@redhat.com>
7482
7483 * malloc/arena.c (arena_get2): Don't call reused_arena when
7484 _int_new_arena failed.
7485
6abf3465
UD
74862011-11-14 Ulrich Drepper <drepper@gmail.com>
7487
7488 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7489 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7490 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7491 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7492 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7493 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7494 to compile strcasecmp and strncasecmp.
7495 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7496 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7497
7498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7499
76e3966e
UD
75002011-11-13 Ulrich Drepper <drepper@gmail.com>
7501
7502 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7503 locale-defines.sym to gen-as-const-headers.
7504 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7505 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7506 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7507 to compile strcasecmp and strncasecmp.
7508 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7509 strcasecmp_l and strncasecmp_l.
7510 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7511 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7512 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7513 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7514 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7515 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7516 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7517 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7518 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7519 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7520 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7521
ab26144e
UD
75222011-11-12 Ulrich Drepper <drepper@gmail.com>
7523
7edb22ef
UD
7524 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7525 result of SYSDEP_GETTIME_CPU to retval.
7526 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7527 parameter list to macro. Remove trailing semicolon. Adjust users.
7528
9694fc44
UD
7529 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7530 variable.
7531
8ad89ef8
UD
7532 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7533 mantissa words.
7534 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7535
0c822ef9
UD
7536 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7537 from unused variable.
7538
874e0564
UD
7539 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7540 DWARF definitions.
7541 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7542 for assembling.
7543
3a2edc79
UD
7544 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7545 over namespaces.
7546
f3c2577f
UD
7547 * sunrpc/rpc_prot.c (rejected): Fix case value.
7548
294ce126
UD
7549 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7550 unsigned long long int to avoid warnings in shift.
7551
5e2b63c6
UD
7552 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7553 of use of trans.
7554 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7555 variable tmp.
7556
e7f4b08e
UD
7557 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7558 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7559 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7560
ab26144e
UD
7561 * nis/nis_table.c (nis_list): Use variable of correct type for
7562 result of __follow_path call.
7563
8a6d5255
AZ
75642011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7565
7566 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7567 of math functions ceil, trunc, floor, round, and sqrt, when
7568 avaliable on the platform.
7569 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7570 name clash.
7571 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7572 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7573 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7574
aaddc98c
MP
75752011-10-30 Marek Polacek <mpolacek@redhat.com>
7576
7577 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7578 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7579
95b7042b
RM
75802011-11-11 Roland McGrath <roland@hack.frob.com>
7581
7582 * include/unistd.h: Fix __readlink return type.
7583 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7584
57769839
UD
75852011-11-11 Ulrich Drepper <drepper@gmail.com>
7586
7587 * stdlib/ucontext.h: Undo last change for makecontext.
7588
edc5984d
AS
75892011-11-11 Andreas Schwab <schwab@redhat.com>
7590
98591e58
AS
7591 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7592
edc5984d
AS
7593 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7594 * setjmp/setjmp.h: Mark functions as non-leaf.
7595 * setjmp/bits/setjmp2.h: Likewise.
7596 * stdlib/ucontext.h: Likewise.
7597
77cdc054
AS
75982011-11-10 Andreas Schwab <schwab@redhat.com>
7599
7600 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7601 (reused_arena): Don't check arena limit.
7602 (arena_get2): Atomically check arena limit.
7603
fe72eebd
UD
76042011-11-08 Ulrich Drepper <drepper@gmail.com>
7605
5f078c32
UD
7606 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7607 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7608
fe72eebd
UD
7609 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7610 instructions.
7611
ae1bc2fa
AS
76122011-11-07 Andreas Schwab <schwab@redhat.com>
7613
7583a88d
AS
7614 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7615 handler when locking.
7616
ae1bc2fa
AS
7617 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7618 Fix size of allocated buffer.
7619
10fb0bfa
AS
76202011-11-04 Andreas Schwab <schwab@redhat.com>
7621
998832a4
AS
7622 [BZ #10103]
7623 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7624 declarations for long double functions.
7625 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7626
10fb0bfa
AS
7627 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7628
3d7ba52b
AS
76292011-11-03 Andreas Schwab <schwab@redhat.com>
7630
a9ae54a1
AS
7631 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7632 installed.
7633
3d7ba52b
AS
7634 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7635 is disabled.
7636
bc8db248
ST
76372011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7638
7639 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7640
45b96dd6
AS
76412011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7642
647776f6
AS
7643 * include/alloca.h (stackinfo_alloca_round): Define.
7644 (extend_alloca): Use it.
7645 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7646 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7647 here.
7648
d91a8b93
AS
7649 * scripts/check-local-headers.sh: Ignore libaudit.h.
7650
45b96dd6
AS
7651 * nscd/Makefile (extra-objs): Make recursively expanded.
7652
432d41ce
UD
76532011-11-01 Ulrich Drepper <drepper@gmail.com>
7654
34372fc6
UD
7655 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7656 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7657
fadb59f8
UD
7658 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7659 * posix/tst-rfc3484-2.c: Likewise.
7660 * posix/tst-rfc3484-3.c: Likewise.
7661
78239589
UD
7662 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7663 process_vm_writev.
7664 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7665 process_vm_writev.
7666 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7667 process_vm_writev from libc using GLIBC_2.15 version.
7668
432d41ce
UD
7669 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7670
02f9c6cf
PP
76712011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7672
7673 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7674 stack usage.
7675
3a2c0242
UD
76762011-10-31 Ulrich Drepper <drepper@gmail.com>
7677
f4ec4833
UD
7678 [BZ #13367]
7679 * nss/getent.c (initgroups_keys): Show error message in case no group
7680 names are given.
7681
3a2c0242
UD
7682 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7683 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7684 __bump_nl_timestamp.
7685 * nscd/connections (nscd_init): When host database is served open
7686 netlink socket and request notification about configuration changes.
7687 (main_loop_poll): Track netlink file descriptor and bump timestamp
7688 in case data becomes available.
7689 (main_loop_epoll): Likewise.
7690 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7691 (database_pers_head): Add extra_data fileds.
7692 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7693 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7694 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7695 Adjust caller.
7696 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7697 in6ai data, call __free_in6ai.
7698 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7699 Add -DHAVE_NETLINK.
7700 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7701 interface information. Reuse previous data if netlink timestamp
7702 is not changed.
7703 (__bump_nl_timestamp): New function.
7704 (__free_in6ai): New function.
7705
636064eb
UD
77062011-10-30 Ulrich Drepper <drepper@gmail.com>
7707
7708 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7709 close_not_cancel_no_status here.
7710 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7711
9beb2334
UD
77122011-10-29 Ulrich Drepper <drepper@gmail.com>
7713
6ef76f3b
UD
7714 [BZ #13276]
7715 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7716 return value.
7717
0ffc4f3e 7718 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7719 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7720 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7721
cb95113e
UD
77222011-07-03 Andreas Jaeger <aj@suse.de>
7723
7724 [BZ #10709]
7725 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7726 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7727 * math/libm-test.inc (sin_test): Add test case.
7728
a1b560ff
UD
77292011-10-29 Ulrich Drepper <drepper@gmail.com>
7730
c9aaface
UD
7731 [BZ #13337]
7732 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7733 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7734
d272e7f1
UD
7735 * elf/chroot_canon.c (chroot_canon): Cleanups.
7736
1bc33071
UD
7737 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7738
1760874d
TJ
7739 [BZ #13335]
7740 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7741 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7742
51d91b18
UD
7743 * string/test-strchr.c: Make usable for strchrnul testing.
7744 * string/test-strchrnul.c: New file.
7745 * string/Makefile (strop-tests): Add strchrnul.
7746
a1b560ff 7747 * po/it.po: Update from translation team.
b611fb81 7748 * po/es.po: Likewise.
a1b560ff 7749
a5b81e1f
UD
77502011-10-28 Ulrich Drepper <drepper@gmail.com>
7751
fd52bc6d
UD
7752 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7753 the three constants needed as parameters. Drop the others.
7754 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7755 __m128i_strloadu_tolower.
52e4b9eb
UD
7756 Create and initialize variable zero and use it in all the places
7757 where _mm_setzero_si128 was used.
fd52bc6d 7758
a5b81e1f
UD
7759 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7760 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7761 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7762 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7763 anymore.
7764 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7765 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7766 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7767 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7768 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7769 __mpranred, __mptan.
7770 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7771 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7772 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7773 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7774 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7775 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7777 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7778 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7779
b4343346
AS
77802011-10-28 Andreas Schwab <schwab@redhat.com>
7781
0c92d8a8
AS
7782 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7783 redefine if SHARED.
7784 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7785
b4343346
AS
7786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7787 wide char related routines to wcsmbs subdir.
7788
3871f58f
AS
77892011-10-27 Andreas Schwab <schwab@redhat.com>
7790
7791 [BZ #13344]
7792 * misc/sys/cdefs.h (__THROWNL): Define.
7793 * posix/unistd.h: Use __THREADNL instead of __THREAD
7794 for memory synchronization functions.
7795
94d44d9f
RM
77962011-10-26 Roland McGrath <roland@hack.frob.com>
7797
21b64b15 7798 [BZ #13349]
94d44d9f
RM
7799 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7800 doesn't exist.
7801 * manual/stdio.texi (Obstack Streams): Node removed.
7802
f6ce9294
AS
78032011-10-26 Andreas Schwab <schwab@redhat.com>
7804
80479147
AS
7805 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7806 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7807 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7808
f6ce9294
AS
7809 * math/math_private.h (math_force_eval): Allow non-addressable
7810 arguments.
7811 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7812
618280a1
UD
78132011-10-25 Ulrich Drepper <drepper@gmail.com>
7814
e0016b11
UD
7815 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7816 file is not needed.
7817
7818 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7819 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7820 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7821 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7822 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7823 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7824 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7825 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7826 Add AVX variants.
7827 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7828 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7829 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7830 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7831 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7832 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7833 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7834 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7835 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7836 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7837 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7838 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7839 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7840 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7841 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7842 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7843 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7844 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7845 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7846
7847 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7848 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7849
618280a1
UD
7850 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7851 place. Use VEX encoding when compiling for AVX.
7852
37822576
AS
78532011-10-25 Andreas Schwab <schwab@redhat.com>
7854
1f1e1947
AS
7855 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7856 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7857
37822576
AS
7858 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7859
31ea014d
UD
78602011-10-25 Ulrich Drepper <drepper@gmail.com>
7861
d7826aa1 7862 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7863 useless if() expression.
d7826aa1
UD
7864 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7865 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7866 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7867 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7868 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7869 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7870 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7871 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7872 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7873 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7874 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7875 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7876 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7877 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7878 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7879 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7880 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7882 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7883
31ea014d
UD
7884 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7885
16437fec
AS
78862011-10-25 Andreas Schwab <schwab@redhat.com>
7887
7888 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7889 condition.
7890 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7891
31d3cc00
UD
78922011-10-25 Ulrich Drepper <drepper@gmail.com>
7893
7894 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7895 .text section. Avoid duplicate constants.
7896 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7897 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7898 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7900 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7904 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7905 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7906 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7907 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7908 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7909 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7910 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7911 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7912 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7913 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7914 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7915 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7916 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7917 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7918 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7919 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7920 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7921 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7922 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7923 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7924 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7925 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7926 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7927 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7928 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7929 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7930 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7931 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7932 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7933 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7934 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7935 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7936 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7937 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7938 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7939 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7940 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7941
58985aa9
UD
79422011-10-24 Ulrich Drepper <drepper@gmail.com>
7943
202c9deb
UD
7944 * sysdeps/x86_64/dla.h: Move to ...
7945 * sysdeps/x86_64/fpu/dla.h: ...here.
7946 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7947 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7948
af968f62
UD
7949 * config.make.in: Add have-mfma4 entry.
7950 * configure.in: Substitute libc_cv_cc_fma4.
7951 * math/Makefile (dbl-only-routines): Add sincostab.
7952 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7953 Use __sincostab not sincos.
7954 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7955 name is a macro.
7956 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7957 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7959 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7960 using __copysign.
7961 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7962 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7963 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7964 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7965 and __inv.
7966 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7967 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7968 __copysign.
7969 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7970 define aliases when function name is a macro.
7971 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7972 sysdeps/ieee754/dbl-64/sincos.tbl.
7973 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7974 fma4-enabled routines.
7975 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7976 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7977 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7978 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7979 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7980 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7981 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7982 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7983 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7984 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7985 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7986 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7987 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7988 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7989 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7990 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7991 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7992 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7993 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7994 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7995 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7996 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7997 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7998 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7999 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8000 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8001 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8002 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8003 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8004 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8005
58985aa9
UD
8006 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8007 rename.
8008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8014 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8016
a201fbcf
AS
80172011-10-24 Andreas Schwab <schwab@redhat.com>
8018
8019 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8020
fc2ee42a
LD
80212011-10-23 Ulrich Drepper <drepper@gmail.com>
8022
bb3129bd
UD
8023 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8024
0275fff8
UD
8025 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8026 prediction.
8027 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8028
2fa2ae85
UD
8029 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8030 Remove unused variable magic_bits.
8031 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8032
fc2ee42a
LD
8033 * string/strnlen.c: Define and use STRNLEN macro.
8034 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8035 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8036 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8037 * wcsmbs/wcslen.c: Define and use WCSLEN.
8038 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8039 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8040 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8041 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8042 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8043 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8044 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8045
ce7dd29f
LD
80462011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8047
8048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8049 strnlen-sse2-no-bsf.
8050 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8051 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8052 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8053 Add strnlen support.
8054 (USE_AS_STRNLEN): New macro.
8055 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8056 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8057 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8058 * sysdeps/x86_64/wcslen.S: New file.
8059
979c70a3
MZ
80602011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8061
8062 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8063 XMM-moves are used for copying on small sizes.
8064
2d09f82f
LD
80652011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8066
8067 * wcsmbs/Makefile (strop-tests): Add wcschr.
8068 * wcsmbs/test-wcschr.c: New file.
8069 * string/test-strchr.c: Update.
8070 Add wcschr support.
8071 (WIDE): New macro.
8072
619fccca
LD
80732011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8074
2d09f82f 8075 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8076 * wcsmbs/test-wcslen.c: New file.
8077 * string/test-strlen.c: Update.
8078 Add wcslen support.
8079 (WIDE): New macro.
8080
09f699ea
UD
80812011-10-23 Ulrich Drepper <drepper@gmail.com>
8082
8083 * po/it.po: Update from translation team.
8084
95584d3b
LD
80852011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8086
8087 * sysdeps/x86_64/wcscmp.S: Update.
8088 Fix wrong comparison semantics.
8089 wcscmp shall use signed comparison not unsigned.
8090 Don't use substraction to avoid overflow bug.
8091 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8092 * wcsmbc/wcscmp.c: Likewise.
8093 * string/test-strcmp.c: Likewise.
8094 Add new tests to check cases with negative values.
8095
c8b3296b
UD
80962011-10-23 Ulrich Drepper <drepper@gmail.com>
8097
8098 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8099 * sysdeps/x86_64/dla.h: ...here. New file.
8100 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8102 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8105 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8106 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8107 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8108 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8109
246ad57a
AS
81102011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8111
8112 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8113 __ynl_finite aliases.
8114
a1a87169
UD
81152011-10-22 Ulrich Drepper <drepper@gmail.com>
8116
0d355eb7
UD
8117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8118
a1a87169
UD
8119 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8120 define DLA_FMA.
8121 [DLA_FMA] (EMULV): Use DLA_FMA.
8122 [DLA_FMA] (MUL12): Use EMULV.
8123 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8124 that are not needed.
8125 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8127 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8128 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8129 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8132
ee2aafe0
AS
81332011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8134
8135 * math/s_nan.c: Undef __nan.
8136 * math/s_nanf.c: Undef __nanf.
8137 * math/s_nanl.c: Undef __nanl.
8138 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8139 "math_private.h".
8140
bc62c2fb
UD
81412011-10-22 Ulrich Drepper <drepper@gmail.com>
8142
77425c63
UD
8143 * math/s_catan.c: Add branch predictions.
8144 * math/s_catanf.c: Likewise.
8145 * math/s_catanh.c: Likewise.
8146 * math/s_catanhf.c: Likewise.
8147 * math/s_catanhl.c: Likewise.
8148 * math/s_catanl.c: Likewise.
8149 * math/s_cexp.c: Likewise.
8150 * math/s_cexpf.c: Likewise.
8151 * math/s_cexpl.c: Likewise.
8152 * math/s_clog.c: Likewise.
8153 * math/s_clog10.c: Likewise.
8154 * math/s_clog10f.c: Likewise.
8155 * math/s_clog10l.c: Likewise.
8156 * math/s_clogf.c: Likewise.
8157 * math/s_clogl.c: Likewise.
8158 * math/s_csqrt.c: Likewise.
8159 * math/s_csqrtf.c: Likewise.
8160 * math/s_csqrtl.c: Likewise.
8161 * math/s_ctanf.c: Likewise.
8162 * math/s_ctanh.c: Likewise.
8163 * math/s_ctanhf.c: Likewise.
8164 * math/s_ctanhl.c: Likewise.
8165 * math/s_ctanl.c: Likewise.
8166
bc62c2fb
UD
8167 * math/math_private.h: Define __nan, __nanf, __nanl.
8168 * math/s_cacosh.c: Include <math_private.h>.
8169 * math/s_cacoshl.c: Likewise.
8170 * math/s_casinh.c: Likewise.
8171 * math/s_casinhf.c: Likewise.
8172 * math/s_casinhl.c: Likewise.
8173 * math/s_ccos.c: Rely entire on ccosh.
8174 * math/s_ccosf.c: Rely entire on ccoshf.
8175 * math/s_ccosl.c: Rely entirely on ccoshl.
8176 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8177 Remove tests for FE_INVALID.
8178 * math/s_ccoshf.c: Likewise.
8179 * math/s_ccoshl.c: Likewise.
8180 * math/s_csin.c: Likewise.
8181 * math/s_csinf.c: Likewise.
8182 * math/s_csinh.c Likewise.
8183 * math/s_csinhf.c: Likewise.
8184 * math/s_csinhl.c: Likewise.
8185 * math/s_csinl.c: Likewise.
8186 * math/s_ctan.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8188 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8189 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8190
8ec250a4
UD
81912011-10-21 Ulrich Drepper <drepper@gmail.com>
8192
c196fed8
UD
8193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8194 compilation problems.
8195
8ec250a4
UD
8196 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8197 __builtin_expect.
8198
8d4f46c6
UD
81992011-10-20 Ulrich Drepper <drepper@gmail.com>
8200
ed72b654
UD
8201 * sysdeps/i386/configure.in: Test for -mfma4 option.
8202 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8203 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8204 COMMON_CPUID_INDEX_80000001.
8205 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8206 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8207 use it if FMA3 is not supported.
8208 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8209
8d4f46c6
UD
8210 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8211 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8212
d45c60c2
AS
82132011-10-20 Andreas Schwab <schwab@redhat.com>
8214
8215 [BZ #12892]
8216 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8217 it would create a cycle with a link time dependency.
8218
d9a4d2ab
UD
82192011-10-19 Ulrich Drepper <drepper@gmail.com>
8220
855d1560
UD
8221 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8222 instruction.
8223 * string/Makefile (strop-tests): Add rawmemchr.
8224 * string/test-rawmemchr.c: New file.
8225
d9a4d2ab
UD
8226 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8227 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8228 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8229 when compiling str{,n}casecmp and when AVX is available. Hook up
8230 new optimized code in initializers.
8231
8f3b1ffe
AS
82322011-10-19 Andreas Schwab <schwab@redhat.com>
8233
8234 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8235 __feraiseexcept instead of feraiseexcept.
8236
d38f1dba
UD
82372011-10-18 Ulrich Drepper <drepper@gmail.com>
8238
d9a8d0ab
UD
8239 * math/math_private.h: Define defaults for libc_fetestexcept and
8240 libc_feupdateenv.
8241 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8242 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8243 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8244 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8245 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8246 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8247 libc_fetestexcept and libc_feupdateenv.
8248
4855e3dd
UD
8249 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8250 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8251 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8252 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8253 libc_feholdexcept_setround.
8254
581d30e3
UD
8255 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8256 Add s_nearbyint-c and s_nearbyintf-c.
8257 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8258 nearbyintf inlines.
8259 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8260 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8261 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8262 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8263
d38f1dba
UD
8264 * math/math_private.h: Define defaults for libc_fegetround,
8265 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8266 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8267 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8268 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8269 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8270 standard functions.
8271 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8272 Remove comments and hacks for old compiler versions.
8273 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8274 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8275 libc_feholdexceptl.
8276
caa6c9d8
AS
82772011-10-18 Andreas Schwab <schwab@redhat.com>
8278
8279 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8280 (__feraiseexcept_renamed): Add __NTH.
8281 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8282 namespace violations.
8283
97c066e6
UD
82842011-10-17 Ulrich Drepper <drepper@gmail.com>
8285
99ce7b04
UD
8286 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8287
1004d182
UD
8288 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8289
228a984d
UD
8290 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8291 recently added interfaces.
8292 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8293
c8553a6a
UD
8294 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8295 about macro parameter expansion.
8296
ed22dcf6
UD
8297 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8298 __NO_MATH_INLINES is defined. Cleanups.
8299
8300 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8301 and __floorf is target has SSE4.1.
8302 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8303 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8304 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8305 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8306
b171c137
UD
8307 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8308 name.
8309 (floorf): Likewise.
8310
97c066e6
UD
8311 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8312
629f62ef
AS
83132011-10-17 Andreas Schwab <schwab@redhat.com>
8314
49a43d80
AS
8315 * misc/sys/cdefs.h: Fix last change.
8316
629f62ef
AS
8317 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8318 database lookup.
8319
e453f6cd
UD
83202011-10-16 Ulrich Drepper <drepper@gmail.com>
8321
aa78043a
UD
8322 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8323
ad0f5cad
UD
8324 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8325 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8327 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8329 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8330 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8331 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8332 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8333 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8334 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8335 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8336 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8337 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8338 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8339 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8340 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8341 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8342 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8343 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8344 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8345 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8346
8347 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8348 ceil, ceilf, floor, floorf.
8349
8350 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8351 Perform IRELATIVE relocations last.
8352
e453f6cd
UD
8353 * elf/do-rel.h: Add another parameter nrelative, replacing the
8354 local variable with the same name. Change name of the function
8355 to end in Rel or Rela (uppercase).
8356 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8357 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8358 elf_dynamic_do_##reloc function.
8359
fd5bdc09
UD
83602011-10-15 Ulrich Drepper <drepper@gmail.com>
8361
79b195b5
UD
8362 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8363 is sufficient, at least on modern CPUs.
8364
d4a28569
UD
8365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8366
b61099b5
UD
8367 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8368 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8369
bcf01e6d
UD
8370 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8371 __expl_finite.
8372 * math/bits/math-finite.h: Add entries for exp.
8373 * math/e_expl.c: Add __*_finite alias.
8374 * sysdeps/i386/fpu/e_exp.S: Likewise.
8375 * sysdeps/i386/fpu/e_expf.S: Likewise.
8376 * sysdeps/i386/fpu/e_expl.c: Likewise.
8377 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8378 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8379 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8381 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8382 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8383 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8384
ba1a0d59
UD
8385 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8386 is sufficient, at least on modern CPUs.
8387
fd5bdc09
UD
8388 * ctype/ctype-info.c (__ctype_init): Define.
8389 * include/ctype.h (__ctype_init): Declare.
8390 (__ctype_b_loc): The variable is always initialized.
8391 (__ctype_toupper_loc): Likewise.
8392 (__ctype_tolower_loc): Likewise.
8393 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8394 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8395
7872cfb0
AS
83962011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8397
b468825a
AS
8398 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8399
7872cfb0
AS
8400 * configure.in: Also look in $cxxmachine/include for C++ system
8401 headers.
8402
be13f7bf
LD
84032011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8404
8405 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8406 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8407 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8408 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8409 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8410 (USE_AS_WMEMCMP): New macro.
8411 Fixing indents.
8412 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8413 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8414 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8415 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8417 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8418 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8419 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8420 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8421 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8422 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8423 (USE_AS_WMEMCMP): New macro.
8424 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8425 * sysdeps/string/test-memcmp.c: Update.
8426 Fix simple_wmemcmp.
8427 Add new tests.
8428 * wcsmbs/wmemcmp.c: Update.
8429 (WMEMCMP): New macro.
8430 Fix overflow bug.
8431
556a2007
AJ
84322011-10-12 Andreas Jaeger <aj@suse.de>
8433
8434 [BZ #13268]
8435 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8436
538faaa7
UD
84372011-10-15 Ulrich Drepper <drepper@gmail.com>
8438
ab6737ff
UD
8439 * libio/iofwide.c (do_length): Avoid warning.
8440
538faaa7
UD
8441 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8442
396a21b1
UD
84432011-10-14 Ulrich Drepper <drepper@gmail.com>
8444
cdf2901f
UD
8445 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8446
38ad40ce
UD
8447 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8448 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8449 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8450 * sysdeps/i386/i686/fpu/e_log.S: New file.
8451 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8452 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8453
396a21b1
UD
8454 * ctype/ctype.h: Add support for inlined isXXX functions when
8455 compiling C++ code.
8456
6b1f68c9
AS
84572011-10-14 Andreas Schwab <schwab@redhat.com>
8458
349290c0
AS
8459 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8460
6b1f68c9
AS
8461 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8462
f2282d42
RM
84632011-10-13 Roland McGrath <roland@hack.frob.com>
8464
8465 [BZ #13291]
8466 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8467
5298ffa8
AS
84682011-10-13 Andreas Schwab <schwab@redhat.com>
8469
714fad23
AS
8470 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8471 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8472 feraiseexcept.
8473
81dcc7fb
AS
8474 * sysdeps/x86_64/memrchr.S: Check for zero size.
8475
5298ffa8
AS
8476 * string/stratcliff.c: Add memrchr tests.
8477
951fbcec
LD
84782011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8479
8480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8481 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8482 rawmemchr-sse2 rawmemchr-sse2-bsf.
8483 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8484 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8485 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8486 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8487 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8488 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8489 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8490 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8491 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8492 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8493 * string/memrchr.c (MEMRCHR): New macro.
8494
0ac5ae23
UD
84952011-10-12 Ulrich Drepper <drepper@gmail.com>
8496
8497 Add integration with gcc's -ffinite-math-only and optimize wrapper
8498 functions in libm.
8499 * Versions.def: Define GLIBC_2.15 version for libm.
8500 * math/Makefile (headers): Add bits/math-finite.h.
8501 * math/bits/math-finite.h: New file.
8502 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8503 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8504 * math/e_acoshl.c: Add __*_finite alias.
8505 * math/e_acosl.c: Likewise.
8506 * math/e_asinl.c: Likewise.
8507 * math/e_atan2l.c: Likewise.
8508 * math/e_atanhl.c: Likewise.
8509 * math/e_coshl.c: Likewise.
8510 * math/e_exp10.c: Likewise.
8511 * math/e_exp10f.c: Likewise.
8512 * math/e_exp10l.c: Likewise.
8513 * math/e_exp2l.c: Likewise.
8514 * math/e_fmodl.c: Likewise.
8515 * math/e_gammal_r.c: Likewise.
8516 * math/e_hypotl.c: Likewise.
8517 * math/e_j0l.c: Likewise.
8518 * math/e_j1l.c: Likewise.
8519 * math/e_jnl.c: Likewise.
8520 * math/e_lgammal_r.c: Likewise.
8521 * math/e_log10l.c: Likewise.
8522 * math/e_log2l.c: Likewise.
8523 * math/e_logl.c: Likewise.
8524 * math/e_powl.c: Likewise.
8525 * math/e_sinhl.c: Likewise.
8526 * math/e_sqrtl.c: Likewise.
8527 * math/e_scalb.c: Completely rewritten and optimized.
8528 * math/e_scalbf.c: Likewise.
8529 * math/e_scalbl.c: Likewise.
8530 * math/w_acos.c: Likewise.
8531 * math/w_acosf.c: Likewise.
8532 * math/w_acosl.c: Likewise.
8533 * math/w_acosh.c: Likewise.
8534 * math/w_acoshf.c: Likewise.
8535 * math/w_acoshl.c: Likewise.
8536 * math/w_asin.c: Likewise.
8537 * math/w_asinf.c: Likewise.
8538 * math/w_asinl.c: Likewise.
8539 * math/w_atan2.c: Likewise.
8540 * math/w_atan2f.c: Likewise.
8541 * math/w_atan2l.c: Likewise.
8542 * math/w_atanh.c: Likewise.
8543 * math/w_atanhf.c: Likewise.
8544 * math/w_atanhl.c: Likewise.
8545 * math/w_exp10.c: Likewise.
8546 * math/w_exp10f.c: Likewise.
8547 * math/w_exp10l.c: Likewise.
8548 * math/w_fmod.c: Likewise.
8549 * math/w_fmodf.c: Likewise.
8550 * math/w_fmodl.c: Likewise.
8551 * math/w_j0.c: Likewise.
8552 * math/w_j0f.c: Likewise.
8553 * math/w_j0l.c: Likewise.
8554 * math/w_j1.c: Likewise.
8555 * math/w_j1f.c: Likewise.
8556 * math/w_j1l.c: Likewise.
8557 * math/w_jn.c: Likewise.
8558 * math/w_jnf.c: Likewise.
8559 * math/w_log.c: Likewise.
8560 * math/w_logf.c: Likewise.
8561 * math/w_logl.c: Likewise.
8562 * math/w_log10.c: Likewise.
8563 * math/w_log10f.c: Likewise.
8564 * math/w_log10l.c: Likewise.
8565 * math/w_log2.c: Likewise.
8566 * math/w_log2f.c: Likewise.
8567 * math/w_log2l.c: Likewise.
8568 * math/w_pow.c: Likewise.
8569 * math/w_powf.c: Likewise.
8570 * math/w_powl.c: Likewise.
8571 * math/w_remainder.c: Likewise.
8572 * math/w_remainderf.c: Likewise.
8573 * math/w_remainderl.c: Likewise.
8574 * math/w_scalb.c: Likewise.
8575 * math/w_scalbf.c: Likewise.
8576 * math/w_scalbl.c: Likewise.
8577 * math/w_sqrt.c: Likewise.
8578 * math/w_sqrtf.c: Likewise.
8579 * math/w_sqrtl.c: Likewise.
8580 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8581 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8582 used.
8583 * math/math_private.h: Declare __kernel_standard_f.
8584 * math/w_cosh.c: Remove cruft and optimize a bit.
8585 * math/w_coshf.c: Likewise.
8586 * math/w_coshl.c: Likewise.
8587 * math/w_exp2.c: Likewise.
8588 * math/w_exp2f.c: Likewise.
8589 * math/w_exp2l.c: Likewise.
8590 * math/w_hypot.c: Likewise.
8591 * math/w_hypotf.c: Likewise.
8592 * math/w_hypotl.c: Likewise.
8593 * math/w_lgamma.c: Likewise.
8594 * math/w_lgamma_r.c: Likewise.
8595 * math/w_lgammaf.c: Likewise.
8596 * math/w_lgammaf_r.c: Likewise.
8597 * math/w_lgammal.c: Likewise.
8598 * math/w_lgammal_r.c: Likewise.
8599 * math/w_sinh.c: Likewise.
8600 * math/w_sinhf.c: Likewise.
8601 * math/w_sinhl.c: Likewise.
8602 * math/w_tgamma.c: Likewise.
8603 * math/w_tgammaf.c: Likewise.
8604 * math/w_tgammal.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8606 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8607 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8608 Minor optimizations. Pretty printing. Remove cruft.
8609 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8610 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8611 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8612 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8613 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8614 * sysdeps/i386/fpu/e_asin.S: Likewise.
8615 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8616 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8617 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8618 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8619 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8620 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8621 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8622 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8623 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8624 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8625 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8626 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8627 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8628 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8629 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8630 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8631 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8632 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8633 * sysdeps/i386/fpu/e_log.S: Likewise.
8634 * sysdeps/i386/fpu/e_log10.S: Likewise.
8635 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8636 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8637 * sysdeps/i386/fpu/e_log2.S: Likewise.
8638 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8639 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8640 * sysdeps/i386/fpu/e_logf.S: Likewise.
8641 * sysdeps/i386/fpu/e_logl.S: Likewise.
8642 * sysdeps/i386/fpu/e_pow.S: Likewise.
8643 * sysdeps/i386/fpu/e_powf.S: Likewise.
8644 * sysdeps/i386/fpu/e_powl.S: Likewise.
8645 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8646 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8647 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8648 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8649 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8650 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8651 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8652 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8653 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8655 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8656 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8659 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8660 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8661 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8662 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8675 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8676 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8677 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8678 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8679 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8680 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8681 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8682 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8683 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8684 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8685 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8686 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8687 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8688 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8689 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8690 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8691 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8692 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8693 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8694 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8695 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8734 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8737 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8739 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8740 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8742 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8745 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8746 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8747 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8748 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8749 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8750 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8751 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8752 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8753 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8754 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8755 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8756 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8757 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8758 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8759 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8760 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8761 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8762 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8763 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8764 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8765 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8766 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8767 (__isnanf): Likewise.
8768 (__isinf_ns): Likewise.
8769 (__isinf_nsf): Likewise.
8770 (__finite): Likewise.
8771 (__finitef): Likewise.
8772 (__ieee754_sqrt): Define as macro.
8773 (__ieee754_sqrtf): Define as macro.
8774 (__ieee754_sqrtl): Define as macro.
8775 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8776 inlined copy.
8777 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8778 __FINITE_MATH_ONLY__ consistent.
8779 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8780
12cc2fcd
AS
87812011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8782
a843a204
AS
8783 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8784 of rawmemchr.
8785
12cc2fcd
AS
8786 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8787
c853acd5
UD
87882011-10-09 Ulrich Drepper <drepper@gmail.com>
8789
8790 * po/ja.po: Update from translation team.
8791
c658d255
RM
87922011-10-08 Roland McGrath <roland@hack.frob.com>
8793
110946e4
RM
8794 * locale/programs/locarchive.c (prepare_address_space): New function.
8795 (create_archive, enlarge_archive, open_archive): Use it.
8796
50604220
RM
8797 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8798 inside [SHARED], where it is used.
8799
c658d255
RM
8800 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8801
8802 * nss/getent.c (netgroup_keys): Remove unused variable.
8803 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8804
6a621eb7
UD
88052011-10-08 Ulrich Drepper <drepper@gmail.com>
8806
7edb55ce
UD
8807 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8808 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8810 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8811 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8812 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8813 * math/Makefile (libm-calls): Add s_isinf_ns.
8814 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8815 * math/multc3.c: Likewise.
8816 * math/s_casin.c: Likewise.
8817 * math/s_casinf.c: Likewise.
8818 * math/s_casinl.c: Likewise.
8819 * math/s_ccos.c: Likewise.
8820 * math/s_ccosf.c: Likewise.
8821 * math/s_ccosl.c: Likewise.
8822 * math/s_ctan.c: Likewise.
8823 * math/s_ctanf.c: Likewise.
8824 * math/s_ctanh.c: Likewise.
8825 * math/s_ctanhf.c: Likewise.
8826 * math/s_ctanhl.c: Likewise.
8827 * math/s_ctanl.c: Likewise.
8828 * math/w_fmod.c: Likewise.
8829 * math/w_fmodf.c: Likewise.
8830 * math/w_fmodl.c: Likewise.
8831 * math/w_remainder.c: Likewise.
8832 * math/w_remainderf.c: Likewise.
8833 * math/w_remainderl.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8835 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8836 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8837 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8838 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8839 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8840 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8841 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8842
187da0ae
UD
8843 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8844 of the number.
8845 * stdio-common/printf_fphex.c: Likewise.
8846 * stdio-common/printf_size.c: Likewise.
8847
9277c064
UD
8848 * math/e_exp10.c: Include math_private.h using <...> not "...".
8849 * math/e_exp10f.c: Likewise.
8850 * math/e_exp10l.c: Likewise.
8851 * math/e_exp2l.c: Likewise.
8852 * math/e_j0l.c: Likewise.
8853 * math/e_j1l.c: Likewise.
8854 * math/e_jnl.c: Likewise.
8855 * math/e_lgammal_r.c: Likewise.
8856 * math/e_rem_pio2l.c: Likewise.
8857 * math/e_scalb.c: Likewise.
8858 * math/e_scalbf.c: Likewise.
8859 * math/e_scalbl.c: Likewise.
8860 * math/k_cosl.c: Likewise.
8861 * math/k_sinl.c: Likewise.
8862 * math/k_tanl.c: Likewise.
8863 * math/s_cacoshf.c: Likewise.
8864 * math/s_catan.c: Likewise.
8865 * math/s_catanf.c: Likewise.
8866 * math/s_catanh.c: Likewise.
8867 * math/s_catanhf.c: Likewise.
8868 * math/s_catanhl.c: Likewise.
8869 * math/s_catanl.c: Likewise.
8870 * math/s_ccosh.c: Likewise.
8871 * math/s_ccoshf.c: Likewise.
8872 * math/s_ccoshl.c: Likewise.
8873 * math/s_cexp.c: Likewise.
8874 * math/s_cexpf.c: Likewise.
8875 * math/s_cexpl.c: Likewise.
8876 * math/s_clog.c: Likewise.
8877 * math/s_clog10.c: Likewise.
8878 * math/s_clog10f.c: Likewise.
8879 * math/s_clog10l.c: Likewise.
8880 * math/s_clogf.c: Likewise.
8881 * math/s_clogl.c: Likewise.
8882 * math/s_csin.c: Likewise.
8883 * math/s_csinf.c: Likewise.
8884 * math/s_csinh.c: Likewise.
8885 * math/s_csinhf.c: Likewise.
8886 * math/s_csinhl.c: Likewise.
8887 * math/s_csinl.c: Likewise.
8888 * math/s_csqrt.c: Likewise.
8889 * math/s_csqrtf.c: Likewise.
8890 * math/s_csqrtl.c: Likewise.
8891 * math/s_ctan.c: Likewise.
8892 * math/s_ctanf.c: Likewise.
8893 * math/s_ctanh.c: Likewise.
8894 * math/s_ctanhf.c: Likewise.
8895 * math/s_ctanhl.c: Likewise.
8896 * math/s_ctanl.c: Likewise.
8897 * math/s_ldexp.c: Likewise.
8898 * math/s_ldexpf.c: Likewise.
8899 * math/s_ldexpl.c: Likewise.
8900 * math/s_significand.c: Likewise.
8901 * math/s_significandf.c: Likewise.
8902 * math/s_significandl.c: Likewise.
8903 * math/w_acos.c: Likewise.
8904 * math/w_acosf.c: Likewise.
8905 * math/w_acosh.c: Likewise.
8906 * math/w_acoshf.c: Likewise.
8907 * math/w_acoshl.c: Likewise.
8908 * math/w_acosl.c: Likewise.
8909 * math/w_asin.c: Likewise.
8910 * math/w_asinf.c: Likewise.
8911 * math/w_asinl.c: Likewise.
8912 * math/w_atan2.c: Likewise.
8913 * math/w_atan2f.c: Likewise.
8914 * math/w_atan2l.c: Likewise.
8915 * math/w_atanh.c: Likewise.
8916 * math/w_atanhf.c: Likewise.
8917 * math/w_atanhl.c: Likewise.
8918 * math/w_cosh.c: Likewise.
8919 * math/w_coshf.c: Likewise.
8920 * math/w_coshl.c: Likewise.
8921 * math/w_dremf.c: Likewise.
8922 * math/w_exp10.c: Likewise.
8923 * math/w_exp10f.c: Likewise.
8924 * math/w_exp10l.c: Likewise.
8925 * math/w_exp2.c: Likewise.
8926 * math/w_exp2f.c: Likewise.
8927 * math/w_fmod.c: Likewise.
8928 * math/w_fmodf.c: Likewise.
8929 * math/w_fmodl.c: Likewise.
8930 * math/w_hypot.c: Likewise.
8931 * math/w_hypotf.c: Likewise.
8932 * math/w_hypotl.c: Likewise.
8933 * math/w_j0.c: Likewise.
8934 * math/w_j0f.c: Likewise.
8935 * math/w_j0l.c: Likewise.
8936 * math/w_j1.c: Likewise.
8937 * math/w_j1f.c: Likewise.
8938 * math/w_j1l.c: Likewise.
8939 * math/w_jn.c: Likewise.
8940 * math/w_jnf.c: Likewise.
8941 * math/w_jnl.c: Likewise.
8942 * math/w_lgamma.c: Likewise.
8943 * math/w_lgamma_r.c: Likewise.
8944 * math/w_lgammaf.c: Likewise.
8945 * math/w_lgammaf_r.c: Likewise.
8946 * math/w_lgammal.c: Likewise.
8947 * math/w_lgammal_r.c: Likewise.
8948 * math/w_log.c: Likewise.
8949 * math/w_log10.c: Likewise.
8950 * math/w_log10f.c: Likewise.
8951 * math/w_log10l.c: Likewise.
8952 * math/w_log2.c: Likewise.
8953 * math/w_log2f.c: Likewise.
8954 * math/w_log2l.c: Likewise.
8955 * math/w_logf.c: Likewise.
8956 * math/w_logl.c: Likewise.
8957 * math/w_pow.c: Likewise.
8958 * math/w_powf.c: Likewise.
8959 * math/w_powl.c: Likewise.
8960 * math/w_remainder.c: Likewise.
8961 * math/w_remainderf.c: Likewise.
8962 * math/w_remainderl.c: Likewise.
8963 * math/w_scalb.c: Likewise.
8964 * math/w_scalbf.c: Likewise.
8965 * math/w_scalbl.c: Likewise.
8966 * math/w_sinh.c: Likewise.
8967 * math/w_sinhf.c: Likewise.
8968 * math/w_sinhl.c: Likewise.
8969 * math/w_sqrt.c: Likewise.
8970 * math/w_sqrtf.c: Likewise.
8971 * math/w_sqrtl.c: Likewise.
8972 * math/w_tgamma.c: Likewise.
8973 * math/w_tgammaf.c: Likewise.
8974 * math/w_tgammal.c: Likewise.
8975
6a621eb7
UD
8976 * po/ja.po: Update from translation team.
8977
bf582445
AJ
89782011-09-29 Andreas Jaeger <aj@suse.de>
8979
f9efbf3a
AJ
8980 [BZ #13179]
8981 * sunrpc/netname.c (netname2host): Fix logic.
8982
bf582445
AJ
8983 [BZ #6779]
8984 [BZ #6783]
8985 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8986 correctly.
8987 * math/w_remainder.c (__remainder): Likewise.
8988 * math/w_remainderf.c (__remainderf): Likewise.
8989 * math/libm-test.inc (remainder_test): Add test cases.
8990
48693bea
AK
89912011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8992
8993 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8994 sdiv_qrnnd.
8995
42622229
LD
89962011-10-07 Ulrich Drepper <drepper@gmail.com>
8997
8998 * string/test-memcmp.c: Avoid unncessary #defines.
8999 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9000
093ecf92
LD
90012011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9002
9003 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9004 Use new sse2 version for core i3 - i7 as it's faster
9005 than sse42 version.
9006 (bit_Prefer_PMINUB_for_stringop): New.
9007 * sysdeps/x86_64/rawmemchr.S: Update.
9008 Replace with faster SSE2 version.
9009 * sysdeps/x86_64/memrchr.S: New file.
9010 * sysdeps/x86_64/memchr.S: Update.
9011 Replace with faster SSE2 version.
9012
fde56e5c
MP
90132011-09-12 Marek Polacek <mpolacek@redhat.com>
9014
9015 * elf/dl-load.c (lose): Add cast to avoid warning.
9016
21fd49a9
UD
90172011-10-07 Ulrich Drepper <drepper@gmail.com>
9018
5a06e643
UD
9019 * po/ca.po: Update from translation team.
9020
684ae515
UD
9021 * inet/getnetgrent_r.c: Hook up nscd.
9022 * nscd/Makefile (routines): Add nscd_netgroup.
9023 (nscd-modules): Add netgroupcache.
9024 (CFLAGS-netgroupcache.c): Define.
9025 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9026 (cache_search): Add const to second parameter.
9027 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9028 INNETGR.
9029 (dbs): Add netgrdb entry.
9030 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9031 (verify_persistent_db): Handle netgrdb.
9032 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9033 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9034 GETFDNETGR.
9035 (netgroup_response_header): Define.
9036 (innetgroup_response_header): Define.
9037 (datahead): Add netgroup_response_header and innetgroup_response_header
9038 elements.
9039 * nscd/nscd.conf: Add entries for netgroup cache.
9040 * nscd/nscd.h (dbtype): Add netgrdb.
9041 (_PATH_NSCD_NETGROUP_DB): Define.
9042 (netgroup_iov_disabled): Declare.
9043 (xmalloc, xcalloc, xrealloc): Move declarations here.
9044 (cache_search): Adjust prototype.
9045 Add netgroup-related prototypes.
9046 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9047 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9048 (__nscd_innetgr): Declare.
9049 * nscd/selinux.c (perms): Use access_vector_t as element type and
9050 add netgroup-related initializers.
9051 * nscd/netgroupcache.c: New file.
9052 * nscd/nscd_netgroup.c: New file.
9053 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9054 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9055 For four parameters use innetgr.
9056 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9057 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9058 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9059 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9060
21fd49a9
UD
9061 * nscd/connections.c (register_traced_file): Don't register file
9062 for disabled databases.
9063
054c0457
UD
90642011-10-06 Ulrich Drepper <drepper@gmail.com>
9065
32b63198
UD
9066 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9067
054c0457
UD
9068 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9069 from tree and freeing node.
9070
64031225
JO
90712011-09-25 Jiri Olsa <jolsa@redhat.com>
9072
9073 * nss/nsswitch.c (__nss_database_lookup): Handle
9074 nss_parse_service_list out of memory case.
9075
0490345c
JO
90762011-09-15 Jiri Olsa <jolsa@redhat.com>
9077
9078 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9079 out of memory case.
9080
3a62d00d
AS
90812011-10-04 Andreas Schwab <schwab@redhat.com>
9082
9083 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9084 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9085 pass it down.
9086 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9087 elf_machine_rela, elf_machine_lazy_rel.
9088 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9089 (ELF_DYNAMIC_DO_REL): Likewise.
9090 (ELF_DYNAMIC_DO_RELA): Likewise.
9091 (ELF_DYNAMIC_RELOCATE): Likewise.
9092 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9093 to ELF_DYNAMIC_DO_REL.
9094 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9095 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9096 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9097 elf_machine_rela.
9098 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9099 skip_ifunc, don't call ifunc function if non-zero.
9100 (elf_machine_rela): Likewise.
9101 (elf_machine_lazy_rel): Likewise.
9102 (elf_machine_lazy_rela): Likewise.
9103 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9104 (elf_machine_lazy_rel): Likewise.
9105 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9106 Likewise.
9107 (elf_machine_lazy_rel): Likewise.
9108 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9109 Likewise.
9110 (elf_machine_lazy_rel): Likewise.
9111 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9112 (elf_machine_lazy_rel): Likewise.
9113 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9114 (elf_machine_lazy_rel): Likewise.
9115 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9116 (elf_machine_lazy_rel): Likewise.
9117 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9118 (elf_machine_lazy_rel): Likewise.
9119 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9120 (elf_machine_lazy_rel): Likewise.
9121 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9122 (elf_machine_lazy_rel): Likewise.
9123
68577918
UD
91242011-09-28 Ulrich Drepper <drepper@gmail.com>
9125
9126 * nss/nss_files/files-init.c (_nss_files_init): Use static
9127 initialization for all the *_traced_file variables.
9128
68822d74
AS
91292011-09-28 Andreas Schwab <schwab@redhat.com>
9130
9131 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9132
2056100b
RM
91332011-09-27 Roland McGrath <roland@hack.frob.com>
9134
9135 [BZ #13226]
9136 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9137
32c76b63
AS
91382011-09-27 Andreas Schwab <schwab@redhat.com>
9139
9140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9141 Reread the line before reparsing it.
9142
bf972c9d
AS
91432011-09-26 Andreas Schwab <schwab@redhat.com>
9144
9145 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9146
e057a1b5
JM
91472011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9148 Maxim Kuvyrkov <maxim@codesourcery.com>
9149 Joseph Myers <joseph@codesourcery.com>
9150
9151 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9152 if needed for __stack_chk_guard.
9153
bc7e1c36
RM
91542011-09-19 Roland McGrath <roland@hack.frob.com>
9155
ecb1482f
RM
9156 * sysdeps/posix/spawni.c (script_execute): Always define it.
9157 It will be optimized away if unused.
9158 (maybe_script_execute): New function.
9159 (__spawni): Call it.
9160
bc7e1c36
RM
9161 * Makerules: Don't include tls.make.
9162 (config-tls): Always set to thread.
9163 * tls.make.c: File removed.
9164
1c3b002b
MF
91652011-09-19 Mike Frysinger <vapier@gentoo.org>
9166
9167 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9168 * config.make.in (CPPFLAGS-config): New substituted variable.
9169
2840865d
UD
91702011-09-15 Ulrich Drepper <drepper@gmail.com>
9171
88738eb6
UD
9172 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9173
cbf645a6 9174 [BZ #13192]
2840865d
UD
9175 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9176 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9177
b402e91a
RM
91782011-09-15 Roland McGrath <roland@hack.frob.com>
9179
9180 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9181 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9183 (CALL_FAIL): Likewise.
9184 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9185 (CALL_FAIL): Macro removed.
9186 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9187
4c1a1f71
UD
91882011-09-15 Ulrich Drepper <drepper@gmail.com>
9189
9190 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9191 for __FINITE_MATH_ONLY__ == 1.
9192
edc121be
AS
91932011-09-15 Andreas Schwab <schwab@redhat.com>
9194
9195 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9196 __ieee754_sqrt instead of sqrt.
9197 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9198 __ieee754_sqrtf instead of sqrtf.
9199 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9200 __floorf instead of floorf.
9201 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9202 __floorf, __truncf instead of floorf, truncf.
9203
cd205654
UD
92042011-09-14 Ulrich Drepper <drepper@gmail.com>
9205
ee4d0315
UD
9206 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9207
cd205654
UD
9208 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9209 __extern_always_inline.
9210 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9211 32-bit.
9212
48b67d71
AS
92132011-09-14 Andreas Schwab <schwab@redhat.com>
9214
9215 * elf/rtld.c (dl_main): Also relocate in dependency order when
9216 doing symbol dependency testing.
9217
1ae12c75
AS
92182011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9219
9220 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9221 Always define `refsym'.
9222
995a80df
AS
92232011-09-13 Andreas Schwab <schwab@redhat.com>
9224
e529793b
AS
9225 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9226 (__FD_ELT): Renamed from __FDELT.
9227 * misc/bits/select2.h (__FD_ELT): Likewise.
9228 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9229 __FD_MASK instead of __FDELT, __FDMASK.
9230 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9231 Likewise.
9232 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9233 Likewise.
9234
52d4fef8
AS
9235 * elf/Makefile (gen-ldd): Fix pattern.
9236
995a80df
AS
9237 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9238 (init_tls): Likewise.
9239
8682f8b0
UD
92402011-09-12 Ulrich Drepper <drepper@gmail.com>
9241
9242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9243
de82006d
AS
92442011-09-12 Andreas Schwab <schwab@redhat.com>
9245
a7c8e6a1
AS
9246 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9247 `struct cmsghdr *' instead of `void *'.
9248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9249 Likewise.
9250
0f31fe77
AS
92512011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9252
9253 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9254 if non-absolute.
9255 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9256 ldd_rewrite_script.
0f31fe77 9257
32b4c839
UD
92582011-09-11 Ulrich Drepper <drepper@gmail.com>
9259
83cd1420
UD
9260 * configure.in: Remove --with-tls option.
9261 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9262 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9263 out in case it is missing.
9264 * sysdeps/ia64/elf/configure.in: Likewise.
9265 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9266 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9267 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9268 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9269 * sysdeps/sh/elf/configure.in: Likewise.
9270 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9271 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9272 * sysdeps/x86_64/elf/configure.in: Likewise.
9273 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9274 * sysdeps/mach/hurd/tls.h: Likewise.
9275
633f745d
UD
9276 [BZ #13067]
9277 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9278
f318beb8
UD
9279 [BZ #13090]
9280 * configure.in: Fix use of AC_INIT.
9281
32b4c839
UD
9282 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9283
3ce1f295
UD
92842011-09-10 Ulrich Drepper <drepper@gmail.com>
9285
bb016596
UD
9286 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9287 __set_errno.
8e58439c
UD
9288 * malloc/hooks.c: Likewise.
9289
aebae053 9290 [BZ #11929]
02d46fc4
UD
9291 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9292 variables statically.
9293 (narenas): Initialize.
9294 (list_lock): Initialize.
bb016596
UD
9295 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9296 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9297 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9298 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9299 Add initializers to main_arena and mp_.
9300 (malloc_state): Remove pagesize member. Change all users to use
9301 GLRO(dl_pagesize).
9302
9303 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9304 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9305 is always initialized.
9306
22a89187
UD
9307 * malloc/malloc.c: Removed unused configurations and dead code.
9308 * malloc/arena.c: Likewise.
9309 * malloc/hooks.c: Likewise.
02d46fc4 9310 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9311
d063d164
UD
9312 * include/tls.h: Removed. USE___THREAD must always be defined.
9313 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9314 * elf/dl-libc.c: Likewise.
9315 * elf/dl-tsd.c: Likewise.
9316 * include/errno.h: Likewise.
9317 * include/netdb.h: Likewise.
9318 * include/resolv.h: Likewise.
9319 * inet/herrno-loc.c: Likewise.
9320 * inet/herrno.c: Likewise.
9321 * malloc/arena.c: Likewise.
9322 * malloc/hooks.c: Likewise.
9323 * malloc/malloc.c: Likewise.
9324 * resolv/res-state.c: Likewise.
9325 * resolv/res_libc.c: Likewise.
9326 * sysdeps/i386/dl-machine.h: Likewise.
9327 * sysdeps/ia64/dl-machine.h: Likewise.
9328 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9329 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9330 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9331 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9332 * sysdeps/sh/dl-machine.h: Likewise.
9333 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9334 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9335 * sysdeps/unix/i386/sysdep.S: Likewise.
9336 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9337 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9338 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9339 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9340 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9341 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9342 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9343 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9346 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9347 * sysdeps/x86_64/dl-machine.h: Likewise.
9348 * tls.make.c: Likewise.
9349
3ce1f295
UD
9350 * configure.in: Remove --with-__thread option. Make tests for
9351 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9352 tls_model attribute fail if no support is available. Remove
9353 USE_IN_LIBIO.
9354 * Makeconfig: Adjust for dropped configure option. All features are
9355 now mandatory.
9356 * Makerules: Likewise.
9357 * Versions.def: Likewise.
9358 * argp/argp-fmtstream.c: Likewise.
9359 * argp/argp-fmtstream.h: Likewise.
9360 * argp/argp-help.c: Likewise.
9361 * assert/assert.c: Likewise.
9362 * config.h.in: Likewise.
9363 * config.make.in: Likewise.
9364 * configure: Likewise.
9365 * configure.in: Likewise.
9366 * csu/Versions: Likewise.
9367 * csu/init.c: Likewise.
9368 * elf/tst-audit2.c: Likewise.
9369 * elf/tst-tls10.c: Likewise.
9370 * elf/tst-tls10.h: Likewise.
9371 * elf/tst-tls11.c: Likewise.
9372 * elf/tst-tls12.c: Likewise.
9373 * elf/tst-tls14.c: Likewise.
9374 * elf/tst-tlsmod11.c: Likewise.
9375 * elf/tst-tlsmod12.c: Likewise.
9376 * elf/tst-tlsmod13.c: Likewise.
9377 * elf/tst-tlsmod13a.c: Likewise.
9378 * elf/tst-tlsmod14a.c: Likewise.
9379 * elf/tst-tlsmod15b.c: Likewise.
9380 * elf/tst-tlsmod16a.c: Likewise.
9381 * elf/tst-tlsmod16b.c: Likewise.
9382 * elf/tst-tlsmod7.c: Likewise.
9383 * elf/tst-tlsmod8.c: Likewise.
9384 * elf/tst-tlsmod9.c: Likewise.
9385 * gmon/gmon.c: Likewise.
9386 * grp/fgetgrent_r.c: Likewise.
9387 * grp/putgrent.c: Likewise.
9388 * hurd/fopenport.c: Likewise.
9389 * include/libc-symbols.h: Likewise.
9390 * include/tls.h: Likewise.
9391 * intl/gettextP.h: Likewise.
9392 * intl/loadinfo.h: Likewise.
9393 * locale/global-locale.c: Likewise.
9394 * locale/localeinfo.h: Likewise.
9395 * mach/devstream.c: Likewise.
9396 * malloc/arena.c: Likewise.
9397 * malloc/set-freeres.c: Likewise.
9398 * misc/err.c: Likewise.
9399 * misc/getttyent.c: Likewise.
9400 * misc/mntent_r.c: Likewise.
9401 * posix/getopt.c: Likewise.
9402 * posix/wordexp.c: Likewise.
9403 * pwd/fgetpwent_r.c: Likewise.
9404 * resolv/Versions: Likewise.
9405 * resolv/res_hconf.c: Likewise.
9406 * shadow/fgetspent_r.c: Likewise.
9407 * shadow/putspent.c: Likewise.
9408 * stdio-common/printf_fphex.c: Likewise.
9409 * stdio-common/tmpfile.c: Likewise.
9410 * stdlib/abort.c: Likewise.
9411 * stdlib/fmtmsg.c: Likewise.
9412 * sunrpc/auth_unix.c: Likewise.
9413 * sunrpc/clnt_perr.c: Likewise.
9414 * sunrpc/clnt_tcp.c: Likewise.
9415 * sunrpc/clnt_udp.c: Likewise.
9416 * sunrpc/clnt_unix.c: Likewise.
9417 * sunrpc/openchild.c: Likewise.
9418 * sunrpc/svc_simple.c: Likewise.
9419 * sunrpc/svc_tcp.c: Likewise.
9420 * sunrpc/svc_udp.c: Likewise.
9421 * sunrpc/svc_unix.c: Likewise.
9422 * sunrpc/xdr.c: Likewise.
9423 * sunrpc/xdr_array.c: Likewise.
9424 * sunrpc/xdr_rec.c: Likewise.
9425 * sunrpc/xdr_ref.c: Likewise.
9426 * sunrpc/xdr_stdio.c: Likewise.
9427
1248c1c4
PB
94282011-09-09 Ulrich Drepper <drepper@gmail.com>
9429
9430 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9431
94322011-07-03 Andreas Jaeger <aj@suse.de>
9433
9434 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9435 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9436 regenerate with gen-libm-tests.pl.
9437
94382010-05-12 Petr Baudis <pasky@suse.cz>
9439
9440 [BZ #11589]
9441 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9442 around j0() zero points by switching to j1().
9443 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9446 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9447
f22e1074
UD
94482011-09-09 Ulrich Drepper <drepper@gmail.com>
9449
f19009c1
UD
9450 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9451 instead of 0.
9452 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9453 instead of 0. .
9454 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9455 Patch in part by Pavel Roskin <proski@gnu.org>.
9456
3f8cc204
UD
9457 [BZ #13138]
9458 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9459 realloc.
9460 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9461 Free memory block if necessary.
9462
f22e1074
UD
9463 [BZ #12847]
9464 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9465 be NULL. Don't lock in this case.
9466
0a2349f9
RM
94672011-09-09 Roland McGrath <roland@hack.frob.com>
9468
9469 * elf/elf.h (ELFOSABI_GNU): New macro.
9470 (ELFOSABI_LINUX): Define to that.
9471
f3cdd467
DZ
94722011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9473
9474 * string/strncat.c (strncat): Undef the symbol in case it has been
9475 defined in bits/string.h.
9476
74718d13
UD
94772011-09-09 Ulrich Drepper <drepper@gmail.com>
9478
633e9e0f
UD
9479 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9480
0a2349f9 9481 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9482 link map.
9483
f9924780
AJ
94842011-08-17 Andreas Jaeger <aj@suse.de>
9485
9486 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9487
7f5517aa
PP
94882011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9489 Ian Lance Taylor <iant@google.com>
9490
9491 * math/libm-test.inc (lround_test): New testcase.
9492 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9493
762011fe
UD
94942011-09-08 Ulrich Drepper <drepper@gmail.com>
9495
92963737
UD
9496 * Makefile: Remove support for automatic cvs check-ins.
9497 * Makerules: Likewise.
9498 * config.make.in: Likewise.
9499 * configure.in: Likewise.
9500 * intl/Makefile: Likewise.
9501 * locale/Makefile: Likewise.
9502 * po/Makefile: Likewise.
9503 * posix/Makefile: Likewise.
9504 * sysdeps/gnu/Makefile: Likewise.
9505 * sysdeps/mach/hurd/Makefile: Likewise.
9506 * sysdeps/sparc/sparc32/Makefile: Likewise.
9507
b0727fd8
JS
9508 [BZ #13118]
9509 * posix/Makefile (bug-regex32-ENV): Define.
9510 Patch by John Stanley <jpsinthemix@verizon.net>.
9511
a0f33f99
UD
9512 * misc/Makefile (headers): Add bits/select2.h.
9513 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9514 * misc/bits/select2.h: New file.
9515 * include/bits/select2.h: New file.
9516 * debug/Makefile (routines): Add fdelt_chk.
9517 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9518 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9519 FD_ISSET.
9520 * debug/fdelt_chk.c: New file.
9521
762011fe
UD
9522 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9523 * wcsmbs/test-wmemcmp.c: Likewise.
9524 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9525 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9526
95272011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9528
9529 * string/Makefile (strop-tests): Add memcmp.
9530 * string/test-wmemcmp.c: New file.
9531 * string/test-memcmp.c: Add wmemcmp support.
9532
7f513ec8
RM
95332011-09-08 Roland McGrath <roland@hack.frob.com>
9534
0442afb4
RM
9535 [BZ #13153]
9536 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9537 2011-07-19 change.
9538
7f513ec8
RM
9539 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9540 garbage value in a __mach_port_mod_refs call in the cases of the
9541 task-self and thread-self ports.
9542
a12b2239
ST
95432011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9544
9545 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9546
610f9ab4
AS
95472011-09-08 Andreas Schwab <schwab@redhat.com>
9548
7f513ec8 9549 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9550
48882a1a
LD
95512011-09-07 Ulrich Drepper <drepper@gmail.com>
9552
b49865be
UD
9553 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9554
fdc86bc9
UD
9555 * elf/dl-libc.c (dlerror_run): Pass back error code from
9556 dl_catch_error.
9557
c966526a
UD
9558 [BZ #13123]
9559 * elf/dl-load.c (lose): Free l_origin if it is valid.
9560
48882a1a
LD
9561 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9562 names.
9563 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9564 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9565 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9566 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9567 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9568 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9569
77a2a8b4
AZ
95702011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9571
9572 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9573 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9574 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9575 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9576 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9577 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9578 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9579 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9580 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9581 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9582
24f579d8
AM
95832011-08-15 Alan Modra <amodra@gmail.com>
9584
9585 [BZ #13092]
9586 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9587 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9588 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9589 ppc_mcount to static-only-routines.
9590 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9591 __mcount_internal.
9592 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9593 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9594
3d4837df
UD
95952011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9596
9597 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9598 for finite and infinity parameters.
9599
22700377
WS
96002011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9601
9602 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9603 and add nop instructions for throughput optimization.
9604 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9605
5025581e
WS
96062011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9607
9608 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9609 aligned copy for power7 with vector-scalar instructions.
9610 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9611
08a300c9
L
96122011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9613
9614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9615 AVX check.
9616
59178ef9
AS
96172011-09-07 Andreas Schwab <schwab@redhat.com>
9618
9619 [BZ #13144]
9620 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9621 last change.
9622
e38ba7ab
UD
96232011-09-07 Ulrich Drepper <drepper@gmail.com>
9624
9625 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9626 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9627 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9628 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9629 clock_gettime.
9630
d53a73ac
UD
96312011-09-06 Ulrich Drepper <drepper@gmail.com>
9632
fc8bffcc
UD
9633 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9634 Forgot to demangle the pointer.
9635
ceaa0c5d
UD
9636 * sysdeps/i386/sysdep.h: Define atom_text_section.
9637 * sysdeps/x86_64/sysdep.h: Likewise.
9638 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9639 section with atom_text_section.
9640 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9641 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9642 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9643 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9644 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9645
a77d3c17
UD
9646 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9647 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9648 already be defined. Change to take two parameters and don't assign
9649 result to variable. Adjust all users.
9650 Define INTERNAL_GETTIME if not already defined.
9651 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9652 call.
9653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9654 HAVE_CLOCK_GETTIME_VSYSCALL.
9655 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9656
d53a73ac
UD
9657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9658 gettimeofday vsyscall, just use time.
9659
a8f84144
AS
96602011-09-06 Andreas Schwab <schwab@redhat.com>
9661
9662 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9663 <errno.h>.
9664
ef606249
UD
96652011-09-06 Ulrich Drepper <drepper@gmail.com>
9666
9667 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9668 syscall on x86-64.
9669 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9670 syscall.
9671 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9672 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9673 syscall if possible.
9674
6585cb60
UD
96752011-09-05 Ulrich Drepper <drepper@gmail.com>
9676
9677 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9678 e_ident. Don't pass to find_mapsXX.
9679 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9680
a5f524e4
LD
96812011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9682
9683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9684 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9685 * sysdeps/x86_64/multiarch/strchr.S: Update.
9686 Check bit_slow_BSF bit.
9687 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9688 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9689 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9690
554881ef
UD
96912011-09-05 Ulrich Drepper <drepper@gmail.com>
9692
d96de963
UD
9693 [BZ #13134]
9694 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9695 before glibc 2.15.
9696 (tryshell): Define.
9697 (__spawni): Change last parameter to be flag. Test
9698 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9699 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9700 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9701 * posix/spawni.c: Likewise.
9702 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9703 * posix/spawnp.c: Likewise. Change normal version to use
9704 SPAWN_XFLAGS_USE_PATH.
9705 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9706 SPAWN_XFLAGS_TRY_SHELL.
9707
d48e5868
UD
9708 [BZ #13150]
9709 * posix/glob.h: Remove gcc 1.x support.
9710
554881ef
UD
9711 [BZ #13068]
9712 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9713
693fb948
LD
97142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9715
9716 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9717 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9718 strrchr-sse2-bsf
9719 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9720 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9721 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9722 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9723 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9724 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9725
1b48c537
UD
97262011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9727
49d42c37
UD
9728 * sysdeps/x86_64/wcscmp.S: New file.
9729
1b48c537
UD
9730 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9731 wcscmp-c wcscmp-sse2
9732 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9733 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9734 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9735 * wcsmbs/wcscmp.c: Allow renaming.
9736
15c95c5d
DM
97372011-09-05 David S. Miller <davem@davemloft.net>
9738
9739 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9740 stack slot, rather than the struct return pointer slot.
9741 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9742 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9744 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9745
2f0ad8f3
UD
97462011-09-05 Ulrich Drepper <drepper@gmail.com>
9747
d88ae418
UD
9748 * po/ja.po: Update from translation team.
9749
2f0ad8f3
UD
9750 [BZ #13144]
9751 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9752 kernel in 64-bit binaries.
9753
5f4318d1
DM
97542011-09-01 David S. Miller <davem@davemloft.net>
9755
9756 * elf/elf.h (HWCAP_SPARC_*): Move to..
9757 * sysdeps/sparc/sysdep.h: this new file and add new values.
9758 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9759 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9760 _DL_HWCAP_COUNT to 24.
9761 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9762 entries.
9763 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9764 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9765 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9766 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9767 instead of magic constants.
9768 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9769
3ba57516
DM
97702011-08-31 David S. Miller <davem@davemloft.net>
9771
9772 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9773 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9774 Reimplement to do errno handling inline.
9775 (SYSCALL_ERROR_HANDLER): New macro.
9776 (__SYSCALL_STRING): Do not do errno handling in asm.
9777 (__CLONE_SYSCALL_STRING): Delete.
9778 (__INTERNAL_SYSCALL_STRING): Delete.
9779 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9780 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9781 (PSEUDO): Reimplement to do errno handling inline.
9782 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9783 (SYSCALL_ERROR_HANDLER): New macro.
9784 (__SYSCALL_STRING): Do not do errno handling in asm.
9785 (__CLONE_SYSCALL_STRING): Delete.
9786 (__INTERNAL_SYSCALL_STRING): Delete.
9787 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9788 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9789 i386.
9790 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9791 (inline_syscall*): Add 'err' argument.
9792 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9793 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9794 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9795 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9796
9797 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9798 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9799
2bc17433
AS
98002011-08-30 Andreas Schwab <schwab@redhat.com>
9801
9802 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9803
fbeb5f4d
JO
98042011-08-29 Jiri Olsa <jolsa@redhat.com>
9805
9806 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9807 directive.
9808
ad69cc26
DM
98092011-08-24 David S. Miller <davem@davemloft.net>
9810
9811 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9812
39dd69df
AS
98132011-08-24 Andreas Schwab <schwab@redhat.com>
9814
9815 * elf/Makefile: Add rules to build and run unload8 test.
9816 * elf/unload8.c: New file.
9817 * elf/unload8mod1.c: New file.
9818 * elf/unload8mod1x.c: New file.
9819 * elf/unload8mod2.c: New file.
9820 * elf/unload8mod3.c: New file.
9821
9822 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9823 it wasn't used.
9824
2c0b250a
DM
98252011-08-23 David S. Miller <davem@davemloft.net>
9826
9827 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9828 subtract stack bias.
9829 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9830 %sp not %fp in calculations.
9831 (_JMPBUF_UNWINDS_ADJ): Likewise.
9832
22044b48
DM
9833 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9834 (aio_suspend): Call it to force an exception region around the
9835 AIO_MISC_WAIT() invocation.
9836
2cae4995
AS
98372011-08-23 Andreas Schwab <schwab@redhat.com>
9838
9839 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9840 backslash.
9841
873a772e
AJ
98422011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9843
9844 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9845 protection macro.
9846 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9847 and <dl-machine.h>.
9848 (Elf64_FuncDesc): Remove.
9849
25ad0df1
DM
98502011-08-22 David S. Miller <davem@davemloft.net>
9851
9852 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9853 sigaltstack check, add missing cfi directives.
9854 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9855 missing cfi directives, and sigaltstack handling.
9856
e888bcbe
AS
98572011-08-16 Andreas Schwab <schwab@redhat.com>
9858
9859 [BZ #11724]
9860 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9861 object is seen twice.
9862 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9863
9864 * elf/Makefile (distribute): Add tst-initorder2.c.
9865 (tests): Add tst-initorder2.
9866 (modules-names): Add tst-initorder2a tst-initorder2b
9867 tst-initorder2c tst-initorder2d. Add rules to build them.
9868 ($(objpfx)tst-initorder2.out): New rule.
9869 * elf/tst-initorder2.c: New file.
9870 * elf/tst-initorder2.exp: New file.
9871
87162f46
AS
98722011-08-22 Andreas Schwab <schwab@redhat.com>
9873
70538b7f
AS
9874 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9875
f55ffe58
AS
9876 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9877 dependencies back to end of function.
9878
87162f46
AS
9879 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9880 $(elfobjdir)/ld.so.
9881
91b392a4
UD
98822011-08-21 Ulrich Drepper <drepper@gmail.com>
9883
9884 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9885 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9886 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9887 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9888 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9889 of __vdso_gettimeofday.
9890 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9891 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9892 attribute_hidden.
9893 (_libc_vdso_platform_setup): Remove initialization of
9894 __vdso_gettimeofday and __vdso_time.
9895
5c43483f
UD
98962011-08-20 Ulrich Drepper <drepper@gmail.com>
9897
775a77e7
UD
9898 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9899 and fgetc_unlocked.
9900 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9901 getc_unlocked.
89f447ed 9902
49c74ba9
UD
9903 * elf/dl-open.c (add_to_global): Report additions to the global scope
9904 for LD_DEBUG=scopes.
9905 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9906 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9907
5c43483f
UD
9908 [BZ #13114]
9909 * stdio-common/Makefile (tests): Add bug24.
9910 * stdio-common/bug24.c: New file.
9911
a101b025
AJ
99122011-08-19 Andreas Jaeger <aj@suse.de>
9913
9914 [BZ #13114]
9915 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9916 non-existant file when using close-on-exec mode.
9917
c88f1766
UD
99182011-08-20 Ulrich Drepper <drepper@gmail.com>
9919
0276a718
UD
9920 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9921 the very first instruction.
9922
c88f1766
UD
9923 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9924 the CFI state in the end.
9925 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9926 inclusion of dl-trampoline.h.
9927 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9928
51ccffa0
AS
99292011-08-19 Andreas Schwab <schwab@redhat.com>
9930
94d7165f
AS
9931 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9932 expectations for long double.
9933
51ccffa0
AS
9934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9935 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9936
fd708658 99372011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9938
9939 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9940 artificual limit depends upon the system page size.
9941
44f0a71e
UD
99422011-08-17 Ulrich Drepper <drepper@gmail.com>
9943
9944 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9945 * resolv/Makefile: Define CFLAGS-libresolv.
9946
8de79a24
AS
99472011-08-17 Andreas Schwab <schwab@redhat.com>
9948
9949 * nss/makedb.c (compute_tables): Make variables used in nested
9950 function static.
9951
27724598
UD
99522011-08-17 Ulrich Drepper <drepper@gmail.com>
9953
c5305d88
UD
9954 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9955 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9956 if buffer was too small.
9957
27724598
UD
9958 * elf/pldd.c (main): Attach to all threads in the process.
9959 Rewrite /proc handling to use *at functions.
9960
076fe015
UD
99612011-08-16 Ulrich Drepper <drepper@gmail.com>
9962
174baab3
UD
9963 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9964 specifies first scope to show.
9965 (dl_open_worker): Update callers. Move printing scope of new
9966 object to before the relocation.
44f0a71e 9967 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9968 * sysdeps/generic/ldsodefs.h: Update declaration.
9969
076fe015
UD
9970 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9971 string for the scope number.
9972
a60df2c3
UD
99732011-08-14 Ulrich Drepper <drepper@gmail.com>
9974
9975 * nscd/servicescache.c (cache_addserv): Make sure written is always
9976 initialized.
9977
5e4287d1
RM
99782011-08-14 Roland McGrath <roland@hack.frob.com>
9979
85ae0589
RM
9980 * sysdeps/i386/i486/bits/atomic.h
9981 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9982 statement expression, so as to suppress "set but not used" warning.
9983 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9984
69f63097
RM
9985 * string/strncat.c (STRNCAT): Use prototype definition.
9986
675456ef
RM
9987 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9988 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9989 -Iprograms here.
9990 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9991 (localedef-modules): Add localedef.
9992 (locale-modules): Add locale.
9993
5e4287d1
RM
9994 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9995 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9996 to avoid a warning.
9997
9c96ff23
DM
99982011-08-14 David S. Miller <davem@davemloft.net>
9999
10000 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10001 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10002
f9ddf089
UD
100032011-08-13 Ulrich Drepper <drepper@gmail.com>
10004
44f0a71e 10005 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10006 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10007 * elf/rtld.c (dl_main): Set l_name of vDSO.
10008 Call _dl_show_scope when DL_DEBUG_SCOPES.
10009 (process_dl_debug): Recognize scopes flag and also set it for all.
10010 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10011 Declare _dl_show_scope.
10012
1dc27704
UD
10013 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10014 (do_dlopen): Pass caller_dlopen to dl_open.
10015 (__libc_dlopen_mode): Initialize caller_dlopen.
10016
f9ddf089
UD
10017 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10018 of libc. Make tolower call locale-independent. Optimize a bit by
10019 using isdigit instead of isalnum.
10020 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10021
9ac533d3
UD
100222011-08-12 Ulrich Drepper <drepper@gmail.com>
10023
10024 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10025 was a dependency or dynamically loaded.
10026
89edf2e9
UD
100272011-08-11 Ulrich Drepper <drepper@gmail.com>
10028
8e999d29
UD
10029 * intl/l10nflist.c: Allow architecture-specific pop function.
10030 * sysdeps/x86_64/l10nflist.c: New file.
10031
89edf2e9
UD
10032 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10033 classification.
10034
14d96785
AS
100352011-08-10 Andreas Schwab <schwab@redhat.com>
10036
10037 * include/dirent.h: Add libc_hidden_proto for scandirat and
10038 scandirat64. Don't declare __scandirat64.
10039 * dirent/scandirat.c: Add libc_hidden_def.
10040 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10041 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10042
6761ac04
DM
100432011-08-10 David S. Miller <davem@davemloft.net>
10044
10045 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10046 enum.
10047 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10048 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10049 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10050
c55fbd1e
UD
100512011-08-09 Ulrich Drepper <drepper@gmail.com>
10052
10053 * Versions.def [libc]: Add GLIBC_2.15.
10054 * dirent/Makefile (routines): Add scandirat and scandirat64.
10055 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10056 GLIBC_2.15.
10057 * dirent/dirent.h: Declare scandirat and scandirat64.
10058 * dirent/scandirat.c: New file.
10059 * dirent/scandirat64.c: New file.
10060 * sysdeps/wordsize-64/scandirat.c: New file.
10061 * sysdeps/wordsize-64/scandirat64.c: New file.
10062 * dirent/opendir.c: Define opendirat.
10063 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10064 using scandirat.
10065 * dirent/scandir64.c: Adjust for scandir.c change.
10066 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10067 __scandirat64, and __scandir_cancel_handler.
10068 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10069 additional parameter and use openat instead of open (outside of ld.so).
10070 Add new __opendir as wrapper around __opendirat.
10071 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10072 here without requiring old scandirat implementation.
10073
879165f2
UD
100742011-08-08 Ulrich Drepper <drepper@gmail.com>
10075
10076 * dirent/scandir.c (cancel_handler): Renamed to
10077 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10078 defined. Adjust users.
10079 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10080 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10081
cb7e923b
UD
100822011-08-04 Ulrich Drepper <drepper@gmail.com>
10083
16292edd
UD
10084 * string/test-string.h (IMPL): Use __STRING to expand name and then
10085 stringify it.
10086
cb7e923b
UD
10087 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10088 of cleanups.
10089
cff82933
LD
100902011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10091
10092 * string/Makefile: Update.
10093 (strop-tests): Append strncat.
10094 * string/test-wcscmp.c: New file.
10095 New comprehensive test for wcscmp.
10096 * string/test-strcmp.c: Update.
10097 (WIDE): New define.
10098
9be9bfcc
AS
100992011-07-22 Andreas Schwab <schwab@redhat.com>
10100
10101 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10102 line.
10103
2e96f1c7
AS
101042011-07-26 Andreas Schwab <schwab@redhat.com>
10105
10106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10107 encoding to ACE if AI_IDN.
10108
85188888
JJ
101092011-08-01 Jakub Jelinek <jakub@redhat.com>
10110
10111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10112 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10113
5fa16e9b
LD
101142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10115
10116 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10117 Fix overflow bug in strncat.
10118 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10119
10120 * string/test-strncat.c: Update.
10121 Add new tests for checking overflow bugs.
10122
101232011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10124
10125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10126 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10127 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10128 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10129 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10130 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10131 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10132 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10133 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10134
10135 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10136 (USE_AS_STRCAT): Define.
10137 Add strcat and strncat support.
10138 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10139
8c1a459f
AS
101402011-07-25 Andreas Schwab <schwab@redhat.com>
10141
10142 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10143 __n bigger than INT_MAX+1.
10144 (__strncmp_g): Likewise.
10145
bba33c28
UD
101462011-07-23 Ulrich Drepper <drepper@gmail.com>
10147
798be72d
UD
10148 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10149 * libio/stido.h: Likewise.
10150
8accd4dc
UD
10151 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10152 (AF_NFC): Define.
10153 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10154 (AF_NFC): Define.
10155
cbff0d96
UD
10156 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10157 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10158 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10159 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10160 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10161
9191c04a
UD
10162 [BZ #13021]
10163 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10164 installed.
10165
bba33c28
UD
10166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10167 typo.
10168 (_dl_x86_64_save_sse): Likewise.
10169
90f139dd
UD
101702011-07-22 Ulrich Drepper <drepper@gmail.com>
10171
1aae088a
UD
10172 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10173 OSXSAVE.
10174 (_dl_x86_64_save_sse): Likewise.
10175
8e2045f5
UD
10176 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10177
90f139dd
UD
10178 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10179
1d002f25
AS
101802011-07-21 Andreas Schwab <schwab@redhat.com>
10181
10182 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10183 change.
10184 (_dl_x86_64_save_sse): Use correct AVX check.
10185
21137f89
UD
101862011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10187
10188 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10189 bug in strncpy/strncat.
10190 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10191
a65c0b7a
UD
101922011-07-21 Ulrich Drepper <drepper@gmail.com>
10193
10194 * string/tester.c (test_strcat): Add tests for different alignments
10195 of source and destination.
10196 (test_strncat): Likewise.
10197
6986b98a
UD
101982011-07-20 Ulrich Drepper <drepper@gmail.com>
10199
90bb2039
UD
10200 [BZ #12852]
10201 * posix/glob.c (glob): Check passed in values before using them in
10202 expressions to avoid some overflows.
10203 (glob_in_dir): Likewise.
10204
5644ef54
UD
10205 [BZ #13007]
10206 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10207 check for AVX enablement so that we don't crash with old kernels and
10208 new hardware.
10209 * elf/tst-audit4.c: Add same checks here.
10210 * elf/tst-audit6.c: Likewise.
10211
10212 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10213
bfc9dc9b
AS
102142011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10215
10216 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10217
702e64bb
UD
102182011-07-20 Ulrich Drepper <drepper@gmail.com>
10219
10220 * po/cs.po: Update from translation team.
10221 * po/bg.po: Likewise.
10222
295e904f
MP
102232011-07-12 Marek Polacek <mpolacek@redhat.com>
10224
10225 * misc/sys/cdefs.h: Add support for const attribute.
10226 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10227 to gnu_dev_{major,minor,makedev} functions.
10228
3ff94596
MP
102292011-07-20 Marek Polacek <mpolacek@redhat.com>
10230
10231 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10232
28b59fca
AS
102332011-07-20 Andreas Schwab <schwab@redhat.com>
10234
10235 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10236 strlen results.
10237
19df733e
AK
102382011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10239
10240 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10241 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10242 register in order to avoid conflicts with the soft frame pointer
10243 being held in r11 when necessary.
10244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10245 (INTERNAL_VSYSCALL_NCS): Likewise.
10246
c8835729
MP
102472011-07-14 Marek Polacek <mpolacek@redhat.com>
10248
10249 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10250 * elf/dl-fini.c (_dl_fini): Adjust caller.
10251 * elf/dl-close.c (_dl_close_worker): Likewise.
10252 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10253
b902330c
MP
102542011-07-15 Marek Polacek <mpolacek@redhat.com>
10255
8991e135
MP
10256 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10257 "aux_cache->nlibs < 0".
10258
b902330c
MP
10259 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10260 in the reload-count case.
10261
99710781
LD
102622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10263
10264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10265 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10266 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10267 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10268 * sysdeps/x86_64/multiarch/strcat.S: New file.
10269 * sysdeps/x86_64/multiarch/strncat.S: New file.
10270 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10271 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10272 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10273 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10274 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10275 (USE_AS_STRCAT): Define.
10276 Add strcat and strncat support.
10277 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10278 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10279 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10280 * string/strncat.c: Update.
10281 (USE_AS_STRNCAT): Define.
10282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10283 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10284 and i7.
10285 * sysdeps/x86_64/multiarch/init-arch.h
10286 (bit_Prefer_PMINUB_for_stringop): New.
10287 (index_Prefer_PMINUB_for_stringop): Likewise.
10288 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10289 bit_Prefer_PMINUB_for_stringop.
10290
7dc6bd90
UD
102912011-07-19 Ulrich Drepper <drepper@gmail.com>
10292
10293 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10294 buffer64.
10295 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10296 of casting of buffer.
10297 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10298 buffer32 and buffer64.
10299 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10300 writes instead of casting of buffer.
10301 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10302 buffer32.
10303 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10304 casting of buffer.
10305
e0e72284
AS
103062011-07-19 Andreas Schwab <schwab@redhat.com>
10307
10308 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10309
feb1eb0b
UD
103102011-07-19 Ulrich Drepper <drepper@gmail.com>
10311
10312 * nscd/nscd.c (termination_handler): Don't do anything for a database
10313 if it has not yet been initialized.
10314
298711ff
UD
103152011-07-18 Ulrich Drepper <drepper@gmail.com>
10316
10317 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10318
103192011-07-15 Marek Polacek <mpolacek@redhat.com>
10320
10321 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10322
f9d68389
UD
103232011-07-18 Ulrich Drepper <drepper@gmail.com>
10324
10325 * po/nl.po: Update from translation team.
10326 * po/sv.po: Likewise.
10327
db290cf5
RM
103282011-07-16 Roland McGrath <roland@hack.frob.com>
10329
10330 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10331 now disallowed by GCC.
5c550700 10332
fd5e21c7
RM
10333 * configure.in (use-default-link): Default to yes if a test -shared
10334 link meets our qualifications.
10335 * configure: Regenerated.
10336
5c550700
RM
10337 * config.make.in (output-format): New variable.
10338 * configure.in: Check for ld --print-output-format support.
10339 * configure: Regenerated.
10340 * Makerules ($(common-objpfx)format.lds)
10341 [$(output-format) != unknown]: Just use $(output-format),
10342 instead of the linker-script munging.
10343
9fa2c032
RM
103442011-07-14 Roland McGrath <roland@hack.frob.com>
10345
a6928d51
RM
10346 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10347 of $(common-objpfx)shlib.lds.
10348 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10349
661607b3
RM
10350 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10351 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10352
9fa2c032
RM
10353 * configure.in (-z relro check): Adjust test code to add a large
10354 writable data section after it.
10355 * configure: Regenerated.
10356
defe9061
RM
103572011-07-11 Roland McGrath <roland@hack.frob.com>
10358
10359 * configure.in (-z relro check): Fix test code to make the variable
10360 truly const.
10361 * configure: Regenerated.
10362
319b9ad4
UD
103632011-07-11 Ulrich Drepper <drepper@gmail.com>
10364
10365 * nscd/nscd.h (struct traced_file): Define.
10366 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10367 elements. Add traced_files.
10368 (inotify_fd): Declare.
10369 (register_traced_file): Declare.
10370 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10371 (inotify_fd): Export.
10372 (resolv_conf_descr): Remove.
10373 (nscd_init): Move inotify descriptor creation to main.
10374 Don't register files for notification here.
10375 (register_traced_file): New function.
10376 (invalidate_cache): Don't use reset_res to determine whether to call
10377 res_init, go through the list of registered files.
10378 (main_loop_poll): The inotify descriptors are now stored in the
10379 structures for the traced files.
10380 (main_loop_epoll): Likewise
10381 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10382 to __nss_disable_nscd.
10383 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10384 for a database anymore. Check the records for all the registered
10385 files instead.
10386 * nss/Makefile (libnss_files-routines): Add files-init.
10387 (libnss_db-routines): Add db-init.
10388 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10389 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10390 * nss/nss_db/db-init.c: New file.
10391 * nss/nss_files/files-init.c: New file.
10392 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10393 __nss_lookup_function.
10394 (__nss_lookup_function): Call nss_load_library.
10395 (nss_load_all_libraries): New function.
10396 (__nss_disable_nscd): Take parameter with callback function for files
10397 to register. Set is_nscd. Load all the DSOs for the NSS modules
10398 used for the cached services.
10399 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10400 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10401 options for features to all the files in nscd.
10402
10403 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10404
23bee3e8
RM
104052011-07-10 Roland McGrath <roland@hack.frob.com>
10406
10407 * csu/elf-init.c (__libc_csu_init): Comment typo.
10408
46a5b7f0
UD
104092011-07-09 Ulrich Drepper <drepper@gmail.com>
10410
10411 * po/pl.po: Update from translation team.
10412 * po/ja.po: Likewise.
10413 * po/ru.po: Likewise.
10414 * po/ko.po: Likewise.
10415 * po/fr.po: Likewise.
10416
d30cf5bb
RM
104172011-07-09 Roland McGrath <roland@hack.frob.com>
10418
113ddea4
RM
10419 * configure.in (.ctors/.dtors header and trailer check):
10420 Use an empirical test on a built program.
10421 * configure: Regenerated.
10422
574920b4
RM
10423 * configure.in (-z relro check): Use an empirical test on a built DSO.
10424 Detect, but do not require, on ia64.
10425 * configure: Regenerated.
10426
d30cf5bb
RM
10427 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10428 Update tests that use readelf to use $READELF instead.
10429 * configure: Regenerated.
10430
8538fdb3
UD
104312011-07-08 Ulrich Drepper <drepper@gmail.com>
10432
10433 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10434 if the result is not used.
10435
04d08991
AJ
104362011-07-05 Andreas Jaeger <aj@suse.de>
10437
10438 [BZ#9696]
10439 * stdlib/tst-strtod.c: Add testcase.
10440
de283087
AD
104412011-07-07 Ulrich Drepper <drepper@gmail.com>
10442
4e5f31c8 10443 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10444 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10445 The latter has a higher limit. Take additional parameter to pass to
10446 the new function.
10447 (__pathconf): Pass file to __statfs_link_max.
10448 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10449 __statfs_link_max.
10450 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10451 __statfs_link_max.
10452
de283087
AD
10453 [BZ #12868]
10454 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10455 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10456 Handle Lustre.
10457 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10458 (__statfs_filesize_max): Likewise.
10459 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10460
c75fa153
AJ
104612011-07-05 Andreas Jaeger <aj@suse.de>
10462
10463 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10464
1a544854
UD
104652011-07-06 Marek Polacek <mpolacek@redhat.com>
10466
10467 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10468 `status' variable.
10469 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10470 Likewise.
10471
6f0eec67
UD
104722011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10473
10474 * Makefile (strop-tests): Add strncat.
10475 * string/test-strncat.c: New file.
10476
aae30307
UD
104772011-06-30 Marek Polacek <mpolacek@redhat.com>
10478
10479 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10480
c0cfb5eb
UD
104812011-06-21 Andreas Jaeger <aj@suse.de>
10482
10483 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10484 Copy rule from iconvdata/Makefile.
10485
01636b21
UD
104862011-07-06 Ulrich Drepper <drepper@gmail.com>
10487
10488 [BZ #12922]
10489 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10490 but no long options are defined, just return 'W'.
10491
9895c8bc
UD
104922011-06-22 Marek Polacek <mpolacek@redhat.com>
10493
10494 [BZ #9696]
10495 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10496
5d4cf042
UD
104972011-07-06 Ulrich Drepper <drepper@gmail.com>
10498
10499 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10500 netgroups to read.
960e5535 10501 (innetgr): Likewise.
5d4cf042 10502
751eb97e
RM
105032011-07-05 Roland McGrath <roland@hack.frob.com>
10504
10505 * config.make.in (install_root): Default to $(DESTDIR).
10506
f15f1e45
UD
105072011-07-05 Ulrich Drepper <drepper@gmail.com>
10508
10509 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10510
4e34ac6a
RM
105112011-07-02 Roland McGrath <roland@hack.frob.com>
10512
5e9b6af4
RM
10513 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10514
84f9ea0f
RM
10515 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10516 containing directory rather than embedding absolute directory names.
10517
ea5ee9f7
RM
10518 * scripts/check-local-headers.sh: Rewritten using awk.
10519 Match by word, not by line. Print error messages for matches.
10520 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10521
1b74661a
RM
10522 * Makerules [shlib-lds-flags empty]:
10523 ($(common-objpfx)libc_pic.opts): New target.
10524 ($(common-objpfx)libc_pic.os.clean): New target.
10525 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10526
10527 * config.make.in (OBJCOPY): New variable.
10528 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10529 * configure: Regenerated.
10530
f781ef40
RM
10531 * config.make.in (use-default-link): New variable.
10532 * configure.in (use_default_link): Grok --with-default-link to set it.
10533 * configure: Regenerated.
10534 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10535 (shlib-lds, shlib-lds-flags): Define to empty.
10536
2d4fa81e
RM
10537 * Makerules (shlib-lds): New variable.
10538 (shlib-lds-flags): New variable.
10539 (build-shlib, build-moduile, build-module-asneeded): Use it.
10540 ($(common-objpfx)libc.so): Use $(shlib-lds).
10541 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10542 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10543
31fffa6b
RM
10544 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10545 DT_FLAGS/DT_FLAGS_1 with zero flags.
10546
4e34ac6a
RM
10547 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10548 linker script munging.
10549
fcfc776b
UD
105502011-07-02 Ulrich Drepper <drepper@gmail.com>
10551
10552 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10553 as 128-bit value.
10554 * crypt/sha512.c (sha512_process_block): Perform total addition using
10555 128-bit if possible.
10556 (__sha512_finish_ctx): Likewise.
10557 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10558 as 64-bit value.
10559 * crypt/sha256.c (SWAP64): Define.
10560 (sha256_process_block): Perform total addition using 64-bit if
10561 possible.
10562 (__sha256_finish_ctx): Likewise.
10563
99231d9a
UD
105642011-07-01 Ulrich Drepper <drepper@gmail.com>
10565
10566 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10567 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10568 * nscd/hstcache.c (cache_addhst): Likewise.
10569 * nscd/grpcache.c (cache_addgr): Likewise.
10570 * nscd/aicache.c (addhstaiX): Likewise
10571 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10572
445b4a53
TK
105732011-07-01 Thorsten Kukuk <kukuk@suse.de>
10574
10575 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10576 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10577 * nscd/hstcache.c (cache_addhst): Likewise.
10578 * nscd/grpcache.c (cache_addgr): Likewise.
10579 * nscd/aicache.c (addhstaiX): Likewise
10580
6d4d8e8e
AS
105812011-07-01 Andreas Schwab <schwab@redhat.com>
10582
10583 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10584 domain only when needed.
10585
89f654c5
AS
105862011-06-30 Andreas Schwab <schwab@redhat.com>
10587
10588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10589 is always restored.
10590
cf3b23ff
UD
105912011-06-29 Ulrich Drepper <drepper@gmail.com>
10592
10593 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10594 are re-adding the entry.
10595 * nscd/servicescache.c (cache_addserv): Likewise.
10596
751626f9
AJ
105972011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10598
10599 * sysdeps/generic/dl-irel.h: fix protection against multiple
10600 inclusions.
10601 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10602
9113ea1f
UD
106032011-06-28 Ulrich Drepper <drepper@gmail.com>
10604
5c0b8d90
UD
10605 [BZ #12935]
10606 * malloc/memusage.sh: Fix quoting in message.
10607 * debug/xtrace.sh: Likewise.
10608
9113ea1f
UD
10609 * configure.in: Remove support for --experimental-malloc option, make
10610 it the default.
10611 * config.make.in: Likewise.
10612 * malloc/Makefile: Likewise.
10613
a4172181
AS
106142011-06-27 Andreas Schwab <schwab@redhat.com>
10615
10616 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10617 two-byte characters.
10618
78a7eee7
RM
106192011-06-27 Roland McGrath <roland@hack.frob.com>
10620
62bede13
RM
10621 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10622 AC_CACHE_CHECK invocation.
10623 * configure: Regenerated.
10624
78a7eee7
RM
10625 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10626
5ce33a62
UD
106272011-06-27 Ulrich Drepper <drepper@gmail.com>
10628
034807a9
UD
10629 [BZ #12350]
10630 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10631 bit from old_res_options.
10632
4902da17
UD
10633 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10634
5ce33a62
UD
10635 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10636 value type for setfct.
10637
c2344f56
L
106382011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10639
10640 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10641 __gettimeofday instead of gettimeofday.
10642
68468076
UD
106432011-06-26 Ulrich Drepper <drepper@gmail.com>
10644
10645 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10646
acb0d739
L
106472011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10648
10649 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10650
10651 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10652 info.
10653
8912479f
L
106542011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10655
10656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10657 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10658 strcpy-sse2-unaligned strncpy-sse2-unaligned
10659 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10660 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10661 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10662 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10663 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10664 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10665 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10666 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10667 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10668 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10669 (STRCPY): Support SSE2 and SSSE3 versions.
10670
d5495a11
UD
106712011-06-24 Ulrich Drepper <drepper@gmail.com>
10672
10673 [BZ #12874]
10674 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10675 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10676 kernels which artificially limit size of requests.
10677
0b1cbaae
L
106782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10679
10680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10681 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10682 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10683 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10684 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10685 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10686 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10687 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10688 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10689 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10690 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10691 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10692 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10693 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10694 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10696 Enable unaligned load optimization for Intel Core i3, i5 and i7
10697 processors.
10698 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10699 Define.
10700 (index_Fast_Unaligned_Load): Define.
10701 (HAS_FAST_UNALIGNED_LOAD): Define.
10702
07f494a0
MP
107032011-06-23 Marek Polacek <mpolacek@redhat.com>
10704
10705 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10706
fa3fc0fe
UD
107072011-06-22 Ulrich Drepper <drepper@gmail.com>
10708
10709 [BZ #12907]
10710 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10711 until it is clear that the information is realy needed.
10712 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10713
e12df166
AS
107142011-06-22 Andreas Schwab <schwab@redhat.com>
10715
10716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10717
852eb34d
UD
107182011-06-22 Ulrich Drepper <drepper@gmail.com>
10719
84e2a551
UD
10720 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10721 /sys/devices/system/cpu/online if it is usable.
10722
852eb34d
UD
10723 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10724 reading the information from the /proc filesystem to once a second.
10725
6e502e19
UD
107262011-06-21 Andreas Jaeger <aj@suse.de>
10727
10728 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10729 NULL after inclusion of kernel headers.
10730
75d39ff2
UD
107312011-06-21 Ulrich Drepper <drepper@gmail.com>
10732
51f9aa6a
UD
10733 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10734 calls to internal_setent.
10735
c0244a9d
UD
10736 [BZ #12885]
10737 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10738 addresses using gethostbyname4_r ignore IPv4 addresses.
10739
c5e3c2ae
UD
10740 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10741 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10742
75d39ff2
UD
10743 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10744
42675c6f
DM
107452011-06-20 David S. Miller <davem@davemloft.net>
10746
10747 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10748 inclusions.
10749 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10750
10751 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10752 (elf_irel): Use it.
10753 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10754 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10755 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10756 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10757 * sysdeps/x86_64/dl-irel.h: Likewise.
10758
10759 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10760 * elf/dl-sym.c: Likewise.
10761
57912a71
UD
107622011-06-15 Ulrich Drepper <drepper@gmail.com>
10763
10764 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10765 need to dereference resplen2.
10766
ee22793d
AS
107672011-06-14 Andreas Schwab <schwab@redhat.com>
10768
10769 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10770
a9e836b0
UD
107712011-06-15 Ulrich Drepper <drepper@gmail.com>
10772
77fb9117
UD
10773 * Makeconfig: Define vardbdir and inst_vardbdir.
10774 * nss/Makefile: Add rules to install db-Makefile.
10775
40c1b22c
UD
10776 * nss/nss_db/db-XXX.c: Cleanup.
10777
9f2da732
UD
10778 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10779 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10780 GLIBC_PRIVATE.
10781 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10782 * nss/makedb.c: Implement -g option to specify that value strings
10783 are generated and should not be added to table iterated over for
10784 get*ent calls.
10785 * nss/nss_db/db-initgroups.c: New file.
10786
82e9a1f7
UD
10787 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10788 interface.
10789
c41af17e
UD
10790 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10791 (internal_getgrouplist): Adjust to name change.
10792 Update use_initgroups_entry if this is not the first call.
10793 * nss/databases.def: Add initgroups entry.
10794
a9e836b0
UD
10795 * nss/makedb.c (compute_tables): Check result of multiple hash table
10796 sizes to minimize maximum chain length.
10797
2666d441
UD
107982011-06-14 Ulrich Drepper <drepper@gmail.com>
10799
10800 * Versions.def: Add entry for libnss_db.
10801 * shlib-versions: Likewise.
10802 * nss/Makefile: Add rules to build libnss_db.
10803 * nss/Versions: Add libnss_db information. Organize libnss_files
10804 entries better.
10805 * nss/db-Makefile: Add gshadow support. Change rules for the new
10806 makedb progra. Some minor improvements to generate smaller files.
10807 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10808 here from...
10809 * nss/makedb.c: ...here.
10810 Improve database format to be smaller and require less memory at
10811 runtime.
10812 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10813 db anymore.
10814 * nss/nss_db/db-netgrp.c: Likewise.
10815 * nss/nss_db/db-open.c: Likewise.
10816 * nss/nss_files/flies-XXX.x: Adjust comments.
10817 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10818 * nss/nss_files/files-grp.c: Likewise.
10819 * nss/nss_files/files-hosts.c: Likewise.
10820 * nss/nss_files/files-network.c: Likewise.
10821 * nss/nss_files/files-proto.c: Likewise.
10822 * nss/nss_files/files-pwd.c: Likewise.
10823 * nss/nss_files/files-rpc.c: Likewise.
10824 * nss/nss_files/files-service.c: Likewise.
10825 * nss/nss_files/files-sgrp.c: Likewise.
10826 * nss/nss_files/files-spwd.c: Likewise.
10827 * nss/nss_db/db-alias.c: Removed.
10828 * nss/nss_db/dummy-db.h: Removed.
10829
9ee76b5a
UD
108302011-06-02 Ulrich Drepper <drepper@gmail.com>
10831
10832 * nss/makedb.c: Rewritten to not use database library.
10833 * nss/Makefile: Update to build new makedb program.
10834
c71ca1f8
AJ
108352011-06-14 Andreas Jaeger <aj@suse.de>
10836
10837 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10838 memset declaration.
10839
3154bfb8
UD
108402011-06-10 Andreas Schwab <schwab@redhat.com>
10841
10842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10843 tmpbuf.
10844
b350afab
RM
108452011-06-10 Roland McGrath <roland@hack.frob.com>
10846
decd4e50
RM
10847 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10848 * elf/Makefile ($(objpfx)ld.so): Likewise.
10849
5615eaf2
RM
10850 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10851 Don't list ld.so twice in dependencies.
10852
10853 * posix/bug-regex31.c: Include <stdlib.h>.
10854
10855 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10856
10857 * nis/nss_compat/compat-spwd.c
10858 (getspent_next_nss_netgr): Remove unused variable.
10859 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10860
10861 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10862 nonmembers" output to use the right array.
10863
10864 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10865
10866 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10867
10868 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10869 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10870 * catgets/gencat.c (read_input_file): Likewise.
10871 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10872
10873 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10874 variable definition inside #if's controlling its use.
10875
10876 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10877
10878 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10879
10880 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10881
10882 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10883 unreachable code.
10884
10885 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10886
b68e08db
RM
10887 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10888 * configure: Regenerated.
10889
b350afab
RM
10890 * Makerules: Revert last change.
10891 * elf/Makefile: Likewise.
10892
28368601
RM
108932011-06-09 Roland McGrath <roland@hack.frob.com>
10894
10895 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10896 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10897 (reloc-link): Likewise.
10898
11988f8f
UD
108992011-06-09 Ulrich Drepper <drepper@gmail.com>
10900
10901 * elf/Makefile: Add rules to build pldd.
10902 * elf/pldd.c: New file.
10903 * elf/pldd-xx.c: New file.
10904
e80fab37
UD
109052011-06-07 Ulrich Drepper <drepper@gmail.com>
10906
10907 * version.h: Update for 2.15 development version.
10908
9b849836
DM
109092011-06-07 David S. Miller <davem@davemloft.net>
10910
10911 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10912 ifuncs.
10913 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10914 elf_machine_lazy_rel): Likewise.
10915 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10917 elf_machine_lazy_rel): Likewise.
10918 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10919 dl_hwcap via passed in argument.
10920 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10921 Likewise.
10922
5a31b283
AK
109232011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10924
10925 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10926
069e52f8
RM
109272011-06-06 Roland McGrath <roland@hack.frob.com>
10928
10929 [BZ #12849]
10930 * manual/fdl-1.1.texi: New file, verbatim from:
10931 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10932 * manual/lgpl-2.1.texi: New file, verbatim from:
10933 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10934 * manual/Makefile (licenses): New variable, list those new file names.
10935 (texis): Use it.
10936 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10937
10938 * manual/fdl.texi: File removed.
10939 * manual/lesser.texi: File removed.
10940 * manual/libc.texinfo (Copying, Documentation License):
10941 Use new @include file names, put @appendix directive before @include.
10942
f16846a5
JJ
109432011-06-04 Jakub Jelinek <jakub@redhat.com>
10944
10945 [BZ #12841]
10946 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10947 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10948 (mq_open): Add __NTH.
10949
3d29045b
L
109502011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10951
10952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10953 Assume Intel Core i3/i5/i7 processor if AVX is available.
10954
8c297311
UD
109552011-05-31 Ulrich Drepper <drepper@gmail.com>
10956
10957 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10958 typo.
10959
c8fc0c91
UD
109602011-05-31 Andreas Schwab <schwab@redhat.com>
10961
10962 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10963 memory. Use alloca_account. Fix memory leak when retrying.
10964
5b27a807
UD
109652011-05-31 Ulrich Drepper <drepper@gmail.com>
10966
356f8bc6
UD
10967 * version.h (RELEASE): Bump for 2.14 release.
10968 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10969
5b27a807
UD
10970 * config.make.in (RANLIB): Remove entry.
10971
01f16ab0
UD
109722011-05-30 Ulrich Drepper <drepper@gmail.com>
10973
41fce8bd
UD
10974 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10975 (libc.pot): Work around missing support for .ksh extension in xgettext.
10976
4769ae77
UD
10977 [BZ #12684]
10978 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10979 if both request failed.
10980 (send_dg): In case of server errors clear resplen or *resplen2.
10981
6b1e7d19
UD
10982 [BZ #12454]
10983 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10984 when there are multiple maps.
10985 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10986 (_dl_fini): Remove test here.
10987
01f16ab0
UD
10988 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10989
b1ebd700
UD
109902011-05-29 Ulrich Drepper <drepper@gmail.com>
10991
7ae22829
UD
10992 [BZ #12350]
10993 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10994 bit from old_res_options.
10995 (gaih_inet): Likewise.
10996
553149f6 10997 [BZ #11099]
18a84741 10998 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10999 as signed.
11000
652ffab1
UD
11001 * resolv/res_init.c (res_setoptions): Make the code more compact.
11002
16985fd0
UD
11003 [BZ #11558]
11004 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11005 set RES_USEVC.
11006
0464f746
UD
11007 [BZ #11634]
11008 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11009
7d17596c
UD
11010 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11011
cf6bbbd7
UD
11012 [BZ #11781]
11013 * malloc/malloc.h: Declare malloc hook variables as volatile.
11014
13f1ab36
UD
11015 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11016 in last patch.
11017
b1ebd700
UD
11018 [BZ #11799]
11019 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11020 raise in the comment.
80e2212d
UD
11021 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11022 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11023 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11024
ce67228d
UD
110252011-05-28 Ulrich Drepper <drepper@gmail.com>
11026
8887a920
UD
11027 [BZ #12811]
11028 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11029 grow the buffers more if it already has to be sufficient.
11030 (build_wcs_upper_buffer): Likewise.
11031 * posix/regexec.c (check_matching): Likewise.
11032 (clean_state_log_if_needed): Likewise.
11033 (extend_buffers): Don't enlarge buffers beyond size of the input
11034 buffer.
11035 Patches mostly by Emil Wojak <emil@wojak.eu>.
11036 * posix/bug-regex32.c: New file.
11037 * posix/Makefile (tests): Add bug-regex32.
11038
4f031072
UD
11039 * locale/findlocale.c (_nl_find_locale): Return right away if
11040 _nl_explode_name failed.
11041 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11042
d0478f0c
UD
11043 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11044
de81b246
UD
11045 * debug/xtrace.sh: Unify messages.
11046 * malloc/memusage.sh: Likewise.
11047
c738465a
UD
11048 [BZ #12813]
11049 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11050 time symbol from vDSO. Substitute with vsyscall if not available.
11051 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11052 __vdso_time.
11053
f1f929d7
UD
11054 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11055 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11056 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11057 Add sendmmsg and internal_sendmmsg.
11058 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11059 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11060 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11061
ce67228d
UD
11062 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11063 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11064 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11065
e57420c6
UD
110662011-05-27 Ulrich Drepper <drepper@gmail.com>
11067
a8509ca5
UD
11068 [BZ #12813]
11069 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11070 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11071 available.
11072 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11073 __vdso_getcpu.
11074
e57420c6
UD
11075 [BZ #12814]
11076 * iconvdata/Makefile (tests): Add bug-iconv9.
11077 * iconvdata/bug-iconv9.c: New file.
11078
4d07db15
AS
110792011-05-27 Andreas Schwab <schwab@redhat.com>
11080
11081 [BZ #12814]
11082 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11083
ea486f69
JJ
110842011-05-25 Jakub Jelinek <jakub@redhat.com>
11085
11086 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11087 (struct user_regs_struct): Change intcs field back to cs.
11088
6f038433
UD
110892011-05-25 Ulrich Drepper <drepper@gmail.com>
11090
11091 * po/ja.po: Update from translation team.
11092
67f86a25
UD
110932011-05-23 Ulrich Drepper <drepper@gmail.com>
11094
11095 [BZ #12795]
11096 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11097 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11098
def7fbd6
AS
110992011-05-20 Andreas Schwab <schwab@redhat.com>
11100
11101 * stdlib/longlong.h: Update from GCC.
11102
f50ef8f1
AS
111032011-05-23 Andreas Schwab <schwab@redhat.com>
11104
11105 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11106 parameter name.
11107 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11108 Add parameter name.
11109 (__sysconf): Pass it down.
11110
de7ce8f1
UD
111112011-05-22 Ulrich Drepper <drepper@gmail.com>
11112
f2962a71
UD
11113 [BZ #12671]
11114 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11115 some situations.
11116 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11117 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11118 add in in __libc_use_alloca calls. Adjust callers.
11119 (glob): Use malloc in some situations.
11120
de7ce8f1
UD
11121 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11122 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11123 pltexit.
11124
aec84f53
UD
111252011-05-21 Ulrich Drepper <drepper@gmail.com>
11126
05bb4a68
UD
11127 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11128 and CLOCK_BOOTTIME_ALARM.
11129
7ea72f99
UD
11130 [BZ #12782]
11131 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11132 is returned.
11133
7e4afad5
UD
11134 * string/_strerror.c (__strerror_r): Print negative errors as signed
11135 numbers.
11136
8e211fec
UD
11137 [BZ #12777]
11138 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11139 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11140 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11141
f7d82dc9
UD
11142 * configure.in: Fix typo in redirection and correct removal of test
11143 files in two cases.
11144
cc9e536d
UD
11145 [BZ #12788]
11146 * locale/setlocale.c (new_composite_name): Fix test to check for
11147 identical name of all categories.
11148
aec84f53
UD
11149 [BZ #12792]
11150 * libio/filedoalloc.c (local_isatty): New function.
11151 (_IO_file_doallocate): Use local_isatty.
11152 * stdio-common/perror.c (perror): In case a new stream is used
11153 forward the stream error.
11154 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11155 error flag.
11156
78e64fdc
RT
111572011-05-20 Ulrich Drepper <drepper@gmail.com>
11158
34a9094f
UD
11159 [BZ #11869]
11160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11161 alloca.
11162 * include/alloca.h (extend_alloca_account): Define.
11163
78e64fdc
RT
11164 [BZ #11857]
11165 * posix/regex.h: Fix comments with documentation of user-accessible
11166 fields after compilation and describe correct free'ing of pattern
11167 after re_compile_pattern.
11168 Patch by Reuben Thomas <rrt@sc3d.org>.
11169
457bddfc
RA
111702011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11171
11172 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11173 and -mno-altivec to prevent the compiler from using Altivec and/or
11174 VSX instructions when the corresponding registers are not available.
11175
a4527b51
AS
111762011-05-19 Andreas Schwab <schwab@redhat.com>
11177
11178 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11179
ed690b2f
UD
111802011-05-19 Ulrich Drepper <drepper@gmail.com>
11181
11182 * libio/freopen.c (freopen): Use __dup2, not dup2.
11183 * libio/freopen64.c (freopen64): Likewise.
11184
8db73634
L
111852011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11186
11187 [BZ #12775]
11188 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11189 * math/Makefile (tests): Add test-powl.
11190 (CFLAGS-test-powl.c): Define.
11191 * math/test-powl.c: New file.
11192
0a197a9d
L
111932011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11194
11195 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11196
ee30c380
UD
111972011-05-17 Ulrich Drepper <drepper@gmail.com>
11198
11199 [BZ #11837]
11200 * iconvdata/gb18030.c: Update to GB18020-2005.
11201
6ce75379
UD
112022011-05-16 Ulrich Drepper <drepper@gmail.com>
11203
a4b89fd8
AR
11204 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11205 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11206 Patch by Aharon Robbins <arnold@skeeve.com>.
11207
ea389b12
UD
11208 [BZ #11892]
11209 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11210 on the stack.
11211
68a3f91f
UD
11212 [BZ #11895]
11213 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11214 through underflows.
11215
15cc7dd1
UD
11216 [BZ #12766]
11217 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11218 point to strings before performing equality test for error_one_per_line
11219 mode.
11220
f3799213
UD
11221 [BZ #11697]
11222 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11223
d79a9c94
UD
11224 [BZ #11820]
11225 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11226 (struct user_fpregs_struct): Avoid __uint*_t types.
11227
56e5eb46
UD
11228 [BZ #6420]
11229 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11230 symbol info. Use it instead of calling _dl_addr locally.
11231 (lock_and_info): New function.
11232 (tr_freehook): Call lock_and_info and pass symbol info as additional
11233 parameter to tr_where.
11234 (tr_mallochook): Likewise.
11235 (tr_reallochook): Likewise.
11236 (tr_memalignhook): Likewise.
11237
6ce75379
UD
11238 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11239 used and couldn't be at all thread-safe.
11240
f8a3b5bf
UD
112412011-05-15 Ulrich Drepper <drepper@gmail.com>
11242
94b7cc37
UD
11243 * libio/freopen.c (freopen): Don't close old file descriptor
11244 before the new one is opened. Instead dup the new file descriptor
11245 to the old one after the new stream is created.
11246 * libio/freopen64.c (freopen64): Likewise.
11247 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11248 * libio/fileops.c (_IO_new_file_close_it): Handle new
11249 _IO_FLAGS2_NOCLOSE flag.
11250 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11251 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11252 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11253 _IO_FLAGS2_NOCLOSE flag.
11254 * include/unistd.h: Add hidden_proto for dup3.
11255 Define __have_dup3.
11256 * io/dup3.c: Define hidden symbol.
11257 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11258
bd25564e
UD
11259 [BZ #7101]
11260 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11261 when an incomplete long option is used.
11262 * posix/tst-getopt_long1.c: New file.
11263 * posix/Makefile (tests): Add tst-getopt_long1.
11264
c84cfef4
UD
11265 [BZ #10138]
11266 * scripts/config.guess: Update from autoconf-2.68.
11267 * scripts/config.sub: Likewise.
11268
3b85df27
UD
11269 [BZ #10157]
11270 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11271 tests into ...
11272 (has_cpuclock): ...this. New function.
11273 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11274 macro here based on has_cpuclock code.
11275
15a856b1
UD
11276 [BZ #10149]
11277 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11278 First byte (not low byte) is now always NUL.
11279 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11280
05f399e6
UD
11281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11282 Use non-cancelable interfaces.
11283
10a52685 11284 [BZ #9809]
94ecc67d
UD
11285 * locale/iso-639.def: Add entry for Sorani.
11286
f8a3b5bf
UD
11287 [BZ #11901]
11288 * include/stdlib.h: Move include protection to the right place.
11289 Define abort_msg_s. Declare __abort_msg with it.
11290 * stdlib/abort.c (__abort_msg): Adjust type.
11291 * assert/assert.c (__assert_fail_base): New function. Majority
11292 of code from __assert_fail. Allocate memory for __abort_msg with
11293 mmap.
11294 (__assert_fail): Now call __assert_fail_base.
11295 * assert/assert-perr.c: Remove bulk of implementation. Use
11296 __assert_fail_base.
11297 * include/assert.hL Declare __assert_fail_base.
11298 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11299 mmap.
11300 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11301
1af4e298
UD
113022011-05-14 Ulrich Drepper <drepper@gmail.com>
11303
f8a3b5bf 11304 [BZ #11952]
d26dfc60
MG
11305 [BZ #12453]
11306 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11307 until all modules are registered in the DTV.
11308 * elf/Makefile: Add rules to build and run tst-tls19.
11309 * elf/tst-tls19.c: New file.
11310 * elf/tst-tls19mod1.c: New file.
11311 * elf/tst-tls19mod2.c: New file.
11312 * elf/tst-tls19mod3.c: New file.
11313 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11314
2fc54d6f
UD
11315 [BZ #12083]
11316 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11317 correctly.
11318
98d76b46
UD
11319 [BZ #12601]
11320 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11321 two-byte sequence errors.
11322 * iconvdata/Makefile (tests): Add bug-iconv8.
11323 * iconvdata/bug-iconv8.c: New file.
11324
da3c19ef
UD
11325 [BZ #12626]
11326 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11327 buf2 definition.
11328
ca408c15
UD
11329 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11330
d6f67f7d
UD
11331 [BZ #12432]
11332 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11333 (dummy_getcfa): New function.
11334 (init): Get _Unwind_GetCFA address, use dummy if not found.
11335 (backtrace_helper): In recursion check, also check whether CFA changes.
11336 (__backtrace): Completely initialize arg.
11337
1af4e298 11338 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11339 storing incomplete byte sequence in state object. Avoid testing for
11340 guaranteed too small input if we know there is enough data available.
1af4e298 11341
da62f81b
AS
113422011-05-11 Andreas Schwab <schwab@redhat.com>
11343
11344 * Makeconfig (+link-pie): Indent.
11345 * Rules (binaries-pie): Define if $(have-fpie) and
11346 $(build-shared).
11347 (binaries-shared): Also filter out $(binaries-pie).
11348 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11349 * nscd/Makefile (others-pie): Add nscd.
11350 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11351 ($(objpfx)nscd): Remove command override.
11352 * login/Makefile (others-pie): Add pt_chown.
11353 ($(objpfx)pt_chown): Remove command override.
11354 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11355 remove command overrides.
11356
fcabc0f8
UD
113572011-05-13 Ulrich Drepper <drepper@gmail.com>
11358
20030ae6
UD
11359 * libio/tst_putwc.c: Fix error messages.
11360
fcabc0f8
UD
11361 [BZ #12724]
11362 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11363 currently writing and seek to current position when not.
11364 * libio/Makefile (tests): Add bug-fclose1.
11365 * libio/bug-fclose1.c: New file.
11366
320a5dc0
PB
113672011-05-12 Ulrich Drepper <drepper@gmail.com>
11368
11369 [BZ #12511]
11370 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11371 don't set DF_1_NODELETE here.
11372 (do_lookup_x): When entering new entry test for copy relocation
11373 and if necessary set DF_1_NODELETE flag.
11374 * elf/tst-unique4.cc: New file.
11375 * elf/tst-unique4.h: New file.
11376 * elf/tst-unique4lib.cc: New file.
11377 * elf/Makefile: Add rules to build and run tst-unique4.
11378 Patch by Piotr Bury <pbury@goahead.com>.
11379
22836f52
UD
113802011-05-11 Ulrich Drepper <drepper@gmail.com>
11381
f574184a
UD
11382 [BZ #12052]
11383 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11384
e1fb097f
UD
11385 [BZ #12625]
11386 * misc/mntent_r.c (addmntent): Flush the stream after the output
11387
22836f52
UD
11388 [BZ #12393]
11389 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11390 (is_trusted_path_normalize): Skip initial colon. Append slash
11391 to empty buffer. Duplicate is_trusted_path code but allow
11392 constructed patch to be prefix.
11393 (is_dst): Allow $ORIGIN followed by /.
11394 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11395 Correct testing of result of is_trusted_path_normalize
11396 (decompose_rpath): Fix warning.
11397
7b3b0b2a
UD
113982011-05-10 Ulrich Drepper <drepper@gmail.com>
11399
11400 [BZ #11257]
11401 * grp/initgroups.c (internal_getgrouplist): When we found the service
11402 list through the initgroups entry in nsswitch.conf do not always
11403 continue on a successful lookup. Don't always use the
eac80ce2 11404 __nss_group_database value if it is set.
7b3b0b2a
UD
11405 * nss/nsswitch.conf (initgroups): Change action for successful db
11406 lookup to continue for compatibility.
11407
2a81eaa5
UD
114082011-05-09 Ulrich Drepper <drepper@gmail.com>
11409
be97a69e
UD
11410 [BZ #11532]
11411 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11412 and CP774 modules.
11413 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11414 and CP774 modules.
11415 * iconvdata/tst-tables.sh: Likewise.
11416 * iconvdata/cp770.c: New file.
11417 * iconvdata/cp771.c: New file.
11418 * iconvdata/cp772.c: New file.
11419 * iconvdata/cp773.c: New file.
11420 * iconvdata/cp774.c: New file.
11421 * iconvdata/testdata/CP770: New file.
11422 * iconvdata/testdata/CP770..UTF8: New file.
11423 * iconvdata/testdata/CP771: New file.
11424 * iconvdata/testdata/CP771..UTF8: New file.
11425 * iconvdata/testdata/CP772: New file.
11426 * iconvdata/testdata/CP772..UTF8: New file.
11427 * iconvdata/testdata/CP773: New file.
11428 * iconvdata/testdata/CP773..UTF8: New file.
11429 * iconvdata/testdata/CP774: New file.
11430 * iconvdata/testdata/CP774..UTF8: New file.
11431
11432 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11433 END CHARMAP line.
11434 * iconvdata/gen-8bit-gap.sh: Likewise.
11435 * iconvdata/gen-8bit.sh: Likewise.
11436
c1e9e399
UD
11437 * locale/iso-639.def: Add ary entry.
11438
24c55fb3 11439 [BZ #11258]
96b4b1b0
UD
11440 * locale/C-translit.h.in: Add U20A1 transliteration.
11441
bdc2f971
KB
11442 [BZ #12178]
11443 * locale/iso-639.def: Add wae entry.
11444 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11445
2952b117
UD
11446 [BZ #12545]
11447 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11448 for n.
11449
2a81eaa5
UD
11450 [BZ #12711]
11451 * locale/C-translit.h.in: Add entry for U20B9.
11452 Patch by pravin.d.s@gmail.com.
11453
28377d1b
UD
114542011-05-08 Ulrich Drepper <drepper@gmail.com>
11455
7fb90fb8
UD
11456 [BZ #12713]
11457 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11458 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11459 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11460 in rtld. Use *stat64.
7fb90fb8 11461 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11462 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11463 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11464 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11465 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11466 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11467 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11468 __fstatat64 macros.
7fb90fb8
UD
11469 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11470 * dirent/rewinddir.c: Add libc_hidden_def.
11471 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11472 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11473
28377d1b
UD
11474 * include/dirent.h (__alloc_dir): Add flags parameter.
11475 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11476 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11477 __alloc_dir.
11478 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11479 from fdopendir if O_CLOEXEC is already set.
11480
66bdbaa4
AM
114812011-03-15 Alan Modra <amodra@gmail.com>
11482
11483 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11484 l_tls_firstbyte_offset non-zero. Save padding offset in
11485 l_tls_firstbyte_offset for later use.
11486 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11487 freeing static tls block.
11488
95721191
JN
114892011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11490
11491 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11492 where #ifdef was intended. The intent is to prevent ARG_MAX from
11493 being defined by the kernel headers.
11494
f87dfb1f
UD
114952011-05-07 Ulrich Drepper <drepper@gmail.com>
11496
11497 [BZ #12734]
11498 * resolv/resolv.h: Define RES_NOTLDQUERY.
11499 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11500 no-tld-query and set RES_NOTLDQUERY.
11501 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11502 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11503 modern BIND to search name as TLD unless forbidden.
11504
47c3cd7a
UD
115052011-05-07 Petr Baudis <pasky@suse.cz>
11506 Ulrich Drepper <drepper@gmail.com>
11507
11508 [BZ #12393]
11509 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11510 (is_trusted_path): ...to here.
c1e9ea35 11511 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11512 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11513 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11514
8a35c912
PP
115152011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11516
11517 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11518 __BEGIN/__END_DECLS.
11519
acd41f47
UD
115202011-05-06 Ulrich Drepper <drepper@gmail.com>
11521
11522 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11523 NSS_STATUS_NOTFOUND if no record was found.
11524
597df647
AS
115252011-05-05 Andreas Schwab <schwab@redhat.com>
11526
11527 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11528 (headers-not-in-tirpc): Remove rpc/netdb.h
11529 * resolv/netdb.h: Revert last change.
11530
b9af1301
PP
115312011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11532
11533 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11534 circular dependency between libgcc.a and libc.a.
11535
4e34d5f5
AS
115362011-05-05 Andreas Schwab <schwab@redhat.com>
11537
11538 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11539 * nis/Makefile: Don't install rpcsvc/*.
11540 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11541 instead of <rpc/types.h>.
11542 (MAXHOSTNAMELEN): Define.
11543
00ee369c
AS
115442011-05-03 Andreas Schwab <schwab@redhat.com>
11545
11546 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11547
0b592a30
MB
115482011-04-28 Maciej Babinski <mbabinski@google.com>
11549
11550 [BZ #12714]
11551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11552 gethostbyname4_r when IPv6 results are possible.
11553
6e04cbbe
UD
115542011-05-02 Ulrich Drepper <drepper@gmail.com>
11555
11556 [BZ #12723]
11557 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11558 _PC_PIPE_BUF handling.
11559
e4ecafe0
BH
115602011-04-30 Bruno Haible <bruno@clisp.org>
11561
11562 [BZ #12717]
11563 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11564 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11565 to 'int'.
11566 * inet/getnameinfo.c (getnameinfo): Likewise.
11567
125ee683
UD
115682011-04-29 Ulrich Drepper <drepper@gmail.com>
11569
11570 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11571 to groups setting in database lookup.
11572 * nss/nsswitch.conf: Add initgroups entry.
11573
b722481a
EB
115742011-04-22 Ulrich Drepper <drepper@gmail.com>
11575
11576 [BZ #12685]
11577 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11578 mode string.
11579 Patch by Eric Blake <eblake@redhat.com>.
11580
4df46dbd
L
115812011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11582
11583 * sunrpc/Makefile (need-export-routines): Add svc_run.
11584 (routines): Remove svc_run.
11585 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11586 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11587 * sunrpc/svc_run.c (svc_run): Likewise.
11588 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11589
e84142d2
UD
115902011-04-21 Ulrich Drepper <drepper@gmail.com>
11591
11592 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11593 problem in reallocation in last patch.
11594
877175d8
UD
115952011-04-20 Ulrich Drepper <drepper@gmail.com>
11596
11597 * sunrpc/Makefile: Move inclusion of Rules.
11598
ab8eed78
UD
115992011-04-19 Ulrich Drepper <drepper@gmail.com>
11600
11601 * nss/nss_files/files-initgroups.c: New file.
11602 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11603 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11604 _nss_files_initgroups_dyn.
11605
e3d8f584
RS
116062011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11607
11608 * elf/elf.h (R_ARM_IRELATIVE): Define.
11609
af190f45
UD
116102011-04-19 Ulrich Drepper <drepper@gmail.com>
11611
11612 * po/ru.po: Update from translation team.
11613
53cf59ef
UD
116142011-04-17 Ulrich Drepper <drepper@gmail.com>
11615
11616 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11617 dependencies.
11618
4c559bcd
MF
116192011-02-06 Mike Frysinger <vapier@gentoo.org>
11620
11621 [BZ #12653]
11622 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11623 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11624 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11625 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11626 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11627
4420675c
AS
116282011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11629
11630 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11631 differing bytes.
11632 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11633 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11634 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11635
75ea32ab
UD
116362011-04-17 Ulrich Drepper <drepper@gmail.com>
11637
11638 [BZ #12420]
11639 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11640 storing it.
11641 * stdlib/bug-getcontext.c: New file.
11642 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11643
27390476
AK
116442011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11645
11646 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11647 instructions into .machine "z9-109".
11648 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11649 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11650
10442705
AK
116512011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11652
11653 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11654 between environment variables and auxiliary vector.
11655
7b57bfe5
UD
116562011-04-16 Ulrich Drepper <drepper@gmail.com>
11657
11658 * Makefile: Add rules to build linkobj/libc.so.
11659 * include/libc-symbols.h: Define libc_hidden_nolink.
11660 * include/rpc/auth.h: Mark functions which are to be hidden.
11661 * include/rpc/auth_des.h: Likewise.
11662 * include/rpc/auth_unix.h: Likewise.
11663 * include/rpc/clnt.h: Likewise.
11664 * include/rpc/des_crypt.h: Likewise.
11665 * include/rpc/key_prot.h: Likewise.
11666 * include/rpc/pmap_clnt.h: Likewise.
11667 * include/rpc/pmap_prot.h: Likewise.
11668 * include/rpc/pmap_rmt.h: Likewise.
11669 * include/rpc/rpc_msg.h: Likewise.
11670 * include/rpc/svc.h: Likewise.
11671 * include/rpc/svc_auth.h: Likewise.
11672 * include/rpc/xdr.h: Likewise.
11673 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11674 * nss/Makefile: Likewise.
11675 * sunrpc/Makefile: Don't install headers. Build library with normal
11676 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11677 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11678 for the compat linking library. Remove use of INTDEF/INTUSE.
11679 * sunrpc/auth_none.c: Likewise.
11680 * sunrpc/auth_unix.c: Likewise.
11681 * sunrpc/authdes_prot.c: Likewise.
11682 * sunrpc/authuxprot.c: Likewise.
11683 * sunrpc/clnt_gen.c: Likewise.
11684 * sunrpc/clnt_perr.c: Likewise.
11685 * sunrpc/clnt_raw.c: Likewise.
11686 * sunrpc/clnt_simp.c: Likewise.
11687 * sunrpc/clnt_tcp.c: Likewise.
11688 * sunrpc/clnt_udp.c: Likewise.
11689 * sunrpc/clnt_unix.c: Likewise.
11690 * sunrpc/des_crypt.c: Likewise.
11691 * sunrpc/des_soft.c: Likewise.
11692 * sunrpc/get_myaddr.c: Likewise.
11693 * sunrpc/key_call.c: Likewise.
11694 * sunrpc/key_prot.c: Likewise.
11695 * sunrpc/netname.c: Likewise.
11696 * sunrpc/pm_getmaps.c: Likewise.
11697 * sunrpc/pm_getport.c: Likewise.
11698 * sunrpc/pmap_clnt.c: Likewise.
11699 * sunrpc/pmap_prot.c: Likewise.
11700 * sunrpc/pmap_prot2.c: Likewise.
11701 * sunrpc/pmap_rmt.c: Likewise.
11702 * sunrpc/publickey.c: Likewise.
11703 * sunrpc/rpc_cmsg.c: Likewise.
11704 * sunrpc/rpc_common.c: Likewise.
11705 * sunrpc/rpc_dtable.c: Likewise.
11706 * sunrpc/rpc_prot.c: Likewise.
11707 * sunrpc/rpc_thread.c: Likewise.
11708 * sunrpc/rtime.c: Likewise.
11709 * sunrpc/svc.c: Likewise.
11710 * sunrpc/svc_auth.c: Likewise.
11711 * sunrpc/svc_authux.c: Likewise.
11712 * sunrpc/svc_raw.c: Likewise.
11713 * sunrpc/svc_run.c: Likewise.
11714 * sunrpc/svc_simple.c: Likewise.
11715 * sunrpc/svc_tcp.c: Likewise.
11716 * sunrpc/svc_udp.c: Likewise.
11717 * sunrpc/svc_unix.c: Likewise.
11718 * sunrpc/svcauth_des.c: Likewise.
11719 * sunrpc/xcrypt.c: Likewise.
11720 * sunrpc/xdr.c: Likewise.
11721 * sunrpc/xdr_array.c: Likewise.
11722 * sunrpc/xdr_float.c: Likewise.
11723 * sunrpc/xdr_intXX_t.c: Likewise.
11724 * sunrpc/xdr_mem.c: Likewise.
11725 * sunrpc/xdr_rec.c: Likewise.
11726 * sunrpc/xdr_ref.c: Likewise.
11727 * sunrpc/xdr_sizeof.c: Likewise.
11728 * sunrpc/xdr_stdio.c: Likewise.
11729
e6c61494
UD
117302011-04-10 Ulrich Drepper <drepper@gmail.com>
11731
11732 [BZ #12650]
11733 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11734 * sysdeps/ia64/dl-tls.h: Likewise.
11735 * sysdeps/powerpc/dl-tls.h: Likewise.
11736 * sysdeps/s390/dl-tls.h: Likewise.
11737 * sysdeps/sh/dl-tls.h: Likewise.
11738 * sysdeps/sparc/dl-tls.h: Likewise.
11739 * sysdeps/x86_64/dl-tls.h: Likewise.
11740 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11741
34fe483e
AS
117422011-03-14 Andreas Schwab <schwab@redhat.com>
11743
11744 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11745 rpath element also skip the following colon.
11746 (expand_dynamic_string_token): Add is_path parameter and pass
11747 down to DL_DST_REQUIRED and _dl_dst_substitute.
11748 (decompose_rpath): Call expand_dynamic_string_token with
11749 non-zero is_path. Ignore empty rpaths.
11750 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11751 with zero is_path.
11752
f12a32e6
AS
117532011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11754
11755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11756 Make cancelable.
11757
38a7d692
UD
117582011-04-09 Ulrich Drepper <drepper@gmail.com>
11759
11760 [BZ #12655]
11761 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11762 Patch by Filipe David Manana <fdmanana@apache.org>.
11763
e451d22b
AS
117642011-04-07 Andreas Schwab <schwab@redhat.com>
11765
11766 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11767 Maintain aligned stack.
11768 (CHECK_RSP): Remove unused macro.
11769
dedc7c7b
UD
117702011-04-03 Ulrich Drepper <drepper@gmail.com>
11771
11772 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11773 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11774
94521213
UD
117752011-04-02 Ulrich Drepper <drepper@gmail.com>
11776
11777 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11778
8cb700c0 11779 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11780
0354e355
L
117812011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11782
11783 [BZ #12518]
11784 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11785 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11786 * sysdeps/x86_64/memmove.c: New file.
11787 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11788 (memcpy): Renamed to ...
11789 (__new_memcpy): This.
11790 (memcpy): Provide GLIBC_2_14 memcpy.
11791 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11792 (memcpy): Provide GLIBC_2_2_5 memcpy.
11793
8593482f
UD
117942011-04-01 Ulrich Drepper <drepper@gmail.com>
11795
11796 [BZ #12631]
11797 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11798
81a5726b
AS
117992011-03-30 Andreas Schwab <schwab@redhat.com>
11800
11801 * misc/syncfs.c: New file.
11802 * misc/Makefile (routines): Add syncfs.
11803 * posix/unistd.h: Declare syncfs.
11804 * sysdeps/unix/syscalls.list: Add syncfs.
11805
00e5419f
AS
118062011-04-01 Andreas Schwab <schwab@redhat.com>
11807
11808 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11809 open_by_handle_at.
11810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11811 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11813 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11815 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11817
748876bf
UD
118182011-04-01 Ulrich Drepper <drepper@gmail.com>
11819
658e451d
UD
11820 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11821 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11822 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11824 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11826 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11827
748876bf
UD
11828 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11829 sync_file_range.c with -fexceptions.
11830 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11831 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11832 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11833 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11834 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11835 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11837 sync_file_range as cancellation point
11838 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11839 now a wrapper around __call_sync_file_range with cancellation handling.
11840 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11841 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11842 function name to __call_sync_file_range.
11843 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11844 Add call_sync_file_range.
748876bf 11845
6e63d5e1
AS
118462011-04-01 Andreas Schwab <schwab@redhat.com>
11847
11848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11849 bits/timex.h.
6e63d5e1 11850
46998f74
UD
118512011-04-01 Ulrich Drepper <drepper@gmail.com>
11852
4c1423ed
UD
11853 * iconv/iconv.h: Fix typo in comment.
11854 * io/fcntl.h: Likewise.
11855 * libio/stdio.h: Likewise.
11856 * posix/spawn.h: Likewise.
11857 * posix/unistd.h: Likewise.
11858 * stdlib/stdlib.h: Likewise.
11859 * time/time.h: Likewise.
11860 * wcsmbs/wchar.h: Likewise.
11861
158648c0
UD
11862 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11863 open_by_handle): Add.
11864 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11865 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11866 Augment a few comments.
11867 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11869 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11871 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11872 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11873 open_by_handle.
11874
46998f74
UD
11875 * io/fcntl.h (AT_EMPTY_PATH): Define.
11876
83fe108b
UD
118772011-03-30 Ulrich Drepper <drepper@gmail.com>
11878
11879 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11880 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11881 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11882 to...
11883 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11884 * Versions.def: Add GLIBC_2.14.
11885 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11886 Export.
83fe108b 11887
bb242059
UD
118882011-03-22 Ulrich Drepper <drepper@gmail.com>
11889
11890 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11891 round counter.
11892 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11893
c97a1282
L
118942011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11895
11896 [BZ #12597]
11897 * string/test-strncmp.c (do_page_test): New function.
11898 (check2): Likewise.
11899 (test_main): Call check2.
11900 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11901
2a115601
UD
119022011-03-20 Ulrich Drepper <drepper@gmail.com>
11903
11904 [BZ #12587]
11905 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11906 Handle cache information in CPU leaf 4.
11907 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11908
8126d904
UD
119092011-03-18 Ulrich Drepper <drepper@gmail.com>
11910
042c49c6 11911 [BZ #12583]
8126d904
UD
11912 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11913 character representation.
11914 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11915
ccfe366e
RA
119162011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11917
11918 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11919 END(__isnan) to END(__isnanf) to match function entry point/label
11920 EALIGN(__isnanf,...).
11921
c6e13027
JJ
119222011-03-10 Jakub Jelinek <jakub@redhat.com>
11923
11924 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11925
33f85a3f
UD
119262011-03-10 Ulrich Drepper <drepper@gmail.com>
11927
028478fa
UD
11928 [BZ #12510]
11929 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11930 copy from the symbol referenced in the relocation to initialize the
11931 used variable.
11932 Patch by Piotr Bury <pbury@goahead.com>.
11933 * elf/Makefile: Add rules to build and tst-unique3.
11934 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11935 * elf/tst-unique3.cc: New file.
11936 * elf/tst-unique3.h: New file.
11937 * elf/tst-unique3lib.cc: New file.
11938 * elf/tst-unique3lib2.cc: New file.
11939
33f85a3f
UD
11940 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11941
03592fc7
MF
119422011-03-10 Mike Frysinger <vapier@gentoo.org>
11943
11944 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11945 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11946 to _start.
03592fc7 11947
6a5ee102
UD
119482011-03-06 Ulrich Drepper <drepper@gmail.com>
11949
11950 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11951 to-be-loaded object along a path to loader is ld.so.
11952
7e4ba49c
HJ
119532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11954 Ulrich Drepper <drepper@gmail.com>
11955
11956 * sysdeps/x86_64/memset.S: After aligning destination, code
11957 branches to different locations depending on the value of
11958 misalignment, when multiarch is enabled. Fix this.
11959
119602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11961
11962 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11963 Set _x86_64_preferred_memory_instruction for AMD processsors.
11964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11965 Set bit_Prefer_SSE_for_memop for AMD processors.
11966
13a804de
UD
119672011-03-04 Ulrich Drepper <drepper@gmail.com>
11968
11969 * libio/fmemopen.c (fmemopen): Optimize a bit.
11970
9d25c392
AS
119712011-03-03 Andreas Schwab <schwab@redhat.com>
11972
11973 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11974
a5543c6a
RM
119752011-03-03 Roland McGrath <roland@redhat.com>
11976
11977 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11978
012d35f7
DM
119792011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11980
7e4ba49c 11981 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11982 __bzero_ultra1 instead of __memset_ultra1.
11983
4bff6e01
AS
119842011-02-23 Andreas Schwab <schwab@redhat.com>
11985 Ulrich Drepper <drepper@gmail.com>
11986
11987 [BZ #12509]
11988 * include/link.h (struct link_map): Add l_orig_initfini.
11989 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11990 returning unsuccessfully.
11991 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11992 close of a file loaded at startup, restore the original l_initfini
11993 list.
11994 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11995 list, store the pointer.
11996 * elf/Makefile ($(objpfx)noload-mem): New rule.
11997 (noload-ENV): Define.
11998 (tests): Add $(objpfx)noload-mem.
11999 * elf/noload.c: Include <memcheck.h>.
12000 (main): Call mtrace. Close all opened handles.
12001
f2092faf
AS
120022011-02-17 Andreas Schwab <schwab@redhat.com>
12003
12004 [BZ #12454]
12005 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12006 dependencies are missing.
12007
6c8a2e88
ST
120082011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12009
f2092faf 12010 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12011 Hurd needs munmap.
12012 * sysdeps/mach/hurd/ifreq.h: New file.
12013
84a42118
PB
120142011-01-27 Petr Baudis <pasky@suse.cz>
12015 Ulrich Drepper <drepper@gmail.com>
12016
071f805e 12017 [BZ 12445]#
84a42118
PB
12018 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12019 to extend_alloca().
12020 * stdio-common/bug23.c: New file.
12021 * stdio-common/Makefile (tests): Add bug23.
12022
e23fe25b
AS
120232010-09-28 Andreas Schwab <schwab@redhat.com>
12024 Ulrich Drepper <drepper@gmail.com>
12025
12026 [BZ #12489]
12027 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12028 before performing relro protection. At old place add assertion
12029 to make sure nothing changed.
12030
d3f02e10
NS
120312011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12032 Glauber de Oliveira Costa <glommer@gmail.com>
12033
12034 * elf/elf.h: Add new ARM TLS relocs.
12035
d55fd7a5
RA
120362011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12037
12038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12039 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12040 cast from r3.
12041 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12042 'tests' variable.
12043 * sysdeps/wordsize-64/tst-writev.c: New file.
12044
2206397e
RA
120452011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12046
12047 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12048 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12049 insns in _dl_start to prevent a TOC reference before relocs are
12050 resolved.
12051
e9433893
UD
120522011-02-15 Ulrich Drepper <drepper@gmail.com>
12053
12054 [BZ #12469]
12055 * Makeconfig: Remove RANLIB definition.
12056 * Makerules: Don't use RANLIB.
12057 * aclocal.m4: Remove ranlib test.
12058 * configure.in: No need to check for ranlib.
12059 * elf/rtld-Rules: Don't use RANLIB.
12060
f75286c6
ST
120612011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12062
8e31c82d
ST
12063 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12064 protection macro.
12065 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12066 inclusion protection macro.
12067
f75286c6
ST
12068 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12069 SIGRTMIN and SIGRTMAX and print information in that case only when
12070 SIGRTMIN is defined.
12071
c1d0e639
JJ
120722011-02-11 Jakub Jelinek <jakub@redhat.com>
12073
12074 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12075 arginfo fn returning -1.
12076
12077 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12078 and thousands string is zero terminated.
12079
edf9294e
AS
120802011-02-03 Andreas Schwab <schwab@redhat.com>
12081
12082 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12083 sysdeps/unix/sysv/linux/bits/socket.h.
12084
2b7e92df
ST
120852011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12086
edf9294e
AS
12087 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12088 (__CPU_COUNT): Remove old macros.
12089 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12090 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12091 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12092 (__sched_cpualloc, __sched_cpufree): Add declarations.
12093
a4c7ea7b
UD
120942011-02-05 Ulrich Drepper <drepper@gmail.com>
12095
12096 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12097 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12098 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12099 (readdhstai): Return value of addhstaiX call.
12100 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12101 (addgrbyX): Return value returned by cache_addgr.
12102 (readdgrbyname): Return value returned by addgrbyX.
12103 (readdgrbygid): Likewise.
12104 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12105 (addpwbyX): Return value returned by cache_addpw.
12106 (readdpwbyname): Return value returned by addhstbyX.
12107 (readdpwbyuid): Likewise.
12108 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12109 (addservbyX): Return value returned by cache_addserv.
12110 (readdservbyname): Return value returned by addservbyX:
12111 (readdservbyport): Likewise.
12112 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12113 (addhstbyX): Return value returned by cache_addhst.
12114 (readdhstbyname): Return value returned by addhstbyX.
12115 (readdhstbyaddr): Likewise.
12116 (readdhstbynamev6): Likewise.
12117 (readdhstbyaddrv6): Likewise.
12118 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12119 (readdinitgroups): Return value returned by addinitgroupsX.
12120 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12121 (prune_cache): Keep track of timeout value of re-added entries.
12122 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12123 * nscd/nscd.h: Adjust prototypes of readd* functions.
12124
a0bf67cc
RM
121252011-02-04 Roland McGrath <roland@redhat.com>
12126
12127 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12128 (nis_stats): Likewise.
12129 * nis/nis_modify.c (nis_modify): Likewise.
12130 * nis/nis_remove.c (nis_remove): Likewise.
12131 * nis/nis_add.c (nis_add): Likewise.
12132
12133 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12134
12135 * posix/fnmatch_loop.c: Add some consts.
12136
12137 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12138
435b95eb
L
121392011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12140
12141 [BZ #12460]
12142 * config.make.in (config-cflags-novzeroupper): Define.
12143 * configure.in: Substitute libc_cv_cc_novzeroupper.
12144 * elf/Makefile (AVX-CFLAGS): Define.
12145 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12146 (CFLAGS-tst-auditmod4a.c): Likewise.
12147 (CFLAGS-tst-auditmod4b.c): Likewise.
12148 (CFLAGS-tst-auditmod6b.c): Likewise.
12149 (CFLAGS-tst-auditmod6c.c): Likewise.
12150 (CFLAGS-tst-auditmod7b.c): Likewise.
12151 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12152
8517b15e
UD
121532011-02-02 Ulrich Drepper <drepper@gmail.com>
12154
12155 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12156 function to the callback.
12157 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12158
10a656fe
AS
121592011-02-02 Andreas Schwab <schwab@redhat.com>
12160
12161 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12162 of errno.
12163
968dad0a
UD
121642011-01-19 Ulrich Drepper <drepper@gmail.com>
12165
9f94d2ea 12166 [BZ #11724]
968dad0a
UD
12167 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12168 of constructors.
12169 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12170 of destructors.
12171 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12172
12173 [BZ #11724]
12174 * elf/Makefile: Add rules to build and run new test.
12175 * elf/tst-initorder.c: New file.
12176 * elf/tst-initorder.exp: New file.
12177 * elf/tst-initordera1.c: New file.
12178 * elf/tst-initordera2.c: New file.
12179 * elf/tst-initordera3.c: New file.
12180 * elf/tst-initordera4.c: New file.
12181 * elf/tst-initorderb1.c: New file.
12182 * elf/tst-initorderb2.c: New file.
12183 * elf/tst-order-a1.c: New file.
12184 * elf/tst-order-a2.c: New file.
12185 * elf/tst-order-a3.c: New file.
12186 * elf/tst-order-a4.c: New file.
12187 * elf/tst-order-b1.c: New file.
12188 * elf/tst-order-b2.c: New file.
12189 * elf/tst-order-main.c: New file.
12190 New test case by George Gensure <werkt0@gmail.com>.
12191
86e92359
UD
121922010-10-01 Andreas Schwab <schwab@redhat.com>
12193
12194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12195 decoding ACE if AI_CANONIDN.
12196
5d5732b0
UD
121972011-01-18 Ulrich Drepper <drepper@gmail.com>
12198
12199 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12200
a77e8cbc
UD
122012011-01-17 Ulrich Drepper <drepper@gmail.com>
12202
6392473f
UD
12203 * version.h (RELEASE): Bump for 2.13 release.
12204 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12205
620a0529
UD
12206 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12207
18ba70a5
UD
12208 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12209 MADV_NOHUGEPAGE.
32465c3e
UD
12210 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12211 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12212 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12213 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12215 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12216
c0dafcf1
UD
12217 * posix/getconf.c: Update copyright year.
12218 * catgets/gencat.c: Likewise.
12219 * csu/version.c: Likewise.
12220 * debug/catchsegv.sh: Likewise.
12221 * debug/xtrace.sh: Likewise.
12222 * elf/ldconfig.c: Likewise.
12223 * elf/ldd.bash.in: Likewise.
12224 * elf/sprof.c (print_version): Likewise.
12225 * iconv/iconv_prog.c: Likewise.
12226 * iconv/iconvconfig.c: Likewise.
12227 * locale/programs/locale.c: Likewise.
12228 * locale/programs/localedef.c: Likewise.
12229 * malloc/memusage.sh: Likewise.
12230 * malloc/mtrace.pl: Likewise.
12231 * nscd/nscd.c (print_version): Likewise.
12232 * nss/getent.c: Likewise.
12233
a77e8cbc
UD
12234 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12235 PF_CAIF, and PF_ALG.
12236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12237
77e8bddf
AS
122382011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12239
1f20b93a
AS
12240 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12241 (modules-names): Use them.
12242 (ifunc-test-modules, ifunc-pie-tests): Define.
12243 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12244 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12245 (test-extras): Likewise.
12246 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12247 $(compile-command.c).
12248 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12249 (all-built-dso): Define.
12250 (check-textrel.out, check-execstack.out): Depend on it.
12251
77e8bddf
AS
12252 * configure.in: Don't override --enable-multi-arch.
12253
bc425b33
UD
122542011-01-15 Ulrich Drepper <drepper@gmail.com>
12255
12256 [BZ #6812]
12257 * nscd/hstcache.c (tryagain): Define.
12258 (cache_addhst): Return tryagain not notfound for temporary errors.
12259 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12260 failed.
12261
794c3ad3
UD
122622011-01-14 Ulrich Drepper <drepper@gmail.com>
12263
70181fdd
UD
12264 [BZ #10563]
12265 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12266 to make the syscall.
12267 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12268
794c3ad3
UD
12269 [BZ #12378]
12270 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12271 and fall back to matching as normal character if the string ends before
12272 the matching ']' is found. This is what POSIX requires.
12273 * posix/testfnm.c: Adjust test result.
12274 * posix/globtest.sh: Adjust test result. Add new test.
12275 * posix/tst-fnmatch.input: Likewise.
12276 * posix/tst-fnmatch2.c: Add new test.
12277
68dc9497
AS
122782010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12279
12280 * elf/Makefile (check-execstack): Revert last change. Depend on
12281 check-execstack.h.
12282 (check-execstack.h): New target.
12283 (generated): Add check-execstack.h.
12284 * elf/check-execstack.c: Include "check-execstack.h".
12285 (main): Revert last change.
12286 (handle_file): Return zero if GNU_STACK is absent and
12287 DEFAULT_STACK_PERMS doesn't include PF_X.
12288
451f001b
UD
122892011-01-13 Ulrich Drepper <drepper@gmail.com>
12290
cfa28e56
UD
12291 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12292 in child fails because the descriptor is already closed.
8cf8ce17
UD
12293 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12294 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12295 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12296
1086d70d
UD
12297 [BZ #12397]
12298 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12299 syscall.
12300
451f001b
UD
12301 [BZ #10484]
12302 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12303 temporary buffer used to handle multi lookups locally.
a85b5cb4 12304 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12305
08769175
UD
123062011-01-12 Ulrich Drepper <drepper@gmail.com>
12307
12308 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12309 loader is ld.so.
12310
5e49c52e
UD
123112011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12312
12313 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12314 alignment for SSE2.
12315
60522a5f
UD
123162011-01-12 Ulrich Drepper <drepper@gmail.com>
12317
12318 [BZ #12394]
12319 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12320 characters. When rounding increased number of integer digits recompute
12321 number of groups.
12322 * stdio-common/tst-grouping.c: New file.
12323 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12324
f257bbd7
UD
123252011-01-09 Ulrich Drepper <drepper@gmail.com>
12326
12327 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12328 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12329
12330 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12331 void.
12332 * bits/select.h: Likewise.
12333
fa9c15cb
UD
123342011-01-08 Ulrich Drepper <drepper@gmail.com>
12335
12336 * po/ja.po: Update from translation team.
12337
16c2895f
DM
123382011-01-04 David S. Miller <davem@sunset.davemloft.net>
12339
12340 [BZ #11155]
12341 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12342 implementation just like for lxstat, fxstatat, et al.
12343
2543fef2
JM
123442010-12-27 Jim Meyering <meyering@redhat.com>
12345
12346 [BZ #12348]
12347 * posix/regexec.c (build_trtable): Return failure indication upon
12348 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12349
98727dbe
UD
123502010-12-25 Ulrich Drepper <drepper@gmail.com>
12351
5bd6dc5c
UD
12352 [BZ #12201]
12353 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12354 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12355 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12356 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12357
97983464
UD
12358 [BZ #12207]
12359 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12360
98727dbe
UD
12361 [BZ #12204]
12362 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12363 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12364
4a531bb0
L
123652010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12366
12367 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12368 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12369 script has SORT_BY_INIT_PRIORITY.
12370 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12371 NO_CTORS_DTORS_SECTIONS is defined.
12372 * elf/soinit.c: Likewise.
12373 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12374 NO_CTORS_DTORS_SECTIONS is defined.
12375 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12376 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12377 * sysdeps/sh/init-first.c: Likewise.
12378 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12379
07eb4b71
UD
123802010-12-24 Ulrich Drepper <drepper@gmail.com>
12381
12382 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12383 always use the slow path.
12384
30950a5f
RA
123852010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12386
12387 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12388 similar rule which adds the sysdep directories to the header search in
12389 order to pick up the correct platform stackinfo.h.
12390 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12391 perform test if it is, otherwise return successfully without testing.
12392 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12393 DEFAULT_STACK_PERMS define in stackinfo.h.
12394 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12395 defined in stackinfo.h.
12396 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12397 DEFAULT_STACK_PERMS defined in stackinfo.h.
12398 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12399 * sysdeps/ia64/stackinfo.h: Likewise.
12400 * sysdeps/s390/stackinfo.h: Likewise.
12401 * sysdeps/sh/stackinfo.h: Likewise.
12402 * sysdeps/sparc/stackinfo.h: Likewise.
12403 * sysdeps/x86_64/stackinfo.h: Likewise.
12404 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12405 PF_X for powerpc64. Retain PF_X for powerpc32.
12406
db753e2c
UD
124072010-12-19 Ulrich Drepper <drepper@gmail.com>
12408
14b697f7
UD
12409 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12410 accurately.
db753e2c
UD
12411 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12412 GETDENTS_64BIT_ALIGNED.
12413
28300719
UD
124142010-12-14 Ulrich Drepper <dreper@gmail.com>
12415
14b697f7 12416 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12417
4f197237
AS
124182010-12-10 Andreas Schwab <schwab@redhat.com>
12419
dbb0472f
AS
12420 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12421 _GNU_SOURCE.
12422
4f197237
AS
12423 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12424 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12425 Remove __restrict.
12426 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12427 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12428
fb88ac72
UD
124292010-12-09 Ulrich Drepper <drepper@gmail.com>
12430
12431 [BZ #11655]
12432 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12433 are initialized.
12434
42acbb92
JJ
124352010-12-09 Jakub Jelinek <jakub@redhat.com>
12436
12437 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12438
c038d98d
UD
124392010-12-03 Ulrich Drepper <drepper@gmail.com>
12440
12441 * po/it.po: Update from translation team.
12442
3a4a2499
L
124432010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12444
12445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12446 unused codes.
12447
1e24cf6e
UD
124482010-11-30 Ulrich Drepper <drepper@gmail.com>
12449
12450 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12451
a7690819
AS
124522010-11-24 Andreas Schwab <schwab@redhat.com>
12453
12454 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12455 specially.
12456 (gaih_getanswer_slice): Likewise.
12457
3bf8d1b1
JJ
124582010-10-20 Jakub Jelinek <jakub@redhat.com>
12459
12460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12461
6db52fbb
PB
124622010-05-31 Petr Baudis <pasky@suse.cz>
12463
12464 [BZ #11149]
12465 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12466 silently even in the chroot mode.
12467
eaca7569
UD
124682010-11-22 Ulrich Drepper <drepper@gmail.com>
12469
12470 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12471 last patch a bit. Pretty printing
12472
3056dcdb
UD
124732010-05-31 Petr Baudis <pasky@suse.cz>
12474
12475 [BZ #10085]
12476 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12477 initialization of skip_initgroups_dyn.
12478
cf7c9078
UD
124792010-11-19 Ulrich Drepper <drepper@gmail.com>
12480
12481 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12482 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12483
a1fb5e3e
UD
124842010-11-16 Ulrich Drepper <drepper@gmail.com>
12485
12486 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12487
3540d66b
AS
124882010-11-11 Andreas Schwab <schwab@redhat.com>
12489
12490 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12491 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12492 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12493 ($(objpfx)tst-fnmatch-mem): New rule.
12494 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12495 * posix/tst-fnmatch.c (main): Call mtrace.
12496
13b69574
L
124972010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12498
12499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12500 Support Intel processor model 6 and model 0x2c.
12501
da93d214
LM
125022010-11-10 Luis Machado <luisgpm@br.ibm.com>
12503
12504 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12505 signed comparison.
12506
8ca52c6e
L
125072010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12508
12509 [BZ #12205]
12510 * string/test-strncasecmp.c (check_result): New function.
12511 (do_one_test): Use it.
12512 (check1): New function.
12513 (test_main): Use it.
12514 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12515 Support strcasecmp and strncasecmp.
12516
69da074d
UD
125172010-11-08 Ulrich Drepper <drepper@gmail.com>
12518
12519 [BZ #12194]
12520 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12521 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12522
ff02d528
L
125232010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12524
12525 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12526 IFUNC support.
12527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12528 memset-x86-64.
12529 * sysdeps/x86_64/multiarch/bzero.S: New file.
12530 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12531 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12532 * sysdeps/x86_64/multiarch/memset.S: New file.
12533 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12535 Set bit_Prefer_SSE_for_memop for Intel processors.
12536 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12537 Define.
12538 (index_Prefer_SSE_for_memop): Define.
12539 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12540
344d0b54
LM
125412010-11-04 Luis Machado <luisgpm@br.ibm.com>
12542
12543 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12544 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12545
c0dde15b
UD
125462010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12547
12548 [BZ #12191]
12549 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12550 (__x86_64_raw_data_cache_size_half): Likewise.
12551 (__x86_64_raw_shared_cache_size): Likewise.
12552 (__x86_64_raw_shared_cache_size_half): Likewise.
12553
12554 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12555 (__x86_64_raw_data_cache_size_half): Likewise.
12556 (__x86_64_raw_shared_cache_size): Likewise.
12557 (__x86_64_raw_shared_cache_size_half): Likewise.
12558 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12559 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12560 and __x86_64_raw_shared_cache_size_half. Round
12561 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12562 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12563 to multiple of 256 bytes.
12564
0e516e0e
MS
125652010-11-03 Ulrich Drepper <drepper@gmail.com>
12566
12567 [BZ #12167]
12568 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12569 of inacessible symlinks. Verify result of symlink before returning it.
12570 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12571 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12572
0e012e87
ER
125732010-10-28 Erich Ritz <erichritz@gmail.com>
12574
12575 * math/math.h (isinf): Fix typo in comment.
12576
de0ff7bc
UD
125772010-11-01 Ulrich Drepper <drepper@gmail.com>
12578
12579 * po/da.po: Update from translation team.
12580
fa41c84d
UD
125812010-10-26 Ulrich Drepper <drepper@gmail.com>
12582
12583 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12584 is added to the list.
12585
f0967738
AK
125862010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12587 Ulrich Drepper <drepper@gmail.com>
12588
12589 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12590 the global list here. Move code to...
12591 (_dl_add_to_namespace_list): ...here. New function.
12592 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12593 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12594 * elf/dl-load.c (lose): Don't remove the element from the list.
12595 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12596 (_dl_map_object): Likewise.
12597
125982010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12599
12600 [BZ #12159]
12601 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12602 into all bytes of SSE register.
12603 Patch by Richard Li <richardpku@gmail.com>.
12604
f0967738 126052010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12606
12607 [BZ #12140]
12608 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12609 perturbing.
12610
d0b9e94f
MB
126112010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12612
12613 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12614 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12615 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12616 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12618 submachine.
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12620
8e9f92e9
AS
126212010-10-22 Andreas Schwab <schwab@redhat.com>
12622
12623 * include/dlfcn.h (__RTLD_SECURE): Define.
12624 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12625 mode & __RTLD_SECURE instead.
12626 (open_path): Rename preloaded parameter to secure.
12627 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12628 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12629 * elf/dl-deps.c (openaux): Likewise.
12630 * elf/rtld.c (struct map_args): Remove is_preloaded.
12631 (map_doit): Don't use it.
12632 (dl_main): Likewise.
12633 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12634 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12635
bc96fbda
AS
126362010-09-09 Andreas Schwab <schwab@redhat.com>
12637
12638 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12639 (sysd-rules-targets): Remove duplicates.
12640 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12641 rtld-%.$o dependency.
12642
22cd1c9b
AS
126432010-10-18 Andreas Schwab <schwab@redhat.com>
12644
12645 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12646 _dl_map_object do it.
12647
18edac48
UD
126482010-10-19 Ulrich Drepper <drepper@gmail.com>
12649
12650 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12651 fast fma builtins, define the macros in the C99 standard.
12652 (FP_FAST_FMAF): Likewise.
12653 (FP_FAST_FMAL): Likewise.
12654 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12655
12656 * bits/mathdef.h: Update copyright year.
12657 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12658
d2050124
MM
126592010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12660
12661 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12662 builtins, define the macros in the C99 standard.
12663 (FP_FAST_FMAF): Likewise.
12664 (FP_FAST_FMAL): Likewise.
12665 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12666 multiply/add.
12667 (FP_FAST_FMAF): Likewise.
12668
475facd1
JJ
126692010-10-15 Jakub Jelinek <jakub@redhat.com>
12670
12671 [BZ #3268]
12672 * math/libm-test.inc (fma_test): Some new testcases.
12673 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12674 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12675 y and infinite z. Do multiplication by C already in long double.
12676 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12678 y and infinite z. Do bitwise or of inexact bit into u.d.
12679 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12680 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12681 * sysdeps/i386/fpu/s_fma.S: Removed.
12682 * sysdeps/i386/fpu/s_fmal.S: Removed.
12683
7c08a05c
JJ
126842010-10-16 Jakub Jelinek <jakub@redhat.com>
12685
12686 [BZ #3268]
12687 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12689 computation is not scheduled after fetestexcept. Fix value
12690 of minimum denormal long double.
12691
f3f7372d
JJ
126922010-10-14 Jakub Jelinek <jakub@redhat.com>
12693
12694 [BZ #3268]
12695 * math/libm-test.inc (fma_test): Add some more tests.
12696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12697 correctly.
12698
14d43591
AS
126992010-10-15 Andreas Schwab <schwab@redhat.com>
12700
12701 * scripts/data/localplt-s390-linux-gnu.data: New file.
12702 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12703
5e908464
JJ
127042010-10-13 Jakub Jelinek <jakub@redhat.com>
12705
12706 [BZ #3268]
12707 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12708 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12709 instead of dbl-64.
12710 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12711 inlines.
12712 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12714 if one of x and y is very large and the other is subnormal.
12715 * sysdeps/s390/fpu/s_fmaf.c: New file.
12716 * sysdeps/s390/fpu/s_fma.c: New file.
12717 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12718 * sysdeps/powerpc/fpu/s_fma.S: New file.
12719 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12720 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12721 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12722
127232010-10-12 Jakub Jelinek <jakub@redhat.com>
12724
12725 [BZ #3268]
12726 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12727 fma tests.
12728 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12729 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12730 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12731 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12732 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12733 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12734 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12735
b833d51f
UD
127362010-10-12 Ulrich Drepper <drepper@redhat.com>
12737
12738 [BZ #12078]
12739 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12740 * posix/bug-regex31.input: Add test case.
12741
1751705d
UD
127422010-10-11 Ulrich Drepper <drepper@gmail.com>
12743
e9b9cbf5
UD
12744 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12745 * posix/bug-regex31.input: New file.
12746
12747 [BZ #12078]
12748 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12749 (parse_sub_exp): Fix last change, use postorder.
12750
ef06edbe
UD
12751 * posix/bug-regex31.c: New file.
12752 * posix/Makefile: Add rules to build and run bug-regex31.
12753
a129c80d
UD
12754 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12755
12756 [BZ #12078]
12757 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12758
b76b818e
UD
12759 [BZ #12108]
12760 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12761 to have entries in sys_siglist.
12762
1751705d
UD
12763 [BZ #12093]
12764 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12765 be NULL.
12766
9ff8d36f
JJ
127672010-10-07 Jakub Jelinek <jakub@redhat.com>
12768
12769 [BZ #3268]
12770 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12771 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12772 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12773 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12774 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12775 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12776 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12777 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12778 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12779 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12780 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12781 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12782 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12783 * math/ftestexcept.c (fetestexcept): Likewise.
12784 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12785 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12786 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12787 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12788 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12789 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12790 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12791
af325969
UD
127922010-10-11 Ulrich Drepper <drepper@gmail.com>
12793
c579b202 12794 [BZ #12107]
af325969
UD
12795 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12796 newline.
12797
67a67b95
UD
127982010-10-06 Ulrich Drepper <drepper@gmail.com>
12799
12800 * string/bug-strstr1.c: New file.
12801 * string/Makefile: Add rules to build and run bug-strstr1.
12802
5fb308bc
EB
128032010-10-05 Eric Blake <eblake@redhat.com>
12804
12805 [BZ #12092]
12806 * string/str-two-way.h (two_way_long_needle): Always clear memory
12807 when skipping input due to the shift table.
12808
45db99c7
UD
128092010-10-03 Ulrich Drepper <drepper@gmail.com>
12810
3b111893
UD
12811 [BZ #12005]
12812 * malloc/mcheck.c: Handle large requests.
12813
45db99c7
UD
12814 [BZ #12077]
12815 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12816 for strncmp and strncasecmp.
12817 * string/stratcliff.c: Add tests for strcmp and strncmp.
12818 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12819
cf7a1eb8
NI
128202010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12821
12822 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12823 __set_fpscr.
12824
6484ba5e
AJ
128252010-09-30 Andreas Jaeger <aj@suse.de>
12826
12827 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12828 (CGROUP_SUPER_MAGIC): Define.
12829 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12830 Handle btrfs and cgroup file systems.
12831 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12832 Likewise.
12833
91c42559
LM
128342010-09-27 Luis Machado <luisgpm@br.ibm.com>
12835
12836 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12837 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12838
87a97932
AK
128392010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12840
12841 [BZ #12067]
12842 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12843 trying to locate the ELF header.
12844
c21cc9bc
AS
128452010-09-27 Andreas Schwab <schwab@redhat.com>
12846
12847 [BZ #11611]
12848 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12849 Mask out sign-bit copies when constructing f_fsid.
12850
315970f6
PB
128512010-09-24 Petr Baudis <pasky@suse.cz>
12852
12853 * debug/stack_chk_fail_local.c: Add missing licence exception.
12854 * debug/warning-nop.c: Likewise.
12855
1ac7a2c7
JM
128562010-09-15 Joseph Myers <joseph@codesourcery.com>
12857
12858 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12859 implementing getdents64 using getdents syscall, set d_type if
12860 __ASSUME_GETDENTS32_D_TYPE.
12861
56801c50
AS
128622010-09-16 Andreas Schwab <schwab@redhat.com>
12863
12864 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12865 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12866
dda51327
UD
128672010-09-21 Ulrich Drepper <drepper@redhat.com>
12868
12869 [BZ #12037]
12870 * posix/unistd.h: Undo change of feature selection for ftruncate from
12871 2010-01-11.
12872
8ffcee4a
UD
128732010-09-20 Ulrich Drepper <drepper@redhat.com>
12874
a545ecd9 12875 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12876 detection.
12877
e24f0a8b
AS
128782010-09-20 Andreas Schwab <schwab@redhat.com>
12879
12880 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12881 fanotify_mark.
12882 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12883
7291c56f
AS
128842010-09-14 Andreas Schwab <schwab@redhat.com>
12885
12886 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12887 variables after CHECK_SP call.
12888 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12889
bc5fb037
AS
128902010-09-13 Andreas Schwab <schwab@redhat.com>
12891 Ulrich Drepper <drepper@redhat.com>
12892
12893 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12894 re-relocationg ld.so.
12895 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12896 _dl_init_paths call.
12897 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12898 here anymore.
12899
e66e7419
UD
129002010-09-14 Ulrich Drepper <drepper@redhat.com>
12901
12902 * resolv/res_init.c (__res_vinit): Count the default server we added.
12903
c044aa75
CLT
129042010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12905 Ulrich Drepper <drepper@redhat.com>
12906
12907 [BZ #11968]
12908 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12909 (____longjmp_chk): Use %ebx for saving value across system call.
12910 Add unwind info.
12911
32cf4069
AS
129122010-09-06 Andreas Schwab <schwab@redhat.com>
12913
12914 * manual/Makefile: Don't mix pattern rules with normal rules.
12915
817328ee
AS
129162010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12917
12918 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12919 operation.
12920 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12921 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12922 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12923 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12924 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12925 Likewise.
12926
29fddf61
UD
129272010-09-04 Ulrich Drepper <drepper@redhat.com>
12928
12929 [BZ #11979]
12930 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12931 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12932
0959ffc9
UD
129332010-09-02 Ulrich Drepper <drepper@redhat.com>
12934
12935 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12936 * sysdeps/x86_64/addmul_1.S: Likewise.
12937 * sysdeps/x86_64/lshift.S: Likewise.
12938 * sysdeps/x86_64/mul_1.S: Likewise.
12939 * sysdeps/x86_64/rshift.S: Likewise.
12940 * sysdeps/x86_64/sub_n.S: Likewise.
12941 * sysdeps/x86_64/submul_1.S: Likewise.
12942
ece29840
ST
129432010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12944
0959ffc9
UD
12945 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12946 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12947 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12948 * bits/sched.h [__need_schedparam]
ece29840 12949 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12950 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12951 (__defined_schedparam): Define to 1.
ece29840
ST
12952 (__sched_param): New structure, identical to sched_param.
12953 (__need_schedparam): Undefine.
12954
e53a31fe
MF
129552010-08-31 Mike Frysinger <vapier@gentoo.org>
12956
fdc0c10d
MF
12957 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12958 (epoll_create1): Declare.
12959
e53a31fe
MF
12960 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12961
a726d796
AS
129622010-08-31 Andreas Schwab <schwab@redhat.com>
12963
12964 [BZ #7066]
12965 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12966 shifting retval into place.
12967
2f3e3dc7
UD
129682010-09-01 Ulrich Drepper <drepper@redhat.com>
12969
f2933da9
UD
12970 * nis/rpcsvc/nis.h: Update copyright notice.
12971 * nis/rpcsvc/nis.x: Likewise.
12972 * nis/rpcsvc/nis_callback.h: Likewise.
12973 * nis/rpcsvc/nis_callback.x: Likewise.
12974 * nis/rpcsvc/nis_object.x: Likewise.
12975 * nis/rpcsvc/nis_tags.h: Likewise.
12976 * nis/rpcsvc/yp.h: Likewise.
12977 * nis/rpcsvc/yp.x: Likewise.
12978 * nis/rpcsvc/ypupd.h: Likewise.
12979 * nis/yp_xdr.c: Likewise.
12980 * nis/ypupdate_xdr.c: Likewise.
12981
2f3e3dc7
UD
12982 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12983 mainly the body of pmap_getport. Add parameters to specify timeouts.
12984 (pmap_getport): Use __libc_rpc_getport.
12985 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12986 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12987 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12988
f3dcc2f9
AS
129892010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12990
12991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12992 fanotify_mark.
12993
6d34eb5b
RM
129942010-08-27 Roland McGrath <roland@redhat.com>
12995
12996 * sysdeps/i386/i686/multiarch/Makefile
12997 (CFLAGS-varshift.c): New variable.
12998
9ea3de11
UD
129992010-08-27 Ulrich Drepper <drepper@redhat.com>
13000
c96d23fc
UD
13001 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13002 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13003
9ea3de11
UD
13004 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13005
13006 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13007
623aac7f
L
130082010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13009
13010 * sysdeps/x86_64/strlen.S: Unroll the loop.
13011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13012 strlen-sse2 strlen-sse2-bsf.
13013 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13014 __strlen_no_bsf if bit_Slow_BSF is set.
13015 (__strlen_sse42): Removed.
13016 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13017 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13018
8b2b7715
RM
130192010-08-25 Roland McGrath <roland@redhat.com>
13020
13021 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13022 * sysdeps/x86_64/multiarch/varshift.c: New file.
13023 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13024 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13025 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13026 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13027
e73015f2
L
130282010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13029
13030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13031 strlen-sse2 strlen-sse2-bsf.
13032 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13033 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13034 (__strlen_sse2): Removed.
13035 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13036 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13038 bit_Slow_BSF for Atom.
13039 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13040 (index_Slow_BSF): Define.
13041 (HAS_SLOW_BSF): Define.
13042
df24a73e
UD
130432010-08-25 Ulrich Drepper <drepper@redhat.com>
13044
13045 [BZ #10851]
13046 * resolv/res_init.c (__res_vinit): When no server address at all
13047 is given default to loopback.
13048
f2ac4868
RM
130492010-08-24 Roland McGrath <roland@redhat.com>
13050
09055553
RM
13051 * configure.in: Remove config-name.h generation.
13052 * configure: Regenerated.
13053 * config-name.in: File removed.
13054 * scripts/config-uname.sh: New file.
13055 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13056 ($(objdir)config-name.h): New target.
13057
f2ac4868
RM
13058 * sunrpc/rpc_parse.h: Avoid nested comment.
13059
73f27d5e
RH
130602010-08-24 Richard Henderson <rth@redhat.com>
13061 Ulrich Drepper <drepper@redhat.com>
13062 H.J. Lu <hongjiu.lu@intel.com>
13063
13064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13066 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13067 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13068 _mm_alignr_epi8 with _mm_loadu_si128.
13069 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13070 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13071 (__m128i_shift_right): Removed.
13072 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13073 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13074 * sysdeps/x86_64/multiarch/varshift.h: New file.
13075 * sysdeps/x86_64/multiarch/varshift.S: New file.
13076
84b9230c
MF
130772010-08-21 Mike Frysinger <vapier@gentoo.org>
13078
13079 * configure.in: Move assembler checks to before sysdep dir checking.
13080
9bbd0ddc
PB
130812010-08-20 Petr Baudis <pasky@suse.cz>
13082
13083 * LICENSES: Sync the sunrpc license.
13084
9da4bb31
UD
130852010-08-19 Ulrich Drepper <drepper@redhat.com>
13086
a7ab6ec8
UD
13087 * sunrpc/auth_des.c: Update copyright notice once again.
13088 * sunrpc/auth_none.c: Likewise.
13089 * sunrpc/auth_unix.c: Likewise.
13090 * sunrpc/authdes_prot.c: Likewise.
13091 * sunrpc/authuxprot.c: Likewise.
13092 * sunrpc/bindrsvprt.c: Likewise.
13093 * sunrpc/clnt_gen.c: Likewise.
13094 * sunrpc/clnt_perr.c: Likewise.
13095 * sunrpc/clnt_raw.c: Likewise.
13096 * sunrpc/clnt_simp.c: Likewise.
13097 * sunrpc/clnt_tcp.c: Likewise.
13098 * sunrpc/clnt_udp.c: Likewise.
13099 * sunrpc/clnt_unix.c: Likewise.
13100 * sunrpc/des_crypt.c: Likewise.
13101 * sunrpc/des_soft.c: Likewise.
13102 * sunrpc/get_myaddr.c: Likewise.
13103 * sunrpc/getrpcport.c: Likewise.
13104 * sunrpc/key_call.c: Likewise.
13105 * sunrpc/key_prot.c: Likewise.
13106 * sunrpc/openchild.c: Likewise.
13107 * sunrpc/pm_getmaps.c: Likewise.
13108 * sunrpc/pm_getport.c: Likewise.
13109 * sunrpc/pmap_clnt.c: Likewise.
13110 * sunrpc/pmap_prot.c: Likewise.
13111 * sunrpc/pmap_prot2.c: Likewise.
13112 * sunrpc/pmap_rmt.c: Likewise.
13113 * sunrpc/rpc/auth.h: Likewise.
13114 * sunrpc/rpc/auth_unix.h: Likewise.
13115 * sunrpc/rpc/clnt.h: Likewise.
13116 * sunrpc/rpc/des_crypt.h: Likewise.
13117 * sunrpc/rpc/key_prot.h: Likewise.
13118 * sunrpc/rpc/netdb.h: Likewise.
13119 * sunrpc/rpc/pmap_clnt.h: Likewise.
13120 * sunrpc/rpc/pmap_prot.h: Likewise.
13121 * sunrpc/rpc/pmap_rmt.h: Likewise.
13122 * sunrpc/rpc/rpc.h: Likewise.
13123 * sunrpc/rpc/rpc_des.h: Likewise.
13124 * sunrpc/rpc/rpc_msg.h: Likewise.
13125 * sunrpc/rpc/svc.h: Likewise.
13126 * sunrpc/rpc/svc_auth.h: Likewise.
13127 * sunrpc/rpc/types.h: Likewise.
13128 * sunrpc/rpc/xdr.h: Likewise.
13129 * sunrpc/rpc_clntout.c: Likewise.
13130 * sunrpc/rpc_cmsg.c: Likewise.
13131 * sunrpc/rpc_common.c: Likewise.
13132 * sunrpc/rpc_cout.c: Likewise.
13133 * sunrpc/rpc_dtable.c: Likewise.
13134 * sunrpc/rpc_hout.c: Likewise.
13135 * sunrpc/rpc_main.c: Likewise.
13136 * sunrpc/rpc_parse.c: Likewise.
13137 * sunrpc/rpc_parse.h: Likewise.
13138 * sunrpc/rpc_prot.c: Likewise.
13139 * sunrpc/rpc_sample.c: Likewise.
13140 * sunrpc/rpc_scan.c: Likewise.
13141 * sunrpc/rpc_scan.h: Likewise.
13142 * sunrpc/rpc_svcout.c: Likewise.
13143 * sunrpc/rpc_tblout.c: Likewise.
13144 * sunrpc/rpc_util.c: Likewise.
13145 * sunrpc/rpc_util.h: Likewise.
13146 * sunrpc/rpcinfo.c: Likewise.
13147 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13148 * sunrpc/rpcsvc/key_prot.x: Likewise.
13149 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13150 * sunrpc/rpcsvc/mount.x: Likewise.
13151 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13152 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13153 * sunrpc/rpcsvc/rex.x: Likewise.
13154 * sunrpc/rpcsvc/rstat.x: Likewise.
13155 * sunrpc/rpcsvc/rusers.x: Likewise.
13156 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13157 * sunrpc/rpcsvc/spray.x: Likewise.
13158 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13159 * sunrpc/rtime.c: Likewise.
13160 * sunrpc/svc.c: Likewise.
13161 * sunrpc/svc_auth.c: Likewise.
13162 * sunrpc/svc_authux.c: Likewise.
13163 * sunrpc/svc_raw.c: Likewise.
13164 * sunrpc/svc_run.c: Likewise.
13165 * sunrpc/svc_simple.c: Likewise.
13166 * sunrpc/svc_tcp.c: Likewise.
13167 * sunrpc/svc_udp.c: Likewise.
13168 * sunrpc/svc_unix.c: Likewise.
13169 * sunrpc/svcauth_des.c: Likewise.
13170 * sunrpc/xcrypt.c: Likewise.
13171 * sunrpc/xdr.c: Likewise.
13172 * sunrpc/xdr_array.c: Likewise.
13173 * sunrpc/xdr_float.c: Likewise.
13174 * sunrpc/xdr_mem.c: Likewise.
13175 * sunrpc/xdr_rec.c: Likewise.
13176 * sunrpc/xdr_ref.c: Likewise.
13177 * sunrpc/xdr_sizeof.c: Likewise.
13178 * sunrpc/xdr_stdio.c: Likewise.
13179
9da4bb31
UD
13180 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13181 handling.
13182
bdaa77bc
AS
131832010-08-19 Andreas Schwab <schwab@redhat.com>
13184
13185 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13186
fe2f79db
LM
131872010-08-19 Luis Machado <luisgpm@br.ibm.com>
13188
13189 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13190 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13191 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13192 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13193 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13194 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13195 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13196 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13197 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13198 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13199 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13200 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13201 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13202 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13203
b9b42ee0
AB
132042010-07-26 Anton Blanchard <anton@samba.org>
13205
13206 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13207 * malloc/arena.c (heap_trim): Likewise.
13208
1c06ba31
UD
132092010-08-16 Ulrich Drepper <drepper@redhat.com>
13210
13211 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13212 here. Not...
13213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13214 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13215
f8392f40
L
132162010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13217
13218 * sysdeps/i386/elf/Makefile: New file.
13219
3162f12e
AS
132202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13221
13222 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13223 from fanotify_init.
13224 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13226
28c90b2c
UD
132272010-08-15 Ulrich Drepper <drepper@redhat.com>
13228
13229 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13230 of strncasecmp_l.
1feccb6c 13231 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13232
ca6bb004
UD
132332010-08-14 Ulrich Drepper <drepper@redhat.com>
13234
e9f82e0d
UD
13235 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13236 strncase_l-nonascii.
13237 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13238 Add strncase_l-ssse3.
13239 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13240 * sysdeps/x86_64/strcmp.S: Likewise.
13241 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13242 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13243 * sysdeps/x86_64/strncase.S: New file.
13244 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13245 * sysdeps/x86_64/strncase_l.S: New file.
13246 * string/Makefile (strop-tests): Add strncasecmp.
13247 * string/test-strncasecmp.c: New file.
13248
13249 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13250 warning.
13251
ca6bb004
UD
13252 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13253 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13254
052fa7b3
AS
132552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13256
13257 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13258
962dba78
UD
132592010-08-12 Ulrich Drepper <drepper@redhat.com>
13260
13261 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13262 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13263 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13264
bebff237
AM
132652010-05-01 Alan Modra <amodra@gmail.com>
13266
13267 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13268 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13269 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13270 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13271 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13272 tidying. Don't tail-call __sigjmp_save for static lib.
13273 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13274 save location.
13275 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13276 (CALL_MCOUNT): Add eh info, and nop after bl.
13277 (TAIL_CALL_SYSCALL_ERROR): New macro.
13278 (PSEUDO_RET): Use it.
13279 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13280 Correct save location of integer regs and cr.
13281 (_dl_profile_resolve): Correct cr save location. Delete nops
13282 after bl when SHARED. Reduce cfi size a little by better
13283 placement of cfi directives.
13284 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13285 make a stack frame. Instead use parm save area as a temp.
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13287 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13289 Don't make a stack frame for parent, use parm save area.
13290 Increase child stack frame to 112 bytes. Don't save unused reg,
13291 and adjust reg usage. Set up cfi on error recovery and
13292 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13294 (__makecontext): Add dummy nop after jump to exit.
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13296 Use correct parm save area and cr save, reduce stack frame.
13297 Correct cfi for possible PSEUDO_RET frame setup.
13298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13299 Branch to local label emitted by PSEUDO_RET rather than
13300 __syscall_error.
13301
02637374
AS
133022010-08-12 Andreas Schwab <schwab@redhat.com>
13303
13304 [BZ #11904]
13305 * locale/programs/locale.c (print_assignment): New function.
13306 (show_locale_vars): Use it.
13307
c3e2f19b
UD
133082010-08-11 Ulrich Drepper <drepper@redhat.com>
13309
3cdaa6ad
UD
13310 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13311 field.
13312 (struct statfs64): Likewise.
13313 (_STATFS_F_FLAGS): Define.
13314 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13316 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13317 (ST_VALID): Define locally.
13318 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13319 __statvfs_getflags, use the provided value.
13320 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13321 __ASSUME_STATFS_F_FLAGS.
13322
754f7da3
UD
13323 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13324
10b3bedc
UD
13325 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13326 Add sys/fanotify.h.
13327 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13328 fanotify_mask for GLIBC_2.13.
13329 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13330 fanotify_init and fanotify_mark.
13331 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13332 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13333
c08fb0d7
UD
13334 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13335 Add prlimit.
13336 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13337 prlimit64 for GLIBC_2.13.
13338 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13339 prlimit64.
13340 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13341 syscall.
13342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13343 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13344 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13345 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13346 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13347 add prlimit alias.
13348 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13349
15bac72b
UD
13350 [BZ #11903]
13351 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13352 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13353
c3e2f19b
UD
13354 * nss/Makefile: Add rules to build and run tst-nss-test1.
13355 * shlib-versions: Add entry for libnss_test1.
13356 * nss/nss_test1.c: New file.
13357 * nss/tst-nss-test1.c: New file.
13358
13359 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13360 (__nss_configure_lookup): Set appropriate entry in
13361 __nss_configure_lookup to true.
13362 * nss/nsswitch.h: Define enum with indeces of databases in
13363 databases and __nss_database_custom arrays. Declare
13364 __nss_database_custom.
13365 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13366 to avoid using nscd when custom rules are installed.
13367 * nss/getXXbyYY_r.c: Likewise.
13368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13369
13370 * nss/nss_files/files-parse.c: Whitespace fixes.
13371
f15ce4d8
UD
133722010-08-09 Ulrich Drepper <drepper@redhat.com>
13373
13374 [BZ #11883]
13375 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13376 * posix/fnmatch_loop.c: Likewise.
13377
d22e4cc9
AK
133782010-07-17 Andi Kleen <ak@linux.intel.com>
13379
13380 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13381 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13382 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13383 * Versions.def [GLIBC_2.13]: Add.
13384
805bc17d
UD
133852010-08-06 Ulrich Drepper <drepper@redhat.com>
13386
13387 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13388 Also fail if tpwd after pwuid call is NULL.
13389
5a42321d
ST
133902010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13391
13392 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13393 when converting to ms.
13394
fd3ebeda
ST
133952010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13396
13397 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13398 EOPNOTSUPP errors with ENOTTY.
13399 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13400 EOPNOTSUPP errors with ENOTTY.
13401
73507d3a
UD
134022010-07-31 Ulrich Drepper <drepper@redhat.com>
13403
13404 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13405 Add strcasecmp_l-ssse3.
13406 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13407 strcasecmp.
13408 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13409 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13410 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13411
fe36dd02
UD
134122010-07-30 Ulrich Drepper <drepper@redhat.com>
13413
66f6765a
UD
13414 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13415
42e08a54
UD
13416 * string/Makefile (strop-tests): Add strcasecmp.
13417 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13418 strcasecmp_l-nonascii.
13419 (gen-as-const-headers): Add locale-defines.sym.
13420 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13421 * sysdeps/x86_64/strcasecmp.S: New file.
13422 * sysdeps/x86_64/strcasecmp_l.S: New file.
13423 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13424 * sysdeps/x86_64/locale-defines.sym: New file.
13425 * string/test-strcasecmp.c: New file.
13426
fe36dd02
UD
13427 * string/test-strcasestr.c: Test both ends of the range of characters.
13428 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13429
48cbc0d6
RM
134302010-07-29 Roland McGrath <roland@redhat.com>
13431
76e6d6bc 13432 [BZ #11856]
48cbc0d6
RM
13433 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13434
880113d9
UD
134352010-07-27 Ulrich Drepper <drepper@redhat.com>
13436
13437 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13438 for ld.so.
13439
deb9cabb
AS
134402010-07-27 Andreas Schwab <schwab@redhat.com>
13441
13442 * manual/memory.texi (Malloc Tunable Parameters): Document
13443 M_PERTURB.
13444
1c7570ff
RM
134452010-07-26 Roland McGrath <roland@redhat.com>
13446
13447 [BZ #11840]
13448 * configure.in (-fgnu89-inline check): Set and substitute
13449 gnu89_inline, not libc_cv_gnu89_inline.
13450 * configure: Regenerated.
13451 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13452
24fb0f88
UD
134532010-07-26 Ulrich Drepper <drepper@redhat.com>
13454
13455 * string/test-strnlen.c: New file.
13456 * string/Makefile (strop-tests): Add strnlen.
13457 * string/tester.c (test_strnlen): Add a few more test cases.
13458 * string/tst-strlen.c: Better error reporting.
13459
13460 * sysdeps/x86_64/strnlen.S: New file.
13461
8e96b93a
UD
134622010-07-24 Ulrich Drepper <drepper@redhat.com>
13463
13464 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13465 lower-latency instructions.
13466
dbc676d4
UD
134672010-07-23 Ulrich Drepper <drepper@redhat.com>
13468
13469 * string/test-strcasestr.c: New file.
13470 * string/test-strstr.c: New file.
13471 * string/Makefile (strop-tests): Add strstr and strcasestr.
13472 * string/str-two-way.h: Don't undefine MAX.
13473 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13474
f6a31e0e
AS
134752010-07-21 Andreas Schwab <schwab@redhat.com>
13476
13477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13478 strcasestr-nonascii.
13479 (CFLAGS-strcasestr-nonascii.c): Define.
13480 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13481 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13482 Remove unused attribute.
13483
5dbc3b6c
RM
134842010-07-20 Roland McGrath <roland@redhat.com>
13485
13486 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13487 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13488 ld.so.cache was broken. With it, there is no way to disable dsocaps
13489 like LD_HWCAP_MASK can disable hwcaps.
13490
23d101d8
EPM
134912010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13492
13493 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13494
cc9f2e47
UD
134952010-07-16 Ulrich Drepper <drepper@redhat.com>
13496
13497 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13498 call in strcasestr.
13499 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13500 __strcasestr_sse42_nonascii.
13501 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13502 strcasestr-nonascii.c.
13503 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13504
77c1b069
LM
135052010-06-15 Luis Machado <luisgpm@br.ibm.com>
13506
13507 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13508 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13509 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13510 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13511
440566c3
UD
135122010-07-09 Ulrich Drepper <drepper@redhat.com>
13513
13514 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13515 fcntl.
13516
5be9d05d
AS
135172010-07-06 Andreas Schwab <schwab@redhat.com>
13518
c30b7ee2 13519 [BZ #11577]
5be9d05d
AS
13520 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13521 dl_signal_cerror.
13522
8a492a67
UD
135232010-07-06 Ulrich Drepper <drepper@redhat.com>
13524
13525 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13526 _PC_PIPE_BUF using F_GETPIPE_SZ.
13527
713df3d5
RM
135282010-07-05 Roland McGrath <roland@redhat.com>
13529
13530 * manual/arith.texi (Rounding Functions): Fix rint description
13531 implicit in round description.
13532
702e8f14
UD
135332010-07-02 Ulrich Drepper <drepper@redhat.com>
13534
13535 * elf/Makefile: Fix linking for a few tests to make recent linker
13536 happy.
13537
52ed8be9
AS
135382010-06-30 Andreas Schwab <schwab@redhat.com>
13539
13540 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13541 $(common-objpfx)libc_nonshared.a.
13542
f47c9a11
LM
135432010-06-21 Luis Machado <luisgpm@br.ibm.com>
13544
13545 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13546 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13547 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13548 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13549 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13550 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13551 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13552 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13567 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13568 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13569 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13570 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13571 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13572 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13573 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13574 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13575 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13576 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13577 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13578 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13593
6fb8cbcb
L
135942010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13595
13596 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13597 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13598 * string/memmove.c (memmove): Renamed to ...
13599 (MEMMOVE): ...this. Default to memmove.
13600 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13601 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13602 (END_CHK): Define.
13603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13604 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13605 mempcpy-ssse3-back memmove-ssse3-back.
13606 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13607 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13608 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13609 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13610 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13611 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13612 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13613 * sysdeps/x86_64/multiarch/memmove.c: New file.
13614 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13615 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13616 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13617 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13618 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13619 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13620 Define.
13621 (index_Fast_Copy_Backward): Define.
13622 (HAS_ARCH_FEATURE): Define.
13623 (HAS_FAST_REP_STRING): Define.
13624 (HAS_FAST_COPY_BACKWARD): Define.
13625
4e733bac 136262010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13627
13628 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13629 Restore proper fallback handling.
13630
63c4ed22
UD
136312010-06-19 Ulrich Drepper <drepper@redhat.com>
13632
ac2b484c
UD
13633 [BZ #11701]
13634 * posix/group_member.c (__group_member): Correct checking loop.
13635
63c4ed22
UD
13636 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13637 OOM in getpwuid_r correctly. Return error number when the caller
13638 should return, otherwise -1.
13639 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13640 call returning > 0 value.
13641 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13642
765ade4b
AS
136432010-06-07 Andreas Schwab <schwab@redhat.com>
13644
13645 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13646 libc_nonshared.a from targets in modules-names.
13647
80da2e09
KS
136482010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13649
13650 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13651 requires it.
13652
158db122
LM
136532010-06-10 Luis Machado <luisgpm@br.ibm.com>
13654
13655 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13656 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13657 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13658 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13659
caa78cf8
AS
136602010-06-02 Andreas Schwab <schwab@redhat.com>
13661
13662 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13663
b2ef2c01
UD
136642010-06-14 Ulrich Drepper <drepper@redhat.com>
13665
13666 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13667 and F_GETPIPE_SZ.
13668 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13670 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13672 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13673 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13674
fbd643b6
RM
136752010-06-14 Roland McGrath <roland@redhat.com>
13676
13677 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13678
f32f2869
JJ
136792010-06-07 Jakub Jelinek <jakub@redhat.com>
13680
13681 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13682 __REDIRECT followed by __THROW.
13683 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13684 * posix/getopt.h (getopt): Likewise.
13685
2a50c078
EPM
136862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13687
13688 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13689 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13690 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13691 in AT_FLAGS.
13692 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13693 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13694
eb5ad2eb
LM
136952010-05-28 Luis Machado <luisgpm@br.ibm.com>
13696
13697 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13698
3c88fe1e
L
136992010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13700
13701 [BZ #11640]
13702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13703 Properly check family and model.
13704
d2f73151
TY
137052010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13706
13707 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13708
ebd2e13d
LM
137092010-05-24 Luis Machado <luisgpm@br.ibm.com>
13710
13711 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13712
b32b8b45
UD
137132010-05-21 Ulrich Drepper <drepper@redhat.com>
13714
13715 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13716 symbol reference.
13717
9acbe24d
AS
137182010-05-19 Andreas Schwab <schwab@redhat.com>
13719
13720 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13721 symbol reference.
13722
f0ccf6ea
AS
137232010-05-21 Andreas Schwab <schwab@redhat.com>
13724
3d04ff3a
AS
13725 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13726 and internal_recvmmsg.
13727 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13728 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13729 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13730 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13731
f0ccf6ea
AS
13732 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13733 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13734 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13735
5b08ac57
AS
137362010-05-20 Andreas Schwab <schwab@redhat.com>
13737
13738 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13739
4828935d
LM
137402010-05-17 Luis Machado <luisgpm@br.ibm.com>
13741
13742 POWER7 optimizations.
13743 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13744 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13745
373d545e
UD
137462010-05-19 Ulrich Drepper <drepper@redhat.com>
13747
13748 * version.h: Update for 2.13 development version.
13749
21a2b1ae
AS
137502010-05-12 Andrew Stubbs <ams@codesourcery.com>
13751
13752 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13753 exceptions. Return 0.
13754
3f7dcb2b
RM
137552010-05-07 Roland McGrath <roland@redhat.com>
13756
13757 * elf/ldconfig.c (main): Add a const.
13758
5f24d53a 137592010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13760
a160f8d8
UD
13761 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13762 (args_options): Add no-idn option.
13763 (ahosts_keys_int): Add idn_flags to ai_flags.
13764 (parse_option): Handle 'i' option to clear idn_flags.
13765
5f24d53a
UD
13766 * malloc/malloc.c (_int_free): Possible race in the most recently
13767 added check. Only act on the data if no current modification
13768 happened.
265bb1ce
UD
13769
13770See ChangeLog.17 for earlier changes.
This page took 1.832525 seconds and 5 git commands to generate.