]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Hurd: Support --prefix=/usr special-casing for all GNU systems.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
10589b4a
TS
12012-05-10 Thomas Schwinge <thomas@schwinge.name>
2
674cdbc7
TS
3 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4 * sysdeps/mach/hurd/configure: Regenerated.
5 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6 special-casing to...
7 * sysdeps/gnu/configure.in: ... this new file.
8 * sysdeps/unix/sysv/linux/configure: Regenerated.
9 * sysdeps/gnu/configure: New generated file.
10
8e41b99f
TS
11 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12 for Linux: use nsec instead of usec, as well as:
13 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14 members of type struct timespec.
15 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
16 New macros.
17 (struct stat64): Likewise.
18 (_STATBUF_ST_NSEC): New macro.
19 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20
10589b4a
TS
21 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22 __strtoul_internal rather than strtoul.
23
63643c85
PT
242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25
26 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
27 and reject them.
28
3faebe6a
ST
292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30
31 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32 which preserves existing values.
33 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34
c6474b07
PT
352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36
37 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38 TIMEOUT values. Return EINVAL for NFDS values either negative or
39 greater than FD_SETSIZE.
40
1043890b
ST
412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42
43 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44 allocated, call __vm_protect to finish enabling the existing space, and
45 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46 allocate the remainder.
47
37ed8b9b
PT
482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49
50 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
52
db653660
ST
532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
54
37ed8b9b
PT
55 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56 sysdeps/mach/hurd/readlink.c.
b29d4053 57
db653660
ST
58 * posix/tst-sysconf.c (posix_options): Only use
59 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
60 _POSIX_SYNCHRONIZED_IO when they are defined
61 * sysdeps/mach/hurd/bits/posix_opt.h:
62 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63 (_XOPEN_REALTIME): Undefine macro.
64 (_XOPEN_REALTIME_THREADS): Undefine macro.
65 (_XOPEN_SHM): Undefine macro.
66 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67 macro to -1.
68 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69 macro to -1.
70 (_POSIX_ASYNC_IO): Undefine macro.
71 (_POSIX_PRIORITIZED_IO): Undefine macro.
72 (_POSIX_SPIN_LOCKS): Define macro to -1.
73
ee16e894
ST
74 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
75 SA_NODEFER, SA_RESETHAND.
76 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
77 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
78 F_DUPFD_CLOEXEC.
79
6103ae3b
TS
802012-05-10 Thomas Schwinge <thomas@schwinge.name>
81
82 * elf/Makefile (pldd-modules): Define unconditionally.
83
80b4e5f3
TS
842012-05-10 Thomas Schwinge <thomas@schwinge.name>
85
86 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
87
edadcbd6
ST
882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
89
90 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
91 Return ENOENT when name is empty.
92 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
93
80694780
TS
942012-05-10 Thomas Schwinge <thomas@schwinge.name>
95
1792c087
TS
96 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
97
80694780
TS
98 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
99
6b645f0d
ST
1002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
101
80694780
TS
102 Fix mlock in all cases except non-readable pages.
103 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
104 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 105
6b645f0d
ST
106 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
107 (__mkdir): When path is `/', just fail with EEXIST.
108 * sysdeps/mach/hurd/mkdirat.c: Likewise.
109
e468f8a3
TS
1102012-05-10 Thomas Schwinge <thomas@schwinge.name>
111
112 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
113 <sys/uio.h> (for writev).
114 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
115 and <sys/param.h> (for MIN).
116
a4186cff
PT
1172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
118
119 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
120 REQUESTED_TIME. Properly set the remaining time and return EINTR
121 if interrupted.
122
510bbf14
TS
1232012-05-10 Thomas Schwinge <thomas@schwinge.name>
124
125 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
126 Depend on against $(link-rpcuserlibs).
127
5d5722e8
ST
1282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
129
a4186cff
PT
130 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
131 (__libc_stack_end): Do not use attribute_relro.
132 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
133 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 134 to libthread-provided value.
a4186cff
PT
135 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
136 attribute_relro.
5d5722e8 137
37233df9
TS
1382012-05-10 Thomas Schwinge <thomas@schwinge.name>
139
be971a2b
TS
140 [BZ #3748]
141 * bits/libc-lock.h (__libc_once_get): New macro.
142 * sysdeps/mach/bits/libc-lock.h: Likewise.
143 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
144 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
145 instead of using implementation details.
146
37233df9
TS
147 * libio/fileops.c: Unconditionally include <kernel-features.h>.
148 * libio/freopen.c: Likewise.
149 * libio/freopen64.c: Likewise.
150 * misc/syslog.c: Likewise.
151 * nscd/connections.c: Likewise.
152 * nscd/netgroupcache.c: Likewise.
153 * sysdeps/posix/getcwd.c: Likewise.
154
38de94a5
RM
1552012-05-10 Roland McGrath <roland@hack.frob.com>
156
157 * math/w_ilogbf.c: Add #include <limits.h>.
158
67530489
ST
1592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
160
a4186cff 161 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
162 path instead of returning without unlocking.
163
67530489
ST
164 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
165 immediate-write ioctls.
166 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
167
5aa3a74a
TS
1682012-05-10 Thomas Schwinge <thomas@schwinge.name>
169
18bad2ae
TS
170 * sysdeps/mach/hurd/i386/init-first.c (init): Use
171 __builtin_frame_address instead of making assumptions about the
172 location of the return address relative to DATA. Force early load of
173 the return address.
174 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
175 __builtin_frame_address.
176
5aa3a74a
TS
177 dup3 for GNU Hurd.
178 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
179 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
180 implement dup3 and do some further code clean-ups.
181 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
182 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
183
ecd0de9a
ST
1842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
185
cd9fa985
ST
186 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
187
a4186cff
PT
188 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
189 HURD_CRITICAL_END around holding _hurd_dtable_lock.
190 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
191 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
192 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
193 d->port.lock.
802ca5a5 194
a4186cff
PT
195 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
196 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
197 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 198
bcf55240
TS
1992012-05-10 Thomas Schwinge <thomas@schwinge.name>
200
6960eb42
TS
201 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
202 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
203 definitions.
204
eb43375f
TS
205 accept4 for GNU Hurd.
206 * include/sys/socket.h (__libc_accept4): New prototype.
207 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
208 to implement __libc_accept4.
209 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
210 __libc_accept4.
211 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
212
bcf55240
TS
213 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
214 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
215 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
216 signal-defines.sym.
217
6178c55b
ST
2182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
219
a4186cff 220 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 221
6f080c2f
TS
2222012-05-10 Thomas Schwinge <thomas@schwinge.name>
223
224 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
225 assertion on O_CLOEXEC flag.
226 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
227 * hurd/intern-fd.c: Likewise.
228 * hurd/port2fd.c: Likewise.
229
bcfe3a54
ST
2302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
231
232 [BZ #3906]
233 * bits/in.h (IPV6_PKTINFO): Define new macro.
234 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
235
89c9aa49
AZ
2362012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
237
238 [BZ #13954]
239 [BZ #13955]
240 [BZ #13956]
241 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
243 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
244 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
245 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
246 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
247 * math/libm-test.inc (logb_test) : Additional logb tests.
248
021db4be
AJ
2492012-05-09 Andreas Schwab <schwab@linux-m68k.org>
250 Andreas Jaeger <aj@suse.de>
251
252 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
253 * configure: Regenerated.
254 * config.h.in (LINK_OBSOLETE_RPC): New macro.
255 * config.make.in (link-obsolete-rpc): New substituted variable.
256 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
257 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
258 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
259 (shared-only-routines): Don't set it under [link-obsolete-rpc],
260 so that libc.a contains the symbols.
261 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
262 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
263 * sunrpc/auth_none.c: Likewise.
264 * sunrpc/auth_unix.c: Likewise.
265 * sunrpc/authdes_prot.c: Likewise.
266 * sunrpc/authuxprot.c: Likewise.
267 * sunrpc/clnt_gen.c: Likewise.
268 * sunrpc/clnt_perr.c: Likewise.
269 * sunrpc/clnt_raw.c: Likewise.
270 * sunrpc/clnt_simp.c: Likewise.
271 * sunrpc/clnt_tcp.c: Likewise.
272 * sunrpc/clnt_udp.c: Likewise.
273 * sunrpc/clnt_unix.c: Likewise.
274 * sunrpc/des_crypt.c: Likewise.
275 * sunrpc/des_soft.c: Likewise.
276 * sunrpc/get_myaddr.c: Likewise.
277 * sunrpc/key_call.c: Likewise.
278 * sunrpc/key_prot.c: Likewise.
279 * sunrpc/netname.c: Likewise.
280 * sunrpc/pm_getmaps.c: Likewise.
281 * sunrpc/pm_getport.c: Likewise.
282 * sunrpc/pmap_clnt.c: Likewise.
283 * sunrpc/pmap_prot.c: Likewise.
284 * sunrpc/pmap_prot2.c: Likewise.
285 * sunrpc/pmap_rmt.c: Likewise.
286 * sunrpc/publickey.c: Likewise.
287 * sunrpc/rpc_cmsg.c: Likewise.
288 * sunrpc/rpc_common.c: Likewise.
289 * sunrpc/rpc_dtable.c: Likewise.
290 * sunrpc/rpc_prot.c: Likewise.
291 * sunrpc/rpc_thread.c: Likewise.
292 * sunrpc/rtime.c: Likewise.
293 * sunrpc/svc.c: Likewise.
294 * sunrpc/svc_auth.c: Likewise.
295 * sunrpc/svc_raw.c: Likewise.
296 * sunrpc/svc_run.c: Likewise.
297 * sunrpc/svc_tcp.c: Likewise.
298 * sunrpc/svc_udp.c: Likewise.
299 * sunrpc/svc_unix.c: Likewise.
300 * sunrpc/svcauth_des.c: Likewise.
301 * sunrpc/xcrypt.c: Likewise.
302 * sunrpc/xdr.c: Likewise.
303 * sunrpc/xdr_array.c: Likewise.
304 * sunrpc/xdr_float.c: Likewise.
305 * sunrpc/xdr_intXX_t.c: Likewise.
306 * sunrpc/xdr_mem.c: Likewise.
307 * sunrpc/xdr_rec.c: Likewise.
308 * sunrpc/xdr_ref.c: Likewise.
309 * sunrpc/xdr_sizeof.c: Likewise.
310 * sunrpc/xdr_stdio.c: Likewise.
311
b5c086a2
RM
3122012-05-10 Roland McGrath <roland@hack.frob.com>
313
314 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
315 change. Update copyright years.
316
6d74dd09
JM
3172012-05-10 Joseph Myers <joseph@codesourcery.com>
318
319 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
320
28e72501
MK
3212012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
322 Joseph Myers <joseph@codesourcery.com>
323 Paul Pluzhnikov <ppluzhnikov@google.com>
324
325 [BZ #14012]
326 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
327 requiring rpcgen.
328 [cross-compiling] (extra-libs): Likewise.
329 [cross-compiling] (extra-libs-others): Likewise.
330 [cross-compiling] (librpcsvc-routines): Likewise.
331 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
332 [cross-compiling] (omit-deps): Likewise.
333 (sunrpc-CPPFLAGS): New variable.
334 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
335 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
336 (cross-rpcgen-objs): New variable.
337 (extra-objs): Append $(cross-rpcgen-objs).
338 ($(cross-rpcgen-objs)): New rule.
339 ($(objpfx)cross-rpcgen): Likewise.
340 (rpcgen-cmd): Define to use $(built-program-file). Expand
341 comment.
342 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
343 ($(objpfx)x%.stmp): Likewise.
344 * sunrpc/proto.h [IS_IN_build] (_): Define.
345 [IS_IN_build] (_libc_intl_domainname): Likewise.
346
c8c59454
L
3472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
348
349 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
350 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
351 and R_X86_64_TPOFF64.
352
6f27cd16
JM
3532012-05-10 Joseph Myers <joseph@codesourcery.com>
354
355 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
356 sysdeps/unix/sysv/syscalls.list.
357 (stime): Likewise.
358 (utime): Likewise.
359 * sysdeps/unix/sysv/syscalls.list: Remove file.
360
02467e1c
PE
3612012-05-10 Paul Eggert <eggert@cs.ucla.edu>
362
363 [BZ #3440]
364 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
365 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
366 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
367 (__LC_IDENTIFICATION): Make these macros useful in #if
368 expressions, as required by C99.
369
da392631
AS
3702012-05-10 Andreas Schwab <schwab@linux-m68k.org>
371
372 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
373 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
374 after this.
375
8115f29b
L
3762012-05-09 H.J. Lu <hongjiu.lu@intel.com>
377
378 * stdlib/longlong.h: Updated from GCC.
379
bdd74070
AJ
3802012-05-09 Andreas Jaeger <aj@suse.de>
381
edfe0dbe
AJ
382 * nscd/nscd.c (run_modes): Make named enum, reorder so that
383 default is first entry.
384 (run_mode): Set type.
385 (main): Remove informal message about syslog.
386 (options): Fix typo.
387
bcfe3a54
ST
388 [BZ #14053]
389 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 390 to asm.
bcfe3a54
ST
391 (lrint): Likewise.
392 (llrintf): Likewise.
393 (llrint): Likewise.
394 (rint): Likewise.
395 (rintf): Likewise.
396 (nearbyint): Likewise.
397 (nearbyintf): Likewise.
bdd74070 398
91d8d69e
AJ
3992012-05-09 Andreas Jaeger <aj@suse.de>
400 Pedro Alves <palves@redhat.com>
401
402 * nscd/nscd.c (run_mode): Use enum.
403 (main): Cleanup coding style issue.
404
bb90b80b
AJ
4052012-05-09 Alexandre Oliva <aoliva@redhat.com>
406 Andreas Jaeger <aj@suse.de>
407
bcfe3a54
ST
408 * nscd/nscd.c (go_background): Replaced with...
409 (run_mode): ... this.
bb90b80b 410 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
411 (options): Add -F --foreground.
412 (main): Implement it.
413 (parse_opt): Parse it.
bb90b80b 414
1a4b75a1
AJ
4152012-05-09 Andreas Jaeger <aj@suse.de>
416
417 [BZ #14083]
418 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
419 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
420 -Wconversion warning.
421 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
422 Likewise.
423
b1cc2472
JM
4242012-05-09 Joseph Myers <joseph@codesourcery.com>
425
426 * conform/data/locale.h-data (NULL): Use macro-constant. Require
427 == 0.
428 (LC_ALL): Use macro-int-constant.
429 (LC_COLLATE): Likewise.
430 (LC_CTYPE): Likewise.
431 (LC_MESSAGES): Likewise.
432 (LC_MONETARY): Likewise.
433 (LC_NUMERIC): Likewise.
434 (LC_TIME): Likewise.
435 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
436 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
437 [ISO || ISO99 || ISO11] (*_t): Do not allow.
438 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
439 Specify type.
440 [C99-based standards] (float_t): Expect type.
441 [C99-based standards] (double_t): Expect type.
442 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
443 type.
444 [C99-based standards] (HUGE_VALL): Likewise.
445 [C99-based standards] (INFINITY): Likewise.
446 [C99-based standards] (NAN): Likewise.
447 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
448 [C99-based standards] (FP_NAN): Likewise.
449 [C99-based standards] (FP_NORMAL): Likewise.
450 [C99-based standards] (FP_SUBNORMAL): Likewise.
451 [C99-based standards] (FP_ZERO): Likewise.
452 [C99-based standards] (FP_FAST_FMA): Use
453 optional-macro-int-constant. Specify type. Require == 1.
454 [C99-based standards] (FP_FAST_FMAF): Likewise.
455 [C99-based standards] (FP_FAST_FMAL): Likewise.
456 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
457 [C99-based standards] (FP_ILOGBNAN): Likewise.
458 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
459 Specify type.
460 [C99-based standards] (MATH_ERREXCEPT): Likewise.
461 [C99-based standards] (math_errhandling): Specify type.
462 [ISO99 || ISO11] (signgam): Do not allow.
463 [non-C99-based standards] (copysignf): Do not allow.
464 [non-C99-based standards] (exp2f): Likewise.
465 [non-C99-based standards] (log2f): Likewise.
466 [non-C99-based standards] (modff): Allow.
467 [non-C99-based standards] (erff): Do not allow.
468 [non-C99-based standards] (erfcf): Likewise.
469 [non-C99-based standards] (gammaf): Likewise.
470 [non-C99-based standards] (hypotf): Likewise.
471 [non-C99-based standards] (j0f): Likewise.
472 [non-C99-based standards] (j1f): Likewise.
473 [non-C99-based standards] (jnf): Likewise.
474 [non-C99-based standards] (lgammaf): Likewise.
475 [non-C99-based standards] (tgammaf): Likewise.
476 [non-C99-based standards] (y0f): Likewise.
477 [non-C99-based standards] (y1f): Likewise.
478 [non-C99-based standards] (ynf): Likewise.
479 [non-C99-based standards] (isnanf): Likewise.
480 [non-C99-based standards] (acoshf): Likewise.
481 [non-C99-based standards] (asinhf): Likewise.
482 [non-C99-based standards] (atanhf): Likewise.
483 [non-C99-based standards] (cbrtf): Likewise.
484 [non-C99-based standards] (expm1f): Likewise.
485 [non-C99-based standards] (ilogbf): Likewise.
486 [non-C99-based standards] (log1pf): Likewise.
487 [non-C99-based standards] (logbf): Likewise.
488 [non-C99-based standards] (nextafterf): Likewise.
489 [non-C99-based standards] (remainderf): Likewise.
490 [non-C99-based standards] (rintf): Likewise.
491 [non-C99-based standards] (scalbf): Likewise.
492 [non-C99-based standards] (copysignl): Likewise.
493 [non-C99-based standards] (exp2l): Likewise.
494 [non-C99-based standards] (log2l): Likewise.
495 [non-C99-based standards] (modfl): Allow.
496 [non-C99-based standards] (erfl): Do not allow.
497 [non-C99-based standards] (erfcl): Likewise.
498 [non-C99-based standards] (gammal): Likewise.
499 [non-C99-based standards] (hypotl): Likewise.
500 [non-C99-based standards] (j0l): Likewise.
501 [non-C99-based standards] (j1l): Likewise.
502 [non-C99-based standards] (jnl): Likewise.
503 [non-C99-based standards] (lgammal): Likewise.
504 [non-C99-based standards] (tgammal): Likewise.
505 [non-C99-based standards] (y0l): Likewise.
506 [non-C99-based standards] (y1l): Likewise.
507 [non-C99-based standards] (ynl): Likewise.
508 [non-C99-based standards] (isnanl): Likewise.
509 [non-C99-based standards] (acoshl): Likewise.
510 [non-C99-based standards] (asinhl): Likewise.
511 [non-C99-based standards] (atanhl): Likewise.
512 [non-C99-based standards] (cbrtl): Likewise.
513 [non-C99-based standards] (expm1l): Likewise.
514 [non-C99-based standards] (ilogbl): Likewise.
515 [non-C99-based standards] (log1pl): Likewise.
516 [non-C99-based standards] (logbl): Likewise.
517 [non-C99-based standards] (nextafterl): Likewise.
518 [non-C99-based standards] (remainderl): Likewise.
519 [non-C99-based standards] (rintl): Likewise.
520 [non-C99-based standards] (scalbl): Likewise.
521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
522 [non-C99-based standards] (FP_*): Do not allow.
523 [C99-based standards] (FP_*): Change to
524 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
525 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
526 allow.
527 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
528 (SIG_ERR): Likewise.
529 [X/Open-based standards] (SIG_HOLD): Likewise.
530 (SIG_IGN): Likewise.
531 (SIGABRT): Use macro-int-constant. Specify type. Require
532 positive value.
533 (SIGFPE): Likewise.
534 (SIGILL): Likewise.
535 (SIGINT): Likewise.
536 (SIGSEGV): Likewise.
537 (SIGTER): Likewise.
538 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
539 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
540 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
541 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
542 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
543 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
544 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
545 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
546 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
547 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
548 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
549 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
550 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
551 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
552 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
553 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
554 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
555 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
556 [X/Open-based standards] (SIGTRAP): Likewise.
557 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
558 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
559 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
560 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
561 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
562 allow.
563
b9f1922d
IW
5642012-05-08 Ian Wienand <ianw@vmware.com>
565
566 [BZ #14080]
567 * time/tzset.c (__tzset_parse_tz): Update default rules for
568 daylight time changes in the Energy Policy Act of 2005.
569
1db86e88
AJ
5702012-05-09 Andreas Jaeger <aj@suse.de>
571
572 [BZ #13983]
573 * elf/ldconfig.c (parse_conf): Change string to make clear that
574 ldconfig only issued a warning if ld.so.conf does not exist.
575
dee4a4e3
DM
5762012-05-08 David S. Miller <davem@davemloft.net>
577
ee0db190
DM
578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
579 movxtod instead of popping the value on the stack.
580
dee4a4e3
DM
581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
582
6a43ec98
CD
5832012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
584
585 * config.h.in: Add HAVE_ARM_PCS_VFP.
586
05c2c961
RMG
5872012-05-08 Roland Mc Grath <roland@hack.frob.com>
588
bcfe3a54
ST
589 [BZ #13979]
590 * include/features.h: Warn if user requests __FORTIFY_SOURCE
591 checking but the checks are disabled for any reason.
05c2c961 592
4b30f61a
L
5932012-05-08 H.J. Lu <hongjiu.lu@intel.com>
594
595 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
596 and ELF64_R_TYPE with ELFW(R_TYPE).
597
eee2bc67
JM
5982012-05-08 Joseph Myers <joseph@codesourcery.com>
599
7ea5391a
JM
600 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
601 (ulimit): Likewise.
602
eee2bc67
JM
603 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
604 (settimeofday): Likewise.
605
abb66a67
MF
6062012-05-08 Mike Frysinger <vapier@gentoo.org>
607
608 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
609 a struct th_u2 inside the union, and move tu_block/tu_code into
610 a new th_u3 union of tu_block/tu_code inside of that. Move
611 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
612 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
613 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
614 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
615 (th_stuff): Change to th_u1.tu_stuff.
616 (th_data): Define.
617 (th_msg): Change to th_u1.th_u2.tu_data.
618
7f18b530
DM
6192012-05-07 David S. Miller <davem@davemloft.net>
620
05760585
DM
621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
622
7f18b530
DM
623 [BZ #14074]
624 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
625 (SETUP_PIC_REG): Use it.
626 (SETUP_PIC_REG_LEAF): Use it.
627
495fd99f
JM
6282012-05-07 Joseph Myers <joseph@codesourcery.com>
629
630 [BZ #13885]
631 [BZ #13923]
632 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
633 USE_AS_EXPM1L.
634 (EXPL_FINITE): Likewise.
635 (FLDLOG): Likewise.
636 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
637 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
638 e_expl.S.
639 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
640 USE_AS_EXPM1L.
641 (EXPL_FINITE): Likewise.
642 (FLDLOG): Likewise.
643 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
644 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
645 e_expl.S.
646 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
647 test of -max_value argument for long double.
648 * sysdeps/i386/fpu/libm-test-ulps: Update.
649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
650
6693d694
DM
6512012-05-06 David S. Miller <davem@davemloft.net>
652
653 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
654 quad soft-float symbols whose references which are compiler
655 generated.
656 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
657
6c23e11c
JM
6582012-05-06 Joseph Myers <joseph@codesourcery.com>
659
d8b82cad
JM
660 [BZ #13884]
661 [BZ #13914]
662 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
663 USE_AS_EXP10L.
664 (EXPL_FINITE): Likewise.
665 (FLDLOG): Likewise.
666 (c0): Likewise.
667 (c1): Likewise.
668 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
669 Adjust comments for base varying.
670 (__expl_finite): Change alias to EXPL_FINITE.
671 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
672 e_expl.S.
673 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
674 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
675 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
676 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
677 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
678 USE_AS_EXP10L.
679 (EXPL_FINITE): Likewise.
680 (FLDLOG): Likewise.
681 (c0): Likewise.
682 (c1): Likewise.
683 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
684 Adjust comments for base varying.
685 (__expl_finite): Change alias to EXPL_FINITE.
686 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
687 tests for bugs.
688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
689
6c23e11c
JM
690 [BZ #14064]
691 * math/libm-test.inc (check_float_internal): Correct ulp
692 calculation for subnormal expected results.
693
29ba805c
AJ
6942012-05-06 Andreas Jaeger <aj@suse.de>
695
696 * Makeconfig (+math-flags): New, set to -frounding-math.
697 (+cflags): Add +math-flags so that all of glibc gets compiled with
698 it.
699
700 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
701
7b17aeda
JM
7022012-05-05 Joseph Myers <joseph@codesourcery.com>
703
5779f134
JM
704 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
705 Disable one test.
706
41498f4d
JM
707 [BZ #13787]
708 [BZ #13922]
709 [BZ #14036]
710 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
711 (__ieee754_expl): Allow for and saturate large arguments.
712 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
713 (u_threshold): Likewise.
714 (__exp): Call __ieee754_exp before checking for overflow and
715 underflow.
716 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
717 (u_threshold): Likewise.
718 (__expf): Call __ieee754_expf before checking for overflow and
719 underflow.
720 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
721 (u_threshold): Likewise.
722 (__expl): Call __ieee754_expl before checking for overflow and
723 underflow.
724 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
725 (__ieee754_expl): Allow for and saturate large arguments.
726 * math/libm-test.inc (exp_test): Add another test. Do not allow
727 missing overflow exception on overflow.
728 (expm1_test): Do not allow missing overflow exception on overflow.
729
6698b8bf
JM
730 * sysdeps/i386/fpu/e_expl.c: Move to ...
731 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
732 rather than using inline asm.
733 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
734 * sysdeps/x86_64/fpu/e_expl.S: Copy from
735 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
736
7b17aeda
JM
737 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
738 (nice): Likewise.
739 (poll): Likewise.
740 (signal): Likewise.
741 (time): Likewise.
742 (times): Likewise.
743
f7c85819
JM
7442012-05-04 Joseph Myers <joseph@codesourcery.com>
745
746 * sysdeps/unix/syscalls.list (adjtime): Add entry from
747 sysdeps/unix/common/syscalls.list.
748 (fchmod): Likewise.
749 (fchown): Likewise.
750 (ftruncate): Likewise.
751 (getrusage): Likewise.
752 (gettimeofday): Likewise.
753 (setpgid): Likewise.
754 (setregid): Likewise.
755 (setreuid): Likewise.
756 (sigaction): Likewise.
757 (truncate): Likewise.
758 (vhangup): Likewise.
759 * sysdeps/unix/common/syscalls.list: Remove file.
760 * sysdeps/unix/bsd/Implies: Don't include unix/common.
761 * sysdeps/unix/sysv/linux/Implies: Likewise.
762
336270d0
L
7632012-05-04 H.J. Lu <hongjiu.lu@intel.com>
764
765 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
767 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
768 Moved to ...
769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
770 Here.
771 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
772 to ...
773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
774 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
775 to ...
776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
777 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
778 to ...
779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
780 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
781 to ...
782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
783 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
784 to ...
785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
786 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
787 to ...
788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
789 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
790 to ...
791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
792 Here.
793 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
794 to ...
795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
796 Here.
797 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
798 to ...
799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
800 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
801 Moved to ...
802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
803 Here.
804 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
805 to ...
806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
807
d128e450
JM
8082012-05-04 Joseph Myers <joseph@codesourcery.com>
809
fa8ee516
JM
810 * sysdeps/unix/common/bits/dirent.h: Remove file.
811 * sysdeps/unix/common/bits/fcntl.h: Likewise.
812
d128e450
JM
813 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
814 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
815 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
816 * sysdeps/unix/bsd/isatty.c: Likewise.
817 * sysdeps/unix/bsd/tcdrain.c: Likewise.
818 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
819 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
820
ff8faaf0 8212012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 822
62881be4 823 [BZ #13563]
31dc8730
AZ
824 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
825 long double comparison inaccuracies.
826 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
828
6fef930c
AS
8292012-05-04 Andreas Schwab <schwab@linux-m68k.org>
830
831 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
832 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
833
8f203e6c
JM
8342012-05-04 Joseph Myers <joseph@codesourcery.com>
835
836 [BZ #14049]
837 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
838 nonzero digits before rounding a hex value.
839 * stdlib/tst-strtod.c (tests): Add another test.
840
5197d9c2
AK
8412012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
842
843 * sysdeps/s390/fpu/libm-test-ulps: Update.
844
f0c1dedf
AJ
8452012-05-03 Andreas Jaeger <aj@suse.de>
846
847 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
848 does not get optimized out.
849 (malloc_opt_barrier): New.
850
a65ef2ae 8512012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 852 Roland McGrath <roland@hack.frob.com>
a65ef2ae 853
2b942cb7 854 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 855 intermediate file deletion.
2b942cb7 856 (generated): Add .symlist files.
a65ef2ae 857
54b71e02
JM
8582012-05-03 Joseph Myers <joseph@codesourcery.com>
859
860 [BZ #13775]
861 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
862 Redirect under this condition.
863 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
864 [__USE_GNU] (__dprintf_chk): Not under this condition.
865 [__USE_GNU] (__vdprintf_chk): Likewise.
866 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
867 under this condition.
868 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
869 [__USE_XOPEN2K8] (dprintf): Define under this condition.
870 [__USE_XOPEN2K8] (vdprintf): Likewise.
871 [__USE_GNU] (__dprintf_chk): Not under this condition.
872 [__USE_GNU] (__vdprintf_chk): Likewise.
873 [__USE_GNU] (dprintf): Likewise.
874 [__USE_GNU] (vdprintf): Likewise.
875
d3dfcc41
RM
8762012-05-03 Roland McGrath <roland@hack.frob.com>
877
878 * elf/Makefile (common-generated): Set this instead of generated for
879 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
880 $(all-built-dso)-derived lists.
881
7ac30cc5
AJ
8822012-05-03 Andreas Jaeger <aj@suse.de>
883
0c51e550
AJ
884 * sysdeps/i386/fpu/libm-test-ulps: Update.
885
7ac30cc5
AJ
886 * FAQ: Removed.
887 * FAQ.in: Likewise.
888 * scripts/gen-FAQ.pl: Likewise.
889 * manual/install.texi (Installation): Point to online location of
890 FAQ.
891 * Makefile (files-for-dist): Remove FAQ.
892 (FAQ): Remove.
893
d4c2917f
AM
8942012-05-02 Allan McRae <allan@archlinux.org>
895
896 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
897 (LDFLAGS-reldepmod5.so): Likewise.
898 (LDFLAGS-reldep6mod1.so): Likewise.
899 (LDFLAGS-reldep6mod4.so): Likewise.
900 (LDFLAGS-reldep8mod3.so): Likewise.
901 (LDFLAGS-unload4mod1.so): Likewise.
902 (LDFLAGS-unload4mod2.so): Likewise.
903 (LDFLAGS-tst-initorder): Likewise.
904 (LDFLAGS-tst-initordera2.so): Likewise.
905 (LDFLAGS-tst-initordera3.so): Likewise.
906 (LDFLAGS-tst-initordera4.so): Likewise.
907 (LDFLAGS-tst-initorderb2.so): Likewise.
908 (LDFLAGS-noload): Likewise.
909 (LDFLAGS-next): Likewise.
910 (LDFLAGS-order2mod1.so): Likewise.
911 (LDFLAGS-order2mod2.so): Likewise.
912 (LDFLAGS-tst-initorder2): Likewise.
913 (LDFLAGS-tst-initorder2a.so): Likewise.
914 (LDFLAGS-tst-initorder2b.so): Likewise.
915 (LDFLAGS-tst-initorder2c.so): Likewise.
916 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
917
d77f993f
DM
9182012-05-02 David S. Miller <davem@davemloft.net>
919
920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
921
171a70b4
PP
9222012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
923
924 [BZ #14055]
925 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
926
0be196ad
AJ
9272012-05-02 Andreas Jaeger <aj@suse.de>
928
929 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
930 since we manipulate rounding mode.
931 (CPPFLAGS-test-idouble.c): Likewise.
932 (CPPFLAGS-test-ifloat.c): Likewise.
933 (CFLAGS-test-ldouble.c): Likewise.
934 (CFLAGS-test-double.c): Likewise.
935 (CFLAGS-test-float.c): Likewise.
936 (CFLAGS-test-misc.c): Likewise.
937 (CFLAGS-test-test-fenv.c): Likewise.
938
4f9d04aa
AZ
9392012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
940
2b942cb7
RM
941 [BZ #2550]
942 [BZ #2570]
943 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
944 comparisons to determine direction to adjust input.
4f9d04aa 945
82a79e7d
RM
9462012-05-01 Roland McGrath <roland@hack.frob.com>
947
f5a01ca9
RM
948 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
949 output to the target.
950
90fe4186
RM
951 * scripts/localplt.awk: New file.
952 * elf/Makefile ($(objpfx)check-localplt): Target removed.
953 (check-localplt-CFLAGS): Variable removed.
954 ($(all-built-dso:=.jmprel)): New static pattern rule.
955 (generated): Add those targets.
956 (localplt-built-dso): New variable.
957 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
958
959 * elf/check-localplt.c: File removed.
960
82397ed6
RM
961 * scripts/check-execstack.awk: New file.
962 * elf/Makefile ($(objpfx)check-execstack): Target removed.
963 (check-execstack-CFLAGS): Variable removed.
964 ($(objpfx)check-execstack.h): Target removed.
965 ($(objpfx)execstack-default): New target.
966 (generated): Add that instead of check-execstack.h.
967 ($(all-built-dso:=.phdr)): New static pattern rule.
968 (generated): Add those targets.
969 * elf/check-execstack.c: File removed.
970
82a79e7d
RM
971 * scripts/check-textrel.awk: New file.
972 * elf/Makefile ($(objpfx)check-textrel): Target removed.
973 (check-textrel-CFLAGS): Variable removed.
974 (all-built-dso): Use := to define.o
975 ($(all-built-dso:=.dyn)): New static pattern rule.
976 (generated): Add those targets.
977 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
978 * config.make.in (READELF): New substituted variable.
979 * elf/check-textrel.c: File removed.
980
62fde54f 9812012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 982
615605c9
JM
983 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
984 allow.
985 * conform/data/ctype.h-data [C99-based standards] (isblank):
986 Expect function.
987 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
988 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
989 [ISO || ISO99 || ISO11] (*_t): Do not allow.
990 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
991 Specify type. Require positive value.
992 (EILSEQ): Likewise.
993 (ERANGE): Likewise.
994 [ISO || POSIX] (EILSEQ): Do not expect.
995 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
996 Specify type. Require positive value.
997 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
998 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
999 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1000 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1001 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1002 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1003 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1004 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1005 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1006 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1007 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1008 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1009 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1010 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1011 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1012 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1013 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1014 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1015 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1016 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1017 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1018 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1019 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1020 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1021 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1022 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1023 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1024 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1025 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1026 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1027 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1028 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1029 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1030 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1031 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1032 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1033 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1034 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1035 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1036 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1037 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1038 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1039 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1040 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1041 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1042 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1043 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1044 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1045 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1046 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1047 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1048 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1049 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1050 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1051 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1052 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1053 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1054 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1055 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1056 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1057 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1058 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1059 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1060 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1061 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1062 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1063 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1064 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1065 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1066 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1067 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1068 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1069 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1070 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1071 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1072 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1073 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1074 Require >= 2.
1075 (FLT_ROUNDS): Expect as macro, not constant.
1076 (FLT_MANT_DIG): Use macro-int-constant.
1077 (DBL_MANT_DIG): Likewise.
1078 (LDBL_MANT_DIG): Likewise.
1079 (FLT_DIG): Likewise.
1080 (DBL_DIG): Likewise.
1081 (LDBL_DIG): Likewise.
1082 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1083 (DBL_MIN_EXP): Likewise.
1084 (LDBL_MIN_EXP): Likewise.
1085 (FLT_MAX_EXP): Use macro-int-constant.
1086 (DBL_MAX_EXP): Likewise.
1087 (LDBL_MAX_EXP): Likewise.
1088 (FLT_MAX_10_EXP): Likewise.
1089 (DBL_MAX_10_EXP): Likewise.
1090 (LDBL_MAX_10_EXP): Likewise.
1091 (FLT_MAX): Use macro-constant.
1092 (DBL_MAX): Likewise.
1093 (LDBL_MAX): Likewise.
1094 (FLT_EPSILON): Use macro-constant. Give upper bound.
1095 (DBL_EPSILON): Likewise.
1096 (LDBL_EPSILON): Likewise.
1097 (FLT_MIN): Likewise.
1098 (DBL_MIN): Likewise.
1099 (LDBL_MIN): Likewise.
1100 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1101 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1102 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1103 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1104 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1105 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1106 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1107 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1108 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1109 [ISO11] (FLT_TRUE_MIN): Likewise.
1110 [ISO11] (LDBL_TRUE_MIN): Likewise.
1111 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1112 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1113 (SCHAR_MIN): Use macro-int-constant. Specify type.
1114 (SCHAR_MAX): Likewise.
1115 (UCHAR_MAX): Likewise.
1116 (CHAR_MIN): Likewise.
1117 (CHAR_MAX): Likewise.
1118 (MB_LEN_MAX): Use macro-int-constant.
1119 (SHRT_MIN): Use macro-int-constant. Specify type.
1120 (SHRT_MAX): Likewise.
1121 (USHRT_MAX): Likewise.
1122 (INT_MAX): Likewise.
1123 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1124 bound negative.
1125 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1126 bound with "U".
1127 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1128 bound with "L".
1129 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1130 bound negative. Suffix upper bound with "L".
1131 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1132 bound with "UL".
1133 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1134 Specify type.
1135 [C99-based standards] (LLONG_MAX): Likewise.
1136 [C99-based standards] (ULLONG_MAX): Likewise.
1137 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1138 == 0.
1139 [ISO11] (max_align_t): Require type.
1140 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1141
c9140a62
JM
1142 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1143 from $CFLAGS, without defining away __attribute__ calls.
1144 (checknamespace): Use $CFLAGS_namespace.
1145
9af0bf29
JM
1146 * conform/conformtest.pl (@keywords): Only include C99 keywords
1147 for standards based on C99 or C11.
1148
343222a2
JM
1149 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1150 Disable tests.
1151 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1152 UNIX98]: Likewise.
1153
661f8cf0
JM
1154 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1155 usability of symbols in #if.
1156
ee74b9cb
JM
1157 * conform/conformtest.pl: If macro or constant types start
1158 "promoted:", expect the symbol to be of the following type
1159 promoted by the integer promotions.
62fde54f 1160
aafc49b3
JM
1161 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1162 in one place. Also handle "macro-constant".
1163
fefdf574
JM
1164 * conform/conformtest.pl: Only accept expected macro values with
1165 "==". Parse all "macro" lines in one place.
1166 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1167
f2d922fe
JM
1168 * conform/conformtest.pl: Handle braced types on "constant" lines
1169 instead of handling "typed-constant".
1170 * conform/data/signal.h-data: Use "constant" instead of
1171 "typed-constant".
1172
d22956c9
JM
1173 * conform/conformtest.pl: Handle "optional-" at start of lines in
1174 one place rather than duplicating several cases. Handle each
1175 format of "macro" line with initial "optional-".
1176
028e2e38
JM
1177 * conform/conformtest.pl: Only accept expected constant or
1178 optional-constant values with "==". Parse all "constant" lines in
1179 one place. Parse all "optional-constant" lines in one place.
1180 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1181 * conform/data/fmtmsg.h-data: Likewise.
1182 * conform/data/netinet/in.h-data: Likewise.
1183 * conform/data/tar.h-data: Likewise.
1184 * conform/data/limits.h-data: Use "==" form on "constant" and
1185 "optional-constant" lines.
1186
1b8f2850
JM
1187 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1188 Use -std=c99 for XOPEN2K.
1189 (@knownproblems): Remove.
1190 (newtoken): Don't check %isknown.
1191
a05a144b
JM
1192 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1193 Do not expect macro.
1194 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1195 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1196 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1197 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1198 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1199 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1200 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1201 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1202 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1203 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1204 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1205 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1206 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1207 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1208 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1209 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1210 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1211 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1212 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1213 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1214 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1215 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1216 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1217 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1218 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1219 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1220 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1221 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1222 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1223 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1224 [XPG3] (acosh): Likewise.
1225 [XPG3] (asinh): Likewise.
1226 [XPG3] (atanh): Likewise.
1227 [XPG3] (cbrt): Likewise.
1228 [XPG3] (expm1): Likewise.
1229 [XPG3] (ilogb): Likewise.
1230 [XPG3] (log1p): Likewise.
1231 [XPG3] (logb): Likewise.
1232 [XPG3] (nextafter): Likewise.
1233 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1234 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1235 [XPG3] (remainder): Likewise.
1236 [XPG3] (rint): Likewise.
1237 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1238 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1239 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1240 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1241 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1242 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1243 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1244 [UNIX98 || XOPEN2K] (scalb): Expect.
1245 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1246 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1247 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1248 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1249 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1250 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1251 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1252 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1253 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1254 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1255 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1256 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1257 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1259 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1260 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1261 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1262 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1263 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1267 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1268 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1269 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1270 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1271 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1272 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1273 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1274 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1275 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1276 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1277 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1278 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1279 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1280 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1281 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1282 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1283 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1284 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1285 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1286 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1287 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1288 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1289 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1290 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1291 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1292 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1293 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1294 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1295 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1299 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1300 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1302 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1308 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1311 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1312 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1313 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1314 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1315 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1329 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1330 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1331 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1332 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1336 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1348 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1349 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1350 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1351 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1352 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1353 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1354 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1355 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1356 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1357 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1358 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1359 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1361 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1362 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1363 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1364 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1365 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1366 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1367 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1368 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1370 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1371 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1372 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1373 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1374 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1375 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1376 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1377 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1378 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1379 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1380 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1381 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1382
73c5ebe3
JM
1383 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1384 _XOPEN_SOURCE_EXTENDED for XPG4.
1385
39c33b6c
JM
1386 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1387
62fde54f
JM
1388 * Makeconfig (localtime): Remove variable.
1389 (inst_localtime-file): Likewise.
1390
0741d64c
AS
13912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1392
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1394 Update.
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1396 Update.
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1398 Update.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1400 Update.
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1402 Update.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1404 Update.
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1406 Update.
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1408 Update.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1410 Update.
1411
7cb029ee
JM
14122012-05-01 Joseph Myers <joseph@codesourcery.com>
1413
1414 [BZ #2550]
1415 [BZ #2570]
1416 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1417 comparisons to determine direction to adjust input.
1418 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1419 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1420 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1421 Likewise.
1422 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1423 Likewise.
1424 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1425 Likewise.
1426 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1427 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1428 Likewise.
1429 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1430 Likewise.
1431 * math/libm-test.inc (nexttoward_test): Add more tests.
1432
412bd966
AS
14332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1434
1435 [BZ #14040]
1436 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1437 in version GLIBC_2.1, not GLIBC_2.0.
1438 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1439 Likewise.
1440
9568c0c2
JM
14412012-04-30 Joseph Myers <joseph@codesourcery.com>
1442
adfbc8ac
JM
1443 [BZ #13942]
1444 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1445 (1 - x) * (1 + x).
1446 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1447 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1448 * math/libm-test.inc (acos_test): Add more tests.
1449 (asin_test): Likewise.
1450 * sysdeps/i386/fpu/libm-test-ulps: Update.
1451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1452
5ba3cc69
JM
1453 [BZ #14034]
1454 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1455 of square root.
1456 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1457 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1458 * math/libm-test.inc (acos_test_tonearest): New function.
1459 (acos_test_towardzero): Likewise.
1460 (acos_test_downward): Likewise.
1461 (acos_test_upward): Likewise.
1462 (asin_test_tonearest): Likewise.
1463 (asin_test_towardzero): Likewise.
1464 (asin_test_downward): Likewise.
1465 (asin_test_upward): Likewise.
1466 (main): Call the new functions.
1467 * sysdeps/i386/fpu/libm-test-ulps: Update.
1468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1469
9568c0c2
JM
1470 [BZ #13884]
1471 [BZ #13924]
1472 * math/e_exp10.c: Include <float.h>.
1473 (__ieee754_exp10): Handle underflow here rather than multiplying
1474 large negative argument by M_LN10.
1475 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1476 of __ieee754_expf.
1477 * math/e_exp10l.c: Include <float.h>.
1478 (__ieee754_exp10l): Handle underflow here rather than multiplying
1479 large negative argument by M_LN10l.
1480 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1481 spurious overflow exception on underflow.
1482
5ac3ea17
MP
14832012-04-29 Marek Polacek <polacek@redhat.com>
1484
1485 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1486 (__fortify_function): New macro.
1487 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1488 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1489 __extern_always_inline.
1490 * libio/bits/stdio2.h: Likewise.
1491 * libio/bits/stdio.h: Likewise.
1492 * string/string.h: Likewise.
1493 * string/bits/string3.h: Likewise.
1494 * include/stdio.h: Likewise.
1495 * stdlib/bits/stdlib.h: Likewise.
1496 * stdlib/stdlib.h: Likewise.
1497 * rt/bits/mqueue2.h: Likewise.
1498 * rt/mqueue.h: Likewise.
1499 * posix/bits/unistd.h: Likewise.
1500 * posix/unistd.h: Likewise.
1501 * io/bits/poll2.h: Likewise.
1502 * io/bits/fcntl2.h: Likewise.
1503 * io/fcntl.h: Likewise.
1504 * io/sys/poll.h: Likewise.
1505 * misc/bits/syslog.h: Likewise.
1506 * misc/bits/syslog-ldbl.h: Likewise.
1507 * misc/sys/syslog.h: Likewise.
1508 * socket/bits/socket2.h: Likewise.
1509 * socket/sys/socket.h: Likewise.
1510 * debug/tst-chk1.c: Likewise.
1511 * wcsmbs/bits/wchar2.h: Likewise.
1512 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1513 * wcsmbs/wchar.h: Likewise.
1514
ecf0ebfb
AJ
15152012-04-29 Andreas Jaeger <aj@suse.de>
1516
1517 * Makerules (tests): Remove enable-check-abi protection.
1518 (check-abi-warn): Remove.
1519 (check-abi-%): Remove check-abi-warn usage.
1520
1521 * configure.in: Remove check-abi configure option.
1522 * configure: Regenerated.
1523 * config.make.in (enable-check-abi): Remove.
1524
6d5c57fa
AS
15252012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1526
24c5d07e 1527 [BZ #14033]
ded5180a
AS
1528 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1529 double functions to double *_finite functions.
1530
7e0d315d
AS
1531 [BZ #13941]
1532 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1533 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1534 LDBL_MIN_EXP.
1535 * stdio-common/Makefile (tests): Add tst-sprintf3.
1536 * stdio-common/tst-sprintf3.c: New file.
1537
6d5c57fa
AS
1538 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1539 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1540
0749ff8b
JM
15412012-04-28 Joseph Myers <joseph@codesourcery.com>
1542
1543 * conform/conformtest.pl: Remove duplicate typed-constant
1544 handling.
1545
8dbd5d7b
DM
15462012-04-28 David S. Miller <davem@davemloft.net>
1547
1548 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1549 (check-abi-%): Remove AWK script prerequisite and explicit
1550 abilist directory.
1551 (check-abi): Rewrite to just diff the symlist with the abilist.
1552 (config-tls, config-abi-config): Delete, no longer used.
1553 (update-abi-%): Remove AWK script and explicit abilist directory.
1554 (update-abi): Rewrite to simply compare and conditionally copy the
1555 symlist and the sysdep abilist file. Remove update-abi-config
1556 checks.
1557 * abilist/ld.abilist: Remove.
1558 * abilist/libBrokenLocale.abilist: Remove.
1559 * abilist/libanl.abilist: Remove.
1560 * abilist/libcrypt.abilist: Remove.
1561 * abilist/libdl.abilist: Remove.
1562 * abilist/librt.abilist: Remove.
1563 * abilist/libthread_db.abilist: Remove.
1564 * abilist/libutil.abilist: Remove.
1565 * scripts/extract-abilist.awk: Remove.
1566 * scripts/merge-abilist.awk: Remove.
1567 * sysdeps/generic/libcidn.abilist: New file.
1568 * sysdeps/generic/libnss_compat.abilist: New file.
1569 * sysdeps/generic/libnss_db.abilist: New file.
1570 * sysdeps/generic/libnss_dns.abilist: New file.
1571 * sysdeps/generic/libnss_files.abilist: New file.
1572 * sysdeps/generic/libnss_hesiod.abilist: New file.
1573 * sysdeps/generic/libnss_nis.abilist: New file.
1574 * sysdeps/generic/libnss_nisplus.abilist: New file.
1575 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1576 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1577 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1578 file.
1579 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1580 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1581 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1582 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1583 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1584 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1585 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1586 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1587 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1588 file.
1589 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1590 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1591 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1592 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1593 file.
1594 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1595 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1596 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1597 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1598 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1599 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1600 file.
1601 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1602 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1603 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1604 file.
1605 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1607 New file.
1608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1609 New file.
1610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1611 New file.
1612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1613 New file.
1614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1615 New file.
1616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1617 New file.
1618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1619 New file.
1620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1621 New file.
1622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1623 New file.
1624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1625 New file.
1626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1627 New file.
1628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1629 New file.
1630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1631 New file.
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1633 file.
1634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1635 New file.
1636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1637 New file.
1638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1639 file.
1640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1641 New file.
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1643 New file.
1644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1645 file.
1646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1647 New file.
1648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1649 New file.
1650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1651 New file.
1652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1653 New file.
1654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1655 New file.
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1657 New file.
1658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1660 file.
1661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1662 New file.
1663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1664 file.
1665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1666 file.
1667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1668 file.
1669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1670 file.
1671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1672 file.
1673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1674 New file.
1675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1676 file.
1677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1678 file.
1679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1680 New file.
1681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1682 file.
1683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1685 file.
1686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1687 New file.
1688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1689 file.
1690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1691 file.
1692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1693 file.
1694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1695 file.
1696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1697 file.
1698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1699 New file.
1700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1701 file.
1702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1703 file.
1704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1705 New file.
1706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1707 file.
1708 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1709 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1710 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1711 file.
1712 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1713 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1714 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1715 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1716 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1717 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1718 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1719 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1720 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1721 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1724 file.
1725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1726 New file.
1727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1728 file.
1729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1730 file.
1731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1732 file.
1733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1734 file.
1735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1736 file.
1737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1738 New file.
1739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1740 New file.
1741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1742 file.
1743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1744 New file.
1745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1746 file.
1747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1749 file.
1750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1751 New file.
1752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1753 file.
1754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1755 file.
1756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1757 file.
1758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1759 file.
1760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1761 file.
1762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1763 New file.
1764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1765 New file.
1766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1767 file.
1768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1769 New file.
1770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1771 file.
1772
41d73a1b
JM
17732012-04-28 Joseph Myers <joseph@codesourcery.com>
1774
1775 * conform/conformtest.pl: Fix typo in handling typed-constant from
1776 allow-header.
1777
28aeeda4
JM
17782012-04-27 Joseph Myers <joseph@codesourcery.com>
1779
adae8f5e
JM
1780 * README: Cut down references to pre-2.6 Linux kernels and
1781 Linuxthreads. Update lists of configurations in libc and ports
1782 and sort alphabetically. Say "or newer" with Linux kernel version
1783 requirements.
1784
28aeeda4
JM
1785 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1786
a462cb63
RA
17872012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1788
1789 [BZ #887]
1790 * math/libm-test.inc (logb_test_downward): New test to expose
1791 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1792 rounding mode.
1793
6ad3493e
JM
17942012-04-27 Joseph Myers <joseph@codesourcery.com>
1795
1796 [BZ #14027]
1797 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1798 to be done.
1799 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1800 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1801
2ce4f015
JM
18022012-04-26 Joseph Myers <joseph@codesourcery.com>
1803
5aeb141a
JM
1804 * sysdeps/unix/i386/brk.S: Remove file.
1805 * sysdeps/unix/i386/dl-brk.S: Likewise.
1806 * sysdeps/unix/i386/pipe.S: Likewise.
1807 * sysdeps/unix/i386/sigreturn.S: Likewise.
1808 * sysdeps/unix/i386/syscall.S: Likewise.
1809 * sysdeps/unix/i386/vfork.S: Likewise.
1810 * sysdeps/unix/i386/wait.S: Likewise.
1811
7143acae
JM
1812 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1813 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1814
2ce4f015
JM
1815 * configure.in (arm*-none*): Do not allow without
1816 --enable-hacker-mode.
1817 (netbsd*): Remove case setting base_os.
1818 (386bsd*): Likewise.
1819 (freebsd*): Likewise.
1820 (bsdi*): Likewise.
1821 (osf*): Likewise.
1822 (sunos*): Likewise.
1823 (ultrix*): Likewise.
1824 (newsos*): Likewise.
1825 (dynix*): Likewise.
1826 (*bsd*): Likewise.
1827 (sysv*): Likewise.
1828 (isc*): Likewise.
1829 (esix*): Likewise.
1830 (sco*): Likewise.
1831 (minix*): Likewise.
1832 (irix4*): Likewise.
1833 (irix6*): Likewise.
1834 (solaris[2-9]*): Likewise.
1835 (none): Likewise.
1836 * configure: Regenerated.
1837
0ac229c8
AZ
18382012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1839
1840 [BZ #11521]
1841 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1842 overflow or cancellation in calculating denominator.
1843 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1844 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1845 down expression to avoid unexpected rounding in newer GCCs.
1846 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1847
33f244f4
DM
18482012-04-26 David S. Miller <davem@davemloft.net>
1849
1850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1851 long-double compat symbols.
1852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1865
cfa1f3e8
DM
18662012-04-25 David S. Miller <davem@davemloft.net>
1867
1868 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1869 HWCAP_* values only after the memory barriers have been defined.
1870 (atomic_full_barrier): Define.
1871 (atomic_read_barrier): Define.
1872 (atomic_write_barrier): Define.
1873
6e236b92
SP
18742012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1875
1876 * shlib-versions: Add libgcc_s version information.
1877 * sysdeps/generic/libgcc_s.h: Remove.
1878 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1879 libgcc_s.h.
1880 * sysdeps/gnu/unwind-resume.c: Likewise.
1881 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1882
aab39a09
DM
18832012-04-25 David S. Miller <davem@davemloft.net>
1884
1885 * sysdeps/unix/sparc/brk.S: Delete.
1886 * sysdeps/unix/sparc/dl-brk.S: Delete.
1887 * sysdeps/unix/sparc/pipe.S: Delete.
1888 * sysdeps/unix/sparc/sysdep.S: Delete.
1889 * sysdeps/unix/sparc/sysdep.h: Delete.
1890 * sysdeps/unix/sparc/vfork.S: Delete.
1891 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1892 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1893 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1894 ret_ERRVAL, r0, r1, MOVE): Define.
1895 (JUMPTARGET): Remove.
1896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1897 sysdeps/unix/sparc/sysdep.h
1898 (ENTRY, END): Remove.
1899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1900
a3cc4f48
JM
19012012-04-25 Joseph Myers <joseph@codesourcery.com>
1902
2ed8cda2
JM
1903 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1904 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1905 -DIS_IN_build.
1906
35d76d59
JM
1907 * timezone/README: Update upstream location and email address for
1908 tzcode and tzdata.
1909 * timezone/zdump.c: Update from tzcode 2012b.
1910 * timezone/zic.c: Likewise.
1911
a3cc4f48
JM
1912 * configure.in (libc_cv_as_needed): Remove test.
1913 * configure: Regenerated.
1914 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1915 conditional definition.
1916 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1917 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1918 * config.make.in (have-as-needed): Remove variable.
1919
ceab42c3
SP
19202012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1921 Paul Pluzhnikov <ppluzhnikov@google.com>
1922
1923 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1924 strings correctly.
1925
3ce2865f
CLT
19262012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1927
1928 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1929 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1930 * sysdeps/sh/strlen.S: Likewise.
1931
f37e0d68
JM
19322012-04-24 Joseph Myers <joseph@codesourcery.com>
1933
ae186e9a
JM
1934 * sysdeps/unix/fork.S: Remove file.
1935 * sysdeps/unix/i386/fork.S: Likewise.
1936 * sysdeps/unix/sparc/fork.S: Likewise.
1937
b96914af
JM
1938 * sysdeps/unix/system.c: Remove file.
1939 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1940
f37e0d68
JM
1941 * sysdeps/unix/getegid.S: Remove file.
1942 * sysdeps/unix/geteuid.S: Likewise.
1943
87ef29ca
RM
19442012-04-24 Roland McGrath <roland@hack.frob.com>
1945
83bcd236
RM
1946 * scripts/check-localplt.awk: New file.
1947 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1948 of diff.
1949 * scripts/data/localplt-generic.data: Add a comment.
1950
87ef29ca
RM
1951 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1952 NODE when __dir_mkfile failed.
1953 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1954 Reported by Ludovic Courtès <ludo@gnu.org>.
1955
e5a6e567
AJ
19562012-04-24 Andreas Jaeger <aj@suse.de>
1957
1958 * Makerules (common-clean): Also remove gen-as-const-headers
1959 files.
1960
c1820385
JM
19612012-04-24 Joseph Myers <joseph@codesourcery.com>
1962
1963 * Makerules (native-compile): Do not change working directory for
1964 build. Use $(OUTPUT_OPTION) in command.
1965 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1966
94e02fc4
AZ
19672012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1968
1969 [BZ #13886]
1970 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1971 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1972 * math/libm-test.inc (floor_test): Add more tests.
1973 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1974
3a533ca3
JM
19752012-04-24 Joseph Myers <joseph@codesourcery.com>
1976
940ab4b3
JM
1977 * sysdeps/unix/getdents.c: Remove file.
1978 * sysdeps/unix/sysv/getdents.c: Likewise.
1979 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1980
90e037bd
JM
1981 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1982 sysdeps/unix/mman/syscalls.list.
1983 (mmap): Likewise.
1984 (mprotect): Likewise.
1985 (msync): Likewise.
1986 (munmap): Likewise.
1987 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1988 * sysdeps/unix/mman/syscalls.list: Remove.
1989 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1990
3a533ca3
JM
1991 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1992 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1993 * configure: Regenerated.
1994 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1995 $(libgcc_s_suffix).
1996 * config.make.in (libgcc_s_suffix): Remove variable.
1997
1ad743de
JM
19982012-04-23 Joseph Myers <joseph@codesourcery.com>
1999
4ad451e2
JM
2000 * sysdeps/unix/sysv/gethostname.c: Move to ...
2001 * sysdeps/posix/gethostname.c: ... here.
2002
5e37ce39
JM
2003 * sysdeps/unix/execve.S: Remove file.
2004
1ad743de
JM
2005 * sysdeps/unix/_exit.S: Remove file.
2006
4e681b5b
AJ
20072012-04-23 Andreas Jaeger <aj@suse.de>
2008
2009 [BZ #13739]
2010 * manual/Makefile: Remove make dist support, there's no
2011 need for a stand-alone documentation tar ball.
2012 (TEXI2DVI): Define always, it's not in Makeconfig.
2013 (dist): Removed.
2014 (tar-it): Removed.
2015 (edition): Removed.
2016 (glibc-doc-$(edition).tar): Removed
2017 (%.Z): Removed.
2018 (%.gz): Removed.
2019 (%.uu): Removed.
2020 (ETAGS): Remove, it's in Makeconfig.
2021 (move-if-change): Remove, it's in Makeconfig.
2022
c0baea34
PE
20232013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2024
2025 [BZ #13970]
2026 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2027 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2028 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2029 (strtod_l, strtof_l, strtold_l): Remove __wur.
2030 It is not necessarily an error to ignore strtol's return value.
2031 One can reliably look at the stored endptr to decide whether
2032 the number had valid syntax.
2033
7c0616fa
AJ
20342012-04-21 Andreas Jaeger <aj@suse.de>
2035
803cb6b7 2036 [BZ #13739]
7c0616fa
AJ
2037 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2038
b0fe253f
JM
20392012-04-21 Joseph Myers <joseph@codesourcery.com>
2040
2041 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2042 * sysdeps/unix/sysv/Versions: Remove file.
2043
8280f22d
MT
20442012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2045
2046 [BZ #13927]
2047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2048
75ce411f 20492012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2050
2051 [BZ #7064]
2052 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2053 version from __vm86.
2054
097d59fa
JM
20552012-04-20 Joseph Myers <joseph@codesourcery.com>
2056
a90f3bcb
JM
2057 * sysdeps/unix/common/lxstat.c: Remove file.
2058 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2059
edc7ea78
JM
2060 * sysdeps/unix/sysv/Makefile: Remove file.
2061
cb78c221
JM
2062 * sysdeps/unix/sysv/direct.h: Remove file.
2063
efa6a45f
JM
2064 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2065 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2066 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2067 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2068 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2069 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2070 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2071
9c9f2d0c
JM
2072 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2073
4541c83b
JM
2074 * sysdeps/unix/xmknod.c: Remove file.
2075 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2076
f5d153a0
JM
2077 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2078
aa746595
JM
2079 * sysdeps/unix/sysv/i386/time.S: Remove file.
2080
cce5905e
JM
2081 * sysdeps/unix/fxstat.c: Remove file.
2082 * sysdeps/unix/xstat.c: Likewise.
2083 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2084
37fa3841
JM
2085 * sysdeps/unix/sysv/sigaction.c: Remove file.
2086
ff1962a3
JM
2087 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2088 (sysdep_headers): Remove variable.
2089 [termio.h not in sysdep_headers] (generated): Likewise.
2090 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2091 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2092 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2093 * sysdeps/unix/sysv/tcflow.c: Likewise.
2094 * sysdeps/unix/sysv/tcflush.c: Likewise.
2095 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2096 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2097 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2098 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2099 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2100
e7740d31
JM
2101 * sysdeps/unix/siglist.c: Remove file.
2102
ee06f18b
JM
2103 * sysdeps/unix/getppid.S: Remove file.
2104
097d59fa
JM
2105 * sysdeps/unix/mkdir.c: Remove file.
2106 * sysdeps/unix/rmdir.c: Likewise.
2107
ff3d51ec
AS
21082012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2109
2110 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2111 ERR_MAX value.
2112 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2113 errlist-compat value.
2114
50f81fd7
DM
21152012-04-18 David S. Miller <davem@davemloft.net>
2116
2117 * sysdeps/generic/memcopy.h (reg_char): Delete.
2118 * debug/strcat_chk.c: Use char, not reg_char.
2119 * debug/strcpy_chk.c: Likewise.
2120 * debug/strncat_chk.c: Likewise.
2121 * debug/strncpy_chk.c: Likewise.
2122 * string/memchr.c: Likewise.
2123 * string/memrchr.c: Likewise.
2124 * string/rawmemchr.c: Likewise.
2125 * string/strcat.c: Likewise.
2126 * string/strchr.c: Likewise.
2127 * string/strchrnul.c: Likewise.
2128 * string/strcmp.c: Likewise.
2129 * string/strcpy.c: Likewise.
2130 * string/strncat.c: Likewise.
2131 * string/strncmp.c: Likewise.
2132 * string/strncpy.c: Likewise.
2133
8ff41c46
WS
21342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2135
2136 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2137 __builtin_memcopy is called when src and dest ranges are known to not
2138 overlap.
2139
6b652f46
WS
21402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2141
2142 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2143 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2144 fwd_align_merge macro call.
2145 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2146 bwd_align_merge macro call.
2147 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2148
b282631e
WS
21492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2150
2151 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2152 bwd_align_merge macros.
2153 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2154 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2155 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2156
95aa737c
DM
21572012-04-18 David S. Miller <davem@davemloft.net>
2158
2159 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2160
7a99a614
AJ
21612012-04-18 Andreas Jaeger <aj@suse.de>
2162
2163 [BZ# 6794]
2164 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2165 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2166 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2167
2168 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2169 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2170 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2171
2172 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2173 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2174 Adjust for changed ldbl-128 files.
2175
2176 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2177 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2178 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2179
e5270c23
DM
21802012-04-17 David S. Miller <davem@davemloft.net>
2181
2182 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2183
fb5e92c9
AS
21842012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2185
2186 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2187 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2188 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2189 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2190 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2191 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2192
76da7265
AZ
21932012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2194
2195 [BZ #6794]
2196 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2197 * math/libm-test.inc: Add ilogb errno and exception tests.
2198 * math/w_ilogb.c: New file: ilogb wrapper.
2199 * math/w_ilogbf.c: New file: ilogbf wrapper.
2200 * math/w_ilogbl.c: New file: ilogbl wrapper.
2201 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2202 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2203 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2204 exception being thrown with 0.0 as argument.
2205 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2206 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2207 exception being thrown with 0.0 as argument.
2208 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2209 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2210 exception being thrown with 0.0 as argument.
2211 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2212 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2213 exception being thrown with 0.0 as argument.
2214 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2215 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2216 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2217 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2218 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2219 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2220 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2221 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2222 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2223
0396e69d
PB
22242012-04-17 Petr Baudis <pasky@ucw.cz>
2225
2226 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2227 with altivec.
2228
750b5926
MP
22292012-04-16 Marek Polacek <polacek@redhat.com>
2230
2231 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2232
751728a1
MP
22332012-04-16 Marek Polacek <polacek@redhat.com>
2234
2235 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2236 operands of fdivp instruction.
2237
34a27407
L
22382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2239
2240 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2241 * elf/tst-auditmod3b.c: Likewise.
2242 * elf/tst-auditmod4b.c: Likewise.
2243 * elf/tst-auditmod5b.c: Likewise.
2244 * elf/tst-auditmod6b.c: Likewise.
2245 * elf/tst-auditmod6c.c: Likewise.
2246 * elf/tst-auditmod7b.c: Likewise.
2247 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2248 * sysdeps/x86_64/preconfigure.in: Likewise.
2249 * sysdeps/x86_64/preconfigure: Regenerated.
2250
7e73e17d
L
22512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2252
2253 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2254 __ILP32__.
2255
c7a6ab72
AB
22562012-04-13 Antoine Balestrat <merkil33@gmail.com>
2257
2258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2259 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2260
a9e8e0e0
CL
22612012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2262
2263 [BZ #13973]
2264 * locale/iso-639.def: Fix gl language name. Spotted by
2265 Yaron Shahrabani.
2266
ec98af7d
RM
22672012-04-12 Roland McGrath <roland@hack.frob.com>
2268
2269 [BZ #2074]
2270 * libio/libio.h (__io_write_fn): Update comment.
2271
247c3ede
PB
22722012-04-12 Petr Baudis <pasky@ucw.cz>
2273
2274 [BZ #2074]
2275 * stdio.texi (Hook Functions): The user provided writer function
2276 is not allowed to return -1.
2277
55939d6d
DM
22782012-04-11 David S. Miller <davem@davemloft.net>
2279
2280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2281
90020f5a
MF
22822012-04-11 Mike Frysinger <vapier@gentoo.org>
2283
2284 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2285 Add a leading slash to rtkaio.
2286
288f9098
JM
22872012-04-11 Jim Meyering <meyering@redhat.com>
2288
90020f5a
MF
2289 [BZ #11959]
2290 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2291 It is not necessarily an error to ignore fwrite's return
2292 value. One can reliably use ferror to test for errors after
2293 the fact.
288f9098 2294
4be2b570
L
22952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2296
2297 * bits/types.h (__snseconds_t): New type.
2298 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2299
2300 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2301 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2302 (__SNSECONDS_T_TYPE): Likewise.
2303 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2304 (__SNSECONDS_T_TYPE): Likewise.
2305 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2306 (__SNSECONDS_T_TYPE): Likewise.
2307
288f9098 23082012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2309
2310 [BZ #2636]
2311 * manual/time.texi (Processor Time): Return type of times is
2312 elapsed real time since an arbitrary point in the past.
2313 (CPU Time): Move CLK_TCK from here...
2314 (Processor Time): ...to here. Correct description.
2315 * manual/conf.texi (Constants for Sysconf): Correct description of
2316 _SC_CLK_TCK.
2317
d7dd4413
DM
23182012-04-10 David S. Miller <davem@davemloft.net>
2319
2320 [BZ #13967]
2321 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2322 where the is a gap between DT_REL(A) and DT_JMPREL.
2323
b46068fc
L
23242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2325
2326 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2327 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2328 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2329
73d65cc3
SP
23302012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2331
2332 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2333 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2334 (dl_main): Handle --inhibit-cache.
2335 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2336 _dl_inhibit_cache.
2337 * elf/dl-load.c (_dl_map_object): Use it.
2338 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2339
bcc8d661
JM
23402012-04-09 Joseph Myers <joseph@codesourcery.com>
2341
8f9a2fae
JM
2342 [BZ #13872]
2343 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2344 (__ieee754_powl): Saturate large exponents rather than testing for
2345 overflow of y*log2(x).
2346 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2347 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2348 exceptions.
2349
bcc8d661
JM
2350 [BZ #11521]
2351 * math/s_ctan.c: Include <float.h>.
2352 (__ctan): Avoid internal overflow or cancellation in calculating
2353 denominator.
2354 * math/s_ctanf.c: Likewise.
2355 * math/s_ctanl.c: Likewise.
2356 * math/s_ctanh.c: Likewise.
2357 * math/s_ctanhf.c: Likewise.
2358 * math/s_ctanhl.c: Likewise.
2359 * math/libm-test.inc (ctan_test): Add more tests.
2360 (ctanh_test): Likewise.
2361 * sysdeps/i386/fpu/libm-test-ulps: Update.
2362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2363
823fbbb4
AJ
23642012-04-09 Andreas Jaeger <aj@suse.de>
2365
03879793
AJ
2366 [BZ #6894]
2367 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2368 is an optional BSD extension.
2369
823fbbb4
AJ
2370 [BZ #10254]
2371 * manual/stdio.texi (Opening Streams): Document additional fopen
2372 parameters.
2373
8de131cb
RM
23742012-04-09 Roland McGrath <roland@hack.frob.com>
2375
2376 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2377 %eax without telling the compiler.
2378
c0ed9d7d
CD
23792012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2380
2381 [BZ # 13963]
2382 * manual/install.texi: Use sourceware.org.
2383
c483f6b4
JM
23842012-04-09 Joseph Myers <joseph@codesourcery.com>
2385
d7dd9453
JM
2386 [BZ #13873]
2387 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2388 (__ieee754_pow): Generate overflow and underflow using huge*huge
2389 and tiny*tiny rather than just returning constant infinity or zero
2390 for large exponents.
2391 * math/libm-test.inc (pow_test): Require overflow exceptions for
2392 applicable cases of large exponents.
2393
c483f6b4
JM
2394 [BZ #706]
2395 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2396 (__ieee754_pow): Use iterative multiplication algorithm only for
2397 integer exponents with absolute value below 1024. Check for odd
2398 integer exponents when using algorithm for real exponents.
2399 * math/libm-test.inc (pow_test): Add more tests.
2400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2401
d2de7579
JM
24022012-04-08 Joseph Myers <joseph@codesourcery.com>
2403
2404 [BZ #13705]
2405 * math/libm-test.inc (exp_test): Do not allow overflow exception
2406 on underflow test.
2407
f77f1232
AJ
24082012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2409
2410 [BZ #13705]
2411 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2412 instead of __kernel_standard_f.
2413
3884932b
MF
24142012-04-08 Mike Frysinger <vapier@gentoo.org>
2415
2416 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2417 * sysdeps/x86_64/memset_chk.S: Likewise.
2418
54472e9c
AJ
24192012-04-08 Andreas Jaeger <aj@suse.de>
2420
6ab0fbfc
AJ
2421 [BZ #10153]
2422 * manual/startup.texi (Environment Access): Describe return value
2423 for putenv and setenv.
2424
61efba8c
AJ
2425 [BZ #6895]
2426 * manual/filesys.texi (Directory Entries): Add description for
2427 DT_LNK.
2428
95c3f29a
AJ
2429 [BZ #6890]
2430 * manual/filesys.texi (Directory Entries): Clarify that it's file
2431 system not operating system in the description of DT_UNKNOWN.
2432
54472e9c
AJ
2433 [BZ #6578]
2434 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2435
624254b1
SC
24362012-04-08 Stephen Compall <s11@member.fsf.org>
2437
2438 [BZ #6649]
2439 * manual/llio.texi (Opening and Closing Files): Add cross
2440 reference to explain mode argument.
2441
1e4920e0
MF
24422012-04-07 Mike Frysinger <vapier@gentoo.org>
2443
2444 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2445 * sysdeps/x86_64/memset_chk.S: Likewise.
2446
5ed848f3
DM
24472012-04-07 David S. Miller <davem@davemloft.net>
2448
2449 * elf/elf.h (R_SPARC_WDISP10): Define.
2450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2451 R_SPARC_SIZE32.
2452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2453 R_SPARC_SIZE64 and R_SPARC_H34.
2454
96154cd8
CD
24552012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2456
2457 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2458 conditions and remove no longer applicable assertion.
2459
9904dc47
L
24602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2461
2462 * bits/byteswap.h: Include <features.h>.
2463 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2464 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2465
f8887d0a
L
24662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2467
2468 * bits/byteswap.h (__bswap_16): Removed.
2469 Include <bits/byteswap-16.h> to get __bswap_16.
2470 * sysdeps/i386/bits/byteswap.h: Likewise.
2471 * sysdeps/s390/bits/byteswap.h: Likewise.
2472 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2473 * bits/byteswap-16.h: New file.
2474 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2475 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2476 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2477 * string/Makefile (headers): Add bits/byteswap-16.h.
2478
62470f60
PP
24792012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2480
2481 [BZ #13895]
2482 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2483 extra indirection.
2484 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2485 * nss/tst-nss-static.c: New.
2486
4dad7bab
RM
24872012-04-06 Robert Millan <rmh@gnu.org>
2488
2489 [BZ #6486]
2490 * manual/llio.texi (File Position Primitive): lseek
2491 refers to WHENCE when it really means OFFSET.
2492
e9142a17
AJ
24932012-04-06 Andreas Jaeger <aj@suse.de>
2494
2c040eff
AJ
2495 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2496 strncmp declarations.
2497
e9142a17
AJ
2498 * abilist/libc.abilist: Add __poll and __ppoll.
2499
ff9f1c5f
DM
25002012-04-05 David S. Miller <davem@davemloft.net>
2501
dcd2ae90
DM
2502 * scripts/check-local-headers.sh: Accept a host triplet in the
2503 path matched by the exclude regexp.
2504
993eb054
DM
2505 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2506 definition.
2507 * sysdeps/powerpc/powerpc32/dl-machine.h
2508 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2509 * sysdeps/s390/s390-32/dl-machine.h
2510 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2511 * sysdeps/sparc/sparc32/dl-machine.h
2512 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2513 * sysdeps/sparc/sparc64/dl-machine.h
2514 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2515
ff9f1c5f
DM
2516 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2517 lazy binding.
48e2e132 2518 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2519 undefined symbol errors.
2520
48e2e132 2521 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2522 DT_NEEDED entries.
2523
e80d6f94
MM
25242012-04-05 Michael Matz <matz@suse.de>
2525
2526 [BZ #13592]
2527 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2528
349fa79f
AJ
25292012-04-05 Andreas Jaeger <aj@suse.de>
2530
2531 [BZ #13908]
2532 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2533 comment.
2534
f402708f
KK
25352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2536
2537 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2538 which ROUND is no valid rounding mode.
2539
2ecccfc9
KK
25402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2541
2542 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2543 read again.
2544 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2545
8a53f50f
KK
25462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2547
2548 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2549 an exception using FPU order intentionally.
2550
25512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2552
2553 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2554 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2555 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2556 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2557
d653abb7
SJ
25582012-04-05 Simon Josefsson <simon@josefsson.org>
2559
2560 [BZ #12340]
2561 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2562 EINVAL when BUFLEN is too smal.
2563
c3b1bf7d
TS
25642012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2565
2566 [BZ #13553]
2567 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2568 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2569
b1aa60f3
AJ
25702012-04-03 Andreas Jaeger <aj@suse.de>
2571
c3b1bf7d 2572 [BZ #13938]
67f60a26
AJ
2573 * manual/setjmp.texi (System V contexts): Fix sentence.
2574
b1aa60f3
AJ
2575 [BZ #13926]
2576 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2577 New macro for this case.
2578 [!__GNUC__] (__bswap_64): New inline function for this case.
2579 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2580 * bits/byteswap.h: Likewise.
2581 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2582 ull, guard with __GLIBC_HAVE_LONG_LONG.
2583
2584 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2585 __GLIBC_HAVE_LONG_LONG.
2586
2587 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2588 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2589
39c59c35
TMQMF
25902012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2591
2592 [BZ #13691]
2593 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2594 inptr and inend, rather than using last_ch.
2595
135ffda8
DM
25962012-04-02 David S. Miller <davem@davemloft.net>
2597
2598 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2599 * stdio-common/printf-parse.h (read_int): Change return type to
2600 'int', return -1 on INT_MAX overflow.
2601 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2602 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2603 overflows INT_MAX. Check for overflow of in-format-string precision
2604 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2605 SIZE_MAX not INT_MAX for integer overflow test.
2606 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2607 skip the construct in the format string but do not record anything.
2608 * stdio-common/bug22.c: Adjust to test both width/prevision
2609 INT_MAX overflow as well as total length INT_MAX overflow. Check
2610 explicitly for proper errno values.
2611
228c019e
TS
26122012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2613
302cadd3
TS
2614 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2615 CHAR_MAX.
2616 * string/test-strcmp.c [! WIDE]: Likewise.
2617 * time/tst-mktime2.c: Likewise for INT_MAX.
2618 * string/test-string.h: #include <sys/param.h> for MIN.
2619
228c019e
TS
2620 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2621 * sysdeps/i386/init-first.c (init): Likewise.
2622 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2623 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2624 * sysdeps/sh/init-first.c (init): Likewise.
2625
cfa633f5
UD
26262012-04-01 Ulrich Drepper <drepper@gmail.com>
2627
2628 * po/ru.po: Update from translation team.
d1635ef8 2629 * po/vi.po: Likewise.
cfa633f5 2630
6cd0a5ea
SP
26312012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2632
2633 * resolv/nss_dns/dns-host.c: Merge copyright years.
2634
4b43400f
LD
26352012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2636
2637 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2638 Optimize memcpy with prefetch if
2639 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2640 src, dst pointers have unequal 16 byte alignments.
2641
48c41d04
SP
26422012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2643
2644 [BZ #13928]
2645 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2646 from a CNAME entry and return the minimum ttl for the query.
2647 (gaih_getanswer_slice): Likewise.
2648
b8dc394d
JL
26492012-03-30 Jeff Law <law@redhat.com>
2650
2651 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2652 due to long keys.
2653 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2654 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2655
2f5a5ed0
JL
2656 * resolv/nss_dns/dns-host.c: Update copyright year.
2657
1d39e359
UD
26582012-03-30 Ulrich Drepper <drepper@gmail.com>
2659
c030f70c 2660 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2661 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2662
1d39e359
UD
2663 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2664 comments for sendmmsg.
2665
26662012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2667
2668 [BZ #13691]
2669 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2670 with only 1 character between 0x0041 and 0x01b0.
2671 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2672 * wcsmbs/tst-mbsnrtowcs.c: New file.
2673
20fde227
DM
26742012-03-29 David S. Miller <davem@davemloft.net>
2675
2676 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2677 small copies by hand.
2678
984a4237
JL
26792012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2680
2681 [BZ #13761]
2682 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2683 _nss_compat_initgroups_dyn): Fall back to malloc/free
2684 for large group memberships.
2685
18c9d62b
DM
26862012-03-28 David S. Miller <davem@davemloft.net>
2687
88d85d4f
DM
2688 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2689 that branches into memcpy.
2690 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2692 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2693 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2695 bits.
2696 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2697 implementation too.
2698 * sysdeps/sparc/mempcpy.S: New file.
2699
e5aa83e1
DM
2700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2701 the IFUNC routine in the libc case.
2702 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2703
88570753
DM
2704 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2705 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2706 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2707 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2708 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2709 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2710 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2711 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2712
249d7567
DM
2713 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2714 loop to 256 bytes instead of 64 bytes and fix test signedness.
2715
18c9d62b
DM
2716 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2717 * sysdeps/sparc/sparc32/Makefile: rather than here...
2718 * sysdeps/sparc/sparc64/Makefile: and here.
2719
05f3d1f6
UD
27202012-03-28 Ulrich Drepper <drepper@gmail.com>
2721
2722 * malloc/mallocbug.c: Avoid warnings about unused variables.
2723
86ae07a8
JL
27242012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2725
2726 [BZ #13760]
2727 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2728 in the right place. Discard and retry query if response is
2729 larger than input buffer size.
2730
41bf21a1
JM
27312012-03-28 Joseph Myers <joseph@codesourcery.com>
2732
d6270972
JM
2733 [BZ #369]
2734 [BZ #2678]
2735 [BZ #3866]
2736 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2737 x for large integer exponent.
2738 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2739 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2740 sign of result as needed afterwards.
2741 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2742 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2743 result for underflowing pow the same as for overflow.
2744 (__kernel_standard_l): Handle powl overflow and underflow here
2745 rather than calling __kernel_standard.
2746 * math/libm-test.inc (pow_test): Add more tests.
2747
414fca03 2748 [BZ #3868]
41bf21a1
JM
2749 [BZ #13879]
2750 [BZ #13910]
2751 [BZ #13911]
2752 [BZ #13912]
2753 [BZ #13913]
2754 [BZ #13915]
2755 [BZ #13916]
2756 [BZ #13917]
2757 [BZ #13918]
2758 [BZ #13919]
2759 [BZ #13920]
2760 [BZ #13921]
2761 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2762 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2763 (__kernel_standard_l): New function.
2764 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2765 __kernel_standard.
2766 * math/w_acosl.c (__acosl): Likewise.
2767 * math/w_asinl.c (__asinl): Likewise.
2768 * math/w_atan2l.c (__atan2l): Likewise.
2769 * math/w_atanhl.c (__atanhl): Likewise.
2770 * math/w_coshl.c (__coshl): Likewise.
2771 * math/w_exp10l.c (__exp10l): Likewise.
2772 * math/w_exp2l.c (__exp2l): Likewise.
2773 * math/w_fmodl.c (__fmodl): Likewise.
2774 * math/w_hypotl.c (__hypotl): Likewise.
2775 * math/w_j0l.c (__j0l, __y0l): Likewise.
2776 * math/w_j1l.c (__j1l, __y1l): Likewise.
2777 * math/w_jnl.c (__jnl, __ynl): Likewise.
2778 * math/w_lgammal.c (__lgammal): Likewise.
2779 * math/w_log10l.c (__log10l): Likewise.
2780 * math/w_log2l.c (__log2l): Likewise.
2781 * math/w_logl.c (__logl): Likewise.
2782 * math/w_powl.c (__powl): Likewise.
2783 * math/w_remainderl.c (__remainderl): Likewise.
2784 * math/w_scalbl.c (sysv_scalbl): Likewise.
2785 * math/w_sinhl.c (__sinhl): Likewise.
2786 * math/w_sqrtl.c (__sqrtl): Likewise.
2787 * math/w_tgammal.c (__tgammal): Likewise.
2788 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2789 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2790 * math/libm-test.inc (acos_test): Add more tests.
2791 (acosh_test): Likewise.
2792 (asin_test): Likewise.
2793 (atanh_test): Likewise.
2794 (exp_test): Likewise.
2795 (exp10_test): Likewise.
2796 (exp2_test): Likewise.
2797 (expm1_test): Likewise.
2798 (lgamma_test): Likewise.
2799 (log_test): Likewise.
2800 (log10_test): Likewise.
2801 (log1p_test): Likewise.
2802 (log2_test): Likewise.
2803 (pow_test): Do not allow some spurious overflow exceptions.
2804 (sqrt_test): Add more tests.
2805 (tgamma_test): Likewise.
2806 (y0_test): Likewise.
2807 (y1_test): Likewise.
2808 (yn_test): Likewise.
2809
dd62fda6
AB
28102012-03-27 Anton Blanchard <anton@samba.org>
2811
2812 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2813 MAP_HUGETLB.
2814 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2815 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2816 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2817
1e3cdfda
AJ
28182012-03-27 David S. Miller <davem@davemloft.net>
2819
b855ab85
DM
2820 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2821
1e3cdfda
AJ
2822 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2823 have-as-vis3 check.
2824
28252012-03-27 Andreas Jaeger <aj@suse.de>
2826
2827 * sysdeps/x86_64/elf/configure.in: Moved to ...
2828 * sysdeps/x86_64/configure.in: ... here.
2829 * sysdeps/x86_64/elf/start.S: Moved to ...
2830 * sysdeps/x86_64/start.S: ... here.
2831 * sysdeps/x86_64/elf/configure: Delete.
2832
2833 * sysdeps/x86_64/configure.in: Merge contents from
2834 sysdeps/i386/configure.in (without i686 check).
2835
2836 * sysdeps/i386/elf/Versions: Merge into ...
2837 * sysdeps/i386/Versions: ... this.
2838 * sysdeps/i386/elf/Versions: Delete file.
2839 * sysdeps/i386/elf/start.S: Moved to ...
2840 * sysdeps/i386/start.S: ...here.
2841 * sysdeps/i386/elf/configure.in: Merge into...
2842 * sysdeps/i386/configure.in: ...here.
2843 * sysdeps/i386/elf/configure.in: Delete file.
2844 * sysdeps/i386/elf/configure: Delete file.
2845
2846 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2847 * debug/backtracesyms.c: ... here.
2848 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2849 * debug/backtracesymsfd.c: ... here.
2850 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2851 * sysdeps/generic/ifunc-sel.h: ... here.
2852
2853 * sysdeps/unix/i386/start.c: Delete file.
2854 * sysdeps/unix/sparc/start.c: Delete file.
2855 * sysdeps/unix/start.c: Delete file.
2856
2857 * sysdeps/sh/elf/configure.in: Moved to ...
2858 * sysdeps/sh/configure.in: ... here.
2859 * sysdeps/sh/elf/start.S: Moved to ...
2860 * sysdeps/sh/start.S: ... here.
2861 * sysdeps/sh/elf/configure: Delete file.
2862
2863 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2864 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2865 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2866 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2867 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2868 * sysdeps/powerpc/powerpc64/start.S: here.
2869 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2870 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2871 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2872 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2873 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2874
2875 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2876 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2877 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2878 * sysdeps/powerpc/powerpc32/start.S: ... here.
2879 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2880 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2881 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2882
2883 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2884 * sysdeps/powerpc/ifunc-sel.h: ... here.
2885 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2886 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2887
2888 * sysdeps/sparc/elf/configure.in: Moved to ...
2889 * sysdeps/sparc/configure.in: ... here.
2890 * sysdeps/sparc/elf/configure: Delete file.
2891 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2892 * sysdeps/sparc/sparc32/start.S: ... here.
2893 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2894 * sysdeps/sparc/sparc64/start.S: ... here.
2895 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2896 * sysdeps/sparc/sparc32/Makefile: ... this.
2897 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2898 * sysdeps/sparc/sparc64/Makefile: ... this.
2899
2900 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2901 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2902 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2903 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2904 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2905 * sysdeps/s390/s390-32/setjmp.S: ... here.
2906 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2907 * sysdeps/s390/s390-32/configure.in: ... here.
2908 * sysdeps/s390/s390-32/elf/configure: Delete file.
2909 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2910 * sysdeps/s390/s390-32/start.S: ... here.
2911
2912 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2913 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2914 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2915 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2916 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2917 * sysdeps/s390/s390-64/setjmp.S: ... here.
2918 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2919 * sysdeps/s390/s390-64/configure.in: ... here
2920 * sysdeps/s390/s390-64/elf/configure: Delete file.
2921 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2922 * sysdeps/s390/s390-64/start.S: ... here.
2923 * sysdeps/s390/s390-64/elf/configure: Delete.
2924
2925 * configure.in: Remove support for elf directories in sysdeps.
2926
2927 * configure: Regenerated.
2928 * sysdeps/i386/configure: Regenerated.
2929 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2930 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2931 * sysdeps/s390/s390-32/configure: Regenerated.
2932 * sysdeps/s390/s390-64/configure: Regenerated.
2933 * sysdeps/sh/configure: Regenerated.
2934 * sysdeps/sparc/configure: Regenerated.
2935 * sysdeps/x86_64/configure: Regenerated.
2936
a3f61311
AS
29372012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2938
c876e002
AS
2939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2940
a3f61311
AS
2941 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2942 denormal result into account.
2943
ac4c54f0
RM
29442012-03-25 Roland McGrath <roland@hack.frob.com>
2945
2946 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2947 Reported by Allan McRae <allan@archlinux.org>.
2948
6a9b9c02
JL
29492012-03-23 Jeff Law <law@redhat.com>
2950
2951 * nss/getnssent.c (__nss_getent): Fix typo.
2952
4c42a0c1
DM
29532012-03-23 David S. Miller <davem@davemloft.net>
2954
2955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2956
1532c7ac
L
29572012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2958
2959 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2960 to pad to uint64_t for each field.
2961 (dl_tls_index): Replace unsigned long with uint64_t.
2962
3ff42526
PP
29632012-03-23 Daniel Jacobowitz <dmj@google.com>
2964 Paul Pluzhnikov <ppluzhnikov@google.com>
2965
2966 [BZ #6528]
2967 * grp/Makefile (otherlibs): Don't set it.
2968 * inet/Makefile (otherlibs): Likewise.
2969 * login/Makefile (otherlibs): Likewise.
2970 * nscd/Makefile (otherlibs): Likewise.
2971 * posix/Makefile (otherlibs): Likewise.
2972 * pwd/Makefile (otherlibs): Likewise.
2973 * rt/Makefile (otherlibs): Likewise.
2974 * sunrpc/Makefile (otherlibs): Likewise.
2975 * nss/Makefile (otherlibs): Likewise.
2976 Add libnss_files to routines and static-only-routines.
2977 ($(objpfx)getent): Remove rule.
2978 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2979 static-only-routines.
2980
7c69cd14
JM
29812012-03-22 Joseph Myers <joseph@codesourcery.com>
2982
2983 [BZ #13892]
2984 * math/s_cexp.c: Include <float.h>.
2985 (__cexp): Handle exp result overflowing not necessarily
2986 overflowing both real and imaginary parts of result.
2987 * math/s_cexpf.c: Likewise.
2988 * math/s_cexpl.c: Likewise.
2989 * math/libm-test.inc (cexp_test): Add more tests.
2990 * sysdeps/i386/fpu/libm-test-ulps: Update.
2991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2992
81b035fe
L
29932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2994
2995 * include/link.h (ELFW): New macro.
2996 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2997 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2998
1da7940c
L
29992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3000
3001 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3002 with uint64_t.
3003
b749dbb9
L
30042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3005
3006 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3007 declaration.
3008 (struct La_x32_retval): Likewise.
3009
2ff87f3f
L
30102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3011
3012 * sysdeps/x86_64/preconfigure.in: New file.
3013 * sysdeps/x86_64/preconfigure: New generated file.
3014
c0df8e69
JM
30152012-03-22 Joseph Myers <joseph@codesourcery.com>
3016
48e44791
JM
3017 [BZ #13824]
3018 * math/e_exp2l.c: Include <float.h>.
3019 (__ieee754_exp2l): Handle overflow and underflow cases
3020 separately. Only pass fractional part of argument to
3021 __ieee754_expl.
3022 * math/libm-test.inc (exp2_test): Add more tests.
3023
c0df8e69
JM
3024 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3025 negating x to take absolute value.
3026 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3027 Likewise.
3028 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3029 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3030 Likewise.
3031 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3032 computing low part if x was negated.
3033 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3034
c8e43ba7
L
30352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3036
3037 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3038 la_x32_gnu_pltexit.
3039 (pltexit): Cast int_retval to ptrdiff_t.
3040 * elf/tst-auditmod3b.c: Likewise.
3041 * elf/tst-auditmod4b.c: Likewise.
3042 * elf/tst-auditmod5b.c: Likewise.
3043 * elf/tst-auditmod6b.c: Likewise.
3044 * elf/tst-auditmod6c.c: Likewise.
3045 * elf/tst-auditmod7b.c: Likewise.
3046
3047 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3048 and x32_gnu_pltexit.
3049
3050 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3051 __ELF_NATIVE_CLASS.
3052 (La_x32_regs): New macro.
3053 (La_x32_retval): Likewise.
3054 (la_x32_gnu_pltenter): New function prototype.
3055 (la_x32_gnu_pltexit): Likewise.
3056
7998fa78
AS
30572012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3058
dcb33988
AS
3059 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3060 exponent.
3061
233fc563
AS
3062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3063
7998fa78
AS
3064 * configure.in (libc_cv_cc_nofma): Check for option to disable
3065 generation of FMA instructions.
3066 * configure: Regenerate.
3067 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3068 * sysdeps/ieee754/dbl-64/Makefile: New file.
3069 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3070 Remove brandred-fma4.
3071 (CFLAGS-brandred-fma4.c): Remove.
3072 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3073 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3074 define.
3075 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3076 define.
3077
8e95c99a
L
30782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3079
3080 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3081 LLONG_MAX != LONG_MAX.
3082 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3083 (_fitoa_word): Likewise.
3084 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3085 LLONG_MAX != LONG_MAX.
3086 * stdio-common/_itowa.h: Include <_itoa.h>.
3087 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3088 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3089 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3090 only if not defined.
3091 (_ITOA_WORD_TYPE): Likewise.
3092 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3093 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3094
6f4db457
DM
30952012-03-21 David S. Miller <davem@davemloft.net>
3096
3097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3098
7785fe5a
L
30992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3100
3101 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3102 of x86_64 when setting libc_cv_slibdir, libdir and
3103 libc_cv_localedir.
3104 * sysdeps/unix/sysv/linux/configure: Regenerated.
3105
4535cd55
JM
31062012-03-21 Joseph Myers <joseph@codesourcery.com>
3107
3108 * manual/lang.texi (Old Varargs): Remove section.
3109 (How Variadic): Update menu.
3110 (va_start): Do not mention varargs.h.
3111
17228132
TS
31122012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3113 Joseph Myers <joseph@codesourcery.com>
3114
3115 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3116 link test.
3117 * configure: Regenerated.
3118
8149f976
TS
31192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3120
05f3d1f6
UD
3121 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3122 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3123 conformtest.pl
8149f976 3124
1a4ac776
JM
31252012-03-21 Joseph Myers <joseph@codesourcery.com>
3126
be22ce65
JM
3127 * NOTES: Remove.
3128 * Makefile (files-for-dist): Remove NOTES.
3129 (NOTES): Remove rule.
3130 * README: Don't refer to NOTES.
3131 * manual/creature.texi: Don't include macros.texi.
3132 * manual/intro.texi (creature.texi): Remove comment referring to
3133 NOTES.
3134
40b601fb
JM
3135 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3136 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3137 * configure: Regenerated.
3138 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3139 LIBC_TRY_CC_OPTION.
3140 (libc_cv_as_i686): Likewise.
3141 (libc_cv_cc_avx): Likewise.
3142 (libc_cv_cc_sse2avx): Likewise.
3143 (libc_cv_cc_fma4): Likewise.
3144 (libc_cv_cc_novzeroupper): Likewise.
3145 * sysdeps/i386/configure: Regenerated.
3146
1a4ac776
JM
3147 [BZ #13883]
3148 * sysdeps/i386/fpu/s_cexp.S: Remove.
3149 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3150 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3151 * math/libm-test.inc (cexp_test): Add more tests.
3152 * sysdeps/i386/fpu/libm-test-ulps: Update.
3153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3154
a458e7fe
AM
31552012-03-21 Allan McRae <allan@archlinux.org>
3156
3157 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3158
0cb7efc5
JM
31592012-03-21 Joseph Myers <joseph@codesourcery.com>
3160
3161 [BZ #13871]
3162 * math/w_exp2.c: Do not include <float.h>.
3163 (o_threshold, u_threshold): Remove.
3164 (__exp2): Calculate result before checking finiteness and calling
3165 __kernel_standard.
3166 * math/w_exp2f.c: Likewise.
3167 * math/w_exp2l.c: Likewise.
3168 * math/libm-test.inc (exp2_test): Require overflow exception for
3169 1e6 input.
2460d3aa
JM
3170
3171 [BZ #3866]
3172 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3173 range of signed 64-bit integers before using fistpll. Remove
3174 checks for whether integers fit in mantissa bits.
3175 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3176 the range of signed 32-bit integers before using fistpl. Remove
3177 checks for whether integers fit in mantissa bits.
3178 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3179 (__ieee754_powl): Test for y outside the range of signed 64-bit
3180 integers before using fistpll. Reduce 64-bit values to 63-bit
3181 ones as needed.
3182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3183 divide-by-zero is raised for zero to large negative powers.
3184 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3185 (__ieee754_powl): Test for y outside the range of signed 64-bit
3186 integers before using fistpll. Reduce 64-bit values to 63-bit
3187 ones as needed.
3188 * math/libm-test.inc (pow_test): Add more tests.
3189
eb96ffb0
L
31902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3191
3192 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3193 <stdio-common/_itoa.h>.
3194 * debug/segfault.c: Likewise.
3195 * elf/dl-cache.c: Likewise.
3196 * elf/dl-minimal.c: Likewise.
3197 * elf/dl-misc.c: Likewise.
3198 * elf/dl-sysdep.c: Likewise.
3199 * elf/dl-version.c: Likewise.
3200 * elf/rtld.c: Likewise.
3201 * hurd/hurdsock.c: Likewise.
3202 * hurd/lookup-retry.c: Likewise.
3203 * malloc/malloc.c: Likewise.
3204 * malloc/mtrace.c: Likewise.
3205 * nscd/nscd_getgr_r.c: Likewise.
3206 * nscd/nscd_getpw_r.c: Likewise.
3207 * nscd/nscd_getserv_r.c: Likewise.
3208 * posix/getopt_init.c: Likewise.
3209 * posix/wordexp.c: Likewise.
3210 * stdio-common/_itoa.c: Likewise.
3211 * stdio-common/printf_fphex.c: Likewise.
3212 * stdio-common/vfprintf.c: Likewise.
3213 * string/_strerror.c: Likewise.
3214 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3215 * sysdeps/i386/i686/hp-timing.h: Likewise.
3216 * sysdeps/mach/_strerror.c: Likewise.
3217 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3218 * sysdeps/mach/hurd/sethostid.c: Likewise.
3219 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3220 * sysdeps/mach/xpg-strerror.c: Likewise.
3221 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3222 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3223 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3224 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3225 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3226 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3227 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3228 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3229 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3230 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3231 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3232 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3233 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3234 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3235 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3236 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3237 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3238 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3239 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3240 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3241 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3242
3243 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3244
3245 * stdio-common/_itoa.h: Moved to ...
3246 * sysdeps/generic/_itoa.h: Here.
3247
3248 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3249
3250 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3251 instead of "_itoa.h" and "_itowa.h".
3252 * stdio-common/vfprintf.: Likewise.
3253
d1af992d
L
32542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3255
3256 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3257 <bits/wordsize.h>.
3258 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3259 (__signbit): Likwise.
3260 (llrintf): Likwise.
3261 (llrint): Likwise.
3262
114883e0
L
32632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3264
3265 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3266 __WORDSIZE != 64.
3267
c135cc1b
JM
32682012-03-20 Joseph Myers <joseph@codesourcery.com>
3269
3270 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3271 OVERFLOW_EXCEPTION_OK.
3272 * math/libm-test.inc ("Philosophy"): Update comment about
3273 exception testing.
3274 (OVERFLOW_EXCEPTION): Define.
3275 (OVERFLOW_EXCEPTION_OK): Likewise.
3276 (INVALID_EXCEPTION_OK): Renumber.
3277 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3278 (IGNORE_ZERO_INF_SIGN): Likewise.
3279 (test_exceptions): Handle FE_OVERFLOW.
3280 (exp10_test): Expect overflow exceptions.
3281 (exp2_test): Likewise.
3282 (expm1_test): Likewise.
3283 (nextafter_test): Likewise.
3284 (pow_test): Likewise.
3285 (scalbn_test): Likewise.
3286 (scalbln_test): Likewise.
3287
95443d88
L
32882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3289
3290 * sysdeps/x86_64/bits/atomic.h
3291 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3292 64bit integer.
3293 (atomic_exchange_acq): Likewise.
3294 (__arch_exchange_and_add_body): Likewise.
3295 (__arch_add_body): Likewise.
3296 (atomic_add_negative): Likewise.
3297 (atomic_add_zero): Likewise.
3298
490df6c4
L
32992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3300
c2722551 3301 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3302 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3303
5e52b189
L
33042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3305
3306 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3307 Check __x86_64__ instead of __WORDSIZE.
3308
a9879d4c
L
33092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3310
3311 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3312
5df98260
DM
33132012-03-19 David S. Miller <davem@davemloft.net>
3314
e1497744
DM
3315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3316
5df98260
DM
3317 * sysdeps/sparc/fpu/fenv_private.h: New file.
3318 * sysdeps/sparc/fpu/math_private.h: Use it.
3319 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3320 Remove.
3321 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3322 (libc_feholdexcept_setroundl): Remove.
3323 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3324 Remove.
3325 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3326 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3327
b4c35121
L
33282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3329
3330 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3331 int64_t instead of long int.
3332 (INSERT_WORDS64): Likwise.
3333
56965fd7
L
33342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3335
3336 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3337 _Unwind_GetCFA return to _Unwind_Ptr first.
3338
83d1aec8
JM
33392012-03-19 Joseph Myers <joseph@codesourcery.com>
3340
1897ad44
JM
3341 [BZ #13629]
3342 * math/s_clog.c: Include <float.h>.
3343 (__clog): Scale large or subnormal inputs.
3344 * math/s_clogf.c: Likewise.
3345 * math/s_clogl.c: Likewise.
3346 * math/s_clog10.c: Include <float.h>.
3347 (M_LOG10_2): Define.
3348 (__clog10): Scale large or subnormal inputs.
3349 * math/s_clog10f.c: Likewise.
3350 * math/s_clog10l.c: Likewise.
3351 * math/libm-test.inc (clog_test): Add more tests.
3352 (clog10_test): Likewise.
3353 * sysdeps/i386/fpu/libm-test-ulps: Update.
3354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3355
7726d6a9
JM
3356 [BZ #11451]
3357 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3358 x and y.
3359 * math/libm-test.inc (atan2_test): Add another test.
3360
83d1aec8
JM
3361 * Makerules (common-objdir-compile): Remove.
3362 * sysdeps/unix/Makefile (config-generated): Do not add
3363 $(unix-generated) to variable.
3364 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3365 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3366 Remove rule.
3367 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3368 Likewise.
3369 [generic bits/local_lim.h] (before-compile): Do not append to
3370 variable.
3371 [generic bits/local_lim.h] (common-generated): Likewise.
3372 [generic sys/param.h] (before-compile): Do not append to variable.
3373 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3374 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3375 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3376 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3377 include.
3378 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3379 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3380 [generic sys/param.h] ($(addprefix
3381 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3382 [generic sys/param.h] (common-generated): Do not append to
3383 variable.
3384 [generic sys/param.h] (sysdep_headers): Likewise.
3385 [generic bits/errno.h] (before-compile): Do not append to
3386 variable.
3387 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3388 rule.
3389 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3390 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3391 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3392 [generic bits/errno.h] (common-generated): Do not append to
3393 variable.
3394 [generic bits/ioctls.h] (before-compile): Do not append to
3395 variable.
3396 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3397 rule.
3398 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3399 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3400 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3401 rule.
3402 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3403 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3404 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3405 [generic bits/ioctls.h] (common-generated): Do not append to
3406 variable.
3407 [generic sys/syscall.h] (syscall.h): Remove variable.
3408 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3409 rule.
3410 [generic sys/syscall.h] (before-compile): Do not append to
3411 variable.
3412 [generic sys/syscall.h] (common-generated): Likewise.
3413 * sysdeps/unix/errnos-tmpl.c: Remove file.
3414 * sysdeps/unix/errnos.awk: Likewise.
3415 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3416 * sysdeps/unix/ioctls.awk: Likewise.
3417 * sysdeps/unix/mk-local_lim.c: Likewise.
3418 * sysdeps/unix/snarf-ioctls: Likewise.
3419
4851a949
RH
34202012-03-19 Richard Henderson <rth@twiddle.net>
3421
bd37f2ee
RH
3422 * sysdeps/i386/fpu/fenv_private.h: New file.
3423 * sysdeps/i386/fpu/math_private.h: Use it.
3424 (math_opt_barrier, math_force_eval): Remove.
3425 (libc_feholdexcept_setround_53bit): Remove.
3426 (libc_feupdateenv_53bit): Remove.
3427 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3428 (math_opt_barrier, math_force_eval): Remove.
3429 (libc_feholdexcept): Remove.
3430 (libc_feholdexcept_setround): Remove.
3431 (libc_fetestexcept, libc_fesetenv): Remove.
3432 (libc_feupdateenv_test): Remove.
3433 (libc_feupdateenv, libc_feholdsetround): Remove.
3434 (libc_feresetround): Remove.
3435
d0adc922
RH
3436 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3437 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3438
0fe0f1f8
RH
3439 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3440 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3441 (libc_feupdateenv_testl): New.
3442 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3443 (libc_feupdateenv_testf): New.
3444 (libc_feupdateenv): Use libc_feupdateenv_test.
3445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3446 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3447
eb92c487
RH
3448 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3449 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3450 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3451 (libc_feresetround_noex): New.
3452 (libc_feresetround_noexf): New.
3453 (libc_feresetround_noexl): New.
3454 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3455 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3456 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3457 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3458 SET_RESTORE_ROUND.
3459 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3460 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3461 (__cos): Likewise.
3462 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3463 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3464 SET_RESTORE_ROUND_NOEX.
3465 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3466 SET_RESTORE_ROUND_NOEXF.
3467 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3468 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3469 (libc_feholdsetroundf): New.
3470 (libc_feresetround, libc_feresetroundf): New.
3471
7d2e8012
RH
3472 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3473 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3474 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3475
b4dabbb4
RH
3476 * sysdeps/generic/math_private.h: Include <fenv.h>.
3477 (default_libc_feholdexcept): New.
3478 (default_libc_feholdexcept_setround): New.
3479 (default_libc_fesetenv, default_libc_feupdateenv): New.
3480 (libc_feholdexcept): Only define if undefined.
3481 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3482 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3483 (libc_feholdexcept_setroundl): Likewise.
3484 (libc_feholdexcept_setround_53bit): Likewise.
3485 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3486 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3487 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3488 (libc_feupdateenv_53bit): Likewise.
3489 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3490 (libc_feholdexcept): Convert from macro to inline function.
3491 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3492 (libc_fesetenv, libc_feupdateenv): Likewise.
3493
4851a949
RH
3494 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3495 not previously defined.
3496 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3497 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3498 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3499 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3500 * sysdeps/ieee754/flt-32/math_private.h: New file.
3501 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3502 math_private.h below SET_FLOAT_WORD.
3503 (__isnan, __isinf_ns, __finite): Remove.
3504 (__isnanf, __isinf_nsf, __finitef): Remove.
3505
e79d442e
AS
35062012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3507
3508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3509
90b80344
DM
35102012-03-17 David S. Miller <davem@davemloft.net>
3511
3512 [BZ #6471]
3513 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3514 for 2.16.
3515
edc21804
DM
35162012-03-16 David S. Miller <davem@davemloft.net>
3517
77e927af
DM
3518 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3519 warnings.
3520
374976dd
DM
3521 [BZ #6471]
3522 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3523 properly.
3524 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3525 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3526 sysdep_routines when subdir is sysvipc.
3527 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3528 __getshmlba helper.
3529
edc21804
DM
3530 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3531
473c3ef3
L
35322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3533
3534 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3535 [__LP64__].
3536
eb0f39b6
L
35372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3538
3539 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3540 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3541 (__lround): Renamed to ...
3542 (__llround): This. Replace long int with long long int.
3543 Define lround functions as aliases of llround functions.
3544 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3545
6b6cd74b
L
35462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3547
3548 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3549 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3550 adresses to uintptr_t. Replace "long int" and "unsigned long
3551 int" with "greg_t" on va_arg.
3552
f1a77b01
L
35532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3554
3555 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3556 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3557
3558 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3559 Move e_machine check before EI_CLASS check. Handle x32
3560 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3561 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3562 SKIP_EM_IA_64 and include
3563 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3564
3565 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3566 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3567 (add_system_dir): New macro.
3568
3569 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3570 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3571
11b90b9f
JM
35722012-03-16 Joseph Myers <joseph@codesourcery.com>
3573
c36e1d23
JM
3574 [BZ #2551]
3575 [BZ #2552]
3576 [BZ #2553]
3577 [BZ #2554]
3578 [BZ #2562]
3579 [BZ #2563]
3580 [BZ #2565]
3581 [BZ #2566]
3582 [BZ #2576]
3583 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3584 (y0): Likewise.
3585 * math/w_j0f.c (j0f): Likewise.
3586 (y0f): Likewise.
3587 * math/w_j0l.c (__j0l): Likewise.
3588 (__y0l): Likewise.
3589 * math/w_j1.c (j1): Likewise.
3590 (y1): Likewise.
3591 * math/w_j1f.c (j1f): Likewise.
3592 (y1f): Likewise.
3593 * math/w_j1l.c (__j1l): Likewise.
3594 (__y1l): Likewise.
3595 * math/w_jn.c (jn): Likewise.
3596 (yn): Likewise.
3597 * math/w_jnf.c (jnf): Likewise.
3598 (ynf): Likewise.
3599 * math/w_jnl.c (__jnl): Likewise.
3600 (__ynl): Likewise.
3601 * math/libm-test.inc (j0_test): Add more tests.
3602 (j1_test): Likewise.
3603 (jn_test): Likewise. Add trailing semicolon to existing test.
3604 (y0_test): Likewise.
3605 (y1_test): Likewise.
3606 * sysdeps/i386/fpu/libm-test-ulps: Update.
3607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3608
11b90b9f
JM
3609 [BZ #13851]
3610 [BZ #13854]
3611 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3612 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3613 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3614 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3615 (__tanl): Set errno for infinite argument.
3616 * sysdeps/i386/fpu/mptan.c: Remove.
3617 * sysdeps/i386/fpu/s_tan.S: Likewise.
3618 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3619 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3620 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3621 * math/libm-test.inc (tan_test): Add more tests and enable more
3622 tests for double and long double.
3623 * sysdeps/i386/fpu/libm-test-ulps: Update.
3624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3625
6a1bd2a1
JK
36262012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3627
3628 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3629 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3630
10a803e0
RM
36312012-03-16 Roland McGrath <roland@hack.frob.com>
3632
3633 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3634 * configure.in: Use it for both main tree and add-ons.
3635 * configure: Regenerated.
3636
f196c7f7
L
36372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3638
3639 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3640
8848d99d
JM
36412012-03-16 Joseph Myers <joseph@codesourcery.com>
3642
96cbe7f4
JM
3643 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3644 in comment.
3645
8848d99d
JM
3646 [BZ #13851]
3647 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3648 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3649 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3650 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3651 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3652 infinite argument.
3653 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3654 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3655 != 0 for prec == 2.
3656 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3657 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3658 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3659 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3660 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3661 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3662 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3663 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3664 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3665 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3666 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3667 * math/libm-test.inc (cos_test): Add more tests and enable more
3668 tests for long double.
3669 (sin_test): Likewise.
3670 (sincos_test): Likewise.
3671 * sysdeps/i386/fpu/libm-test-ulps: Update.
3672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3673
dd7f4703
DM
36742012-03-16 David S. Miller <davem@davemloft.net>
3675
3676 * sysdeps/sparc/fpu/math_private.h: New file.
3677
006f1daa
DM
36782012-03-15 David S. Miller <davem@davemloft.net>
3679
c0c83bc8
DM
3680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3681 file.
e6a62e18 3682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3684 file.
e6a62e18
DM
3685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3691 sysdep routines.
3692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3693
88cb87d9
DM
3694 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3695 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3696
006f1daa 3697 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3699 sparc-ifunc.h
006f1daa 3700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3702 Likewise.
3703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3704 Likewise.
006f1daa
DM
3705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3709 Likewise.
006f1daa
DM
3710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3715 Likewise.
3716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3717 Likewise.
006f1daa
DM
3718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3724 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3727 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3742
11e0098e
AS
37432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3744
3745 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3746 scaling.
3747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3748
e85b09d0
AJ
37492012-03-15 Andreas Jaeger <aj@suse.de>
3750
3751 [BZ #13852]
3752 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3753 ieee754/flt-32 implementation for sin, cos and sincos.
3754 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3755 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3756 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3757 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3758 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3759 ieee754/flt-32 implementation for tan.
3760
3761 * math/libm-test.inc (cos_test): Enable some large input tests for
3762 float as well
3763 (sin_test): Likewise.
3764 (sincos_test): Likewise.
3765 (tan_test): Add tests for large input.
3766
3767 * sysdeps/i386/fpu/libm-test-ulps: Update.
3768
81c64153
AJ
37692012-03-15 Andreas Jaeger <aj@suse.de>
3770
3771 [BZ #13658]
3772 * math/libm-test.inc (cos_test): Add more test cases.
3773 (sin_test): Likewise.
3774 (sincos_test): Likewise.
3775
7bbfa5c6
AJ
37762012-03-15 Andreas Jaeger <aj@suse.de>
3777
3778 [BZ #13837]
3779 * math/libm-test.inc (cos_test): Add a test case for large input
3780 value.
3781 (sin_test): Likewise.
3782 (sincos_test): Likewise.
3783
37842012-03-15 Andreas Jaeger <aj@suse.de>,
3785 Joseph Myers <joseph@codesourcery.com>
3786
3787 [BZ #13658]
0671f479 3788 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3789 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3790 * sysdeps/i386/fpu/branred.c: Likewise.
3791 * sysdeps/i386/fpu/dosincos.c: Likewise.
3792 * sysdeps/i386/fpu/mpa.c: Likewise.
3793 * sysdeps/i386/fpu/s_cos.S: Likewise.
3794 * sysdeps/i386/fpu/s_sin.S: Likewise.
3795 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3796 * sysdeps/i386/fpu/sincos32.c: Likewise.
3797
3798 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3799 Define.
3800 (libc_feupdateenv_53bit): Define.
3801 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3802 Define.
3803 (libc_feupdateenv_53bit): Define.
3804
3805 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3806 53 bit (without extend i386 double precision).
3807
3808 * math/libm-test.inc (sincos_test): Add tests for large input.
3809 (sin): Likewise.
3810 (cos): Likewise.
3811
3812 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3813
9cad04ea
AS
38142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3815
3816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3817
f7062b9a
DM
38182012-03-15 David S. Miller <davem@davemloft.net>
3819
3820 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3821 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3822 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3823 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3836 file.
f7062b9a 3837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3839 file.
f7062b9a 3840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3842 file.
f7062b9a 3843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3845 file.
f7062b9a
DM
3846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3847 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3848 fmin/fmax sysdep routines.
3849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3850
7bd951ff
DM
38512012-03-14 David S. Miller <davem@davemloft.net>
3852
559398ab
DM
3853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3873 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3881 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3882 routines.
3883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3884 file.
559398ab 3885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3887 file.
559398ab 3888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3890 file.
559398ab 3891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3893 file.
559398ab 3894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3896 file.
559398ab 3897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3899 file.
3900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3901 file.
3902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3903 file.
3904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3905 file.
3906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3907 New file.
3908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3909 file.
3910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3911 file.
559398ab 3912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3914 file.
559398ab 3915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3917 file.
559398ab 3918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3920 file.
559398ab 3921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3923 VIS3 routines.
559398ab
DM
3924
3925 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3926 New file.
3927
5a1c1e32
DM
3928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3929
eae47a36
DM
3930 * sysdeps/sparc/configure.in: New file.
3931 * sysdeps/sparc/configure: Generate.
3932 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3933 * configure: Regenerate.
3934 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3935 * config.make.in (have-as-vis3): New.
3936 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3937 available use -Av9d instead of -Av9a.
3938 * sysdeps/sparc/sparc64/Makefile: Likewise.
3939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3941 New file.
3942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3943 file.
3944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3945 New file.
3946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3947 file.
eae47a36
DM
3948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3953
c0c83bc8
DM
3954 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3955 fzeros/fnegs to load 0x80000000 into a float register instead of
3956 using the stack.
7bd951ff
DM
3957 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3958
bd951ccb
JM
39592012-03-14 Joseph Myers <joseph@codesourcery.com>
3960
3961 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3962 bits/syscall.h.
3963 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3964 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3965 ($(inst_includedir)/bits/syscall.h): Remove rule.
3966 ($(objpfx)bits/syscall.d): Include instead of
3967 $(objpfx)syscall-list.d.
3968 (generated): Change syscall-list.h and syscall-list.d to
3969 bits/syscall.h and bits/syscall.d.
3970
bb4e6db2
RM
39712012-03-14 Roland McGrath <roland@hack.frob.com>
3972
3973 [BZ #13846]
3974 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3975
aa4a2ae1
JM
39762012-03-14 Joseph Myers <joseph@codesourcery.com>
3977
e456826d
JM
3978 [BZ #13841]
3979 * math/s_csqrt.c: Include <float.h>.
3980 (__csqrt): Scale large or subnormal inputs.
3981 * math/s_csqrtf.c: Likewise.
3982 * math/s_csqrtl.c: Likewise.
3983 * math/libm-test.inc (csqrt_test): Add more tests.
3984 * sysdeps/i386/fpu/libm-test-ulps: Update.
3985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3986
aa4a2ae1
JM
3987 [BZ #13840]
3988 * math/libm-test.inc (hypot_test): Add more tests.
3989
7c10fd35
DM
39902012-03-13 David S. Miller <davem@davemloft.net>
3991
3992 [BZ #13840]
3993 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3994 double-precision for the calculation instead of scaling.
3995
f453b98b
JM
39962012-03-13 Joseph Myers <joseph@codesourcery.com>
3997
3998 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3999 manipulate bits before adding and subtracting TWO52[sx].
4000 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4001 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4002 Likewise.
4003 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4004
09a3453f
DM
40052012-03-13 David S. Miller <davem@davemloft.net>
4006
8e59da90
DM
4007 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4008 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4009 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4010 rtld-global-offsets.h
4011 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4012
2a8ab7f2
DM
4013 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4014 large parameters.
4015
10f62770
DM
4016 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4017
5f0bdb18
DM
4018 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4019 'err' in the ifdef scope in which it is actually used.
4020
09a3453f
DM
4021 * nss/nss_db/db-init.c: Include string.h
4022
b4b2eb5e
DM
40232012-03-12 David S. Miller <davem@davemloft.net>
4024
98bb2f1c
DM
4025 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4026 masking out of the most significant byte of random value used.
4027 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4028 Fix coding style in previous change.
4029
b4b2eb5e
DM
4030 * sysdeps/unix/sysv/linux/kernel-features.h
4031 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4032 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4033 expression.
4034 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4035 later.
4036
6e226b09
DM
40372012-03-11 David S. Miller <davem@davemloft.net>
4038
a1bcbd40
DM
4039 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4040 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4041 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4042 for 'resultvar' otherwise things get truncated on 64-bit.
4043
cb9d6174
DM
4044 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4045 Fix masking out of the most significant byte of random value used.
4046
6e226b09
DM
4047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4048
058c132d
AS
40492012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4050
4051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4052
2d2cd515
DM
40532012-03-09 David S. Miller <davem@davemloft.net>
4054
4055 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4056 variables with appropriate CPP guards.
4057 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4058 frame pointer, not the stack pointer. Correct layout comments. Fix test
4059 on resulting framesize and the management of the outregs buffer for pltexit.
4060 Preserve floating point return values across _dl_call_pltexit call.
4061 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4062 framesize and the management of the outregs buffer for pltexit.
4063 Preserve floating point return values across _dl_call_pltexit
4064 call.
4065 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4066 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4067 (print_exit): Fix format string for return register value.
4068
9a07f9d0
JM
40692012-03-10 Joseph Myers <joseph@codesourcery.com>
4070
4071 * sunrpc/Makefile (others): Add rpcgen.
4072 ($(objpfx)rpcgen): Remove special build rule and dependency on
4073 libc.
4074 * sunrpc/rpcgen.c: New file.
4075
547b5e30
PE
40762012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4077
c524201a
PE
4078 [BZ #13673]
4079 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4080 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4081 * sysdeps/i386/crti.S: Likewise.
4082 * sysdeps/i386/crtn.S: Likewise.
4083 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4084 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4085 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4086 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4087 * sysdeps/sh/crti.S: Likewise.
4088 * sysdeps/sh/crtn.S: Likewise.
4089 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4090
7b6235f2
PE
4091 [BZ #13673]
4092 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4093 with URL.
4094 * locale/programs/locfile-kw.gperf: Likewise.
4095 * locale/programs/charmap-kw.h: Regenerated.
4096 * locale/programs/locfile-kw.h: Likewise.
4097
547b5e30
PE
4098 [BZ #13673]
4099 * intl/plural.y: Replace FSF snail mail address with URL.
4100 * intl/plural.c: Regenerated.
4101
5f0a5dae
RH
41022012-03-09 Richard Henderson <rth@twiddle.net>
4103
4104 * include/math_private.h: Remove file.
4105 * math/math_private.h: Move file ...
4106 * sysdeps/generic/math_private.h: ... here.
4107
b8c03620
RH
4108 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4109 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4110 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4111
4e234f5d 4112 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4113 and <math_private.h>.
4114 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4115 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4116 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4117 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4118 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4119 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4120 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4121 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4122 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4123 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4124 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4125 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4126 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4127 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4128 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4129 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4130 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4131 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4132 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4133 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4135 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4136 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4137 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4138 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4139 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4140 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4141 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4142 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4143 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4144 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4145 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4146 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4147 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4148 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4149 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4150 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4151 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4152 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4153 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4154 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4155 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4156 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4157 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4158 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4159 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4160 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4161 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4162 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4163 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4173 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4202 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4203 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4204 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4205 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4206 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4207 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4208 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4209 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4210 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4211 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4212 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4213 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4214 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4215 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4216 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4217 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4218 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4219 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4220 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4221 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4222 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4223 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4224 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4225 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4226 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4227 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4228 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4229 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4230 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4231 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4232 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4233 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4234 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4235 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4236 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4237 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4238 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4239 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4240 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4241 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4242 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4243 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4244 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4245 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4246 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4247 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4248 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4249 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4250 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4251 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4252 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4253 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4254 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4255 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4256 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4257 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4258 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4259 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4260 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4261 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4262 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4263 * sysdeps/ieee754/k_standard.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4297 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4307 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4313 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4345 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4379 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4383 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4384 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4386 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4391 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4396 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4412 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4413 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4414 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4420 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4421 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4424 * sysdeps/ieee754/s_lib_version.c: Likewise.
4425 * sysdeps/ieee754/s_matherr.c: Likewise.
4426 * sysdeps/ieee754/s_signgam.c: Likewise.
4427 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4428 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4429 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4430 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4431 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4432 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4433 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4434 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4435 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4436 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4437 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4438 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4439 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4440 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4441 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4442 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4443 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4444 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4445 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4448
1991fa03
JM
44492012-03-09 Joseph Myers <joseph@codesourcery.com>
4450
4451 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4452 * sunrpc/rpc_main.c: Likewise.
4453 * sunrpc/rpc_svcout.c: Likewise.
4454
60d6f5a6
DM
44552012-03-09 David S. Miller <davem@davemloft.net>
4456
4457 * include/math_private.h: New file.
4458
4962050e
JM
44592012-03-09 Joseph Myers <joseph@codesourcery.com>
4460
02a6f887
JM
4461 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4462 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4463 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4464 from <bits/socket_type.h>.
4465 (enum __socket_type): Don't define here.
4466 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4468 bits/socket_type.h.
4469
c6e013c1
JM
4470 [BZ #13566]
4471 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4472 checking __USE_GNU.
4473
4962050e
JM
4474 * Makerules ($(inst_includedir)/%.h): New rule.
4475 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4476 (install-others): Remove variable setting.
4477 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4478
38842f45
RH
44792012-03-08 Richard Henderson <rth@twiddle.net>
4480
67bb6da6
RH
4481 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4482 from macro to inline function; merge with the
4483 !__LIBC_INTERNAL_MATH_INLINES version.
4484 (__ieee754_sqrtf): Likewise.
4485
15194b4b
RH
4486 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4487 to inline function.
4488 (__rintf, __floor, __floorf): Likewise.
4489
64e21ede
RH
4490 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4491 macro to inline function.
4492 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4493
38842f45
RH
4494 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4495 not <math/math_private.h>.
4496
c64bf5fe
DM
44972012-03-08 David S. Miller <davem@davemloft.net>
4498
4499 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4500 copyright year.
4501 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4502
82d86f28
TS
45032012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4504
4505 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4506 normalization.
4507 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4508 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4509
aea5d727
UD
45102012-03-08 Ulrich Drepper <drepper@gmail.com>
4511
4512 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4513 be defined individually, they must be defined as a block. Define
4514 S for printing a string instead of hidint the different by using a
4515 macro for adding the 'l'.
4516 * stdio-common/tst-fphex-wide.c: Adjust.
4517
70bca0a3
MP
45182012-03-07 Marek Polacek <polacek@redhat.com>
4519
4520 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4521
65b81130
MP
45222012-03-08 Marek Polacek <polacek@redhat.com>
4523
4524 [BZ #13806]
4525 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4526 * stdio-common/tst-fphex.c: Define a few macros to make the
4527 test reusable. Use them.
4528 * stdio-common/tst-fphex-wide.c: New file.
4529
07037eeb
JM
45302012-03-08 Joseph Myers <joseph@codesourcery.com>
4531
a7a93d50
JM
4532 [BZ #6911]
4533 * manual/macros.texi (gnusystems): New macro.
4534 (nongnusystems): Likewise.
4535 (gnulinuxhurdsystems): Likewise.
4536 (gnuhurdsystems): Likewise..
4537 (gnulinuxsystems): Likewise.
4538 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4539 variants of the GNU system, not "GNU system".
4540 * manual/conf.texi: Likewise.
4541 * manual/errno.texi: Likewise. Update example of errno macro
4542 expansion.
4543 * manual/filesys.texi: Likewise.
4544 (getumask): Document as specific to GNU/Hurd.
4545 * manual/install.texi: Likewise. Reword some references to
4546 GNU/Linux.
4547 * manual/intro.texi: Likewise.
4548 * manual/io.texi: Likewise.
4549 (File Name Portability): Detail which constraints are inapplicable
4550 to all GNU systems and which are only inapplicable to GNU/Hurd.
4551 * manual/job.texi: Likewise.
4552 * manual/llio.texi: Likewise.
4553 (O_NOCTTY): Document as present on GNU/Linux.
4554 * manual/maint.texi: Likewise.
4555 * manual/memory.texi: Likewise.
4556 * manual/pattern.texi: Likewise.
4557 * manual/pipe.texi: Likewise.
4558 * manual/process.texi: Likewise.
4559 * manual/resource.texi: Likewise.
4560 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4561 child on GNU/Hurd.
4562 * manual/setjmp.texi: Likewise.
4563 * manual/signal.texi: Likewise.
4564 * manual/startup.texi: Likewise.
4565 * manual/stdio.texi: Likewise.
4566 * manual/terminal.texi: Likewise.
4567 (ONLCR): Document as POSIX.
4568 (OXTABS): Document availability on GNU/Linux as XTABS.
4569 (ONOEOT): Document availability separately from other bits.
4570 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4571 * manual/time.texi: Likewise.
4572 * manual/users.texi: Likewise.
4573 * INSTALL: Regenerated.
4574 * sysdeps/gnu/errlist.c: Regenerated.
4575
07037eeb
JM
4576 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4577 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4578 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4579 puts.
4580 * configure: Regenerated.
4581
d1d3431a
JM
45822012-03-07 Joseph Myers <joseph@codesourcery.com>
4583
af6a1e37
JM
4584 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4585 default includes instead of AC_HEADER_CHECK.
4586 * sysdeps/i386/configure: Regenerated.
4587
d1d3431a
JM
4588 [BZ #10716]
4589 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4590 * math/s_cacoshf.c (__cacoshf): Likewise.
4591 * math/s_cacoshl.c (__cacoshl): Likewise.
4592 * math/s_casinh.c (__casinh): Set signs of result from argument.
4593 * math/s_casinhf.c (__casinhf): Likewise.
4594 * math/s_casinhl.c (__casinhl): Likewise.
4595 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4596 (casinh_test): Add more tests.
4597 * sysdeps/i386/fpu/libm-test-ulps: Update.
4598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4599
482ff4da
UD
46002012-03-07 Ulrich Drepper <drepper@gmail.com>
4601
872fda05
UD
4602 * po/zh_TW.po: Update from translation team.
4603
a4300c7a
UD
4604 * login/Makefile (distribute): Remove variable.
4605 * catgets/Makefile: Likewise.
4606 * mach/Makefile: Likewise.
4607 * malloc/Makefile: Likewise.
4608 * misc/Makefile: Likewise.
4609 * iconv/Makefile: Likewise.
4610 * nscd/Makefile: Likewise.
4611 * hurd/Makefile: Likewise.
4612 * manual/Makefile: Likewise.
4613 * locale/Makefile: Likewise.
4614 * intl/Makefile: Likewise.
4615 * conform/Makefile: Likewise.
4616 * nss/Makefile: Likewise.
4617 * time/Makefile: Likewise.
4618 * soft-fp/Makefile: Likewise.
4619 * dirent/Makefile: Likewise.
4620 * gmon/Makefile: Likewise.
4621 * po/Makefile: Likewise.
4622 * rt/Makefile: Likewise.
4623 * socket/Makefile: Likewise.
4624 * math/Makefile: Likewise.
4625 * signal/Makefile: Likewise.
4626 * debug/Makefile: Likewise.
4627 * elf/Makefile: Likewise.
4628 * timezone/Makefile: Likewise.
4629 * stdlib/Makefile: Likewise.
4630 * iconvdata/Makefile: Likewise.
4631 * sunrpc/Makefile: Likewise.
4632 * io/Makefile: Likewise.
4633 * argp/Makefile: Likewise.
4634 * inet/Makefile: Likewise.
4635 * hesiod/Makefile: Likewise.
4636 * grp/Makefile: Likewise.
4637 * csu/Makefile: Likewise.
4638 * wctype/Makefile: Likewise.
4639 * crypt/Makefile: Likewise.
4640 * libio/Makefile: Likewise.
4641 * string/Makefile: Likewise.
4642 * nis/Makefile: Likewise.
4643 * resolv/Makefile: Likewise.
4644 * stdio-common/Makefile: Likewise.
4645 * wcsmbs/Makefile: Likewise.
4646 * dlfcn/Makefile: Likewise.
4647 * posix/Makefile: Likewise.
4648
3b7c4e74 4649 [BZ #6959]
482ff4da
UD
4650 * timezone/Makefile: Don't install timezone files, just the programs
4651 and scripts.
4652
f72ed77d
UD
46532012-03-06 Ulrich Drepper <drepper@gmail.com>
4654
a000466f
UD
4655 * nss/databases.def: Add missing gshadow entry.
4656
f72ed77d
UD
4657 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4658
a53b7a4e
MP
46592012-03-06 Marek Polacek <polacek@redhat.com>
4660
4661 [BZ #13726]
4662 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4663 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4664 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4665 * stdio-common/tst-long-dbl-fphex.c: New file.
4666
e9258400
DM
46672012-03-06 David S. Miller <davem@davemloft.net>
4668
4669 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4670 (set_obp_int): New function.
4671 (get_obp_int): New function.
4672 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4673 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4674 Avoid unused variable warnings on 'val' and use builtin_expect.
4675 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4676 __builtin_expect.
e9258400
DM
4677 (INLINE_CLONE_SYSCALL): Likewise.
4678
3bd2c723
DM
46792012-03-05 David S. Miller <davem@davemloft.net>
4680
4681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4682
bbb78d03
AS
46832012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4684
884c5db4
AS
4685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4686
bbb78d03
AS
4687 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4688 only for |x| >= 40.
4689 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4690
1c9f702a 46912012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4692
4693 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4694 Replace gettimeofday with __vdso_gettimeofday.
4695
7be16f82
RM
4696 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4697 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4698 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4699
4700 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4701 time with __vdso_time.
4702
ed58a00f
JM
47032012-03-05 Joseph Myers <joseph@codesourcery.com>
4704
4705 * manual/lang.texi (size_t): Note types to which size_t may be
4706 equivalent with the GNU C Library, but do not describe when
4707 differences between them are significant.
4708
30ee4ced
AJ
47092012-03-05 Andreas Jaeger <aj@suse.de>
4710
4711 * sysdeps/i386/fpu/libm-test-ulps: Update.
4712
b7cd39e8
JM
47132012-03-05 Joseph Myers <joseph@codesourcery.com>
4714
4715 [BZ #3976]
4716 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4717 (__ieee754_pow): Save and restore rounding mode and use
4718 round-to-nearest for main computations.
4719 * math/libm-test.inc (pow_test_tonearest): New function.
4720 (pow_test_towardzero): Likewise.
4721 (pow_test_downward): Likewise.
4722 (pow_test_upward): Likewise.
4723 (main): Call the new functions.
4724 * sysdeps/i386/fpu/libm-test-ulps: Update.
4725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4726
4727 [BZ #3976]
4728 * math/libm-test.inc (cosh_test_tonearest): New function.
4729 (cosh_test_towardzero): Likewise.
4730 (cosh_test_downward): Likewise.
4731 (cosh_test_upward): Likewise.
4732 (sinh_test_tonearest): Likewise.
4733 (sinh_test_towardzero): Likewise.
4734 (sinh_test_downward): Likewise.
4735 (sinh_test_upward): Likewise.
4736 (main): Call the new functions.
4737 * sysdeps/i386/fpu/libm-test-ulps: Update.
4738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4739
6c6a98c9
TV
47402012-03-05 Tom de Vries <tom@codesourcery.com>
4741
4742 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4743 default stack guard is set in last bytes.
4744 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4745
21bb2d2e 47462012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4747
21bb2d2e 4748 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4749
21bb2d2e
AJ
4750 [BZ #13656]
4751 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4752 possibly allocate from heap instead of stack.
4753 * stdio-common/bug-vfprintf-nargs.c: New file.
4754 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4755
c6922934
AS
47562012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4757
4758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4759
bc957d53
MP
47602012-03-03 Marek Polacek <polacek@redhat.com>
4761
4762 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4763 * math/math_private.h: Likewise.
4764 * stdlib/tst-strtod.c: Likewise.
4765 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4766 * sysdeps/x86_64/bits/atomic.h: Likewise.
4767
6358490d
DM
47682012-03-02 David S. Miller <davem@davemloft.net>
4769
4770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4774 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4775 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4776 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4777 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4778
01ae168d
RM
47792012-03-02 Roland McGrath <roland@hack.frob.com>
4780
d9a17c07
RM
4781 [BZ #13792]
4782 * manual/examples/README: New file, says the example source files
4783 can be used under GPL>=2.
4784 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4785 line containing just "*/".
4786 * manual/examples/add.c: Add copyright header (GPL>=2).
4787 * manual/examples/argp-ex1.c: Likewise.
4788 * manual/examples/argp-ex2.c: Likewise.
4789 * manual/examples/argp-ex3.c: Likewise.
4790 * manual/examples/argp-ex4.c: Likewise.
4791 * manual/examples/atexit.c: Likewise.
4792 * manual/examples/db.c: Likewise.
4793 * manual/examples/dir.c: Likewise.
4794 * manual/examples/dir2.c: Likewise.
4795 * manual/examples/execinfo.c: Likewise.
4796 * manual/examples/filecli.c: Likewise.
4797 * manual/examples/filesrv.c: Likewise.
4798 * manual/examples/fmtmsgexpl.c: Likewise.
4799 * manual/examples/genpass.c: Likewise.
4800 * manual/examples/inetcli.c: Likewise.
4801 * manual/examples/inetsrv.c: Likewise.
4802 * manual/examples/isockad.c: Likewise.
4803 * manual/examples/longopt.c: Likewise.
4804 * manual/examples/memopen.c: Likewise.
4805 * manual/examples/memstrm.c: Likewise.
4806 * manual/examples/mkfsock.c: Likewise.
4807 * manual/examples/mkisock.c: Likewise.
4808 * manual/examples/mygetpass.c: Likewise.
4809 * manual/examples/pipe.c: Likewise.
4810 * manual/examples/popen.c: Likewise.
4811 * manual/examples/rprintf.c: Likewise.
4812 * manual/examples/search.c: Likewise.
4813 * manual/examples/select.c: Likewise.
4814 * manual/examples/setjmp.c: Likewise.
4815 * manual/examples/sigh1.c: Likewise.
4816 * manual/examples/sigusr.c: Likewise.
4817 * manual/examples/stpcpy.c: Likewise.
4818 * manual/examples/strdupa.c: Likewise.
4819 * manual/examples/strftim.c: Likewise.
4820 * manual/examples/strncat.c: Likewise.
4821 * manual/examples/subopt.c: Likewise.
4822 * manual/examples/swapcontext.c: Likewise.
4823 * manual/examples/termios.c: Likewise.
4824 * manual/examples/testopt.c: Likewise.
4825 * manual/examples/testpass.c: Likewise.
4826 * manual/examples/timeval_subtract.c: Likewise.
4827
01ae168d
RM
4828 [BZ #13792]
4829 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4830 function to ...
4831 * manual/timeval_subtract.c.texi: ... here, new file.
4832
49efa33d
DM
48332012-03-02 David S. Miller <davem@davemloft.net>
4834
4835 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4836
28afd92d
JM
48372012-03-02 Joseph Myers <joseph@codesourcery.com>
4838
804360ed
JM
4839 [BZ #3976]
4840 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4841 (__sin): Save and restore rounding mode and use round-to-nearest
4842 for all computations.
4843 (__cos): Save and restore rounding mode and use round-to-nearest
4844 for all computations.
4845 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4846 <fenv.h>.
4847 (tan): Save and restore rounding mode and use round-to-nearest for
4848 all computations.
4849 * math/libm-test.inc (cos_test_tonearest): New function.
4850 (cos_test_towardzero): Likewise.
4851 (cos_test_downward): Likewise.
4852 (cos_test_upward): Likewise.
4853 (sin_test_tonearest): Likewise.
4854 (sin_test_towardzero): Likewise.
4855 (sin_test_downward): Likewise.
4856 (sin_test_upward): Likewise.
4857 (tan_test_tonearest): Likewise.
4858 (tan_test_towardzero): Likewise.
4859 (tan_test_downward): Likewise.
4860 (tan_test_upward): Likewise.
4861 (main): Call the new functions.
4862 * sysdeps/i386/fpu/libm-test-ulps: Update.
4863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4864
a6d06d7b
JM
4865 [BZ #10135]
4866 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4867 small n, then large n, before computing and testing k+n.
4868 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4870 Likewise.
4871 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4872 Likewise.
4873 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4874 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4875 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4876 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4877 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4878 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4879 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4880 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4881 * math/libm-test.inc (scalbn_test): Add more tests.
4882 (scalbln_test): Likewise.
4883
07e12bb3
JM
4884 * manual/filesys.texi (mode_t): Describe constraints on size and
4885 signedness, not exact equivalence to a particular type.
4886 (ino_t): Likewise.
4887 (ino64_t): Likewise.
4888 (dev_t): Likewise.
4889 (nlink_t): Likewise.
4890 (blkcnt_t): Likewise.
4891 (blkcnt64_t): Likewise.
4892 * manual/llio.texi (off_t): Likewise.
4893
28afd92d
JM
4894 [BZ #3976]
4895 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4896 (__ieee754_exp): Save and restore rounding mode and use
4897 round-to-nearest for all computations.
4898 * math/libm-test.inc (exp_test_tonearest): New function.
4899 (exp_test_towardzero): Likewise.
4900 (exp_test_downward): Likewise.
4901 (exp_test_upward): Likewise.
4902 (main): Call the new functions.
4903 * sysdeps/i386/fpu/libm-test-ulps: Update.
4904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4905
b1eeb65d
CD
49062012-03-01 Chris Demetriou <cgd@google.com>
4907
4908 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4909 have predictable order.
4910
53362a4b
DM
49112012-03-01 David S. Miller <davem@davemloft.net>
4912
3c969083
DM
4913 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4914
759707de
DM
4915 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4916 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4917 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4918 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4919
dfdb8ff2
DM
4920 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4921 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4922 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4924 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4925 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4926 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4927 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4928 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4929
ead89f96
DM
4930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4931
7f66bd07
DM
4932 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4933 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4934 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4935
53362a4b
DM
4936 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4937 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4938 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4939 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4940 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4941 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4943 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4944 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4945 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4946 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4947 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4949 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4950 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4951 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4952 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4953 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4954 * sysdeps/sparc/elf/configure: Regenerated.
4955
7b1902cb
JM
49562012-03-01 Joseph Myers <joseph@codesourcery.com>
4957
bec039bc
JM
4958 * configure.in (AS, LD): Require binutils 2.20 or later.
4959 * configure: Regenerated.
4960 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4961 as required minimum version.
4962 * INSTALL: Regenerated.
4963
7b1902cb
JM
4964 [BZ #2541]
4965 [BZ #4108]
4966 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4967 before squaring exponent.
4968 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4969 bottom long double and 27 bits of top long double before squaring
4970 exponent.
4971 * math/libm-test.inc (erfc_test): Add more tests.
4972 * sysdeps/i386/fpu/libm-test-ulps: Update.
4973 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4975
f775c276
KT
49762012-03-01 Kai Tietz <ktietz@redhat.com>
4977
4978 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4979 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4980 containing bit-fields.
4981 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4982 * soft-fp/single.h (_FP_UNION_S): Likewise.
4983 * soft-fp/double.h (_FP_UNION_D): Likewise.
4984
5b8a4d4a
JM
49852012-02-29 Joseph Myers <joseph@codesourcery.com>
4986
0bab47b6
JM
4987 [BZ #13786]
4988 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4989 not include ../strcmp.S.
4990 [USE_AS_STRNCASECMP_L]: Likewise.
4991 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4992 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4993 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4994 (__strncasecmp_l_ia32): Define as alias to
4995 __strncasecmp_l_nonascii.
4996
0fcad3e2
JM
4997 [BZ #5794]
4998 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4999 * sysdeps/i386/fpu/libm-test-ulps: Update.
5000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5001
5b8a4d4a
JM
5002 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5004
8fdceb2e
JL
50052012-02-29 Jeff Law <law@redhat.com>
5006
5007 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5008 out of bounds read.
5009
1f393a11
MP
50102012-02-29 Marek Polacek <polacek@redhat.com>
5011
5012 [BZ #13706]
5013 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5014 * elf/Makefile: Add rules to run tst-unused-dep.out.
5015
8847f037
DM
50162012-02-28 David S. Miller <davem@davemloft.net>
5017
5018 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5019 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5020 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5022 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5023 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5024
169d7f11
JM
50252012-02-29 Joseph Myers <joseph@codesourcery.com>
5026
5027 * math/libm-test.inc (llround_test): Move one test from
5028 lround_test. Use TEST_f_L in moved test.
5029 (lround_test): Move misplaced test to llround_test. Add testcase
5030 from bug 2561.
5031
39adf059
UD
50322012-02-28 Ulrich Drepper <drepper@gmail.com>
5033
5034 * sysdeps/x86_64/fpu/e_expf.S: New file.
5035 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5036
71b5d1c5
SB
50372012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5038
5039 [BZ #13637]
5040 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5041 of remain_len that may cause incomplete multi-byte character and
5042 false match.
5043 * posix/bug-regex33.c: New file.
5044 * posix/Makefile (tests): Add bug-regex33.
5045
1f77f049
JM
50462012-02-28 Joseph Myers <joseph@codesourcery.com>
5047
5048 * manual/macros.texi: New file.
5049 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5050 * manual/libc.texinfo: Include macros.texi.
5051 * manual/creatute.texi: Likewise.
5052 * manual/install.texi: Likewise.
5053 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5054 @glibcadj{} in references to the GNU C Library.
5055 * manual/charset.texi: Likewise.
5056 * manual/conf.texi: Likewise.
5057 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5058 when not using those macros.
5059 * manual/creature.texi: Likewise.
5060 * manual/crypt.texi: Likewise.
5061 * manual/errno.texi: Likewise.
5062 * manual/filesys.texi: Likewise.
5063 * manual/header.texi: Likewise.
5064 * manual/install.texi: Likewise.
5065 * manual/intro.texi: Likewise.
5066 * manual/io.texi: Likewise.
5067 * manual/job.texi: Likewise.
5068 * manual/lang.texi: Likewise.
5069 * manual/libc.texiinfo: Likewise.
5070 * manual/llio.texi: Likewise.
5071 * manual/locale.texi: Likewise.
5072 * manual/maint.texi: Likewise.
5073 * manual/math.texi: Likewise.
5074 * manual/memory.texi: Likewise.
5075 * manual/message.texi: Likewise.
5076 * manual/nss.texi: Likewise.
5077 * manual/pattern.texi: Likewise.
5078 * manual/process.texi: Likewise.
5079 * manual/resource.texi: Likewise.
5080 * manual/search.texi: Likewise.
5081 * manual/setjmp.texi: Likewise.
5082 * manual/signal.texi: Likewise.
5083 * manual/socket.texi: Likewise.
5084 * manual/startup.texi: Likewise.
5085 * manual/stdio.texi: Likewise.
5086 * manual/string.texi: Likewise.
5087 * manual/sysinfo.texi: Likewise.
5088 * manual/syslog.texi: Likewise.
5089 * manual/terminal.texi: Likewise.
5090 * manual/time.texi: Likewise.
5091 * manual/users.texi: Likewise.
5092 * INSTALL: Regenerated.
5093 * NOTES: Regenerated.
d40c5d54 5094 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5095
450bf206
AS
50962012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5097
5098 * include/dirent.h: Include <dirstream.h> before
5099 <dirent/dirent.h>.
5100
741a235b
DM
51012012-02-28 David S. Miller <davem@davemloft.net>
5102
5103 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5104 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5105 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5106 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5107
d6b5aa58
DM
51082012-02-27 David S. Miller <davem@davemloft.net>
5109
1aff59a3
DM
5110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5112 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5113 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5114
d6b5aa58
DM
5115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5116 frame pointer instead of stack pointer relative arg slot.
5117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5118 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5119 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5120
433f48bf
CD
51212012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5122
5123 [BZ #3992]
5124 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5125
d674b76d
DM
51262012-02-27 David S. Miller <davem@davemloft.net>
5127
5128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5132 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5133 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5134 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5135 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5136
0e7727f7
JM
51372012-02-27 Joseph Myers <joseph@codesourcery.com>
5138
5139 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5140 later. Allow versions 5-9.
43be4ca2 5141 * configure: Regenerated.
0e7727f7
JM
5142 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5143 required minimum version and 4.6 as recommended version. Do not
5144 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5145 * INSTALL: Regenerated.
0e7727f7 5146
a78bc654
DM
51472012-02-27 David S. Miller <davem@davemloft.net>
5148
428d5830
DM
5149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5153 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5154 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5155 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5156 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5157
a78bc654
DM
5158 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5159 manipulate bits before adding and subtracting TWO112[sx].
5160 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5161
4579f81c
RM
51622012-02-27 Roland McGrath <roland@hack.frob.com>
5163
36c8acb4
RM
5164 [BZ #13775]
5165 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5166 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5167 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5168 being in POSIX, because they are in 1003.1-2008.
5169
84ad622b
RM
5170 * rt/tst-aio.c: Include <fcntl.h>.
5171 * rt/tst-aio7.c: Likewise.
5172 * rt/tst-aio64.c: Likewise.
5173
4579f81c
RM
5174 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5175
abd923db
JM
51762012-02-27 Joseph Myers <joseph@codesourcery.com>
5177
5178 * manual/install.texi (--with-headers): Describe headers as
5179 interface headers, not private headers.
5180 (Specific advice for GNU/Linux systems): Describe use of headers
5181 from "make headers_install", not private headers from older
5182 kernels.
43be4ca2 5183 * INSTALL: Regenerated.
abd923db
JM
5184 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5185 Change to 2.6.19.
5186 * sysdeps/unix/sysv/linux/configure: Regenerated.
5187
6664049b
JM
5188 * manual/llio.texi (fclean): Remove documentation.
5189
bb8b6697
JM
5190 * manual/Makefile (libc-texi-generated): New variable. Include
5191 version.texi.
5192 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5193 $(libc-texi-generated), not duplicated list of files.
5194 (version.texi, stamp-version): New rules.
5195 (realclean): Remove $(libc-texi-generated), not individual files
5196 from that list. Do not remove dir-add.texinfo.
5197 * manual/libc.texinfo: Comment out uses of edition numbers and
5198 references to printed manual. Remove last-updated dates.
5199 (EDITION): Comment out.
5200 (ISBN): Likewise.
5201 (VERSION, UPDATED): Remove.
5202 (version.texi): Include.
5203
12e5c3b9
AS
52042012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5205
5206 * sysdeps/posix/spawni.c: Include <signal.h>.
5207 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5208 * sysdeps/pthread/aio_fsync.c: Likewise.
5209
4efeffc1 52102012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5211
ba63ba08
UD
5212 * conform/Makefile (tests): Run only when not cross-compiling and
5213 when fast-check is not defined.
5214
d94a4670
UD
5215 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5216 * conform/data/limits.h-data: Fixes for POSIX2008.
5217 * conform/run-conformtest.sh: Run all tests.
5218 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5219 headers.
5220 * include/bits/dlfcn.h: Likewise.
5221 * include/langinfo.h: Likewise.
5222 * include/monetary.h: Likewise.
5223 * include/sys/poll.h: Likewise.
5224
5225 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5226 for __USE_GNU.
5227 * posix/spawn.h: Define __need_sigset_t.
5228 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5229 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5230 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5231 to get sigevent_t only.
5232 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5233 only for __USE_GNU.
5234 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5235 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5236 process_vm_writev only for __USE_GNU.
5237 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5238
5239 * conform/Makefile: For now ignore errors from run-conformtest.
5240 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5241 POSIX to avoid namespace pollution. Don't prepend headers.
5242 * conform/data/aio.h-data: Fixes for POSIX testing.
5243 * conform/data/fcntl.h-data: Likewise.
5244 * conform/data/glob.h-data: Likewise.
5245 * conform/data/grp.h-data: Likewise.
5246 * conform/data/pthread.h-data: Likewise.
5247 * conform/data/pwd.h-data: Likewise.
5248 * conform/data/signal.h-data: Likewise.
5249 * conform/data/spawn.h-data: Likewise.
5250 * conform/data/stdio.h-data: Likewise.
5251 * conform/data/stdlib.h-data: Likewise.
5252 * conform/data/stropts.h-data: Likewise.
5253 * conform/data/sys/mman.h-data: Likewise.
5254 * conform/data/sys/stat.h-data: Likewise.
5255 * conform/data/sys/types.h-data: Likewise.
5256 * conform/data/sys/wait.h-data: Likewise.
5257 * conform/data/time.h-data: Likewise.
5258 * conform/data/unistd.h-data: Likewise.
5259 * conform/data/utime.h-data: Likewise.
5260
5261 * io/sys/stat.h: fchmod was always in POSIX.
5262 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5263 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5264 * rt/aio.h: Define __need_timespec before including <time.h>.
5265 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5266 struct. Add forward declaration of pthread_attr_t and use it in
5267 sigevent.
5268 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5270 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5271 always remove CLK_TCK definition.
5272
c20105c3
AS
52732012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5274
5275 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5276
7a270350
UD
52772012-02-25 Ulrich Drepper <drepper@gmail.com>
5278
31341567
UD
5279 * conform/run-conformtest.sh: New file.
5280 * conform/Makefile: Run run-conformtest for tests.
5281 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5282 support.
5283
5284 * conform/data/uchar.h-data: New file.
5285 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5286 * conform/data/arpa/inet.h-data: Likewise.
5287 * conform/data/assert.h-data: Likewise.
5288 * conform/data/complex.h-data: Likewise.
5289 * conform/data/cpio.h-data: Likewise.
5290 * conform/data/ctype.h-data: Likewise.
5291 * conform/data/dirent.h-data: Likewise.
5292 * conform/data/dlfcn.h-data: Likewise.
5293 * conform/data/errno.h-data: Likewise.
5294 * conform/data/fcntl.h-data: Likewise.
5295 * conform/data/float.h-data: Likewise.
5296 * conform/data/fmtmsg.h-data: Likewise.
5297 * conform/data/fnmatch.h-data: Likewise.
5298 * conform/data/ftw.h-data: Likewise.
5299 * conform/data/glob.h-data: Likewise.
5300 * conform/data/grp.h-data: Likewise.
5301 * conform/data/iconv.h-data: Likewise.
5302 * conform/data/inttypes.h-data: Likewise.
5303 * conform/data/langinfo.h-data: Likewise.
5304 * conform/data/libgen.h-data: Likewise.
5305 * conform/data/limits.h-data: Likewise.
5306 * conform/data/locale.h-data: Likewise.
5307 * conform/data/math.h-data: Likewise.
5308 * conform/data/monetary.h-data: Likewise.
5309 * conform/data/mqueue.h-data: Likewise.
5310 * conform/data/ndbm.h-data: Likewise.
5311 * conform/data/net/if.h-data: Likewise.
5312 * conform/data/netdb.h-data: Likewise.
5313 * conform/data/netinet/in.h-data: Likewise.
5314 * conform/data/nl_types.h-data: Likewise.
5315 * conform/data/poll.h-data: Likewise.
5316 * conform/data/pthread.h-data: Likewise.
5317 * conform/data/pwd.h-data: Likewise.
5318 * conform/data/regex.h-data: Likewise.
5319 * conform/data/sched.h-data: Likewise.
5320 * conform/data/search.h-data: Likewise.
5321 * conform/data/semaphore.h-data: Likewise.
5322 * conform/data/setjmp.h-data: Likewise.
5323 * conform/data/signal.h-data: Likewise.
5324 * conform/data/spawn.h-data: Likewise.
5325 * conform/data/stdarg.h-data: Likewise.
5326 * conform/data/stdio.h-data: Likewise.
5327 * conform/data/stdlib.h-data: Likewise.
5328 * conform/data/string.h-data: Likewise.
5329 * conform/data/strings.h-data: Likewise.
5330 * conform/data/stropts.h-data: Likewise.
5331 * conform/data/sys/ipc.h-data: Likewise.
5332 * conform/data/sys/mman.h-data: Likewise.
5333 * conform/data/sys/msg.h-data: Likewise.
5334 * conform/data/sys/resource.h-data: Likewise.
5335 * conform/data/sys/select.h-data: Likewise.
5336 * conform/data/sys/sem.h-data: Likewise.
5337 * conform/data/sys/shm.h-data: Likewise.
5338 * conform/data/sys/socket.h-data: Likewise.
5339 * conform/data/sys/stat.h-data: Likewise.
5340 * conform/data/sys/statvfs.h-data: Likewise.
5341 * conform/data/sys/time.h-data: Likewise.
5342 * conform/data/sys/timeb.h-data: Likewise.
5343 * conform/data/sys/times.h-data: Likewise.
5344 * conform/data/sys/types.h-data: Likewise.
5345 * conform/data/sys/uio.h-data: Likewise.
5346 * conform/data/sys/un.h-data: Likewise.
5347 * conform/data/sys/utsname.h-data: Likewise.
5348 * conform/data/sys/wait.h-data: Likewise.
5349 * conform/data/syslog.h-data: Likewise.
5350 * conform/data/tar.h-data: Likewise.
5351 * conform/data/termios.h-data: Likewise.
5352 * conform/data/utime.h-data: Likewise.
5353 * conform/data/utmpx.h-data: Likewise.
5354 * conform/data/varargs.h-data: Likewise.
5355 * conform/data/wchar.h-data: Likewise.
5356 * conform/data/wctype.h-data: Likewise.
5357 * conform/data/wordexp.h-data: Likewise.
5358
5359 * include/stropts.h: New file.
5360 * include/uchar.h: New file.
5361 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5362 * include/assert.h: Likewise.
5363 * include/ctype.h: Likewise.
5364 * include/dirent.h: Likewise.
5365 * include/dlfcn.h: Likewise.
5366 * include/fcntl.h: Likewise.
5367 * include/fnmatch.h: Likewise.
5368 * include/glob.h: Likewise.
5369 * include/grp.h: Likewise.
5370 * include/libio.h: Likewise.
5371 * include/locale.h: Likewise.
5372 * include/math.h: Likewise.
5373 * include/net/if.h: Likewise.
5374 * include/netdb.h: Likewise.
5375 * include/netinet/in.h: Likewise.
5376 * include/pthread.h: Likewise.
5377 * include/pwd.h: Likewise.
5378 * include/regex.h: Likewise.
5379 * include/sched.h: Likewise.
5380 * include/search.h: Likewise.
5381 * include/setjmp.h: Likewise.
5382 * include/signal.h: Likewise.
5383 * include/stdio.h: Likewise.
5384 * include/stdlib.h: Likewise.
5385 * include/string.h: Likewise.
5386 * include/sys/cdefs.h: Likewise.
5387 * include/sys/mman.h: Likewise.
5388 * include/sys/msg.h: Likewise.
5389 * include/sys/resource.h: Likewise.
5390 * include/sys/select.h: Likewise.
5391 * include/sys/socket.h: Likewise.
5392 * include/sys/stat.h: Likewise.
5393 * include/sys/statvfs.h: Likewise.
5394 * include/sys/time.h: Likewise.
5395 * include/sys/times.h: Likewise.
5396 * include/sys/uio.h: Likewise.
5397 * include/sys/utsname.h: Likewise.
5398 * include/sys/wait.h: Likewise.
5399 * include/termios.h: Likewise.
5400 * include/time.h: Likewise.
5401 * include/ulimit.h: Likewise.
5402 * include/unistd.h: Likewise.
5403 * include/utime.h: Likewise.
5404 * include/wchar.h: Likewise.
5405 * include/wctype.h: Likewise.
5406 * include/wordexp.h: Likewise.
5407
5408 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5409
7a270350
UD
5410 * time/time.h: TIME_UTC must be a macro.
5411 Make timespec_get available for ISO C11 only as well.
5412
7724defc
UD
54132012-02-24 Ulrich Drepper <drepper@gmail.com>
5414
5415 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5416 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5417
6b1d1d46
JM
54182012-02-24 Joseph Myers <joseph@codesourcery.com>
5419
5420 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5421
0f8bbd69
JM
54222012-02-24 Joseph Myers <joseph@codesourcery.com>
5423
5424 * manual/texinfo.tex: Update to version 2012-01-19.16.
5425
66ab80bc
JM
54262012-02-24 Joseph Myers <joseph@codesourcery.com>
5427
5428 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5429
74981cc5
RM
54302012-02-24 Roland McGrath <roland@hack.frob.com>
5431
ee968201
RM
5432 [BZ #13738]
5433 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5434 * manual/fdl-1.3.texi: New file.
5435 * manual/fdl-1.1.texi: File removed.
5436
74981cc5
RM
5437 [BZ #13738]
5438 * manual/libc.texinfo (FDL_VERSION): New @set.
5439 Use it for mention of FDL in cover text.
5440 (Documentation License): Use it in @include file name.
5441
7bb764bc
JM
54422012-02-22 Joseph Myers <joseph@codesourcery.com>
5443 Roland McGrath <roland@hack.frob.com>
5444
5445 [BZ #5461]
5446 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5447 not LONG_LONG_MAX and LONG_LONG_MIN.
5448 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5449 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5450 name.
5451 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5452
6cbeae47
JM
54532012-02-22 Joseph Myers <joseph@codesourcery.com>
5454
5455 [BZ #2547]
5456 [BZ #11365]
5457 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5458 manipulate bits before adding and subtracting TWO23[sx].
5459 * math/libm-test.inc (nearbyint_test): Add more tests.
5460
fe45ce09
JM
54612012-02-22 Joseph Myers <joseph@codesourcery.com>
5462
5463 [BZ #2548]
5464 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5465 bits before adding and subtracting TWO23[sx].
5466 * math/libm-test.inc (rint_test): Add more tests.
5467 (rint_test_tonearest): Likewise.
5468 (rint_test_towardzero): Likewise.
5469 (rint_test_downward): Likewise.
5470 (rint_test_upward: Likewise.
5471
ff3b3d82
JM
54722012-02-22 Joseph Myers <joseph@codesourcery.com>
5473
5474 [BZ #10110]
5475 * include/stdc-predef.h: New file. Extracted from features.h.
5476 * include/features.h: Include stdc-predef.h.
5477 * Makefile (headers): Add stdc-predef.h.
5478 * CONFORMANCE (Compiler limitations): Update.
5479
ef0aab35
JM
54802012-02-22 Joseph Myers <joseph@codesourcery.com>
5481
5482 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5483
58639409
DM
54842012-02-21 David S. Miller <davem@davemloft.net>
5485
5486 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5487 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5488
c0e70b25
DM
54892012-02-20 David S. Miller <davem@davemloft.net>
5490
5491 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5492 using a normal save/restore sequence, rather than allocating a
5493 dummy stack frame just to store a frame pointer and restore.
5494 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5495
fb06851d
JM
54962012-02-21 Joseph Myers <joseph@codesourcery.com>
5497
5498 * manual/install.texi: Fix stray word in line-wrapped comment.
5499
7a8b71c3
DM
55002012-02-20 David S. Miller <davem@davemloft.net>
5501
d510c123
DM
5502 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5503 both binutils and gcc support GOTDATA.
5504
0722d7c2
DM
5505 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5506 "rd %pc" in the PIC register setup sequences.
5507
3d2b3019
DM
5508 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5509 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5510 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5511 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5512 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5513 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5514 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5515 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5517 (SYSCALL_ERROR_HANDLER): Likewise.
5518 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5519 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5521 (SYSCALL_ERROR_HANDLER): Likewise.
5522
c80098a9
DM
5523 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5524 (HAVE_GCC_GOTDATA): New.
5525 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5526 relocation support in both binutils and gcc.
5527 * sysdeps/sparc/elf/configure: Regenerate.
5528
3a2545a0
DM
5529 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5530 * sysdeps/sparc/sparc32/elf/configure: Delete.
5531 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5532 * sysdeps/sparc/sparc64/elf/configure: Delete.
5533 * sysdeps/sparc/elf/configure.in: New file.
5534 * sysdeps/sparc/elf/configure: Generate.
5535
7a8b71c3
DM
5536 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5537 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5538 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5539 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5540 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5541
f1e86fca
JM
55422012-02-21 Joseph Myers <joseph@codesourcery.com>
5543
5544 * manual/install.texi: Do not mention specific glibc version
5545 numbers.
5546 * manual/libc.texinfo (VERSION, UPDATED): Update.
5547 (@copying): Use @copyright{} and range of years.
5548
0e7dfaef
JM
55492012-02-21 Joseph Myers <joseph@codesourcery.com>
5550
5551 [BZ #13695]
5552 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5553 [crti.S not in sysdirs] (generated): Do not append.
5554 [crti.S not in sysdirs] (omit-deps): Likewise.
5555 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5556 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5557 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5558 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5559 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5560 Likewise.
5561 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5562 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5563 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5564 * csu/defs.awk: Remove file.
5565 * sysdeps/generic/initfini.c: Likewise.
5566 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5567 variable.
5568 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5569 Likewise.
5570
599af3ca
JM
55712012-02-20 Joseph Myers <joseph@codesourcery.com>
5572
5573 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5574 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5575 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5577 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5578 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5579 <bits/epoll.h>.
5580 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5581 (__EPOLL_PACKED): Define to empty if not defined by
5582 <bits/epoll.h>.
5583 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5585 bits/epoll.h.
5586
0e499750
JM
55872012-02-20 Joseph Myers <joseph@codesourcery.com>
5588
5589 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5590 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5591 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5592 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5593 <bits/timerfd.h>.
5594 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5596 bits/timerfd.h.
5597
5ad91f6e
JM
55982012-02-20 Joseph Myers <joseph@codesourcery.com>
5599
5600 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5601 in C locale.
5602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5603 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5604 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5606
06b99b02
AJ
56072012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5608
5609 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5610 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5611
7638c0fd
AS
56122012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5613
5614 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5615 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5616 defined.
5617 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5618 Likewise.
5619 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5620 entry for 2.16.
5621
92221550
AJ
56222012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5623
5624 * math/w_acos.c: Use non-signaling floating-point comparisons.
5625 * math/w_acosf.c: Likewise.
5626 * math/w_acosh.c: Likewise.
5627 * math/w_acoshf.c: Likewise.
5628 * math/w_acoshl.c: Likewise.
5629 * math/w_acosl.c: Likewise.
5630 * math/w_asin.c: Likewise.
5631 * math/w_asinf.c: Likewise.
5632 * math/w_asinl.c: Likewise.
5633 * math/w_atanh.c: Likewise.
5634 * math/w_atanhf.c: Likewise.
5635 * math/w_atanhl.c: Likewise.
5636 * math/w_exp2.c: Likewise.
5637 * math/w_exp2f.c: Likewise.
5638 * math/w_exp2l.c: Likewise.
5639 * math/w_j0.c: Likewise.
5640 * math/w_j0f.c: Likewise.
5641 * math/w_j0l.c: Likewise.
5642 * math/w_j1.c: Likewise.
5643 * math/w_j1f.c: Likewise.
5644 * math/w_j1l.c: Likewise.
5645 * math/w_jn.c: Likewise.
5646 * math/w_jnf.c: Likewise.
5647 * math/w_log.c: Likewise.
5648 * math/w_log10.c: Likewise.
5649 * math/w_log10f.c: Likewise.
5650 * math/w_log10l.c: Likewise.
5651 * math/w_log2.c: Likewise.
5652 * math/w_log2f.c: Likewise.
5653 * math/w_log2l.c: Likewise.
5654 * math/w_logf.c: Likewise.
5655 * math/w_logl.c: Likewise.
5656 * math/w_sqrt.c: Likewise.
5657 * math/w_sqrtf.c: Likewise.
5658 * math/w_sqrtl.c: Likewise.
5659 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5660 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5661 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5662 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5663 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5664
ebaf36eb
JM
56652012-02-19 Joseph Myers <joseph@codesourcery.com>
5666
5667 [BZ #9739]
5668 * manual/string.texi (strnlen): Use correct parameter name in
5669 equivalent expression.
5670
71c254a6
JM
56712012-02-19 Joseph Myers <joseph@codesourcery.com>
5672
5673 [BZ #11174]
5674 * manual/users.texi (seteuid): Consistently use neweuid for
5675 argument name.
5676
16d2c631
JM
56772012-02-19 Joseph Myers <joseph@codesourcery.com>
5678
5679 [BZ #13704]
5680 * manual/nss.texi (Services in the NSS configuration): Correct
5681 list of services in example configuration file.
5682
cd837b09
NB
56832012-02-19 Nick Bowler <nbowler@draconx.ca>
5684
5685 [BZ #11322]
5686 * manual/arith.texi: Remove statements about negative zero
5687 behaving identically to zero.
5688
02c4bbad
JM
56892012-02-18 Joseph Myers <joseph@codesourcery.com>
5690
5691 [BZ #5993]
5692 * manual/install.texi: Do not document upgrading from libc5.
5693
366842e7
JM
56942012-02-18 Joseph Myers <joseph@codesourcery.com>
5695
5696 [BZ #4596]
5697 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5698
dd54084d
DM
56992012-02-18 David S. Miller <davem@davemloft.net>
5700
5701 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5702 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5703 %o7 across the call.
5704 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5705 instead.
5706 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5707 SETUP_PIC_REG_LEAF.
5708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5709 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5710 * sysdeps/sparc/crtn.S: Likewise.
5711
2bcc53a3
UD
57122012-02-17 Ulrich Drepper <drepper@gmail.com>
5713
5714 * aout/Makefile: Remove.
5715
09c093b5
RK
57162012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5717
5718 [BZ #13058]
5719 * manual/examples/argp-ex1.c (main): Format definition in GNU
5720 style.
5721 * manual/examples/argp-ex2.c (main): Likewise.
5722 * manual/examples/argp-ex3.c (main): Likewise.
5723 * manual/examples/argp-ex4.c (main): Likewise.
5724 * manual/examples/longopt.c (main): Use new-style prototype
5725 definition.
5726 * manual/examples/strncat.c (main): Specify return type and use
5727 (void) for arguments.
5728 * manual/examples/subopt.c (main): Use char **argv argument.
5729
2ee633a2
JM
57302012-02-17 Joseph Myers <joseph@codesourcery.com>
5731
5732 [BZ #5077]
5733 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5734 rounding modes.
5735
0520adde
FB
57362012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5737
5738 [BZ #6907]
5739 * manual/string.texi (strchr): Change when strchrnul is
5740 recommended.
5741
3f4081cd
DGM
57422012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5743
5744 [BZ #174]
5745 * manual/locale.texi (setlocale): Document LOCPATH.
5746
d1b10e78
JM
57472012-02-17 Joseph Myers <joseph@codesourcery.com>
5748
5749 [BZ #10210]
5750 * manual/process.texi (execle): Move @dots{} before last argument.
5751
79c6869c
PB
57522012-02-17 Paul Bolle <pebolle@tiscali.nl>
5753
5754 [BZ #12047]
5755 * manual/charset.texi (Generic Charset Conversion): Fix typo
5756 (LC_TYPE -> LC_CTYPE).
5757
cc6e48bc
NB
57582012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5759
5760 [BZ #5805]
5761 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5762 (scalbnf): Likewise.
5763 (scalbnl): Likewise.
5764 (scalbln): Likewise.
5765 (scalblnf): Likewise.
5766 (scalblnl): Likewise.
5767 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5768 (vwarnx): Likewise.
5769 (verr): Likewise.
5770 (verrx): Likewise.
5771 * manual/filesys.texi (telldir): Use braces around return type.
5772 * manual/llio.texi (mmap): Add space after comma.
5773 (mmap64): Likewise.
5774 * manual/math.texi (jn): Use @var{} on parameter names.
5775 (jnf): Likewise.
5776 (jnl): Likewise.
5777 (yn): Likewise.
5778 (ynf): Likewise.
5779 (ynl): Likewise.
5780 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5781 line.
5782 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5783 "...".
5784 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5785 (sched_get_priority_max): Likewise.
5786 * manual/signal.texi (sigvec): Add space after comma.
5787 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5788 names.
5789 (if_indextoname): Likewise.
5790 (if_freenameindex): Likewise.
5791 (sendto): Use ',' instead of '.' in prototype.
5792 * manual/startup.texi (syscall): Use @dots{} instead of literal
5793 "...".
5794 * manual/stdio.texi (__fpending): Separate initial words of
5795 paragraph from @deftypefun line.
5796 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5797 "...".
5798 (vsyslog): Use @var{} on parameter names.
5799 * manual/terminal.texi (stty): Use @var{} on parameter names.
5800 * manual/users.texi (getutmp): Use @var{} on parameter names.
5801 (getutmpx): Likewise.
5802
5b23062f
JM
58032012-02-17 Joseph Myers <joseph@codesourcery.com>
5804
5805 [BZ #6884]
5806 * manual/stdio.texi (fopen): Fix typos in description of
5807 ",ccs=STRING".
5808
8dee4833
AJ
58092012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5810
5811 [BZ #4026]
5812 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5813 get clock_id definition.
5814
9078ce93
TS
58152012-02-17 Thomas Schwinge <thomas@schwinge.name>
5816
5817 [BZ #4822]
5818 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5819 (madvise): Cast every argument to void on its own.
5820
3835c55f
JM
58212012-02-17 Joseph Myers <joseph@codesourcery.com>
5822
5823 [BZ #9902]
5824 * manual/startup.texi (Exit Status): Fix typo.
5825
35c47e37
JM
58262012-02-17 Joseph Myers <joseph@codesourcery.com>
5827
5828 [BZ #10140]
5829 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5830 * manual/examples/argp-ex2.c: Likewise.
5831 * manual/examples/argp-ex3.c: Likewise.
5832
e3b69ca7
RH
58332012-02-16 Richard Henderson <rth@redhat.com>
5834
5835 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5836 * sysdeps/s390/s390-32/initfini.c: Remove.
5837 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5838 * sysdeps/s390/s390-64/initfini.c: Remove.
5839
df83af67
KK
58402012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5841
5842 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5843 compiler output for sysdeps/generic/initfini.c.
5844 * sysdeps/sh/elf/initfini.c: Remove file.
5845
f63f3380
DM
58462012-02-16 David S. Miller <davem@davemloft.net>
5847
fb59b3a4
DM
5848 [BZ #11494]
5849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5850
f63f3380
DM
5851 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5852 * sysdeps/sparc/crti.S: New file.
5853 * sysdeps/sparc/crtn.S: New file.
5854 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5855 * sysdeps/sparc/sparc64/Makefile: Likewise.
5856
df6a4a4a
MF
58572012-02-15 Mike Frysinger <vapier@gentoo.org>
5858
6dd8f3dc 5859 [BZ #3335]
df6a4a4a
MF
5860 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5861
1cac7236
RM
58622012-02-15 Roland McGrath <roland@hack.frob.com>
5863
d2c736f8
RM
5864 [BZ #4822]
5865 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5866
1cac7236
RM
5867 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5868 (write, read, close): Likewise.
5869 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5870
8e475601
JM
58712012-02-15 Joseph Myers <joseph@codesourcery.com>
5872
5873 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5874 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5875 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5876 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5877 <bits/signalfd.h>.
5878 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5880 bits/signalfd.h.
5881
ed656b40
MP
58822012-02-14 Marek Polacek <polacek@redhat.com>
5883
5884 * sysdeps/x86_64/crti.S: New file.
5885 * sysdeps/x86_64/crtn.S: New file.
5886 * sysdeps/x86_64/elf/initfini.c: Remove file.
5887
2a979d3a
JM
58882012-02-13 Joseph Myers <joseph@codesourcery.com>
5889
5890 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5891 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5892 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5893 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5894 <bits/inotify.h>.
5895 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5897 bits/inotify.h.
5898
2a418ac3
JM
58992012-02-13 Joseph Myers <joseph@codesourcery.com>
5900
5901 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5902 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5903 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5904 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5905 <bits/eventfd.h>.
5906 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5908 bits/eventfd.h.
5909
fb779be7
TS
59102012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5911
e19e83c5
RM
5912 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5913 __feraiseexcept instead of feraiseexcept.
7c35ffed 5914
fb779be7
TS
5915 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5916 nanosleep invocations.
5917 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5918 strings, and add error checking for a nanosleep invocations.
5919
59ba27a6
PE
59202012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5921
5922 Replace FSF snail mail address with URLs, as per GNU coding standards.
5923 Most of the snail mail addresses were wrong anyway, and omitting
5924 them makes the source code easier to maintain. Almost all of the
5925 changes are to license notices and to locale LC_IDENTIFICATION
5926 addresses, except for this one:
5927 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5928 not its snail mail address.
5929
57b957eb
RH
59302012-02-09 Richard Henderson <rth@twiddle.net>
5931
af850b1c
RH
5932 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5933 of kernel-features.h.
5934
57b957eb
RH
5935 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5936
6b73181a
MP
59372012-02-08 Marek Polacek <polacek@redhat.com>
5938
5939 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5940 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5941 * sysdeps/gnu/_G_config.h: Likewise.
5942 * sysdeps/generic/_G_config.h: Likewise.
5943
26ecc33a
AS
59442012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5945
6c6dbc63
AS
5946 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5947 tests.
5948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5949
e216c012
AS
5950 * sysdeps/powerpc/powerpc32/crti.S: New file.
5951 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5952 * sysdeps/powerpc/powerpc64/crti.S: New file.
5953 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5954
26ecc33a
AS
5955 * Makeconfig (have-initfini): Don't set.
5956 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5957 * configure.in (nopic_initfini): Don't substitute.
5958 * config.h.in (HAVE_INITFINI): Don't #undef.
5959 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5960 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5961
3add8e13
JM
59622012-02-08 Joseph Myers <joseph@codesourcery.com>
5963
5964 Support crti.S and crtn.S provided directly by architectures.
5965 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5966 [crti.S in sysdirs] (omit-deps): Likewise.
5967 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5968 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5969 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5970 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5971 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5972 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5973 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5974 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5975 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5976 compiler output for sysdeps/generic/initfini.c.
5977 * sysdeps/i386/elf/Makefile: Remove file.
5978 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5979
a22f12b4
MP
59802012-02-07 Marek Polacek <polacek@redhat.com>
5981
5982 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5983 * sysdeps/gnu/_G_config.h: Likewise.
5984 * sysdeps/mach/hurd/_G_config.h: Likewise.
5985
148cf100
MP
59862012-02-07 Marek Polacek <polacek@redhat.com>
5987
5988 * math/Makefile (tests): Add tst-CMPLX2.
5989 * math/tst-CMPLX2.c: New file.
5990
cfdc0dd7
AS
59912012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5992
84ba42c4
AS
5993 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5994
cfdc0dd7
AS
5995 * math/libm-test.inc (jn_test): Add missing L suffix.
5996
622c86f4
MP
59972012-02-06 Marek Polacek <polacek@redhat.com>
5998
5999 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6000 * sysdeps/i386/fpu/e_powf.S: Likewise.
6001 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6002 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6003 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6004 * sysdeps/i386/fpu/e_pow.S: Likewise.
6005 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6006 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6007 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6008 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6009 * sysdeps/i386/fpu/e_log2.S: Likewise.
6010 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6011 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6012 * sysdeps/i386/fpu/e_powl.S: Likewise.
6013 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6014 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6015 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6016 * sysdeps/i386/fpu/e_logl.S: Likewise.
6017 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6018 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6019 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6020 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6021 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6022 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6023 * sysdeps/i386/fpu/e_log.S: Likewise.
6024 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6025 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6026 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6027 * sysdeps/i386/fpu/e_logf.S: Likewise.
6028 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6029 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6030 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6031 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6032 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6033 * sysdeps/i386/fpu/e_log10.S: Likewise.
6034 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6035 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6036 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6037 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6038 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6039 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6040 * sysdeps/i386/asm-syntax.h: Likewise.
6041 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6042 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6043 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6044 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6045 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6046 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6047 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6048 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6049 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6050 * sysdeps/powerpc/sysdep.h: Likewise.
6051 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6052 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6053
d4a54ac6
JM
60542012-02-06 Joseph Myers <joseph@codesourcery.com>
6055
6056 [BZ #411]
6057 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6058
314054ea
JM
60592012-02-06 Joseph Myers <joseph@codesourcery.com>
6060
6061 * sysdeps/i386/sysdep.h: Include <features.h>.
6062 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6063 version.
6064
d8e0ca50
JM
60652012-02-05 Joseph Myers <joseph@codesourcery.com>
6066
6067 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6068 Define.
6069 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6070 LOAD_PIC_REG_STR.
6071
b1da7dd9
JM
60722012-02-03 Joseph Myers <joseph@codesourcery.com>
6073
6074 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6075 (SETUP_PIC_REG): Use GET_PC_THUNK.
6076 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6077 macro.
6078
9a1d9254
JM
60792012-02-03 Joseph Myers <joseph@codesourcery.com>
6080
6081 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6082 for non-PIC compilation.
6083 (SETUP_PIC_REG): Add .p2align directive.
6084 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6085 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6086 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6087 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6088 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6089 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6090 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6091 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6092 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6093 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6095 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6096 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6097 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6098 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6099 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6100 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6101 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6102 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6103 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6104 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6105 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6106 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6107 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6108 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6110 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6111 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6112 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6113 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6114 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6115 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6116 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6117 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6118 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6119 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6120 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6121 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6122 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6123 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6124 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6125
65dc3b75
JM
61262012-02-03 Joseph Myers <joseph@codesourcery.com>
6127
6128 * math/tst-CMPLX.c: Include <stdio.h>.
6129
d55bf177
JM
61302012-01-31 Joseph Myers <joseph@codesourcery.com>
6131
6132 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6133 float.
6134 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6135 * sysdeps/sparc/bits/mathdef.h: Likewise.
6136
69db4f8f
MP
61372012-01-31 Marek Polacek <polacek@redhat.com>
6138
6139 * libio/libio.h: Don't define _PARAMS.
6140 * locale/programs/config.h: Don't define PARAMS.
6141 * stdlib/strtol_l.c: Likewise.
6142 (__strtol_l): Remove PARAMS from the prototype.
6143
41b81892
UD
61442012-01-31 Ulrich Drepper <drepper@gmail.com>
6145
3b49edc0
UD
6146 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6147 names. Just use the correct names. Remove unnecessary wrapper
6148 functions.
6149 * malloc/arena.c: Likewise.
6150 * malloc/hooks.c: Likewise.
6151
41b81892
UD
6152 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6153 ARENA_TEST says not to. Simplify test for creation of a new arena.
6154 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6155
27a25b6e
UD
61562012-01-30 Ulrich Drepper <drepper@gmail.com>
6157
6158 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6159 into tail calls.
6160 (update_get_addr): New function.
6161 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6162 GET_ADDR_MODULE parameter.
6163
c8a89e7d
JM
61642012-01-30 Joseph Myers <joseph@codesourcery.com>
6165
6166 * crypt/cert.c: Remove __STDC__ conditionals.
6167 * crypt/crypt-entry.c: Likewise.
6168 * crypt/crypt_util.c: Likewise.
6169 * libio/filedoalloc.c: Likewise.
6170 * libio/fileops.c: Likewise.
6171 * libio/genops.c: Likewise.
6172 * libio/iofclose.c: Likewise.
6173 * libio/iofdopen.c: Likewise.
6174 * libio/iofopen.c: Likewise.
6175 * libio/iofopen64.c: Likewise.
6176 * libio/iogetdelim.c: Likewise.
6177 * libio/iopopen.c: Likewise.
6178 * libio/obprintf.c: Likewise.
6179 * libio/oldfileops.c: Likewise.
6180 * libio/oldiofclose.c: Likewise.
6181 * libio/oldiofdopen.c: Likewise.
6182 * libio/oldiofopen.c: Likewise.
6183 * libio/oldiopopen.c: Likewise.
6184 * libio/wfiledoalloc.c: Likewise.
6185 * libio/wgenops.c: Likewise.
6186 * locale/programs/xmalloc.c: Likewise.
6187 * misc/syslog.c: Likewise.
6188 * stdio-common/xbug.c: Likewise.
6189 * string/memchr.c: Likewise.
6190 * string/memcmp.c: Likewise.
6191 * string/memrchr.c: Likewise.
6192 * string/rawmemchr.c: Likewise.
6193 * sysdeps/posix/getcwd.c: Likewise.
6194 * time/strftime_l.c: Likewise.
6195
3b100462
JM
61962012-01-30 Joseph Myers <joseph@codesourcery.com>
6197
6198 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6199 * config.make.in (config-cflags-sse2avx): Define.
6200 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6201 Fix typo.
6202
607998af
CM
62032012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6204
6205 * scripts/config.guess: Update from upstream config git repository.
6206 * scripts/config.sub: Likewise.
6207
3601428f
CM
62082012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6209
3ac8b282
CM
6210 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6211 (EM_NUM): Update.
6212 (R_TILEPRO_*, R_TILEGX_*): New macros.
6213
e034841e
CM
6214 * scripts/firstversions.awk: Fix bug in version range handling.
6215
540d7568
CM
6216 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6217
3601428f
CM
6218 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6219
463de862
CM
6220 * include/sys/epoll.h: New file.
6221 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6222 libc_hidden_def.
6223
73139a76
UD
62242012-01-28 Ulrich Drepper <drepper@gmail.com>
6225
96bc5b45
UD
6226 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6227 Avoid unnecessary __WORDSIZE == 64 test.
6228 (fmaxf): Use VEX format if possible.
6229 (fmax): Likewise.
6230 (fminf): Likewise.
6231 (fmin): Likewise.
6232
56f6f6a2
UD
6233 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6234 * math/math_private.h: Remove libc_fegetround* and
6235 libc_fesetround*.
6236 * sysdeps/i386/configure.in: Check for -msse2avx.
6237 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6238 also if SSE2AVX is defined.
6239 Remove libc_fegetround* and libc_fesetround*.
6240 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6241 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6242 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6243 of HAS_YMM_USABLE.
6244 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6245 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6246 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6247 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6248 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6249
73139a76
UD
6250 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6251
d73f93a4
AZ
62522012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6253
6254 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6255 size is not set.
6256 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6257
6ee65ed6
UD
62582012-01-27 Ulrich Drepper <drepper@gmail.com>
6259
6260 [BZ #13618]
6261 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6262 relocation.
6263 * Makeconfig (libm): Define.
6264 * elf/Makefile: Add rules to build and run tst-relsort1.
6265 * elf/tst-relsort1.c: New file.
6266 * elf/tst-relsort1mod1.c: New file.
6267 * elf/tst-relsort1mod2.c: New file.
6268
8db21882
JM
62692012-01-27 Joseph Myers <joseph@codesourcery.com>
6270
6271 * math/s_ldexp.c: Remove __STDC__ conditionals.
6272 * math/s_ldexpf.c: Likewise.
6273 * math/s_ldexpl.c: Likewise.
6274 * math/s_nextafter.c: Likewise.
6275 * math/s_nexttowardf.c: Likewise.
6276 * math/s_significand.c: Likewise.
6277 * math/s_significandf.c: Likewise.
6278 * math/s_significandl.c: Likewise.
6279 * math/w_jnl.c: Likewise.
6280 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6281 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6282 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6283 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6284 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6285 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6286 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6287 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6288 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6291 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6294 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6295 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6296 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6297 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6298 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6299 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6300 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6301 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6302 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6303 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6304 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6305 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6306 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6307 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6308 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6309 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6310 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6311 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6312 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6313 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6314 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6315 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6316 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6317 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6318 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6319 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6320 * sysdeps/ieee754/k_standard.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6382 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6386 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6387 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6392 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6394 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6395 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6396 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6397 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6398 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6399 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6400 * sysdeps/ieee754/s_matherr.c: Likewise.
6401 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6402 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6403 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6404 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6405
965a54a4
JM
64062012-01-26 Joseph Myers <joseph@codesourcery.com>
6407
6408 * crypt/md5.h: Remove __STDC__ conditionals.
6409 * libio/libioP.h: Likewise.
6410 * locale/programs/config.h: Likewise.
6411 * sysdeps/generic/sysdep.h: Likewise.
6412 * sysdeps/i386/asm-syntax.h: Likewise.
6413 * sysdeps/s390/asm-syntax.h: Likewise.
6414 * sysdeps/unix/sysdep.h: Likewise.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6417
7071ad79
JM
64182012-01-26 Joseph Myers <joseph@codesourcery.com>
6419
6420 * libio/libio.h: Remove __STDC__ conditionals.
6421 * malloc/obstack.h: Likewise.
6422 * math/complex.h: Likewise.
6423 * math/math.h: Likewise.
6424 * sysdeps/generic/_G_config.h: Likewise.
6425 * sysdeps/gnu/_G_config.h: Likewise.
6426 * sysdeps/mach/hurd/_G_config.h: Likewise.
6427 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6428 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6429 * sysdeps/sparc/bits/mathdef.h: Likewise.
6430
afc5ed09
UD
64312012-01-26 Ulrich Drepper <drepper@gmail.com>
6432
6433 [BZ #13583]
6434 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6435 Clean up HAS_* macros.
afc5ed09 6436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6437 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6438 possible.
6439 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6440 HAS_AVX.
6441 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6442 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6443 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6444 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6445 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6446
bdb6de1d
JM
64472012-01-25 Joseph Myers <joseph@codesourcery.com>
6448
6449 * elf/tst-unique3.cc (gets): Remove declaration.
6450 * elf/tst-unique3lib.cc (gets): Likewise.
6451 * elf/tst-unique3lib2.cc (gets): Likewise.
6452 * elf/tst-unique4.cc (gets): Likewise.
6453
b15549e6
UD
64542012-01-24 Ulrich Drepper <drepper@gmail.com>
6455
6456 * include/stdio.h: Add C++ protection. Add gets declarations and
6457 definitions.
6458 * debug/tst-chk1.c: Don't declare gets here.
6459 * stdio-common/tst-gets.c: Likewise.
6460
a037381f
JM
64612012-01-24 Joseph Myers <joseph@codesourcery.com>
6462
6463 * posix/glob: Remove directory.
6464
f1d4aa75
JM
64652012-01-24 Joseph Myers <joseph@codesourcery.com>
6466
6467 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6468
81c0c964
PT
64692012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6470
6471 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6472 of the non-standard EPFNOSUPPORT.
6473
0ea698ae
ST
64742011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6475
6476 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6477 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6478 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6479
d220b117
UD
64802012-01-21 Ulrich Drepper <drepper@gmail.com>
6481
6482 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6483
3e1aa84e
UD
64842012-01-20 Ulrich Drepper <drepper@gmail.com>
6485
6486 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6487 transient errors.
6488 * nscd/grpcache.c (cache_addgr): Likewise.
6489 * nscd/hstcache.c (cache_addhst): Likewise.
6490 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6491 * nscd/pwdcache.c (cache_addpw): Likewise.
6492 * nscd/servicescache.c (cache_addserv): Likewise.
6493
400aa020
UD
64942012-01-16 Ulrich Drepper <drepper@gmail.com>
6495
d77e7869
UD
6496 * malloc/malloc.c: Various cleanups.
6497 * malloc/hooks.c: Likewise.
6498
400aa020
UD
6499 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6500 * stdlib/bug-fmtmsg1.c: New file.
6501
6502 * stdlib/fmtmsg.c (init): Add missing unlock.
6503 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6504
e0a309cf
MP
65052012-01-12 Marek Polacek <polacek@redhat.com>
6506
6507 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6508 and _GNU_SOURCE.
6509
929d11c7
WS
65102012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6511
6512 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6513 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6514 macro to ensure uniqueness of label name.
6515 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6516 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6517
41d0e869
UD
65182012-01-11 Ulrich Drepper <drepper@gmail.com>
6519
0cc5ed3b
UD
6520 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6521
41d0e869
UD
6522 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6523 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6524 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6526
a47a831a
UD
65272012-01-10 Ulrich Drepper <drepper@gmail.com>
6528
daa891c0
UD
6529 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6530
6531 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6532 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6533 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6534
e58ef0f2
UD
6535 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6536
a47a831a 6537 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6538 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6539 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6540 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6541
6542 * math/bits/math-finite.h: Add ldexp support.
6543
a0bfc9c7
MP
65442012-01-10 Marek Polacek <polacek@redhat.com>
6545
6546 * locale/programs/localedef.h (show_archive_content): Add noreturn
6547 attribute.
6548
d6e97a1d
UD
65492012-01-09 Ulrich Drepper <drepper@gmail.com>
6550
6551 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6552
d5835c26
UD
65532012-01-08 Ulrich Drepper <drepper@gmail.com>
6554
e5f484c6
UD
6555 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6556
d5835c26
UD
6557 * io/Makefile (headers): Add bits/poll2.h.
6558
d1f741e9
WS
65592011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6560
6561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6562 typo #include statement.
6563
ec09c1c4
UD
65642012-01-08 Ulrich Drepper <drepper@gmail.com>
6565
6566 * include/sys/cdefs.h: Define __attribute_alloc_size.
6567 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6568 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6569 * elf/pldd.c: Likewise.
6570 * iconv/iconv_charmap.c: Likewise.
6571 * iconv/iconvconfig.c: Likewise.
6572 * iconv/strtab.c: Likewise.
6573 * locale/programs/locale.c: Likewise.
6574 * locale/programs/localedef.h: Likewise.
6575 * locale/programs/simple-hash.c: Likewise.
6576 * nscd/nscd.h: Likewise.
6577 * nss/makedb.c: Likewise.
6578 * sysdeps/generic/ldconfig.h: Likewise.
6579 * locale/programs/localedef.c: Remove xmalloc prototype.
6580 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6581
20b38e03
PP
65822012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6583
6584 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6585 appropriate.
6586
a0da5fe1
UD
65872012-01-08 Ulrich Drepper <drepper@gmail.com>
6588
1d5a644a 6589 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6590 * math/tst-CMPLX.c: New file.
1d5a644a 6591
8784a6db
UD
6592 * math/complex.h (CMPLXL): Fix typo.
6593
d9a216c0
UD
6594 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6595 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6596 GLIBC_2.16.
6597 * debug/tst-chk1.c: Add poll and ppoll tests.
6598 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6599 * include/sys/poll.h: Add hidden proto for ppoll.
6600 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6601 * sysdeps/mach/hurd/ppoll.c: Likewise.
6602 * io/ppoll.c: Likewise.
6603 * debug/poll_chk.c: New file.
6604 * debug/ppoll_chk.c: New file.
6605 * include/bits/poll2.h: New file.
6606 * io/bits/poll2.h: New file.
6607
ac097f5c
UD
6608 [BZ #1350]
6609 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6610
2119dcfa
UD
6611 * configure.in: static is always set to yes. Remove.
6612 * config.make.in: Don't set build-static.
6613 * Makeconfig: Remove use of build-static.
6614 * dlfcn/Makefile: Likewise.
6615 * elf/Makefile: Likewise.
6616 * math/Makefile: Likewise.
6617 * misc/Makefile: Likewise.
6618 * nptl/Makefile: Likewise.
6619 * sysdeps/mach/hurd/Makefile: Likewise.
6620
121766a9
UD
6621 * configure.in: PWD_P is not used anymore.
6622 * config.make.in: Remove PWD_P entry.
6623
51a1d39c 6624 * configure.in: Remove last remnants of RANLIB.
8720d066 6625 No need to check for signed size_t anymore.
215f4bdc
UD
6626 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6627 and IA-64.
3857022a 6628 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6629 * aclocal.m4: Likewise.
6630
d3ed7225
UD
6631 * wcsmbs/mbrtoc16.c: Implement using towc function.
6632 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6633 * wcsmbs/wcsmbsload.c: Likewise.
6634 * iconv/gconv_simple.c: Likewise.
6635 * iconv/gconv_int.h: Likewise.
6636 * iconv/gconv_builtin.h: Likewise.
6637 * iconv/iconv_prog.c: Remove CHAR16 handling.
6638
6639 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6640
6641 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6642
a0da5fe1
UD
6643 * configure.in: Remove --with-elf and --enable-bounded options.
6644 Dont set base_machine for ia64. More non-ELF conditions removed.
6645 Remove testing and setting of leading underscore information.
6646 * config.make.in (build-bounded): Set to no.
6647 * config.h.in: Remove NO_UNDERSCORES entry.
6648 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6649 them.
6650 * csu/start.c: Remove !NO_UNDERSCORE code.
6651 * locale/localeinfo.h: Likewise.
6652 * sysdeps/generic/machine-gmon.h: Likewise.
6653 * sysdeps/generic/sysdep.h: Likewise.
6654 * sysdeps/i386/sysdep.h: Likewise.
6655 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6656 * sysdeps/mach/sysdep.h: Likewise.
6657 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6658 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6659 * sysdeps/sh/sysdep.h: Likewise.
6660 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6661 * sysdeps/unix/i386/sysdep.S: Likewise.
6662 * sysdeps/unix/sparc/start.c: Likewise.
6663 * sysdeps/unix/sparc/sysdep.S: Likewise.
6664 * sysdeps/unix/sparc/sysdep.h: Likewise.
6665 * sysdeps/unix/start.c: Likewise.
6666 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6667 * sysdeps/x86_64/sysdep.h: Likewise.
6668
df78418a
UD
66692012-01-07 Ulrich Drepper <drepper@gmail.com>
6670
a784e502
UD
6671 [BZ #13553]
6672 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6673 for non-gcc.
6674 * argp/argp-fmtstream.h: Use const instead __const.
6675 * argp/argp.h: Likewise.
6676 * assert/assert.h: Likewise.
6677 * bits/fenv.h: Likewise.
6678 * bits/sched.h: Likewise.
6679 * bits/sigset.h: Likewise.
6680 * bits/sigthread.h: Likewise.
6681 * catgets/nl_types.h: Likewise.
6682 * conform/data/pthread.h-data: Likewise.
6683 * crypt/crypt-private.h: Likewise.
6684 * crypt/crypt.h: Likewise.
6685 * crypt/crypt_util.c: Likewise.
6686 * ctype/ctype.h: Likewise.
6687 * debug/execinfo.h: Likewise.
6688 * debug/mbsnrtowcs_chk.c: Likewise.
6689 * debug/mbsrtowcs_chk.c: Likewise.
6690 * debug/wcsnrtombs_chk.c: Likewise.
6691 * debug/wcsrtombs_chk.c: Likewise.
6692 * debug/wcstombs_chk.c: Likewise.
6693 * dirent/dirent.h: Likewise.
6694 * dlfcn/dlfcn.h: Likewise.
6695 * elf/neededtest4.c: Likewise.
6696 * grp/grp.h: Likewise.
6697 * gshadow/gshadow.h: Likewise.
6698 * iconv/gconv.h: Likewise.
6699 * iconv/gconv_int.h: Likewise.
6700 * iconv/gconv_simple.c: Likewise.
6701 * iconv/iconv.h: Likewise.
6702 * iconv/loop.c: Likewise.
6703 * iconv/skeleton.c: Likewise.
6704 * include/aio.h: Likewise.
6705 * include/aliases.h: Likewise.
6706 * include/argz.h: Likewise.
6707 * include/arpa/inet.h: Likewise.
6708 * include/assert.h: Likewise.
6709 * include/dirent.h: Likewise.
6710 * include/dlfcn.h: Likewise.
6711 * include/execinfo.h: Likewise.
6712 * include/fcntl.h: Likewise.
6713 * include/fenv.h: Likewise.
6714 * include/glob.h: Likewise.
6715 * include/grp.h: Likewise.
6716 * include/libintl.h: Likewise.
6717 * include/mntent.h: Likewise.
6718 * include/netdb.h: Likewise.
6719 * include/pwd.h: Likewise.
6720 * include/rpc/netdb.h: Likewise.
6721 * include/sched.h: Likewise.
6722 * include/search.h: Likewise.
6723 * include/shadow.h: Likewise.
6724 * include/signal.h: Likewise.
6725 * include/stdio.h: Likewise.
6726 * include/stdlib.h: Likewise.
6727 * include/string.h: Likewise.
6728 * include/sys/socket.h: Likewise.
6729 * include/sys/stat.h: Likewise.
6730 * include/sys/statfs.h: Likewise.
6731 * include/sys/statvfs.h: Likewise.
6732 * include/sys/syslog.h: Likewise.
6733 * include/sys/time.h: Likewise.
6734 * include/sys/uio.h: Likewise.
6735 * include/time.h: Likewise.
6736 * include/unistd.h: Likewise.
6737 * include/utmp.h: Likewise.
6738 * include/wchar.h: Likewise.
6739 * include/wctype.h: Likewise.
6740 * inet/aliases.h: Likewise.
6741 * inet/arpa/inet.h: Likewise.
6742 * inet/netinet/ether.h: Likewise.
6743 * inet/netinet/in.h: Likewise.
6744 * intl/libintl.h: Likewise.
6745 * io/bits/fcntl2.h: Likewise.
6746 * io/fcntl.h: Likewise.
6747 * io/ftw.h: Likewise.
6748 * io/sys/poll.h: Likewise.
6749 * io/sys/stat.h: Likewise.
6750 * io/sys/statfs.h: Likewise.
6751 * io/sys/statvfs.h: Likewise.
6752 * io/utime.h: Likewise.
6753 * libio/bits/stdio.h: Likewise.
6754 * libio/bits/stdio2.h: Likewise.
6755 * libio/libio.h: Likewise.
6756 * libio/libioP.h: Likewise.
6757 * libio/stdio.h: Likewise.
6758 * locale/lc-ctype.c: Likewise.
6759 * locale/locale.h: Likewise.
6760 * login/utmp.h: Likewise.
6761 * malloc/arena.c: Likewise.
6762 * malloc/malloc.c: Likewise.
6763 * malloc/malloc.h: Likewise.
6764 * malloc/mcheck.c: Likewise.
6765 * malloc/mtrace.c: Likewise.
6766 * math/bits/mathcalls.h: Likewise.
6767 * math/fenv.h: Likewise.
6768 * math/math_private.h: Likewise.
6769 * misc/bits/error.h: Likewise.
6770 * misc/bits/syslog.h: Likewise.
6771 * misc/err.h: Likewise.
6772 * misc/error.h: Likewise.
6773 * misc/fstab.h: Likewise.
6774 * misc/mntent.h: Likewise.
6775 * misc/regexp.h: Likewise.
6776 * misc/search.h: Likewise.
6777 * misc/sgtty.h: Likewise.
6778 * misc/sys/mman.h: Likewise.
6779 * misc/sys/syslog.h: Likewise.
6780 * misc/sys/uio.h: Likewise.
6781 * misc/sys/xattr.h: Likewise.
6782 * misc/ttyent.h: Likewise.
6783 * nis/rpcsvc/ypclnt.h: Likewise.
6784 * nss/nss.h: Likewise.
6785 * posix/bits/unistd.h: Likewise.
6786 * posix/fnmatch.h: Likewise.
6787 * posix/glob.h: Likewise.
6788 * posix/sched.h: Likewise.
6789 * posix/spawn.h: Likewise.
6790 * posix/sys/wait.h: Likewise.
6791 * posix/unistd.h: Likewise.
6792 * posix/wordexp.h: Likewise.
6793 * pwd/pwd.h: Likewise.
6794 * resolv/netdb.h: Likewise.
6795 * resource/sys/resource.h: Likewise.
6796 * rt/aio.h: Likewise.
6797 * rt/bits/mqueue2.h: Likewise.
6798 * rt/mqueue.h: Likewise.
6799 * shadow/shadow.h: Likewise.
6800 * signal/signal.h: Likewise.
6801 * socket/send.c: Likewise.
6802 * socket/sendto.c: Likewise.
6803 * socket/sys/socket.h: Likewise.
6804 * stdio-common/printf.h: Likewise.
6805 * stdlib/bits/stdlib.h: Likewise.
6806 * stdlib/fmtmsg.h: Likewise.
6807 * stdlib/monetary.h: Likewise.
6808 * stdlib/stdlib.h: Likewise.
6809 * stdlib/ucontext.h: Likewise.
6810 * streams/stropts.h: Likewise.
6811 * string/argz.h: Likewise.
6812 * string/bits/string2.h: Likewise.
6813 * string/string.h: Likewise.
6814 * string/strings.h: Likewise.
6815 * sunrpc/rpc/auth.h: Likewise.
6816 * sunrpc/rpc/auth_des.h: Likewise.
6817 * sunrpc/rpc/clnt.h: Likewise.
6818 * sunrpc/rpc/netdb.h: Likewise.
6819 * sunrpc/rpc/pmap_clnt.h: Likewise.
6820 * sunrpc/rpc/xdr.h: Likewise.
6821 * sysdeps/generic/inttypes.h: Likewise.
6822 * sysdeps/generic/net/if.h: Likewise.
6823 * sysdeps/generic/sys/swap.h: Likewise.
6824 * sysdeps/gnu/net/if.h: Likewise.
6825 * sysdeps/gnu/utmpx.h: Likewise.
6826 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6827 * sysdeps/i386/i486/bits/string.h: Likewise.
6828 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6829 * sysdeps/s390/bits/string.h: Likewise.
6830 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6831 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6832 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6833 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6834 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6835 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6836 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6837 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6838 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6839 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6840 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6841 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6842 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6843 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6844 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6845 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6846 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6848 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6850 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6851 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6852 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6853 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6854 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6855 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6856 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6857 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6858 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6859 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6860 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6861 * sysvipc/sys/ipc.h: Likewise.
6862 * sysvipc/sys/msg.h: Likewise.
6863 * sysvipc/sys/sem.h: Likewise.
6864 * sysvipc/sys/shm.h: Likewise.
6865 * termios/termios.h: Likewise.
6866 * time/sys/time.h: Likewise.
6867 * time/time.h: Likewise.
6868 * wcsmbs/bits/wchar2.h: Likewise.
6869 * wcsmbs/uchar.h: Likewise.
6870 * wcsmbs/wchar.h: Likewise.
6871 * wctype/wctype.h: Likewise.
6872
0269750c
UD
6873 [BZ #13551]
6874 * Makeconfig: Remove all but ELF support including AIX support.
6875 * Makerules: Likewise.
6876 * config.h.in: Likewise.
6877 * config.make.in: Likewise.
6878 * configure: Likewise.
6879 * configure.in: Likewise.
6880 * csu/Makefile: Likewise.
6881 * csu/version.c: Likewise.
6882 * debug/Makefile: Likewise.
6883 * dlfcn/Makefile: Likewise.
6884 * elf/Makefile: Likewise.
6885 * extra-lib.mk: Likewise.
6886 * iconv/Makefile: Likewise.
6887 * include/libc-symbols.h: Likewise.
6888 * include/shlib-compat.h: Likewise.
6889 * resolv/Makefile: Likewise.
6890 * resolv/res_libc.c: Likewise.
6891 * rt/Makefile: Likewise.
6892 * sysdeps/i386/asm-syntax.h: Likewise.
6893 * sysdeps/i386/sysdep.h: Likewise.
6894 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6895 * sysdeps/mach/sysdep.h: Likewise.
6896 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6897 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6898 * sysdeps/s390/asm-syntax.h: Likewise.
6899 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6900 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6901 * sysdeps/sh/sysdep.h: Likewise.
6902 * sysdeps/unix/sparc/sysdep.h: Likewise.
6903 * sysdeps/wordsize-32/divdi3.c: Likewise.
6904 * sysdeps/x86_64/sysdep.h: Likewise.
6905
00bbd29b
UD
6906 * argp/Versions: Remove _argp_unlock_xxx.
6907
6908 [BZ #13559]
6909 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6910 * abilist/libBrokenLocale.abilist: Likewise.
6911 * abilist/libanl.abilist: Likewise.
6912 * abilist/libc.abilist: Likewise.
6913 * abilist/libcrypt.abilist: Likewise.
6914 * abilist/libdl.abilist: Likewise.
6915 * abilist/libm.abilist: Likewise.
6916 * abilist/libnsl.abilist: Likewise.
6917 * abilist/libpthread.abilist: Likewise.
6918 * abilist/libresolv.abilist: Likewise.
6919 * abilist/librt.abilist: Likewise.
6920 * abilist/libthread_db.abilist: Likewise.
6921 * abilist/libutil.abilist: Likewise.
6922 * abilist/libnss_db.abilist: New file.
6923
6924 * scripts/abilist.awk: Add support for indirect functions.
6925
a2693a0e
UD
6926 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6927
3f05895f
UD
6928 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6929
ecb6fb48
UD
6930 * shlib-versions: Remove entries for ports architectures.
6931
664f8cb9
UD
6932 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6933 files in ports.
6934 * elf/stackguard-macros.h: Remove support for IA-64.
6935 * elf/tst-auditmod1.c: Likewise.
6936 * sysdeps/generic/ldsodefs.h: Likewise.
6937
7ae81d88
UD
6938 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6939 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6940 configure files.
6941
bdeba135
UD
6942 [BZ #13552]
6943 * configure.in: Remove --enable-omitfp support.
6944 * FAQ.in: Adjust.
6945 * config.make.in: Likewise.
6946 * Makeconfig: Likewise.
6947 * manual/install.texi: Likewise.
6948
d75a0a62
UD
6949 In case anyone cares, the IA-64 architecture could move to ports.
6950 * sysdeps/ia64/*: Removed.
6951 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6952 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6953
dcc9756b
UD
6954 [BZ #13555]
6955 * configure.in: Remove entries for unsupported architectures.
6956
d3761ebc 6957 [BZ #13533]
9954432e
UD
6958 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6959 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6960 routines.
6961 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6962 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6963 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6964 fall back to using wcrtomb.
6965 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6966 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6967 renaming.
6968 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6969 * wcsmbs/tst-c16c32-1.c: New file.
6970
6971 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6972 local variable.
6973
c3a87236
UD
6974 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6975
28926a1b
UD
6976 * elf/tst-unique3.cc: Add explicit declaration of gets.
6977 * elf/tst-unique3lib.cc: Likewise.
6978 * elf/tst-unique3lib2.cc: Likewise.
6979 * elf/tst-unique4.cc: Likewise.
6980
df78418a
UD
6981 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6982
8ecd6b2a
JM
69832012-01-06 Joseph Myers <joseph@codesourcery.com>
6984
6985 [BZ #13566]
6986 * assert/assert.h (static_assert): Don't define for C++.
6987 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6988 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6989
9f115170
UD
69902012-01-03 Ulrich Drepper <drepper@gmail.com>
6991
5e0d0300
UD
6992 * iconv/loop.c (single loop): Fix assertion in storing of
6993 remaining bytes.
6994
9f115170
UD
6995 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6996
81fb02b0
UD
69972012-01-01 Ulrich Drepper <drepper@gmail.com>
6998
6999 * posix/getconf.c: Update copyright year.
7000 * nss/getent.c: Likewise.
a316c1f6 7001 * nss/makedb.c: Likewise.
81fb02b0
UD
7002 * iconv/iconvconfig.c: Likewise.
7003 * iconv/iconv_prog.c: Likewise.
7004 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7005 * elf/pldd.c: Likewise.
7006 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7007 * catgets/gencat.c: Likewise.
7008 * csu/version.c: Likewise.
7009 * elf/ldd.bash.in: Likewise.
7010 * elf/sprof.c (print_version): Likewise.
7011 * locale/programs/locale.c: Likewise.
7012 * locale/programs/localedef.c: Likewise.
a316c1f6 7013 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7014 * nscd/nscd.c (print_version): Likewise.
7015 * debug/xtrace.sh: Likewise.
7016 * malloc/memusage.sh: Likewise.
7017 * malloc/mtrace.pl: Likewise.
7018 * debug/catchsegv.sh: Likewise.
7019
2ba92745
JJ
70202011-12-30 Jakub Jelinek <jakub@redhat.com>
7021
7022 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7023 pure attribute.
7024
dadebdae
UD
70252011-12-24 Ulrich Drepper <drepper@gmail.com>
7026
d3761ebc 7027 [BZ #13533]
db6af3eb
UD
7028 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7029 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7030 transformations.
7031 * iconv/gconv_int.h: Likewise.
7032 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7033 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7034 from libc for GLIBC_2.16.
7035 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7036 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7037 * wcsmbs/uchar.h: Really define mbstate_t.
7038 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7039 * wcsmbs/c16rtomb.c: New file.
7040 * wcsmbs/mbrtoc16.c: New file.
7041 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7042 for C/POSIX locale.
7043 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7044 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7045
dadebdae
UD
7046 * wcsmbs/wchar.h: Add missing __restrict.
7047
67371b56
UD
70482011-12-23 Ulrich Drepper <drepper@gmail.com>
7049
74033a25
UD
7050 [BZ #13532]
7051 * time/Makefile (routines): Add timespec_get.
7052 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7053 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7054 timespec for ISO C11.
7055 * time/timespec_get.c: New file.
7056 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7057 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7058
380d7e87
UD
7059 [BZ #13531]
7060 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7061 * stdlib/stdlib.h: Declare aligned_alloc.
7062 * Versions.def: Add GLIBC_2.16 for libc.
7063 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7064
4e9e7a35
UD
7065 [BZ 13527]
7066 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7067 ISO C11.
7068
380d7e87 7069 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7070 code.
7071
03a71829
UD
7072 [BZ #13528]
7073 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7074
839e283e
UD
7075 [BZ #13529]
7076 * assert/assert.h (static_assert): Define.
7077
ce5294e2 7078 * version.h: Update for 2.16 development version.
90fa7312 7079
8d44e150 7080 [BZ #13526]
d7809905
UD
7081 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7082 _ISOC11_SOURCE.
7083
c0da14cd
UD
7084 * version.h (RELEASE): Bump for 2.15 release.
7085 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7086
530a3249
MP
7087 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7088 Patch by Marek Polacek <mpolacek@redhat.com>.
7089
67371b56
UD
7090 * bits/byteswap.h: Protect long long constants with __extension__.
7091 * sysdeps/i386/bits/byteswap.h: Likewise.
7092 * sysdeps/ia64/bits/byteswap.h: Likewise.
7093 * sysdeps/s390/bits/byteswap.h: Likewise.
7094 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7095
15db4de1
LD
70962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7097
7098 [BZ #13540]
bbe315ea
LD
7099 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7100 destination buffer.
15db4de1
LD
7101 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7102
2b2596b1
MP
71032011-12-23 Marek Polacek <polacek@redhat.com>
7104
7105 * elf/dl-addr.c (determine_info): Add inline keyword.
7106 * elf/tst-auditmod4b.c (check_avx): Likewise.
7107 * elf/tst-auditmod6b.c (check_avx): Likewise.
7108 * elf/tst-auditmod6c.c (check_avx): Likewise.
7109 * elf/tst-auditmod7b.c (check_avx): Likewise.
7110
70c6c246
UD
71112011-12-23 Ulrich Drepper <drepper@gmail.com>
7112
7113 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7114 !__SSE_MATH__.
7115
c044cf14
LD
71162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7117
15db4de1 7118 [BZ #13540]
c044cf14
LD
7119 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7120 processing for last bytes.
7121
6b13d9d9
BH
71222011-08-06 Bruno Haible <bruno@clisp.org>
7123
d455f537
BH
7124 [BZ #13061]
7125 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7126 U+0385, not to U+1FEE.
7127
6b13d9d9
BH
7128 [BZ #13062]
7129 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7130 entry for U+00A5 U+0301.
7131
db910efd
UD
71322011-12-22 Ulrich Drepper <drepper@gmail.com>
7133
27deeafc
UD
7134 [BZ #13166]
7135 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7136 buffer for the output is too small.
7137
aed9d171
UD
7138 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7139 optimization.
7140
db910efd
UD
7141 [BZ #13185]
7142 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7143 SSE flags if possible.
7144
2bd779ae
LD
71452011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7146
e7f9dac3 7147 [BZ #13540]
2bd779ae
LD
7148 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7149 processing for last bytes.
7150
154bfc16
JM
71512011-12-22 Joseph Myers <joseph@codesourcery.com>
7152
7153 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7154 (syscall-list-default-options, syscall-list-default-condition)
7155 (syscall-list-includes): Define.
7156 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7157 list of ABIs and options and #if conditions for each ABI. Do not
7158 handle common syscalls between ABIs specially.
7159 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7160 Remove.
7161 (syscall-list-variants, syscall-list-32bit-options)
7162 (syscall-list-32bit-condition, syscall-list-64bit-options)
7163 (syscall-list-64bit-condition): Define.
7164 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7165 (syscall-list-variants, syscall-list-32bit-options)
7166 (syscall-list-32bit-condition, syscall-list-64bit-options)
7167 (syscall-list-64bit-condition): Define.
7168 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7169 Remove.
7170 (syscall-list-variants, syscall-list-32bit-options)
7171 (syscall-list-32bit-condition, syscall-list-64bit-options)
7172 (syscall-list-64bit-condition): Define.
7173 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7174 Remove.
7175 (syscall-list-variants, syscall-list-32bit-options)
7176 (syscall-list-32bit-condition, syscall-list-64bit-options)
7177 (syscall-list-64bit-condition): Define.
7178
21eaf3a5
UD
71792011-12-22 Ulrich Drepper <drepper@gmail.com>
7180
16c6f992
UD
7181 * locale/iso-639.def: Add brx entry.
7182
41043168
UD
7183 [BZ #13328]
7184 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7185 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7186
21eaf3a5
UD
7187 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7188 __feraiseexcept_renamed.
7189
e3a851a2
UD
71902011-12-21 Ulrich Drepper <drepper@gmail.com>
7191
4920765e
UD
7192 [BZ #13538]
7193 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7194 EPOLLET with unsigned values.
7195 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7197
e3a851a2
UD
7198 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7199 to large cancellation.
7200 * math/s_cacoshf.c: Likewise.
7201 * math/s_cacoshl.c: Likewise.
7202
b27e24b8
RK
72032011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7204
7205 [BZ #13305]
aebefeee 7206 [BZ #12786]
b27e24b8
RK
7207 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7208 * math/s_cacoshf.c: Likewise.
7209 * math/s_cacoshl.c: Likewise.
7210
ee190f67
UD
72112011-12-21 Ulrich Drepper <drepper@gmail.com>
7212
7213 [BZ #13439]
7214 * iconv/gconv.h: Define __GCONV_SWAP.
7215 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7216 * iconvdata/utf-16.c: Likewise.
7217 * iconvdata/utf-32.c: Likewise.
7218
707f25df
AS
72192011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7220
7221 [BZ #13524]
7222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7223 numerator after shifting it by one limb.
7224
d2daaa1e
RÁE
72252011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7226
7227 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7228 under [__USE_EXTERN_INLINES].
7229
a4647e72
UD
72302011-12-17 Ulrich Drepper <drepper@gmail.com>
7231
7232 [BZ #13446]
7233 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7234
f0b264f1
AZ
72352011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7236
7237 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7238 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7239 optimized code.
7240 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7241 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7242 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7243 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7244 for strncasecmp/strncasecmp_l compilation.
7245 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7246 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7247
8ef4f244
MP
72482011-12-08 Marek Polacek <mpolacek@redhat.com>
7249
7250 [BZ #13484]
7251 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7252 of __asm__.
7253
97ac2654
UD
72542011-12-17 Ulrich Drepper <drepper@gmail.com>
7255
7256 [BZ #13506]
7257 * time/tzfile.c (__tzfile_read): Check values from file header.
7258
91d2a845
WS
72592011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7260
7261 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7262 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7263 * powerpc/powerpc32/dl-start.S: Likewise.
7264 * powerpc/powerpc32/elf/start.S: Likewise.
7265 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7266 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7267 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7268 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7269 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7270 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7271 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7272 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7273 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7274 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7275 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7276 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7277 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7278 * powerpc/powerpc32/memset.S: Likewise.
7279 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7280 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7281 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7282 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7283 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7284 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7285 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7286 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7287 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7288 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7289 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7290 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7291 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7292
a1267ba1
AZ
72932011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7294
7295 * math/libm-test.inc: Added more nearbyint tests.
7296 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7300
ad8ac1bd
RL
73012011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7302
7303 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7304 FD_CLOEXEC.
7305
1d3e4b61
UD
73062011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7307
7308 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7309 Add wcscpy-ssse3 wcscpy-c.
7310 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7311 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7312 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7313 * sysdeps/x86_64/wcschr.S: New file.
7314 * sysdeps/x86_64/wcsrchr.S: New file.
7315 * string/test-strcmp.c: Remove checking of wcscmp function for
7316 wrong alignments.
7317 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7318 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7319 wcsrchr-sse2 wcsrchr-c.
7320 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7321 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7322 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7323 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7324 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7325 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7326 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7327 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7328 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7329 * wcsmbc/wcschr.c (WCSCHR): New macro.
7330
5b330a2d
UD
73312011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7332
7333 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7334 * wcsmbs/test-wcsrchr.c: New file.
7335 * string/test-strrchr.c: Add wcsrchr support.
7336 (WIDE): New macro.
7337 * wcsmbs/test-wcscpy.c: New file.
7338 * string/test-strcpy.c: Add wcscpy support.
7339 (WIDE): New macro.
26428b7c 7340
f039c043
UD
73412011-12-10 Ulrich Drepper <drepper@gmail.com>
7342
7343 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7344 the inner loop.
7345
850fb039
AS
73462011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7347
7348 [BZ #13472]
7349 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7350
4efbd5cb
UD
73512011-12-04 Ulrich Drepper <drepper@gmail.com>
7352
52ff5dd0 7353 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7354 Minor optimizations.
52ff5dd0 7355
4efbd5cb
UD
7356 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7357 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7358 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7359
8a426e12
UD
73602011-12-03 Ulrich Drepper <drepper@gmail.com>
7361
aff2453d
UD
7362 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7363 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7364 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7365 for gcc to avoid warnings.
7366 * inet/Makefile (tests): Add tst-checks.
7367 * inet/tst-checks.c: New file.
7368
7369 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7370 warning.
7371
7372 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7373 __wmemcmp_sse2.
7374
7375 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7376 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7377
8a426e12
UD
7378 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7379
9bea3473
UD
73802011-12-02 Ulrich Drepper <drepper@gmail.com>
7381
3a965496
UD
7382 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7383 problem.
7384
9bea3473
UD
7385 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7386
f101631b
UD
73872011-11-29 Joseph Myers <joseph@codesourcery.com>
7388
7389 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7390 conditional on GCC version.
7391 (__arch_compare_and_exchange_val_8_acq)
7392 (__arch_compare_and_exchange_val_16_acq)
7393 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7394 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7395 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7396
a98275aa
UD
73972011-12-02 Joseph Myers <joseph@codesourcery.com>
7398
7399 * sysdeps/sh/backtrace.c: New file.
7400
d4cc29a2
AS
74012011-12-02 Andreas Schwab <schwab@redhat.com>
7402
7403 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7404 parenthesis.
7405
6257af2d
AS
74062011-12-01 Andreas Schwab <schwab@redhat.com>
7407
7408 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7409 falling back to utime.
7410
b5f44c1a
AS
74112011-11-30 Andreas Schwab <schwab@redhat.com>
7412
7413 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7414 expectations for float.
7415
f3a6cc0a
AS
74162011-11-29 Andreas Schwab <schwab@redhat.com>
7417
7418 * locale/weight.h (findidx): Add parameter len.
7419 * locale/weightwc.h (findidx): Likewise.
7420 * posix/fnmatch_loop.c (FCT): Adjust caller.
7421 * posix/regcomp.c (build_equiv_class): Likewise.
7422 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7423 * posix/regexec.c (check_node_accept_bytes): Likewise.
7424 * string/strcoll_l.c (STRCOLL): Likewise.
7425 * string/strxfrm_l.c (STRXFRM): Likewise.
7426
9d65ea3a
UD
74272011-11-17 Ulrich Drepper <drepper@gmail.com>
7428
7429 * Makefile.in: Remove CVSOPT handling.
7430 * configure.in: Remove use of AC_REVISION.
7431 * iconvdata/Makefile (distribute): No need to filter out CVS.
7432 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7433 handling.
7434
5583a086
AS
74352011-11-16 Andreas Schwab <schwab@redhat.com>
7436
7437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7438 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7439 [USE_AS_STRNCASECMP_L]: Likewise.
7440 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7441 NO_TLS_DIRECT_SEG_REFS.
7442 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7443 Fix argument offsets for non-PIC.
7444 [USE_AS_STRNCASECMP_L]: Likewise.
7445 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7446 NO_TLS_DIRECT_SEG_REFS.
7447
d62a8200
UD
74482011-11-15 Ulrich Drepper <drepper@gmail.com>
7449
9d65ea3a 7450 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7451 O_CLOEXEC.
7452 * locale/loadlocale.c (_nl_load_locale): Likewise.
7453
09f93bd3
AS
74542011-11-15 Andreas Schwab <schwab@redhat.com>
7455
446514f9
AS
7456 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7457 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7458 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7459 (SYSCALL_GETTIME): Set errno on error.
7460
09f93bd3
AS
7461 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7462 count references to noai6ai_cached.
7463
312be3f9
UD
74642011-11-15 Ulrich Drepper <drepper@gmail.com>
7465
7466 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7467
7468 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7469 FD_CLOEXEC for /proc/self/maps.
7470
7471 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7472 FD_CLOEXEC for /proc/meminfo.
7473
7474 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7475 gai.conf.
7476
7477 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7478 FD_CLOEXEC for given file.
7479
7480 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7481
7482 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7483 FD_CLOEXEC for /etc/hosts.
7484 (_gethtent): Likewise.
7485
7486 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7487
7488 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7489 cancellation and set FD_CLOEXEC for /etc/netgroup.
7490
7491 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7492 reading /etc/publickey.
7493
7494 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7495 allow cancellation when reading /etc/group.
7496
7497 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7498 cancellation.
7499 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7500
7501 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7502 when using data file.
7503
7504 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7505
7506 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7507 (write_nis_obj): Use "c" and "e" in fopen.
7508
7509 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7510
7511 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7512
7513 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7514
7515 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7516
7517 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7518 locale.alias.
7519
7520 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7521
7522 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7523
7524 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7525
7526 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7527 file parsing and set FD_CLOEXEC.
7528
82af0fa8
UD
75292011-11-14 Ulrich Drepper <drepper@gmail.com>
7530
7531 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7532
a5fb313c
AS
75332011-11-14 Andreas Schwab <schwab@redhat.com>
7534
7535 * malloc/arena.c (arena_get2): Don't call reused_arena when
7536 _int_new_arena failed.
7537
6abf3465
UD
75382011-11-14 Ulrich Drepper <drepper@gmail.com>
7539
7540 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7541 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7542 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7543 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7544 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7545 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7546 to compile strcasecmp and strncasecmp.
7547 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7548 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7549
7550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7551
76e3966e
UD
75522011-11-13 Ulrich Drepper <drepper@gmail.com>
7553
7554 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7555 locale-defines.sym to gen-as-const-headers.
7556 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7557 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7559 to compile strcasecmp and strncasecmp.
7560 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7561 strcasecmp_l and strncasecmp_l.
7562 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7563 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7564 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7565 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7566 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7567 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7568 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7569 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7570 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7571 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7572 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7573
ab26144e
UD
75742011-11-12 Ulrich Drepper <drepper@gmail.com>
7575
7edb22ef
UD
7576 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7577 result of SYSDEP_GETTIME_CPU to retval.
7578 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7579 parameter list to macro. Remove trailing semicolon. Adjust users.
7580
9694fc44
UD
7581 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7582 variable.
7583
8ad89ef8
UD
7584 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7585 mantissa words.
7586 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7587
0c822ef9
UD
7588 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7589 from unused variable.
7590
874e0564
UD
7591 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7592 DWARF definitions.
7593 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7594 for assembling.
7595
3a2edc79
UD
7596 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7597 over namespaces.
7598
f3c2577f
UD
7599 * sunrpc/rpc_prot.c (rejected): Fix case value.
7600
294ce126
UD
7601 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7602 unsigned long long int to avoid warnings in shift.
7603
5e2b63c6
UD
7604 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7605 of use of trans.
7606 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7607 variable tmp.
7608
e7f4b08e
UD
7609 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7610 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7611 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7612
ab26144e
UD
7613 * nis/nis_table.c (nis_list): Use variable of correct type for
7614 result of __follow_path call.
7615
8a6d5255
AZ
76162011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7617
7618 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7619 of math functions ceil, trunc, floor, round, and sqrt, when
7620 avaliable on the platform.
7621 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7622 name clash.
7623 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7624 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7625 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7626
aaddc98c
MP
76272011-10-30 Marek Polacek <mpolacek@redhat.com>
7628
7629 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7630 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7631
95b7042b
RM
76322011-11-11 Roland McGrath <roland@hack.frob.com>
7633
7634 * include/unistd.h: Fix __readlink return type.
7635 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7636
57769839
UD
76372011-11-11 Ulrich Drepper <drepper@gmail.com>
7638
7639 * stdlib/ucontext.h: Undo last change for makecontext.
7640
edc5984d
AS
76412011-11-11 Andreas Schwab <schwab@redhat.com>
7642
98591e58
AS
7643 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7644
edc5984d
AS
7645 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7646 * setjmp/setjmp.h: Mark functions as non-leaf.
7647 * setjmp/bits/setjmp2.h: Likewise.
7648 * stdlib/ucontext.h: Likewise.
7649
77cdc054
AS
76502011-11-10 Andreas Schwab <schwab@redhat.com>
7651
7652 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7653 (reused_arena): Don't check arena limit.
7654 (arena_get2): Atomically check arena limit.
7655
fe72eebd
UD
76562011-11-08 Ulrich Drepper <drepper@gmail.com>
7657
5f078c32
UD
7658 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7659 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7660
fe72eebd
UD
7661 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7662 instructions.
7663
ae1bc2fa
AS
76642011-11-07 Andreas Schwab <schwab@redhat.com>
7665
7583a88d
AS
7666 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7667 handler when locking.
7668
ae1bc2fa
AS
7669 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7670 Fix size of allocated buffer.
7671
10fb0bfa
AS
76722011-11-04 Andreas Schwab <schwab@redhat.com>
7673
998832a4
AS
7674 [BZ #10103]
7675 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7676 declarations for long double functions.
7677 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7678
10fb0bfa
AS
7679 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7680
3d7ba52b
AS
76812011-11-03 Andreas Schwab <schwab@redhat.com>
7682
a9ae54a1
AS
7683 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7684 installed.
7685
3d7ba52b
AS
7686 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7687 is disabled.
7688
bc8db248
ST
76892011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7690
7691 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7692
45b96dd6
AS
76932011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7694
647776f6
AS
7695 * include/alloca.h (stackinfo_alloca_round): Define.
7696 (extend_alloca): Use it.
7697 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7698 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7699 here.
7700
d91a8b93
AS
7701 * scripts/check-local-headers.sh: Ignore libaudit.h.
7702
45b96dd6
AS
7703 * nscd/Makefile (extra-objs): Make recursively expanded.
7704
432d41ce
UD
77052011-11-01 Ulrich Drepper <drepper@gmail.com>
7706
34372fc6
UD
7707 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7708 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7709
fadb59f8
UD
7710 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7711 * posix/tst-rfc3484-2.c: Likewise.
7712 * posix/tst-rfc3484-3.c: Likewise.
7713
78239589
UD
7714 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7715 process_vm_writev.
7716 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7717 process_vm_writev.
7718 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7719 process_vm_writev from libc using GLIBC_2.15 version.
7720
432d41ce
UD
7721 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7722
02f9c6cf
PP
77232011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7724
7725 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7726 stack usage.
7727
3a2c0242
UD
77282011-10-31 Ulrich Drepper <drepper@gmail.com>
7729
f4ec4833
UD
7730 [BZ #13367]
7731 * nss/getent.c (initgroups_keys): Show error message in case no group
7732 names are given.
7733
3a2c0242
UD
7734 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7735 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7736 __bump_nl_timestamp.
7737 * nscd/connections (nscd_init): When host database is served open
7738 netlink socket and request notification about configuration changes.
7739 (main_loop_poll): Track netlink file descriptor and bump timestamp
7740 in case data becomes available.
7741 (main_loop_epoll): Likewise.
7742 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7743 (database_pers_head): Add extra_data fileds.
7744 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7745 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7746 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7747 Adjust caller.
7748 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7749 in6ai data, call __free_in6ai.
7750 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7751 Add -DHAVE_NETLINK.
7752 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7753 interface information. Reuse previous data if netlink timestamp
7754 is not changed.
7755 (__bump_nl_timestamp): New function.
7756 (__free_in6ai): New function.
7757
636064eb
UD
77582011-10-30 Ulrich Drepper <drepper@gmail.com>
7759
7760 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7761 close_not_cancel_no_status here.
7762 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7763
9beb2334
UD
77642011-10-29 Ulrich Drepper <drepper@gmail.com>
7765
6ef76f3b
UD
7766 [BZ #13276]
7767 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7768 return value.
7769
0ffc4f3e 7770 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7771 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7772 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7773
cb95113e
UD
77742011-07-03 Andreas Jaeger <aj@suse.de>
7775
7776 [BZ #10709]
7777 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7778 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7779 * math/libm-test.inc (sin_test): Add test case.
7780
a1b560ff
UD
77812011-10-29 Ulrich Drepper <drepper@gmail.com>
7782
c9aaface
UD
7783 [BZ #13337]
7784 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7785 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7786
d272e7f1
UD
7787 * elf/chroot_canon.c (chroot_canon): Cleanups.
7788
1bc33071
UD
7789 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7790
1760874d
TJ
7791 [BZ #13335]
7792 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7793 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7794
51d91b18
UD
7795 * string/test-strchr.c: Make usable for strchrnul testing.
7796 * string/test-strchrnul.c: New file.
7797 * string/Makefile (strop-tests): Add strchrnul.
7798
a1b560ff 7799 * po/it.po: Update from translation team.
b611fb81 7800 * po/es.po: Likewise.
a1b560ff 7801
a5b81e1f
UD
78022011-10-28 Ulrich Drepper <drepper@gmail.com>
7803
fd52bc6d
UD
7804 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7805 the three constants needed as parameters. Drop the others.
7806 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7807 __m128i_strloadu_tolower.
52e4b9eb
UD
7808 Create and initialize variable zero and use it in all the places
7809 where _mm_setzero_si128 was used.
fd52bc6d 7810
a5b81e1f
UD
7811 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7812 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7813 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7814 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7815 anymore.
7816 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7817 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7818 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7819 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7820 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7821 __mpranred, __mptan.
7822 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7823 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7824 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7825 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7826 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7827 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7828 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7829 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7830 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7831
b4343346
AS
78322011-10-28 Andreas Schwab <schwab@redhat.com>
7833
0c92d8a8
AS
7834 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7835 redefine if SHARED.
7836 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7837
b4343346
AS
7838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7839 wide char related routines to wcsmbs subdir.
7840
3871f58f
AS
78412011-10-27 Andreas Schwab <schwab@redhat.com>
7842
7843 [BZ #13344]
7844 * misc/sys/cdefs.h (__THROWNL): Define.
7845 * posix/unistd.h: Use __THREADNL instead of __THREAD
7846 for memory synchronization functions.
7847
94d44d9f
RM
78482011-10-26 Roland McGrath <roland@hack.frob.com>
7849
21b64b15 7850 [BZ #13349]
94d44d9f
RM
7851 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7852 doesn't exist.
7853 * manual/stdio.texi (Obstack Streams): Node removed.
7854
f6ce9294
AS
78552011-10-26 Andreas Schwab <schwab@redhat.com>
7856
80479147
AS
7857 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7858 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7859 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7860
f6ce9294
AS
7861 * math/math_private.h (math_force_eval): Allow non-addressable
7862 arguments.
7863 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7864
618280a1
UD
78652011-10-25 Ulrich Drepper <drepper@gmail.com>
7866
e0016b11
UD
7867 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7868 file is not needed.
7869
7870 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7872 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7873 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7874 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7875 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7876 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7877 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7878 Add AVX variants.
7879 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7880 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7881 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7882 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7883 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7884 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7885 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7886 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7887 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7888 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7889 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7890 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7891 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7892 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7893 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7894 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7895 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7896 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7897 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7898
7899 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7900 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7901
618280a1
UD
7902 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7903 place. Use VEX encoding when compiling for AVX.
7904
37822576
AS
79052011-10-25 Andreas Schwab <schwab@redhat.com>
7906
1f1e1947
AS
7907 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7908 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7909
37822576
AS
7910 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7911
31ea014d
UD
79122011-10-25 Ulrich Drepper <drepper@gmail.com>
7913
d7826aa1 7914 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7915 useless if() expression.
d7826aa1
UD
7916 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7917 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7918 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7919 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7920 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7921 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7922 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7923 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7924 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7925 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7926 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7927 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7928 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7929 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7930 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7931 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7932 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7933 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7934 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7935
31ea014d
UD
7936 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7937
16437fec
AS
79382011-10-25 Andreas Schwab <schwab@redhat.com>
7939
7940 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7941 condition.
7942 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7943
31d3cc00
UD
79442011-10-25 Ulrich Drepper <drepper@gmail.com>
7945
7946 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7947 .text section. Avoid duplicate constants.
7948 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7950 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7952 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7953 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7954 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7955 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7956 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7957 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7958 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7959 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7960 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7961 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7962 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7963 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7964 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7965 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7968 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7969 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7970 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7971 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7972 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7973 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7974 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7975 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7976 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7977 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7978 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7979 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7980 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7981 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7982 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7983 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7984 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7985 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7986 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7987 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7988 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7989 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7990 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7991 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7992 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7993
58985aa9
UD
79942011-10-24 Ulrich Drepper <drepper@gmail.com>
7995
202c9deb
UD
7996 * sysdeps/x86_64/dla.h: Move to ...
7997 * sysdeps/x86_64/fpu/dla.h: ...here.
7998 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7999 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8000
af968f62
UD
8001 * config.make.in: Add have-mfma4 entry.
8002 * configure.in: Substitute libc_cv_cc_fma4.
8003 * math/Makefile (dbl-only-routines): Add sincostab.
8004 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8005 Use __sincostab not sincos.
8006 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8007 name is a macro.
8008 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8012 using __copysign.
8013 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8014 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8015 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8016 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8017 and __inv.
8018 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8019 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8020 __copysign.
8021 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8022 define aliases when function name is a macro.
8023 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8024 sysdeps/ieee754/dbl-64/sincos.tbl.
8025 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8026 fma4-enabled routines.
8027 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8028 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8029 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8030 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8031 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8032 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8034 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8035 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8036 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8037 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8038 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8039 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8040 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8041 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8042 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8043 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8044 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8045 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8046 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8047 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8048 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8049 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8050 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8051 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8052 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8053 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8054 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8055 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8056 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8057
58985aa9
UD
8058 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8059 rename.
8060 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8068
a201fbcf
AS
80692011-10-24 Andreas Schwab <schwab@redhat.com>
8070
8071 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8072
fc2ee42a
LD
80732011-10-23 Ulrich Drepper <drepper@gmail.com>
8074
bb3129bd
UD
8075 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8076
0275fff8
UD
8077 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8078 prediction.
8079 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8080
2fa2ae85
UD
8081 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8082 Remove unused variable magic_bits.
8083 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8084
fc2ee42a
LD
8085 * string/strnlen.c: Define and use STRNLEN macro.
8086 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8087 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8089 * wcsmbs/wcslen.c: Define and use WCSLEN.
8090 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8091 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8092 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8093 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8094 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8095 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8096 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8097
ce7dd29f
LD
80982011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8099
8100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8101 strnlen-sse2-no-bsf.
8102 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8103 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8104 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8105 Add strnlen support.
8106 (USE_AS_STRNLEN): New macro.
8107 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8108 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8109 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8110 * sysdeps/x86_64/wcslen.S: New file.
8111
979c70a3
MZ
81122011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8113
8114 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8115 XMM-moves are used for copying on small sizes.
8116
2d09f82f
LD
81172011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8118
8119 * wcsmbs/Makefile (strop-tests): Add wcschr.
8120 * wcsmbs/test-wcschr.c: New file.
8121 * string/test-strchr.c: Update.
8122 Add wcschr support.
8123 (WIDE): New macro.
8124
619fccca
LD
81252011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8126
2d09f82f 8127 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8128 * wcsmbs/test-wcslen.c: New file.
8129 * string/test-strlen.c: Update.
8130 Add wcslen support.
8131 (WIDE): New macro.
8132
09f699ea
UD
81332011-10-23 Ulrich Drepper <drepper@gmail.com>
8134
8135 * po/it.po: Update from translation team.
8136
95584d3b
LD
81372011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8138
8139 * sysdeps/x86_64/wcscmp.S: Update.
8140 Fix wrong comparison semantics.
8141 wcscmp shall use signed comparison not unsigned.
8142 Don't use substraction to avoid overflow bug.
8143 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8144 * wcsmbc/wcscmp.c: Likewise.
8145 * string/test-strcmp.c: Likewise.
8146 Add new tests to check cases with negative values.
8147
c8b3296b
UD
81482011-10-23 Ulrich Drepper <drepper@gmail.com>
8149
8150 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8151 * sysdeps/x86_64/dla.h: ...here. New file.
8152 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8153 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8161
246ad57a
AS
81622011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8163
8164 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8165 __ynl_finite aliases.
8166
a1a87169
UD
81672011-10-22 Ulrich Drepper <drepper@gmail.com>
8168
0d355eb7
UD
8169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8170
a1a87169
UD
8171 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8172 define DLA_FMA.
8173 [DLA_FMA] (EMULV): Use DLA_FMA.
8174 [DLA_FMA] (MUL12): Use EMULV.
8175 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8176 that are not needed.
8177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8178 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8179 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8182 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8183 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8184
ee2aafe0
AS
81852011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8186
8187 * math/s_nan.c: Undef __nan.
8188 * math/s_nanf.c: Undef __nanf.
8189 * math/s_nanl.c: Undef __nanl.
8190 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8191 "math_private.h".
8192
bc62c2fb
UD
81932011-10-22 Ulrich Drepper <drepper@gmail.com>
8194
77425c63
UD
8195 * math/s_catan.c: Add branch predictions.
8196 * math/s_catanf.c: Likewise.
8197 * math/s_catanh.c: Likewise.
8198 * math/s_catanhf.c: Likewise.
8199 * math/s_catanhl.c: Likewise.
8200 * math/s_catanl.c: Likewise.
8201 * math/s_cexp.c: Likewise.
8202 * math/s_cexpf.c: Likewise.
8203 * math/s_cexpl.c: Likewise.
8204 * math/s_clog.c: Likewise.
8205 * math/s_clog10.c: Likewise.
8206 * math/s_clog10f.c: Likewise.
8207 * math/s_clog10l.c: Likewise.
8208 * math/s_clogf.c: Likewise.
8209 * math/s_clogl.c: Likewise.
8210 * math/s_csqrt.c: Likewise.
8211 * math/s_csqrtf.c: Likewise.
8212 * math/s_csqrtl.c: Likewise.
8213 * math/s_ctanf.c: Likewise.
8214 * math/s_ctanh.c: Likewise.
8215 * math/s_ctanhf.c: Likewise.
8216 * math/s_ctanhl.c: Likewise.
8217 * math/s_ctanl.c: Likewise.
8218
bc62c2fb
UD
8219 * math/math_private.h: Define __nan, __nanf, __nanl.
8220 * math/s_cacosh.c: Include <math_private.h>.
8221 * math/s_cacoshl.c: Likewise.
8222 * math/s_casinh.c: Likewise.
8223 * math/s_casinhf.c: Likewise.
8224 * math/s_casinhl.c: Likewise.
8225 * math/s_ccos.c: Rely entire on ccosh.
8226 * math/s_ccosf.c: Rely entire on ccoshf.
8227 * math/s_ccosl.c: Rely entirely on ccoshl.
8228 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8229 Remove tests for FE_INVALID.
8230 * math/s_ccoshf.c: Likewise.
8231 * math/s_ccoshl.c: Likewise.
8232 * math/s_csin.c: Likewise.
8233 * math/s_csinf.c: Likewise.
8234 * math/s_csinh.c Likewise.
8235 * math/s_csinhf.c: Likewise.
8236 * math/s_csinhl.c: Likewise.
8237 * math/s_csinl.c: Likewise.
8238 * math/s_ctan.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8240 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8241 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8242
8ec250a4
UD
82432011-10-21 Ulrich Drepper <drepper@gmail.com>
8244
c196fed8
UD
8245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8246 compilation problems.
8247
8ec250a4
UD
8248 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8249 __builtin_expect.
8250
8d4f46c6
UD
82512011-10-20 Ulrich Drepper <drepper@gmail.com>
8252
ed72b654
UD
8253 * sysdeps/i386/configure.in: Test for -mfma4 option.
8254 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8255 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8256 COMMON_CPUID_INDEX_80000001.
8257 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8258 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8259 use it if FMA3 is not supported.
8260 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8261
8d4f46c6
UD
8262 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8263 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8264
d45c60c2
AS
82652011-10-20 Andreas Schwab <schwab@redhat.com>
8266
8267 [BZ #12892]
8268 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8269 it would create a cycle with a link time dependency.
8270
d9a4d2ab
UD
82712011-10-19 Ulrich Drepper <drepper@gmail.com>
8272
855d1560
UD
8273 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8274 instruction.
8275 * string/Makefile (strop-tests): Add rawmemchr.
8276 * string/test-rawmemchr.c: New file.
8277
d9a4d2ab
UD
8278 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8279 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8280 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8281 when compiling str{,n}casecmp and when AVX is available. Hook up
8282 new optimized code in initializers.
8283
8f3b1ffe
AS
82842011-10-19 Andreas Schwab <schwab@redhat.com>
8285
8286 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8287 __feraiseexcept instead of feraiseexcept.
8288
d38f1dba
UD
82892011-10-18 Ulrich Drepper <drepper@gmail.com>
8290
d9a8d0ab
UD
8291 * math/math_private.h: Define defaults for libc_fetestexcept and
8292 libc_feupdateenv.
8293 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8294 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8295 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8296 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8297 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8298 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8299 libc_fetestexcept and libc_feupdateenv.
8300
4855e3dd
UD
8301 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8302 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8303 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8304 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8305 libc_feholdexcept_setround.
8306
581d30e3
UD
8307 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8308 Add s_nearbyint-c and s_nearbyintf-c.
8309 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8310 nearbyintf inlines.
8311 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8312 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8313 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8314 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8315
d38f1dba
UD
8316 * math/math_private.h: Define defaults for libc_fegetround,
8317 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8318 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8319 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8320 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8321 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8322 standard functions.
8323 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8324 Remove comments and hacks for old compiler versions.
8325 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8326 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8327 libc_feholdexceptl.
8328
caa6c9d8
AS
83292011-10-18 Andreas Schwab <schwab@redhat.com>
8330
8331 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8332 (__feraiseexcept_renamed): Add __NTH.
8333 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8334 namespace violations.
8335
97c066e6
UD
83362011-10-17 Ulrich Drepper <drepper@gmail.com>
8337
99ce7b04
UD
8338 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8339
1004d182
UD
8340 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8341
228a984d
UD
8342 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8343 recently added interfaces.
8344 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8345
c8553a6a
UD
8346 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8347 about macro parameter expansion.
8348
ed22dcf6
UD
8349 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8350 __NO_MATH_INLINES is defined. Cleanups.
8351
8352 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8353 and __floorf is target has SSE4.1.
8354 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8355 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8356 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8357 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8358
b171c137
UD
8359 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8360 name.
8361 (floorf): Likewise.
8362
97c066e6
UD
8363 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8364
629f62ef
AS
83652011-10-17 Andreas Schwab <schwab@redhat.com>
8366
49a43d80
AS
8367 * misc/sys/cdefs.h: Fix last change.
8368
629f62ef
AS
8369 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8370 database lookup.
8371
e453f6cd
UD
83722011-10-16 Ulrich Drepper <drepper@gmail.com>
8373
aa78043a
UD
8374 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8375
ad0f5cad
UD
8376 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8377 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8378 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8379 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8380 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8381 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8382 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8383 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8384 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8385 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8386 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8387 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8388 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8389 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8390 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8391 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8392 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8393 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8394 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8395 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8396 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8397 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8398
8399 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8400 ceil, ceilf, floor, floorf.
8401
8402 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8403 Perform IRELATIVE relocations last.
8404
e453f6cd
UD
8405 * elf/do-rel.h: Add another parameter nrelative, replacing the
8406 local variable with the same name. Change name of the function
8407 to end in Rel or Rela (uppercase).
8408 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8409 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8410 elf_dynamic_do_##reloc function.
8411
fd5bdc09
UD
84122011-10-15 Ulrich Drepper <drepper@gmail.com>
8413
79b195b5
UD
8414 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8415 is sufficient, at least on modern CPUs.
8416
d4a28569
UD
8417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8418
b61099b5
UD
8419 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8420 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8421
bcf01e6d
UD
8422 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8423 __expl_finite.
8424 * math/bits/math-finite.h: Add entries for exp.
8425 * math/e_expl.c: Add __*_finite alias.
8426 * sysdeps/i386/fpu/e_exp.S: Likewise.
8427 * sysdeps/i386/fpu/e_expf.S: Likewise.
8428 * sysdeps/i386/fpu/e_expl.c: Likewise.
8429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8430 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8431 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8433 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8434 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8435 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8436
ba1a0d59
UD
8437 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8438 is sufficient, at least on modern CPUs.
8439
fd5bdc09
UD
8440 * ctype/ctype-info.c (__ctype_init): Define.
8441 * include/ctype.h (__ctype_init): Declare.
8442 (__ctype_b_loc): The variable is always initialized.
8443 (__ctype_toupper_loc): Likewise.
8444 (__ctype_tolower_loc): Likewise.
8445 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8446 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8447
7872cfb0
AS
84482011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8449
b468825a
AS
8450 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8451
7872cfb0
AS
8452 * configure.in: Also look in $cxxmachine/include for C++ system
8453 headers.
8454
be13f7bf
LD
84552011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8456
8457 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8458 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8459 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8460 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8461 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8462 (USE_AS_WMEMCMP): New macro.
8463 Fixing indents.
8464 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8465 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8466 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8467 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8468 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8469 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8470 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8471 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8472 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8473 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8474 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8475 (USE_AS_WMEMCMP): New macro.
8476 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8477 * sysdeps/string/test-memcmp.c: Update.
8478 Fix simple_wmemcmp.
8479 Add new tests.
8480 * wcsmbs/wmemcmp.c: Update.
8481 (WMEMCMP): New macro.
8482 Fix overflow bug.
8483
556a2007
AJ
84842011-10-12 Andreas Jaeger <aj@suse.de>
8485
8486 [BZ #13268]
8487 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8488
538faaa7
UD
84892011-10-15 Ulrich Drepper <drepper@gmail.com>
8490
ab6737ff
UD
8491 * libio/iofwide.c (do_length): Avoid warning.
8492
538faaa7
UD
8493 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8494
396a21b1
UD
84952011-10-14 Ulrich Drepper <drepper@gmail.com>
8496
cdf2901f
UD
8497 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8498
38ad40ce
UD
8499 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8500 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8501 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8502 * sysdeps/i386/i686/fpu/e_log.S: New file.
8503 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8504 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8505
396a21b1
UD
8506 * ctype/ctype.h: Add support for inlined isXXX functions when
8507 compiling C++ code.
8508
6b1f68c9
AS
85092011-10-14 Andreas Schwab <schwab@redhat.com>
8510
349290c0
AS
8511 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8512
6b1f68c9
AS
8513 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8514
f2282d42
RM
85152011-10-13 Roland McGrath <roland@hack.frob.com>
8516
8517 [BZ #13291]
8518 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8519
5298ffa8
AS
85202011-10-13 Andreas Schwab <schwab@redhat.com>
8521
714fad23
AS
8522 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8523 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8524 feraiseexcept.
8525
81dcc7fb
AS
8526 * sysdeps/x86_64/memrchr.S: Check for zero size.
8527
5298ffa8
AS
8528 * string/stratcliff.c: Add memrchr tests.
8529
951fbcec
LD
85302011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8531
8532 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8533 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8534 rawmemchr-sse2 rawmemchr-sse2-bsf.
8535 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8536 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8537 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8538 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8539 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8540 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8541 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8542 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8543 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8544 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8545 * string/memrchr.c (MEMRCHR): New macro.
8546
0ac5ae23
UD
85472011-10-12 Ulrich Drepper <drepper@gmail.com>
8548
8549 Add integration with gcc's -ffinite-math-only and optimize wrapper
8550 functions in libm.
8551 * Versions.def: Define GLIBC_2.15 version for libm.
8552 * math/Makefile (headers): Add bits/math-finite.h.
8553 * math/bits/math-finite.h: New file.
8554 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8555 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8556 * math/e_acoshl.c: Add __*_finite alias.
8557 * math/e_acosl.c: Likewise.
8558 * math/e_asinl.c: Likewise.
8559 * math/e_atan2l.c: Likewise.
8560 * math/e_atanhl.c: Likewise.
8561 * math/e_coshl.c: Likewise.
8562 * math/e_exp10.c: Likewise.
8563 * math/e_exp10f.c: Likewise.
8564 * math/e_exp10l.c: Likewise.
8565 * math/e_exp2l.c: Likewise.
8566 * math/e_fmodl.c: Likewise.
8567 * math/e_gammal_r.c: Likewise.
8568 * math/e_hypotl.c: Likewise.
8569 * math/e_j0l.c: Likewise.
8570 * math/e_j1l.c: Likewise.
8571 * math/e_jnl.c: Likewise.
8572 * math/e_lgammal_r.c: Likewise.
8573 * math/e_log10l.c: Likewise.
8574 * math/e_log2l.c: Likewise.
8575 * math/e_logl.c: Likewise.
8576 * math/e_powl.c: Likewise.
8577 * math/e_sinhl.c: Likewise.
8578 * math/e_sqrtl.c: Likewise.
8579 * math/e_scalb.c: Completely rewritten and optimized.
8580 * math/e_scalbf.c: Likewise.
8581 * math/e_scalbl.c: Likewise.
8582 * math/w_acos.c: Likewise.
8583 * math/w_acosf.c: Likewise.
8584 * math/w_acosl.c: Likewise.
8585 * math/w_acosh.c: Likewise.
8586 * math/w_acoshf.c: Likewise.
8587 * math/w_acoshl.c: Likewise.
8588 * math/w_asin.c: Likewise.
8589 * math/w_asinf.c: Likewise.
8590 * math/w_asinl.c: Likewise.
8591 * math/w_atan2.c: Likewise.
8592 * math/w_atan2f.c: Likewise.
8593 * math/w_atan2l.c: Likewise.
8594 * math/w_atanh.c: Likewise.
8595 * math/w_atanhf.c: Likewise.
8596 * math/w_atanhl.c: Likewise.
8597 * math/w_exp10.c: Likewise.
8598 * math/w_exp10f.c: Likewise.
8599 * math/w_exp10l.c: Likewise.
8600 * math/w_fmod.c: Likewise.
8601 * math/w_fmodf.c: Likewise.
8602 * math/w_fmodl.c: Likewise.
8603 * math/w_j0.c: Likewise.
8604 * math/w_j0f.c: Likewise.
8605 * math/w_j0l.c: Likewise.
8606 * math/w_j1.c: Likewise.
8607 * math/w_j1f.c: Likewise.
8608 * math/w_j1l.c: Likewise.
8609 * math/w_jn.c: Likewise.
8610 * math/w_jnf.c: Likewise.
8611 * math/w_log.c: Likewise.
8612 * math/w_logf.c: Likewise.
8613 * math/w_logl.c: Likewise.
8614 * math/w_log10.c: Likewise.
8615 * math/w_log10f.c: Likewise.
8616 * math/w_log10l.c: Likewise.
8617 * math/w_log2.c: Likewise.
8618 * math/w_log2f.c: Likewise.
8619 * math/w_log2l.c: Likewise.
8620 * math/w_pow.c: Likewise.
8621 * math/w_powf.c: Likewise.
8622 * math/w_powl.c: Likewise.
8623 * math/w_remainder.c: Likewise.
8624 * math/w_remainderf.c: Likewise.
8625 * math/w_remainderl.c: Likewise.
8626 * math/w_scalb.c: Likewise.
8627 * math/w_scalbf.c: Likewise.
8628 * math/w_scalbl.c: Likewise.
8629 * math/w_sqrt.c: Likewise.
8630 * math/w_sqrtf.c: Likewise.
8631 * math/w_sqrtl.c: Likewise.
8632 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8633 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8634 used.
8635 * math/math_private.h: Declare __kernel_standard_f.
8636 * math/w_cosh.c: Remove cruft and optimize a bit.
8637 * math/w_coshf.c: Likewise.
8638 * math/w_coshl.c: Likewise.
8639 * math/w_exp2.c: Likewise.
8640 * math/w_exp2f.c: Likewise.
8641 * math/w_exp2l.c: Likewise.
8642 * math/w_hypot.c: Likewise.
8643 * math/w_hypotf.c: Likewise.
8644 * math/w_hypotl.c: Likewise.
8645 * math/w_lgamma.c: Likewise.
8646 * math/w_lgamma_r.c: Likewise.
8647 * math/w_lgammaf.c: Likewise.
8648 * math/w_lgammaf_r.c: Likewise.
8649 * math/w_lgammal.c: Likewise.
8650 * math/w_lgammal_r.c: Likewise.
8651 * math/w_sinh.c: Likewise.
8652 * math/w_sinhf.c: Likewise.
8653 * math/w_sinhl.c: Likewise.
8654 * math/w_tgamma.c: Likewise.
8655 * math/w_tgammaf.c: Likewise.
8656 * math/w_tgammal.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8658 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8659 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8660 Minor optimizations. Pretty printing. Remove cruft.
8661 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8662 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8663 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8664 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8665 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8666 * sysdeps/i386/fpu/e_asin.S: Likewise.
8667 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8668 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8669 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8670 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8671 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8672 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8673 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8674 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8675 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8676 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8677 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8678 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8679 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8680 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8681 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8682 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8683 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8684 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8685 * sysdeps/i386/fpu/e_log.S: Likewise.
8686 * sysdeps/i386/fpu/e_log10.S: Likewise.
8687 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8688 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8689 * sysdeps/i386/fpu/e_log2.S: Likewise.
8690 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8691 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8692 * sysdeps/i386/fpu/e_logf.S: Likewise.
8693 * sysdeps/i386/fpu/e_logl.S: Likewise.
8694 * sysdeps/i386/fpu/e_pow.S: Likewise.
8695 * sysdeps/i386/fpu/e_powf.S: Likewise.
8696 * sysdeps/i386/fpu/e_powl.S: Likewise.
8697 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8698 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8699 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8700 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8701 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8702 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8703 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8704 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8705 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8727 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8728 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8729 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8730 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8731 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8732 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8733 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8734 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8735 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8736 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8737 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8738 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8739 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8740 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8741 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8742 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8743 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8744 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8745 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8746 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8747 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8786 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8789 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8791 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8792 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8794 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8797 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8798 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8799 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8800 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8801 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8802 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8803 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8804 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8805 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8806 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8807 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8808 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8809 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8810 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8811 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8812 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8813 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8814 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8815 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8816 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8817 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8818 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8819 (__isnanf): Likewise.
8820 (__isinf_ns): Likewise.
8821 (__isinf_nsf): Likewise.
8822 (__finite): Likewise.
8823 (__finitef): Likewise.
8824 (__ieee754_sqrt): Define as macro.
8825 (__ieee754_sqrtf): Define as macro.
8826 (__ieee754_sqrtl): Define as macro.
8827 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8828 inlined copy.
8829 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8830 __FINITE_MATH_ONLY__ consistent.
8831 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8832
12cc2fcd
AS
88332011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8834
a843a204
AS
8835 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8836 of rawmemchr.
8837
12cc2fcd
AS
8838 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8839
c853acd5
UD
88402011-10-09 Ulrich Drepper <drepper@gmail.com>
8841
8842 * po/ja.po: Update from translation team.
8843
c658d255
RM
88442011-10-08 Roland McGrath <roland@hack.frob.com>
8845
110946e4
RM
8846 * locale/programs/locarchive.c (prepare_address_space): New function.
8847 (create_archive, enlarge_archive, open_archive): Use it.
8848
50604220
RM
8849 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8850 inside [SHARED], where it is used.
8851
c658d255
RM
8852 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8853
8854 * nss/getent.c (netgroup_keys): Remove unused variable.
8855 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8856
6a621eb7
UD
88572011-10-08 Ulrich Drepper <drepper@gmail.com>
8858
7edb55ce
UD
8859 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8860 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8862 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8863 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8864 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8865 * math/Makefile (libm-calls): Add s_isinf_ns.
8866 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8867 * math/multc3.c: Likewise.
8868 * math/s_casin.c: Likewise.
8869 * math/s_casinf.c: Likewise.
8870 * math/s_casinl.c: Likewise.
8871 * math/s_ccos.c: Likewise.
8872 * math/s_ccosf.c: Likewise.
8873 * math/s_ccosl.c: Likewise.
8874 * math/s_ctan.c: Likewise.
8875 * math/s_ctanf.c: Likewise.
8876 * math/s_ctanh.c: Likewise.
8877 * math/s_ctanhf.c: Likewise.
8878 * math/s_ctanhl.c: Likewise.
8879 * math/s_ctanl.c: Likewise.
8880 * math/w_fmod.c: Likewise.
8881 * math/w_fmodf.c: Likewise.
8882 * math/w_fmodl.c: Likewise.
8883 * math/w_remainder.c: Likewise.
8884 * math/w_remainderf.c: Likewise.
8885 * math/w_remainderl.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8887 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8888 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8889 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8890 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8891 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8892 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8893 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8894
187da0ae
UD
8895 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8896 of the number.
8897 * stdio-common/printf_fphex.c: Likewise.
8898 * stdio-common/printf_size.c: Likewise.
8899
9277c064
UD
8900 * math/e_exp10.c: Include math_private.h using <...> not "...".
8901 * math/e_exp10f.c: Likewise.
8902 * math/e_exp10l.c: Likewise.
8903 * math/e_exp2l.c: Likewise.
8904 * math/e_j0l.c: Likewise.
8905 * math/e_j1l.c: Likewise.
8906 * math/e_jnl.c: Likewise.
8907 * math/e_lgammal_r.c: Likewise.
8908 * math/e_rem_pio2l.c: Likewise.
8909 * math/e_scalb.c: Likewise.
8910 * math/e_scalbf.c: Likewise.
8911 * math/e_scalbl.c: Likewise.
8912 * math/k_cosl.c: Likewise.
8913 * math/k_sinl.c: Likewise.
8914 * math/k_tanl.c: Likewise.
8915 * math/s_cacoshf.c: Likewise.
8916 * math/s_catan.c: Likewise.
8917 * math/s_catanf.c: Likewise.
8918 * math/s_catanh.c: Likewise.
8919 * math/s_catanhf.c: Likewise.
8920 * math/s_catanhl.c: Likewise.
8921 * math/s_catanl.c: Likewise.
8922 * math/s_ccosh.c: Likewise.
8923 * math/s_ccoshf.c: Likewise.
8924 * math/s_ccoshl.c: Likewise.
8925 * math/s_cexp.c: Likewise.
8926 * math/s_cexpf.c: Likewise.
8927 * math/s_cexpl.c: Likewise.
8928 * math/s_clog.c: Likewise.
8929 * math/s_clog10.c: Likewise.
8930 * math/s_clog10f.c: Likewise.
8931 * math/s_clog10l.c: Likewise.
8932 * math/s_clogf.c: Likewise.
8933 * math/s_clogl.c: Likewise.
8934 * math/s_csin.c: Likewise.
8935 * math/s_csinf.c: Likewise.
8936 * math/s_csinh.c: Likewise.
8937 * math/s_csinhf.c: Likewise.
8938 * math/s_csinhl.c: Likewise.
8939 * math/s_csinl.c: Likewise.
8940 * math/s_csqrt.c: Likewise.
8941 * math/s_csqrtf.c: Likewise.
8942 * math/s_csqrtl.c: Likewise.
8943 * math/s_ctan.c: Likewise.
8944 * math/s_ctanf.c: Likewise.
8945 * math/s_ctanh.c: Likewise.
8946 * math/s_ctanhf.c: Likewise.
8947 * math/s_ctanhl.c: Likewise.
8948 * math/s_ctanl.c: Likewise.
8949 * math/s_ldexp.c: Likewise.
8950 * math/s_ldexpf.c: Likewise.
8951 * math/s_ldexpl.c: Likewise.
8952 * math/s_significand.c: Likewise.
8953 * math/s_significandf.c: Likewise.
8954 * math/s_significandl.c: Likewise.
8955 * math/w_acos.c: Likewise.
8956 * math/w_acosf.c: Likewise.
8957 * math/w_acosh.c: Likewise.
8958 * math/w_acoshf.c: Likewise.
8959 * math/w_acoshl.c: Likewise.
8960 * math/w_acosl.c: Likewise.
8961 * math/w_asin.c: Likewise.
8962 * math/w_asinf.c: Likewise.
8963 * math/w_asinl.c: Likewise.
8964 * math/w_atan2.c: Likewise.
8965 * math/w_atan2f.c: Likewise.
8966 * math/w_atan2l.c: Likewise.
8967 * math/w_atanh.c: Likewise.
8968 * math/w_atanhf.c: Likewise.
8969 * math/w_atanhl.c: Likewise.
8970 * math/w_cosh.c: Likewise.
8971 * math/w_coshf.c: Likewise.
8972 * math/w_coshl.c: Likewise.
8973 * math/w_dremf.c: Likewise.
8974 * math/w_exp10.c: Likewise.
8975 * math/w_exp10f.c: Likewise.
8976 * math/w_exp10l.c: Likewise.
8977 * math/w_exp2.c: Likewise.
8978 * math/w_exp2f.c: Likewise.
8979 * math/w_fmod.c: Likewise.
8980 * math/w_fmodf.c: Likewise.
8981 * math/w_fmodl.c: Likewise.
8982 * math/w_hypot.c: Likewise.
8983 * math/w_hypotf.c: Likewise.
8984 * math/w_hypotl.c: Likewise.
8985 * math/w_j0.c: Likewise.
8986 * math/w_j0f.c: Likewise.
8987 * math/w_j0l.c: Likewise.
8988 * math/w_j1.c: Likewise.
8989 * math/w_j1f.c: Likewise.
8990 * math/w_j1l.c: Likewise.
8991 * math/w_jn.c: Likewise.
8992 * math/w_jnf.c: Likewise.
8993 * math/w_jnl.c: Likewise.
8994 * math/w_lgamma.c: Likewise.
8995 * math/w_lgamma_r.c: Likewise.
8996 * math/w_lgammaf.c: Likewise.
8997 * math/w_lgammaf_r.c: Likewise.
8998 * math/w_lgammal.c: Likewise.
8999 * math/w_lgammal_r.c: Likewise.
9000 * math/w_log.c: Likewise.
9001 * math/w_log10.c: Likewise.
9002 * math/w_log10f.c: Likewise.
9003 * math/w_log10l.c: Likewise.
9004 * math/w_log2.c: Likewise.
9005 * math/w_log2f.c: Likewise.
9006 * math/w_log2l.c: Likewise.
9007 * math/w_logf.c: Likewise.
9008 * math/w_logl.c: Likewise.
9009 * math/w_pow.c: Likewise.
9010 * math/w_powf.c: Likewise.
9011 * math/w_powl.c: Likewise.
9012 * math/w_remainder.c: Likewise.
9013 * math/w_remainderf.c: Likewise.
9014 * math/w_remainderl.c: Likewise.
9015 * math/w_scalb.c: Likewise.
9016 * math/w_scalbf.c: Likewise.
9017 * math/w_scalbl.c: Likewise.
9018 * math/w_sinh.c: Likewise.
9019 * math/w_sinhf.c: Likewise.
9020 * math/w_sinhl.c: Likewise.
9021 * math/w_sqrt.c: Likewise.
9022 * math/w_sqrtf.c: Likewise.
9023 * math/w_sqrtl.c: Likewise.
9024 * math/w_tgamma.c: Likewise.
9025 * math/w_tgammaf.c: Likewise.
9026 * math/w_tgammal.c: Likewise.
9027
6a621eb7
UD
9028 * po/ja.po: Update from translation team.
9029
bf582445
AJ
90302011-09-29 Andreas Jaeger <aj@suse.de>
9031
f9efbf3a
AJ
9032 [BZ #13179]
9033 * sunrpc/netname.c (netname2host): Fix logic.
9034
bf582445
AJ
9035 [BZ #6779]
9036 [BZ #6783]
9037 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9038 correctly.
9039 * math/w_remainder.c (__remainder): Likewise.
9040 * math/w_remainderf.c (__remainderf): Likewise.
9041 * math/libm-test.inc (remainder_test): Add test cases.
9042
48693bea
AK
90432011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9044
9045 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9046 sdiv_qrnnd.
9047
42622229
LD
90482011-10-07 Ulrich Drepper <drepper@gmail.com>
9049
9050 * string/test-memcmp.c: Avoid unncessary #defines.
9051 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9052
093ecf92
LD
90532011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9054
9055 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9056 Use new sse2 version for core i3 - i7 as it's faster
9057 than sse42 version.
9058 (bit_Prefer_PMINUB_for_stringop): New.
9059 * sysdeps/x86_64/rawmemchr.S: Update.
9060 Replace with faster SSE2 version.
9061 * sysdeps/x86_64/memrchr.S: New file.
9062 * sysdeps/x86_64/memchr.S: Update.
9063 Replace with faster SSE2 version.
9064
fde56e5c
MP
90652011-09-12 Marek Polacek <mpolacek@redhat.com>
9066
9067 * elf/dl-load.c (lose): Add cast to avoid warning.
9068
21fd49a9
UD
90692011-10-07 Ulrich Drepper <drepper@gmail.com>
9070
5a06e643
UD
9071 * po/ca.po: Update from translation team.
9072
684ae515
UD
9073 * inet/getnetgrent_r.c: Hook up nscd.
9074 * nscd/Makefile (routines): Add nscd_netgroup.
9075 (nscd-modules): Add netgroupcache.
9076 (CFLAGS-netgroupcache.c): Define.
9077 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9078 (cache_search): Add const to second parameter.
9079 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9080 INNETGR.
9081 (dbs): Add netgrdb entry.
9082 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9083 (verify_persistent_db): Handle netgrdb.
9084 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9085 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9086 GETFDNETGR.
9087 (netgroup_response_header): Define.
9088 (innetgroup_response_header): Define.
9089 (datahead): Add netgroup_response_header and innetgroup_response_header
9090 elements.
9091 * nscd/nscd.conf: Add entries for netgroup cache.
9092 * nscd/nscd.h (dbtype): Add netgrdb.
9093 (_PATH_NSCD_NETGROUP_DB): Define.
9094 (netgroup_iov_disabled): Declare.
9095 (xmalloc, xcalloc, xrealloc): Move declarations here.
9096 (cache_search): Adjust prototype.
9097 Add netgroup-related prototypes.
9098 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9099 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9100 (__nscd_innetgr): Declare.
9101 * nscd/selinux.c (perms): Use access_vector_t as element type and
9102 add netgroup-related initializers.
9103 * nscd/netgroupcache.c: New file.
9104 * nscd/nscd_netgroup.c: New file.
9105 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9106 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9107 For four parameters use innetgr.
9108 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9109 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9110 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9111 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9112
21fd49a9
UD
9113 * nscd/connections.c (register_traced_file): Don't register file
9114 for disabled databases.
9115
054c0457
UD
91162011-10-06 Ulrich Drepper <drepper@gmail.com>
9117
32b63198
UD
9118 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9119
054c0457
UD
9120 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9121 from tree and freeing node.
9122
64031225
JO
91232011-09-25 Jiri Olsa <jolsa@redhat.com>
9124
9125 * nss/nsswitch.c (__nss_database_lookup): Handle
9126 nss_parse_service_list out of memory case.
9127
0490345c
JO
91282011-09-15 Jiri Olsa <jolsa@redhat.com>
9129
9130 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9131 out of memory case.
9132
3a62d00d
AS
91332011-10-04 Andreas Schwab <schwab@redhat.com>
9134
9135 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9136 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9137 pass it down.
9138 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9139 elf_machine_rela, elf_machine_lazy_rel.
9140 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9141 (ELF_DYNAMIC_DO_REL): Likewise.
9142 (ELF_DYNAMIC_DO_RELA): Likewise.
9143 (ELF_DYNAMIC_RELOCATE): Likewise.
9144 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9145 to ELF_DYNAMIC_DO_REL.
9146 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9147 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9148 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9149 elf_machine_rela.
9150 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9151 skip_ifunc, don't call ifunc function if non-zero.
9152 (elf_machine_rela): Likewise.
9153 (elf_machine_lazy_rel): Likewise.
9154 (elf_machine_lazy_rela): Likewise.
9155 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9156 (elf_machine_lazy_rel): Likewise.
9157 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9158 Likewise.
9159 (elf_machine_lazy_rel): Likewise.
9160 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9161 Likewise.
9162 (elf_machine_lazy_rel): Likewise.
9163 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9164 (elf_machine_lazy_rel): Likewise.
9165 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9166 (elf_machine_lazy_rel): Likewise.
9167 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9168 (elf_machine_lazy_rel): Likewise.
9169 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9170 (elf_machine_lazy_rel): Likewise.
9171 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9172 (elf_machine_lazy_rel): Likewise.
9173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9174 (elf_machine_lazy_rel): Likewise.
9175
68577918
UD
91762011-09-28 Ulrich Drepper <drepper@gmail.com>
9177
9178 * nss/nss_files/files-init.c (_nss_files_init): Use static
9179 initialization for all the *_traced_file variables.
9180
68822d74
AS
91812011-09-28 Andreas Schwab <schwab@redhat.com>
9182
9183 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9184
2056100b
RM
91852011-09-27 Roland McGrath <roland@hack.frob.com>
9186
9187 [BZ #13226]
9188 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9189
32c76b63
AS
91902011-09-27 Andreas Schwab <schwab@redhat.com>
9191
9192 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9193 Reread the line before reparsing it.
9194
bf972c9d
AS
91952011-09-26 Andreas Schwab <schwab@redhat.com>
9196
9197 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9198
e057a1b5
JM
91992011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9200 Maxim Kuvyrkov <maxim@codesourcery.com>
9201 Joseph Myers <joseph@codesourcery.com>
9202
9203 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9204 if needed for __stack_chk_guard.
9205
bc7e1c36
RM
92062011-09-19 Roland McGrath <roland@hack.frob.com>
9207
ecb1482f
RM
9208 * sysdeps/posix/spawni.c (script_execute): Always define it.
9209 It will be optimized away if unused.
9210 (maybe_script_execute): New function.
9211 (__spawni): Call it.
9212
bc7e1c36
RM
9213 * Makerules: Don't include tls.make.
9214 (config-tls): Always set to thread.
9215 * tls.make.c: File removed.
9216
1c3b002b
MF
92172011-09-19 Mike Frysinger <vapier@gentoo.org>
9218
9219 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9220 * config.make.in (CPPFLAGS-config): New substituted variable.
9221
2840865d
UD
92222011-09-15 Ulrich Drepper <drepper@gmail.com>
9223
88738eb6
UD
9224 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9225
cbf645a6 9226 [BZ #13192]
2840865d
UD
9227 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9228 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9229
b402e91a
RM
92302011-09-15 Roland McGrath <roland@hack.frob.com>
9231
9232 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9233 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9234 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9235 (CALL_FAIL): Likewise.
9236 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9237 (CALL_FAIL): Macro removed.
9238 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9239
4c1a1f71
UD
92402011-09-15 Ulrich Drepper <drepper@gmail.com>
9241
9242 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9243 for __FINITE_MATH_ONLY__ == 1.
9244
edc121be
AS
92452011-09-15 Andreas Schwab <schwab@redhat.com>
9246
9247 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9248 __ieee754_sqrt instead of sqrt.
9249 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9250 __ieee754_sqrtf instead of sqrtf.
9251 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9252 __floorf instead of floorf.
9253 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9254 __floorf, __truncf instead of floorf, truncf.
9255
cd205654
UD
92562011-09-14 Ulrich Drepper <drepper@gmail.com>
9257
ee4d0315
UD
9258 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9259
cd205654
UD
9260 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9261 __extern_always_inline.
9262 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9263 32-bit.
9264
48b67d71
AS
92652011-09-14 Andreas Schwab <schwab@redhat.com>
9266
9267 * elf/rtld.c (dl_main): Also relocate in dependency order when
9268 doing symbol dependency testing.
9269
1ae12c75
AS
92702011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9271
9272 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9273 Always define `refsym'.
9274
995a80df
AS
92752011-09-13 Andreas Schwab <schwab@redhat.com>
9276
e529793b
AS
9277 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9278 (__FD_ELT): Renamed from __FDELT.
9279 * misc/bits/select2.h (__FD_ELT): Likewise.
9280 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9281 __FD_MASK instead of __FDELT, __FDMASK.
9282 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9283 Likewise.
9284 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9285 Likewise.
9286
52d4fef8
AS
9287 * elf/Makefile (gen-ldd): Fix pattern.
9288
995a80df
AS
9289 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9290 (init_tls): Likewise.
9291
8682f8b0
UD
92922011-09-12 Ulrich Drepper <drepper@gmail.com>
9293
9294 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9295
de82006d
AS
92962011-09-12 Andreas Schwab <schwab@redhat.com>
9297
a7c8e6a1
AS
9298 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9299 `struct cmsghdr *' instead of `void *'.
9300 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9301 Likewise.
9302
0f31fe77
AS
93032011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9304
9305 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9306 if non-absolute.
9307 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9308 ldd_rewrite_script.
0f31fe77 9309
32b4c839
UD
93102011-09-11 Ulrich Drepper <drepper@gmail.com>
9311
83cd1420
UD
9312 * configure.in: Remove --with-tls option.
9313 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9314 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9315 out in case it is missing.
9316 * sysdeps/ia64/elf/configure.in: Likewise.
9317 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9318 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9319 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9320 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9321 * sysdeps/sh/elf/configure.in: Likewise.
9322 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9323 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9324 * sysdeps/x86_64/elf/configure.in: Likewise.
9325 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9326 * sysdeps/mach/hurd/tls.h: Likewise.
9327
633f745d
UD
9328 [BZ #13067]
9329 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9330
f318beb8
UD
9331 [BZ #13090]
9332 * configure.in: Fix use of AC_INIT.
9333
32b4c839
UD
9334 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9335
3ce1f295
UD
93362011-09-10 Ulrich Drepper <drepper@gmail.com>
9337
bb016596
UD
9338 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9339 __set_errno.
8e58439c
UD
9340 * malloc/hooks.c: Likewise.
9341
aebae053 9342 [BZ #11929]
02d46fc4
UD
9343 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9344 variables statically.
9345 (narenas): Initialize.
9346 (list_lock): Initialize.
bb016596
UD
9347 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9348 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9349 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9350 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9351 Add initializers to main_arena and mp_.
9352 (malloc_state): Remove pagesize member. Change all users to use
9353 GLRO(dl_pagesize).
9354
9355 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9356 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9357 is always initialized.
9358
22a89187
UD
9359 * malloc/malloc.c: Removed unused configurations and dead code.
9360 * malloc/arena.c: Likewise.
9361 * malloc/hooks.c: Likewise.
02d46fc4 9362 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9363
d063d164
UD
9364 * include/tls.h: Removed. USE___THREAD must always be defined.
9365 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9366 * elf/dl-libc.c: Likewise.
9367 * elf/dl-tsd.c: Likewise.
9368 * include/errno.h: Likewise.
9369 * include/netdb.h: Likewise.
9370 * include/resolv.h: Likewise.
9371 * inet/herrno-loc.c: Likewise.
9372 * inet/herrno.c: Likewise.
9373 * malloc/arena.c: Likewise.
9374 * malloc/hooks.c: Likewise.
9375 * malloc/malloc.c: Likewise.
9376 * resolv/res-state.c: Likewise.
9377 * resolv/res_libc.c: Likewise.
9378 * sysdeps/i386/dl-machine.h: Likewise.
9379 * sysdeps/ia64/dl-machine.h: Likewise.
9380 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9381 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9382 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9383 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9384 * sysdeps/sh/dl-machine.h: Likewise.
9385 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9386 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9387 * sysdeps/unix/i386/sysdep.S: Likewise.
9388 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9389 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9390 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9391 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9392 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9394 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9398 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9399 * sysdeps/x86_64/dl-machine.h: Likewise.
9400 * tls.make.c: Likewise.
9401
3ce1f295
UD
9402 * configure.in: Remove --with-__thread option. Make tests for
9403 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9404 tls_model attribute fail if no support is available. Remove
9405 USE_IN_LIBIO.
9406 * Makeconfig: Adjust for dropped configure option. All features are
9407 now mandatory.
9408 * Makerules: Likewise.
9409 * Versions.def: Likewise.
9410 * argp/argp-fmtstream.c: Likewise.
9411 * argp/argp-fmtstream.h: Likewise.
9412 * argp/argp-help.c: Likewise.
9413 * assert/assert.c: Likewise.
9414 * config.h.in: Likewise.
9415 * config.make.in: Likewise.
9416 * configure: Likewise.
9417 * configure.in: Likewise.
9418 * csu/Versions: Likewise.
9419 * csu/init.c: Likewise.
9420 * elf/tst-audit2.c: Likewise.
9421 * elf/tst-tls10.c: Likewise.
9422 * elf/tst-tls10.h: Likewise.
9423 * elf/tst-tls11.c: Likewise.
9424 * elf/tst-tls12.c: Likewise.
9425 * elf/tst-tls14.c: Likewise.
9426 * elf/tst-tlsmod11.c: Likewise.
9427 * elf/tst-tlsmod12.c: Likewise.
9428 * elf/tst-tlsmod13.c: Likewise.
9429 * elf/tst-tlsmod13a.c: Likewise.
9430 * elf/tst-tlsmod14a.c: Likewise.
9431 * elf/tst-tlsmod15b.c: Likewise.
9432 * elf/tst-tlsmod16a.c: Likewise.
9433 * elf/tst-tlsmod16b.c: Likewise.
9434 * elf/tst-tlsmod7.c: Likewise.
9435 * elf/tst-tlsmod8.c: Likewise.
9436 * elf/tst-tlsmod9.c: Likewise.
9437 * gmon/gmon.c: Likewise.
9438 * grp/fgetgrent_r.c: Likewise.
9439 * grp/putgrent.c: Likewise.
9440 * hurd/fopenport.c: Likewise.
9441 * include/libc-symbols.h: Likewise.
9442 * include/tls.h: Likewise.
9443 * intl/gettextP.h: Likewise.
9444 * intl/loadinfo.h: Likewise.
9445 * locale/global-locale.c: Likewise.
9446 * locale/localeinfo.h: Likewise.
9447 * mach/devstream.c: Likewise.
9448 * malloc/arena.c: Likewise.
9449 * malloc/set-freeres.c: Likewise.
9450 * misc/err.c: Likewise.
9451 * misc/getttyent.c: Likewise.
9452 * misc/mntent_r.c: Likewise.
9453 * posix/getopt.c: Likewise.
9454 * posix/wordexp.c: Likewise.
9455 * pwd/fgetpwent_r.c: Likewise.
9456 * resolv/Versions: Likewise.
9457 * resolv/res_hconf.c: Likewise.
9458 * shadow/fgetspent_r.c: Likewise.
9459 * shadow/putspent.c: Likewise.
9460 * stdio-common/printf_fphex.c: Likewise.
9461 * stdio-common/tmpfile.c: Likewise.
9462 * stdlib/abort.c: Likewise.
9463 * stdlib/fmtmsg.c: Likewise.
9464 * sunrpc/auth_unix.c: Likewise.
9465 * sunrpc/clnt_perr.c: Likewise.
9466 * sunrpc/clnt_tcp.c: Likewise.
9467 * sunrpc/clnt_udp.c: Likewise.
9468 * sunrpc/clnt_unix.c: Likewise.
9469 * sunrpc/openchild.c: Likewise.
9470 * sunrpc/svc_simple.c: Likewise.
9471 * sunrpc/svc_tcp.c: Likewise.
9472 * sunrpc/svc_udp.c: Likewise.
9473 * sunrpc/svc_unix.c: Likewise.
9474 * sunrpc/xdr.c: Likewise.
9475 * sunrpc/xdr_array.c: Likewise.
9476 * sunrpc/xdr_rec.c: Likewise.
9477 * sunrpc/xdr_ref.c: Likewise.
9478 * sunrpc/xdr_stdio.c: Likewise.
9479
1248c1c4
PB
94802011-09-09 Ulrich Drepper <drepper@gmail.com>
9481
9482 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9483
94842011-07-03 Andreas Jaeger <aj@suse.de>
9485
9486 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9487 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9488 regenerate with gen-libm-tests.pl.
9489
94902010-05-12 Petr Baudis <pasky@suse.cz>
9491
9492 [BZ #11589]
9493 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9494 around j0() zero points by switching to j1().
9495 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9496 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9498 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9499
f22e1074
UD
95002011-09-09 Ulrich Drepper <drepper@gmail.com>
9501
f19009c1
UD
9502 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9503 instead of 0.
9504 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9505 instead of 0. .
9506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9507 Patch in part by Pavel Roskin <proski@gnu.org>.
9508
3f8cc204
UD
9509 [BZ #13138]
9510 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9511 realloc.
9512 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9513 Free memory block if necessary.
9514
f22e1074
UD
9515 [BZ #12847]
9516 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9517 be NULL. Don't lock in this case.
9518
0a2349f9
RM
95192011-09-09 Roland McGrath <roland@hack.frob.com>
9520
9521 * elf/elf.h (ELFOSABI_GNU): New macro.
9522 (ELFOSABI_LINUX): Define to that.
9523
f3cdd467
DZ
95242011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9525
9526 * string/strncat.c (strncat): Undef the symbol in case it has been
9527 defined in bits/string.h.
9528
74718d13
UD
95292011-09-09 Ulrich Drepper <drepper@gmail.com>
9530
633e9e0f
UD
9531 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9532
0a2349f9 9533 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9534 link map.
9535
f9924780
AJ
95362011-08-17 Andreas Jaeger <aj@suse.de>
9537
9538 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9539
7f5517aa
PP
95402011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9541 Ian Lance Taylor <iant@google.com>
9542
9543 * math/libm-test.inc (lround_test): New testcase.
9544 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9545
762011fe
UD
95462011-09-08 Ulrich Drepper <drepper@gmail.com>
9547
92963737
UD
9548 * Makefile: Remove support for automatic cvs check-ins.
9549 * Makerules: Likewise.
9550 * config.make.in: Likewise.
9551 * configure.in: Likewise.
9552 * intl/Makefile: Likewise.
9553 * locale/Makefile: Likewise.
9554 * po/Makefile: Likewise.
9555 * posix/Makefile: Likewise.
9556 * sysdeps/gnu/Makefile: Likewise.
9557 * sysdeps/mach/hurd/Makefile: Likewise.
9558 * sysdeps/sparc/sparc32/Makefile: Likewise.
9559
b0727fd8
JS
9560 [BZ #13118]
9561 * posix/Makefile (bug-regex32-ENV): Define.
9562 Patch by John Stanley <jpsinthemix@verizon.net>.
9563
a0f33f99
UD
9564 * misc/Makefile (headers): Add bits/select2.h.
9565 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9566 * misc/bits/select2.h: New file.
9567 * include/bits/select2.h: New file.
9568 * debug/Makefile (routines): Add fdelt_chk.
9569 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9570 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9571 FD_ISSET.
9572 * debug/fdelt_chk.c: New file.
9573
762011fe
UD
9574 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9575 * wcsmbs/test-wmemcmp.c: Likewise.
9576 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9577 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9578
95792011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9580
9581 * string/Makefile (strop-tests): Add memcmp.
9582 * string/test-wmemcmp.c: New file.
9583 * string/test-memcmp.c: Add wmemcmp support.
9584
7f513ec8
RM
95852011-09-08 Roland McGrath <roland@hack.frob.com>
9586
0442afb4
RM
9587 [BZ #13153]
9588 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9589 2011-07-19 change.
9590
7f513ec8
RM
9591 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9592 garbage value in a __mach_port_mod_refs call in the cases of the
9593 task-self and thread-self ports.
9594
a12b2239
ST
95952011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9596
9597 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9598
610f9ab4
AS
95992011-09-08 Andreas Schwab <schwab@redhat.com>
9600
7f513ec8 9601 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9602
48882a1a
LD
96032011-09-07 Ulrich Drepper <drepper@gmail.com>
9604
b49865be
UD
9605 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9606
fdc86bc9
UD
9607 * elf/dl-libc.c (dlerror_run): Pass back error code from
9608 dl_catch_error.
9609
c966526a
UD
9610 [BZ #13123]
9611 * elf/dl-load.c (lose): Free l_origin if it is valid.
9612
48882a1a
LD
9613 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9614 names.
9615 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9616 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9617 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9618 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9619 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9620 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9621
77a2a8b4
AZ
96222011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9623
9624 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9625 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9626 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9627 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9628 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9629 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9630 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9631 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9632 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9633 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9634
24f579d8
AM
96352011-08-15 Alan Modra <amodra@gmail.com>
9636
9637 [BZ #13092]
9638 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9639 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9640 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9641 ppc_mcount to static-only-routines.
9642 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9643 __mcount_internal.
9644 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9645 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9646
3d4837df
UD
96472011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9648
9649 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9650 for finite and infinity parameters.
9651
22700377
WS
96522011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9653
9654 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9655 and add nop instructions for throughput optimization.
9656 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9657
5025581e
WS
96582011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9659
9660 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9661 aligned copy for power7 with vector-scalar instructions.
9662 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9663
08a300c9
L
96642011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9665
9666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9667 AVX check.
9668
59178ef9
AS
96692011-09-07 Andreas Schwab <schwab@redhat.com>
9670
9671 [BZ #13144]
9672 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9673 last change.
9674
e38ba7ab
UD
96752011-09-07 Ulrich Drepper <drepper@gmail.com>
9676
9677 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9678 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9679 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9680 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9681 clock_gettime.
9682
d53a73ac
UD
96832011-09-06 Ulrich Drepper <drepper@gmail.com>
9684
fc8bffcc
UD
9685 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9686 Forgot to demangle the pointer.
9687
ceaa0c5d
UD
9688 * sysdeps/i386/sysdep.h: Define atom_text_section.
9689 * sysdeps/x86_64/sysdep.h: Likewise.
9690 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9691 section with atom_text_section.
9692 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9693 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9694 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9695 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9696 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9697
a77d3c17
UD
9698 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9699 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9700 already be defined. Change to take two parameters and don't assign
9701 result to variable. Adjust all users.
9702 Define INTERNAL_GETTIME if not already defined.
9703 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9704 call.
9705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9706 HAVE_CLOCK_GETTIME_VSYSCALL.
9707 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9708
d53a73ac
UD
9709 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9710 gettimeofday vsyscall, just use time.
9711
a8f84144
AS
97122011-09-06 Andreas Schwab <schwab@redhat.com>
9713
9714 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9715 <errno.h>.
9716
ef606249
UD
97172011-09-06 Ulrich Drepper <drepper@gmail.com>
9718
9719 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9720 syscall on x86-64.
9721 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9722 syscall.
9723 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9724 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9725 syscall if possible.
9726
6585cb60
UD
97272011-09-05 Ulrich Drepper <drepper@gmail.com>
9728
9729 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9730 e_ident. Don't pass to find_mapsXX.
9731 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9732
a5f524e4
LD
97332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9734
9735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9736 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9737 * sysdeps/x86_64/multiarch/strchr.S: Update.
9738 Check bit_slow_BSF bit.
9739 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9740 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9741 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9742
554881ef
UD
97432011-09-05 Ulrich Drepper <drepper@gmail.com>
9744
d96de963
UD
9745 [BZ #13134]
9746 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9747 before glibc 2.15.
9748 (tryshell): Define.
9749 (__spawni): Change last parameter to be flag. Test
9750 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9751 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9752 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9753 * posix/spawni.c: Likewise.
9754 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9755 * posix/spawnp.c: Likewise. Change normal version to use
9756 SPAWN_XFLAGS_USE_PATH.
9757 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9758 SPAWN_XFLAGS_TRY_SHELL.
9759
d48e5868
UD
9760 [BZ #13150]
9761 * posix/glob.h: Remove gcc 1.x support.
9762
554881ef
UD
9763 [BZ #13068]
9764 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9765
693fb948
LD
97662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9767
9768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9769 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9770 strrchr-sse2-bsf
9771 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9772 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9773 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9774 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9775 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9776 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9777
1b48c537
UD
97782011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9779
49d42c37
UD
9780 * sysdeps/x86_64/wcscmp.S: New file.
9781
1b48c537
UD
9782 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9783 wcscmp-c wcscmp-sse2
9784 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9785 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9786 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9787 * wcsmbs/wcscmp.c: Allow renaming.
9788
15c95c5d
DM
97892011-09-05 David S. Miller <davem@davemloft.net>
9790
9791 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9792 stack slot, rather than the struct return pointer slot.
9793 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9794 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9796 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9797
2f0ad8f3
UD
97982011-09-05 Ulrich Drepper <drepper@gmail.com>
9799
d88ae418
UD
9800 * po/ja.po: Update from translation team.
9801
2f0ad8f3
UD
9802 [BZ #13144]
9803 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9804 kernel in 64-bit binaries.
9805
5f4318d1
DM
98062011-09-01 David S. Miller <davem@davemloft.net>
9807
9808 * elf/elf.h (HWCAP_SPARC_*): Move to..
9809 * sysdeps/sparc/sysdep.h: this new file and add new values.
9810 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9811 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9812 _DL_HWCAP_COUNT to 24.
9813 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9814 entries.
9815 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9816 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9817 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9818 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9819 instead of magic constants.
9820 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9821
3ba57516
DM
98222011-08-31 David S. Miller <davem@davemloft.net>
9823
9824 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9826 Reimplement to do errno handling inline.
9827 (SYSCALL_ERROR_HANDLER): New macro.
9828 (__SYSCALL_STRING): Do not do errno handling in asm.
9829 (__CLONE_SYSCALL_STRING): Delete.
9830 (__INTERNAL_SYSCALL_STRING): Delete.
9831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9832 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9833 (PSEUDO): Reimplement to do errno handling inline.
9834 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9835 (SYSCALL_ERROR_HANDLER): New macro.
9836 (__SYSCALL_STRING): Do not do errno handling in asm.
9837 (__CLONE_SYSCALL_STRING): Delete.
9838 (__INTERNAL_SYSCALL_STRING): Delete.
9839 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9840 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9841 i386.
9842 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9843 (inline_syscall*): Add 'err' argument.
9844 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9845 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9846 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9847 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9848
9849 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9850 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9851
2bc17433
AS
98522011-08-30 Andreas Schwab <schwab@redhat.com>
9853
9854 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9855
fbeb5f4d
JO
98562011-08-29 Jiri Olsa <jolsa@redhat.com>
9857
9858 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9859 directive.
9860
ad69cc26
DM
98612011-08-24 David S. Miller <davem@davemloft.net>
9862
9863 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9864
39dd69df
AS
98652011-08-24 Andreas Schwab <schwab@redhat.com>
9866
9867 * elf/Makefile: Add rules to build and run unload8 test.
9868 * elf/unload8.c: New file.
9869 * elf/unload8mod1.c: New file.
9870 * elf/unload8mod1x.c: New file.
9871 * elf/unload8mod2.c: New file.
9872 * elf/unload8mod3.c: New file.
9873
9874 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9875 it wasn't used.
9876
2c0b250a
DM
98772011-08-23 David S. Miller <davem@davemloft.net>
9878
9879 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9880 subtract stack bias.
9881 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9882 %sp not %fp in calculations.
9883 (_JMPBUF_UNWINDS_ADJ): Likewise.
9884
22044b48
DM
9885 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9886 (aio_suspend): Call it to force an exception region around the
9887 AIO_MISC_WAIT() invocation.
9888
2cae4995
AS
98892011-08-23 Andreas Schwab <schwab@redhat.com>
9890
9891 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9892 backslash.
9893
873a772e
AJ
98942011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9895
9896 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9897 protection macro.
9898 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9899 and <dl-machine.h>.
9900 (Elf64_FuncDesc): Remove.
9901
25ad0df1
DM
99022011-08-22 David S. Miller <davem@davemloft.net>
9903
9904 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9905 sigaltstack check, add missing cfi directives.
9906 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9907 missing cfi directives, and sigaltstack handling.
9908
e888bcbe
AS
99092011-08-16 Andreas Schwab <schwab@redhat.com>
9910
9911 [BZ #11724]
9912 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9913 object is seen twice.
9914 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9915
9916 * elf/Makefile (distribute): Add tst-initorder2.c.
9917 (tests): Add tst-initorder2.
9918 (modules-names): Add tst-initorder2a tst-initorder2b
9919 tst-initorder2c tst-initorder2d. Add rules to build them.
9920 ($(objpfx)tst-initorder2.out): New rule.
9921 * elf/tst-initorder2.c: New file.
9922 * elf/tst-initorder2.exp: New file.
9923
87162f46
AS
99242011-08-22 Andreas Schwab <schwab@redhat.com>
9925
70538b7f
AS
9926 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9927
f55ffe58
AS
9928 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9929 dependencies back to end of function.
9930
87162f46
AS
9931 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9932 $(elfobjdir)/ld.so.
9933
91b392a4
UD
99342011-08-21 Ulrich Drepper <drepper@gmail.com>
9935
9936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9937 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9939 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9940 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9941 of __vdso_gettimeofday.
9942 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9943 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9944 attribute_hidden.
9945 (_libc_vdso_platform_setup): Remove initialization of
9946 __vdso_gettimeofday and __vdso_time.
9947
5c43483f
UD
99482011-08-20 Ulrich Drepper <drepper@gmail.com>
9949
775a77e7
UD
9950 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9951 and fgetc_unlocked.
9952 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9953 getc_unlocked.
89f447ed 9954
49c74ba9
UD
9955 * elf/dl-open.c (add_to_global): Report additions to the global scope
9956 for LD_DEBUG=scopes.
9957 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9958 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9959
5c43483f
UD
9960 [BZ #13114]
9961 * stdio-common/Makefile (tests): Add bug24.
9962 * stdio-common/bug24.c: New file.
9963
a101b025
AJ
99642011-08-19 Andreas Jaeger <aj@suse.de>
9965
9966 [BZ #13114]
9967 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9968 non-existant file when using close-on-exec mode.
9969
c88f1766
UD
99702011-08-20 Ulrich Drepper <drepper@gmail.com>
9971
0276a718
UD
9972 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9973 the very first instruction.
9974
c88f1766
UD
9975 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9976 the CFI state in the end.
9977 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9978 inclusion of dl-trampoline.h.
9979 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9980
51ccffa0
AS
99812011-08-19 Andreas Schwab <schwab@redhat.com>
9982
94d7165f
AS
9983 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9984 expectations for long double.
9985
51ccffa0
AS
9986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9987 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9988
fd708658 99892011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9990
9991 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9992 artificual limit depends upon the system page size.
9993
44f0a71e
UD
99942011-08-17 Ulrich Drepper <drepper@gmail.com>
9995
9996 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9997 * resolv/Makefile: Define CFLAGS-libresolv.
9998
8de79a24
AS
99992011-08-17 Andreas Schwab <schwab@redhat.com>
10000
10001 * nss/makedb.c (compute_tables): Make variables used in nested
10002 function static.
10003
27724598
UD
100042011-08-17 Ulrich Drepper <drepper@gmail.com>
10005
c5305d88
UD
10006 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10007 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10008 if buffer was too small.
10009
27724598
UD
10010 * elf/pldd.c (main): Attach to all threads in the process.
10011 Rewrite /proc handling to use *at functions.
10012
076fe015
UD
100132011-08-16 Ulrich Drepper <drepper@gmail.com>
10014
174baab3
UD
10015 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10016 specifies first scope to show.
10017 (dl_open_worker): Update callers. Move printing scope of new
10018 object to before the relocation.
44f0a71e 10019 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10020 * sysdeps/generic/ldsodefs.h: Update declaration.
10021
076fe015
UD
10022 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10023 string for the scope number.
10024
a60df2c3
UD
100252011-08-14 Ulrich Drepper <drepper@gmail.com>
10026
10027 * nscd/servicescache.c (cache_addserv): Make sure written is always
10028 initialized.
10029
5e4287d1
RM
100302011-08-14 Roland McGrath <roland@hack.frob.com>
10031
85ae0589
RM
10032 * sysdeps/i386/i486/bits/atomic.h
10033 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10034 statement expression, so as to suppress "set but not used" warning.
10035 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10036
69f63097
RM
10037 * string/strncat.c (STRNCAT): Use prototype definition.
10038
675456ef
RM
10039 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10040 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10041 -Iprograms here.
10042 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10043 (localedef-modules): Add localedef.
10044 (locale-modules): Add locale.
10045
5e4287d1
RM
10046 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10047 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10048 to avoid a warning.
10049
9c96ff23
DM
100502011-08-14 David S. Miller <davem@davemloft.net>
10051
10052 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10053 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10054
f9ddf089
UD
100552011-08-13 Ulrich Drepper <drepper@gmail.com>
10056
44f0a71e 10057 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10058 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10059 * elf/rtld.c (dl_main): Set l_name of vDSO.
10060 Call _dl_show_scope when DL_DEBUG_SCOPES.
10061 (process_dl_debug): Recognize scopes flag and also set it for all.
10062 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10063 Declare _dl_show_scope.
10064
1dc27704
UD
10065 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10066 (do_dlopen): Pass caller_dlopen to dl_open.
10067 (__libc_dlopen_mode): Initialize caller_dlopen.
10068
f9ddf089
UD
10069 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10070 of libc. Make tolower call locale-independent. Optimize a bit by
10071 using isdigit instead of isalnum.
10072 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10073
9ac533d3
UD
100742011-08-12 Ulrich Drepper <drepper@gmail.com>
10075
10076 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10077 was a dependency or dynamically loaded.
10078
89edf2e9
UD
100792011-08-11 Ulrich Drepper <drepper@gmail.com>
10080
8e999d29
UD
10081 * intl/l10nflist.c: Allow architecture-specific pop function.
10082 * sysdeps/x86_64/l10nflist.c: New file.
10083
89edf2e9
UD
10084 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10085 classification.
10086
14d96785
AS
100872011-08-10 Andreas Schwab <schwab@redhat.com>
10088
10089 * include/dirent.h: Add libc_hidden_proto for scandirat and
10090 scandirat64. Don't declare __scandirat64.
10091 * dirent/scandirat.c: Add libc_hidden_def.
10092 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10093 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10094
6761ac04
DM
100952011-08-10 David S. Miller <davem@davemloft.net>
10096
10097 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10098 enum.
10099 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10100 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10101 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10102
c55fbd1e
UD
101032011-08-09 Ulrich Drepper <drepper@gmail.com>
10104
10105 * Versions.def [libc]: Add GLIBC_2.15.
10106 * dirent/Makefile (routines): Add scandirat and scandirat64.
10107 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10108 GLIBC_2.15.
10109 * dirent/dirent.h: Declare scandirat and scandirat64.
10110 * dirent/scandirat.c: New file.
10111 * dirent/scandirat64.c: New file.
10112 * sysdeps/wordsize-64/scandirat.c: New file.
10113 * sysdeps/wordsize-64/scandirat64.c: New file.
10114 * dirent/opendir.c: Define opendirat.
10115 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10116 using scandirat.
10117 * dirent/scandir64.c: Adjust for scandir.c change.
10118 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10119 __scandirat64, and __scandir_cancel_handler.
10120 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10121 additional parameter and use openat instead of open (outside of ld.so).
10122 Add new __opendir as wrapper around __opendirat.
10123 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10124 here without requiring old scandirat implementation.
10125
879165f2
UD
101262011-08-08 Ulrich Drepper <drepper@gmail.com>
10127
10128 * dirent/scandir.c (cancel_handler): Renamed to
10129 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10130 defined. Adjust users.
10131 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10132 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10133
cb7e923b
UD
101342011-08-04 Ulrich Drepper <drepper@gmail.com>
10135
16292edd
UD
10136 * string/test-string.h (IMPL): Use __STRING to expand name and then
10137 stringify it.
10138
cb7e923b
UD
10139 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10140 of cleanups.
10141
cff82933
LD
101422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10143
10144 * string/Makefile: Update.
10145 (strop-tests): Append strncat.
10146 * string/test-wcscmp.c: New file.
10147 New comprehensive test for wcscmp.
10148 * string/test-strcmp.c: Update.
10149 (WIDE): New define.
10150
9be9bfcc
AS
101512011-07-22 Andreas Schwab <schwab@redhat.com>
10152
10153 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10154 line.
10155
2e96f1c7
AS
101562011-07-26 Andreas Schwab <schwab@redhat.com>
10157
10158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10159 encoding to ACE if AI_IDN.
10160
85188888
JJ
101612011-08-01 Jakub Jelinek <jakub@redhat.com>
10162
10163 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10164 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10165
5fa16e9b
LD
101662011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10167
10168 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10169 Fix overflow bug in strncat.
10170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10171
10172 * string/test-strncat.c: Update.
10173 Add new tests for checking overflow bugs.
10174
101752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10176
10177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10178 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10179 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10180 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10181 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10182 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10183 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10184 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10185 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10186
10187 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10188 (USE_AS_STRCAT): Define.
10189 Add strcat and strncat support.
10190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10191
8c1a459f
AS
101922011-07-25 Andreas Schwab <schwab@redhat.com>
10193
10194 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10195 __n bigger than INT_MAX+1.
10196 (__strncmp_g): Likewise.
10197
bba33c28
UD
101982011-07-23 Ulrich Drepper <drepper@gmail.com>
10199
798be72d
UD
10200 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10201 * libio/stido.h: Likewise.
10202
8accd4dc
UD
10203 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10204 (AF_NFC): Define.
10205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10206 (AF_NFC): Define.
10207
cbff0d96
UD
10208 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10209 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10210 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10211 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10213
9191c04a
UD
10214 [BZ #13021]
10215 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10216 installed.
10217
bba33c28
UD
10218 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10219 typo.
10220 (_dl_x86_64_save_sse): Likewise.
10221
90f139dd
UD
102222011-07-22 Ulrich Drepper <drepper@gmail.com>
10223
1aae088a
UD
10224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10225 OSXSAVE.
10226 (_dl_x86_64_save_sse): Likewise.
10227
8e2045f5
UD
10228 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10229
90f139dd
UD
10230 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10231
1d002f25
AS
102322011-07-21 Andreas Schwab <schwab@redhat.com>
10233
10234 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10235 change.
10236 (_dl_x86_64_save_sse): Use correct AVX check.
10237
21137f89
UD
102382011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10239
10240 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10241 bug in strncpy/strncat.
10242 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10243
a65c0b7a
UD
102442011-07-21 Ulrich Drepper <drepper@gmail.com>
10245
10246 * string/tester.c (test_strcat): Add tests for different alignments
10247 of source and destination.
10248 (test_strncat): Likewise.
10249
6986b98a
UD
102502011-07-20 Ulrich Drepper <drepper@gmail.com>
10251
90bb2039
UD
10252 [BZ #12852]
10253 * posix/glob.c (glob): Check passed in values before using them in
10254 expressions to avoid some overflows.
10255 (glob_in_dir): Likewise.
10256
5644ef54
UD
10257 [BZ #13007]
10258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10259 check for AVX enablement so that we don't crash with old kernels and
10260 new hardware.
10261 * elf/tst-audit4.c: Add same checks here.
10262 * elf/tst-audit6.c: Likewise.
10263
10264 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10265
bfc9dc9b
AS
102662011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10267
10268 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10269
702e64bb
UD
102702011-07-20 Ulrich Drepper <drepper@gmail.com>
10271
10272 * po/cs.po: Update from translation team.
10273 * po/bg.po: Likewise.
10274
295e904f
MP
102752011-07-12 Marek Polacek <mpolacek@redhat.com>
10276
10277 * misc/sys/cdefs.h: Add support for const attribute.
10278 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10279 to gnu_dev_{major,minor,makedev} functions.
10280
3ff94596
MP
102812011-07-20 Marek Polacek <mpolacek@redhat.com>
10282
10283 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10284
28b59fca
AS
102852011-07-20 Andreas Schwab <schwab@redhat.com>
10286
10287 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10288 strlen results.
10289
19df733e
AK
102902011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10291
10292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10293 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10294 register in order to avoid conflicts with the soft frame pointer
10295 being held in r11 when necessary.
10296 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10297 (INTERNAL_VSYSCALL_NCS): Likewise.
10298
c8835729
MP
102992011-07-14 Marek Polacek <mpolacek@redhat.com>
10300
10301 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10302 * elf/dl-fini.c (_dl_fini): Adjust caller.
10303 * elf/dl-close.c (_dl_close_worker): Likewise.
10304 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10305
b902330c
MP
103062011-07-15 Marek Polacek <mpolacek@redhat.com>
10307
8991e135
MP
10308 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10309 "aux_cache->nlibs < 0".
10310
b902330c
MP
10311 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10312 in the reload-count case.
10313
99710781
LD
103142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10315
10316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10317 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10318 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10319 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10320 * sysdeps/x86_64/multiarch/strcat.S: New file.
10321 * sysdeps/x86_64/multiarch/strncat.S: New file.
10322 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10323 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10324 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10325 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10326 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10327 (USE_AS_STRCAT): Define.
10328 Add strcat and strncat support.
10329 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10330 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10331 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10332 * string/strncat.c: Update.
10333 (USE_AS_STRNCAT): Define.
10334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10335 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10336 and i7.
10337 * sysdeps/x86_64/multiarch/init-arch.h
10338 (bit_Prefer_PMINUB_for_stringop): New.
10339 (index_Prefer_PMINUB_for_stringop): Likewise.
10340 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10341 bit_Prefer_PMINUB_for_stringop.
10342
7dc6bd90
UD
103432011-07-19 Ulrich Drepper <drepper@gmail.com>
10344
10345 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10346 buffer64.
10347 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10348 of casting of buffer.
10349 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10350 buffer32 and buffer64.
10351 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10352 writes instead of casting of buffer.
10353 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10354 buffer32.
10355 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10356 casting of buffer.
10357
e0e72284
AS
103582011-07-19 Andreas Schwab <schwab@redhat.com>
10359
10360 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10361
feb1eb0b
UD
103622011-07-19 Ulrich Drepper <drepper@gmail.com>
10363
10364 * nscd/nscd.c (termination_handler): Don't do anything for a database
10365 if it has not yet been initialized.
10366
298711ff
UD
103672011-07-18 Ulrich Drepper <drepper@gmail.com>
10368
10369 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10370
103712011-07-15 Marek Polacek <mpolacek@redhat.com>
10372
10373 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10374
f9d68389
UD
103752011-07-18 Ulrich Drepper <drepper@gmail.com>
10376
10377 * po/nl.po: Update from translation team.
10378 * po/sv.po: Likewise.
10379
db290cf5
RM
103802011-07-16 Roland McGrath <roland@hack.frob.com>
10381
10382 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10383 now disallowed by GCC.
5c550700 10384
fd5e21c7
RM
10385 * configure.in (use-default-link): Default to yes if a test -shared
10386 link meets our qualifications.
10387 * configure: Regenerated.
10388
5c550700
RM
10389 * config.make.in (output-format): New variable.
10390 * configure.in: Check for ld --print-output-format support.
10391 * configure: Regenerated.
10392 * Makerules ($(common-objpfx)format.lds)
10393 [$(output-format) != unknown]: Just use $(output-format),
10394 instead of the linker-script munging.
10395
9fa2c032
RM
103962011-07-14 Roland McGrath <roland@hack.frob.com>
10397
a6928d51
RM
10398 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10399 of $(common-objpfx)shlib.lds.
10400 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10401
661607b3
RM
10402 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10403 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10404
9fa2c032
RM
10405 * configure.in (-z relro check): Adjust test code to add a large
10406 writable data section after it.
10407 * configure: Regenerated.
10408
defe9061
RM
104092011-07-11 Roland McGrath <roland@hack.frob.com>
10410
10411 * configure.in (-z relro check): Fix test code to make the variable
10412 truly const.
10413 * configure: Regenerated.
10414
319b9ad4
UD
104152011-07-11 Ulrich Drepper <drepper@gmail.com>
10416
10417 * nscd/nscd.h (struct traced_file): Define.
10418 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10419 elements. Add traced_files.
10420 (inotify_fd): Declare.
10421 (register_traced_file): Declare.
10422 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10423 (inotify_fd): Export.
10424 (resolv_conf_descr): Remove.
10425 (nscd_init): Move inotify descriptor creation to main.
10426 Don't register files for notification here.
10427 (register_traced_file): New function.
10428 (invalidate_cache): Don't use reset_res to determine whether to call
10429 res_init, go through the list of registered files.
10430 (main_loop_poll): The inotify descriptors are now stored in the
10431 structures for the traced files.
10432 (main_loop_epoll): Likewise
10433 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10434 to __nss_disable_nscd.
10435 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10436 for a database anymore. Check the records for all the registered
10437 files instead.
10438 * nss/Makefile (libnss_files-routines): Add files-init.
10439 (libnss_db-routines): Add db-init.
10440 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10441 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10442 * nss/nss_db/db-init.c: New file.
10443 * nss/nss_files/files-init.c: New file.
10444 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10445 __nss_lookup_function.
10446 (__nss_lookup_function): Call nss_load_library.
10447 (nss_load_all_libraries): New function.
10448 (__nss_disable_nscd): Take parameter with callback function for files
10449 to register. Set is_nscd. Load all the DSOs for the NSS modules
10450 used for the cached services.
10451 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10452 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10453 options for features to all the files in nscd.
10454
10455 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10456
23bee3e8
RM
104572011-07-10 Roland McGrath <roland@hack.frob.com>
10458
10459 * csu/elf-init.c (__libc_csu_init): Comment typo.
10460
46a5b7f0
UD
104612011-07-09 Ulrich Drepper <drepper@gmail.com>
10462
10463 * po/pl.po: Update from translation team.
10464 * po/ja.po: Likewise.
10465 * po/ru.po: Likewise.
10466 * po/ko.po: Likewise.
10467 * po/fr.po: Likewise.
10468
d30cf5bb
RM
104692011-07-09 Roland McGrath <roland@hack.frob.com>
10470
113ddea4
RM
10471 * configure.in (.ctors/.dtors header and trailer check):
10472 Use an empirical test on a built program.
10473 * configure: Regenerated.
10474
574920b4
RM
10475 * configure.in (-z relro check): Use an empirical test on a built DSO.
10476 Detect, but do not require, on ia64.
10477 * configure: Regenerated.
10478
d30cf5bb
RM
10479 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10480 Update tests that use readelf to use $READELF instead.
10481 * configure: Regenerated.
10482
8538fdb3
UD
104832011-07-08 Ulrich Drepper <drepper@gmail.com>
10484
10485 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10486 if the result is not used.
10487
04d08991
AJ
104882011-07-05 Andreas Jaeger <aj@suse.de>
10489
10490 [BZ#9696]
10491 * stdlib/tst-strtod.c: Add testcase.
10492
de283087
AD
104932011-07-07 Ulrich Drepper <drepper@gmail.com>
10494
4e5f31c8 10495 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10496 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10497 The latter has a higher limit. Take additional parameter to pass to
10498 the new function.
10499 (__pathconf): Pass file to __statfs_link_max.
10500 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10501 __statfs_link_max.
10502 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10503 __statfs_link_max.
10504
de283087
AD
10505 [BZ #12868]
10506 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10507 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10508 Handle Lustre.
10509 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10510 (__statfs_filesize_max): Likewise.
10511 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10512
c75fa153
AJ
105132011-07-05 Andreas Jaeger <aj@suse.de>
10514
10515 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10516
1a544854
UD
105172011-07-06 Marek Polacek <mpolacek@redhat.com>
10518
10519 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10520 `status' variable.
10521 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10522 Likewise.
10523
6f0eec67
UD
105242011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10525
10526 * Makefile (strop-tests): Add strncat.
10527 * string/test-strncat.c: New file.
10528
aae30307
UD
105292011-06-30 Marek Polacek <mpolacek@redhat.com>
10530
10531 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10532
c0cfb5eb
UD
105332011-06-21 Andreas Jaeger <aj@suse.de>
10534
10535 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10536 Copy rule from iconvdata/Makefile.
10537
01636b21
UD
105382011-07-06 Ulrich Drepper <drepper@gmail.com>
10539
10540 [BZ #12922]
10541 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10542 but no long options are defined, just return 'W'.
10543
9895c8bc
UD
105442011-06-22 Marek Polacek <mpolacek@redhat.com>
10545
10546 [BZ #9696]
10547 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10548
5d4cf042
UD
105492011-07-06 Ulrich Drepper <drepper@gmail.com>
10550
10551 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10552 netgroups to read.
960e5535 10553 (innetgr): Likewise.
5d4cf042 10554
751eb97e
RM
105552011-07-05 Roland McGrath <roland@hack.frob.com>
10556
10557 * config.make.in (install_root): Default to $(DESTDIR).
10558
f15f1e45
UD
105592011-07-05 Ulrich Drepper <drepper@gmail.com>
10560
10561 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10562
4e34ac6a
RM
105632011-07-02 Roland McGrath <roland@hack.frob.com>
10564
5e9b6af4
RM
10565 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10566
84f9ea0f
RM
10567 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10568 containing directory rather than embedding absolute directory names.
10569
ea5ee9f7
RM
10570 * scripts/check-local-headers.sh: Rewritten using awk.
10571 Match by word, not by line. Print error messages for matches.
10572 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10573
1b74661a
RM
10574 * Makerules [shlib-lds-flags empty]:
10575 ($(common-objpfx)libc_pic.opts): New target.
10576 ($(common-objpfx)libc_pic.os.clean): New target.
10577 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10578
10579 * config.make.in (OBJCOPY): New variable.
10580 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10581 * configure: Regenerated.
10582
f781ef40
RM
10583 * config.make.in (use-default-link): New variable.
10584 * configure.in (use_default_link): Grok --with-default-link to set it.
10585 * configure: Regenerated.
10586 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10587 (shlib-lds, shlib-lds-flags): Define to empty.
10588
2d4fa81e
RM
10589 * Makerules (shlib-lds): New variable.
10590 (shlib-lds-flags): New variable.
10591 (build-shlib, build-moduile, build-module-asneeded): Use it.
10592 ($(common-objpfx)libc.so): Use $(shlib-lds).
10593 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10594 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10595
31fffa6b
RM
10596 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10597 DT_FLAGS/DT_FLAGS_1 with zero flags.
10598
4e34ac6a
RM
10599 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10600 linker script munging.
10601
fcfc776b
UD
106022011-07-02 Ulrich Drepper <drepper@gmail.com>
10603
10604 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10605 as 128-bit value.
10606 * crypt/sha512.c (sha512_process_block): Perform total addition using
10607 128-bit if possible.
10608 (__sha512_finish_ctx): Likewise.
10609 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10610 as 64-bit value.
10611 * crypt/sha256.c (SWAP64): Define.
10612 (sha256_process_block): Perform total addition using 64-bit if
10613 possible.
10614 (__sha256_finish_ctx): Likewise.
10615
99231d9a
UD
106162011-07-01 Ulrich Drepper <drepper@gmail.com>
10617
10618 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10619 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10620 * nscd/hstcache.c (cache_addhst): Likewise.
10621 * nscd/grpcache.c (cache_addgr): Likewise.
10622 * nscd/aicache.c (addhstaiX): Likewise
10623 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10624
445b4a53
TK
106252011-07-01 Thorsten Kukuk <kukuk@suse.de>
10626
10627 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10629 * nscd/hstcache.c (cache_addhst): Likewise.
10630 * nscd/grpcache.c (cache_addgr): Likewise.
10631 * nscd/aicache.c (addhstaiX): Likewise
10632
6d4d8e8e
AS
106332011-07-01 Andreas Schwab <schwab@redhat.com>
10634
10635 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10636 domain only when needed.
10637
89f654c5
AS
106382011-06-30 Andreas Schwab <schwab@redhat.com>
10639
10640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10641 is always restored.
10642
cf3b23ff
UD
106432011-06-29 Ulrich Drepper <drepper@gmail.com>
10644
10645 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10646 are re-adding the entry.
10647 * nscd/servicescache.c (cache_addserv): Likewise.
10648
751626f9
AJ
106492011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10650
10651 * sysdeps/generic/dl-irel.h: fix protection against multiple
10652 inclusions.
10653 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10654
9113ea1f
UD
106552011-06-28 Ulrich Drepper <drepper@gmail.com>
10656
5c0b8d90
UD
10657 [BZ #12935]
10658 * malloc/memusage.sh: Fix quoting in message.
10659 * debug/xtrace.sh: Likewise.
10660
9113ea1f
UD
10661 * configure.in: Remove support for --experimental-malloc option, make
10662 it the default.
10663 * config.make.in: Likewise.
10664 * malloc/Makefile: Likewise.
10665
a4172181
AS
106662011-06-27 Andreas Schwab <schwab@redhat.com>
10667
10668 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10669 two-byte characters.
10670
78a7eee7
RM
106712011-06-27 Roland McGrath <roland@hack.frob.com>
10672
62bede13
RM
10673 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10674 AC_CACHE_CHECK invocation.
10675 * configure: Regenerated.
10676
78a7eee7
RM
10677 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10678
5ce33a62
UD
106792011-06-27 Ulrich Drepper <drepper@gmail.com>
10680
034807a9
UD
10681 [BZ #12350]
10682 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10683 bit from old_res_options.
10684
4902da17
UD
10685 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10686
5ce33a62
UD
10687 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10688 value type for setfct.
10689
c2344f56
L
106902011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10691
10692 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10693 __gettimeofday instead of gettimeofday.
10694
68468076
UD
106952011-06-26 Ulrich Drepper <drepper@gmail.com>
10696
10697 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10698
acb0d739
L
106992011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10700
10701 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10702
10703 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10704 info.
10705
8912479f
L
107062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10707
10708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10709 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10710 strcpy-sse2-unaligned strncpy-sse2-unaligned
10711 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10712 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10713 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10714 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10715 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10716 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10717 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10718 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10719 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10720 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10721 (STRCPY): Support SSE2 and SSSE3 versions.
10722
d5495a11
UD
107232011-06-24 Ulrich Drepper <drepper@gmail.com>
10724
10725 [BZ #12874]
10726 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10727 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10728 kernels which artificially limit size of requests.
10729
0b1cbaae
L
107302011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10731
10732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10733 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10734 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10735 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10736 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10737 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10738 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10739 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10740 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10741 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10742 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10743 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10744 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10745 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10746 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10748 Enable unaligned load optimization for Intel Core i3, i5 and i7
10749 processors.
10750 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10751 Define.
10752 (index_Fast_Unaligned_Load): Define.
10753 (HAS_FAST_UNALIGNED_LOAD): Define.
10754
07f494a0
MP
107552011-06-23 Marek Polacek <mpolacek@redhat.com>
10756
10757 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10758
fa3fc0fe
UD
107592011-06-22 Ulrich Drepper <drepper@gmail.com>
10760
10761 [BZ #12907]
10762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10763 until it is clear that the information is realy needed.
10764 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10765
e12df166
AS
107662011-06-22 Andreas Schwab <schwab@redhat.com>
10767
10768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10769
852eb34d
UD
107702011-06-22 Ulrich Drepper <drepper@gmail.com>
10771
84e2a551
UD
10772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10773 /sys/devices/system/cpu/online if it is usable.
10774
852eb34d
UD
10775 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10776 reading the information from the /proc filesystem to once a second.
10777
6e502e19
UD
107782011-06-21 Andreas Jaeger <aj@suse.de>
10779
10780 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10781 NULL after inclusion of kernel headers.
10782
75d39ff2
UD
107832011-06-21 Ulrich Drepper <drepper@gmail.com>
10784
51f9aa6a
UD
10785 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10786 calls to internal_setent.
10787
c0244a9d
UD
10788 [BZ #12885]
10789 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10790 addresses using gethostbyname4_r ignore IPv4 addresses.
10791
c5e3c2ae
UD
10792 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10793 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10794
75d39ff2
UD
10795 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10796
42675c6f
DM
107972011-06-20 David S. Miller <davem@davemloft.net>
10798
10799 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10800 inclusions.
10801 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10802
10803 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10804 (elf_irel): Use it.
10805 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10806 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10807 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10808 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10809 * sysdeps/x86_64/dl-irel.h: Likewise.
10810
10811 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10812 * elf/dl-sym.c: Likewise.
10813
57912a71
UD
108142011-06-15 Ulrich Drepper <drepper@gmail.com>
10815
10816 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10817 need to dereference resplen2.
10818
ee22793d
AS
108192011-06-14 Andreas Schwab <schwab@redhat.com>
10820
10821 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10822
a9e836b0
UD
108232011-06-15 Ulrich Drepper <drepper@gmail.com>
10824
77fb9117
UD
10825 * Makeconfig: Define vardbdir and inst_vardbdir.
10826 * nss/Makefile: Add rules to install db-Makefile.
10827
40c1b22c
UD
10828 * nss/nss_db/db-XXX.c: Cleanup.
10829
9f2da732
UD
10830 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10831 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10832 GLIBC_PRIVATE.
10833 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10834 * nss/makedb.c: Implement -g option to specify that value strings
10835 are generated and should not be added to table iterated over for
10836 get*ent calls.
10837 * nss/nss_db/db-initgroups.c: New file.
10838
82e9a1f7
UD
10839 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10840 interface.
10841
c41af17e
UD
10842 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10843 (internal_getgrouplist): Adjust to name change.
10844 Update use_initgroups_entry if this is not the first call.
10845 * nss/databases.def: Add initgroups entry.
10846
a9e836b0
UD
10847 * nss/makedb.c (compute_tables): Check result of multiple hash table
10848 sizes to minimize maximum chain length.
10849
2666d441
UD
108502011-06-14 Ulrich Drepper <drepper@gmail.com>
10851
10852 * Versions.def: Add entry for libnss_db.
10853 * shlib-versions: Likewise.
10854 * nss/Makefile: Add rules to build libnss_db.
10855 * nss/Versions: Add libnss_db information. Organize libnss_files
10856 entries better.
10857 * nss/db-Makefile: Add gshadow support. Change rules for the new
10858 makedb progra. Some minor improvements to generate smaller files.
10859 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10860 here from...
10861 * nss/makedb.c: ...here.
10862 Improve database format to be smaller and require less memory at
10863 runtime.
10864 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10865 db anymore.
10866 * nss/nss_db/db-netgrp.c: Likewise.
10867 * nss/nss_db/db-open.c: Likewise.
10868 * nss/nss_files/flies-XXX.x: Adjust comments.
10869 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10870 * nss/nss_files/files-grp.c: Likewise.
10871 * nss/nss_files/files-hosts.c: Likewise.
10872 * nss/nss_files/files-network.c: Likewise.
10873 * nss/nss_files/files-proto.c: Likewise.
10874 * nss/nss_files/files-pwd.c: Likewise.
10875 * nss/nss_files/files-rpc.c: Likewise.
10876 * nss/nss_files/files-service.c: Likewise.
10877 * nss/nss_files/files-sgrp.c: Likewise.
10878 * nss/nss_files/files-spwd.c: Likewise.
10879 * nss/nss_db/db-alias.c: Removed.
10880 * nss/nss_db/dummy-db.h: Removed.
10881
9ee76b5a
UD
108822011-06-02 Ulrich Drepper <drepper@gmail.com>
10883
10884 * nss/makedb.c: Rewritten to not use database library.
10885 * nss/Makefile: Update to build new makedb program.
10886
c71ca1f8
AJ
108872011-06-14 Andreas Jaeger <aj@suse.de>
10888
10889 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10890 memset declaration.
10891
3154bfb8
UD
108922011-06-10 Andreas Schwab <schwab@redhat.com>
10893
10894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10895 tmpbuf.
10896
b350afab
RM
108972011-06-10 Roland McGrath <roland@hack.frob.com>
10898
decd4e50
RM
10899 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10900 * elf/Makefile ($(objpfx)ld.so): Likewise.
10901
5615eaf2
RM
10902 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10903 Don't list ld.so twice in dependencies.
10904
10905 * posix/bug-regex31.c: Include <stdlib.h>.
10906
10907 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10908
10909 * nis/nss_compat/compat-spwd.c
10910 (getspent_next_nss_netgr): Remove unused variable.
10911 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10912
10913 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10914 nonmembers" output to use the right array.
10915
10916 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10917
10918 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10919
10920 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10921 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10922 * catgets/gencat.c (read_input_file): Likewise.
10923 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10924
10925 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10926 variable definition inside #if's controlling its use.
10927
10928 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10929
10930 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10931
10932 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10933
10934 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10935 unreachable code.
10936
10937 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10938
b68e08db
RM
10939 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10940 * configure: Regenerated.
10941
b350afab
RM
10942 * Makerules: Revert last change.
10943 * elf/Makefile: Likewise.
10944
28368601
RM
109452011-06-09 Roland McGrath <roland@hack.frob.com>
10946
10947 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10948 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10949 (reloc-link): Likewise.
10950
11988f8f
UD
109512011-06-09 Ulrich Drepper <drepper@gmail.com>
10952
10953 * elf/Makefile: Add rules to build pldd.
10954 * elf/pldd.c: New file.
10955 * elf/pldd-xx.c: New file.
10956
e80fab37
UD
109572011-06-07 Ulrich Drepper <drepper@gmail.com>
10958
10959 * version.h: Update for 2.15 development version.
10960
9b849836
DM
109612011-06-07 David S. Miller <davem@davemloft.net>
10962
10963 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10964 ifuncs.
10965 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10966 elf_machine_lazy_rel): Likewise.
10967 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10968 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10969 elf_machine_lazy_rel): Likewise.
10970 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10971 dl_hwcap via passed in argument.
10972 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10973 Likewise.
10974
5a31b283
AK
109752011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10976
10977 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10978
069e52f8
RM
109792011-06-06 Roland McGrath <roland@hack.frob.com>
10980
10981 [BZ #12849]
10982 * manual/fdl-1.1.texi: New file, verbatim from:
10983 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10984 * manual/lgpl-2.1.texi: New file, verbatim from:
10985 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10986 * manual/Makefile (licenses): New variable, list those new file names.
10987 (texis): Use it.
10988 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10989
10990 * manual/fdl.texi: File removed.
10991 * manual/lesser.texi: File removed.
10992 * manual/libc.texinfo (Copying, Documentation License):
10993 Use new @include file names, put @appendix directive before @include.
10994
f16846a5
JJ
109952011-06-04 Jakub Jelinek <jakub@redhat.com>
10996
10997 [BZ #12841]
10998 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10999 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11000 (mq_open): Add __NTH.
11001
3d29045b
L
110022011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11003
11004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11005 Assume Intel Core i3/i5/i7 processor if AVX is available.
11006
8c297311
UD
110072011-05-31 Ulrich Drepper <drepper@gmail.com>
11008
11009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11010 typo.
11011
c8fc0c91
UD
110122011-05-31 Andreas Schwab <schwab@redhat.com>
11013
11014 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11015 memory. Use alloca_account. Fix memory leak when retrying.
11016
5b27a807
UD
110172011-05-31 Ulrich Drepper <drepper@gmail.com>
11018
356f8bc6
UD
11019 * version.h (RELEASE): Bump for 2.14 release.
11020 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11021
5b27a807
UD
11022 * config.make.in (RANLIB): Remove entry.
11023
01f16ab0
UD
110242011-05-30 Ulrich Drepper <drepper@gmail.com>
11025
41fce8bd
UD
11026 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11027 (libc.pot): Work around missing support for .ksh extension in xgettext.
11028
4769ae77
UD
11029 [BZ #12684]
11030 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11031 if both request failed.
11032 (send_dg): In case of server errors clear resplen or *resplen2.
11033
6b1e7d19
UD
11034 [BZ #12454]
11035 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11036 when there are multiple maps.
11037 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11038 (_dl_fini): Remove test here.
11039
01f16ab0
UD
11040 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11041
b1ebd700
UD
110422011-05-29 Ulrich Drepper <drepper@gmail.com>
11043
7ae22829
UD
11044 [BZ #12350]
11045 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11046 bit from old_res_options.
11047 (gaih_inet): Likewise.
11048
553149f6 11049 [BZ #11099]
18a84741 11050 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11051 as signed.
11052
652ffab1
UD
11053 * resolv/res_init.c (res_setoptions): Make the code more compact.
11054
16985fd0
UD
11055 [BZ #11558]
11056 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11057 set RES_USEVC.
11058
0464f746
UD
11059 [BZ #11634]
11060 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11061
7d17596c
UD
11062 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11063
cf6bbbd7
UD
11064 [BZ #11781]
11065 * malloc/malloc.h: Declare malloc hook variables as volatile.
11066
13f1ab36
UD
11067 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11068 in last patch.
11069
b1ebd700
UD
11070 [BZ #11799]
11071 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11072 raise in the comment.
80e2212d
UD
11073 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11074 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11075 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11076
ce67228d
UD
110772011-05-28 Ulrich Drepper <drepper@gmail.com>
11078
8887a920
UD
11079 [BZ #12811]
11080 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11081 grow the buffers more if it already has to be sufficient.
11082 (build_wcs_upper_buffer): Likewise.
11083 * posix/regexec.c (check_matching): Likewise.
11084 (clean_state_log_if_needed): Likewise.
11085 (extend_buffers): Don't enlarge buffers beyond size of the input
11086 buffer.
11087 Patches mostly by Emil Wojak <emil@wojak.eu>.
11088 * posix/bug-regex32.c: New file.
11089 * posix/Makefile (tests): Add bug-regex32.
11090
4f031072
UD
11091 * locale/findlocale.c (_nl_find_locale): Return right away if
11092 _nl_explode_name failed.
11093 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11094
d0478f0c
UD
11095 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11096
de81b246
UD
11097 * debug/xtrace.sh: Unify messages.
11098 * malloc/memusage.sh: Likewise.
11099
c738465a
UD
11100 [BZ #12813]
11101 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11102 time symbol from vDSO. Substitute with vsyscall if not available.
11103 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11104 __vdso_time.
11105
f1f929d7
UD
11106 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11107 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11108 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11109 Add sendmmsg and internal_sendmmsg.
11110 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11111 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11112 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11113
ce67228d
UD
11114 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11115 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11116 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11117
e57420c6
UD
111182011-05-27 Ulrich Drepper <drepper@gmail.com>
11119
a8509ca5
UD
11120 [BZ #12813]
11121 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11122 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11123 available.
11124 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11125 __vdso_getcpu.
11126
e57420c6
UD
11127 [BZ #12814]
11128 * iconvdata/Makefile (tests): Add bug-iconv9.
11129 * iconvdata/bug-iconv9.c: New file.
11130
4d07db15
AS
111312011-05-27 Andreas Schwab <schwab@redhat.com>
11132
11133 [BZ #12814]
11134 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11135
ea486f69
JJ
111362011-05-25 Jakub Jelinek <jakub@redhat.com>
11137
11138 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11139 (struct user_regs_struct): Change intcs field back to cs.
11140
6f038433
UD
111412011-05-25 Ulrich Drepper <drepper@gmail.com>
11142
11143 * po/ja.po: Update from translation team.
11144
67f86a25
UD
111452011-05-23 Ulrich Drepper <drepper@gmail.com>
11146
11147 [BZ #12795]
11148 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11149 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11150
def7fbd6
AS
111512011-05-20 Andreas Schwab <schwab@redhat.com>
11152
11153 * stdlib/longlong.h: Update from GCC.
11154
f50ef8f1
AS
111552011-05-23 Andreas Schwab <schwab@redhat.com>
11156
11157 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11158 parameter name.
11159 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11160 Add parameter name.
11161 (__sysconf): Pass it down.
11162
de7ce8f1
UD
111632011-05-22 Ulrich Drepper <drepper@gmail.com>
11164
f2962a71
UD
11165 [BZ #12671]
11166 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11167 some situations.
11168 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11169 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11170 add in in __libc_use_alloca calls. Adjust callers.
11171 (glob): Use malloc in some situations.
11172
de7ce8f1
UD
11173 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11174 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11175 pltexit.
11176
aec84f53
UD
111772011-05-21 Ulrich Drepper <drepper@gmail.com>
11178
05bb4a68
UD
11179 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11180 and CLOCK_BOOTTIME_ALARM.
11181
7ea72f99
UD
11182 [BZ #12782]
11183 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11184 is returned.
11185
7e4afad5
UD
11186 * string/_strerror.c (__strerror_r): Print negative errors as signed
11187 numbers.
11188
8e211fec
UD
11189 [BZ #12777]
11190 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11191 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11192 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11193
f7d82dc9
UD
11194 * configure.in: Fix typo in redirection and correct removal of test
11195 files in two cases.
11196
cc9e536d
UD
11197 [BZ #12788]
11198 * locale/setlocale.c (new_composite_name): Fix test to check for
11199 identical name of all categories.
11200
aec84f53
UD
11201 [BZ #12792]
11202 * libio/filedoalloc.c (local_isatty): New function.
11203 (_IO_file_doallocate): Use local_isatty.
11204 * stdio-common/perror.c (perror): In case a new stream is used
11205 forward the stream error.
11206 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11207 error flag.
11208
78e64fdc
RT
112092011-05-20 Ulrich Drepper <drepper@gmail.com>
11210
34a9094f
UD
11211 [BZ #11869]
11212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11213 alloca.
11214 * include/alloca.h (extend_alloca_account): Define.
11215
78e64fdc
RT
11216 [BZ #11857]
11217 * posix/regex.h: Fix comments with documentation of user-accessible
11218 fields after compilation and describe correct free'ing of pattern
11219 after re_compile_pattern.
11220 Patch by Reuben Thomas <rrt@sc3d.org>.
11221
457bddfc
RA
112222011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11223
11224 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11225 and -mno-altivec to prevent the compiler from using Altivec and/or
11226 VSX instructions when the corresponding registers are not available.
11227
a4527b51
AS
112282011-05-19 Andreas Schwab <schwab@redhat.com>
11229
11230 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11231
ed690b2f
UD
112322011-05-19 Ulrich Drepper <drepper@gmail.com>
11233
11234 * libio/freopen.c (freopen): Use __dup2, not dup2.
11235 * libio/freopen64.c (freopen64): Likewise.
11236
8db73634
L
112372011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11238
11239 [BZ #12775]
11240 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11241 * math/Makefile (tests): Add test-powl.
11242 (CFLAGS-test-powl.c): Define.
11243 * math/test-powl.c: New file.
11244
0a197a9d
L
112452011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11248
ee30c380
UD
112492011-05-17 Ulrich Drepper <drepper@gmail.com>
11250
11251 [BZ #11837]
11252 * iconvdata/gb18030.c: Update to GB18020-2005.
11253
6ce75379
UD
112542011-05-16 Ulrich Drepper <drepper@gmail.com>
11255
a4b89fd8
AR
11256 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11257 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11258 Patch by Aharon Robbins <arnold@skeeve.com>.
11259
ea389b12
UD
11260 [BZ #11892]
11261 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11262 on the stack.
11263
68a3f91f
UD
11264 [BZ #11895]
11265 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11266 through underflows.
11267
15cc7dd1
UD
11268 [BZ #12766]
11269 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11270 point to strings before performing equality test for error_one_per_line
11271 mode.
11272
f3799213
UD
11273 [BZ #11697]
11274 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11275
d79a9c94
UD
11276 [BZ #11820]
11277 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11278 (struct user_fpregs_struct): Avoid __uint*_t types.
11279
56e5eb46
UD
11280 [BZ #6420]
11281 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11282 symbol info. Use it instead of calling _dl_addr locally.
11283 (lock_and_info): New function.
11284 (tr_freehook): Call lock_and_info and pass symbol info as additional
11285 parameter to tr_where.
11286 (tr_mallochook): Likewise.
11287 (tr_reallochook): Likewise.
11288 (tr_memalignhook): Likewise.
11289
6ce75379
UD
11290 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11291 used and couldn't be at all thread-safe.
11292
f8a3b5bf
UD
112932011-05-15 Ulrich Drepper <drepper@gmail.com>
11294
94b7cc37
UD
11295 * libio/freopen.c (freopen): Don't close old file descriptor
11296 before the new one is opened. Instead dup the new file descriptor
11297 to the old one after the new stream is created.
11298 * libio/freopen64.c (freopen64): Likewise.
11299 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11300 * libio/fileops.c (_IO_new_file_close_it): Handle new
11301 _IO_FLAGS2_NOCLOSE flag.
11302 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11303 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11304 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11305 _IO_FLAGS2_NOCLOSE flag.
11306 * include/unistd.h: Add hidden_proto for dup3.
11307 Define __have_dup3.
11308 * io/dup3.c: Define hidden symbol.
11309 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11310
bd25564e
UD
11311 [BZ #7101]
11312 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11313 when an incomplete long option is used.
11314 * posix/tst-getopt_long1.c: New file.
11315 * posix/Makefile (tests): Add tst-getopt_long1.
11316
c84cfef4
UD
11317 [BZ #10138]
11318 * scripts/config.guess: Update from autoconf-2.68.
11319 * scripts/config.sub: Likewise.
11320
3b85df27
UD
11321 [BZ #10157]
11322 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11323 tests into ...
11324 (has_cpuclock): ...this. New function.
11325 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11326 macro here based on has_cpuclock code.
11327
15a856b1
UD
11328 [BZ #10149]
11329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11330 First byte (not low byte) is now always NUL.
11331 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11332
05f399e6
UD
11333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11334 Use non-cancelable interfaces.
11335
10a52685 11336 [BZ #9809]
94ecc67d
UD
11337 * locale/iso-639.def: Add entry for Sorani.
11338
f8a3b5bf
UD
11339 [BZ #11901]
11340 * include/stdlib.h: Move include protection to the right place.
11341 Define abort_msg_s. Declare __abort_msg with it.
11342 * stdlib/abort.c (__abort_msg): Adjust type.
11343 * assert/assert.c (__assert_fail_base): New function. Majority
11344 of code from __assert_fail. Allocate memory for __abort_msg with
11345 mmap.
11346 (__assert_fail): Now call __assert_fail_base.
11347 * assert/assert-perr.c: Remove bulk of implementation. Use
11348 __assert_fail_base.
11349 * include/assert.hL Declare __assert_fail_base.
11350 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11351 mmap.
11352 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11353
1af4e298
UD
113542011-05-14 Ulrich Drepper <drepper@gmail.com>
11355
f8a3b5bf 11356 [BZ #11952]
d26dfc60
MG
11357 [BZ #12453]
11358 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11359 until all modules are registered in the DTV.
11360 * elf/Makefile: Add rules to build and run tst-tls19.
11361 * elf/tst-tls19.c: New file.
11362 * elf/tst-tls19mod1.c: New file.
11363 * elf/tst-tls19mod2.c: New file.
11364 * elf/tst-tls19mod3.c: New file.
11365 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11366
2fc54d6f
UD
11367 [BZ #12083]
11368 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11369 correctly.
11370
98d76b46
UD
11371 [BZ #12601]
11372 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11373 two-byte sequence errors.
11374 * iconvdata/Makefile (tests): Add bug-iconv8.
11375 * iconvdata/bug-iconv8.c: New file.
11376
da3c19ef
UD
11377 [BZ #12626]
11378 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11379 buf2 definition.
11380
ca408c15
UD
11381 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11382
d6f67f7d
UD
11383 [BZ #12432]
11384 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11385 (dummy_getcfa): New function.
11386 (init): Get _Unwind_GetCFA address, use dummy if not found.
11387 (backtrace_helper): In recursion check, also check whether CFA changes.
11388 (__backtrace): Completely initialize arg.
11389
1af4e298 11390 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11391 storing incomplete byte sequence in state object. Avoid testing for
11392 guaranteed too small input if we know there is enough data available.
1af4e298 11393
da62f81b
AS
113942011-05-11 Andreas Schwab <schwab@redhat.com>
11395
11396 * Makeconfig (+link-pie): Indent.
11397 * Rules (binaries-pie): Define if $(have-fpie) and
11398 $(build-shared).
11399 (binaries-shared): Also filter out $(binaries-pie).
11400 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11401 * nscd/Makefile (others-pie): Add nscd.
11402 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11403 ($(objpfx)nscd): Remove command override.
11404 * login/Makefile (others-pie): Add pt_chown.
11405 ($(objpfx)pt_chown): Remove command override.
11406 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11407 remove command overrides.
11408
fcabc0f8
UD
114092011-05-13 Ulrich Drepper <drepper@gmail.com>
11410
20030ae6
UD
11411 * libio/tst_putwc.c: Fix error messages.
11412
fcabc0f8
UD
11413 [BZ #12724]
11414 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11415 currently writing and seek to current position when not.
11416 * libio/Makefile (tests): Add bug-fclose1.
11417 * libio/bug-fclose1.c: New file.
11418
320a5dc0
PB
114192011-05-12 Ulrich Drepper <drepper@gmail.com>
11420
11421 [BZ #12511]
11422 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11423 don't set DF_1_NODELETE here.
11424 (do_lookup_x): When entering new entry test for copy relocation
11425 and if necessary set DF_1_NODELETE flag.
11426 * elf/tst-unique4.cc: New file.
11427 * elf/tst-unique4.h: New file.
11428 * elf/tst-unique4lib.cc: New file.
11429 * elf/Makefile: Add rules to build and run tst-unique4.
11430 Patch by Piotr Bury <pbury@goahead.com>.
11431
22836f52
UD
114322011-05-11 Ulrich Drepper <drepper@gmail.com>
11433
f574184a
UD
11434 [BZ #12052]
11435 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11436
e1fb097f
UD
11437 [BZ #12625]
11438 * misc/mntent_r.c (addmntent): Flush the stream after the output
11439
22836f52
UD
11440 [BZ #12393]
11441 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11442 (is_trusted_path_normalize): Skip initial colon. Append slash
11443 to empty buffer. Duplicate is_trusted_path code but allow
11444 constructed patch to be prefix.
11445 (is_dst): Allow $ORIGIN followed by /.
11446 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11447 Correct testing of result of is_trusted_path_normalize
11448 (decompose_rpath): Fix warning.
11449
7b3b0b2a
UD
114502011-05-10 Ulrich Drepper <drepper@gmail.com>
11451
11452 [BZ #11257]
11453 * grp/initgroups.c (internal_getgrouplist): When we found the service
11454 list through the initgroups entry in nsswitch.conf do not always
11455 continue on a successful lookup. Don't always use the
eac80ce2 11456 __nss_group_database value if it is set.
7b3b0b2a
UD
11457 * nss/nsswitch.conf (initgroups): Change action for successful db
11458 lookup to continue for compatibility.
11459
2a81eaa5
UD
114602011-05-09 Ulrich Drepper <drepper@gmail.com>
11461
be97a69e
UD
11462 [BZ #11532]
11463 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11464 and CP774 modules.
11465 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11466 and CP774 modules.
11467 * iconvdata/tst-tables.sh: Likewise.
11468 * iconvdata/cp770.c: New file.
11469 * iconvdata/cp771.c: New file.
11470 * iconvdata/cp772.c: New file.
11471 * iconvdata/cp773.c: New file.
11472 * iconvdata/cp774.c: New file.
11473 * iconvdata/testdata/CP770: New file.
11474 * iconvdata/testdata/CP770..UTF8: New file.
11475 * iconvdata/testdata/CP771: New file.
11476 * iconvdata/testdata/CP771..UTF8: New file.
11477 * iconvdata/testdata/CP772: New file.
11478 * iconvdata/testdata/CP772..UTF8: New file.
11479 * iconvdata/testdata/CP773: New file.
11480 * iconvdata/testdata/CP773..UTF8: New file.
11481 * iconvdata/testdata/CP774: New file.
11482 * iconvdata/testdata/CP774..UTF8: New file.
11483
11484 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11485 END CHARMAP line.
11486 * iconvdata/gen-8bit-gap.sh: Likewise.
11487 * iconvdata/gen-8bit.sh: Likewise.
11488
c1e9e399
UD
11489 * locale/iso-639.def: Add ary entry.
11490
24c55fb3 11491 [BZ #11258]
96b4b1b0
UD
11492 * locale/C-translit.h.in: Add U20A1 transliteration.
11493
bdc2f971
KB
11494 [BZ #12178]
11495 * locale/iso-639.def: Add wae entry.
11496 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11497
2952b117
UD
11498 [BZ #12545]
11499 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11500 for n.
11501
2a81eaa5
UD
11502 [BZ #12711]
11503 * locale/C-translit.h.in: Add entry for U20B9.
11504 Patch by pravin.d.s@gmail.com.
11505
28377d1b
UD
115062011-05-08 Ulrich Drepper <drepper@gmail.com>
11507
7fb90fb8
UD
11508 [BZ #12713]
11509 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11510 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11511 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11512 in rtld. Use *stat64.
7fb90fb8 11513 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11514 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11515 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11516 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11517 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11518 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11519 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11520 __fstatat64 macros.
7fb90fb8
UD
11521 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11522 * dirent/rewinddir.c: Add libc_hidden_def.
11523 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11524 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11525
28377d1b
UD
11526 * include/dirent.h (__alloc_dir): Add flags parameter.
11527 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11528 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11529 __alloc_dir.
11530 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11531 from fdopendir if O_CLOEXEC is already set.
11532
66bdbaa4
AM
115332011-03-15 Alan Modra <amodra@gmail.com>
11534
11535 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11536 l_tls_firstbyte_offset non-zero. Save padding offset in
11537 l_tls_firstbyte_offset for later use.
11538 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11539 freeing static tls block.
11540
95721191
JN
115412011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11542
11543 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11544 where #ifdef was intended. The intent is to prevent ARG_MAX from
11545 being defined by the kernel headers.
11546
f87dfb1f
UD
115472011-05-07 Ulrich Drepper <drepper@gmail.com>
11548
11549 [BZ #12734]
11550 * resolv/resolv.h: Define RES_NOTLDQUERY.
11551 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11552 no-tld-query and set RES_NOTLDQUERY.
11553 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11554 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11555 modern BIND to search name as TLD unless forbidden.
11556
47c3cd7a
UD
115572011-05-07 Petr Baudis <pasky@suse.cz>
11558 Ulrich Drepper <drepper@gmail.com>
11559
11560 [BZ #12393]
11561 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11562 (is_trusted_path): ...to here.
c1e9ea35 11563 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11564 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11565 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11566
8a35c912
PP
115672011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11568
11569 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11570 __BEGIN/__END_DECLS.
11571
acd41f47
UD
115722011-05-06 Ulrich Drepper <drepper@gmail.com>
11573
11574 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11575 NSS_STATUS_NOTFOUND if no record was found.
11576
597df647
AS
115772011-05-05 Andreas Schwab <schwab@redhat.com>
11578
11579 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11580 (headers-not-in-tirpc): Remove rpc/netdb.h
11581 * resolv/netdb.h: Revert last change.
11582
b9af1301
PP
115832011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11584
11585 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11586 circular dependency between libgcc.a and libc.a.
11587
4e34d5f5
AS
115882011-05-05 Andreas Schwab <schwab@redhat.com>
11589
11590 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11591 * nis/Makefile: Don't install rpcsvc/*.
11592 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11593 instead of <rpc/types.h>.
11594 (MAXHOSTNAMELEN): Define.
11595
00ee369c
AS
115962011-05-03 Andreas Schwab <schwab@redhat.com>
11597
11598 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11599
0b592a30
MB
116002011-04-28 Maciej Babinski <mbabinski@google.com>
11601
11602 [BZ #12714]
11603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11604 gethostbyname4_r when IPv6 results are possible.
11605
6e04cbbe
UD
116062011-05-02 Ulrich Drepper <drepper@gmail.com>
11607
11608 [BZ #12723]
11609 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11610 _PC_PIPE_BUF handling.
11611
e4ecafe0
BH
116122011-04-30 Bruno Haible <bruno@clisp.org>
11613
11614 [BZ #12717]
11615 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11616 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11617 to 'int'.
11618 * inet/getnameinfo.c (getnameinfo): Likewise.
11619
125ee683
UD
116202011-04-29 Ulrich Drepper <drepper@gmail.com>
11621
11622 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11623 to groups setting in database lookup.
11624 * nss/nsswitch.conf: Add initgroups entry.
11625
b722481a
EB
116262011-04-22 Ulrich Drepper <drepper@gmail.com>
11627
11628 [BZ #12685]
11629 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11630 mode string.
11631 Patch by Eric Blake <eblake@redhat.com>.
11632
4df46dbd
L
116332011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11634
11635 * sunrpc/Makefile (need-export-routines): Add svc_run.
11636 (routines): Remove svc_run.
11637 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11638 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11639 * sunrpc/svc_run.c (svc_run): Likewise.
11640 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11641
e84142d2
UD
116422011-04-21 Ulrich Drepper <drepper@gmail.com>
11643
11644 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11645 problem in reallocation in last patch.
11646
877175d8
UD
116472011-04-20 Ulrich Drepper <drepper@gmail.com>
11648
11649 * sunrpc/Makefile: Move inclusion of Rules.
11650
ab8eed78
UD
116512011-04-19 Ulrich Drepper <drepper@gmail.com>
11652
11653 * nss/nss_files/files-initgroups.c: New file.
11654 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11655 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11656 _nss_files_initgroups_dyn.
11657
e3d8f584
RS
116582011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11659
11660 * elf/elf.h (R_ARM_IRELATIVE): Define.
11661
af190f45
UD
116622011-04-19 Ulrich Drepper <drepper@gmail.com>
11663
11664 * po/ru.po: Update from translation team.
11665
53cf59ef
UD
116662011-04-17 Ulrich Drepper <drepper@gmail.com>
11667
11668 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11669 dependencies.
11670
4c559bcd
MF
116712011-02-06 Mike Frysinger <vapier@gentoo.org>
11672
11673 [BZ #12653]
11674 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11675 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11676 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11678 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11679
4420675c
AS
116802011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11681
11682 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11683 differing bytes.
11684 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11685 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11686 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11687
75ea32ab
UD
116882011-04-17 Ulrich Drepper <drepper@gmail.com>
11689
11690 [BZ #12420]
11691 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11692 storing it.
11693 * stdlib/bug-getcontext.c: New file.
11694 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11695
27390476
AK
116962011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11697
11698 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11699 instructions into .machine "z9-109".
11700 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11701 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11702
10442705
AK
117032011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11704
11705 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11706 between environment variables and auxiliary vector.
11707
7b57bfe5
UD
117082011-04-16 Ulrich Drepper <drepper@gmail.com>
11709
11710 * Makefile: Add rules to build linkobj/libc.so.
11711 * include/libc-symbols.h: Define libc_hidden_nolink.
11712 * include/rpc/auth.h: Mark functions which are to be hidden.
11713 * include/rpc/auth_des.h: Likewise.
11714 * include/rpc/auth_unix.h: Likewise.
11715 * include/rpc/clnt.h: Likewise.
11716 * include/rpc/des_crypt.h: Likewise.
11717 * include/rpc/key_prot.h: Likewise.
11718 * include/rpc/pmap_clnt.h: Likewise.
11719 * include/rpc/pmap_prot.h: Likewise.
11720 * include/rpc/pmap_rmt.h: Likewise.
11721 * include/rpc/rpc_msg.h: Likewise.
11722 * include/rpc/svc.h: Likewise.
11723 * include/rpc/svc_auth.h: Likewise.
11724 * include/rpc/xdr.h: Likewise.
11725 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11726 * nss/Makefile: Likewise.
11727 * sunrpc/Makefile: Don't install headers. Build library with normal
11728 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11729 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11730 for the compat linking library. Remove use of INTDEF/INTUSE.
11731 * sunrpc/auth_none.c: Likewise.
11732 * sunrpc/auth_unix.c: Likewise.
11733 * sunrpc/authdes_prot.c: Likewise.
11734 * sunrpc/authuxprot.c: Likewise.
11735 * sunrpc/clnt_gen.c: Likewise.
11736 * sunrpc/clnt_perr.c: Likewise.
11737 * sunrpc/clnt_raw.c: Likewise.
11738 * sunrpc/clnt_simp.c: Likewise.
11739 * sunrpc/clnt_tcp.c: Likewise.
11740 * sunrpc/clnt_udp.c: Likewise.
11741 * sunrpc/clnt_unix.c: Likewise.
11742 * sunrpc/des_crypt.c: Likewise.
11743 * sunrpc/des_soft.c: Likewise.
11744 * sunrpc/get_myaddr.c: Likewise.
11745 * sunrpc/key_call.c: Likewise.
11746 * sunrpc/key_prot.c: Likewise.
11747 * sunrpc/netname.c: Likewise.
11748 * sunrpc/pm_getmaps.c: Likewise.
11749 * sunrpc/pm_getport.c: Likewise.
11750 * sunrpc/pmap_clnt.c: Likewise.
11751 * sunrpc/pmap_prot.c: Likewise.
11752 * sunrpc/pmap_prot2.c: Likewise.
11753 * sunrpc/pmap_rmt.c: Likewise.
11754 * sunrpc/publickey.c: Likewise.
11755 * sunrpc/rpc_cmsg.c: Likewise.
11756 * sunrpc/rpc_common.c: Likewise.
11757 * sunrpc/rpc_dtable.c: Likewise.
11758 * sunrpc/rpc_prot.c: Likewise.
11759 * sunrpc/rpc_thread.c: Likewise.
11760 * sunrpc/rtime.c: Likewise.
11761 * sunrpc/svc.c: Likewise.
11762 * sunrpc/svc_auth.c: Likewise.
11763 * sunrpc/svc_authux.c: Likewise.
11764 * sunrpc/svc_raw.c: Likewise.
11765 * sunrpc/svc_run.c: Likewise.
11766 * sunrpc/svc_simple.c: Likewise.
11767 * sunrpc/svc_tcp.c: Likewise.
11768 * sunrpc/svc_udp.c: Likewise.
11769 * sunrpc/svc_unix.c: Likewise.
11770 * sunrpc/svcauth_des.c: Likewise.
11771 * sunrpc/xcrypt.c: Likewise.
11772 * sunrpc/xdr.c: Likewise.
11773 * sunrpc/xdr_array.c: Likewise.
11774 * sunrpc/xdr_float.c: Likewise.
11775 * sunrpc/xdr_intXX_t.c: Likewise.
11776 * sunrpc/xdr_mem.c: Likewise.
11777 * sunrpc/xdr_rec.c: Likewise.
11778 * sunrpc/xdr_ref.c: Likewise.
11779 * sunrpc/xdr_sizeof.c: Likewise.
11780 * sunrpc/xdr_stdio.c: Likewise.
11781
e6c61494
UD
117822011-04-10 Ulrich Drepper <drepper@gmail.com>
11783
11784 [BZ #12650]
11785 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11786 * sysdeps/ia64/dl-tls.h: Likewise.
11787 * sysdeps/powerpc/dl-tls.h: Likewise.
11788 * sysdeps/s390/dl-tls.h: Likewise.
11789 * sysdeps/sh/dl-tls.h: Likewise.
11790 * sysdeps/sparc/dl-tls.h: Likewise.
11791 * sysdeps/x86_64/dl-tls.h: Likewise.
11792 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11793
34fe483e
AS
117942011-03-14 Andreas Schwab <schwab@redhat.com>
11795
11796 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11797 rpath element also skip the following colon.
11798 (expand_dynamic_string_token): Add is_path parameter and pass
11799 down to DL_DST_REQUIRED and _dl_dst_substitute.
11800 (decompose_rpath): Call expand_dynamic_string_token with
11801 non-zero is_path. Ignore empty rpaths.
11802 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11803 with zero is_path.
11804
f12a32e6
AS
118052011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11806
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11808 Make cancelable.
11809
38a7d692
UD
118102011-04-09 Ulrich Drepper <drepper@gmail.com>
11811
11812 [BZ #12655]
11813 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11814 Patch by Filipe David Manana <fdmanana@apache.org>.
11815
e451d22b
AS
118162011-04-07 Andreas Schwab <schwab@redhat.com>
11817
11818 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11819 Maintain aligned stack.
11820 (CHECK_RSP): Remove unused macro.
11821
dedc7c7b
UD
118222011-04-03 Ulrich Drepper <drepper@gmail.com>
11823
11824 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11825 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11826
94521213
UD
118272011-04-02 Ulrich Drepper <drepper@gmail.com>
11828
11829 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11830
8cb700c0 11831 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11832
0354e355
L
118332011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11834
11835 [BZ #12518]
11836 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11837 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11838 * sysdeps/x86_64/memmove.c: New file.
11839 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11840 (memcpy): Renamed to ...
11841 (__new_memcpy): This.
11842 (memcpy): Provide GLIBC_2_14 memcpy.
11843 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11844 (memcpy): Provide GLIBC_2_2_5 memcpy.
11845
8593482f
UD
118462011-04-01 Ulrich Drepper <drepper@gmail.com>
11847
11848 [BZ #12631]
11849 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11850
81a5726b
AS
118512011-03-30 Andreas Schwab <schwab@redhat.com>
11852
11853 * misc/syncfs.c: New file.
11854 * misc/Makefile (routines): Add syncfs.
11855 * posix/unistd.h: Declare syncfs.
11856 * sysdeps/unix/syscalls.list: Add syncfs.
11857
00e5419f
AS
118582011-04-01 Andreas Schwab <schwab@redhat.com>
11859
11860 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11861 open_by_handle_at.
11862 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11863 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11864 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11865 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11867 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11869
748876bf
UD
118702011-04-01 Ulrich Drepper <drepper@gmail.com>
11871
658e451d
UD
11872 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11873 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11874 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11876 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11878 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11879
748876bf
UD
11880 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11881 sync_file_range.c with -fexceptions.
11882 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11883 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11884 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11885 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11886 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11887 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11889 sync_file_range as cancellation point
11890 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11891 now a wrapper around __call_sync_file_range with cancellation handling.
11892 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11893 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11894 function name to __call_sync_file_range.
11895 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11896 Add call_sync_file_range.
748876bf 11897
6e63d5e1
AS
118982011-04-01 Andreas Schwab <schwab@redhat.com>
11899
11900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11901 bits/timex.h.
6e63d5e1 11902
46998f74
UD
119032011-04-01 Ulrich Drepper <drepper@gmail.com>
11904
4c1423ed
UD
11905 * iconv/iconv.h: Fix typo in comment.
11906 * io/fcntl.h: Likewise.
11907 * libio/stdio.h: Likewise.
11908 * posix/spawn.h: Likewise.
11909 * posix/unistd.h: Likewise.
11910 * stdlib/stdlib.h: Likewise.
11911 * time/time.h: Likewise.
11912 * wcsmbs/wchar.h: Likewise.
11913
158648c0
UD
11914 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11915 open_by_handle): Add.
11916 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11917 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11918 Augment a few comments.
11919 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11921 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11923 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11924 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11925 open_by_handle.
11926
46998f74
UD
11927 * io/fcntl.h (AT_EMPTY_PATH): Define.
11928
83fe108b
UD
119292011-03-30 Ulrich Drepper <drepper@gmail.com>
11930
11931 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11932 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11933 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11934 to...
11935 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11936 * Versions.def: Add GLIBC_2.14.
11937 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11938 Export.
83fe108b 11939
bb242059
UD
119402011-03-22 Ulrich Drepper <drepper@gmail.com>
11941
11942 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11943 round counter.
11944 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11945
c97a1282
L
119462011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11947
11948 [BZ #12597]
11949 * string/test-strncmp.c (do_page_test): New function.
11950 (check2): Likewise.
11951 (test_main): Call check2.
11952 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11953
2a115601
UD
119542011-03-20 Ulrich Drepper <drepper@gmail.com>
11955
11956 [BZ #12587]
11957 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11958 Handle cache information in CPU leaf 4.
11959 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11960
8126d904
UD
119612011-03-18 Ulrich Drepper <drepper@gmail.com>
11962
042c49c6 11963 [BZ #12583]
8126d904
UD
11964 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11965 character representation.
11966 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11967
ccfe366e
RA
119682011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11969
11970 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11971 END(__isnan) to END(__isnanf) to match function entry point/label
11972 EALIGN(__isnanf,...).
11973
c6e13027
JJ
119742011-03-10 Jakub Jelinek <jakub@redhat.com>
11975
11976 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11977
33f85a3f
UD
119782011-03-10 Ulrich Drepper <drepper@gmail.com>
11979
028478fa
UD
11980 [BZ #12510]
11981 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11982 copy from the symbol referenced in the relocation to initialize the
11983 used variable.
11984 Patch by Piotr Bury <pbury@goahead.com>.
11985 * elf/Makefile: Add rules to build and tst-unique3.
11986 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11987 * elf/tst-unique3.cc: New file.
11988 * elf/tst-unique3.h: New file.
11989 * elf/tst-unique3lib.cc: New file.
11990 * elf/tst-unique3lib2.cc: New file.
11991
33f85a3f
UD
11992 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11993
03592fc7
MF
119942011-03-10 Mike Frysinger <vapier@gentoo.org>
11995
11996 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11997 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11998 to _start.
03592fc7 11999
6a5ee102
UD
120002011-03-06 Ulrich Drepper <drepper@gmail.com>
12001
12002 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12003 to-be-loaded object along a path to loader is ld.so.
12004
7e4ba49c
HJ
120052011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12006 Ulrich Drepper <drepper@gmail.com>
12007
12008 * sysdeps/x86_64/memset.S: After aligning destination, code
12009 branches to different locations depending on the value of
12010 misalignment, when multiarch is enabled. Fix this.
12011
120122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12013
12014 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12015 Set _x86_64_preferred_memory_instruction for AMD processsors.
12016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12017 Set bit_Prefer_SSE_for_memop for AMD processors.
12018
13a804de
UD
120192011-03-04 Ulrich Drepper <drepper@gmail.com>
12020
12021 * libio/fmemopen.c (fmemopen): Optimize a bit.
12022
9d25c392
AS
120232011-03-03 Andreas Schwab <schwab@redhat.com>
12024
12025 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12026
a5543c6a
RM
120272011-03-03 Roland McGrath <roland@redhat.com>
12028
12029 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12030
012d35f7
DM
120312011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12032
7e4ba49c 12033 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12034 __bzero_ultra1 instead of __memset_ultra1.
12035
4bff6e01
AS
120362011-02-23 Andreas Schwab <schwab@redhat.com>
12037 Ulrich Drepper <drepper@gmail.com>
12038
12039 [BZ #12509]
12040 * include/link.h (struct link_map): Add l_orig_initfini.
12041 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12042 returning unsuccessfully.
12043 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12044 close of a file loaded at startup, restore the original l_initfini
12045 list.
12046 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12047 list, store the pointer.
12048 * elf/Makefile ($(objpfx)noload-mem): New rule.
12049 (noload-ENV): Define.
12050 (tests): Add $(objpfx)noload-mem.
12051 * elf/noload.c: Include <memcheck.h>.
12052 (main): Call mtrace. Close all opened handles.
12053
f2092faf
AS
120542011-02-17 Andreas Schwab <schwab@redhat.com>
12055
12056 [BZ #12454]
12057 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12058 dependencies are missing.
12059
6c8a2e88
ST
120602011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12061
f2092faf 12062 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12063 Hurd needs munmap.
12064 * sysdeps/mach/hurd/ifreq.h: New file.
12065
84a42118
PB
120662011-01-27 Petr Baudis <pasky@suse.cz>
12067 Ulrich Drepper <drepper@gmail.com>
12068
071f805e 12069 [BZ 12445]#
84a42118
PB
12070 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12071 to extend_alloca().
12072 * stdio-common/bug23.c: New file.
12073 * stdio-common/Makefile (tests): Add bug23.
12074
e23fe25b
AS
120752010-09-28 Andreas Schwab <schwab@redhat.com>
12076 Ulrich Drepper <drepper@gmail.com>
12077
12078 [BZ #12489]
12079 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12080 before performing relro protection. At old place add assertion
12081 to make sure nothing changed.
12082
d3f02e10
NS
120832011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12084 Glauber de Oliveira Costa <glommer@gmail.com>
12085
12086 * elf/elf.h: Add new ARM TLS relocs.
12087
d55fd7a5
RA
120882011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12089
12090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12091 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12092 cast from r3.
12093 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12094 'tests' variable.
12095 * sysdeps/wordsize-64/tst-writev.c: New file.
12096
2206397e
RA
120972011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12098
12099 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12100 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12101 insns in _dl_start to prevent a TOC reference before relocs are
12102 resolved.
12103
e9433893
UD
121042011-02-15 Ulrich Drepper <drepper@gmail.com>
12105
12106 [BZ #12469]
12107 * Makeconfig: Remove RANLIB definition.
12108 * Makerules: Don't use RANLIB.
12109 * aclocal.m4: Remove ranlib test.
12110 * configure.in: No need to check for ranlib.
12111 * elf/rtld-Rules: Don't use RANLIB.
12112
f75286c6
ST
121132011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12114
8e31c82d
ST
12115 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12116 protection macro.
12117 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12118 inclusion protection macro.
12119
f75286c6
ST
12120 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12121 SIGRTMIN and SIGRTMAX and print information in that case only when
12122 SIGRTMIN is defined.
12123
c1d0e639
JJ
121242011-02-11 Jakub Jelinek <jakub@redhat.com>
12125
12126 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12127 arginfo fn returning -1.
12128
12129 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12130 and thousands string is zero terminated.
12131
edf9294e
AS
121322011-02-03 Andreas Schwab <schwab@redhat.com>
12133
12134 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12135 sysdeps/unix/sysv/linux/bits/socket.h.
12136
2b7e92df
ST
121372011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12138
edf9294e
AS
12139 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12140 (__CPU_COUNT): Remove old macros.
12141 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12142 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12143 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12144 (__sched_cpualloc, __sched_cpufree): Add declarations.
12145
a4c7ea7b
UD
121462011-02-05 Ulrich Drepper <drepper@gmail.com>
12147
12148 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12149 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12150 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12151 (readdhstai): Return value of addhstaiX call.
12152 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12153 (addgrbyX): Return value returned by cache_addgr.
12154 (readdgrbyname): Return value returned by addgrbyX.
12155 (readdgrbygid): Likewise.
12156 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12157 (addpwbyX): Return value returned by cache_addpw.
12158 (readdpwbyname): Return value returned by addhstbyX.
12159 (readdpwbyuid): Likewise.
12160 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12161 (addservbyX): Return value returned by cache_addserv.
12162 (readdservbyname): Return value returned by addservbyX:
12163 (readdservbyport): Likewise.
12164 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12165 (addhstbyX): Return value returned by cache_addhst.
12166 (readdhstbyname): Return value returned by addhstbyX.
12167 (readdhstbyaddr): Likewise.
12168 (readdhstbynamev6): Likewise.
12169 (readdhstbyaddrv6): Likewise.
12170 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12171 (readdinitgroups): Return value returned by addinitgroupsX.
12172 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12173 (prune_cache): Keep track of timeout value of re-added entries.
12174 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12175 * nscd/nscd.h: Adjust prototypes of readd* functions.
12176
a0bf67cc
RM
121772011-02-04 Roland McGrath <roland@redhat.com>
12178
12179 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12180 (nis_stats): Likewise.
12181 * nis/nis_modify.c (nis_modify): Likewise.
12182 * nis/nis_remove.c (nis_remove): Likewise.
12183 * nis/nis_add.c (nis_add): Likewise.
12184
12185 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12186
12187 * posix/fnmatch_loop.c: Add some consts.
12188
12189 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12190
435b95eb
L
121912011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12192
12193 [BZ #12460]
12194 * config.make.in (config-cflags-novzeroupper): Define.
12195 * configure.in: Substitute libc_cv_cc_novzeroupper.
12196 * elf/Makefile (AVX-CFLAGS): Define.
12197 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12198 (CFLAGS-tst-auditmod4a.c): Likewise.
12199 (CFLAGS-tst-auditmod4b.c): Likewise.
12200 (CFLAGS-tst-auditmod6b.c): Likewise.
12201 (CFLAGS-tst-auditmod6c.c): Likewise.
12202 (CFLAGS-tst-auditmod7b.c): Likewise.
12203 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12204
8517b15e
UD
122052011-02-02 Ulrich Drepper <drepper@gmail.com>
12206
12207 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12208 function to the callback.
12209 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12210
10a656fe
AS
122112011-02-02 Andreas Schwab <schwab@redhat.com>
12212
12213 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12214 of errno.
12215
968dad0a
UD
122162011-01-19 Ulrich Drepper <drepper@gmail.com>
12217
9f94d2ea 12218 [BZ #11724]
968dad0a
UD
12219 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12220 of constructors.
12221 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12222 of destructors.
12223 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12224
12225 [BZ #11724]
12226 * elf/Makefile: Add rules to build and run new test.
12227 * elf/tst-initorder.c: New file.
12228 * elf/tst-initorder.exp: New file.
12229 * elf/tst-initordera1.c: New file.
12230 * elf/tst-initordera2.c: New file.
12231 * elf/tst-initordera3.c: New file.
12232 * elf/tst-initordera4.c: New file.
12233 * elf/tst-initorderb1.c: New file.
12234 * elf/tst-initorderb2.c: New file.
12235 * elf/tst-order-a1.c: New file.
12236 * elf/tst-order-a2.c: New file.
12237 * elf/tst-order-a3.c: New file.
12238 * elf/tst-order-a4.c: New file.
12239 * elf/tst-order-b1.c: New file.
12240 * elf/tst-order-b2.c: New file.
12241 * elf/tst-order-main.c: New file.
12242 New test case by George Gensure <werkt0@gmail.com>.
12243
86e92359
UD
122442010-10-01 Andreas Schwab <schwab@redhat.com>
12245
12246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12247 decoding ACE if AI_CANONIDN.
12248
5d5732b0
UD
122492011-01-18 Ulrich Drepper <drepper@gmail.com>
12250
12251 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12252
a77e8cbc
UD
122532011-01-17 Ulrich Drepper <drepper@gmail.com>
12254
6392473f
UD
12255 * version.h (RELEASE): Bump for 2.13 release.
12256 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12257
620a0529
UD
12258 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12259
18ba70a5
UD
12260 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12261 MADV_NOHUGEPAGE.
32465c3e
UD
12262 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12263 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12264 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12265 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12266 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12268
c0dafcf1
UD
12269 * posix/getconf.c: Update copyright year.
12270 * catgets/gencat.c: Likewise.
12271 * csu/version.c: Likewise.
12272 * debug/catchsegv.sh: Likewise.
12273 * debug/xtrace.sh: Likewise.
12274 * elf/ldconfig.c: Likewise.
12275 * elf/ldd.bash.in: Likewise.
12276 * elf/sprof.c (print_version): Likewise.
12277 * iconv/iconv_prog.c: Likewise.
12278 * iconv/iconvconfig.c: Likewise.
12279 * locale/programs/locale.c: Likewise.
12280 * locale/programs/localedef.c: Likewise.
12281 * malloc/memusage.sh: Likewise.
12282 * malloc/mtrace.pl: Likewise.
12283 * nscd/nscd.c (print_version): Likewise.
12284 * nss/getent.c: Likewise.
12285
a77e8cbc
UD
12286 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12287 PF_CAIF, and PF_ALG.
12288 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12289
77e8bddf
AS
122902011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12291
1f20b93a
AS
12292 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12293 (modules-names): Use them.
12294 (ifunc-test-modules, ifunc-pie-tests): Define.
12295 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12296 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12297 (test-extras): Likewise.
12298 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12299 $(compile-command.c).
12300 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12301 (all-built-dso): Define.
12302 (check-textrel.out, check-execstack.out): Depend on it.
12303
77e8bddf
AS
12304 * configure.in: Don't override --enable-multi-arch.
12305
bc425b33
UD
123062011-01-15 Ulrich Drepper <drepper@gmail.com>
12307
12308 [BZ #6812]
12309 * nscd/hstcache.c (tryagain): Define.
12310 (cache_addhst): Return tryagain not notfound for temporary errors.
12311 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12312 failed.
12313
794c3ad3
UD
123142011-01-14 Ulrich Drepper <drepper@gmail.com>
12315
70181fdd
UD
12316 [BZ #10563]
12317 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12318 to make the syscall.
12319 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12320
794c3ad3
UD
12321 [BZ #12378]
12322 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12323 and fall back to matching as normal character if the string ends before
12324 the matching ']' is found. This is what POSIX requires.
12325 * posix/testfnm.c: Adjust test result.
12326 * posix/globtest.sh: Adjust test result. Add new test.
12327 * posix/tst-fnmatch.input: Likewise.
12328 * posix/tst-fnmatch2.c: Add new test.
12329
68dc9497
AS
123302010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12331
12332 * elf/Makefile (check-execstack): Revert last change. Depend on
12333 check-execstack.h.
12334 (check-execstack.h): New target.
12335 (generated): Add check-execstack.h.
12336 * elf/check-execstack.c: Include "check-execstack.h".
12337 (main): Revert last change.
12338 (handle_file): Return zero if GNU_STACK is absent and
12339 DEFAULT_STACK_PERMS doesn't include PF_X.
12340
451f001b
UD
123412011-01-13 Ulrich Drepper <drepper@gmail.com>
12342
cfa28e56
UD
12343 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12344 in child fails because the descriptor is already closed.
8cf8ce17
UD
12345 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12346 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12347 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12348
1086d70d
UD
12349 [BZ #12397]
12350 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12351 syscall.
12352
451f001b
UD
12353 [BZ #10484]
12354 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12355 temporary buffer used to handle multi lookups locally.
a85b5cb4 12356 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12357
08769175
UD
123582011-01-12 Ulrich Drepper <drepper@gmail.com>
12359
12360 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12361 loader is ld.so.
12362
5e49c52e
UD
123632011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12364
12365 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12366 alignment for SSE2.
12367
60522a5f
UD
123682011-01-12 Ulrich Drepper <drepper@gmail.com>
12369
12370 [BZ #12394]
12371 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12372 characters. When rounding increased number of integer digits recompute
12373 number of groups.
12374 * stdio-common/tst-grouping.c: New file.
12375 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12376
f257bbd7
UD
123772011-01-09 Ulrich Drepper <drepper@gmail.com>
12378
12379 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12380 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12381
12382 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12383 void.
12384 * bits/select.h: Likewise.
12385
fa9c15cb
UD
123862011-01-08 Ulrich Drepper <drepper@gmail.com>
12387
12388 * po/ja.po: Update from translation team.
12389
16c2895f
DM
123902011-01-04 David S. Miller <davem@sunset.davemloft.net>
12391
12392 [BZ #11155]
12393 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12394 implementation just like for lxstat, fxstatat, et al.
12395
2543fef2
JM
123962010-12-27 Jim Meyering <meyering@redhat.com>
12397
12398 [BZ #12348]
12399 * posix/regexec.c (build_trtable): Return failure indication upon
12400 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12401
98727dbe
UD
124022010-12-25 Ulrich Drepper <drepper@gmail.com>
12403
5bd6dc5c
UD
12404 [BZ #12201]
12405 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12406 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12407 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12408 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12409
97983464
UD
12410 [BZ #12207]
12411 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12412
98727dbe
UD
12413 [BZ #12204]
12414 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12415 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12416
4a531bb0
L
124172010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12418
12419 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12420 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12421 script has SORT_BY_INIT_PRIORITY.
12422 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12423 NO_CTORS_DTORS_SECTIONS is defined.
12424 * elf/soinit.c: Likewise.
12425 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12426 NO_CTORS_DTORS_SECTIONS is defined.
12427 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12428 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12429 * sysdeps/sh/init-first.c: Likewise.
12430 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12431
07eb4b71
UD
124322010-12-24 Ulrich Drepper <drepper@gmail.com>
12433
12434 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12435 always use the slow path.
12436
30950a5f
RA
124372010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12438
12439 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12440 similar rule which adds the sysdep directories to the header search in
12441 order to pick up the correct platform stackinfo.h.
12442 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12443 perform test if it is, otherwise return successfully without testing.
12444 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12445 DEFAULT_STACK_PERMS define in stackinfo.h.
12446 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12447 defined in stackinfo.h.
12448 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12449 DEFAULT_STACK_PERMS defined in stackinfo.h.
12450 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12451 * sysdeps/ia64/stackinfo.h: Likewise.
12452 * sysdeps/s390/stackinfo.h: Likewise.
12453 * sysdeps/sh/stackinfo.h: Likewise.
12454 * sysdeps/sparc/stackinfo.h: Likewise.
12455 * sysdeps/x86_64/stackinfo.h: Likewise.
12456 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12457 PF_X for powerpc64. Retain PF_X for powerpc32.
12458
db753e2c
UD
124592010-12-19 Ulrich Drepper <drepper@gmail.com>
12460
14b697f7
UD
12461 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12462 accurately.
db753e2c
UD
12463 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12464 GETDENTS_64BIT_ALIGNED.
12465
28300719
UD
124662010-12-14 Ulrich Drepper <dreper@gmail.com>
12467
14b697f7 12468 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12469
4f197237
AS
124702010-12-10 Andreas Schwab <schwab@redhat.com>
12471
dbb0472f
AS
12472 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12473 _GNU_SOURCE.
12474
4f197237
AS
12475 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12476 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12477 Remove __restrict.
12478 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12479 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12480
fb88ac72
UD
124812010-12-09 Ulrich Drepper <drepper@gmail.com>
12482
12483 [BZ #11655]
12484 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12485 are initialized.
12486
42acbb92
JJ
124872010-12-09 Jakub Jelinek <jakub@redhat.com>
12488
12489 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12490
c038d98d
UD
124912010-12-03 Ulrich Drepper <drepper@gmail.com>
12492
12493 * po/it.po: Update from translation team.
12494
3a4a2499
L
124952010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12496
12497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12498 unused codes.
12499
1e24cf6e
UD
125002010-11-30 Ulrich Drepper <drepper@gmail.com>
12501
12502 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12503
a7690819
AS
125042010-11-24 Andreas Schwab <schwab@redhat.com>
12505
12506 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12507 specially.
12508 (gaih_getanswer_slice): Likewise.
12509
3bf8d1b1
JJ
125102010-10-20 Jakub Jelinek <jakub@redhat.com>
12511
12512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12513
6db52fbb
PB
125142010-05-31 Petr Baudis <pasky@suse.cz>
12515
12516 [BZ #11149]
12517 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12518 silently even in the chroot mode.
12519
eaca7569
UD
125202010-11-22 Ulrich Drepper <drepper@gmail.com>
12521
12522 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12523 last patch a bit. Pretty printing
12524
3056dcdb
UD
125252010-05-31 Petr Baudis <pasky@suse.cz>
12526
12527 [BZ #10085]
12528 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12529 initialization of skip_initgroups_dyn.
12530
cf7c9078
UD
125312010-11-19 Ulrich Drepper <drepper@gmail.com>
12532
12533 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12534 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12535
a1fb5e3e
UD
125362010-11-16 Ulrich Drepper <drepper@gmail.com>
12537
12538 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12539
3540d66b
AS
125402010-11-11 Andreas Schwab <schwab@redhat.com>
12541
12542 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12543 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12544 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12545 ($(objpfx)tst-fnmatch-mem): New rule.
12546 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12547 * posix/tst-fnmatch.c (main): Call mtrace.
12548
13b69574
L
125492010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12550
12551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12552 Support Intel processor model 6 and model 0x2c.
12553
da93d214
LM
125542010-11-10 Luis Machado <luisgpm@br.ibm.com>
12555
12556 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12557 signed comparison.
12558
8ca52c6e
L
125592010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12560
12561 [BZ #12205]
12562 * string/test-strncasecmp.c (check_result): New function.
12563 (do_one_test): Use it.
12564 (check1): New function.
12565 (test_main): Use it.
12566 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12567 Support strcasecmp and strncasecmp.
12568
69da074d
UD
125692010-11-08 Ulrich Drepper <drepper@gmail.com>
12570
12571 [BZ #12194]
12572 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12573 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12574
ff02d528
L
125752010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12576
12577 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12578 IFUNC support.
12579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12580 memset-x86-64.
12581 * sysdeps/x86_64/multiarch/bzero.S: New file.
12582 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12583 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12584 * sysdeps/x86_64/multiarch/memset.S: New file.
12585 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12587 Set bit_Prefer_SSE_for_memop for Intel processors.
12588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12589 Define.
12590 (index_Prefer_SSE_for_memop): Define.
12591 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12592
344d0b54
LM
125932010-11-04 Luis Machado <luisgpm@br.ibm.com>
12594
12595 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12596 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12597
c0dde15b
UD
125982010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12599
12600 [BZ #12191]
12601 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12602 (__x86_64_raw_data_cache_size_half): Likewise.
12603 (__x86_64_raw_shared_cache_size): Likewise.
12604 (__x86_64_raw_shared_cache_size_half): Likewise.
12605
12606 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12607 (__x86_64_raw_data_cache_size_half): Likewise.
12608 (__x86_64_raw_shared_cache_size): Likewise.
12609 (__x86_64_raw_shared_cache_size_half): Likewise.
12610 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12611 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12612 and __x86_64_raw_shared_cache_size_half. Round
12613 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12614 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12615 to multiple of 256 bytes.
12616
0e516e0e
MS
126172010-11-03 Ulrich Drepper <drepper@gmail.com>
12618
12619 [BZ #12167]
12620 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12621 of inacessible symlinks. Verify result of symlink before returning it.
12622 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12623 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12624
0e012e87
ER
126252010-10-28 Erich Ritz <erichritz@gmail.com>
12626
12627 * math/math.h (isinf): Fix typo in comment.
12628
de0ff7bc
UD
126292010-11-01 Ulrich Drepper <drepper@gmail.com>
12630
12631 * po/da.po: Update from translation team.
12632
fa41c84d
UD
126332010-10-26 Ulrich Drepper <drepper@gmail.com>
12634
12635 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12636 is added to the list.
12637
f0967738
AK
126382010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12639 Ulrich Drepper <drepper@gmail.com>
12640
12641 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12642 the global list here. Move code to...
12643 (_dl_add_to_namespace_list): ...here. New function.
12644 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12645 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12646 * elf/dl-load.c (lose): Don't remove the element from the list.
12647 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12648 (_dl_map_object): Likewise.
12649
126502010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12651
12652 [BZ #12159]
12653 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12654 into all bytes of SSE register.
12655 Patch by Richard Li <richardpku@gmail.com>.
12656
f0967738 126572010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12658
12659 [BZ #12140]
12660 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12661 perturbing.
12662
d0b9e94f
MB
126632010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12664
12665 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12666 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12667 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12668 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12670 submachine.
12671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12672
8e9f92e9
AS
126732010-10-22 Andreas Schwab <schwab@redhat.com>
12674
12675 * include/dlfcn.h (__RTLD_SECURE): Define.
12676 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12677 mode & __RTLD_SECURE instead.
12678 (open_path): Rename preloaded parameter to secure.
12679 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12680 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12681 * elf/dl-deps.c (openaux): Likewise.
12682 * elf/rtld.c (struct map_args): Remove is_preloaded.
12683 (map_doit): Don't use it.
12684 (dl_main): Likewise.
12685 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12686 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12687
bc96fbda
AS
126882010-09-09 Andreas Schwab <schwab@redhat.com>
12689
12690 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12691 (sysd-rules-targets): Remove duplicates.
12692 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12693 rtld-%.$o dependency.
12694
22cd1c9b
AS
126952010-10-18 Andreas Schwab <schwab@redhat.com>
12696
12697 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12698 _dl_map_object do it.
12699
18edac48
UD
127002010-10-19 Ulrich Drepper <drepper@gmail.com>
12701
12702 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12703 fast fma builtins, define the macros in the C99 standard.
12704 (FP_FAST_FMAF): Likewise.
12705 (FP_FAST_FMAL): Likewise.
12706 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12707
12708 * bits/mathdef.h: Update copyright year.
12709 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12710
d2050124
MM
127112010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12712
12713 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12714 builtins, define the macros in the C99 standard.
12715 (FP_FAST_FMAF): Likewise.
12716 (FP_FAST_FMAL): Likewise.
12717 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12718 multiply/add.
12719 (FP_FAST_FMAF): Likewise.
12720
475facd1
JJ
127212010-10-15 Jakub Jelinek <jakub@redhat.com>
12722
12723 [BZ #3268]
12724 * math/libm-test.inc (fma_test): Some new testcases.
12725 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12726 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12727 y and infinite z. Do multiplication by C already in long double.
12728 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12730 y and infinite z. Do bitwise or of inexact bit into u.d.
12731 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12732 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12733 * sysdeps/i386/fpu/s_fma.S: Removed.
12734 * sysdeps/i386/fpu/s_fmal.S: Removed.
12735
7c08a05c
JJ
127362010-10-16 Jakub Jelinek <jakub@redhat.com>
12737
12738 [BZ #3268]
12739 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12740 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12741 computation is not scheduled after fetestexcept. Fix value
12742 of minimum denormal long double.
12743
f3f7372d
JJ
127442010-10-14 Jakub Jelinek <jakub@redhat.com>
12745
12746 [BZ #3268]
12747 * math/libm-test.inc (fma_test): Add some more tests.
12748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12749 correctly.
12750
14d43591
AS
127512010-10-15 Andreas Schwab <schwab@redhat.com>
12752
12753 * scripts/data/localplt-s390-linux-gnu.data: New file.
12754 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12755
5e908464
JJ
127562010-10-13 Jakub Jelinek <jakub@redhat.com>
12757
12758 [BZ #3268]
12759 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12760 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12761 instead of dbl-64.
12762 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12763 inlines.
12764 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12766 if one of x and y is very large and the other is subnormal.
12767 * sysdeps/s390/fpu/s_fmaf.c: New file.
12768 * sysdeps/s390/fpu/s_fma.c: New file.
12769 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12770 * sysdeps/powerpc/fpu/s_fma.S: New file.
12771 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12772 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12773 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12774
127752010-10-12 Jakub Jelinek <jakub@redhat.com>
12776
12777 [BZ #3268]
12778 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12779 fma tests.
12780 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12781 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12782 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12783 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12784 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12785 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12787
b833d51f
UD
127882010-10-12 Ulrich Drepper <drepper@redhat.com>
12789
12790 [BZ #12078]
12791 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12792 * posix/bug-regex31.input: Add test case.
12793
1751705d
UD
127942010-10-11 Ulrich Drepper <drepper@gmail.com>
12795
e9b9cbf5
UD
12796 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12797 * posix/bug-regex31.input: New file.
12798
12799 [BZ #12078]
12800 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12801 (parse_sub_exp): Fix last change, use postorder.
12802
ef06edbe
UD
12803 * posix/bug-regex31.c: New file.
12804 * posix/Makefile: Add rules to build and run bug-regex31.
12805
a129c80d
UD
12806 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12807
12808 [BZ #12078]
12809 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12810
b76b818e
UD
12811 [BZ #12108]
12812 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12813 to have entries in sys_siglist.
12814
1751705d
UD
12815 [BZ #12093]
12816 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12817 be NULL.
12818
9ff8d36f
JJ
128192010-10-07 Jakub Jelinek <jakub@redhat.com>
12820
12821 [BZ #3268]
12822 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12823 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12824 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12825 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12826 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12827 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12828 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12829 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12830 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12831 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12832 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12833 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12834 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12835 * math/ftestexcept.c (fetestexcept): Likewise.
12836 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12837 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12838 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12839 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12840 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12841 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12842 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12843
af325969
UD
128442010-10-11 Ulrich Drepper <drepper@gmail.com>
12845
c579b202 12846 [BZ #12107]
af325969
UD
12847 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12848 newline.
12849
67a67b95
UD
128502010-10-06 Ulrich Drepper <drepper@gmail.com>
12851
12852 * string/bug-strstr1.c: New file.
12853 * string/Makefile: Add rules to build and run bug-strstr1.
12854
5fb308bc
EB
128552010-10-05 Eric Blake <eblake@redhat.com>
12856
12857 [BZ #12092]
12858 * string/str-two-way.h (two_way_long_needle): Always clear memory
12859 when skipping input due to the shift table.
12860
45db99c7
UD
128612010-10-03 Ulrich Drepper <drepper@gmail.com>
12862
3b111893
UD
12863 [BZ #12005]
12864 * malloc/mcheck.c: Handle large requests.
12865
45db99c7
UD
12866 [BZ #12077]
12867 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12868 for strncmp and strncasecmp.
12869 * string/stratcliff.c: Add tests for strcmp and strncmp.
12870 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12871
cf7a1eb8
NI
128722010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12873
12874 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12875 __set_fpscr.
12876
6484ba5e
AJ
128772010-09-30 Andreas Jaeger <aj@suse.de>
12878
12879 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12880 (CGROUP_SUPER_MAGIC): Define.
12881 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12882 Handle btrfs and cgroup file systems.
12883 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12884 Likewise.
12885
91c42559
LM
128862010-09-27 Luis Machado <luisgpm@br.ibm.com>
12887
12888 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12889 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12890
87a97932
AK
128912010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12892
12893 [BZ #12067]
12894 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12895 trying to locate the ELF header.
12896
c21cc9bc
AS
128972010-09-27 Andreas Schwab <schwab@redhat.com>
12898
12899 [BZ #11611]
12900 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12901 Mask out sign-bit copies when constructing f_fsid.
12902
315970f6
PB
129032010-09-24 Petr Baudis <pasky@suse.cz>
12904
12905 * debug/stack_chk_fail_local.c: Add missing licence exception.
12906 * debug/warning-nop.c: Likewise.
12907
1ac7a2c7
JM
129082010-09-15 Joseph Myers <joseph@codesourcery.com>
12909
12910 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12911 implementing getdents64 using getdents syscall, set d_type if
12912 __ASSUME_GETDENTS32_D_TYPE.
12913
56801c50
AS
129142010-09-16 Andreas Schwab <schwab@redhat.com>
12915
12916 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12917 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12918
dda51327
UD
129192010-09-21 Ulrich Drepper <drepper@redhat.com>
12920
12921 [BZ #12037]
12922 * posix/unistd.h: Undo change of feature selection for ftruncate from
12923 2010-01-11.
12924
8ffcee4a
UD
129252010-09-20 Ulrich Drepper <drepper@redhat.com>
12926
a545ecd9 12927 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12928 detection.
12929
e24f0a8b
AS
129302010-09-20 Andreas Schwab <schwab@redhat.com>
12931
12932 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12933 fanotify_mark.
12934 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12935
7291c56f
AS
129362010-09-14 Andreas Schwab <schwab@redhat.com>
12937
12938 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12939 variables after CHECK_SP call.
12940 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12941
bc5fb037
AS
129422010-09-13 Andreas Schwab <schwab@redhat.com>
12943 Ulrich Drepper <drepper@redhat.com>
12944
12945 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12946 re-relocationg ld.so.
12947 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12948 _dl_init_paths call.
12949 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12950 here anymore.
12951
e66e7419
UD
129522010-09-14 Ulrich Drepper <drepper@redhat.com>
12953
12954 * resolv/res_init.c (__res_vinit): Count the default server we added.
12955
c044aa75
CLT
129562010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12957 Ulrich Drepper <drepper@redhat.com>
12958
12959 [BZ #11968]
12960 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12961 (____longjmp_chk): Use %ebx for saving value across system call.
12962 Add unwind info.
12963
32cf4069
AS
129642010-09-06 Andreas Schwab <schwab@redhat.com>
12965
12966 * manual/Makefile: Don't mix pattern rules with normal rules.
12967
817328ee
AS
129682010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12969
12970 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12971 operation.
12972 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12973 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12974 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12975 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12977 Likewise.
12978
29fddf61
UD
129792010-09-04 Ulrich Drepper <drepper@redhat.com>
12980
12981 [BZ #11979]
12982 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12983 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12984
0959ffc9
UD
129852010-09-02 Ulrich Drepper <drepper@redhat.com>
12986
12987 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12988 * sysdeps/x86_64/addmul_1.S: Likewise.
12989 * sysdeps/x86_64/lshift.S: Likewise.
12990 * sysdeps/x86_64/mul_1.S: Likewise.
12991 * sysdeps/x86_64/rshift.S: Likewise.
12992 * sysdeps/x86_64/sub_n.S: Likewise.
12993 * sysdeps/x86_64/submul_1.S: Likewise.
12994
ece29840
ST
129952010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12996
0959ffc9
UD
12997 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12998 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12999 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13000 * bits/sched.h [__need_schedparam]
ece29840 13001 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13002 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13003 (__defined_schedparam): Define to 1.
ece29840
ST
13004 (__sched_param): New structure, identical to sched_param.
13005 (__need_schedparam): Undefine.
13006
e53a31fe
MF
130072010-08-31 Mike Frysinger <vapier@gentoo.org>
13008
fdc0c10d
MF
13009 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13010 (epoll_create1): Declare.
13011
e53a31fe
MF
13012 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13013
a726d796
AS
130142010-08-31 Andreas Schwab <schwab@redhat.com>
13015
13016 [BZ #7066]
13017 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13018 shifting retval into place.
13019
2f3e3dc7
UD
130202010-09-01 Ulrich Drepper <drepper@redhat.com>
13021
f2933da9
UD
13022 * nis/rpcsvc/nis.h: Update copyright notice.
13023 * nis/rpcsvc/nis.x: Likewise.
13024 * nis/rpcsvc/nis_callback.h: Likewise.
13025 * nis/rpcsvc/nis_callback.x: Likewise.
13026 * nis/rpcsvc/nis_object.x: Likewise.
13027 * nis/rpcsvc/nis_tags.h: Likewise.
13028 * nis/rpcsvc/yp.h: Likewise.
13029 * nis/rpcsvc/yp.x: Likewise.
13030 * nis/rpcsvc/ypupd.h: Likewise.
13031 * nis/yp_xdr.c: Likewise.
13032 * nis/ypupdate_xdr.c: Likewise.
13033
2f3e3dc7
UD
13034 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13035 mainly the body of pmap_getport. Add parameters to specify timeouts.
13036 (pmap_getport): Use __libc_rpc_getport.
13037 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13038 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13039 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13040
f3dcc2f9
AS
130412010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13042
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13044 fanotify_mark.
13045
6d34eb5b
RM
130462010-08-27 Roland McGrath <roland@redhat.com>
13047
13048 * sysdeps/i386/i686/multiarch/Makefile
13049 (CFLAGS-varshift.c): New variable.
13050
9ea3de11
UD
130512010-08-27 Ulrich Drepper <drepper@redhat.com>
13052
c96d23fc
UD
13053 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13054 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13055
9ea3de11
UD
13056 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13057
13058 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13059
623aac7f
L
130602010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13061
13062 * sysdeps/x86_64/strlen.S: Unroll the loop.
13063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13064 strlen-sse2 strlen-sse2-bsf.
13065 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13066 __strlen_no_bsf if bit_Slow_BSF is set.
13067 (__strlen_sse42): Removed.
13068 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13069 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13070
8b2b7715
RM
130712010-08-25 Roland McGrath <roland@redhat.com>
13072
13073 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13074 * sysdeps/x86_64/multiarch/varshift.c: New file.
13075 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13076 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13077 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13078 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13079
e73015f2
L
130802010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13081
13082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13083 strlen-sse2 strlen-sse2-bsf.
13084 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13085 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13086 (__strlen_sse2): Removed.
13087 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13090 bit_Slow_BSF for Atom.
13091 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13092 (index_Slow_BSF): Define.
13093 (HAS_SLOW_BSF): Define.
13094
df24a73e
UD
130952010-08-25 Ulrich Drepper <drepper@redhat.com>
13096
13097 [BZ #10851]
13098 * resolv/res_init.c (__res_vinit): When no server address at all
13099 is given default to loopback.
13100
f2ac4868
RM
131012010-08-24 Roland McGrath <roland@redhat.com>
13102
09055553
RM
13103 * configure.in: Remove config-name.h generation.
13104 * configure: Regenerated.
13105 * config-name.in: File removed.
13106 * scripts/config-uname.sh: New file.
13107 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13108 ($(objdir)config-name.h): New target.
13109
f2ac4868
RM
13110 * sunrpc/rpc_parse.h: Avoid nested comment.
13111
73f27d5e
RH
131122010-08-24 Richard Henderson <rth@redhat.com>
13113 Ulrich Drepper <drepper@redhat.com>
13114 H.J. Lu <hongjiu.lu@intel.com>
13115
13116 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13118 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13119 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13120 _mm_alignr_epi8 with _mm_loadu_si128.
13121 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13122 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13123 (__m128i_shift_right): Removed.
13124 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13125 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13126 * sysdeps/x86_64/multiarch/varshift.h: New file.
13127 * sysdeps/x86_64/multiarch/varshift.S: New file.
13128
84b9230c
MF
131292010-08-21 Mike Frysinger <vapier@gentoo.org>
13130
13131 * configure.in: Move assembler checks to before sysdep dir checking.
13132
9bbd0ddc
PB
131332010-08-20 Petr Baudis <pasky@suse.cz>
13134
13135 * LICENSES: Sync the sunrpc license.
13136
9da4bb31
UD
131372010-08-19 Ulrich Drepper <drepper@redhat.com>
13138
a7ab6ec8
UD
13139 * sunrpc/auth_des.c: Update copyright notice once again.
13140 * sunrpc/auth_none.c: Likewise.
13141 * sunrpc/auth_unix.c: Likewise.
13142 * sunrpc/authdes_prot.c: Likewise.
13143 * sunrpc/authuxprot.c: Likewise.
13144 * sunrpc/bindrsvprt.c: Likewise.
13145 * sunrpc/clnt_gen.c: Likewise.
13146 * sunrpc/clnt_perr.c: Likewise.
13147 * sunrpc/clnt_raw.c: Likewise.
13148 * sunrpc/clnt_simp.c: Likewise.
13149 * sunrpc/clnt_tcp.c: Likewise.
13150 * sunrpc/clnt_udp.c: Likewise.
13151 * sunrpc/clnt_unix.c: Likewise.
13152 * sunrpc/des_crypt.c: Likewise.
13153 * sunrpc/des_soft.c: Likewise.
13154 * sunrpc/get_myaddr.c: Likewise.
13155 * sunrpc/getrpcport.c: Likewise.
13156 * sunrpc/key_call.c: Likewise.
13157 * sunrpc/key_prot.c: Likewise.
13158 * sunrpc/openchild.c: Likewise.
13159 * sunrpc/pm_getmaps.c: Likewise.
13160 * sunrpc/pm_getport.c: Likewise.
13161 * sunrpc/pmap_clnt.c: Likewise.
13162 * sunrpc/pmap_prot.c: Likewise.
13163 * sunrpc/pmap_prot2.c: Likewise.
13164 * sunrpc/pmap_rmt.c: Likewise.
13165 * sunrpc/rpc/auth.h: Likewise.
13166 * sunrpc/rpc/auth_unix.h: Likewise.
13167 * sunrpc/rpc/clnt.h: Likewise.
13168 * sunrpc/rpc/des_crypt.h: Likewise.
13169 * sunrpc/rpc/key_prot.h: Likewise.
13170 * sunrpc/rpc/netdb.h: Likewise.
13171 * sunrpc/rpc/pmap_clnt.h: Likewise.
13172 * sunrpc/rpc/pmap_prot.h: Likewise.
13173 * sunrpc/rpc/pmap_rmt.h: Likewise.
13174 * sunrpc/rpc/rpc.h: Likewise.
13175 * sunrpc/rpc/rpc_des.h: Likewise.
13176 * sunrpc/rpc/rpc_msg.h: Likewise.
13177 * sunrpc/rpc/svc.h: Likewise.
13178 * sunrpc/rpc/svc_auth.h: Likewise.
13179 * sunrpc/rpc/types.h: Likewise.
13180 * sunrpc/rpc/xdr.h: Likewise.
13181 * sunrpc/rpc_clntout.c: Likewise.
13182 * sunrpc/rpc_cmsg.c: Likewise.
13183 * sunrpc/rpc_common.c: Likewise.
13184 * sunrpc/rpc_cout.c: Likewise.
13185 * sunrpc/rpc_dtable.c: Likewise.
13186 * sunrpc/rpc_hout.c: Likewise.
13187 * sunrpc/rpc_main.c: Likewise.
13188 * sunrpc/rpc_parse.c: Likewise.
13189 * sunrpc/rpc_parse.h: Likewise.
13190 * sunrpc/rpc_prot.c: Likewise.
13191 * sunrpc/rpc_sample.c: Likewise.
13192 * sunrpc/rpc_scan.c: Likewise.
13193 * sunrpc/rpc_scan.h: Likewise.
13194 * sunrpc/rpc_svcout.c: Likewise.
13195 * sunrpc/rpc_tblout.c: Likewise.
13196 * sunrpc/rpc_util.c: Likewise.
13197 * sunrpc/rpc_util.h: Likewise.
13198 * sunrpc/rpcinfo.c: Likewise.
13199 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13200 * sunrpc/rpcsvc/key_prot.x: Likewise.
13201 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13202 * sunrpc/rpcsvc/mount.x: Likewise.
13203 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13204 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13205 * sunrpc/rpcsvc/rex.x: Likewise.
13206 * sunrpc/rpcsvc/rstat.x: Likewise.
13207 * sunrpc/rpcsvc/rusers.x: Likewise.
13208 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13209 * sunrpc/rpcsvc/spray.x: Likewise.
13210 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13211 * sunrpc/rtime.c: Likewise.
13212 * sunrpc/svc.c: Likewise.
13213 * sunrpc/svc_auth.c: Likewise.
13214 * sunrpc/svc_authux.c: Likewise.
13215 * sunrpc/svc_raw.c: Likewise.
13216 * sunrpc/svc_run.c: Likewise.
13217 * sunrpc/svc_simple.c: Likewise.
13218 * sunrpc/svc_tcp.c: Likewise.
13219 * sunrpc/svc_udp.c: Likewise.
13220 * sunrpc/svc_unix.c: Likewise.
13221 * sunrpc/svcauth_des.c: Likewise.
13222 * sunrpc/xcrypt.c: Likewise.
13223 * sunrpc/xdr.c: Likewise.
13224 * sunrpc/xdr_array.c: Likewise.
13225 * sunrpc/xdr_float.c: Likewise.
13226 * sunrpc/xdr_mem.c: Likewise.
13227 * sunrpc/xdr_rec.c: Likewise.
13228 * sunrpc/xdr_ref.c: Likewise.
13229 * sunrpc/xdr_sizeof.c: Likewise.
13230 * sunrpc/xdr_stdio.c: Likewise.
13231
9da4bb31
UD
13232 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13233 handling.
13234
bdaa77bc
AS
132352010-08-19 Andreas Schwab <schwab@redhat.com>
13236
13237 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13238
fe2f79db
LM
132392010-08-19 Luis Machado <luisgpm@br.ibm.com>
13240
13241 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13242 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13243 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13244 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13245 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13246 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13247 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13248 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13249 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13250 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13251 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13252 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13253 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13254 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13255
b9b42ee0
AB
132562010-07-26 Anton Blanchard <anton@samba.org>
13257
13258 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13259 * malloc/arena.c (heap_trim): Likewise.
13260
1c06ba31
UD
132612010-08-16 Ulrich Drepper <drepper@redhat.com>
13262
13263 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13264 here. Not...
13265 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13266 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13267
f8392f40
L
132682010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13269
13270 * sysdeps/i386/elf/Makefile: New file.
13271
3162f12e
AS
132722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13273
13274 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13275 from fanotify_init.
13276 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13277 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13278
28c90b2c
UD
132792010-08-15 Ulrich Drepper <drepper@redhat.com>
13280
13281 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13282 of strncasecmp_l.
1feccb6c 13283 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13284
ca6bb004
UD
132852010-08-14 Ulrich Drepper <drepper@redhat.com>
13286
e9f82e0d
UD
13287 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13288 strncase_l-nonascii.
13289 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13290 Add strncase_l-ssse3.
13291 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13292 * sysdeps/x86_64/strcmp.S: Likewise.
13293 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13294 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13295 * sysdeps/x86_64/strncase.S: New file.
13296 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13297 * sysdeps/x86_64/strncase_l.S: New file.
13298 * string/Makefile (strop-tests): Add strncasecmp.
13299 * string/test-strncasecmp.c: New file.
13300
13301 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13302 warning.
13303
ca6bb004
UD
13304 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13305 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13306
052fa7b3
AS
133072010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13308
13309 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13310
962dba78
UD
133112010-08-12 Ulrich Drepper <drepper@redhat.com>
13312
13313 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13314 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13315 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13316
bebff237
AM
133172010-05-01 Alan Modra <amodra@gmail.com>
13318
13319 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13320 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13321 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13322 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13323 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13324 tidying. Don't tail-call __sigjmp_save for static lib.
13325 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13326 save location.
13327 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13328 (CALL_MCOUNT): Add eh info, and nop after bl.
13329 (TAIL_CALL_SYSCALL_ERROR): New macro.
13330 (PSEUDO_RET): Use it.
13331 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13332 Correct save location of integer regs and cr.
13333 (_dl_profile_resolve): Correct cr save location. Delete nops
13334 after bl when SHARED. Reduce cfi size a little by better
13335 placement of cfi directives.
13336 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13337 make a stack frame. Instead use parm save area as a temp.
13338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13339 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13341 Don't make a stack frame for parent, use parm save area.
13342 Increase child stack frame to 112 bytes. Don't save unused reg,
13343 and adjust reg usage. Set up cfi on error recovery and
13344 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13346 (__makecontext): Add dummy nop after jump to exit.
13347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13348 Use correct parm save area and cr save, reduce stack frame.
13349 Correct cfi for possible PSEUDO_RET frame setup.
13350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13351 Branch to local label emitted by PSEUDO_RET rather than
13352 __syscall_error.
13353
02637374
AS
133542010-08-12 Andreas Schwab <schwab@redhat.com>
13355
13356 [BZ #11904]
13357 * locale/programs/locale.c (print_assignment): New function.
13358 (show_locale_vars): Use it.
13359
c3e2f19b
UD
133602010-08-11 Ulrich Drepper <drepper@redhat.com>
13361
3cdaa6ad
UD
13362 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13363 field.
13364 (struct statfs64): Likewise.
13365 (_STATFS_F_FLAGS): Define.
13366 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13367 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13368 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13369 (ST_VALID): Define locally.
13370 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13371 __statvfs_getflags, use the provided value.
13372 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13373 __ASSUME_STATFS_F_FLAGS.
13374
754f7da3
UD
13375 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13376
10b3bedc
UD
13377 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13378 Add sys/fanotify.h.
13379 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13380 fanotify_mask for GLIBC_2.13.
13381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13382 fanotify_init and fanotify_mark.
13383 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13384 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13385
c08fb0d7
UD
13386 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13387 Add prlimit.
13388 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13389 prlimit64 for GLIBC_2.13.
13390 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13391 prlimit64.
13392 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13393 syscall.
13394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13395 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13396 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13397 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13398 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13399 add prlimit alias.
13400 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13401
15bac72b
UD
13402 [BZ #11903]
13403 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13404 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13405
c3e2f19b
UD
13406 * nss/Makefile: Add rules to build and run tst-nss-test1.
13407 * shlib-versions: Add entry for libnss_test1.
13408 * nss/nss_test1.c: New file.
13409 * nss/tst-nss-test1.c: New file.
13410
13411 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13412 (__nss_configure_lookup): Set appropriate entry in
13413 __nss_configure_lookup to true.
13414 * nss/nsswitch.h: Define enum with indeces of databases in
13415 databases and __nss_database_custom arrays. Declare
13416 __nss_database_custom.
13417 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13418 to avoid using nscd when custom rules are installed.
13419 * nss/getXXbyYY_r.c: Likewise.
13420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13421
13422 * nss/nss_files/files-parse.c: Whitespace fixes.
13423
f15ce4d8
UD
134242010-08-09 Ulrich Drepper <drepper@redhat.com>
13425
13426 [BZ #11883]
13427 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13428 * posix/fnmatch_loop.c: Likewise.
13429
d22e4cc9
AK
134302010-07-17 Andi Kleen <ak@linux.intel.com>
13431
13432 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13433 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13434 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13435 * Versions.def [GLIBC_2.13]: Add.
13436
805bc17d
UD
134372010-08-06 Ulrich Drepper <drepper@redhat.com>
13438
13439 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13440 Also fail if tpwd after pwuid call is NULL.
13441
5a42321d
ST
134422010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13443
13444 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13445 when converting to ms.
13446
fd3ebeda
ST
134472010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13448
13449 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13450 EOPNOTSUPP errors with ENOTTY.
13451 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13452 EOPNOTSUPP errors with ENOTTY.
13453
73507d3a
UD
134542010-07-31 Ulrich Drepper <drepper@redhat.com>
13455
13456 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13457 Add strcasecmp_l-ssse3.
13458 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13459 strcasecmp.
13460 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13461 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13462 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13463
fe36dd02
UD
134642010-07-30 Ulrich Drepper <drepper@redhat.com>
13465
66f6765a
UD
13466 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13467
42e08a54
UD
13468 * string/Makefile (strop-tests): Add strcasecmp.
13469 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13470 strcasecmp_l-nonascii.
13471 (gen-as-const-headers): Add locale-defines.sym.
13472 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13473 * sysdeps/x86_64/strcasecmp.S: New file.
13474 * sysdeps/x86_64/strcasecmp_l.S: New file.
13475 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13476 * sysdeps/x86_64/locale-defines.sym: New file.
13477 * string/test-strcasecmp.c: New file.
13478
fe36dd02
UD
13479 * string/test-strcasestr.c: Test both ends of the range of characters.
13480 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13481
48cbc0d6
RM
134822010-07-29 Roland McGrath <roland@redhat.com>
13483
76e6d6bc 13484 [BZ #11856]
48cbc0d6
RM
13485 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13486
880113d9
UD
134872010-07-27 Ulrich Drepper <drepper@redhat.com>
13488
13489 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13490 for ld.so.
13491
deb9cabb
AS
134922010-07-27 Andreas Schwab <schwab@redhat.com>
13493
13494 * manual/memory.texi (Malloc Tunable Parameters): Document
13495 M_PERTURB.
13496
1c7570ff
RM
134972010-07-26 Roland McGrath <roland@redhat.com>
13498
13499 [BZ #11840]
13500 * configure.in (-fgnu89-inline check): Set and substitute
13501 gnu89_inline, not libc_cv_gnu89_inline.
13502 * configure: Regenerated.
13503 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13504
24fb0f88
UD
135052010-07-26 Ulrich Drepper <drepper@redhat.com>
13506
13507 * string/test-strnlen.c: New file.
13508 * string/Makefile (strop-tests): Add strnlen.
13509 * string/tester.c (test_strnlen): Add a few more test cases.
13510 * string/tst-strlen.c: Better error reporting.
13511
13512 * sysdeps/x86_64/strnlen.S: New file.
13513
8e96b93a
UD
135142010-07-24 Ulrich Drepper <drepper@redhat.com>
13515
13516 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13517 lower-latency instructions.
13518
dbc676d4
UD
135192010-07-23 Ulrich Drepper <drepper@redhat.com>
13520
13521 * string/test-strcasestr.c: New file.
13522 * string/test-strstr.c: New file.
13523 * string/Makefile (strop-tests): Add strstr and strcasestr.
13524 * string/str-two-way.h: Don't undefine MAX.
13525 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13526
f6a31e0e
AS
135272010-07-21 Andreas Schwab <schwab@redhat.com>
13528
13529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13530 strcasestr-nonascii.
13531 (CFLAGS-strcasestr-nonascii.c): Define.
13532 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13533 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13534 Remove unused attribute.
13535
5dbc3b6c
RM
135362010-07-20 Roland McGrath <roland@redhat.com>
13537
13538 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13539 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13540 ld.so.cache was broken. With it, there is no way to disable dsocaps
13541 like LD_HWCAP_MASK can disable hwcaps.
13542
23d101d8
EPM
135432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13544
13545 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13546
cc9f2e47
UD
135472010-07-16 Ulrich Drepper <drepper@redhat.com>
13548
13549 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13550 call in strcasestr.
13551 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13552 __strcasestr_sse42_nonascii.
13553 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13554 strcasestr-nonascii.c.
13555 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13556
77c1b069
LM
135572010-06-15 Luis Machado <luisgpm@br.ibm.com>
13558
13559 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13561 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13562 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13563
440566c3
UD
135642010-07-09 Ulrich Drepper <drepper@redhat.com>
13565
13566 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13567 fcntl.
13568
5be9d05d
AS
135692010-07-06 Andreas Schwab <schwab@redhat.com>
13570
c30b7ee2 13571 [BZ #11577]
5be9d05d
AS
13572 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13573 dl_signal_cerror.
13574
8a492a67
UD
135752010-07-06 Ulrich Drepper <drepper@redhat.com>
13576
13577 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13578 _PC_PIPE_BUF using F_GETPIPE_SZ.
13579
713df3d5
RM
135802010-07-05 Roland McGrath <roland@redhat.com>
13581
13582 * manual/arith.texi (Rounding Functions): Fix rint description
13583 implicit in round description.
13584
702e8f14
UD
135852010-07-02 Ulrich Drepper <drepper@redhat.com>
13586
13587 * elf/Makefile: Fix linking for a few tests to make recent linker
13588 happy.
13589
52ed8be9
AS
135902010-06-30 Andreas Schwab <schwab@redhat.com>
13591
13592 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13593 $(common-objpfx)libc_nonshared.a.
13594
f47c9a11
LM
135952010-06-21 Luis Machado <luisgpm@br.ibm.com>
13596
13597 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13598 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13599 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13600 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13601 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13602 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13603 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13604 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13619 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13620 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13621 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13622 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13623 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13624 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13625 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13626 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13627 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13628 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13629 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13630 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13645
6fb8cbcb
L
136462010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13647
13648 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13649 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13650 * string/memmove.c (memmove): Renamed to ...
13651 (MEMMOVE): ...this. Default to memmove.
13652 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13653 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13654 (END_CHK): Define.
13655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13656 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13657 mempcpy-ssse3-back memmove-ssse3-back.
13658 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13659 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13660 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13661 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13662 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13663 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13664 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13665 * sysdeps/x86_64/multiarch/memmove.c: New file.
13666 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13667 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13668 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13669 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13670 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13671 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13672 Define.
13673 (index_Fast_Copy_Backward): Define.
13674 (HAS_ARCH_FEATURE): Define.
13675 (HAS_FAST_REP_STRING): Define.
13676 (HAS_FAST_COPY_BACKWARD): Define.
13677
4e733bac 136782010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13679
13680 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13681 Restore proper fallback handling.
13682
63c4ed22
UD
136832010-06-19 Ulrich Drepper <drepper@redhat.com>
13684
ac2b484c
UD
13685 [BZ #11701]
13686 * posix/group_member.c (__group_member): Correct checking loop.
13687
63c4ed22
UD
13688 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13689 OOM in getpwuid_r correctly. Return error number when the caller
13690 should return, otherwise -1.
13691 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13692 call returning > 0 value.
13693 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13694
765ade4b
AS
136952010-06-07 Andreas Schwab <schwab@redhat.com>
13696
13697 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13698 libc_nonshared.a from targets in modules-names.
13699
80da2e09
KS
137002010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13701
13702 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13703 requires it.
13704
158db122
LM
137052010-06-10 Luis Machado <luisgpm@br.ibm.com>
13706
13707 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13708 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13709 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13710 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13711
caa78cf8
AS
137122010-06-02 Andreas Schwab <schwab@redhat.com>
13713
13714 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13715
b2ef2c01
UD
137162010-06-14 Ulrich Drepper <drepper@redhat.com>
13717
13718 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13719 and F_GETPIPE_SZ.
13720 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13721 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13724 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13726
fbd643b6
RM
137272010-06-14 Roland McGrath <roland@redhat.com>
13728
13729 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13730
f32f2869
JJ
137312010-06-07 Jakub Jelinek <jakub@redhat.com>
13732
13733 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13734 __REDIRECT followed by __THROW.
13735 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13736 * posix/getopt.h (getopt): Likewise.
13737
2a50c078
EPM
137382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13739
13740 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13741 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13742 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13743 in AT_FLAGS.
13744 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13745 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13746
eb5ad2eb
LM
137472010-05-28 Luis Machado <luisgpm@br.ibm.com>
13748
13749 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13750
3c88fe1e
L
137512010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13752
13753 [BZ #11640]
13754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13755 Properly check family and model.
13756
d2f73151
TY
137572010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13758
13759 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13760
ebd2e13d
LM
137612010-05-24 Luis Machado <luisgpm@br.ibm.com>
13762
13763 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13764
b32b8b45
UD
137652010-05-21 Ulrich Drepper <drepper@redhat.com>
13766
13767 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13768 symbol reference.
13769
9acbe24d
AS
137702010-05-19 Andreas Schwab <schwab@redhat.com>
13771
13772 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13773 symbol reference.
13774
f0ccf6ea
AS
137752010-05-21 Andreas Schwab <schwab@redhat.com>
13776
3d04ff3a
AS
13777 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13778 and internal_recvmmsg.
13779 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13780 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13781 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13782 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13783
f0ccf6ea
AS
13784 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13785 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13786 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13787
5b08ac57
AS
137882010-05-20 Andreas Schwab <schwab@redhat.com>
13789
13790 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13791
4828935d
LM
137922010-05-17 Luis Machado <luisgpm@br.ibm.com>
13793
13794 POWER7 optimizations.
13795 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13796 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13797
373d545e
UD
137982010-05-19 Ulrich Drepper <drepper@redhat.com>
13799
13800 * version.h: Update for 2.13 development version.
13801
21a2b1ae
AS
138022010-05-12 Andrew Stubbs <ams@codesourcery.com>
13803
13804 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13805 exceptions. Return 0.
13806
3f7dcb2b
RM
138072010-05-07 Roland McGrath <roland@redhat.com>
13808
13809 * elf/ldconfig.c (main): Add a const.
13810
5f24d53a 138112010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13812
a160f8d8
UD
13813 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13814 (args_options): Add no-idn option.
13815 (ahosts_keys_int): Add idn_flags to ai_flags.
13816 (parse_option): Handle 'i' option to clear idn_flags.
13817
5f24d53a
UD
13818 * malloc/malloc.c (_int_free): Possible race in the most recently
13819 added check. Only act on the data if no current modification
13820 happened.
265bb1ce
UD
13821
13822See ChangeLog.17 for earlier changes.