]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Hurd: _hurd_select: check for invalid parameter values
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c6474b07
PT
12012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2
3 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4 TIMEOUT values. Return EINVAL for NFDS values either negative or
5 greater than FD_SETSIZE.
6
1043890b
ST
72012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8
9 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10 allocated, call __vm_protect to finish enabling the existing space, and
11 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12 allocate the remainder.
13
37ed8b9b
PT
142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15
16 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18
db653660
ST
192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20
37ed8b9b
PT
21 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22 sysdeps/mach/hurd/readlink.c.
b29d4053 23
db653660
ST
24 * posix/tst-sysconf.c (posix_options): Only use
25 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26 _POSIX_SYNCHRONIZED_IO when they are defined
27 * sysdeps/mach/hurd/bits/posix_opt.h:
28 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29 (_XOPEN_REALTIME): Undefine macro.
30 (_XOPEN_REALTIME_THREADS): Undefine macro.
31 (_XOPEN_SHM): Undefine macro.
32 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33 macro to -1.
34 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35 macro to -1.
36 (_POSIX_ASYNC_IO): Undefine macro.
37 (_POSIX_PRIORITIZED_IO): Undefine macro.
38 (_POSIX_SPIN_LOCKS): Define macro to -1.
39
ee16e894
ST
40 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41 SA_NODEFER, SA_RESETHAND.
42 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44 F_DUPFD_CLOEXEC.
45
6103ae3b
TS
462012-05-10 Thomas Schwinge <thomas@schwinge.name>
47
48 * elf/Makefile (pldd-modules): Define unconditionally.
49
80b4e5f3
TS
502012-05-10 Thomas Schwinge <thomas@schwinge.name>
51
52 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
53
edadcbd6
ST
542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
55
56 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
57 Return ENOENT when name is empty.
58 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59
80694780
TS
602012-05-10 Thomas Schwinge <thomas@schwinge.name>
61
1792c087
TS
62 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63
80694780
TS
64 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65
6b645f0d
ST
662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
67
80694780
TS
68 Fix mlock in all cases except non-readable pages.
69 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
70 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 71
6b645f0d
ST
72 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
73 (__mkdir): When path is `/', just fail with EEXIST.
74 * sysdeps/mach/hurd/mkdirat.c: Likewise.
75
e468f8a3
TS
762012-05-10 Thomas Schwinge <thomas@schwinge.name>
77
78 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
79 <sys/uio.h> (for writev).
80 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
81 and <sys/param.h> (for MIN).
82
a4186cff
PT
832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
84
85 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
86 REQUESTED_TIME. Properly set the remaining time and return EINTR
87 if interrupted.
88
510bbf14
TS
892012-05-10 Thomas Schwinge <thomas@schwinge.name>
90
91 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
92 Depend on against $(link-rpcuserlibs).
93
5d5722e8
ST
942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
95
a4186cff
PT
96 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
97 (__libc_stack_end): Do not use attribute_relro.
98 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
99 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 100 to libthread-provided value.
a4186cff
PT
101 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
102 attribute_relro.
5d5722e8 103
37233df9
TS
1042012-05-10 Thomas Schwinge <thomas@schwinge.name>
105
be971a2b
TS
106 [BZ #3748]
107 * bits/libc-lock.h (__libc_once_get): New macro.
108 * sysdeps/mach/bits/libc-lock.h: Likewise.
109 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
110 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
111 instead of using implementation details.
112
37233df9
TS
113 * libio/fileops.c: Unconditionally include <kernel-features.h>.
114 * libio/freopen.c: Likewise.
115 * libio/freopen64.c: Likewise.
116 * misc/syslog.c: Likewise.
117 * nscd/connections.c: Likewise.
118 * nscd/netgroupcache.c: Likewise.
119 * sysdeps/posix/getcwd.c: Likewise.
120
38de94a5
RM
1212012-05-10 Roland McGrath <roland@hack.frob.com>
122
123 * math/w_ilogbf.c: Add #include <limits.h>.
124
67530489
ST
1252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
126
a4186cff 127 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
128 path instead of returning without unlocking.
129
67530489
ST
130 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
131 immediate-write ioctls.
132 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
133
5aa3a74a
TS
1342012-05-10 Thomas Schwinge <thomas@schwinge.name>
135
18bad2ae
TS
136 * sysdeps/mach/hurd/i386/init-first.c (init): Use
137 __builtin_frame_address instead of making assumptions about the
138 location of the return address relative to DATA. Force early load of
139 the return address.
140 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
141 __builtin_frame_address.
142
5aa3a74a
TS
143 dup3 for GNU Hurd.
144 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
145 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
146 implement dup3 and do some further code clean-ups.
147 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
148 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
149
ecd0de9a
ST
1502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
151
cd9fa985
ST
152 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
153
a4186cff
PT
154 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
155 HURD_CRITICAL_END around holding _hurd_dtable_lock.
156 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
157 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
158 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
159 d->port.lock.
802ca5a5 160
a4186cff
PT
161 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
162 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
163 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 164
bcf55240
TS
1652012-05-10 Thomas Schwinge <thomas@schwinge.name>
166
6960eb42
TS
167 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
168 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
169 definitions.
170
eb43375f
TS
171 accept4 for GNU Hurd.
172 * include/sys/socket.h (__libc_accept4): New prototype.
173 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
174 to implement __libc_accept4.
175 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
176 __libc_accept4.
177 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
178
bcf55240
TS
179 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
180 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
181 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
182 signal-defines.sym.
183
6178c55b
ST
1842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
185
a4186cff 186 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 187
6f080c2f
TS
1882012-05-10 Thomas Schwinge <thomas@schwinge.name>
189
190 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
191 assertion on O_CLOEXEC flag.
192 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
193 * hurd/intern-fd.c: Likewise.
194 * hurd/port2fd.c: Likewise.
195
bcfe3a54
ST
1962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
197
198 [BZ #3906]
199 * bits/in.h (IPV6_PKTINFO): Define new macro.
200 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
201
89c9aa49
AZ
2022012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
203
204 [BZ #13954]
205 [BZ #13955]
206 [BZ #13956]
207 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
208 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
209 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
210 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
211 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
212 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
213 * math/libm-test.inc (logb_test) : Additional logb tests.
214
021db4be
AJ
2152012-05-09 Andreas Schwab <schwab@linux-m68k.org>
216 Andreas Jaeger <aj@suse.de>
217
218 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
219 * configure: Regenerated.
220 * config.h.in (LINK_OBSOLETE_RPC): New macro.
221 * config.make.in (link-obsolete-rpc): New substituted variable.
222 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
223 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
224 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
225 (shared-only-routines): Don't set it under [link-obsolete-rpc],
226 so that libc.a contains the symbols.
227 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
228 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
229 * sunrpc/auth_none.c: Likewise.
230 * sunrpc/auth_unix.c: Likewise.
231 * sunrpc/authdes_prot.c: Likewise.
232 * sunrpc/authuxprot.c: Likewise.
233 * sunrpc/clnt_gen.c: Likewise.
234 * sunrpc/clnt_perr.c: Likewise.
235 * sunrpc/clnt_raw.c: Likewise.
236 * sunrpc/clnt_simp.c: Likewise.
237 * sunrpc/clnt_tcp.c: Likewise.
238 * sunrpc/clnt_udp.c: Likewise.
239 * sunrpc/clnt_unix.c: Likewise.
240 * sunrpc/des_crypt.c: Likewise.
241 * sunrpc/des_soft.c: Likewise.
242 * sunrpc/get_myaddr.c: Likewise.
243 * sunrpc/key_call.c: Likewise.
244 * sunrpc/key_prot.c: Likewise.
245 * sunrpc/netname.c: Likewise.
246 * sunrpc/pm_getmaps.c: Likewise.
247 * sunrpc/pm_getport.c: Likewise.
248 * sunrpc/pmap_clnt.c: Likewise.
249 * sunrpc/pmap_prot.c: Likewise.
250 * sunrpc/pmap_prot2.c: Likewise.
251 * sunrpc/pmap_rmt.c: Likewise.
252 * sunrpc/publickey.c: Likewise.
253 * sunrpc/rpc_cmsg.c: Likewise.
254 * sunrpc/rpc_common.c: Likewise.
255 * sunrpc/rpc_dtable.c: Likewise.
256 * sunrpc/rpc_prot.c: Likewise.
257 * sunrpc/rpc_thread.c: Likewise.
258 * sunrpc/rtime.c: Likewise.
259 * sunrpc/svc.c: Likewise.
260 * sunrpc/svc_auth.c: Likewise.
261 * sunrpc/svc_raw.c: Likewise.
262 * sunrpc/svc_run.c: Likewise.
263 * sunrpc/svc_tcp.c: Likewise.
264 * sunrpc/svc_udp.c: Likewise.
265 * sunrpc/svc_unix.c: Likewise.
266 * sunrpc/svcauth_des.c: Likewise.
267 * sunrpc/xcrypt.c: Likewise.
268 * sunrpc/xdr.c: Likewise.
269 * sunrpc/xdr_array.c: Likewise.
270 * sunrpc/xdr_float.c: Likewise.
271 * sunrpc/xdr_intXX_t.c: Likewise.
272 * sunrpc/xdr_mem.c: Likewise.
273 * sunrpc/xdr_rec.c: Likewise.
274 * sunrpc/xdr_ref.c: Likewise.
275 * sunrpc/xdr_sizeof.c: Likewise.
276 * sunrpc/xdr_stdio.c: Likewise.
277
b5c086a2
RM
2782012-05-10 Roland McGrath <roland@hack.frob.com>
279
280 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
281 change. Update copyright years.
282
6d74dd09
JM
2832012-05-10 Joseph Myers <joseph@codesourcery.com>
284
285 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
286
28e72501
MK
2872012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
288 Joseph Myers <joseph@codesourcery.com>
289 Paul Pluzhnikov <ppluzhnikov@google.com>
290
291 [BZ #14012]
292 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
293 requiring rpcgen.
294 [cross-compiling] (extra-libs): Likewise.
295 [cross-compiling] (extra-libs-others): Likewise.
296 [cross-compiling] (librpcsvc-routines): Likewise.
297 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
298 [cross-compiling] (omit-deps): Likewise.
299 (sunrpc-CPPFLAGS): New variable.
300 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
301 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
302 (cross-rpcgen-objs): New variable.
303 (extra-objs): Append $(cross-rpcgen-objs).
304 ($(cross-rpcgen-objs)): New rule.
305 ($(objpfx)cross-rpcgen): Likewise.
306 (rpcgen-cmd): Define to use $(built-program-file). Expand
307 comment.
308 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
309 ($(objpfx)x%.stmp): Likewise.
310 * sunrpc/proto.h [IS_IN_build] (_): Define.
311 [IS_IN_build] (_libc_intl_domainname): Likewise.
312
c8c59454
L
3132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
314
315 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
316 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
317 and R_X86_64_TPOFF64.
318
6f27cd16
JM
3192012-05-10 Joseph Myers <joseph@codesourcery.com>
320
321 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
322 sysdeps/unix/sysv/syscalls.list.
323 (stime): Likewise.
324 (utime): Likewise.
325 * sysdeps/unix/sysv/syscalls.list: Remove file.
326
02467e1c
PE
3272012-05-10 Paul Eggert <eggert@cs.ucla.edu>
328
329 [BZ #3440]
330 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
331 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
332 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
333 (__LC_IDENTIFICATION): Make these macros useful in #if
334 expressions, as required by C99.
335
da392631
AS
3362012-05-10 Andreas Schwab <schwab@linux-m68k.org>
337
338 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
339 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
340 after this.
341
8115f29b
L
3422012-05-09 H.J. Lu <hongjiu.lu@intel.com>
343
344 * stdlib/longlong.h: Updated from GCC.
345
bdd74070
AJ
3462012-05-09 Andreas Jaeger <aj@suse.de>
347
edfe0dbe
AJ
348 * nscd/nscd.c (run_modes): Make named enum, reorder so that
349 default is first entry.
350 (run_mode): Set type.
351 (main): Remove informal message about syslog.
352 (options): Fix typo.
353
bcfe3a54
ST
354 [BZ #14053]
355 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 356 to asm.
bcfe3a54
ST
357 (lrint): Likewise.
358 (llrintf): Likewise.
359 (llrint): Likewise.
360 (rint): Likewise.
361 (rintf): Likewise.
362 (nearbyint): Likewise.
363 (nearbyintf): Likewise.
bdd74070 364
91d8d69e
AJ
3652012-05-09 Andreas Jaeger <aj@suse.de>
366 Pedro Alves <palves@redhat.com>
367
368 * nscd/nscd.c (run_mode): Use enum.
369 (main): Cleanup coding style issue.
370
bb90b80b
AJ
3712012-05-09 Alexandre Oliva <aoliva@redhat.com>
372 Andreas Jaeger <aj@suse.de>
373
bcfe3a54
ST
374 * nscd/nscd.c (go_background): Replaced with...
375 (run_mode): ... this.
bb90b80b 376 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
377 (options): Add -F --foreground.
378 (main): Implement it.
379 (parse_opt): Parse it.
bb90b80b 380
1a4b75a1
AJ
3812012-05-09 Andreas Jaeger <aj@suse.de>
382
383 [BZ #14083]
384 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
385 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
386 -Wconversion warning.
387 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
388 Likewise.
389
b1cc2472
JM
3902012-05-09 Joseph Myers <joseph@codesourcery.com>
391
392 * conform/data/locale.h-data (NULL): Use macro-constant. Require
393 == 0.
394 (LC_ALL): Use macro-int-constant.
395 (LC_COLLATE): Likewise.
396 (LC_CTYPE): Likewise.
397 (LC_MESSAGES): Likewise.
398 (LC_MONETARY): Likewise.
399 (LC_NUMERIC): Likewise.
400 (LC_TIME): Likewise.
401 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
402 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
403 [ISO || ISO99 || ISO11] (*_t): Do not allow.
404 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
405 Specify type.
406 [C99-based standards] (float_t): Expect type.
407 [C99-based standards] (double_t): Expect type.
408 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
409 type.
410 [C99-based standards] (HUGE_VALL): Likewise.
411 [C99-based standards] (INFINITY): Likewise.
412 [C99-based standards] (NAN): Likewise.
413 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
414 [C99-based standards] (FP_NAN): Likewise.
415 [C99-based standards] (FP_NORMAL): Likewise.
416 [C99-based standards] (FP_SUBNORMAL): Likewise.
417 [C99-based standards] (FP_ZERO): Likewise.
418 [C99-based standards] (FP_FAST_FMA): Use
419 optional-macro-int-constant. Specify type. Require == 1.
420 [C99-based standards] (FP_FAST_FMAF): Likewise.
421 [C99-based standards] (FP_FAST_FMAL): Likewise.
422 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
423 [C99-based standards] (FP_ILOGBNAN): Likewise.
424 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
425 Specify type.
426 [C99-based standards] (MATH_ERREXCEPT): Likewise.
427 [C99-based standards] (math_errhandling): Specify type.
428 [ISO99 || ISO11] (signgam): Do not allow.
429 [non-C99-based standards] (copysignf): Do not allow.
430 [non-C99-based standards] (exp2f): Likewise.
431 [non-C99-based standards] (log2f): Likewise.
432 [non-C99-based standards] (modff): Allow.
433 [non-C99-based standards] (erff): Do not allow.
434 [non-C99-based standards] (erfcf): Likewise.
435 [non-C99-based standards] (gammaf): Likewise.
436 [non-C99-based standards] (hypotf): Likewise.
437 [non-C99-based standards] (j0f): Likewise.
438 [non-C99-based standards] (j1f): Likewise.
439 [non-C99-based standards] (jnf): Likewise.
440 [non-C99-based standards] (lgammaf): Likewise.
441 [non-C99-based standards] (tgammaf): Likewise.
442 [non-C99-based standards] (y0f): Likewise.
443 [non-C99-based standards] (y1f): Likewise.
444 [non-C99-based standards] (ynf): Likewise.
445 [non-C99-based standards] (isnanf): Likewise.
446 [non-C99-based standards] (acoshf): Likewise.
447 [non-C99-based standards] (asinhf): Likewise.
448 [non-C99-based standards] (atanhf): Likewise.
449 [non-C99-based standards] (cbrtf): Likewise.
450 [non-C99-based standards] (expm1f): Likewise.
451 [non-C99-based standards] (ilogbf): Likewise.
452 [non-C99-based standards] (log1pf): Likewise.
453 [non-C99-based standards] (logbf): Likewise.
454 [non-C99-based standards] (nextafterf): Likewise.
455 [non-C99-based standards] (remainderf): Likewise.
456 [non-C99-based standards] (rintf): Likewise.
457 [non-C99-based standards] (scalbf): Likewise.
458 [non-C99-based standards] (copysignl): Likewise.
459 [non-C99-based standards] (exp2l): Likewise.
460 [non-C99-based standards] (log2l): Likewise.
461 [non-C99-based standards] (modfl): Allow.
462 [non-C99-based standards] (erfl): Do not allow.
463 [non-C99-based standards] (erfcl): Likewise.
464 [non-C99-based standards] (gammal): Likewise.
465 [non-C99-based standards] (hypotl): Likewise.
466 [non-C99-based standards] (j0l): Likewise.
467 [non-C99-based standards] (j1l): Likewise.
468 [non-C99-based standards] (jnl): Likewise.
469 [non-C99-based standards] (lgammal): Likewise.
470 [non-C99-based standards] (tgammal): Likewise.
471 [non-C99-based standards] (y0l): Likewise.
472 [non-C99-based standards] (y1l): Likewise.
473 [non-C99-based standards] (ynl): Likewise.
474 [non-C99-based standards] (isnanl): Likewise.
475 [non-C99-based standards] (acoshl): Likewise.
476 [non-C99-based standards] (asinhl): Likewise.
477 [non-C99-based standards] (atanhl): Likewise.
478 [non-C99-based standards] (cbrtl): Likewise.
479 [non-C99-based standards] (expm1l): Likewise.
480 [non-C99-based standards] (ilogbl): Likewise.
481 [non-C99-based standards] (log1pl): Likewise.
482 [non-C99-based standards] (logbl): Likewise.
483 [non-C99-based standards] (nextafterl): Likewise.
484 [non-C99-based standards] (remainderl): Likewise.
485 [non-C99-based standards] (rintl): Likewise.
486 [non-C99-based standards] (scalbl): Likewise.
487 [ISO || ISO99 || ISO11] (*_t): Do not allow.
488 [non-C99-based standards] (FP_*): Do not allow.
489 [C99-based standards] (FP_*): Change to
490 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
491 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
492 allow.
493 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
494 (SIG_ERR): Likewise.
495 [X/Open-based standards] (SIG_HOLD): Likewise.
496 (SIG_IGN): Likewise.
497 (SIGABRT): Use macro-int-constant. Specify type. Require
498 positive value.
499 (SIGFPE): Likewise.
500 (SIGILL): Likewise.
501 (SIGINT): Likewise.
502 (SIGSEGV): Likewise.
503 (SIGTER): Likewise.
504 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
505 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
506 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
507 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
508 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
509 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
510 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
511 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
512 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
513 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
514 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
515 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
516 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
517 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
518 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
519 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
520 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
521 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
522 [X/Open-based standards] (SIGTRAP): Likewise.
523 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
524 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
525 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
526 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
527 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
528 allow.
529
b9f1922d
IW
5302012-05-08 Ian Wienand <ianw@vmware.com>
531
532 [BZ #14080]
533 * time/tzset.c (__tzset_parse_tz): Update default rules for
534 daylight time changes in the Energy Policy Act of 2005.
535
1db86e88
AJ
5362012-05-09 Andreas Jaeger <aj@suse.de>
537
538 [BZ #13983]
539 * elf/ldconfig.c (parse_conf): Change string to make clear that
540 ldconfig only issued a warning if ld.so.conf does not exist.
541
dee4a4e3
DM
5422012-05-08 David S. Miller <davem@davemloft.net>
543
ee0db190
DM
544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
545 movxtod instead of popping the value on the stack.
546
dee4a4e3
DM
547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
548
6a43ec98
CD
5492012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
550
551 * config.h.in: Add HAVE_ARM_PCS_VFP.
552
05c2c961
RMG
5532012-05-08 Roland Mc Grath <roland@hack.frob.com>
554
bcfe3a54
ST
555 [BZ #13979]
556 * include/features.h: Warn if user requests __FORTIFY_SOURCE
557 checking but the checks are disabled for any reason.
05c2c961 558
4b30f61a
L
5592012-05-08 H.J. Lu <hongjiu.lu@intel.com>
560
561 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
562 and ELF64_R_TYPE with ELFW(R_TYPE).
563
eee2bc67
JM
5642012-05-08 Joseph Myers <joseph@codesourcery.com>
565
7ea5391a
JM
566 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
567 (ulimit): Likewise.
568
eee2bc67
JM
569 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
570 (settimeofday): Likewise.
571
abb66a67
MF
5722012-05-08 Mike Frysinger <vapier@gentoo.org>
573
574 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
575 a struct th_u2 inside the union, and move tu_block/tu_code into
576 a new th_u3 union of tu_block/tu_code inside of that. Move
577 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
578 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
579 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
580 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
581 (th_stuff): Change to th_u1.tu_stuff.
582 (th_data): Define.
583 (th_msg): Change to th_u1.th_u2.tu_data.
584
7f18b530
DM
5852012-05-07 David S. Miller <davem@davemloft.net>
586
05760585
DM
587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
588
7f18b530
DM
589 [BZ #14074]
590 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
591 (SETUP_PIC_REG): Use it.
592 (SETUP_PIC_REG_LEAF): Use it.
593
495fd99f
JM
5942012-05-07 Joseph Myers <joseph@codesourcery.com>
595
596 [BZ #13885]
597 [BZ #13923]
598 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
599 USE_AS_EXPM1L.
600 (EXPL_FINITE): Likewise.
601 (FLDLOG): Likewise.
602 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
603 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
604 e_expl.S.
605 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
606 USE_AS_EXPM1L.
607 (EXPL_FINITE): Likewise.
608 (FLDLOG): Likewise.
609 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
610 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
611 e_expl.S.
612 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
613 test of -max_value argument for long double.
614 * sysdeps/i386/fpu/libm-test-ulps: Update.
615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
616
6693d694
DM
6172012-05-06 David S. Miller <davem@davemloft.net>
618
619 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
620 quad soft-float symbols whose references which are compiler
621 generated.
622 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
623
6c23e11c
JM
6242012-05-06 Joseph Myers <joseph@codesourcery.com>
625
d8b82cad
JM
626 [BZ #13884]
627 [BZ #13914]
628 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
629 USE_AS_EXP10L.
630 (EXPL_FINITE): Likewise.
631 (FLDLOG): Likewise.
632 (c0): Likewise.
633 (c1): Likewise.
634 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
635 Adjust comments for base varying.
636 (__expl_finite): Change alias to EXPL_FINITE.
637 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
638 e_expl.S.
639 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
640 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
641 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
642 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
643 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
644 USE_AS_EXP10L.
645 (EXPL_FINITE): Likewise.
646 (FLDLOG): Likewise.
647 (c0): Likewise.
648 (c1): Likewise.
649 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
650 Adjust comments for base varying.
651 (__expl_finite): Change alias to EXPL_FINITE.
652 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
653 tests for bugs.
654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
655
6c23e11c
JM
656 [BZ #14064]
657 * math/libm-test.inc (check_float_internal): Correct ulp
658 calculation for subnormal expected results.
659
29ba805c
AJ
6602012-05-06 Andreas Jaeger <aj@suse.de>
661
662 * Makeconfig (+math-flags): New, set to -frounding-math.
663 (+cflags): Add +math-flags so that all of glibc gets compiled with
664 it.
665
666 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
667
7b17aeda
JM
6682012-05-05 Joseph Myers <joseph@codesourcery.com>
669
5779f134
JM
670 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
671 Disable one test.
672
41498f4d
JM
673 [BZ #13787]
674 [BZ #13922]
675 [BZ #14036]
676 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
677 (__ieee754_expl): Allow for and saturate large arguments.
678 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
679 (u_threshold): Likewise.
680 (__exp): Call __ieee754_exp before checking for overflow and
681 underflow.
682 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
683 (u_threshold): Likewise.
684 (__expf): Call __ieee754_expf before checking for overflow and
685 underflow.
686 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
687 (u_threshold): Likewise.
688 (__expl): Call __ieee754_expl before checking for overflow and
689 underflow.
690 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
691 (__ieee754_expl): Allow for and saturate large arguments.
692 * math/libm-test.inc (exp_test): Add another test. Do not allow
693 missing overflow exception on overflow.
694 (expm1_test): Do not allow missing overflow exception on overflow.
695
6698b8bf
JM
696 * sysdeps/i386/fpu/e_expl.c: Move to ...
697 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
698 rather than using inline asm.
699 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
700 * sysdeps/x86_64/fpu/e_expl.S: Copy from
701 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
702
7b17aeda
JM
703 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
704 (nice): Likewise.
705 (poll): Likewise.
706 (signal): Likewise.
707 (time): Likewise.
708 (times): Likewise.
709
f7c85819
JM
7102012-05-04 Joseph Myers <joseph@codesourcery.com>
711
712 * sysdeps/unix/syscalls.list (adjtime): Add entry from
713 sysdeps/unix/common/syscalls.list.
714 (fchmod): Likewise.
715 (fchown): Likewise.
716 (ftruncate): Likewise.
717 (getrusage): Likewise.
718 (gettimeofday): Likewise.
719 (setpgid): Likewise.
720 (setregid): Likewise.
721 (setreuid): Likewise.
722 (sigaction): Likewise.
723 (truncate): Likewise.
724 (vhangup): Likewise.
725 * sysdeps/unix/common/syscalls.list: Remove file.
726 * sysdeps/unix/bsd/Implies: Don't include unix/common.
727 * sysdeps/unix/sysv/linux/Implies: Likewise.
728
336270d0
L
7292012-05-04 H.J. Lu <hongjiu.lu@intel.com>
730
731 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
733 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
734 Moved to ...
735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
736 Here.
737 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
738 to ...
739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
740 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
741 to ...
742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
743 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
744 to ...
745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
746 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
747 to ...
748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
749 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
750 to ...
751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
752 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
753 to ...
754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
755 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
756 to ...
757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
758 Here.
759 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
760 to ...
761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
762 Here.
763 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
764 to ...
765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
766 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
767 Moved to ...
768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
769 Here.
770 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
771 to ...
772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
773
d128e450
JM
7742012-05-04 Joseph Myers <joseph@codesourcery.com>
775
fa8ee516
JM
776 * sysdeps/unix/common/bits/dirent.h: Remove file.
777 * sysdeps/unix/common/bits/fcntl.h: Likewise.
778
d128e450
JM
779 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
780 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
781 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
782 * sysdeps/unix/bsd/isatty.c: Likewise.
783 * sysdeps/unix/bsd/tcdrain.c: Likewise.
784 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
785 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
786
ff8faaf0 7872012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 788
62881be4 789 [BZ #13563]
31dc8730
AZ
790 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
791 long double comparison inaccuracies.
792 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
794
6fef930c
AS
7952012-05-04 Andreas Schwab <schwab@linux-m68k.org>
796
797 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
798 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
799
8f203e6c
JM
8002012-05-04 Joseph Myers <joseph@codesourcery.com>
801
802 [BZ #14049]
803 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
804 nonzero digits before rounding a hex value.
805 * stdlib/tst-strtod.c (tests): Add another test.
806
5197d9c2
AK
8072012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
808
809 * sysdeps/s390/fpu/libm-test-ulps: Update.
810
f0c1dedf
AJ
8112012-05-03 Andreas Jaeger <aj@suse.de>
812
813 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
814 does not get optimized out.
815 (malloc_opt_barrier): New.
816
a65ef2ae 8172012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 818 Roland McGrath <roland@hack.frob.com>
a65ef2ae 819
2b942cb7 820 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 821 intermediate file deletion.
2b942cb7 822 (generated): Add .symlist files.
a65ef2ae 823
54b71e02
JM
8242012-05-03 Joseph Myers <joseph@codesourcery.com>
825
826 [BZ #13775]
827 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
828 Redirect under this condition.
829 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
830 [__USE_GNU] (__dprintf_chk): Not under this condition.
831 [__USE_GNU] (__vdprintf_chk): Likewise.
832 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
833 under this condition.
834 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
835 [__USE_XOPEN2K8] (dprintf): Define under this condition.
836 [__USE_XOPEN2K8] (vdprintf): Likewise.
837 [__USE_GNU] (__dprintf_chk): Not under this condition.
838 [__USE_GNU] (__vdprintf_chk): Likewise.
839 [__USE_GNU] (dprintf): Likewise.
840 [__USE_GNU] (vdprintf): Likewise.
841
d3dfcc41
RM
8422012-05-03 Roland McGrath <roland@hack.frob.com>
843
844 * elf/Makefile (common-generated): Set this instead of generated for
845 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
846 $(all-built-dso)-derived lists.
847
7ac30cc5
AJ
8482012-05-03 Andreas Jaeger <aj@suse.de>
849
0c51e550
AJ
850 * sysdeps/i386/fpu/libm-test-ulps: Update.
851
7ac30cc5
AJ
852 * FAQ: Removed.
853 * FAQ.in: Likewise.
854 * scripts/gen-FAQ.pl: Likewise.
855 * manual/install.texi (Installation): Point to online location of
856 FAQ.
857 * Makefile (files-for-dist): Remove FAQ.
858 (FAQ): Remove.
859
d4c2917f
AM
8602012-05-02 Allan McRae <allan@archlinux.org>
861
862 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
863 (LDFLAGS-reldepmod5.so): Likewise.
864 (LDFLAGS-reldep6mod1.so): Likewise.
865 (LDFLAGS-reldep6mod4.so): Likewise.
866 (LDFLAGS-reldep8mod3.so): Likewise.
867 (LDFLAGS-unload4mod1.so): Likewise.
868 (LDFLAGS-unload4mod2.so): Likewise.
869 (LDFLAGS-tst-initorder): Likewise.
870 (LDFLAGS-tst-initordera2.so): Likewise.
871 (LDFLAGS-tst-initordera3.so): Likewise.
872 (LDFLAGS-tst-initordera4.so): Likewise.
873 (LDFLAGS-tst-initorderb2.so): Likewise.
874 (LDFLAGS-noload): Likewise.
875 (LDFLAGS-next): Likewise.
876 (LDFLAGS-order2mod1.so): Likewise.
877 (LDFLAGS-order2mod2.so): Likewise.
878 (LDFLAGS-tst-initorder2): Likewise.
879 (LDFLAGS-tst-initorder2a.so): Likewise.
880 (LDFLAGS-tst-initorder2b.so): Likewise.
881 (LDFLAGS-tst-initorder2c.so): Likewise.
882 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
883
d77f993f
DM
8842012-05-02 David S. Miller <davem@davemloft.net>
885
886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
887
171a70b4
PP
8882012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
889
890 [BZ #14055]
891 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
892
0be196ad
AJ
8932012-05-02 Andreas Jaeger <aj@suse.de>
894
895 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
896 since we manipulate rounding mode.
897 (CPPFLAGS-test-idouble.c): Likewise.
898 (CPPFLAGS-test-ifloat.c): Likewise.
899 (CFLAGS-test-ldouble.c): Likewise.
900 (CFLAGS-test-double.c): Likewise.
901 (CFLAGS-test-float.c): Likewise.
902 (CFLAGS-test-misc.c): Likewise.
903 (CFLAGS-test-test-fenv.c): Likewise.
904
4f9d04aa
AZ
9052012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
906
2b942cb7
RM
907 [BZ #2550]
908 [BZ #2570]
909 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
910 comparisons to determine direction to adjust input.
4f9d04aa 911
82a79e7d
RM
9122012-05-01 Roland McGrath <roland@hack.frob.com>
913
f5a01ca9
RM
914 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
915 output to the target.
916
90fe4186
RM
917 * scripts/localplt.awk: New file.
918 * elf/Makefile ($(objpfx)check-localplt): Target removed.
919 (check-localplt-CFLAGS): Variable removed.
920 ($(all-built-dso:=.jmprel)): New static pattern rule.
921 (generated): Add those targets.
922 (localplt-built-dso): New variable.
923 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
924
925 * elf/check-localplt.c: File removed.
926
82397ed6
RM
927 * scripts/check-execstack.awk: New file.
928 * elf/Makefile ($(objpfx)check-execstack): Target removed.
929 (check-execstack-CFLAGS): Variable removed.
930 ($(objpfx)check-execstack.h): Target removed.
931 ($(objpfx)execstack-default): New target.
932 (generated): Add that instead of check-execstack.h.
933 ($(all-built-dso:=.phdr)): New static pattern rule.
934 (generated): Add those targets.
935 * elf/check-execstack.c: File removed.
936
82a79e7d
RM
937 * scripts/check-textrel.awk: New file.
938 * elf/Makefile ($(objpfx)check-textrel): Target removed.
939 (check-textrel-CFLAGS): Variable removed.
940 (all-built-dso): Use := to define.o
941 ($(all-built-dso:=.dyn)): New static pattern rule.
942 (generated): Add those targets.
943 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
944 * config.make.in (READELF): New substituted variable.
945 * elf/check-textrel.c: File removed.
946
62fde54f 9472012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 948
615605c9
JM
949 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
950 allow.
951 * conform/data/ctype.h-data [C99-based standards] (isblank):
952 Expect function.
953 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
954 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
956 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
957 Specify type. Require positive value.
958 (EILSEQ): Likewise.
959 (ERANGE): Likewise.
960 [ISO || POSIX] (EILSEQ): Do not expect.
961 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
962 Specify type. Require positive value.
963 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
964 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
965 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
966 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
967 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
968 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
969 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
970 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
971 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
972 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
973 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
974 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
975 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
976 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
977 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
978 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
979 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
980 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
981 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
982 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
983 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
984 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
985 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
986 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
987 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
988 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
989 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
990 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
991 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
992 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
993 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
994 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
995 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
996 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
997 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
998 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
999 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1000 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1001 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1002 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1003 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1004 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1005 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1006 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1007 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1008 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1009 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1010 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1011 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1012 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1013 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1014 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1015 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1016 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1017 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1018 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1019 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1020 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1021 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1022 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1023 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1024 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1025 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1026 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1027 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1028 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1029 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1030 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1031 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1032 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1033 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1034 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1035 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1036 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1037 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1038 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1039 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1040 Require >= 2.
1041 (FLT_ROUNDS): Expect as macro, not constant.
1042 (FLT_MANT_DIG): Use macro-int-constant.
1043 (DBL_MANT_DIG): Likewise.
1044 (LDBL_MANT_DIG): Likewise.
1045 (FLT_DIG): Likewise.
1046 (DBL_DIG): Likewise.
1047 (LDBL_DIG): Likewise.
1048 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1049 (DBL_MIN_EXP): Likewise.
1050 (LDBL_MIN_EXP): Likewise.
1051 (FLT_MAX_EXP): Use macro-int-constant.
1052 (DBL_MAX_EXP): Likewise.
1053 (LDBL_MAX_EXP): Likewise.
1054 (FLT_MAX_10_EXP): Likewise.
1055 (DBL_MAX_10_EXP): Likewise.
1056 (LDBL_MAX_10_EXP): Likewise.
1057 (FLT_MAX): Use macro-constant.
1058 (DBL_MAX): Likewise.
1059 (LDBL_MAX): Likewise.
1060 (FLT_EPSILON): Use macro-constant. Give upper bound.
1061 (DBL_EPSILON): Likewise.
1062 (LDBL_EPSILON): Likewise.
1063 (FLT_MIN): Likewise.
1064 (DBL_MIN): Likewise.
1065 (LDBL_MIN): Likewise.
1066 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1067 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1068 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1069 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1070 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1071 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1072 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1073 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1074 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1075 [ISO11] (FLT_TRUE_MIN): Likewise.
1076 [ISO11] (LDBL_TRUE_MIN): Likewise.
1077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1078 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1079 (SCHAR_MIN): Use macro-int-constant. Specify type.
1080 (SCHAR_MAX): Likewise.
1081 (UCHAR_MAX): Likewise.
1082 (CHAR_MIN): Likewise.
1083 (CHAR_MAX): Likewise.
1084 (MB_LEN_MAX): Use macro-int-constant.
1085 (SHRT_MIN): Use macro-int-constant. Specify type.
1086 (SHRT_MAX): Likewise.
1087 (USHRT_MAX): Likewise.
1088 (INT_MAX): Likewise.
1089 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1090 bound negative.
1091 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1092 bound with "U".
1093 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1094 bound with "L".
1095 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1096 bound negative. Suffix upper bound with "L".
1097 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1098 bound with "UL".
1099 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1100 Specify type.
1101 [C99-based standards] (LLONG_MAX): Likewise.
1102 [C99-based standards] (ULLONG_MAX): Likewise.
1103 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1104 == 0.
1105 [ISO11] (max_align_t): Require type.
1106 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1107
c9140a62
JM
1108 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1109 from $CFLAGS, without defining away __attribute__ calls.
1110 (checknamespace): Use $CFLAGS_namespace.
1111
9af0bf29
JM
1112 * conform/conformtest.pl (@keywords): Only include C99 keywords
1113 for standards based on C99 or C11.
1114
343222a2
JM
1115 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1116 Disable tests.
1117 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1118 UNIX98]: Likewise.
1119
661f8cf0
JM
1120 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1121 usability of symbols in #if.
1122
ee74b9cb
JM
1123 * conform/conformtest.pl: If macro or constant types start
1124 "promoted:", expect the symbol to be of the following type
1125 promoted by the integer promotions.
62fde54f 1126
aafc49b3
JM
1127 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1128 in one place. Also handle "macro-constant".
1129
fefdf574
JM
1130 * conform/conformtest.pl: Only accept expected macro values with
1131 "==". Parse all "macro" lines in one place.
1132 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1133
f2d922fe
JM
1134 * conform/conformtest.pl: Handle braced types on "constant" lines
1135 instead of handling "typed-constant".
1136 * conform/data/signal.h-data: Use "constant" instead of
1137 "typed-constant".
1138
d22956c9
JM
1139 * conform/conformtest.pl: Handle "optional-" at start of lines in
1140 one place rather than duplicating several cases. Handle each
1141 format of "macro" line with initial "optional-".
1142
028e2e38
JM
1143 * conform/conformtest.pl: Only accept expected constant or
1144 optional-constant values with "==". Parse all "constant" lines in
1145 one place. Parse all "optional-constant" lines in one place.
1146 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1147 * conform/data/fmtmsg.h-data: Likewise.
1148 * conform/data/netinet/in.h-data: Likewise.
1149 * conform/data/tar.h-data: Likewise.
1150 * conform/data/limits.h-data: Use "==" form on "constant" and
1151 "optional-constant" lines.
1152
1b8f2850
JM
1153 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1154 Use -std=c99 for XOPEN2K.
1155 (@knownproblems): Remove.
1156 (newtoken): Don't check %isknown.
1157
a05a144b
JM
1158 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1159 Do not expect macro.
1160 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1161 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1162 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1163 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1164 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1165 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1166 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1168 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1169 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1170 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1171 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1172 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1173 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1174 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1175 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1176 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1177 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1178 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1179 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1180 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1181 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1182 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1184 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1185 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1186 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1187 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1188 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1189 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1190 [XPG3] (acosh): Likewise.
1191 [XPG3] (asinh): Likewise.
1192 [XPG3] (atanh): Likewise.
1193 [XPG3] (cbrt): Likewise.
1194 [XPG3] (expm1): Likewise.
1195 [XPG3] (ilogb): Likewise.
1196 [XPG3] (log1p): Likewise.
1197 [XPG3] (logb): Likewise.
1198 [XPG3] (nextafter): Likewise.
1199 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1200 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1201 [XPG3] (remainder): Likewise.
1202 [XPG3] (rint): Likewise.
1203 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1204 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1205 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1206 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1207 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1208 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1209 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1210 [UNIX98 || XOPEN2K] (scalb): Expect.
1211 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1212 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1213 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1214 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1215 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1216 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1217 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1218 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1219 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1220 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1221 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1222 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1223 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1224 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1225 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1226 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1227 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1228 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1229 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1230 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1231 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1232 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1233 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1234 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1235 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1236 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1237 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1238 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1239 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1240 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1241 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1242 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1243 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1244 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1245 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1246 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1247 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1248 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1249 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1250 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1251 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1252 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1253 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1254 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1255 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1256 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1257 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1259 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1260 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1261 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1262 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1263 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1267 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1268 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1269 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1270 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1271 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1272 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1273 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1274 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1275 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1276 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1277 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1278 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1279 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1280 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1281 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1282 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1283 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1284 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1285 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1286 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1287 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1288 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1289 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1290 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1291 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1292 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1293 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1294 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1295 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1299 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1300 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1301 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1302 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1303 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1304 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1305 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1306 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1307 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1308 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1309 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1310 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1311 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1312 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1313 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1314 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1315 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1316 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1317 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1318 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1319 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1320 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1321 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1322 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1323 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1325 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1326 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1327 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1328 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1329 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1330 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1331 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1332 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1334 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1335 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1336 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1337 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1338 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1339 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1340 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1341 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1342 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1343 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1344 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1345 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1346 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1347 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1348
73c5ebe3
JM
1349 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1350 _XOPEN_SOURCE_EXTENDED for XPG4.
1351
39c33b6c
JM
1352 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1353
62fde54f
JM
1354 * Makeconfig (localtime): Remove variable.
1355 (inst_localtime-file): Likewise.
1356
0741d64c
AS
13572012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1358
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1360 Update.
1361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1362 Update.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1364 Update.
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1366 Update.
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1368 Update.
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1370 Update.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1372 Update.
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1374 Update.
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1376 Update.
1377
7cb029ee
JM
13782012-05-01 Joseph Myers <joseph@codesourcery.com>
1379
1380 [BZ #2550]
1381 [BZ #2570]
1382 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1383 comparisons to determine direction to adjust input.
1384 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1385 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1386 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1387 Likewise.
1388 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1389 Likewise.
1390 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1391 Likewise.
1392 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1393 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1394 Likewise.
1395 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1396 Likewise.
1397 * math/libm-test.inc (nexttoward_test): Add more tests.
1398
412bd966
AS
13992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1400
1401 [BZ #14040]
1402 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1403 in version GLIBC_2.1, not GLIBC_2.0.
1404 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1405 Likewise.
1406
9568c0c2
JM
14072012-04-30 Joseph Myers <joseph@codesourcery.com>
1408
adfbc8ac
JM
1409 [BZ #13942]
1410 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1411 (1 - x) * (1 + x).
1412 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1413 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1414 * math/libm-test.inc (acos_test): Add more tests.
1415 (asin_test): Likewise.
1416 * sysdeps/i386/fpu/libm-test-ulps: Update.
1417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1418
5ba3cc69
JM
1419 [BZ #14034]
1420 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1421 of square root.
1422 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1423 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1424 * math/libm-test.inc (acos_test_tonearest): New function.
1425 (acos_test_towardzero): Likewise.
1426 (acos_test_downward): Likewise.
1427 (acos_test_upward): Likewise.
1428 (asin_test_tonearest): Likewise.
1429 (asin_test_towardzero): Likewise.
1430 (asin_test_downward): Likewise.
1431 (asin_test_upward): Likewise.
1432 (main): Call the new functions.
1433 * sysdeps/i386/fpu/libm-test-ulps: Update.
1434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1435
9568c0c2
JM
1436 [BZ #13884]
1437 [BZ #13924]
1438 * math/e_exp10.c: Include <float.h>.
1439 (__ieee754_exp10): Handle underflow here rather than multiplying
1440 large negative argument by M_LN10.
1441 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1442 of __ieee754_expf.
1443 * math/e_exp10l.c: Include <float.h>.
1444 (__ieee754_exp10l): Handle underflow here rather than multiplying
1445 large negative argument by M_LN10l.
1446 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1447 spurious overflow exception on underflow.
1448
5ac3ea17
MP
14492012-04-29 Marek Polacek <polacek@redhat.com>
1450
1451 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1452 (__fortify_function): New macro.
1453 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1454 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1455 __extern_always_inline.
1456 * libio/bits/stdio2.h: Likewise.
1457 * libio/bits/stdio.h: Likewise.
1458 * string/string.h: Likewise.
1459 * string/bits/string3.h: Likewise.
1460 * include/stdio.h: Likewise.
1461 * stdlib/bits/stdlib.h: Likewise.
1462 * stdlib/stdlib.h: Likewise.
1463 * rt/bits/mqueue2.h: Likewise.
1464 * rt/mqueue.h: Likewise.
1465 * posix/bits/unistd.h: Likewise.
1466 * posix/unistd.h: Likewise.
1467 * io/bits/poll2.h: Likewise.
1468 * io/bits/fcntl2.h: Likewise.
1469 * io/fcntl.h: Likewise.
1470 * io/sys/poll.h: Likewise.
1471 * misc/bits/syslog.h: Likewise.
1472 * misc/bits/syslog-ldbl.h: Likewise.
1473 * misc/sys/syslog.h: Likewise.
1474 * socket/bits/socket2.h: Likewise.
1475 * socket/sys/socket.h: Likewise.
1476 * debug/tst-chk1.c: Likewise.
1477 * wcsmbs/bits/wchar2.h: Likewise.
1478 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1479 * wcsmbs/wchar.h: Likewise.
1480
ecf0ebfb
AJ
14812012-04-29 Andreas Jaeger <aj@suse.de>
1482
1483 * Makerules (tests): Remove enable-check-abi protection.
1484 (check-abi-warn): Remove.
1485 (check-abi-%): Remove check-abi-warn usage.
1486
1487 * configure.in: Remove check-abi configure option.
1488 * configure: Regenerated.
1489 * config.make.in (enable-check-abi): Remove.
1490
6d5c57fa
AS
14912012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1492
24c5d07e 1493 [BZ #14033]
ded5180a
AS
1494 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1495 double functions to double *_finite functions.
1496
7e0d315d
AS
1497 [BZ #13941]
1498 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1499 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1500 LDBL_MIN_EXP.
1501 * stdio-common/Makefile (tests): Add tst-sprintf3.
1502 * stdio-common/tst-sprintf3.c: New file.
1503
6d5c57fa
AS
1504 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1505 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1506
0749ff8b
JM
15072012-04-28 Joseph Myers <joseph@codesourcery.com>
1508
1509 * conform/conformtest.pl: Remove duplicate typed-constant
1510 handling.
1511
8dbd5d7b
DM
15122012-04-28 David S. Miller <davem@davemloft.net>
1513
1514 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1515 (check-abi-%): Remove AWK script prerequisite and explicit
1516 abilist directory.
1517 (check-abi): Rewrite to just diff the symlist with the abilist.
1518 (config-tls, config-abi-config): Delete, no longer used.
1519 (update-abi-%): Remove AWK script and explicit abilist directory.
1520 (update-abi): Rewrite to simply compare and conditionally copy the
1521 symlist and the sysdep abilist file. Remove update-abi-config
1522 checks.
1523 * abilist/ld.abilist: Remove.
1524 * abilist/libBrokenLocale.abilist: Remove.
1525 * abilist/libanl.abilist: Remove.
1526 * abilist/libcrypt.abilist: Remove.
1527 * abilist/libdl.abilist: Remove.
1528 * abilist/librt.abilist: Remove.
1529 * abilist/libthread_db.abilist: Remove.
1530 * abilist/libutil.abilist: Remove.
1531 * scripts/extract-abilist.awk: Remove.
1532 * scripts/merge-abilist.awk: Remove.
1533 * sysdeps/generic/libcidn.abilist: New file.
1534 * sysdeps/generic/libnss_compat.abilist: New file.
1535 * sysdeps/generic/libnss_db.abilist: New file.
1536 * sysdeps/generic/libnss_dns.abilist: New file.
1537 * sysdeps/generic/libnss_files.abilist: New file.
1538 * sysdeps/generic/libnss_hesiod.abilist: New file.
1539 * sysdeps/generic/libnss_nis.abilist: New file.
1540 * sysdeps/generic/libnss_nisplus.abilist: New file.
1541 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1542 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1543 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1544 file.
1545 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1546 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1547 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1548 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1549 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1550 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1551 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1552 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1553 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1554 file.
1555 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1556 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1557 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1558 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1559 file.
1560 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1561 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1562 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1563 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1564 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1565 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1566 file.
1567 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1568 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1569 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1570 file.
1571 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1573 New file.
1574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1575 New file.
1576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1577 New file.
1578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1579 New file.
1580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1581 New file.
1582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1583 New file.
1584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1585 New file.
1586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1587 New file.
1588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1589 New file.
1590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1591 New file.
1592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1593 New file.
1594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1595 New file.
1596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1597 New file.
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1599 file.
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1601 New file.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1603 New file.
1604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1605 file.
1606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1607 New file.
1608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1609 New file.
1610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1611 file.
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1613 New file.
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1615 New file.
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1617 New file.
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1619 New file.
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1621 New file.
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1623 New file.
1624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1626 file.
1627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1628 New file.
1629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1630 file.
1631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1632 file.
1633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1634 file.
1635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1636 file.
1637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1638 file.
1639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1640 New file.
1641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1642 file.
1643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1644 file.
1645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1646 New file.
1647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1648 file.
1649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1651 file.
1652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1653 New file.
1654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1655 file.
1656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1657 file.
1658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1659 file.
1660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1661 file.
1662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1663 file.
1664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1665 New file.
1666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1667 file.
1668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1669 file.
1670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1671 New file.
1672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1673 file.
1674 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1675 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1676 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1677 file.
1678 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1679 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1680 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1681 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1682 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1683 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1684 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1685 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1686 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1687 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1690 file.
1691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1692 New file.
1693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1694 file.
1695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1696 file.
1697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1698 file.
1699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1700 file.
1701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1702 file.
1703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1704 New file.
1705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1706 New file.
1707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1708 file.
1709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1710 New file.
1711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1712 file.
1713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1715 file.
1716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1717 New file.
1718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1719 file.
1720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1721 file.
1722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1723 file.
1724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1725 file.
1726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1727 file.
1728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1729 New file.
1730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1731 New file.
1732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1733 file.
1734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1735 New file.
1736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1737 file.
1738
41d73a1b
JM
17392012-04-28 Joseph Myers <joseph@codesourcery.com>
1740
1741 * conform/conformtest.pl: Fix typo in handling typed-constant from
1742 allow-header.
1743
28aeeda4
JM
17442012-04-27 Joseph Myers <joseph@codesourcery.com>
1745
adae8f5e
JM
1746 * README: Cut down references to pre-2.6 Linux kernels and
1747 Linuxthreads. Update lists of configurations in libc and ports
1748 and sort alphabetically. Say "or newer" with Linux kernel version
1749 requirements.
1750
28aeeda4
JM
1751 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1752
a462cb63
RA
17532012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1754
1755 [BZ #887]
1756 * math/libm-test.inc (logb_test_downward): New test to expose
1757 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1758 rounding mode.
1759
6ad3493e
JM
17602012-04-27 Joseph Myers <joseph@codesourcery.com>
1761
1762 [BZ #14027]
1763 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1764 to be done.
1765 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1766 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1767
2ce4f015
JM
17682012-04-26 Joseph Myers <joseph@codesourcery.com>
1769
5aeb141a
JM
1770 * sysdeps/unix/i386/brk.S: Remove file.
1771 * sysdeps/unix/i386/dl-brk.S: Likewise.
1772 * sysdeps/unix/i386/pipe.S: Likewise.
1773 * sysdeps/unix/i386/sigreturn.S: Likewise.
1774 * sysdeps/unix/i386/syscall.S: Likewise.
1775 * sysdeps/unix/i386/vfork.S: Likewise.
1776 * sysdeps/unix/i386/wait.S: Likewise.
1777
7143acae
JM
1778 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1779 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1780
2ce4f015
JM
1781 * configure.in (arm*-none*): Do not allow without
1782 --enable-hacker-mode.
1783 (netbsd*): Remove case setting base_os.
1784 (386bsd*): Likewise.
1785 (freebsd*): Likewise.
1786 (bsdi*): Likewise.
1787 (osf*): Likewise.
1788 (sunos*): Likewise.
1789 (ultrix*): Likewise.
1790 (newsos*): Likewise.
1791 (dynix*): Likewise.
1792 (*bsd*): Likewise.
1793 (sysv*): Likewise.
1794 (isc*): Likewise.
1795 (esix*): Likewise.
1796 (sco*): Likewise.
1797 (minix*): Likewise.
1798 (irix4*): Likewise.
1799 (irix6*): Likewise.
1800 (solaris[2-9]*): Likewise.
1801 (none): Likewise.
1802 * configure: Regenerated.
1803
0ac229c8
AZ
18042012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1805
1806 [BZ #11521]
1807 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1808 overflow or cancellation in calculating denominator.
1809 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1810 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1811 down expression to avoid unexpected rounding in newer GCCs.
1812 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1813
33f244f4
DM
18142012-04-26 David S. Miller <davem@davemloft.net>
1815
1816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1817 long-double compat symbols.
1818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1831
cfa1f3e8
DM
18322012-04-25 David S. Miller <davem@davemloft.net>
1833
1834 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1835 HWCAP_* values only after the memory barriers have been defined.
1836 (atomic_full_barrier): Define.
1837 (atomic_read_barrier): Define.
1838 (atomic_write_barrier): Define.
1839
6e236b92
SP
18402012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1841
1842 * shlib-versions: Add libgcc_s version information.
1843 * sysdeps/generic/libgcc_s.h: Remove.
1844 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1845 libgcc_s.h.
1846 * sysdeps/gnu/unwind-resume.c: Likewise.
1847 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1848
aab39a09
DM
18492012-04-25 David S. Miller <davem@davemloft.net>
1850
1851 * sysdeps/unix/sparc/brk.S: Delete.
1852 * sysdeps/unix/sparc/dl-brk.S: Delete.
1853 * sysdeps/unix/sparc/pipe.S: Delete.
1854 * sysdeps/unix/sparc/sysdep.S: Delete.
1855 * sysdeps/unix/sparc/sysdep.h: Delete.
1856 * sysdeps/unix/sparc/vfork.S: Delete.
1857 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1858 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1859 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1860 ret_ERRVAL, r0, r1, MOVE): Define.
1861 (JUMPTARGET): Remove.
1862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1863 sysdeps/unix/sparc/sysdep.h
1864 (ENTRY, END): Remove.
1865 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1866
a3cc4f48
JM
18672012-04-25 Joseph Myers <joseph@codesourcery.com>
1868
2ed8cda2
JM
1869 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1870 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1871 -DIS_IN_build.
1872
35d76d59
JM
1873 * timezone/README: Update upstream location and email address for
1874 tzcode and tzdata.
1875 * timezone/zdump.c: Update from tzcode 2012b.
1876 * timezone/zic.c: Likewise.
1877
a3cc4f48
JM
1878 * configure.in (libc_cv_as_needed): Remove test.
1879 * configure: Regenerated.
1880 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1881 conditional definition.
1882 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1883 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1884 * config.make.in (have-as-needed): Remove variable.
1885
ceab42c3
SP
18862012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1887 Paul Pluzhnikov <ppluzhnikov@google.com>
1888
1889 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1890 strings correctly.
1891
3ce2865f
CLT
18922012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1893
1894 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1895 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1896 * sysdeps/sh/strlen.S: Likewise.
1897
f37e0d68
JM
18982012-04-24 Joseph Myers <joseph@codesourcery.com>
1899
ae186e9a
JM
1900 * sysdeps/unix/fork.S: Remove file.
1901 * sysdeps/unix/i386/fork.S: Likewise.
1902 * sysdeps/unix/sparc/fork.S: Likewise.
1903
b96914af
JM
1904 * sysdeps/unix/system.c: Remove file.
1905 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1906
f37e0d68
JM
1907 * sysdeps/unix/getegid.S: Remove file.
1908 * sysdeps/unix/geteuid.S: Likewise.
1909
87ef29ca
RM
19102012-04-24 Roland McGrath <roland@hack.frob.com>
1911
83bcd236
RM
1912 * scripts/check-localplt.awk: New file.
1913 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1914 of diff.
1915 * scripts/data/localplt-generic.data: Add a comment.
1916
87ef29ca
RM
1917 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1918 NODE when __dir_mkfile failed.
1919 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1920 Reported by Ludovic Courtès <ludo@gnu.org>.
1921
e5a6e567
AJ
19222012-04-24 Andreas Jaeger <aj@suse.de>
1923
1924 * Makerules (common-clean): Also remove gen-as-const-headers
1925 files.
1926
c1820385
JM
19272012-04-24 Joseph Myers <joseph@codesourcery.com>
1928
1929 * Makerules (native-compile): Do not change working directory for
1930 build. Use $(OUTPUT_OPTION) in command.
1931 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1932
94e02fc4
AZ
19332012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1934
1935 [BZ #13886]
1936 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1937 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1938 * math/libm-test.inc (floor_test): Add more tests.
1939 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1940
3a533ca3
JM
19412012-04-24 Joseph Myers <joseph@codesourcery.com>
1942
940ab4b3
JM
1943 * sysdeps/unix/getdents.c: Remove file.
1944 * sysdeps/unix/sysv/getdents.c: Likewise.
1945 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1946
90e037bd
JM
1947 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1948 sysdeps/unix/mman/syscalls.list.
1949 (mmap): Likewise.
1950 (mprotect): Likewise.
1951 (msync): Likewise.
1952 (munmap): Likewise.
1953 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1954 * sysdeps/unix/mman/syscalls.list: Remove.
1955 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1956
3a533ca3
JM
1957 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1958 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1959 * configure: Regenerated.
1960 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1961 $(libgcc_s_suffix).
1962 * config.make.in (libgcc_s_suffix): Remove variable.
1963
1ad743de
JM
19642012-04-23 Joseph Myers <joseph@codesourcery.com>
1965
4ad451e2
JM
1966 * sysdeps/unix/sysv/gethostname.c: Move to ...
1967 * sysdeps/posix/gethostname.c: ... here.
1968
5e37ce39
JM
1969 * sysdeps/unix/execve.S: Remove file.
1970
1ad743de
JM
1971 * sysdeps/unix/_exit.S: Remove file.
1972
4e681b5b
AJ
19732012-04-23 Andreas Jaeger <aj@suse.de>
1974
1975 [BZ #13739]
1976 * manual/Makefile: Remove make dist support, there's no
1977 need for a stand-alone documentation tar ball.
1978 (TEXI2DVI): Define always, it's not in Makeconfig.
1979 (dist): Removed.
1980 (tar-it): Removed.
1981 (edition): Removed.
1982 (glibc-doc-$(edition).tar): Removed
1983 (%.Z): Removed.
1984 (%.gz): Removed.
1985 (%.uu): Removed.
1986 (ETAGS): Remove, it's in Makeconfig.
1987 (move-if-change): Remove, it's in Makeconfig.
1988
c0baea34
PE
19892013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1990
1991 [BZ #13970]
1992 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1993 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1994 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1995 (strtod_l, strtof_l, strtold_l): Remove __wur.
1996 It is not necessarily an error to ignore strtol's return value.
1997 One can reliably look at the stored endptr to decide whether
1998 the number had valid syntax.
1999
7c0616fa
AJ
20002012-04-21 Andreas Jaeger <aj@suse.de>
2001
803cb6b7 2002 [BZ #13739]
7c0616fa
AJ
2003 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2004
b0fe253f
JM
20052012-04-21 Joseph Myers <joseph@codesourcery.com>
2006
2007 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2008 * sysdeps/unix/sysv/Versions: Remove file.
2009
8280f22d
MT
20102012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2011
2012 [BZ #13927]
2013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2014
75ce411f 20152012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2016
2017 [BZ #7064]
2018 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2019 version from __vm86.
2020
097d59fa
JM
20212012-04-20 Joseph Myers <joseph@codesourcery.com>
2022
a90f3bcb
JM
2023 * sysdeps/unix/common/lxstat.c: Remove file.
2024 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2025
edc7ea78
JM
2026 * sysdeps/unix/sysv/Makefile: Remove file.
2027
cb78c221
JM
2028 * sysdeps/unix/sysv/direct.h: Remove file.
2029
efa6a45f
JM
2030 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2031 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2032 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2033 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2034 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2035 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2036 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2037
9c9f2d0c
JM
2038 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2039
4541c83b
JM
2040 * sysdeps/unix/xmknod.c: Remove file.
2041 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2042
f5d153a0
JM
2043 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2044
aa746595
JM
2045 * sysdeps/unix/sysv/i386/time.S: Remove file.
2046
cce5905e
JM
2047 * sysdeps/unix/fxstat.c: Remove file.
2048 * sysdeps/unix/xstat.c: Likewise.
2049 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2050
37fa3841
JM
2051 * sysdeps/unix/sysv/sigaction.c: Remove file.
2052
ff1962a3
JM
2053 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2054 (sysdep_headers): Remove variable.
2055 [termio.h not in sysdep_headers] (generated): Likewise.
2056 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2057 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2058 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2059 * sysdeps/unix/sysv/tcflow.c: Likewise.
2060 * sysdeps/unix/sysv/tcflush.c: Likewise.
2061 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2062 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2063 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2064 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2065 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2066
e7740d31
JM
2067 * sysdeps/unix/siglist.c: Remove file.
2068
ee06f18b
JM
2069 * sysdeps/unix/getppid.S: Remove file.
2070
097d59fa
JM
2071 * sysdeps/unix/mkdir.c: Remove file.
2072 * sysdeps/unix/rmdir.c: Likewise.
2073
ff3d51ec
AS
20742012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2075
2076 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2077 ERR_MAX value.
2078 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2079 errlist-compat value.
2080
50f81fd7
DM
20812012-04-18 David S. Miller <davem@davemloft.net>
2082
2083 * sysdeps/generic/memcopy.h (reg_char): Delete.
2084 * debug/strcat_chk.c: Use char, not reg_char.
2085 * debug/strcpy_chk.c: Likewise.
2086 * debug/strncat_chk.c: Likewise.
2087 * debug/strncpy_chk.c: Likewise.
2088 * string/memchr.c: Likewise.
2089 * string/memrchr.c: Likewise.
2090 * string/rawmemchr.c: Likewise.
2091 * string/strcat.c: Likewise.
2092 * string/strchr.c: Likewise.
2093 * string/strchrnul.c: Likewise.
2094 * string/strcmp.c: Likewise.
2095 * string/strcpy.c: Likewise.
2096 * string/strncat.c: Likewise.
2097 * string/strncmp.c: Likewise.
2098 * string/strncpy.c: Likewise.
2099
8ff41c46
WS
21002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2101
2102 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2103 __builtin_memcopy is called when src and dest ranges are known to not
2104 overlap.
2105
6b652f46
WS
21062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2107
2108 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2109 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2110 fwd_align_merge macro call.
2111 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2112 bwd_align_merge macro call.
2113 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2114
b282631e
WS
21152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2116
2117 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2118 bwd_align_merge macros.
2119 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2120 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2121 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2122
95aa737c
DM
21232012-04-18 David S. Miller <davem@davemloft.net>
2124
2125 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2126
7a99a614
AJ
21272012-04-18 Andreas Jaeger <aj@suse.de>
2128
2129 [BZ# 6794]
2130 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2131 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2132 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2133
2134 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2135 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2136 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2137
2138 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2139 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2140 Adjust for changed ldbl-128 files.
2141
2142 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2143 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2144 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2145
e5270c23
DM
21462012-04-17 David S. Miller <davem@davemloft.net>
2147
2148 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2149
fb5e92c9
AS
21502012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2151
2152 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2153 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2154 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2155 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2156 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2157 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2158
76da7265
AZ
21592012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2160
2161 [BZ #6794]
2162 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2163 * math/libm-test.inc: Add ilogb errno and exception tests.
2164 * math/w_ilogb.c: New file: ilogb wrapper.
2165 * math/w_ilogbf.c: New file: ilogbf wrapper.
2166 * math/w_ilogbl.c: New file: ilogbl wrapper.
2167 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2168 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2169 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2170 exception being thrown with 0.0 as argument.
2171 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2172 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2173 exception being thrown with 0.0 as argument.
2174 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2175 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2176 exception being thrown with 0.0 as argument.
2177 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2178 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2179 exception being thrown with 0.0 as argument.
2180 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2181 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2182 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2183 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2184 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2185 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2186 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2187 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2188 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2189
0396e69d
PB
21902012-04-17 Petr Baudis <pasky@ucw.cz>
2191
2192 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2193 with altivec.
2194
750b5926
MP
21952012-04-16 Marek Polacek <polacek@redhat.com>
2196
2197 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2198
751728a1
MP
21992012-04-16 Marek Polacek <polacek@redhat.com>
2200
2201 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2202 operands of fdivp instruction.
2203
34a27407
L
22042012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2205
2206 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2207 * elf/tst-auditmod3b.c: Likewise.
2208 * elf/tst-auditmod4b.c: Likewise.
2209 * elf/tst-auditmod5b.c: Likewise.
2210 * elf/tst-auditmod6b.c: Likewise.
2211 * elf/tst-auditmod6c.c: Likewise.
2212 * elf/tst-auditmod7b.c: Likewise.
2213 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2214 * sysdeps/x86_64/preconfigure.in: Likewise.
2215 * sysdeps/x86_64/preconfigure: Regenerated.
2216
7e73e17d
L
22172012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2220 __ILP32__.
2221
c7a6ab72
AB
22222012-04-13 Antoine Balestrat <merkil33@gmail.com>
2223
2224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2225 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2226
a9e8e0e0
CL
22272012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2228
2229 [BZ #13973]
2230 * locale/iso-639.def: Fix gl language name. Spotted by
2231 Yaron Shahrabani.
2232
ec98af7d
RM
22332012-04-12 Roland McGrath <roland@hack.frob.com>
2234
2235 [BZ #2074]
2236 * libio/libio.h (__io_write_fn): Update comment.
2237
247c3ede
PB
22382012-04-12 Petr Baudis <pasky@ucw.cz>
2239
2240 [BZ #2074]
2241 * stdio.texi (Hook Functions): The user provided writer function
2242 is not allowed to return -1.
2243
55939d6d
DM
22442012-04-11 David S. Miller <davem@davemloft.net>
2245
2246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2247
90020f5a
MF
22482012-04-11 Mike Frysinger <vapier@gentoo.org>
2249
2250 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2251 Add a leading slash to rtkaio.
2252
288f9098
JM
22532012-04-11 Jim Meyering <meyering@redhat.com>
2254
90020f5a
MF
2255 [BZ #11959]
2256 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2257 It is not necessarily an error to ignore fwrite's return
2258 value. One can reliably use ferror to test for errors after
2259 the fact.
288f9098 2260
4be2b570
L
22612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2262
2263 * bits/types.h (__snseconds_t): New type.
2264 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2265
2266 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2267 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2268 (__SNSECONDS_T_TYPE): Likewise.
2269 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2270 (__SNSECONDS_T_TYPE): Likewise.
2271 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2272 (__SNSECONDS_T_TYPE): Likewise.
2273
288f9098 22742012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2275
2276 [BZ #2636]
2277 * manual/time.texi (Processor Time): Return type of times is
2278 elapsed real time since an arbitrary point in the past.
2279 (CPU Time): Move CLK_TCK from here...
2280 (Processor Time): ...to here. Correct description.
2281 * manual/conf.texi (Constants for Sysconf): Correct description of
2282 _SC_CLK_TCK.
2283
d7dd4413
DM
22842012-04-10 David S. Miller <davem@davemloft.net>
2285
2286 [BZ #13967]
2287 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2288 where the is a gap between DT_REL(A) and DT_JMPREL.
2289
b46068fc
L
22902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2291
2292 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2293 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2294 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2295
73d65cc3
SP
22962012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2297
2298 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2299 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2300 (dl_main): Handle --inhibit-cache.
2301 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2302 _dl_inhibit_cache.
2303 * elf/dl-load.c (_dl_map_object): Use it.
2304 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2305
bcc8d661
JM
23062012-04-09 Joseph Myers <joseph@codesourcery.com>
2307
8f9a2fae
JM
2308 [BZ #13872]
2309 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2310 (__ieee754_powl): Saturate large exponents rather than testing for
2311 overflow of y*log2(x).
2312 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2313 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2314 exceptions.
2315
bcc8d661
JM
2316 [BZ #11521]
2317 * math/s_ctan.c: Include <float.h>.
2318 (__ctan): Avoid internal overflow or cancellation in calculating
2319 denominator.
2320 * math/s_ctanf.c: Likewise.
2321 * math/s_ctanl.c: Likewise.
2322 * math/s_ctanh.c: Likewise.
2323 * math/s_ctanhf.c: Likewise.
2324 * math/s_ctanhl.c: Likewise.
2325 * math/libm-test.inc (ctan_test): Add more tests.
2326 (ctanh_test): Likewise.
2327 * sysdeps/i386/fpu/libm-test-ulps: Update.
2328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2329
823fbbb4
AJ
23302012-04-09 Andreas Jaeger <aj@suse.de>
2331
03879793
AJ
2332 [BZ #6894]
2333 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2334 is an optional BSD extension.
2335
823fbbb4
AJ
2336 [BZ #10254]
2337 * manual/stdio.texi (Opening Streams): Document additional fopen
2338 parameters.
2339
8de131cb
RM
23402012-04-09 Roland McGrath <roland@hack.frob.com>
2341
2342 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2343 %eax without telling the compiler.
2344
c0ed9d7d
CD
23452012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2346
2347 [BZ # 13963]
2348 * manual/install.texi: Use sourceware.org.
2349
c483f6b4
JM
23502012-04-09 Joseph Myers <joseph@codesourcery.com>
2351
d7dd9453
JM
2352 [BZ #13873]
2353 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2354 (__ieee754_pow): Generate overflow and underflow using huge*huge
2355 and tiny*tiny rather than just returning constant infinity or zero
2356 for large exponents.
2357 * math/libm-test.inc (pow_test): Require overflow exceptions for
2358 applicable cases of large exponents.
2359
c483f6b4
JM
2360 [BZ #706]
2361 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2362 (__ieee754_pow): Use iterative multiplication algorithm only for
2363 integer exponents with absolute value below 1024. Check for odd
2364 integer exponents when using algorithm for real exponents.
2365 * math/libm-test.inc (pow_test): Add more tests.
2366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2367
d2de7579
JM
23682012-04-08 Joseph Myers <joseph@codesourcery.com>
2369
2370 [BZ #13705]
2371 * math/libm-test.inc (exp_test): Do not allow overflow exception
2372 on underflow test.
2373
f77f1232
AJ
23742012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2375
2376 [BZ #13705]
2377 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2378 instead of __kernel_standard_f.
2379
3884932b
MF
23802012-04-08 Mike Frysinger <vapier@gentoo.org>
2381
2382 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2383 * sysdeps/x86_64/memset_chk.S: Likewise.
2384
54472e9c
AJ
23852012-04-08 Andreas Jaeger <aj@suse.de>
2386
6ab0fbfc
AJ
2387 [BZ #10153]
2388 * manual/startup.texi (Environment Access): Describe return value
2389 for putenv and setenv.
2390
61efba8c
AJ
2391 [BZ #6895]
2392 * manual/filesys.texi (Directory Entries): Add description for
2393 DT_LNK.
2394
95c3f29a
AJ
2395 [BZ #6890]
2396 * manual/filesys.texi (Directory Entries): Clarify that it's file
2397 system not operating system in the description of DT_UNKNOWN.
2398
54472e9c
AJ
2399 [BZ #6578]
2400 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2401
624254b1
SC
24022012-04-08 Stephen Compall <s11@member.fsf.org>
2403
2404 [BZ #6649]
2405 * manual/llio.texi (Opening and Closing Files): Add cross
2406 reference to explain mode argument.
2407
1e4920e0
MF
24082012-04-07 Mike Frysinger <vapier@gentoo.org>
2409
2410 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2411 * sysdeps/x86_64/memset_chk.S: Likewise.
2412
5ed848f3
DM
24132012-04-07 David S. Miller <davem@davemloft.net>
2414
2415 * elf/elf.h (R_SPARC_WDISP10): Define.
2416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2417 R_SPARC_SIZE32.
2418 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2419 R_SPARC_SIZE64 and R_SPARC_H34.
2420
96154cd8
CD
24212012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2422
2423 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2424 conditions and remove no longer applicable assertion.
2425
9904dc47
L
24262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2427
2428 * bits/byteswap.h: Include <features.h>.
2429 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2430 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2431
f8887d0a
L
24322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2433
2434 * bits/byteswap.h (__bswap_16): Removed.
2435 Include <bits/byteswap-16.h> to get __bswap_16.
2436 * sysdeps/i386/bits/byteswap.h: Likewise.
2437 * sysdeps/s390/bits/byteswap.h: Likewise.
2438 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2439 * bits/byteswap-16.h: New file.
2440 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2441 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2442 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2443 * string/Makefile (headers): Add bits/byteswap-16.h.
2444
62470f60
PP
24452012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2446
2447 [BZ #13895]
2448 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2449 extra indirection.
2450 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2451 * nss/tst-nss-static.c: New.
2452
4dad7bab
RM
24532012-04-06 Robert Millan <rmh@gnu.org>
2454
2455 [BZ #6486]
2456 * manual/llio.texi (File Position Primitive): lseek
2457 refers to WHENCE when it really means OFFSET.
2458
e9142a17
AJ
24592012-04-06 Andreas Jaeger <aj@suse.de>
2460
2c040eff
AJ
2461 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2462 strncmp declarations.
2463
e9142a17
AJ
2464 * abilist/libc.abilist: Add __poll and __ppoll.
2465
ff9f1c5f
DM
24662012-04-05 David S. Miller <davem@davemloft.net>
2467
dcd2ae90
DM
2468 * scripts/check-local-headers.sh: Accept a host triplet in the
2469 path matched by the exclude regexp.
2470
993eb054
DM
2471 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2472 definition.
2473 * sysdeps/powerpc/powerpc32/dl-machine.h
2474 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2475 * sysdeps/s390/s390-32/dl-machine.h
2476 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2477 * sysdeps/sparc/sparc32/dl-machine.h
2478 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2479 * sysdeps/sparc/sparc64/dl-machine.h
2480 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2481
ff9f1c5f
DM
2482 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2483 lazy binding.
48e2e132 2484 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2485 undefined symbol errors.
2486
48e2e132 2487 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2488 DT_NEEDED entries.
2489
e80d6f94
MM
24902012-04-05 Michael Matz <matz@suse.de>
2491
2492 [BZ #13592]
2493 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2494
349fa79f
AJ
24952012-04-05 Andreas Jaeger <aj@suse.de>
2496
2497 [BZ #13908]
2498 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2499 comment.
2500
f402708f
KK
25012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2502
2503 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2504 which ROUND is no valid rounding mode.
2505
2ecccfc9
KK
25062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2507
2508 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2509 read again.
2510 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2511
8a53f50f
KK
25122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2513
2514 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2515 an exception using FPU order intentionally.
2516
25172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2518
2519 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2520 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2521 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2522 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2523
d653abb7
SJ
25242012-04-05 Simon Josefsson <simon@josefsson.org>
2525
2526 [BZ #12340]
2527 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2528 EINVAL when BUFLEN is too smal.
2529
c3b1bf7d
TS
25302012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2531
2532 [BZ #13553]
2533 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2534 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2535
b1aa60f3
AJ
25362012-04-03 Andreas Jaeger <aj@suse.de>
2537
c3b1bf7d 2538 [BZ #13938]
67f60a26
AJ
2539 * manual/setjmp.texi (System V contexts): Fix sentence.
2540
b1aa60f3
AJ
2541 [BZ #13926]
2542 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2543 New macro for this case.
2544 [!__GNUC__] (__bswap_64): New inline function for this case.
2545 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2546 * bits/byteswap.h: Likewise.
2547 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2548 ull, guard with __GLIBC_HAVE_LONG_LONG.
2549
2550 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2551 __GLIBC_HAVE_LONG_LONG.
2552
2553 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2554 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2555
39c59c35
TMQMF
25562012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2557
2558 [BZ #13691]
2559 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2560 inptr and inend, rather than using last_ch.
2561
135ffda8
DM
25622012-04-02 David S. Miller <davem@davemloft.net>
2563
2564 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2565 * stdio-common/printf-parse.h (read_int): Change return type to
2566 'int', return -1 on INT_MAX overflow.
2567 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2568 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2569 overflows INT_MAX. Check for overflow of in-format-string precision
2570 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2571 SIZE_MAX not INT_MAX for integer overflow test.
2572 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2573 skip the construct in the format string but do not record anything.
2574 * stdio-common/bug22.c: Adjust to test both width/prevision
2575 INT_MAX overflow as well as total length INT_MAX overflow. Check
2576 explicitly for proper errno values.
2577
228c019e
TS
25782012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2579
302cadd3
TS
2580 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2581 CHAR_MAX.
2582 * string/test-strcmp.c [! WIDE]: Likewise.
2583 * time/tst-mktime2.c: Likewise for INT_MAX.
2584 * string/test-string.h: #include <sys/param.h> for MIN.
2585
228c019e
TS
2586 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2587 * sysdeps/i386/init-first.c (init): Likewise.
2588 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2589 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2590 * sysdeps/sh/init-first.c (init): Likewise.
2591
cfa633f5
UD
25922012-04-01 Ulrich Drepper <drepper@gmail.com>
2593
2594 * po/ru.po: Update from translation team.
d1635ef8 2595 * po/vi.po: Likewise.
cfa633f5 2596
6cd0a5ea
SP
25972012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2598
2599 * resolv/nss_dns/dns-host.c: Merge copyright years.
2600
4b43400f
LD
26012012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2602
2603 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2604 Optimize memcpy with prefetch if
2605 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2606 src, dst pointers have unequal 16 byte alignments.
2607
48c41d04
SP
26082012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2609
2610 [BZ #13928]
2611 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2612 from a CNAME entry and return the minimum ttl for the query.
2613 (gaih_getanswer_slice): Likewise.
2614
b8dc394d
JL
26152012-03-30 Jeff Law <law@redhat.com>
2616
2617 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2618 due to long keys.
2619 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2620 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2621
2f5a5ed0
JL
2622 * resolv/nss_dns/dns-host.c: Update copyright year.
2623
1d39e359
UD
26242012-03-30 Ulrich Drepper <drepper@gmail.com>
2625
c030f70c 2626 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2627 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2628
1d39e359
UD
2629 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2630 comments for sendmmsg.
2631
26322012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2633
2634 [BZ #13691]
2635 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2636 with only 1 character between 0x0041 and 0x01b0.
2637 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2638 * wcsmbs/tst-mbsnrtowcs.c: New file.
2639
20fde227
DM
26402012-03-29 David S. Miller <davem@davemloft.net>
2641
2642 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2643 small copies by hand.
2644
984a4237
JL
26452012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2646
2647 [BZ #13761]
2648 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2649 _nss_compat_initgroups_dyn): Fall back to malloc/free
2650 for large group memberships.
2651
18c9d62b
DM
26522012-03-28 David S. Miller <davem@davemloft.net>
2653
88d85d4f
DM
2654 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2655 that branches into memcpy.
2656 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2657 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2658 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2659 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2660 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2661 bits.
2662 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2663 implementation too.
2664 * sysdeps/sparc/mempcpy.S: New file.
2665
e5aa83e1
DM
2666 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2667 the IFUNC routine in the libc case.
2668 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2669
88570753
DM
2670 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2671 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2672 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2673 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2674 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2675 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2676 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2677 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2678
249d7567
DM
2679 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2680 loop to 256 bytes instead of 64 bytes and fix test signedness.
2681
18c9d62b
DM
2682 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2683 * sysdeps/sparc/sparc32/Makefile: rather than here...
2684 * sysdeps/sparc/sparc64/Makefile: and here.
2685
05f3d1f6
UD
26862012-03-28 Ulrich Drepper <drepper@gmail.com>
2687
2688 * malloc/mallocbug.c: Avoid warnings about unused variables.
2689
86ae07a8
JL
26902012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2691
2692 [BZ #13760]
2693 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2694 in the right place. Discard and retry query if response is
2695 larger than input buffer size.
2696
41bf21a1
JM
26972012-03-28 Joseph Myers <joseph@codesourcery.com>
2698
d6270972
JM
2699 [BZ #369]
2700 [BZ #2678]
2701 [BZ #3866]
2702 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2703 x for large integer exponent.
2704 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2705 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2706 sign of result as needed afterwards.
2707 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2708 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2709 result for underflowing pow the same as for overflow.
2710 (__kernel_standard_l): Handle powl overflow and underflow here
2711 rather than calling __kernel_standard.
2712 * math/libm-test.inc (pow_test): Add more tests.
2713
414fca03 2714 [BZ #3868]
41bf21a1
JM
2715 [BZ #13879]
2716 [BZ #13910]
2717 [BZ #13911]
2718 [BZ #13912]
2719 [BZ #13913]
2720 [BZ #13915]
2721 [BZ #13916]
2722 [BZ #13917]
2723 [BZ #13918]
2724 [BZ #13919]
2725 [BZ #13920]
2726 [BZ #13921]
2727 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2728 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2729 (__kernel_standard_l): New function.
2730 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2731 __kernel_standard.
2732 * math/w_acosl.c (__acosl): Likewise.
2733 * math/w_asinl.c (__asinl): Likewise.
2734 * math/w_atan2l.c (__atan2l): Likewise.
2735 * math/w_atanhl.c (__atanhl): Likewise.
2736 * math/w_coshl.c (__coshl): Likewise.
2737 * math/w_exp10l.c (__exp10l): Likewise.
2738 * math/w_exp2l.c (__exp2l): Likewise.
2739 * math/w_fmodl.c (__fmodl): Likewise.
2740 * math/w_hypotl.c (__hypotl): Likewise.
2741 * math/w_j0l.c (__j0l, __y0l): Likewise.
2742 * math/w_j1l.c (__j1l, __y1l): Likewise.
2743 * math/w_jnl.c (__jnl, __ynl): Likewise.
2744 * math/w_lgammal.c (__lgammal): Likewise.
2745 * math/w_log10l.c (__log10l): Likewise.
2746 * math/w_log2l.c (__log2l): Likewise.
2747 * math/w_logl.c (__logl): Likewise.
2748 * math/w_powl.c (__powl): Likewise.
2749 * math/w_remainderl.c (__remainderl): Likewise.
2750 * math/w_scalbl.c (sysv_scalbl): Likewise.
2751 * math/w_sinhl.c (__sinhl): Likewise.
2752 * math/w_sqrtl.c (__sqrtl): Likewise.
2753 * math/w_tgammal.c (__tgammal): Likewise.
2754 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2755 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2756 * math/libm-test.inc (acos_test): Add more tests.
2757 (acosh_test): Likewise.
2758 (asin_test): Likewise.
2759 (atanh_test): Likewise.
2760 (exp_test): Likewise.
2761 (exp10_test): Likewise.
2762 (exp2_test): Likewise.
2763 (expm1_test): Likewise.
2764 (lgamma_test): Likewise.
2765 (log_test): Likewise.
2766 (log10_test): Likewise.
2767 (log1p_test): Likewise.
2768 (log2_test): Likewise.
2769 (pow_test): Do not allow some spurious overflow exceptions.
2770 (sqrt_test): Add more tests.
2771 (tgamma_test): Likewise.
2772 (y0_test): Likewise.
2773 (y1_test): Likewise.
2774 (yn_test): Likewise.
2775
dd62fda6
AB
27762012-03-27 Anton Blanchard <anton@samba.org>
2777
2778 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2779 MAP_HUGETLB.
2780 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2781 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2782 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2783
1e3cdfda
AJ
27842012-03-27 David S. Miller <davem@davemloft.net>
2785
b855ab85
DM
2786 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2787
1e3cdfda
AJ
2788 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2789 have-as-vis3 check.
2790
27912012-03-27 Andreas Jaeger <aj@suse.de>
2792
2793 * sysdeps/x86_64/elf/configure.in: Moved to ...
2794 * sysdeps/x86_64/configure.in: ... here.
2795 * sysdeps/x86_64/elf/start.S: Moved to ...
2796 * sysdeps/x86_64/start.S: ... here.
2797 * sysdeps/x86_64/elf/configure: Delete.
2798
2799 * sysdeps/x86_64/configure.in: Merge contents from
2800 sysdeps/i386/configure.in (without i686 check).
2801
2802 * sysdeps/i386/elf/Versions: Merge into ...
2803 * sysdeps/i386/Versions: ... this.
2804 * sysdeps/i386/elf/Versions: Delete file.
2805 * sysdeps/i386/elf/start.S: Moved to ...
2806 * sysdeps/i386/start.S: ...here.
2807 * sysdeps/i386/elf/configure.in: Merge into...
2808 * sysdeps/i386/configure.in: ...here.
2809 * sysdeps/i386/elf/configure.in: Delete file.
2810 * sysdeps/i386/elf/configure: Delete file.
2811
2812 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2813 * debug/backtracesyms.c: ... here.
2814 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2815 * debug/backtracesymsfd.c: ... here.
2816 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2817 * sysdeps/generic/ifunc-sel.h: ... here.
2818
2819 * sysdeps/unix/i386/start.c: Delete file.
2820 * sysdeps/unix/sparc/start.c: Delete file.
2821 * sysdeps/unix/start.c: Delete file.
2822
2823 * sysdeps/sh/elf/configure.in: Moved to ...
2824 * sysdeps/sh/configure.in: ... here.
2825 * sysdeps/sh/elf/start.S: Moved to ...
2826 * sysdeps/sh/start.S: ... here.
2827 * sysdeps/sh/elf/configure: Delete file.
2828
2829 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2830 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2831 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2832 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2833 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2834 * sysdeps/powerpc/powerpc64/start.S: here.
2835 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2836 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2837 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2838 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2839 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2840
2841 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2842 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2843 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2844 * sysdeps/powerpc/powerpc32/start.S: ... here.
2845 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2846 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2847 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2848
2849 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2850 * sysdeps/powerpc/ifunc-sel.h: ... here.
2851 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2852 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2853
2854 * sysdeps/sparc/elf/configure.in: Moved to ...
2855 * sysdeps/sparc/configure.in: ... here.
2856 * sysdeps/sparc/elf/configure: Delete file.
2857 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2858 * sysdeps/sparc/sparc32/start.S: ... here.
2859 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2860 * sysdeps/sparc/sparc64/start.S: ... here.
2861 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2862 * sysdeps/sparc/sparc32/Makefile: ... this.
2863 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2864 * sysdeps/sparc/sparc64/Makefile: ... this.
2865
2866 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2867 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2868 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2869 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2870 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2871 * sysdeps/s390/s390-32/setjmp.S: ... here.
2872 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2873 * sysdeps/s390/s390-32/configure.in: ... here.
2874 * sysdeps/s390/s390-32/elf/configure: Delete file.
2875 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2876 * sysdeps/s390/s390-32/start.S: ... here.
2877
2878 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2879 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2880 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2881 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2882 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2883 * sysdeps/s390/s390-64/setjmp.S: ... here.
2884 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2885 * sysdeps/s390/s390-64/configure.in: ... here
2886 * sysdeps/s390/s390-64/elf/configure: Delete file.
2887 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2888 * sysdeps/s390/s390-64/start.S: ... here.
2889 * sysdeps/s390/s390-64/elf/configure: Delete.
2890
2891 * configure.in: Remove support for elf directories in sysdeps.
2892
2893 * configure: Regenerated.
2894 * sysdeps/i386/configure: Regenerated.
2895 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2896 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2897 * sysdeps/s390/s390-32/configure: Regenerated.
2898 * sysdeps/s390/s390-64/configure: Regenerated.
2899 * sysdeps/sh/configure: Regenerated.
2900 * sysdeps/sparc/configure: Regenerated.
2901 * sysdeps/x86_64/configure: Regenerated.
2902
a3f61311
AS
29032012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2904
c876e002
AS
2905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2906
a3f61311
AS
2907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2908 denormal result into account.
2909
ac4c54f0
RM
29102012-03-25 Roland McGrath <roland@hack.frob.com>
2911
2912 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2913 Reported by Allan McRae <allan@archlinux.org>.
2914
6a9b9c02
JL
29152012-03-23 Jeff Law <law@redhat.com>
2916
2917 * nss/getnssent.c (__nss_getent): Fix typo.
2918
4c42a0c1
DM
29192012-03-23 David S. Miller <davem@davemloft.net>
2920
2921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2922
1532c7ac
L
29232012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2924
2925 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2926 to pad to uint64_t for each field.
2927 (dl_tls_index): Replace unsigned long with uint64_t.
2928
3ff42526
PP
29292012-03-23 Daniel Jacobowitz <dmj@google.com>
2930 Paul Pluzhnikov <ppluzhnikov@google.com>
2931
2932 [BZ #6528]
2933 * grp/Makefile (otherlibs): Don't set it.
2934 * inet/Makefile (otherlibs): Likewise.
2935 * login/Makefile (otherlibs): Likewise.
2936 * nscd/Makefile (otherlibs): Likewise.
2937 * posix/Makefile (otherlibs): Likewise.
2938 * pwd/Makefile (otherlibs): Likewise.
2939 * rt/Makefile (otherlibs): Likewise.
2940 * sunrpc/Makefile (otherlibs): Likewise.
2941 * nss/Makefile (otherlibs): Likewise.
2942 Add libnss_files to routines and static-only-routines.
2943 ($(objpfx)getent): Remove rule.
2944 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2945 static-only-routines.
2946
7c69cd14
JM
29472012-03-22 Joseph Myers <joseph@codesourcery.com>
2948
2949 [BZ #13892]
2950 * math/s_cexp.c: Include <float.h>.
2951 (__cexp): Handle exp result overflowing not necessarily
2952 overflowing both real and imaginary parts of result.
2953 * math/s_cexpf.c: Likewise.
2954 * math/s_cexpl.c: Likewise.
2955 * math/libm-test.inc (cexp_test): Add more tests.
2956 * sysdeps/i386/fpu/libm-test-ulps: Update.
2957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2958
81b035fe
L
29592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2960
2961 * include/link.h (ELFW): New macro.
2962 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2963 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2964
1da7940c
L
29652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2966
2967 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2968 with uint64_t.
2969
b749dbb9
L
29702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2971
2972 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2973 declaration.
2974 (struct La_x32_retval): Likewise.
2975
2ff87f3f
L
29762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2977
2978 * sysdeps/x86_64/preconfigure.in: New file.
2979 * sysdeps/x86_64/preconfigure: New generated file.
2980
c0df8e69
JM
29812012-03-22 Joseph Myers <joseph@codesourcery.com>
2982
48e44791
JM
2983 [BZ #13824]
2984 * math/e_exp2l.c: Include <float.h>.
2985 (__ieee754_exp2l): Handle overflow and underflow cases
2986 separately. Only pass fractional part of argument to
2987 __ieee754_expl.
2988 * math/libm-test.inc (exp2_test): Add more tests.
2989
c0df8e69
JM
2990 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2991 negating x to take absolute value.
2992 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2993 Likewise.
2994 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2995 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2996 Likewise.
2997 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2998 computing low part if x was negated.
2999 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3000
c8e43ba7
L
30012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3002
3003 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3004 la_x32_gnu_pltexit.
3005 (pltexit): Cast int_retval to ptrdiff_t.
3006 * elf/tst-auditmod3b.c: Likewise.
3007 * elf/tst-auditmod4b.c: Likewise.
3008 * elf/tst-auditmod5b.c: Likewise.
3009 * elf/tst-auditmod6b.c: Likewise.
3010 * elf/tst-auditmod6c.c: Likewise.
3011 * elf/tst-auditmod7b.c: Likewise.
3012
3013 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3014 and x32_gnu_pltexit.
3015
3016 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3017 __ELF_NATIVE_CLASS.
3018 (La_x32_regs): New macro.
3019 (La_x32_retval): Likewise.
3020 (la_x32_gnu_pltenter): New function prototype.
3021 (la_x32_gnu_pltexit): Likewise.
3022
7998fa78
AS
30232012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3024
dcb33988
AS
3025 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3026 exponent.
3027
233fc563
AS
3028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3029
7998fa78
AS
3030 * configure.in (libc_cv_cc_nofma): Check for option to disable
3031 generation of FMA instructions.
3032 * configure: Regenerate.
3033 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3034 * sysdeps/ieee754/dbl-64/Makefile: New file.
3035 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3036 Remove brandred-fma4.
3037 (CFLAGS-brandred-fma4.c): Remove.
3038 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3039 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3040 define.
3041 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3042 define.
3043
8e95c99a
L
30442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3045
3046 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3047 LLONG_MAX != LONG_MAX.
3048 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3049 (_fitoa_word): Likewise.
3050 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3051 LLONG_MAX != LONG_MAX.
3052 * stdio-common/_itowa.h: Include <_itoa.h>.
3053 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3054 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3055 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3056 only if not defined.
3057 (_ITOA_WORD_TYPE): Likewise.
3058 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3059 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3060
6f4db457
DM
30612012-03-21 David S. Miller <davem@davemloft.net>
3062
3063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3064
7785fe5a
L
30652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3066
3067 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3068 of x86_64 when setting libc_cv_slibdir, libdir and
3069 libc_cv_localedir.
3070 * sysdeps/unix/sysv/linux/configure: Regenerated.
3071
4535cd55
JM
30722012-03-21 Joseph Myers <joseph@codesourcery.com>
3073
3074 * manual/lang.texi (Old Varargs): Remove section.
3075 (How Variadic): Update menu.
3076 (va_start): Do not mention varargs.h.
3077
17228132
TS
30782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3079 Joseph Myers <joseph@codesourcery.com>
3080
3081 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3082 link test.
3083 * configure: Regenerated.
3084
8149f976
TS
30852012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3086
05f3d1f6
UD
3087 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3088 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3089 conformtest.pl
8149f976 3090
1a4ac776
JM
30912012-03-21 Joseph Myers <joseph@codesourcery.com>
3092
be22ce65
JM
3093 * NOTES: Remove.
3094 * Makefile (files-for-dist): Remove NOTES.
3095 (NOTES): Remove rule.
3096 * README: Don't refer to NOTES.
3097 * manual/creature.texi: Don't include macros.texi.
3098 * manual/intro.texi (creature.texi): Remove comment referring to
3099 NOTES.
3100
40b601fb
JM
3101 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3102 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3103 * configure: Regenerated.
3104 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3105 LIBC_TRY_CC_OPTION.
3106 (libc_cv_as_i686): Likewise.
3107 (libc_cv_cc_avx): Likewise.
3108 (libc_cv_cc_sse2avx): Likewise.
3109 (libc_cv_cc_fma4): Likewise.
3110 (libc_cv_cc_novzeroupper): Likewise.
3111 * sysdeps/i386/configure: Regenerated.
3112
1a4ac776
JM
3113 [BZ #13883]
3114 * sysdeps/i386/fpu/s_cexp.S: Remove.
3115 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3116 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3117 * math/libm-test.inc (cexp_test): Add more tests.
3118 * sysdeps/i386/fpu/libm-test-ulps: Update.
3119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3120
a458e7fe
AM
31212012-03-21 Allan McRae <allan@archlinux.org>
3122
3123 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3124
0cb7efc5
JM
31252012-03-21 Joseph Myers <joseph@codesourcery.com>
3126
3127 [BZ #13871]
3128 * math/w_exp2.c: Do not include <float.h>.
3129 (o_threshold, u_threshold): Remove.
3130 (__exp2): Calculate result before checking finiteness and calling
3131 __kernel_standard.
3132 * math/w_exp2f.c: Likewise.
3133 * math/w_exp2l.c: Likewise.
3134 * math/libm-test.inc (exp2_test): Require overflow exception for
3135 1e6 input.
2460d3aa
JM
3136
3137 [BZ #3866]
3138 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3139 range of signed 64-bit integers before using fistpll. Remove
3140 checks for whether integers fit in mantissa bits.
3141 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3142 the range of signed 32-bit integers before using fistpl. Remove
3143 checks for whether integers fit in mantissa bits.
3144 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3145 (__ieee754_powl): Test for y outside the range of signed 64-bit
3146 integers before using fistpll. Reduce 64-bit values to 63-bit
3147 ones as needed.
3148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3149 divide-by-zero is raised for zero to large negative powers.
3150 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3151 (__ieee754_powl): Test for y outside the range of signed 64-bit
3152 integers before using fistpll. Reduce 64-bit values to 63-bit
3153 ones as needed.
3154 * math/libm-test.inc (pow_test): Add more tests.
3155
eb96ffb0
L
31562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3157
3158 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3159 <stdio-common/_itoa.h>.
3160 * debug/segfault.c: Likewise.
3161 * elf/dl-cache.c: Likewise.
3162 * elf/dl-minimal.c: Likewise.
3163 * elf/dl-misc.c: Likewise.
3164 * elf/dl-sysdep.c: Likewise.
3165 * elf/dl-version.c: Likewise.
3166 * elf/rtld.c: Likewise.
3167 * hurd/hurdsock.c: Likewise.
3168 * hurd/lookup-retry.c: Likewise.
3169 * malloc/malloc.c: Likewise.
3170 * malloc/mtrace.c: Likewise.
3171 * nscd/nscd_getgr_r.c: Likewise.
3172 * nscd/nscd_getpw_r.c: Likewise.
3173 * nscd/nscd_getserv_r.c: Likewise.
3174 * posix/getopt_init.c: Likewise.
3175 * posix/wordexp.c: Likewise.
3176 * stdio-common/_itoa.c: Likewise.
3177 * stdio-common/printf_fphex.c: Likewise.
3178 * stdio-common/vfprintf.c: Likewise.
3179 * string/_strerror.c: Likewise.
3180 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3181 * sysdeps/i386/i686/hp-timing.h: Likewise.
3182 * sysdeps/mach/_strerror.c: Likewise.
3183 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3184 * sysdeps/mach/hurd/sethostid.c: Likewise.
3185 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3186 * sysdeps/mach/xpg-strerror.c: Likewise.
3187 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3188 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3189 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3190 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3191 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3192 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3193 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3194 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3195 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3196 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3197 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3198 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3199 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3200 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3201 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3202 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3203 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3204 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3205 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3206 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3207 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3208
3209 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3210
3211 * stdio-common/_itoa.h: Moved to ...
3212 * sysdeps/generic/_itoa.h: Here.
3213
3214 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3215
3216 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3217 instead of "_itoa.h" and "_itowa.h".
3218 * stdio-common/vfprintf.: Likewise.
3219
d1af992d
L
32202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3221
3222 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3223 <bits/wordsize.h>.
3224 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3225 (__signbit): Likwise.
3226 (llrintf): Likwise.
3227 (llrint): Likwise.
3228
114883e0
L
32292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3230
3231 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3232 __WORDSIZE != 64.
3233
c135cc1b
JM
32342012-03-20 Joseph Myers <joseph@codesourcery.com>
3235
3236 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3237 OVERFLOW_EXCEPTION_OK.
3238 * math/libm-test.inc ("Philosophy"): Update comment about
3239 exception testing.
3240 (OVERFLOW_EXCEPTION): Define.
3241 (OVERFLOW_EXCEPTION_OK): Likewise.
3242 (INVALID_EXCEPTION_OK): Renumber.
3243 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3244 (IGNORE_ZERO_INF_SIGN): Likewise.
3245 (test_exceptions): Handle FE_OVERFLOW.
3246 (exp10_test): Expect overflow exceptions.
3247 (exp2_test): Likewise.
3248 (expm1_test): Likewise.
3249 (nextafter_test): Likewise.
3250 (pow_test): Likewise.
3251 (scalbn_test): Likewise.
3252 (scalbln_test): Likewise.
3253
95443d88
L
32542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3255
3256 * sysdeps/x86_64/bits/atomic.h
3257 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3258 64bit integer.
3259 (atomic_exchange_acq): Likewise.
3260 (__arch_exchange_and_add_body): Likewise.
3261 (__arch_add_body): Likewise.
3262 (atomic_add_negative): Likewise.
3263 (atomic_add_zero): Likewise.
3264
490df6c4
L
32652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3266
c2722551 3267 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3268 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3269
5e52b189
L
32702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3271
3272 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3273 Check __x86_64__ instead of __WORDSIZE.
3274
a9879d4c
L
32752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3276
3277 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3278
5df98260
DM
32792012-03-19 David S. Miller <davem@davemloft.net>
3280
e1497744
DM
3281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3282
5df98260
DM
3283 * sysdeps/sparc/fpu/fenv_private.h: New file.
3284 * sysdeps/sparc/fpu/math_private.h: Use it.
3285 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3286 Remove.
3287 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3288 (libc_feholdexcept_setroundl): Remove.
3289 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3290 Remove.
3291 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3292 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3293
b4c35121
L
32942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3295
3296 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3297 int64_t instead of long int.
3298 (INSERT_WORDS64): Likwise.
3299
56965fd7
L
33002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3301
3302 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3303 _Unwind_GetCFA return to _Unwind_Ptr first.
3304
83d1aec8
JM
33052012-03-19 Joseph Myers <joseph@codesourcery.com>
3306
1897ad44
JM
3307 [BZ #13629]
3308 * math/s_clog.c: Include <float.h>.
3309 (__clog): Scale large or subnormal inputs.
3310 * math/s_clogf.c: Likewise.
3311 * math/s_clogl.c: Likewise.
3312 * math/s_clog10.c: Include <float.h>.
3313 (M_LOG10_2): Define.
3314 (__clog10): Scale large or subnormal inputs.
3315 * math/s_clog10f.c: Likewise.
3316 * math/s_clog10l.c: Likewise.
3317 * math/libm-test.inc (clog_test): Add more tests.
3318 (clog10_test): Likewise.
3319 * sysdeps/i386/fpu/libm-test-ulps: Update.
3320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3321
7726d6a9
JM
3322 [BZ #11451]
3323 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3324 x and y.
3325 * math/libm-test.inc (atan2_test): Add another test.
3326
83d1aec8
JM
3327 * Makerules (common-objdir-compile): Remove.
3328 * sysdeps/unix/Makefile (config-generated): Do not add
3329 $(unix-generated) to variable.
3330 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3331 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3332 Remove rule.
3333 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3334 Likewise.
3335 [generic bits/local_lim.h] (before-compile): Do not append to
3336 variable.
3337 [generic bits/local_lim.h] (common-generated): Likewise.
3338 [generic sys/param.h] (before-compile): Do not append to variable.
3339 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3340 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3341 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3342 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3343 include.
3344 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3345 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3346 [generic sys/param.h] ($(addprefix
3347 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3348 [generic sys/param.h] (common-generated): Do not append to
3349 variable.
3350 [generic sys/param.h] (sysdep_headers): Likewise.
3351 [generic bits/errno.h] (before-compile): Do not append to
3352 variable.
3353 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3354 rule.
3355 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3356 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3357 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3358 [generic bits/errno.h] (common-generated): Do not append to
3359 variable.
3360 [generic bits/ioctls.h] (before-compile): Do not append to
3361 variable.
3362 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3363 rule.
3364 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3365 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3366 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3367 rule.
3368 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3369 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3370 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3371 [generic bits/ioctls.h] (common-generated): Do not append to
3372 variable.
3373 [generic sys/syscall.h] (syscall.h): Remove variable.
3374 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3375 rule.
3376 [generic sys/syscall.h] (before-compile): Do not append to
3377 variable.
3378 [generic sys/syscall.h] (common-generated): Likewise.
3379 * sysdeps/unix/errnos-tmpl.c: Remove file.
3380 * sysdeps/unix/errnos.awk: Likewise.
3381 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3382 * sysdeps/unix/ioctls.awk: Likewise.
3383 * sysdeps/unix/mk-local_lim.c: Likewise.
3384 * sysdeps/unix/snarf-ioctls: Likewise.
3385
4851a949
RH
33862012-03-19 Richard Henderson <rth@twiddle.net>
3387
bd37f2ee
RH
3388 * sysdeps/i386/fpu/fenv_private.h: New file.
3389 * sysdeps/i386/fpu/math_private.h: Use it.
3390 (math_opt_barrier, math_force_eval): Remove.
3391 (libc_feholdexcept_setround_53bit): Remove.
3392 (libc_feupdateenv_53bit): Remove.
3393 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3394 (math_opt_barrier, math_force_eval): Remove.
3395 (libc_feholdexcept): Remove.
3396 (libc_feholdexcept_setround): Remove.
3397 (libc_fetestexcept, libc_fesetenv): Remove.
3398 (libc_feupdateenv_test): Remove.
3399 (libc_feupdateenv, libc_feholdsetround): Remove.
3400 (libc_feresetround): Remove.
3401
d0adc922
RH
3402 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3403 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3404
0fe0f1f8
RH
3405 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3406 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3407 (libc_feupdateenv_testl): New.
3408 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3409 (libc_feupdateenv_testf): New.
3410 (libc_feupdateenv): Use libc_feupdateenv_test.
3411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3412 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3413
eb92c487
RH
3414 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3415 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3416 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3417 (libc_feresetround_noex): New.
3418 (libc_feresetround_noexf): New.
3419 (libc_feresetround_noexl): New.
3420 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3421 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3422 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3423 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3424 SET_RESTORE_ROUND.
3425 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3427 (__cos): Likewise.
3428 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3429 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3430 SET_RESTORE_ROUND_NOEX.
3431 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3432 SET_RESTORE_ROUND_NOEXF.
3433 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3434 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3435 (libc_feholdsetroundf): New.
3436 (libc_feresetround, libc_feresetroundf): New.
3437
7d2e8012
RH
3438 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3439 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3440 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3441
b4dabbb4
RH
3442 * sysdeps/generic/math_private.h: Include <fenv.h>.
3443 (default_libc_feholdexcept): New.
3444 (default_libc_feholdexcept_setround): New.
3445 (default_libc_fesetenv, default_libc_feupdateenv): New.
3446 (libc_feholdexcept): Only define if undefined.
3447 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3448 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3449 (libc_feholdexcept_setroundl): Likewise.
3450 (libc_feholdexcept_setround_53bit): Likewise.
3451 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3452 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3453 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3454 (libc_feupdateenv_53bit): Likewise.
3455 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3456 (libc_feholdexcept): Convert from macro to inline function.
3457 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3458 (libc_fesetenv, libc_feupdateenv): Likewise.
3459
4851a949
RH
3460 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3461 not previously defined.
3462 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3463 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3464 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3465 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3466 * sysdeps/ieee754/flt-32/math_private.h: New file.
3467 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3468 math_private.h below SET_FLOAT_WORD.
3469 (__isnan, __isinf_ns, __finite): Remove.
3470 (__isnanf, __isinf_nsf, __finitef): Remove.
3471
e79d442e
AS
34722012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3473
3474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3475
90b80344
DM
34762012-03-17 David S. Miller <davem@davemloft.net>
3477
3478 [BZ #6471]
3479 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3480 for 2.16.
3481
edc21804
DM
34822012-03-16 David S. Miller <davem@davemloft.net>
3483
77e927af
DM
3484 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3485 warnings.
3486
374976dd
DM
3487 [BZ #6471]
3488 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3489 properly.
3490 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3491 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3492 sysdep_routines when subdir is sysvipc.
3493 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3494 __getshmlba helper.
3495
edc21804
DM
3496 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3497
473c3ef3
L
34982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3499
3500 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3501 [__LP64__].
3502
eb0f39b6
L
35032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3504
3505 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3506 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3507 (__lround): Renamed to ...
3508 (__llround): This. Replace long int with long long int.
3509 Define lround functions as aliases of llround functions.
3510 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3511
6b6cd74b
L
35122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3513
3514 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3515 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3516 adresses to uintptr_t. Replace "long int" and "unsigned long
3517 int" with "greg_t" on va_arg.
3518
f1a77b01
L
35192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3520
3521 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3522 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3523
3524 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3525 Move e_machine check before EI_CLASS check. Handle x32
3526 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3527 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3528 SKIP_EM_IA_64 and include
3529 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3530
3531 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3532 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3533 (add_system_dir): New macro.
3534
3535 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3536 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3537
11b90b9f
JM
35382012-03-16 Joseph Myers <joseph@codesourcery.com>
3539
c36e1d23
JM
3540 [BZ #2551]
3541 [BZ #2552]
3542 [BZ #2553]
3543 [BZ #2554]
3544 [BZ #2562]
3545 [BZ #2563]
3546 [BZ #2565]
3547 [BZ #2566]
3548 [BZ #2576]
3549 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3550 (y0): Likewise.
3551 * math/w_j0f.c (j0f): Likewise.
3552 (y0f): Likewise.
3553 * math/w_j0l.c (__j0l): Likewise.
3554 (__y0l): Likewise.
3555 * math/w_j1.c (j1): Likewise.
3556 (y1): Likewise.
3557 * math/w_j1f.c (j1f): Likewise.
3558 (y1f): Likewise.
3559 * math/w_j1l.c (__j1l): Likewise.
3560 (__y1l): Likewise.
3561 * math/w_jn.c (jn): Likewise.
3562 (yn): Likewise.
3563 * math/w_jnf.c (jnf): Likewise.
3564 (ynf): Likewise.
3565 * math/w_jnl.c (__jnl): Likewise.
3566 (__ynl): Likewise.
3567 * math/libm-test.inc (j0_test): Add more tests.
3568 (j1_test): Likewise.
3569 (jn_test): Likewise. Add trailing semicolon to existing test.
3570 (y0_test): Likewise.
3571 (y1_test): Likewise.
3572 * sysdeps/i386/fpu/libm-test-ulps: Update.
3573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3574
11b90b9f
JM
3575 [BZ #13851]
3576 [BZ #13854]
3577 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3578 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3579 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3580 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3581 (__tanl): Set errno for infinite argument.
3582 * sysdeps/i386/fpu/mptan.c: Remove.
3583 * sysdeps/i386/fpu/s_tan.S: Likewise.
3584 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3585 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3586 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3587 * math/libm-test.inc (tan_test): Add more tests and enable more
3588 tests for double and long double.
3589 * sysdeps/i386/fpu/libm-test-ulps: Update.
3590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3591
6a1bd2a1
JK
35922012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3593
3594 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3595 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3596
10a803e0
RM
35972012-03-16 Roland McGrath <roland@hack.frob.com>
3598
3599 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3600 * configure.in: Use it for both main tree and add-ons.
3601 * configure: Regenerated.
3602
f196c7f7
L
36032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3604
3605 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3606
8848d99d
JM
36072012-03-16 Joseph Myers <joseph@codesourcery.com>
3608
96cbe7f4
JM
3609 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3610 in comment.
3611
8848d99d
JM
3612 [BZ #13851]
3613 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3614 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3615 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3616 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3617 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3618 infinite argument.
3619 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3620 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3621 != 0 for prec == 2.
3622 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3623 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3624 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3625 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3626 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3627 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3628 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3629 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3630 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3631 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3632 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3633 * math/libm-test.inc (cos_test): Add more tests and enable more
3634 tests for long double.
3635 (sin_test): Likewise.
3636 (sincos_test): Likewise.
3637 * sysdeps/i386/fpu/libm-test-ulps: Update.
3638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3639
dd7f4703
DM
36402012-03-16 David S. Miller <davem@davemloft.net>
3641
3642 * sysdeps/sparc/fpu/math_private.h: New file.
3643
006f1daa
DM
36442012-03-15 David S. Miller <davem@davemloft.net>
3645
c0c83bc8
DM
3646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3647 file.
e6a62e18 3648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3650 file.
e6a62e18
DM
3651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3657 sysdep routines.
3658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3659
88cb87d9
DM
3660 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3661 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3662
006f1daa 3663 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3665 sparc-ifunc.h
006f1daa 3666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3668 Likewise.
3669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3670 Likewise.
006f1daa
DM
3671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3675 Likewise.
006f1daa
DM
3676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3681 Likewise.
3682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3683 Likewise.
006f1daa
DM
3684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3691 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3704 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3706 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3708
11e0098e
AS
37092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3710
3711 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3712 scaling.
3713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3714
e85b09d0
AJ
37152012-03-15 Andreas Jaeger <aj@suse.de>
3716
3717 [BZ #13852]
3718 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3719 ieee754/flt-32 implementation for sin, cos and sincos.
3720 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3721 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3722 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3723 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3724 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3725 ieee754/flt-32 implementation for tan.
3726
3727 * math/libm-test.inc (cos_test): Enable some large input tests for
3728 float as well
3729 (sin_test): Likewise.
3730 (sincos_test): Likewise.
3731 (tan_test): Add tests for large input.
3732
3733 * sysdeps/i386/fpu/libm-test-ulps: Update.
3734
81c64153
AJ
37352012-03-15 Andreas Jaeger <aj@suse.de>
3736
3737 [BZ #13658]
3738 * math/libm-test.inc (cos_test): Add more test cases.
3739 (sin_test): Likewise.
3740 (sincos_test): Likewise.
3741
7bbfa5c6
AJ
37422012-03-15 Andreas Jaeger <aj@suse.de>
3743
3744 [BZ #13837]
3745 * math/libm-test.inc (cos_test): Add a test case for large input
3746 value.
3747 (sin_test): Likewise.
3748 (sincos_test): Likewise.
3749
37502012-03-15 Andreas Jaeger <aj@suse.de>,
3751 Joseph Myers <joseph@codesourcery.com>
3752
3753 [BZ #13658]
0671f479 3754 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3755 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3756 * sysdeps/i386/fpu/branred.c: Likewise.
3757 * sysdeps/i386/fpu/dosincos.c: Likewise.
3758 * sysdeps/i386/fpu/mpa.c: Likewise.
3759 * sysdeps/i386/fpu/s_cos.S: Likewise.
3760 * sysdeps/i386/fpu/s_sin.S: Likewise.
3761 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3762 * sysdeps/i386/fpu/sincos32.c: Likewise.
3763
3764 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3765 Define.
3766 (libc_feupdateenv_53bit): Define.
3767 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3768 Define.
3769 (libc_feupdateenv_53bit): Define.
3770
3771 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3772 53 bit (without extend i386 double precision).
3773
3774 * math/libm-test.inc (sincos_test): Add tests for large input.
3775 (sin): Likewise.
3776 (cos): Likewise.
3777
3778 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3779
9cad04ea
AS
37802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3781
3782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3783
f7062b9a
DM
37842012-03-15 David S. Miller <davem@davemloft.net>
3785
3786 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3787 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3788 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3789 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3802 file.
f7062b9a 3803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3805 file.
f7062b9a 3806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3808 file.
f7062b9a 3809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3811 file.
f7062b9a
DM
3812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3814 fmin/fmax sysdep routines.
3815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3816
7bd951ff
DM
38172012-03-14 David S. Miller <davem@davemloft.net>
3818
559398ab
DM
3819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3823 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3824 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3825 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3839 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3840 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3841 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3843 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3844 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3845 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3847 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3848 routines.
3849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3850 file.
559398ab 3851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3853 file.
559398ab 3854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3856 file.
559398ab 3857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3859 file.
559398ab 3860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3862 file.
559398ab 3863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3865 file.
3866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3867 file.
3868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3869 file.
3870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3871 file.
3872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3873 New file.
3874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3875 file.
3876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3877 file.
559398ab 3878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3880 file.
559398ab 3881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3883 file.
559398ab 3884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3886 file.
559398ab 3887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3889 VIS3 routines.
559398ab
DM
3890
3891 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3892 New file.
3893
5a1c1e32
DM
3894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3895
eae47a36
DM
3896 * sysdeps/sparc/configure.in: New file.
3897 * sysdeps/sparc/configure: Generate.
3898 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3899 * configure: Regenerate.
3900 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3901 * config.make.in (have-as-vis3): New.
3902 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3903 available use -Av9d instead of -Av9a.
3904 * sysdeps/sparc/sparc64/Makefile: Likewise.
3905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3907 New file.
3908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3909 file.
3910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3911 New file.
3912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3913 file.
eae47a36
DM
3914 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3915 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3916 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3917 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3919
c0c83bc8
DM
3920 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3921 fzeros/fnegs to load 0x80000000 into a float register instead of
3922 using the stack.
7bd951ff
DM
3923 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3924
bd951ccb
JM
39252012-03-14 Joseph Myers <joseph@codesourcery.com>
3926
3927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3928 bits/syscall.h.
3929 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3930 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3931 ($(inst_includedir)/bits/syscall.h): Remove rule.
3932 ($(objpfx)bits/syscall.d): Include instead of
3933 $(objpfx)syscall-list.d.
3934 (generated): Change syscall-list.h and syscall-list.d to
3935 bits/syscall.h and bits/syscall.d.
3936
bb4e6db2
RM
39372012-03-14 Roland McGrath <roland@hack.frob.com>
3938
3939 [BZ #13846]
3940 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3941
aa4a2ae1
JM
39422012-03-14 Joseph Myers <joseph@codesourcery.com>
3943
e456826d
JM
3944 [BZ #13841]
3945 * math/s_csqrt.c: Include <float.h>.
3946 (__csqrt): Scale large or subnormal inputs.
3947 * math/s_csqrtf.c: Likewise.
3948 * math/s_csqrtl.c: Likewise.
3949 * math/libm-test.inc (csqrt_test): Add more tests.
3950 * sysdeps/i386/fpu/libm-test-ulps: Update.
3951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3952
aa4a2ae1
JM
3953 [BZ #13840]
3954 * math/libm-test.inc (hypot_test): Add more tests.
3955
7c10fd35
DM
39562012-03-13 David S. Miller <davem@davemloft.net>
3957
3958 [BZ #13840]
3959 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3960 double-precision for the calculation instead of scaling.
3961
f453b98b
JM
39622012-03-13 Joseph Myers <joseph@codesourcery.com>
3963
3964 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3965 manipulate bits before adding and subtracting TWO52[sx].
3966 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3967 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3968 Likewise.
3969 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3970
09a3453f
DM
39712012-03-13 David S. Miller <davem@davemloft.net>
3972
8e59da90
DM
3973 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3974 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3976 rtld-global-offsets.h
3977 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3978
2a8ab7f2
DM
3979 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3980 large parameters.
3981
10f62770
DM
3982 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3983
5f0bdb18
DM
3984 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3985 'err' in the ifdef scope in which it is actually used.
3986
09a3453f
DM
3987 * nss/nss_db/db-init.c: Include string.h
3988
b4b2eb5e
DM
39892012-03-12 David S. Miller <davem@davemloft.net>
3990
98bb2f1c
DM
3991 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3992 masking out of the most significant byte of random value used.
3993 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3994 Fix coding style in previous change.
3995
b4b2eb5e
DM
3996 * sysdeps/unix/sysv/linux/kernel-features.h
3997 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3998 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3999 expression.
4000 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4001 later.
4002
6e226b09
DM
40032012-03-11 David S. Miller <davem@davemloft.net>
4004
a1bcbd40
DM
4005 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4006 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4007 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4008 for 'resultvar' otherwise things get truncated on 64-bit.
4009
cb9d6174
DM
4010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4011 Fix masking out of the most significant byte of random value used.
4012
6e226b09
DM
4013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4014
058c132d
AS
40152012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4016
4017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4018
2d2cd515
DM
40192012-03-09 David S. Miller <davem@davemloft.net>
4020
4021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4022 variables with appropriate CPP guards.
4023 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4024 frame pointer, not the stack pointer. Correct layout comments. Fix test
4025 on resulting framesize and the management of the outregs buffer for pltexit.
4026 Preserve floating point return values across _dl_call_pltexit call.
4027 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4028 framesize and the management of the outregs buffer for pltexit.
4029 Preserve floating point return values across _dl_call_pltexit
4030 call.
4031 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4032 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4033 (print_exit): Fix format string for return register value.
4034
9a07f9d0
JM
40352012-03-10 Joseph Myers <joseph@codesourcery.com>
4036
4037 * sunrpc/Makefile (others): Add rpcgen.
4038 ($(objpfx)rpcgen): Remove special build rule and dependency on
4039 libc.
4040 * sunrpc/rpcgen.c: New file.
4041
547b5e30
PE
40422012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4043
c524201a
PE
4044 [BZ #13673]
4045 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4046 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4047 * sysdeps/i386/crti.S: Likewise.
4048 * sysdeps/i386/crtn.S: Likewise.
4049 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4050 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4051 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4052 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4053 * sysdeps/sh/crti.S: Likewise.
4054 * sysdeps/sh/crtn.S: Likewise.
4055 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4056
7b6235f2
PE
4057 [BZ #13673]
4058 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4059 with URL.
4060 * locale/programs/locfile-kw.gperf: Likewise.
4061 * locale/programs/charmap-kw.h: Regenerated.
4062 * locale/programs/locfile-kw.h: Likewise.
4063
547b5e30
PE
4064 [BZ #13673]
4065 * intl/plural.y: Replace FSF snail mail address with URL.
4066 * intl/plural.c: Regenerated.
4067
5f0a5dae
RH
40682012-03-09 Richard Henderson <rth@twiddle.net>
4069
4070 * include/math_private.h: Remove file.
4071 * math/math_private.h: Move file ...
4072 * sysdeps/generic/math_private.h: ... here.
4073
b8c03620
RH
4074 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4075 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4076 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4077
4e234f5d 4078 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4079 and <math_private.h>.
4080 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4081 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4082 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4083 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4084 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4085 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4086 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4087 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4088 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4089 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4092 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4093 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4094 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4095 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4096 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4097 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4098 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4099 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4101 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4102 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4103 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4104 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4106 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4108 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4109 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4110 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4111 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4112 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4113 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4114 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4115 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4116 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4117 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4118 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4119 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4120 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4121 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4122 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4123 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4124 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4125 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4126 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4127 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4128 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4129 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4130 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4131 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4132 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4133 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4134 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4135 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4136 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4137 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4138 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4139 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4140 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4141 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4143 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4144 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4145 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4146 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4147 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4148 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4149 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4150 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4151 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4152 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4153 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4154 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4155 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4156 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4157 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4158 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4159 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4160 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4161 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4162 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4163 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4168 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4169 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4170 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4171 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4172 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4173 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4174 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4175 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4176 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4177 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4178 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4179 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4180 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4181 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4182 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4183 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4184 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4185 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4186 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4187 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4188 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4189 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4190 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4191 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4192 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4193 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4194 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4195 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4196 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4197 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4198 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4199 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4200 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4201 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4202 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4203 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4204 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4205 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4206 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4207 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4208 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4209 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4210 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4211 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4212 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4213 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4214 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4215 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4216 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4217 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4218 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4219 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4220 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4221 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4222 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4223 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4224 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4225 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4226 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4227 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4228 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4229 * sysdeps/ieee754/k_standard.c: Likewise.
4230 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4232 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4234 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4242 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4243 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4254 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4255 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4258 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4259 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4297 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4303 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4304 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4307 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4313 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4323 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4345 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4349 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4350 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4352 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4357 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4362 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4365 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4367 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4376 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4378 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4379 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4380 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4381 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4390 * sysdeps/ieee754/s_lib_version.c: Likewise.
4391 * sysdeps/ieee754/s_matherr.c: Likewise.
4392 * sysdeps/ieee754/s_signgam.c: Likewise.
4393 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4394 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4395 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4396 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4397 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4398 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4399 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4400 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4401 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4402 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4403 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4404 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4405 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4406 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4407 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4408 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4409 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4410 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4411 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4412 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4413 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4414
1991fa03
JM
44152012-03-09 Joseph Myers <joseph@codesourcery.com>
4416
4417 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4418 * sunrpc/rpc_main.c: Likewise.
4419 * sunrpc/rpc_svcout.c: Likewise.
4420
60d6f5a6
DM
44212012-03-09 David S. Miller <davem@davemloft.net>
4422
4423 * include/math_private.h: New file.
4424
4962050e
JM
44252012-03-09 Joseph Myers <joseph@codesourcery.com>
4426
02a6f887
JM
4427 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4428 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4429 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4430 from <bits/socket_type.h>.
4431 (enum __socket_type): Don't define here.
4432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4434 bits/socket_type.h.
4435
c6e013c1
JM
4436 [BZ #13566]
4437 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4438 checking __USE_GNU.
4439
4962050e
JM
4440 * Makerules ($(inst_includedir)/%.h): New rule.
4441 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4442 (install-others): Remove variable setting.
4443 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4444
38842f45
RH
44452012-03-08 Richard Henderson <rth@twiddle.net>
4446
67bb6da6
RH
4447 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4448 from macro to inline function; merge with the
4449 !__LIBC_INTERNAL_MATH_INLINES version.
4450 (__ieee754_sqrtf): Likewise.
4451
15194b4b
RH
4452 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4453 to inline function.
4454 (__rintf, __floor, __floorf): Likewise.
4455
64e21ede
RH
4456 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4457 macro to inline function.
4458 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4459
38842f45
RH
4460 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4461 not <math/math_private.h>.
4462
c64bf5fe
DM
44632012-03-08 David S. Miller <davem@davemloft.net>
4464
4465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4466 copyright year.
4467 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4468
82d86f28
TS
44692012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4470
4471 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4472 normalization.
4473 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4474 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4475
aea5d727
UD
44762012-03-08 Ulrich Drepper <drepper@gmail.com>
4477
4478 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4479 be defined individually, they must be defined as a block. Define
4480 S for printing a string instead of hidint the different by using a
4481 macro for adding the 'l'.
4482 * stdio-common/tst-fphex-wide.c: Adjust.
4483
70bca0a3
MP
44842012-03-07 Marek Polacek <polacek@redhat.com>
4485
4486 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4487
65b81130
MP
44882012-03-08 Marek Polacek <polacek@redhat.com>
4489
4490 [BZ #13806]
4491 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4492 * stdio-common/tst-fphex.c: Define a few macros to make the
4493 test reusable. Use them.
4494 * stdio-common/tst-fphex-wide.c: New file.
4495
07037eeb
JM
44962012-03-08 Joseph Myers <joseph@codesourcery.com>
4497
a7a93d50
JM
4498 [BZ #6911]
4499 * manual/macros.texi (gnusystems): New macro.
4500 (nongnusystems): Likewise.
4501 (gnulinuxhurdsystems): Likewise.
4502 (gnuhurdsystems): Likewise..
4503 (gnulinuxsystems): Likewise.
4504 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4505 variants of the GNU system, not "GNU system".
4506 * manual/conf.texi: Likewise.
4507 * manual/errno.texi: Likewise. Update example of errno macro
4508 expansion.
4509 * manual/filesys.texi: Likewise.
4510 (getumask): Document as specific to GNU/Hurd.
4511 * manual/install.texi: Likewise. Reword some references to
4512 GNU/Linux.
4513 * manual/intro.texi: Likewise.
4514 * manual/io.texi: Likewise.
4515 (File Name Portability): Detail which constraints are inapplicable
4516 to all GNU systems and which are only inapplicable to GNU/Hurd.
4517 * manual/job.texi: Likewise.
4518 * manual/llio.texi: Likewise.
4519 (O_NOCTTY): Document as present on GNU/Linux.
4520 * manual/maint.texi: Likewise.
4521 * manual/memory.texi: Likewise.
4522 * manual/pattern.texi: Likewise.
4523 * manual/pipe.texi: Likewise.
4524 * manual/process.texi: Likewise.
4525 * manual/resource.texi: Likewise.
4526 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4527 child on GNU/Hurd.
4528 * manual/setjmp.texi: Likewise.
4529 * manual/signal.texi: Likewise.
4530 * manual/startup.texi: Likewise.
4531 * manual/stdio.texi: Likewise.
4532 * manual/terminal.texi: Likewise.
4533 (ONLCR): Document as POSIX.
4534 (OXTABS): Document availability on GNU/Linux as XTABS.
4535 (ONOEOT): Document availability separately from other bits.
4536 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4537 * manual/time.texi: Likewise.
4538 * manual/users.texi: Likewise.
4539 * INSTALL: Regenerated.
4540 * sysdeps/gnu/errlist.c: Regenerated.
4541
07037eeb
JM
4542 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4543 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4544 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4545 puts.
4546 * configure: Regenerated.
4547
d1d3431a
JM
45482012-03-07 Joseph Myers <joseph@codesourcery.com>
4549
af6a1e37
JM
4550 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4551 default includes instead of AC_HEADER_CHECK.
4552 * sysdeps/i386/configure: Regenerated.
4553
d1d3431a
JM
4554 [BZ #10716]
4555 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4556 * math/s_cacoshf.c (__cacoshf): Likewise.
4557 * math/s_cacoshl.c (__cacoshl): Likewise.
4558 * math/s_casinh.c (__casinh): Set signs of result from argument.
4559 * math/s_casinhf.c (__casinhf): Likewise.
4560 * math/s_casinhl.c (__casinhl): Likewise.
4561 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4562 (casinh_test): Add more tests.
4563 * sysdeps/i386/fpu/libm-test-ulps: Update.
4564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4565
482ff4da
UD
45662012-03-07 Ulrich Drepper <drepper@gmail.com>
4567
872fda05
UD
4568 * po/zh_TW.po: Update from translation team.
4569
a4300c7a
UD
4570 * login/Makefile (distribute): Remove variable.
4571 * catgets/Makefile: Likewise.
4572 * mach/Makefile: Likewise.
4573 * malloc/Makefile: Likewise.
4574 * misc/Makefile: Likewise.
4575 * iconv/Makefile: Likewise.
4576 * nscd/Makefile: Likewise.
4577 * hurd/Makefile: Likewise.
4578 * manual/Makefile: Likewise.
4579 * locale/Makefile: Likewise.
4580 * intl/Makefile: Likewise.
4581 * conform/Makefile: Likewise.
4582 * nss/Makefile: Likewise.
4583 * time/Makefile: Likewise.
4584 * soft-fp/Makefile: Likewise.
4585 * dirent/Makefile: Likewise.
4586 * gmon/Makefile: Likewise.
4587 * po/Makefile: Likewise.
4588 * rt/Makefile: Likewise.
4589 * socket/Makefile: Likewise.
4590 * math/Makefile: Likewise.
4591 * signal/Makefile: Likewise.
4592 * debug/Makefile: Likewise.
4593 * elf/Makefile: Likewise.
4594 * timezone/Makefile: Likewise.
4595 * stdlib/Makefile: Likewise.
4596 * iconvdata/Makefile: Likewise.
4597 * sunrpc/Makefile: Likewise.
4598 * io/Makefile: Likewise.
4599 * argp/Makefile: Likewise.
4600 * inet/Makefile: Likewise.
4601 * hesiod/Makefile: Likewise.
4602 * grp/Makefile: Likewise.
4603 * csu/Makefile: Likewise.
4604 * wctype/Makefile: Likewise.
4605 * crypt/Makefile: Likewise.
4606 * libio/Makefile: Likewise.
4607 * string/Makefile: Likewise.
4608 * nis/Makefile: Likewise.
4609 * resolv/Makefile: Likewise.
4610 * stdio-common/Makefile: Likewise.
4611 * wcsmbs/Makefile: Likewise.
4612 * dlfcn/Makefile: Likewise.
4613 * posix/Makefile: Likewise.
4614
3b7c4e74 4615 [BZ #6959]
482ff4da
UD
4616 * timezone/Makefile: Don't install timezone files, just the programs
4617 and scripts.
4618
f72ed77d
UD
46192012-03-06 Ulrich Drepper <drepper@gmail.com>
4620
a000466f
UD
4621 * nss/databases.def: Add missing gshadow entry.
4622
f72ed77d
UD
4623 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4624
a53b7a4e
MP
46252012-03-06 Marek Polacek <polacek@redhat.com>
4626
4627 [BZ #13726]
4628 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4629 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4630 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4631 * stdio-common/tst-long-dbl-fphex.c: New file.
4632
e9258400
DM
46332012-03-06 David S. Miller <davem@davemloft.net>
4634
4635 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4636 (set_obp_int): New function.
4637 (get_obp_int): New function.
4638 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4639 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4640 Avoid unused variable warnings on 'val' and use builtin_expect.
4641 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4642 __builtin_expect.
e9258400
DM
4643 (INLINE_CLONE_SYSCALL): Likewise.
4644
3bd2c723
DM
46452012-03-05 David S. Miller <davem@davemloft.net>
4646
4647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4648
bbb78d03
AS
46492012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4650
884c5db4
AS
4651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4652
bbb78d03
AS
4653 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4654 only for |x| >= 40.
4655 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4656
1c9f702a 46572012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4658
4659 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4660 Replace gettimeofday with __vdso_gettimeofday.
4661
7be16f82
RM
4662 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4663 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4664 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4665
4666 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4667 time with __vdso_time.
4668
ed58a00f
JM
46692012-03-05 Joseph Myers <joseph@codesourcery.com>
4670
4671 * manual/lang.texi (size_t): Note types to which size_t may be
4672 equivalent with the GNU C Library, but do not describe when
4673 differences between them are significant.
4674
30ee4ced
AJ
46752012-03-05 Andreas Jaeger <aj@suse.de>
4676
4677 * sysdeps/i386/fpu/libm-test-ulps: Update.
4678
b7cd39e8
JM
46792012-03-05 Joseph Myers <joseph@codesourcery.com>
4680
4681 [BZ #3976]
4682 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4683 (__ieee754_pow): Save and restore rounding mode and use
4684 round-to-nearest for main computations.
4685 * math/libm-test.inc (pow_test_tonearest): New function.
4686 (pow_test_towardzero): Likewise.
4687 (pow_test_downward): Likewise.
4688 (pow_test_upward): Likewise.
4689 (main): Call the new functions.
4690 * sysdeps/i386/fpu/libm-test-ulps: Update.
4691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4692
4693 [BZ #3976]
4694 * math/libm-test.inc (cosh_test_tonearest): New function.
4695 (cosh_test_towardzero): Likewise.
4696 (cosh_test_downward): Likewise.
4697 (cosh_test_upward): Likewise.
4698 (sinh_test_tonearest): Likewise.
4699 (sinh_test_towardzero): Likewise.
4700 (sinh_test_downward): Likewise.
4701 (sinh_test_upward): Likewise.
4702 (main): Call the new functions.
4703 * sysdeps/i386/fpu/libm-test-ulps: Update.
4704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4705
6c6a98c9
TV
47062012-03-05 Tom de Vries <tom@codesourcery.com>
4707
4708 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4709 default stack guard is set in last bytes.
4710 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4711
21bb2d2e 47122012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4713
21bb2d2e 4714 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4715
21bb2d2e
AJ
4716 [BZ #13656]
4717 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4718 possibly allocate from heap instead of stack.
4719 * stdio-common/bug-vfprintf-nargs.c: New file.
4720 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4721
c6922934
AS
47222012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4723
4724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4725
bc957d53
MP
47262012-03-03 Marek Polacek <polacek@redhat.com>
4727
4728 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4729 * math/math_private.h: Likewise.
4730 * stdlib/tst-strtod.c: Likewise.
4731 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4732 * sysdeps/x86_64/bits/atomic.h: Likewise.
4733
6358490d
DM
47342012-03-02 David S. Miller <davem@davemloft.net>
4735
4736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4740 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4741 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4742 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4743 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4744
01ae168d
RM
47452012-03-02 Roland McGrath <roland@hack.frob.com>
4746
d9a17c07
RM
4747 [BZ #13792]
4748 * manual/examples/README: New file, says the example source files
4749 can be used under GPL>=2.
4750 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4751 line containing just "*/".
4752 * manual/examples/add.c: Add copyright header (GPL>=2).
4753 * manual/examples/argp-ex1.c: Likewise.
4754 * manual/examples/argp-ex2.c: Likewise.
4755 * manual/examples/argp-ex3.c: Likewise.
4756 * manual/examples/argp-ex4.c: Likewise.
4757 * manual/examples/atexit.c: Likewise.
4758 * manual/examples/db.c: Likewise.
4759 * manual/examples/dir.c: Likewise.
4760 * manual/examples/dir2.c: Likewise.
4761 * manual/examples/execinfo.c: Likewise.
4762 * manual/examples/filecli.c: Likewise.
4763 * manual/examples/filesrv.c: Likewise.
4764 * manual/examples/fmtmsgexpl.c: Likewise.
4765 * manual/examples/genpass.c: Likewise.
4766 * manual/examples/inetcli.c: Likewise.
4767 * manual/examples/inetsrv.c: Likewise.
4768 * manual/examples/isockad.c: Likewise.
4769 * manual/examples/longopt.c: Likewise.
4770 * manual/examples/memopen.c: Likewise.
4771 * manual/examples/memstrm.c: Likewise.
4772 * manual/examples/mkfsock.c: Likewise.
4773 * manual/examples/mkisock.c: Likewise.
4774 * manual/examples/mygetpass.c: Likewise.
4775 * manual/examples/pipe.c: Likewise.
4776 * manual/examples/popen.c: Likewise.
4777 * manual/examples/rprintf.c: Likewise.
4778 * manual/examples/search.c: Likewise.
4779 * manual/examples/select.c: Likewise.
4780 * manual/examples/setjmp.c: Likewise.
4781 * manual/examples/sigh1.c: Likewise.
4782 * manual/examples/sigusr.c: Likewise.
4783 * manual/examples/stpcpy.c: Likewise.
4784 * manual/examples/strdupa.c: Likewise.
4785 * manual/examples/strftim.c: Likewise.
4786 * manual/examples/strncat.c: Likewise.
4787 * manual/examples/subopt.c: Likewise.
4788 * manual/examples/swapcontext.c: Likewise.
4789 * manual/examples/termios.c: Likewise.
4790 * manual/examples/testopt.c: Likewise.
4791 * manual/examples/testpass.c: Likewise.
4792 * manual/examples/timeval_subtract.c: Likewise.
4793
01ae168d
RM
4794 [BZ #13792]
4795 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4796 function to ...
4797 * manual/timeval_subtract.c.texi: ... here, new file.
4798
49efa33d
DM
47992012-03-02 David S. Miller <davem@davemloft.net>
4800
4801 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4802
28afd92d
JM
48032012-03-02 Joseph Myers <joseph@codesourcery.com>
4804
804360ed
JM
4805 [BZ #3976]
4806 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4807 (__sin): Save and restore rounding mode and use round-to-nearest
4808 for all computations.
4809 (__cos): Save and restore rounding mode and use round-to-nearest
4810 for all computations.
4811 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4812 <fenv.h>.
4813 (tan): Save and restore rounding mode and use round-to-nearest for
4814 all computations.
4815 * math/libm-test.inc (cos_test_tonearest): New function.
4816 (cos_test_towardzero): Likewise.
4817 (cos_test_downward): Likewise.
4818 (cos_test_upward): Likewise.
4819 (sin_test_tonearest): Likewise.
4820 (sin_test_towardzero): Likewise.
4821 (sin_test_downward): Likewise.
4822 (sin_test_upward): Likewise.
4823 (tan_test_tonearest): Likewise.
4824 (tan_test_towardzero): Likewise.
4825 (tan_test_downward): Likewise.
4826 (tan_test_upward): Likewise.
4827 (main): Call the new functions.
4828 * sysdeps/i386/fpu/libm-test-ulps: Update.
4829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4830
a6d06d7b
JM
4831 [BZ #10135]
4832 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4833 small n, then large n, before computing and testing k+n.
4834 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4835 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4836 Likewise.
4837 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4838 Likewise.
4839 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4840 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4841 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4842 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4843 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4844 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4845 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4846 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4847 * math/libm-test.inc (scalbn_test): Add more tests.
4848 (scalbln_test): Likewise.
4849
07e12bb3
JM
4850 * manual/filesys.texi (mode_t): Describe constraints on size and
4851 signedness, not exact equivalence to a particular type.
4852 (ino_t): Likewise.
4853 (ino64_t): Likewise.
4854 (dev_t): Likewise.
4855 (nlink_t): Likewise.
4856 (blkcnt_t): Likewise.
4857 (blkcnt64_t): Likewise.
4858 * manual/llio.texi (off_t): Likewise.
4859
28afd92d
JM
4860 [BZ #3976]
4861 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4862 (__ieee754_exp): Save and restore rounding mode and use
4863 round-to-nearest for all computations.
4864 * math/libm-test.inc (exp_test_tonearest): New function.
4865 (exp_test_towardzero): Likewise.
4866 (exp_test_downward): Likewise.
4867 (exp_test_upward): Likewise.
4868 (main): Call the new functions.
4869 * sysdeps/i386/fpu/libm-test-ulps: Update.
4870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4871
b1eeb65d
CD
48722012-03-01 Chris Demetriou <cgd@google.com>
4873
4874 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4875 have predictable order.
4876
53362a4b
DM
48772012-03-01 David S. Miller <davem@davemloft.net>
4878
3c969083
DM
4879 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4880
759707de
DM
4881 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4882 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4883 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4884 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4885
dfdb8ff2
DM
4886 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4887 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4888 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4890 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4891 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4892 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4893 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4894 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4895
ead89f96
DM
4896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4897
7f66bd07
DM
4898 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4899 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4900 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4901
53362a4b
DM
4902 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4903 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4904 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4905 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4906 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4907 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4908 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4909 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4910 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4911 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4912 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4915 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4916 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4917 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4918 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4919 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4920 * sysdeps/sparc/elf/configure: Regenerated.
4921
7b1902cb
JM
49222012-03-01 Joseph Myers <joseph@codesourcery.com>
4923
bec039bc
JM
4924 * configure.in (AS, LD): Require binutils 2.20 or later.
4925 * configure: Regenerated.
4926 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4927 as required minimum version.
4928 * INSTALL: Regenerated.
4929
7b1902cb
JM
4930 [BZ #2541]
4931 [BZ #4108]
4932 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4933 before squaring exponent.
4934 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4935 bottom long double and 27 bits of top long double before squaring
4936 exponent.
4937 * math/libm-test.inc (erfc_test): Add more tests.
4938 * sysdeps/i386/fpu/libm-test-ulps: Update.
4939 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4941
f775c276
KT
49422012-03-01 Kai Tietz <ktietz@redhat.com>
4943
4944 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4945 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4946 containing bit-fields.
4947 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4948 * soft-fp/single.h (_FP_UNION_S): Likewise.
4949 * soft-fp/double.h (_FP_UNION_D): Likewise.
4950
5b8a4d4a
JM
49512012-02-29 Joseph Myers <joseph@codesourcery.com>
4952
0bab47b6
JM
4953 [BZ #13786]
4954 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4955 not include ../strcmp.S.
4956 [USE_AS_STRNCASECMP_L]: Likewise.
4957 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4958 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4959 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4960 (__strncasecmp_l_ia32): Define as alias to
4961 __strncasecmp_l_nonascii.
4962
0fcad3e2
JM
4963 [BZ #5794]
4964 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4965 * sysdeps/i386/fpu/libm-test-ulps: Update.
4966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4967
5b8a4d4a
JM
4968 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4970
8fdceb2e
JL
49712012-02-29 Jeff Law <law@redhat.com>
4972
4973 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4974 out of bounds read.
4975
1f393a11
MP
49762012-02-29 Marek Polacek <polacek@redhat.com>
4977
4978 [BZ #13706]
4979 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4980 * elf/Makefile: Add rules to run tst-unused-dep.out.
4981
8847f037
DM
49822012-02-28 David S. Miller <davem@davemloft.net>
4983
4984 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4985 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4986 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4987 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4988 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4989 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4990
169d7f11
JM
49912012-02-29 Joseph Myers <joseph@codesourcery.com>
4992
4993 * math/libm-test.inc (llround_test): Move one test from
4994 lround_test. Use TEST_f_L in moved test.
4995 (lround_test): Move misplaced test to llround_test. Add testcase
4996 from bug 2561.
4997
39adf059
UD
49982012-02-28 Ulrich Drepper <drepper@gmail.com>
4999
5000 * sysdeps/x86_64/fpu/e_expf.S: New file.
5001 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5002
71b5d1c5
SB
50032012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5004
5005 [BZ #13637]
5006 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5007 of remain_len that may cause incomplete multi-byte character and
5008 false match.
5009 * posix/bug-regex33.c: New file.
5010 * posix/Makefile (tests): Add bug-regex33.
5011
1f77f049
JM
50122012-02-28 Joseph Myers <joseph@codesourcery.com>
5013
5014 * manual/macros.texi: New file.
5015 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5016 * manual/libc.texinfo: Include macros.texi.
5017 * manual/creatute.texi: Likewise.
5018 * manual/install.texi: Likewise.
5019 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5020 @glibcadj{} in references to the GNU C Library.
5021 * manual/charset.texi: Likewise.
5022 * manual/conf.texi: Likewise.
5023 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5024 when not using those macros.
5025 * manual/creature.texi: Likewise.
5026 * manual/crypt.texi: Likewise.
5027 * manual/errno.texi: Likewise.
5028 * manual/filesys.texi: Likewise.
5029 * manual/header.texi: Likewise.
5030 * manual/install.texi: Likewise.
5031 * manual/intro.texi: Likewise.
5032 * manual/io.texi: Likewise.
5033 * manual/job.texi: Likewise.
5034 * manual/lang.texi: Likewise.
5035 * manual/libc.texiinfo: Likewise.
5036 * manual/llio.texi: Likewise.
5037 * manual/locale.texi: Likewise.
5038 * manual/maint.texi: Likewise.
5039 * manual/math.texi: Likewise.
5040 * manual/memory.texi: Likewise.
5041 * manual/message.texi: Likewise.
5042 * manual/nss.texi: Likewise.
5043 * manual/pattern.texi: Likewise.
5044 * manual/process.texi: Likewise.
5045 * manual/resource.texi: Likewise.
5046 * manual/search.texi: Likewise.
5047 * manual/setjmp.texi: Likewise.
5048 * manual/signal.texi: Likewise.
5049 * manual/socket.texi: Likewise.
5050 * manual/startup.texi: Likewise.
5051 * manual/stdio.texi: Likewise.
5052 * manual/string.texi: Likewise.
5053 * manual/sysinfo.texi: Likewise.
5054 * manual/syslog.texi: Likewise.
5055 * manual/terminal.texi: Likewise.
5056 * manual/time.texi: Likewise.
5057 * manual/users.texi: Likewise.
5058 * INSTALL: Regenerated.
5059 * NOTES: Regenerated.
d40c5d54 5060 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5061
450bf206
AS
50622012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5063
5064 * include/dirent.h: Include <dirstream.h> before
5065 <dirent/dirent.h>.
5066
741a235b
DM
50672012-02-28 David S. Miller <davem@davemloft.net>
5068
5069 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5070 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5071 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5072 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5073
d6b5aa58
DM
50742012-02-27 David S. Miller <davem@davemloft.net>
5075
1aff59a3
DM
5076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5078 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5079 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5080
d6b5aa58
DM
5081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5082 frame pointer instead of stack pointer relative arg slot.
5083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5084 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5085 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5086
433f48bf
CD
50872012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5088
5089 [BZ #3992]
5090 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5091
d674b76d
DM
50922012-02-27 David S. Miller <davem@davemloft.net>
5093
5094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5098 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5099 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5100 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5101 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5102
0e7727f7
JM
51032012-02-27 Joseph Myers <joseph@codesourcery.com>
5104
5105 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5106 later. Allow versions 5-9.
43be4ca2 5107 * configure: Regenerated.
0e7727f7
JM
5108 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5109 required minimum version and 4.6 as recommended version. Do not
5110 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5111 * INSTALL: Regenerated.
0e7727f7 5112
a78bc654
DM
51132012-02-27 David S. Miller <davem@davemloft.net>
5114
428d5830
DM
5115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5119 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5120 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5121 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5122 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5123
a78bc654
DM
5124 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5125 manipulate bits before adding and subtracting TWO112[sx].
5126 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5127
4579f81c
RM
51282012-02-27 Roland McGrath <roland@hack.frob.com>
5129
36c8acb4
RM
5130 [BZ #13775]
5131 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5132 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5133 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5134 being in POSIX, because they are in 1003.1-2008.
5135
84ad622b
RM
5136 * rt/tst-aio.c: Include <fcntl.h>.
5137 * rt/tst-aio7.c: Likewise.
5138 * rt/tst-aio64.c: Likewise.
5139
4579f81c
RM
5140 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5141
abd923db
JM
51422012-02-27 Joseph Myers <joseph@codesourcery.com>
5143
5144 * manual/install.texi (--with-headers): Describe headers as
5145 interface headers, not private headers.
5146 (Specific advice for GNU/Linux systems): Describe use of headers
5147 from "make headers_install", not private headers from older
5148 kernels.
43be4ca2 5149 * INSTALL: Regenerated.
abd923db
JM
5150 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5151 Change to 2.6.19.
5152 * sysdeps/unix/sysv/linux/configure: Regenerated.
5153
6664049b
JM
5154 * manual/llio.texi (fclean): Remove documentation.
5155
bb8b6697
JM
5156 * manual/Makefile (libc-texi-generated): New variable. Include
5157 version.texi.
5158 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5159 $(libc-texi-generated), not duplicated list of files.
5160 (version.texi, stamp-version): New rules.
5161 (realclean): Remove $(libc-texi-generated), not individual files
5162 from that list. Do not remove dir-add.texinfo.
5163 * manual/libc.texinfo: Comment out uses of edition numbers and
5164 references to printed manual. Remove last-updated dates.
5165 (EDITION): Comment out.
5166 (ISBN): Likewise.
5167 (VERSION, UPDATED): Remove.
5168 (version.texi): Include.
5169
12e5c3b9
AS
51702012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5171
5172 * sysdeps/posix/spawni.c: Include <signal.h>.
5173 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5174 * sysdeps/pthread/aio_fsync.c: Likewise.
5175
4efeffc1 51762012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5177
ba63ba08
UD
5178 * conform/Makefile (tests): Run only when not cross-compiling and
5179 when fast-check is not defined.
5180
d94a4670
UD
5181 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5182 * conform/data/limits.h-data: Fixes for POSIX2008.
5183 * conform/run-conformtest.sh: Run all tests.
5184 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5185 headers.
5186 * include/bits/dlfcn.h: Likewise.
5187 * include/langinfo.h: Likewise.
5188 * include/monetary.h: Likewise.
5189 * include/sys/poll.h: Likewise.
5190
5191 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5192 for __USE_GNU.
5193 * posix/spawn.h: Define __need_sigset_t.
5194 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5195 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5196 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5197 to get sigevent_t only.
5198 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5199 only for __USE_GNU.
5200 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5201 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5202 process_vm_writev only for __USE_GNU.
5203 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5204
5205 * conform/Makefile: For now ignore errors from run-conformtest.
5206 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5207 POSIX to avoid namespace pollution. Don't prepend headers.
5208 * conform/data/aio.h-data: Fixes for POSIX testing.
5209 * conform/data/fcntl.h-data: Likewise.
5210 * conform/data/glob.h-data: Likewise.
5211 * conform/data/grp.h-data: Likewise.
5212 * conform/data/pthread.h-data: Likewise.
5213 * conform/data/pwd.h-data: Likewise.
5214 * conform/data/signal.h-data: Likewise.
5215 * conform/data/spawn.h-data: Likewise.
5216 * conform/data/stdio.h-data: Likewise.
5217 * conform/data/stdlib.h-data: Likewise.
5218 * conform/data/stropts.h-data: Likewise.
5219 * conform/data/sys/mman.h-data: Likewise.
5220 * conform/data/sys/stat.h-data: Likewise.
5221 * conform/data/sys/types.h-data: Likewise.
5222 * conform/data/sys/wait.h-data: Likewise.
5223 * conform/data/time.h-data: Likewise.
5224 * conform/data/unistd.h-data: Likewise.
5225 * conform/data/utime.h-data: Likewise.
5226
5227 * io/sys/stat.h: fchmod was always in POSIX.
5228 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5229 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5230 * rt/aio.h: Define __need_timespec before including <time.h>.
5231 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5232 struct. Add forward declaration of pthread_attr_t and use it in
5233 sigevent.
5234 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5235 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5236 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5237 always remove CLK_TCK definition.
5238
c20105c3
AS
52392012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5240
5241 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5242
7a270350
UD
52432012-02-25 Ulrich Drepper <drepper@gmail.com>
5244
31341567
UD
5245 * conform/run-conformtest.sh: New file.
5246 * conform/Makefile: Run run-conformtest for tests.
5247 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5248 support.
5249
5250 * conform/data/uchar.h-data: New file.
5251 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5252 * conform/data/arpa/inet.h-data: Likewise.
5253 * conform/data/assert.h-data: Likewise.
5254 * conform/data/complex.h-data: Likewise.
5255 * conform/data/cpio.h-data: Likewise.
5256 * conform/data/ctype.h-data: Likewise.
5257 * conform/data/dirent.h-data: Likewise.
5258 * conform/data/dlfcn.h-data: Likewise.
5259 * conform/data/errno.h-data: Likewise.
5260 * conform/data/fcntl.h-data: Likewise.
5261 * conform/data/float.h-data: Likewise.
5262 * conform/data/fmtmsg.h-data: Likewise.
5263 * conform/data/fnmatch.h-data: Likewise.
5264 * conform/data/ftw.h-data: Likewise.
5265 * conform/data/glob.h-data: Likewise.
5266 * conform/data/grp.h-data: Likewise.
5267 * conform/data/iconv.h-data: Likewise.
5268 * conform/data/inttypes.h-data: Likewise.
5269 * conform/data/langinfo.h-data: Likewise.
5270 * conform/data/libgen.h-data: Likewise.
5271 * conform/data/limits.h-data: Likewise.
5272 * conform/data/locale.h-data: Likewise.
5273 * conform/data/math.h-data: Likewise.
5274 * conform/data/monetary.h-data: Likewise.
5275 * conform/data/mqueue.h-data: Likewise.
5276 * conform/data/ndbm.h-data: Likewise.
5277 * conform/data/net/if.h-data: Likewise.
5278 * conform/data/netdb.h-data: Likewise.
5279 * conform/data/netinet/in.h-data: Likewise.
5280 * conform/data/nl_types.h-data: Likewise.
5281 * conform/data/poll.h-data: Likewise.
5282 * conform/data/pthread.h-data: Likewise.
5283 * conform/data/pwd.h-data: Likewise.
5284 * conform/data/regex.h-data: Likewise.
5285 * conform/data/sched.h-data: Likewise.
5286 * conform/data/search.h-data: Likewise.
5287 * conform/data/semaphore.h-data: Likewise.
5288 * conform/data/setjmp.h-data: Likewise.
5289 * conform/data/signal.h-data: Likewise.
5290 * conform/data/spawn.h-data: Likewise.
5291 * conform/data/stdarg.h-data: Likewise.
5292 * conform/data/stdio.h-data: Likewise.
5293 * conform/data/stdlib.h-data: Likewise.
5294 * conform/data/string.h-data: Likewise.
5295 * conform/data/strings.h-data: Likewise.
5296 * conform/data/stropts.h-data: Likewise.
5297 * conform/data/sys/ipc.h-data: Likewise.
5298 * conform/data/sys/mman.h-data: Likewise.
5299 * conform/data/sys/msg.h-data: Likewise.
5300 * conform/data/sys/resource.h-data: Likewise.
5301 * conform/data/sys/select.h-data: Likewise.
5302 * conform/data/sys/sem.h-data: Likewise.
5303 * conform/data/sys/shm.h-data: Likewise.
5304 * conform/data/sys/socket.h-data: Likewise.
5305 * conform/data/sys/stat.h-data: Likewise.
5306 * conform/data/sys/statvfs.h-data: Likewise.
5307 * conform/data/sys/time.h-data: Likewise.
5308 * conform/data/sys/timeb.h-data: Likewise.
5309 * conform/data/sys/times.h-data: Likewise.
5310 * conform/data/sys/types.h-data: Likewise.
5311 * conform/data/sys/uio.h-data: Likewise.
5312 * conform/data/sys/un.h-data: Likewise.
5313 * conform/data/sys/utsname.h-data: Likewise.
5314 * conform/data/sys/wait.h-data: Likewise.
5315 * conform/data/syslog.h-data: Likewise.
5316 * conform/data/tar.h-data: Likewise.
5317 * conform/data/termios.h-data: Likewise.
5318 * conform/data/utime.h-data: Likewise.
5319 * conform/data/utmpx.h-data: Likewise.
5320 * conform/data/varargs.h-data: Likewise.
5321 * conform/data/wchar.h-data: Likewise.
5322 * conform/data/wctype.h-data: Likewise.
5323 * conform/data/wordexp.h-data: Likewise.
5324
5325 * include/stropts.h: New file.
5326 * include/uchar.h: New file.
5327 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5328 * include/assert.h: Likewise.
5329 * include/ctype.h: Likewise.
5330 * include/dirent.h: Likewise.
5331 * include/dlfcn.h: Likewise.
5332 * include/fcntl.h: Likewise.
5333 * include/fnmatch.h: Likewise.
5334 * include/glob.h: Likewise.
5335 * include/grp.h: Likewise.
5336 * include/libio.h: Likewise.
5337 * include/locale.h: Likewise.
5338 * include/math.h: Likewise.
5339 * include/net/if.h: Likewise.
5340 * include/netdb.h: Likewise.
5341 * include/netinet/in.h: Likewise.
5342 * include/pthread.h: Likewise.
5343 * include/pwd.h: Likewise.
5344 * include/regex.h: Likewise.
5345 * include/sched.h: Likewise.
5346 * include/search.h: Likewise.
5347 * include/setjmp.h: Likewise.
5348 * include/signal.h: Likewise.
5349 * include/stdio.h: Likewise.
5350 * include/stdlib.h: Likewise.
5351 * include/string.h: Likewise.
5352 * include/sys/cdefs.h: Likewise.
5353 * include/sys/mman.h: Likewise.
5354 * include/sys/msg.h: Likewise.
5355 * include/sys/resource.h: Likewise.
5356 * include/sys/select.h: Likewise.
5357 * include/sys/socket.h: Likewise.
5358 * include/sys/stat.h: Likewise.
5359 * include/sys/statvfs.h: Likewise.
5360 * include/sys/time.h: Likewise.
5361 * include/sys/times.h: Likewise.
5362 * include/sys/uio.h: Likewise.
5363 * include/sys/utsname.h: Likewise.
5364 * include/sys/wait.h: Likewise.
5365 * include/termios.h: Likewise.
5366 * include/time.h: Likewise.
5367 * include/ulimit.h: Likewise.
5368 * include/unistd.h: Likewise.
5369 * include/utime.h: Likewise.
5370 * include/wchar.h: Likewise.
5371 * include/wctype.h: Likewise.
5372 * include/wordexp.h: Likewise.
5373
5374 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5375
7a270350
UD
5376 * time/time.h: TIME_UTC must be a macro.
5377 Make timespec_get available for ISO C11 only as well.
5378
7724defc
UD
53792012-02-24 Ulrich Drepper <drepper@gmail.com>
5380
5381 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5382 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5383
6b1d1d46
JM
53842012-02-24 Joseph Myers <joseph@codesourcery.com>
5385
5386 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5387
0f8bbd69
JM
53882012-02-24 Joseph Myers <joseph@codesourcery.com>
5389
5390 * manual/texinfo.tex: Update to version 2012-01-19.16.
5391
66ab80bc
JM
53922012-02-24 Joseph Myers <joseph@codesourcery.com>
5393
5394 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5395
74981cc5
RM
53962012-02-24 Roland McGrath <roland@hack.frob.com>
5397
ee968201
RM
5398 [BZ #13738]
5399 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5400 * manual/fdl-1.3.texi: New file.
5401 * manual/fdl-1.1.texi: File removed.
5402
74981cc5
RM
5403 [BZ #13738]
5404 * manual/libc.texinfo (FDL_VERSION): New @set.
5405 Use it for mention of FDL in cover text.
5406 (Documentation License): Use it in @include file name.
5407
7bb764bc
JM
54082012-02-22 Joseph Myers <joseph@codesourcery.com>
5409 Roland McGrath <roland@hack.frob.com>
5410
5411 [BZ #5461]
5412 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5413 not LONG_LONG_MAX and LONG_LONG_MIN.
5414 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5415 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5416 name.
5417 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5418
6cbeae47
JM
54192012-02-22 Joseph Myers <joseph@codesourcery.com>
5420
5421 [BZ #2547]
5422 [BZ #11365]
5423 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5424 manipulate bits before adding and subtracting TWO23[sx].
5425 * math/libm-test.inc (nearbyint_test): Add more tests.
5426
fe45ce09
JM
54272012-02-22 Joseph Myers <joseph@codesourcery.com>
5428
5429 [BZ #2548]
5430 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5431 bits before adding and subtracting TWO23[sx].
5432 * math/libm-test.inc (rint_test): Add more tests.
5433 (rint_test_tonearest): Likewise.
5434 (rint_test_towardzero): Likewise.
5435 (rint_test_downward): Likewise.
5436 (rint_test_upward: Likewise.
5437
ff3b3d82
JM
54382012-02-22 Joseph Myers <joseph@codesourcery.com>
5439
5440 [BZ #10110]
5441 * include/stdc-predef.h: New file. Extracted from features.h.
5442 * include/features.h: Include stdc-predef.h.
5443 * Makefile (headers): Add stdc-predef.h.
5444 * CONFORMANCE (Compiler limitations): Update.
5445
ef0aab35
JM
54462012-02-22 Joseph Myers <joseph@codesourcery.com>
5447
5448 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5449
58639409
DM
54502012-02-21 David S. Miller <davem@davemloft.net>
5451
5452 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5453 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5454
c0e70b25
DM
54552012-02-20 David S. Miller <davem@davemloft.net>
5456
5457 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5458 using a normal save/restore sequence, rather than allocating a
5459 dummy stack frame just to store a frame pointer and restore.
5460 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5461
fb06851d
JM
54622012-02-21 Joseph Myers <joseph@codesourcery.com>
5463
5464 * manual/install.texi: Fix stray word in line-wrapped comment.
5465
7a8b71c3
DM
54662012-02-20 David S. Miller <davem@davemloft.net>
5467
d510c123
DM
5468 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5469 both binutils and gcc support GOTDATA.
5470
0722d7c2
DM
5471 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5472 "rd %pc" in the PIC register setup sequences.
5473
3d2b3019
DM
5474 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5475 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5476 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5477 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5478 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5479 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5480 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5481 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5483 (SYSCALL_ERROR_HANDLER): Likewise.
5484 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5485 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5487 (SYSCALL_ERROR_HANDLER): Likewise.
5488
c80098a9
DM
5489 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5490 (HAVE_GCC_GOTDATA): New.
5491 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5492 relocation support in both binutils and gcc.
5493 * sysdeps/sparc/elf/configure: Regenerate.
5494
3a2545a0
DM
5495 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5496 * sysdeps/sparc/sparc32/elf/configure: Delete.
5497 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5498 * sysdeps/sparc/sparc64/elf/configure: Delete.
5499 * sysdeps/sparc/elf/configure.in: New file.
5500 * sysdeps/sparc/elf/configure: Generate.
5501
7a8b71c3
DM
5502 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5503 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5504 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5505 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5506 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5507
f1e86fca
JM
55082012-02-21 Joseph Myers <joseph@codesourcery.com>
5509
5510 * manual/install.texi: Do not mention specific glibc version
5511 numbers.
5512 * manual/libc.texinfo (VERSION, UPDATED): Update.
5513 (@copying): Use @copyright{} and range of years.
5514
0e7dfaef
JM
55152012-02-21 Joseph Myers <joseph@codesourcery.com>
5516
5517 [BZ #13695]
5518 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5519 [crti.S not in sysdirs] (generated): Do not append.
5520 [crti.S not in sysdirs] (omit-deps): Likewise.
5521 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5522 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5523 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5524 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5525 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5526 Likewise.
5527 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5528 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5529 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5530 * csu/defs.awk: Remove file.
5531 * sysdeps/generic/initfini.c: Likewise.
5532 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5533 variable.
5534 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5535 Likewise.
5536
599af3ca
JM
55372012-02-20 Joseph Myers <joseph@codesourcery.com>
5538
5539 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5540 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5541 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5542 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5543 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5544 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5545 <bits/epoll.h>.
5546 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5547 (__EPOLL_PACKED): Define to empty if not defined by
5548 <bits/epoll.h>.
5549 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5551 bits/epoll.h.
5552
0e499750
JM
55532012-02-20 Joseph Myers <joseph@codesourcery.com>
5554
5555 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5556 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5557 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5558 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5559 <bits/timerfd.h>.
5560 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5562 bits/timerfd.h.
5563
5ad91f6e
JM
55642012-02-20 Joseph Myers <joseph@codesourcery.com>
5565
5566 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5567 in C locale.
5568 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5569 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5570 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5572
06b99b02
AJ
55732012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5574
5575 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5576 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5577
7638c0fd
AS
55782012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5579
5580 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5581 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5582 defined.
5583 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5584 Likewise.
5585 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5586 entry for 2.16.
5587
92221550
AJ
55882012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5589
5590 * math/w_acos.c: Use non-signaling floating-point comparisons.
5591 * math/w_acosf.c: Likewise.
5592 * math/w_acosh.c: Likewise.
5593 * math/w_acoshf.c: Likewise.
5594 * math/w_acoshl.c: Likewise.
5595 * math/w_acosl.c: Likewise.
5596 * math/w_asin.c: Likewise.
5597 * math/w_asinf.c: Likewise.
5598 * math/w_asinl.c: Likewise.
5599 * math/w_atanh.c: Likewise.
5600 * math/w_atanhf.c: Likewise.
5601 * math/w_atanhl.c: Likewise.
5602 * math/w_exp2.c: Likewise.
5603 * math/w_exp2f.c: Likewise.
5604 * math/w_exp2l.c: Likewise.
5605 * math/w_j0.c: Likewise.
5606 * math/w_j0f.c: Likewise.
5607 * math/w_j0l.c: Likewise.
5608 * math/w_j1.c: Likewise.
5609 * math/w_j1f.c: Likewise.
5610 * math/w_j1l.c: Likewise.
5611 * math/w_jn.c: Likewise.
5612 * math/w_jnf.c: Likewise.
5613 * math/w_log.c: Likewise.
5614 * math/w_log10.c: Likewise.
5615 * math/w_log10f.c: Likewise.
5616 * math/w_log10l.c: Likewise.
5617 * math/w_log2.c: Likewise.
5618 * math/w_log2f.c: Likewise.
5619 * math/w_log2l.c: Likewise.
5620 * math/w_logf.c: Likewise.
5621 * math/w_logl.c: Likewise.
5622 * math/w_sqrt.c: Likewise.
5623 * math/w_sqrtf.c: Likewise.
5624 * math/w_sqrtl.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5626 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5627 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5628 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5629 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5630
ebaf36eb
JM
56312012-02-19 Joseph Myers <joseph@codesourcery.com>
5632
5633 [BZ #9739]
5634 * manual/string.texi (strnlen): Use correct parameter name in
5635 equivalent expression.
5636
71c254a6
JM
56372012-02-19 Joseph Myers <joseph@codesourcery.com>
5638
5639 [BZ #11174]
5640 * manual/users.texi (seteuid): Consistently use neweuid for
5641 argument name.
5642
16d2c631
JM
56432012-02-19 Joseph Myers <joseph@codesourcery.com>
5644
5645 [BZ #13704]
5646 * manual/nss.texi (Services in the NSS configuration): Correct
5647 list of services in example configuration file.
5648
cd837b09
NB
56492012-02-19 Nick Bowler <nbowler@draconx.ca>
5650
5651 [BZ #11322]
5652 * manual/arith.texi: Remove statements about negative zero
5653 behaving identically to zero.
5654
02c4bbad
JM
56552012-02-18 Joseph Myers <joseph@codesourcery.com>
5656
5657 [BZ #5993]
5658 * manual/install.texi: Do not document upgrading from libc5.
5659
366842e7
JM
56602012-02-18 Joseph Myers <joseph@codesourcery.com>
5661
5662 [BZ #4596]
5663 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5664
dd54084d
DM
56652012-02-18 David S. Miller <davem@davemloft.net>
5666
5667 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5668 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5669 %o7 across the call.
5670 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5671 instead.
5672 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5673 SETUP_PIC_REG_LEAF.
5674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5675 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5676 * sysdeps/sparc/crtn.S: Likewise.
5677
2bcc53a3
UD
56782012-02-17 Ulrich Drepper <drepper@gmail.com>
5679
5680 * aout/Makefile: Remove.
5681
09c093b5
RK
56822012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5683
5684 [BZ #13058]
5685 * manual/examples/argp-ex1.c (main): Format definition in GNU
5686 style.
5687 * manual/examples/argp-ex2.c (main): Likewise.
5688 * manual/examples/argp-ex3.c (main): Likewise.
5689 * manual/examples/argp-ex4.c (main): Likewise.
5690 * manual/examples/longopt.c (main): Use new-style prototype
5691 definition.
5692 * manual/examples/strncat.c (main): Specify return type and use
5693 (void) for arguments.
5694 * manual/examples/subopt.c (main): Use char **argv argument.
5695
2ee633a2
JM
56962012-02-17 Joseph Myers <joseph@codesourcery.com>
5697
5698 [BZ #5077]
5699 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5700 rounding modes.
5701
0520adde
FB
57022012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5703
5704 [BZ #6907]
5705 * manual/string.texi (strchr): Change when strchrnul is
5706 recommended.
5707
3f4081cd
DGM
57082012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5709
5710 [BZ #174]
5711 * manual/locale.texi (setlocale): Document LOCPATH.
5712
d1b10e78
JM
57132012-02-17 Joseph Myers <joseph@codesourcery.com>
5714
5715 [BZ #10210]
5716 * manual/process.texi (execle): Move @dots{} before last argument.
5717
79c6869c
PB
57182012-02-17 Paul Bolle <pebolle@tiscali.nl>
5719
5720 [BZ #12047]
5721 * manual/charset.texi (Generic Charset Conversion): Fix typo
5722 (LC_TYPE -> LC_CTYPE).
5723
cc6e48bc
NB
57242012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5725
5726 [BZ #5805]
5727 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5728 (scalbnf): Likewise.
5729 (scalbnl): Likewise.
5730 (scalbln): Likewise.
5731 (scalblnf): Likewise.
5732 (scalblnl): Likewise.
5733 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5734 (vwarnx): Likewise.
5735 (verr): Likewise.
5736 (verrx): Likewise.
5737 * manual/filesys.texi (telldir): Use braces around return type.
5738 * manual/llio.texi (mmap): Add space after comma.
5739 (mmap64): Likewise.
5740 * manual/math.texi (jn): Use @var{} on parameter names.
5741 (jnf): Likewise.
5742 (jnl): Likewise.
5743 (yn): Likewise.
5744 (ynf): Likewise.
5745 (ynl): Likewise.
5746 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5747 line.
5748 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5749 "...".
5750 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5751 (sched_get_priority_max): Likewise.
5752 * manual/signal.texi (sigvec): Add space after comma.
5753 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5754 names.
5755 (if_indextoname): Likewise.
5756 (if_freenameindex): Likewise.
5757 (sendto): Use ',' instead of '.' in prototype.
5758 * manual/startup.texi (syscall): Use @dots{} instead of literal
5759 "...".
5760 * manual/stdio.texi (__fpending): Separate initial words of
5761 paragraph from @deftypefun line.
5762 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5763 "...".
5764 (vsyslog): Use @var{} on parameter names.
5765 * manual/terminal.texi (stty): Use @var{} on parameter names.
5766 * manual/users.texi (getutmp): Use @var{} on parameter names.
5767 (getutmpx): Likewise.
5768
5b23062f
JM
57692012-02-17 Joseph Myers <joseph@codesourcery.com>
5770
5771 [BZ #6884]
5772 * manual/stdio.texi (fopen): Fix typos in description of
5773 ",ccs=STRING".
5774
8dee4833
AJ
57752012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5776
5777 [BZ #4026]
5778 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5779 get clock_id definition.
5780
9078ce93
TS
57812012-02-17 Thomas Schwinge <thomas@schwinge.name>
5782
5783 [BZ #4822]
5784 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5785 (madvise): Cast every argument to void on its own.
5786
3835c55f
JM
57872012-02-17 Joseph Myers <joseph@codesourcery.com>
5788
5789 [BZ #9902]
5790 * manual/startup.texi (Exit Status): Fix typo.
5791
35c47e37
JM
57922012-02-17 Joseph Myers <joseph@codesourcery.com>
5793
5794 [BZ #10140]
5795 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5796 * manual/examples/argp-ex2.c: Likewise.
5797 * manual/examples/argp-ex3.c: Likewise.
5798
e3b69ca7
RH
57992012-02-16 Richard Henderson <rth@redhat.com>
5800
5801 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5802 * sysdeps/s390/s390-32/initfini.c: Remove.
5803 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5804 * sysdeps/s390/s390-64/initfini.c: Remove.
5805
df83af67
KK
58062012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5807
5808 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5809 compiler output for sysdeps/generic/initfini.c.
5810 * sysdeps/sh/elf/initfini.c: Remove file.
5811
f63f3380
DM
58122012-02-16 David S. Miller <davem@davemloft.net>
5813
fb59b3a4
DM
5814 [BZ #11494]
5815 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5816
f63f3380
DM
5817 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5818 * sysdeps/sparc/crti.S: New file.
5819 * sysdeps/sparc/crtn.S: New file.
5820 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5821 * sysdeps/sparc/sparc64/Makefile: Likewise.
5822
df6a4a4a
MF
58232012-02-15 Mike Frysinger <vapier@gentoo.org>
5824
6dd8f3dc 5825 [BZ #3335]
df6a4a4a
MF
5826 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5827
1cac7236
RM
58282012-02-15 Roland McGrath <roland@hack.frob.com>
5829
d2c736f8
RM
5830 [BZ #4822]
5831 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5832
1cac7236
RM
5833 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5834 (write, read, close): Likewise.
5835 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5836
8e475601
JM
58372012-02-15 Joseph Myers <joseph@codesourcery.com>
5838
5839 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5840 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5841 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5842 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5843 <bits/signalfd.h>.
5844 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5846 bits/signalfd.h.
5847
ed656b40
MP
58482012-02-14 Marek Polacek <polacek@redhat.com>
5849
5850 * sysdeps/x86_64/crti.S: New file.
5851 * sysdeps/x86_64/crtn.S: New file.
5852 * sysdeps/x86_64/elf/initfini.c: Remove file.
5853
2a979d3a
JM
58542012-02-13 Joseph Myers <joseph@codesourcery.com>
5855
5856 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5857 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5858 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5859 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5860 <bits/inotify.h>.
5861 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5863 bits/inotify.h.
5864
2a418ac3
JM
58652012-02-13 Joseph Myers <joseph@codesourcery.com>
5866
5867 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5868 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5869 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5870 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5871 <bits/eventfd.h>.
5872 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5874 bits/eventfd.h.
5875
fb779be7
TS
58762012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5877
e19e83c5
RM
5878 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5879 __feraiseexcept instead of feraiseexcept.
7c35ffed 5880
fb779be7
TS
5881 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5882 nanosleep invocations.
5883 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5884 strings, and add error checking for a nanosleep invocations.
5885
59ba27a6
PE
58862012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5887
5888 Replace FSF snail mail address with URLs, as per GNU coding standards.
5889 Most of the snail mail addresses were wrong anyway, and omitting
5890 them makes the source code easier to maintain. Almost all of the
5891 changes are to license notices and to locale LC_IDENTIFICATION
5892 addresses, except for this one:
5893 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5894 not its snail mail address.
5895
57b957eb
RH
58962012-02-09 Richard Henderson <rth@twiddle.net>
5897
af850b1c
RH
5898 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5899 of kernel-features.h.
5900
57b957eb
RH
5901 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5902
6b73181a
MP
59032012-02-08 Marek Polacek <polacek@redhat.com>
5904
5905 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5906 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5907 * sysdeps/gnu/_G_config.h: Likewise.
5908 * sysdeps/generic/_G_config.h: Likewise.
5909
26ecc33a
AS
59102012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5911
6c6dbc63
AS
5912 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5913 tests.
5914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5915
e216c012
AS
5916 * sysdeps/powerpc/powerpc32/crti.S: New file.
5917 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5918 * sysdeps/powerpc/powerpc64/crti.S: New file.
5919 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5920
26ecc33a
AS
5921 * Makeconfig (have-initfini): Don't set.
5922 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5923 * configure.in (nopic_initfini): Don't substitute.
5924 * config.h.in (HAVE_INITFINI): Don't #undef.
5925 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5926 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5927
3add8e13
JM
59282012-02-08 Joseph Myers <joseph@codesourcery.com>
5929
5930 Support crti.S and crtn.S provided directly by architectures.
5931 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5932 [crti.S in sysdirs] (omit-deps): Likewise.
5933 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5934 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5935 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5936 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5937 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5938 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5939 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5940 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5941 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5942 compiler output for sysdeps/generic/initfini.c.
5943 * sysdeps/i386/elf/Makefile: Remove file.
5944 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5945
a22f12b4
MP
59462012-02-07 Marek Polacek <polacek@redhat.com>
5947
5948 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5949 * sysdeps/gnu/_G_config.h: Likewise.
5950 * sysdeps/mach/hurd/_G_config.h: Likewise.
5951
148cf100
MP
59522012-02-07 Marek Polacek <polacek@redhat.com>
5953
5954 * math/Makefile (tests): Add tst-CMPLX2.
5955 * math/tst-CMPLX2.c: New file.
5956
cfdc0dd7
AS
59572012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5958
84ba42c4
AS
5959 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5960
cfdc0dd7
AS
5961 * math/libm-test.inc (jn_test): Add missing L suffix.
5962
622c86f4
MP
59632012-02-06 Marek Polacek <polacek@redhat.com>
5964
5965 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5966 * sysdeps/i386/fpu/e_powf.S: Likewise.
5967 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5968 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5969 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5970 * sysdeps/i386/fpu/e_pow.S: Likewise.
5971 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5972 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5973 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5974 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5975 * sysdeps/i386/fpu/e_log2.S: Likewise.
5976 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5977 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5978 * sysdeps/i386/fpu/e_powl.S: Likewise.
5979 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5980 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5981 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5982 * sysdeps/i386/fpu/e_logl.S: Likewise.
5983 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5984 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5985 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5986 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5987 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5988 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5989 * sysdeps/i386/fpu/e_log.S: Likewise.
5990 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5991 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5992 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5993 * sysdeps/i386/fpu/e_logf.S: Likewise.
5994 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5995 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5996 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5997 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5998 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5999 * sysdeps/i386/fpu/e_log10.S: Likewise.
6000 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6001 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6002 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6003 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6004 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6005 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6006 * sysdeps/i386/asm-syntax.h: Likewise.
6007 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6008 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6009 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6010 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6011 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6012 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6013 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6014 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6015 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6016 * sysdeps/powerpc/sysdep.h: Likewise.
6017 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6018 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6019
d4a54ac6
JM
60202012-02-06 Joseph Myers <joseph@codesourcery.com>
6021
6022 [BZ #411]
6023 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6024
314054ea
JM
60252012-02-06 Joseph Myers <joseph@codesourcery.com>
6026
6027 * sysdeps/i386/sysdep.h: Include <features.h>.
6028 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6029 version.
6030
d8e0ca50
JM
60312012-02-05 Joseph Myers <joseph@codesourcery.com>
6032
6033 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6034 Define.
6035 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6036 LOAD_PIC_REG_STR.
6037
b1da7dd9
JM
60382012-02-03 Joseph Myers <joseph@codesourcery.com>
6039
6040 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6041 (SETUP_PIC_REG): Use GET_PC_THUNK.
6042 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6043 macro.
6044
9a1d9254
JM
60452012-02-03 Joseph Myers <joseph@codesourcery.com>
6046
6047 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6048 for non-PIC compilation.
6049 (SETUP_PIC_REG): Add .p2align directive.
6050 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6051 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6052 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6053 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6054 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6055 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6056 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6057 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6058 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6059 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6060 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6061 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6062 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6063 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6064 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6065 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6066 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6067 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6068 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6069 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6070 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6071 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6072 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6073 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6074 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6076 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6077 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6078 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6079 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6080 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6081 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6082 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6083 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6084 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6085 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6086 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6087 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6088 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6089 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6090 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6091
65dc3b75
JM
60922012-02-03 Joseph Myers <joseph@codesourcery.com>
6093
6094 * math/tst-CMPLX.c: Include <stdio.h>.
6095
d55bf177
JM
60962012-01-31 Joseph Myers <joseph@codesourcery.com>
6097
6098 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6099 float.
6100 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6101 * sysdeps/sparc/bits/mathdef.h: Likewise.
6102
69db4f8f
MP
61032012-01-31 Marek Polacek <polacek@redhat.com>
6104
6105 * libio/libio.h: Don't define _PARAMS.
6106 * locale/programs/config.h: Don't define PARAMS.
6107 * stdlib/strtol_l.c: Likewise.
6108 (__strtol_l): Remove PARAMS from the prototype.
6109
41b81892
UD
61102012-01-31 Ulrich Drepper <drepper@gmail.com>
6111
3b49edc0
UD
6112 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6113 names. Just use the correct names. Remove unnecessary wrapper
6114 functions.
6115 * malloc/arena.c: Likewise.
6116 * malloc/hooks.c: Likewise.
6117
41b81892
UD
6118 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6119 ARENA_TEST says not to. Simplify test for creation of a new arena.
6120 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6121
27a25b6e
UD
61222012-01-30 Ulrich Drepper <drepper@gmail.com>
6123
6124 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6125 into tail calls.
6126 (update_get_addr): New function.
6127 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6128 GET_ADDR_MODULE parameter.
6129
c8a89e7d
JM
61302012-01-30 Joseph Myers <joseph@codesourcery.com>
6131
6132 * crypt/cert.c: Remove __STDC__ conditionals.
6133 * crypt/crypt-entry.c: Likewise.
6134 * crypt/crypt_util.c: Likewise.
6135 * libio/filedoalloc.c: Likewise.
6136 * libio/fileops.c: Likewise.
6137 * libio/genops.c: Likewise.
6138 * libio/iofclose.c: Likewise.
6139 * libio/iofdopen.c: Likewise.
6140 * libio/iofopen.c: Likewise.
6141 * libio/iofopen64.c: Likewise.
6142 * libio/iogetdelim.c: Likewise.
6143 * libio/iopopen.c: Likewise.
6144 * libio/obprintf.c: Likewise.
6145 * libio/oldfileops.c: Likewise.
6146 * libio/oldiofclose.c: Likewise.
6147 * libio/oldiofdopen.c: Likewise.
6148 * libio/oldiofopen.c: Likewise.
6149 * libio/oldiopopen.c: Likewise.
6150 * libio/wfiledoalloc.c: Likewise.
6151 * libio/wgenops.c: Likewise.
6152 * locale/programs/xmalloc.c: Likewise.
6153 * misc/syslog.c: Likewise.
6154 * stdio-common/xbug.c: Likewise.
6155 * string/memchr.c: Likewise.
6156 * string/memcmp.c: Likewise.
6157 * string/memrchr.c: Likewise.
6158 * string/rawmemchr.c: Likewise.
6159 * sysdeps/posix/getcwd.c: Likewise.
6160 * time/strftime_l.c: Likewise.
6161
3b100462
JM
61622012-01-30 Joseph Myers <joseph@codesourcery.com>
6163
6164 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6165 * config.make.in (config-cflags-sse2avx): Define.
6166 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6167 Fix typo.
6168
607998af
CM
61692012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6170
6171 * scripts/config.guess: Update from upstream config git repository.
6172 * scripts/config.sub: Likewise.
6173
3601428f
CM
61742012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6175
3ac8b282
CM
6176 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6177 (EM_NUM): Update.
6178 (R_TILEPRO_*, R_TILEGX_*): New macros.
6179
e034841e
CM
6180 * scripts/firstversions.awk: Fix bug in version range handling.
6181
540d7568
CM
6182 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6183
3601428f
CM
6184 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6185
463de862
CM
6186 * include/sys/epoll.h: New file.
6187 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6188 libc_hidden_def.
6189
73139a76
UD
61902012-01-28 Ulrich Drepper <drepper@gmail.com>
6191
96bc5b45
UD
6192 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6193 Avoid unnecessary __WORDSIZE == 64 test.
6194 (fmaxf): Use VEX format if possible.
6195 (fmax): Likewise.
6196 (fminf): Likewise.
6197 (fmin): Likewise.
6198
56f6f6a2
UD
6199 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6200 * math/math_private.h: Remove libc_fegetround* and
6201 libc_fesetround*.
6202 * sysdeps/i386/configure.in: Check for -msse2avx.
6203 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6204 also if SSE2AVX is defined.
6205 Remove libc_fegetround* and libc_fesetround*.
6206 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6207 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6208 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6209 of HAS_YMM_USABLE.
6210 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6211 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6212 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6213 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6214 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6215
73139a76
UD
6216 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6217
d73f93a4
AZ
62182012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6219
6220 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6221 size is not set.
6222 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6223
6ee65ed6
UD
62242012-01-27 Ulrich Drepper <drepper@gmail.com>
6225
6226 [BZ #13618]
6227 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6228 relocation.
6229 * Makeconfig (libm): Define.
6230 * elf/Makefile: Add rules to build and run tst-relsort1.
6231 * elf/tst-relsort1.c: New file.
6232 * elf/tst-relsort1mod1.c: New file.
6233 * elf/tst-relsort1mod2.c: New file.
6234
8db21882
JM
62352012-01-27 Joseph Myers <joseph@codesourcery.com>
6236
6237 * math/s_ldexp.c: Remove __STDC__ conditionals.
6238 * math/s_ldexpf.c: Likewise.
6239 * math/s_ldexpl.c: Likewise.
6240 * math/s_nextafter.c: Likewise.
6241 * math/s_nexttowardf.c: Likewise.
6242 * math/s_significand.c: Likewise.
6243 * math/s_significandf.c: Likewise.
6244 * math/s_significandl.c: Likewise.
6245 * math/w_jnl.c: Likewise.
6246 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6247 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6248 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6249 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6250 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6251 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6252 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6253 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6254 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6255 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6256 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6257 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6258 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6259 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6260 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6261 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6262 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6263 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6264 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6265 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6266 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6267 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6268 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6269 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6270 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6271 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6272 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6273 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6274 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6275 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6276 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6277 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6278 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6279 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6280 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6281 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6282 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6283 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6284 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6285 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6286 * sysdeps/ieee754/k_standard.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6290 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6292 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6296 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6297 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6298 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6348 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6353 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6361 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6362 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6366 * sysdeps/ieee754/s_matherr.c: Likewise.
6367 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6368 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6370 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6371
965a54a4
JM
63722012-01-26 Joseph Myers <joseph@codesourcery.com>
6373
6374 * crypt/md5.h: Remove __STDC__ conditionals.
6375 * libio/libioP.h: Likewise.
6376 * locale/programs/config.h: Likewise.
6377 * sysdeps/generic/sysdep.h: Likewise.
6378 * sysdeps/i386/asm-syntax.h: Likewise.
6379 * sysdeps/s390/asm-syntax.h: Likewise.
6380 * sysdeps/unix/sysdep.h: Likewise.
6381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6383
7071ad79
JM
63842012-01-26 Joseph Myers <joseph@codesourcery.com>
6385
6386 * libio/libio.h: Remove __STDC__ conditionals.
6387 * malloc/obstack.h: Likewise.
6388 * math/complex.h: Likewise.
6389 * math/math.h: Likewise.
6390 * sysdeps/generic/_G_config.h: Likewise.
6391 * sysdeps/gnu/_G_config.h: Likewise.
6392 * sysdeps/mach/hurd/_G_config.h: Likewise.
6393 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6394 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6395 * sysdeps/sparc/bits/mathdef.h: Likewise.
6396
afc5ed09
UD
63972012-01-26 Ulrich Drepper <drepper@gmail.com>
6398
6399 [BZ #13583]
6400 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6401 Clean up HAS_* macros.
afc5ed09 6402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6403 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6404 possible.
6405 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6406 HAS_AVX.
6407 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6408 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6409 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6410 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6411 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6412
bdb6de1d
JM
64132012-01-25 Joseph Myers <joseph@codesourcery.com>
6414
6415 * elf/tst-unique3.cc (gets): Remove declaration.
6416 * elf/tst-unique3lib.cc (gets): Likewise.
6417 * elf/tst-unique3lib2.cc (gets): Likewise.
6418 * elf/tst-unique4.cc (gets): Likewise.
6419
b15549e6
UD
64202012-01-24 Ulrich Drepper <drepper@gmail.com>
6421
6422 * include/stdio.h: Add C++ protection. Add gets declarations and
6423 definitions.
6424 * debug/tst-chk1.c: Don't declare gets here.
6425 * stdio-common/tst-gets.c: Likewise.
6426
a037381f
JM
64272012-01-24 Joseph Myers <joseph@codesourcery.com>
6428
6429 * posix/glob: Remove directory.
6430
f1d4aa75
JM
64312012-01-24 Joseph Myers <joseph@codesourcery.com>
6432
6433 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6434
81c0c964
PT
64352012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6436
6437 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6438 of the non-standard EPFNOSUPPORT.
6439
0ea698ae
ST
64402011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6441
6442 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6443 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6444 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6445
d220b117
UD
64462012-01-21 Ulrich Drepper <drepper@gmail.com>
6447
6448 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6449
3e1aa84e
UD
64502012-01-20 Ulrich Drepper <drepper@gmail.com>
6451
6452 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6453 transient errors.
6454 * nscd/grpcache.c (cache_addgr): Likewise.
6455 * nscd/hstcache.c (cache_addhst): Likewise.
6456 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6457 * nscd/pwdcache.c (cache_addpw): Likewise.
6458 * nscd/servicescache.c (cache_addserv): Likewise.
6459
400aa020
UD
64602012-01-16 Ulrich Drepper <drepper@gmail.com>
6461
d77e7869
UD
6462 * malloc/malloc.c: Various cleanups.
6463 * malloc/hooks.c: Likewise.
6464
400aa020
UD
6465 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6466 * stdlib/bug-fmtmsg1.c: New file.
6467
6468 * stdlib/fmtmsg.c (init): Add missing unlock.
6469 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6470
e0a309cf
MP
64712012-01-12 Marek Polacek <polacek@redhat.com>
6472
6473 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6474 and _GNU_SOURCE.
6475
929d11c7
WS
64762012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6477
6478 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6479 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6480 macro to ensure uniqueness of label name.
6481 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6482 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6483
41d0e869
UD
64842012-01-11 Ulrich Drepper <drepper@gmail.com>
6485
0cc5ed3b
UD
6486 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6487
41d0e869
UD
6488 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6489 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6490 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6491 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6492
a47a831a
UD
64932012-01-10 Ulrich Drepper <drepper@gmail.com>
6494
daa891c0
UD
6495 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6496
6497 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6498 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6499 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6500
e58ef0f2
UD
6501 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6502
a47a831a 6503 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6504 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6505 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6506 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6507
6508 * math/bits/math-finite.h: Add ldexp support.
6509
a0bfc9c7
MP
65102012-01-10 Marek Polacek <polacek@redhat.com>
6511
6512 * locale/programs/localedef.h (show_archive_content): Add noreturn
6513 attribute.
6514
d6e97a1d
UD
65152012-01-09 Ulrich Drepper <drepper@gmail.com>
6516
6517 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6518
d5835c26
UD
65192012-01-08 Ulrich Drepper <drepper@gmail.com>
6520
e5f484c6
UD
6521 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6522
d5835c26
UD
6523 * io/Makefile (headers): Add bits/poll2.h.
6524
d1f741e9
WS
65252011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6526
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6528 typo #include statement.
6529
ec09c1c4
UD
65302012-01-08 Ulrich Drepper <drepper@gmail.com>
6531
6532 * include/sys/cdefs.h: Define __attribute_alloc_size.
6533 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6534 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6535 * elf/pldd.c: Likewise.
6536 * iconv/iconv_charmap.c: Likewise.
6537 * iconv/iconvconfig.c: Likewise.
6538 * iconv/strtab.c: Likewise.
6539 * locale/programs/locale.c: Likewise.
6540 * locale/programs/localedef.h: Likewise.
6541 * locale/programs/simple-hash.c: Likewise.
6542 * nscd/nscd.h: Likewise.
6543 * nss/makedb.c: Likewise.
6544 * sysdeps/generic/ldconfig.h: Likewise.
6545 * locale/programs/localedef.c: Remove xmalloc prototype.
6546 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6547
20b38e03
PP
65482012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6549
6550 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6551 appropriate.
6552
a0da5fe1
UD
65532012-01-08 Ulrich Drepper <drepper@gmail.com>
6554
1d5a644a 6555 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6556 * math/tst-CMPLX.c: New file.
1d5a644a 6557
8784a6db
UD
6558 * math/complex.h (CMPLXL): Fix typo.
6559
d9a216c0
UD
6560 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6561 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6562 GLIBC_2.16.
6563 * debug/tst-chk1.c: Add poll and ppoll tests.
6564 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6565 * include/sys/poll.h: Add hidden proto for ppoll.
6566 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6567 * sysdeps/mach/hurd/ppoll.c: Likewise.
6568 * io/ppoll.c: Likewise.
6569 * debug/poll_chk.c: New file.
6570 * debug/ppoll_chk.c: New file.
6571 * include/bits/poll2.h: New file.
6572 * io/bits/poll2.h: New file.
6573
ac097f5c
UD
6574 [BZ #1350]
6575 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6576
2119dcfa
UD
6577 * configure.in: static is always set to yes. Remove.
6578 * config.make.in: Don't set build-static.
6579 * Makeconfig: Remove use of build-static.
6580 * dlfcn/Makefile: Likewise.
6581 * elf/Makefile: Likewise.
6582 * math/Makefile: Likewise.
6583 * misc/Makefile: Likewise.
6584 * nptl/Makefile: Likewise.
6585 * sysdeps/mach/hurd/Makefile: Likewise.
6586
121766a9
UD
6587 * configure.in: PWD_P is not used anymore.
6588 * config.make.in: Remove PWD_P entry.
6589
51a1d39c 6590 * configure.in: Remove last remnants of RANLIB.
8720d066 6591 No need to check for signed size_t anymore.
215f4bdc
UD
6592 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6593 and IA-64.
3857022a 6594 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6595 * aclocal.m4: Likewise.
6596
d3ed7225
UD
6597 * wcsmbs/mbrtoc16.c: Implement using towc function.
6598 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6599 * wcsmbs/wcsmbsload.c: Likewise.
6600 * iconv/gconv_simple.c: Likewise.
6601 * iconv/gconv_int.h: Likewise.
6602 * iconv/gconv_builtin.h: Likewise.
6603 * iconv/iconv_prog.c: Remove CHAR16 handling.
6604
6605 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6606
6607 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6608
a0da5fe1
UD
6609 * configure.in: Remove --with-elf and --enable-bounded options.
6610 Dont set base_machine for ia64. More non-ELF conditions removed.
6611 Remove testing and setting of leading underscore information.
6612 * config.make.in (build-bounded): Set to no.
6613 * config.h.in: Remove NO_UNDERSCORES entry.
6614 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6615 them.
6616 * csu/start.c: Remove !NO_UNDERSCORE code.
6617 * locale/localeinfo.h: Likewise.
6618 * sysdeps/generic/machine-gmon.h: Likewise.
6619 * sysdeps/generic/sysdep.h: Likewise.
6620 * sysdeps/i386/sysdep.h: Likewise.
6621 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6622 * sysdeps/mach/sysdep.h: Likewise.
6623 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6624 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6625 * sysdeps/sh/sysdep.h: Likewise.
6626 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6627 * sysdeps/unix/i386/sysdep.S: Likewise.
6628 * sysdeps/unix/sparc/start.c: Likewise.
6629 * sysdeps/unix/sparc/sysdep.S: Likewise.
6630 * sysdeps/unix/sparc/sysdep.h: Likewise.
6631 * sysdeps/unix/start.c: Likewise.
6632 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6633 * sysdeps/x86_64/sysdep.h: Likewise.
6634
df78418a
UD
66352012-01-07 Ulrich Drepper <drepper@gmail.com>
6636
a784e502
UD
6637 [BZ #13553]
6638 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6639 for non-gcc.
6640 * argp/argp-fmtstream.h: Use const instead __const.
6641 * argp/argp.h: Likewise.
6642 * assert/assert.h: Likewise.
6643 * bits/fenv.h: Likewise.
6644 * bits/sched.h: Likewise.
6645 * bits/sigset.h: Likewise.
6646 * bits/sigthread.h: Likewise.
6647 * catgets/nl_types.h: Likewise.
6648 * conform/data/pthread.h-data: Likewise.
6649 * crypt/crypt-private.h: Likewise.
6650 * crypt/crypt.h: Likewise.
6651 * crypt/crypt_util.c: Likewise.
6652 * ctype/ctype.h: Likewise.
6653 * debug/execinfo.h: Likewise.
6654 * debug/mbsnrtowcs_chk.c: Likewise.
6655 * debug/mbsrtowcs_chk.c: Likewise.
6656 * debug/wcsnrtombs_chk.c: Likewise.
6657 * debug/wcsrtombs_chk.c: Likewise.
6658 * debug/wcstombs_chk.c: Likewise.
6659 * dirent/dirent.h: Likewise.
6660 * dlfcn/dlfcn.h: Likewise.
6661 * elf/neededtest4.c: Likewise.
6662 * grp/grp.h: Likewise.
6663 * gshadow/gshadow.h: Likewise.
6664 * iconv/gconv.h: Likewise.
6665 * iconv/gconv_int.h: Likewise.
6666 * iconv/gconv_simple.c: Likewise.
6667 * iconv/iconv.h: Likewise.
6668 * iconv/loop.c: Likewise.
6669 * iconv/skeleton.c: Likewise.
6670 * include/aio.h: Likewise.
6671 * include/aliases.h: Likewise.
6672 * include/argz.h: Likewise.
6673 * include/arpa/inet.h: Likewise.
6674 * include/assert.h: Likewise.
6675 * include/dirent.h: Likewise.
6676 * include/dlfcn.h: Likewise.
6677 * include/execinfo.h: Likewise.
6678 * include/fcntl.h: Likewise.
6679 * include/fenv.h: Likewise.
6680 * include/glob.h: Likewise.
6681 * include/grp.h: Likewise.
6682 * include/libintl.h: Likewise.
6683 * include/mntent.h: Likewise.
6684 * include/netdb.h: Likewise.
6685 * include/pwd.h: Likewise.
6686 * include/rpc/netdb.h: Likewise.
6687 * include/sched.h: Likewise.
6688 * include/search.h: Likewise.
6689 * include/shadow.h: Likewise.
6690 * include/signal.h: Likewise.
6691 * include/stdio.h: Likewise.
6692 * include/stdlib.h: Likewise.
6693 * include/string.h: Likewise.
6694 * include/sys/socket.h: Likewise.
6695 * include/sys/stat.h: Likewise.
6696 * include/sys/statfs.h: Likewise.
6697 * include/sys/statvfs.h: Likewise.
6698 * include/sys/syslog.h: Likewise.
6699 * include/sys/time.h: Likewise.
6700 * include/sys/uio.h: Likewise.
6701 * include/time.h: Likewise.
6702 * include/unistd.h: Likewise.
6703 * include/utmp.h: Likewise.
6704 * include/wchar.h: Likewise.
6705 * include/wctype.h: Likewise.
6706 * inet/aliases.h: Likewise.
6707 * inet/arpa/inet.h: Likewise.
6708 * inet/netinet/ether.h: Likewise.
6709 * inet/netinet/in.h: Likewise.
6710 * intl/libintl.h: Likewise.
6711 * io/bits/fcntl2.h: Likewise.
6712 * io/fcntl.h: Likewise.
6713 * io/ftw.h: Likewise.
6714 * io/sys/poll.h: Likewise.
6715 * io/sys/stat.h: Likewise.
6716 * io/sys/statfs.h: Likewise.
6717 * io/sys/statvfs.h: Likewise.
6718 * io/utime.h: Likewise.
6719 * libio/bits/stdio.h: Likewise.
6720 * libio/bits/stdio2.h: Likewise.
6721 * libio/libio.h: Likewise.
6722 * libio/libioP.h: Likewise.
6723 * libio/stdio.h: Likewise.
6724 * locale/lc-ctype.c: Likewise.
6725 * locale/locale.h: Likewise.
6726 * login/utmp.h: Likewise.
6727 * malloc/arena.c: Likewise.
6728 * malloc/malloc.c: Likewise.
6729 * malloc/malloc.h: Likewise.
6730 * malloc/mcheck.c: Likewise.
6731 * malloc/mtrace.c: Likewise.
6732 * math/bits/mathcalls.h: Likewise.
6733 * math/fenv.h: Likewise.
6734 * math/math_private.h: Likewise.
6735 * misc/bits/error.h: Likewise.
6736 * misc/bits/syslog.h: Likewise.
6737 * misc/err.h: Likewise.
6738 * misc/error.h: Likewise.
6739 * misc/fstab.h: Likewise.
6740 * misc/mntent.h: Likewise.
6741 * misc/regexp.h: Likewise.
6742 * misc/search.h: Likewise.
6743 * misc/sgtty.h: Likewise.
6744 * misc/sys/mman.h: Likewise.
6745 * misc/sys/syslog.h: Likewise.
6746 * misc/sys/uio.h: Likewise.
6747 * misc/sys/xattr.h: Likewise.
6748 * misc/ttyent.h: Likewise.
6749 * nis/rpcsvc/ypclnt.h: Likewise.
6750 * nss/nss.h: Likewise.
6751 * posix/bits/unistd.h: Likewise.
6752 * posix/fnmatch.h: Likewise.
6753 * posix/glob.h: Likewise.
6754 * posix/sched.h: Likewise.
6755 * posix/spawn.h: Likewise.
6756 * posix/sys/wait.h: Likewise.
6757 * posix/unistd.h: Likewise.
6758 * posix/wordexp.h: Likewise.
6759 * pwd/pwd.h: Likewise.
6760 * resolv/netdb.h: Likewise.
6761 * resource/sys/resource.h: Likewise.
6762 * rt/aio.h: Likewise.
6763 * rt/bits/mqueue2.h: Likewise.
6764 * rt/mqueue.h: Likewise.
6765 * shadow/shadow.h: Likewise.
6766 * signal/signal.h: Likewise.
6767 * socket/send.c: Likewise.
6768 * socket/sendto.c: Likewise.
6769 * socket/sys/socket.h: Likewise.
6770 * stdio-common/printf.h: Likewise.
6771 * stdlib/bits/stdlib.h: Likewise.
6772 * stdlib/fmtmsg.h: Likewise.
6773 * stdlib/monetary.h: Likewise.
6774 * stdlib/stdlib.h: Likewise.
6775 * stdlib/ucontext.h: Likewise.
6776 * streams/stropts.h: Likewise.
6777 * string/argz.h: Likewise.
6778 * string/bits/string2.h: Likewise.
6779 * string/string.h: Likewise.
6780 * string/strings.h: Likewise.
6781 * sunrpc/rpc/auth.h: Likewise.
6782 * sunrpc/rpc/auth_des.h: Likewise.
6783 * sunrpc/rpc/clnt.h: Likewise.
6784 * sunrpc/rpc/netdb.h: Likewise.
6785 * sunrpc/rpc/pmap_clnt.h: Likewise.
6786 * sunrpc/rpc/xdr.h: Likewise.
6787 * sysdeps/generic/inttypes.h: Likewise.
6788 * sysdeps/generic/net/if.h: Likewise.
6789 * sysdeps/generic/sys/swap.h: Likewise.
6790 * sysdeps/gnu/net/if.h: Likewise.
6791 * sysdeps/gnu/utmpx.h: Likewise.
6792 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6793 * sysdeps/i386/i486/bits/string.h: Likewise.
6794 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6795 * sysdeps/s390/bits/string.h: Likewise.
6796 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6797 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6798 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6799 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6800 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6801 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6802 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6803 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6804 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6805 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6806 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6807 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6808 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6809 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6810 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6811 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6812 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6814 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6815 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6817 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6818 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6819 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6820 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6821 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6822 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6823 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6824 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6825 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6826 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6827 * sysvipc/sys/ipc.h: Likewise.
6828 * sysvipc/sys/msg.h: Likewise.
6829 * sysvipc/sys/sem.h: Likewise.
6830 * sysvipc/sys/shm.h: Likewise.
6831 * termios/termios.h: Likewise.
6832 * time/sys/time.h: Likewise.
6833 * time/time.h: Likewise.
6834 * wcsmbs/bits/wchar2.h: Likewise.
6835 * wcsmbs/uchar.h: Likewise.
6836 * wcsmbs/wchar.h: Likewise.
6837 * wctype/wctype.h: Likewise.
6838
0269750c
UD
6839 [BZ #13551]
6840 * Makeconfig: Remove all but ELF support including AIX support.
6841 * Makerules: Likewise.
6842 * config.h.in: Likewise.
6843 * config.make.in: Likewise.
6844 * configure: Likewise.
6845 * configure.in: Likewise.
6846 * csu/Makefile: Likewise.
6847 * csu/version.c: Likewise.
6848 * debug/Makefile: Likewise.
6849 * dlfcn/Makefile: Likewise.
6850 * elf/Makefile: Likewise.
6851 * extra-lib.mk: Likewise.
6852 * iconv/Makefile: Likewise.
6853 * include/libc-symbols.h: Likewise.
6854 * include/shlib-compat.h: Likewise.
6855 * resolv/Makefile: Likewise.
6856 * resolv/res_libc.c: Likewise.
6857 * rt/Makefile: Likewise.
6858 * sysdeps/i386/asm-syntax.h: Likewise.
6859 * sysdeps/i386/sysdep.h: Likewise.
6860 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6861 * sysdeps/mach/sysdep.h: Likewise.
6862 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6863 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6864 * sysdeps/s390/asm-syntax.h: Likewise.
6865 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6866 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6867 * sysdeps/sh/sysdep.h: Likewise.
6868 * sysdeps/unix/sparc/sysdep.h: Likewise.
6869 * sysdeps/wordsize-32/divdi3.c: Likewise.
6870 * sysdeps/x86_64/sysdep.h: Likewise.
6871
00bbd29b
UD
6872 * argp/Versions: Remove _argp_unlock_xxx.
6873
6874 [BZ #13559]
6875 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6876 * abilist/libBrokenLocale.abilist: Likewise.
6877 * abilist/libanl.abilist: Likewise.
6878 * abilist/libc.abilist: Likewise.
6879 * abilist/libcrypt.abilist: Likewise.
6880 * abilist/libdl.abilist: Likewise.
6881 * abilist/libm.abilist: Likewise.
6882 * abilist/libnsl.abilist: Likewise.
6883 * abilist/libpthread.abilist: Likewise.
6884 * abilist/libresolv.abilist: Likewise.
6885 * abilist/librt.abilist: Likewise.
6886 * abilist/libthread_db.abilist: Likewise.
6887 * abilist/libutil.abilist: Likewise.
6888 * abilist/libnss_db.abilist: New file.
6889
6890 * scripts/abilist.awk: Add support for indirect functions.
6891
a2693a0e
UD
6892 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6893
3f05895f
UD
6894 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6895
ecb6fb48
UD
6896 * shlib-versions: Remove entries for ports architectures.
6897
664f8cb9
UD
6898 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6899 files in ports.
6900 * elf/stackguard-macros.h: Remove support for IA-64.
6901 * elf/tst-auditmod1.c: Likewise.
6902 * sysdeps/generic/ldsodefs.h: Likewise.
6903
7ae81d88
UD
6904 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6905 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6906 configure files.
6907
bdeba135
UD
6908 [BZ #13552]
6909 * configure.in: Remove --enable-omitfp support.
6910 * FAQ.in: Adjust.
6911 * config.make.in: Likewise.
6912 * Makeconfig: Likewise.
6913 * manual/install.texi: Likewise.
6914
d75a0a62
UD
6915 In case anyone cares, the IA-64 architecture could move to ports.
6916 * sysdeps/ia64/*: Removed.
6917 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6918 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6919
dcc9756b
UD
6920 [BZ #13555]
6921 * configure.in: Remove entries for unsupported architectures.
6922
d3761ebc 6923 [BZ #13533]
9954432e
UD
6924 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6925 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6926 routines.
6927 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6928 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6929 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6930 fall back to using wcrtomb.
6931 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6932 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6933 renaming.
6934 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6935 * wcsmbs/tst-c16c32-1.c: New file.
6936
6937 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6938 local variable.
6939
c3a87236
UD
6940 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6941
28926a1b
UD
6942 * elf/tst-unique3.cc: Add explicit declaration of gets.
6943 * elf/tst-unique3lib.cc: Likewise.
6944 * elf/tst-unique3lib2.cc: Likewise.
6945 * elf/tst-unique4.cc: Likewise.
6946
df78418a
UD
6947 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6948
8ecd6b2a
JM
69492012-01-06 Joseph Myers <joseph@codesourcery.com>
6950
6951 [BZ #13566]
6952 * assert/assert.h (static_assert): Don't define for C++.
6953 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6954 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6955
9f115170
UD
69562012-01-03 Ulrich Drepper <drepper@gmail.com>
6957
5e0d0300
UD
6958 * iconv/loop.c (single loop): Fix assertion in storing of
6959 remaining bytes.
6960
9f115170
UD
6961 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6962
81fb02b0
UD
69632012-01-01 Ulrich Drepper <drepper@gmail.com>
6964
6965 * posix/getconf.c: Update copyright year.
6966 * nss/getent.c: Likewise.
a316c1f6 6967 * nss/makedb.c: Likewise.
81fb02b0
UD
6968 * iconv/iconvconfig.c: Likewise.
6969 * iconv/iconv_prog.c: Likewise.
6970 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6971 * elf/pldd.c: Likewise.
6972 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6973 * catgets/gencat.c: Likewise.
6974 * csu/version.c: Likewise.
6975 * elf/ldd.bash.in: Likewise.
6976 * elf/sprof.c (print_version): Likewise.
6977 * locale/programs/locale.c: Likewise.
6978 * locale/programs/localedef.c: Likewise.
a316c1f6 6979 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6980 * nscd/nscd.c (print_version): Likewise.
6981 * debug/xtrace.sh: Likewise.
6982 * malloc/memusage.sh: Likewise.
6983 * malloc/mtrace.pl: Likewise.
6984 * debug/catchsegv.sh: Likewise.
6985
2ba92745
JJ
69862011-12-30 Jakub Jelinek <jakub@redhat.com>
6987
6988 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6989 pure attribute.
6990
dadebdae
UD
69912011-12-24 Ulrich Drepper <drepper@gmail.com>
6992
d3761ebc 6993 [BZ #13533]
db6af3eb
UD
6994 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6995 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6996 transformations.
6997 * iconv/gconv_int.h: Likewise.
6998 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6999 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7000 from libc for GLIBC_2.16.
7001 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7002 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7003 * wcsmbs/uchar.h: Really define mbstate_t.
7004 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7005 * wcsmbs/c16rtomb.c: New file.
7006 * wcsmbs/mbrtoc16.c: New file.
7007 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7008 for C/POSIX locale.
7009 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7010 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7011
dadebdae
UD
7012 * wcsmbs/wchar.h: Add missing __restrict.
7013
67371b56
UD
70142011-12-23 Ulrich Drepper <drepper@gmail.com>
7015
74033a25
UD
7016 [BZ #13532]
7017 * time/Makefile (routines): Add timespec_get.
7018 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7019 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7020 timespec for ISO C11.
7021 * time/timespec_get.c: New file.
7022 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7023 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7024
380d7e87
UD
7025 [BZ #13531]
7026 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7027 * stdlib/stdlib.h: Declare aligned_alloc.
7028 * Versions.def: Add GLIBC_2.16 for libc.
7029 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7030
4e9e7a35
UD
7031 [BZ 13527]
7032 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7033 ISO C11.
7034
380d7e87 7035 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7036 code.
7037
03a71829
UD
7038 [BZ #13528]
7039 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7040
839e283e
UD
7041 [BZ #13529]
7042 * assert/assert.h (static_assert): Define.
7043
ce5294e2 7044 * version.h: Update for 2.16 development version.
90fa7312 7045
8d44e150 7046 [BZ #13526]
d7809905
UD
7047 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7048 _ISOC11_SOURCE.
7049
c0da14cd
UD
7050 * version.h (RELEASE): Bump for 2.15 release.
7051 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7052
530a3249
MP
7053 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7054 Patch by Marek Polacek <mpolacek@redhat.com>.
7055
67371b56
UD
7056 * bits/byteswap.h: Protect long long constants with __extension__.
7057 * sysdeps/i386/bits/byteswap.h: Likewise.
7058 * sysdeps/ia64/bits/byteswap.h: Likewise.
7059 * sysdeps/s390/bits/byteswap.h: Likewise.
7060 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7061
15db4de1
LD
70622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7063
7064 [BZ #13540]
bbe315ea
LD
7065 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7066 destination buffer.
15db4de1
LD
7067 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7068
2b2596b1
MP
70692011-12-23 Marek Polacek <polacek@redhat.com>
7070
7071 * elf/dl-addr.c (determine_info): Add inline keyword.
7072 * elf/tst-auditmod4b.c (check_avx): Likewise.
7073 * elf/tst-auditmod6b.c (check_avx): Likewise.
7074 * elf/tst-auditmod6c.c (check_avx): Likewise.
7075 * elf/tst-auditmod7b.c (check_avx): Likewise.
7076
70c6c246
UD
70772011-12-23 Ulrich Drepper <drepper@gmail.com>
7078
7079 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7080 !__SSE_MATH__.
7081
c044cf14
LD
70822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7083
15db4de1 7084 [BZ #13540]
c044cf14
LD
7085 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7086 processing for last bytes.
7087
6b13d9d9
BH
70882011-08-06 Bruno Haible <bruno@clisp.org>
7089
d455f537
BH
7090 [BZ #13061]
7091 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7092 U+0385, not to U+1FEE.
7093
6b13d9d9
BH
7094 [BZ #13062]
7095 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7096 entry for U+00A5 U+0301.
7097
db910efd
UD
70982011-12-22 Ulrich Drepper <drepper@gmail.com>
7099
27deeafc
UD
7100 [BZ #13166]
7101 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7102 buffer for the output is too small.
7103
aed9d171
UD
7104 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7105 optimization.
7106
db910efd
UD
7107 [BZ #13185]
7108 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7109 SSE flags if possible.
7110
2bd779ae
LD
71112011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7112
e7f9dac3 7113 [BZ #13540]
2bd779ae
LD
7114 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7115 processing for last bytes.
7116
154bfc16
JM
71172011-12-22 Joseph Myers <joseph@codesourcery.com>
7118
7119 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7120 (syscall-list-default-options, syscall-list-default-condition)
7121 (syscall-list-includes): Define.
7122 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7123 list of ABIs and options and #if conditions for each ABI. Do not
7124 handle common syscalls between ABIs specially.
7125 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7126 Remove.
7127 (syscall-list-variants, syscall-list-32bit-options)
7128 (syscall-list-32bit-condition, syscall-list-64bit-options)
7129 (syscall-list-64bit-condition): Define.
7130 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7131 (syscall-list-variants, syscall-list-32bit-options)
7132 (syscall-list-32bit-condition, syscall-list-64bit-options)
7133 (syscall-list-64bit-condition): Define.
7134 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7135 Remove.
7136 (syscall-list-variants, syscall-list-32bit-options)
7137 (syscall-list-32bit-condition, syscall-list-64bit-options)
7138 (syscall-list-64bit-condition): Define.
7139 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7140 Remove.
7141 (syscall-list-variants, syscall-list-32bit-options)
7142 (syscall-list-32bit-condition, syscall-list-64bit-options)
7143 (syscall-list-64bit-condition): Define.
7144
21eaf3a5
UD
71452011-12-22 Ulrich Drepper <drepper@gmail.com>
7146
16c6f992
UD
7147 * locale/iso-639.def: Add brx entry.
7148
41043168
UD
7149 [BZ #13328]
7150 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7151 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7152
21eaf3a5
UD
7153 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7154 __feraiseexcept_renamed.
7155
e3a851a2
UD
71562011-12-21 Ulrich Drepper <drepper@gmail.com>
7157
4920765e
UD
7158 [BZ #13538]
7159 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7160 EPOLLET with unsigned values.
7161 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7162 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7163
e3a851a2
UD
7164 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7165 to large cancellation.
7166 * math/s_cacoshf.c: Likewise.
7167 * math/s_cacoshl.c: Likewise.
7168
b27e24b8
RK
71692011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7170
7171 [BZ #13305]
aebefeee 7172 [BZ #12786]
b27e24b8
RK
7173 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7174 * math/s_cacoshf.c: Likewise.
7175 * math/s_cacoshl.c: Likewise.
7176
ee190f67
UD
71772011-12-21 Ulrich Drepper <drepper@gmail.com>
7178
7179 [BZ #13439]
7180 * iconv/gconv.h: Define __GCONV_SWAP.
7181 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7182 * iconvdata/utf-16.c: Likewise.
7183 * iconvdata/utf-32.c: Likewise.
7184
707f25df
AS
71852011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7186
7187 [BZ #13524]
7188 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7189 numerator after shifting it by one limb.
7190
d2daaa1e
RÁE
71912011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7192
7193 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7194 under [__USE_EXTERN_INLINES].
7195
a4647e72
UD
71962011-12-17 Ulrich Drepper <drepper@gmail.com>
7197
7198 [BZ #13446]
7199 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7200
f0b264f1
AZ
72012011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7202
7203 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7204 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7205 optimized code.
7206 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7207 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7208 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7209 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7210 for strncasecmp/strncasecmp_l compilation.
7211 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7212 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7213
8ef4f244
MP
72142011-12-08 Marek Polacek <mpolacek@redhat.com>
7215
7216 [BZ #13484]
7217 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7218 of __asm__.
7219
97ac2654
UD
72202011-12-17 Ulrich Drepper <drepper@gmail.com>
7221
7222 [BZ #13506]
7223 * time/tzfile.c (__tzfile_read): Check values from file header.
7224
91d2a845
WS
72252011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7226
7227 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7228 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7229 * powerpc/powerpc32/dl-start.S: Likewise.
7230 * powerpc/powerpc32/elf/start.S: Likewise.
7231 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7232 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7233 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7234 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7235 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7236 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7237 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7238 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7239 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7240 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7241 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7242 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7243 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7244 * powerpc/powerpc32/memset.S: Likewise.
7245 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7246 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7247 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7248 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7249 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7250 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7251 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7252 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7253 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7254 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7255 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7256 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7257 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7258
a1267ba1
AZ
72592011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7260
7261 * math/libm-test.inc: Added more nearbyint tests.
7262 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7263 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7264 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7265 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7266
ad8ac1bd
RL
72672011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7268
7269 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7270 FD_CLOEXEC.
7271
1d3e4b61
UD
72722011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7273
7274 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7275 Add wcscpy-ssse3 wcscpy-c.
7276 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7277 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7278 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7279 * sysdeps/x86_64/wcschr.S: New file.
7280 * sysdeps/x86_64/wcsrchr.S: New file.
7281 * string/test-strcmp.c: Remove checking of wcscmp function for
7282 wrong alignments.
7283 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7284 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7285 wcsrchr-sse2 wcsrchr-c.
7286 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7287 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7288 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7289 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7290 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7291 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7292 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7293 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7294 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7295 * wcsmbc/wcschr.c (WCSCHR): New macro.
7296
5b330a2d
UD
72972011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7298
7299 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7300 * wcsmbs/test-wcsrchr.c: New file.
7301 * string/test-strrchr.c: Add wcsrchr support.
7302 (WIDE): New macro.
7303 * wcsmbs/test-wcscpy.c: New file.
7304 * string/test-strcpy.c: Add wcscpy support.
7305 (WIDE): New macro.
26428b7c 7306
f039c043
UD
73072011-12-10 Ulrich Drepper <drepper@gmail.com>
7308
7309 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7310 the inner loop.
7311
850fb039
AS
73122011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7313
7314 [BZ #13472]
7315 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7316
4efbd5cb
UD
73172011-12-04 Ulrich Drepper <drepper@gmail.com>
7318
52ff5dd0 7319 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7320 Minor optimizations.
52ff5dd0 7321
4efbd5cb
UD
7322 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7323 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7324 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7325
8a426e12
UD
73262011-12-03 Ulrich Drepper <drepper@gmail.com>
7327
aff2453d
UD
7328 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7329 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7330 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7331 for gcc to avoid warnings.
7332 * inet/Makefile (tests): Add tst-checks.
7333 * inet/tst-checks.c: New file.
7334
7335 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7336 warning.
7337
7338 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7339 __wmemcmp_sse2.
7340
7341 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7342 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7343
8a426e12
UD
7344 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7345
9bea3473
UD
73462011-12-02 Ulrich Drepper <drepper@gmail.com>
7347
3a965496
UD
7348 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7349 problem.
7350
9bea3473
UD
7351 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7352
f101631b
UD
73532011-11-29 Joseph Myers <joseph@codesourcery.com>
7354
7355 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7356 conditional on GCC version.
7357 (__arch_compare_and_exchange_val_8_acq)
7358 (__arch_compare_and_exchange_val_16_acq)
7359 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7360 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7361 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7362
a98275aa
UD
73632011-12-02 Joseph Myers <joseph@codesourcery.com>
7364
7365 * sysdeps/sh/backtrace.c: New file.
7366
d4cc29a2
AS
73672011-12-02 Andreas Schwab <schwab@redhat.com>
7368
7369 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7370 parenthesis.
7371
6257af2d
AS
73722011-12-01 Andreas Schwab <schwab@redhat.com>
7373
7374 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7375 falling back to utime.
7376
b5f44c1a
AS
73772011-11-30 Andreas Schwab <schwab@redhat.com>
7378
7379 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7380 expectations for float.
7381
f3a6cc0a
AS
73822011-11-29 Andreas Schwab <schwab@redhat.com>
7383
7384 * locale/weight.h (findidx): Add parameter len.
7385 * locale/weightwc.h (findidx): Likewise.
7386 * posix/fnmatch_loop.c (FCT): Adjust caller.
7387 * posix/regcomp.c (build_equiv_class): Likewise.
7388 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7389 * posix/regexec.c (check_node_accept_bytes): Likewise.
7390 * string/strcoll_l.c (STRCOLL): Likewise.
7391 * string/strxfrm_l.c (STRXFRM): Likewise.
7392
9d65ea3a
UD
73932011-11-17 Ulrich Drepper <drepper@gmail.com>
7394
7395 * Makefile.in: Remove CVSOPT handling.
7396 * configure.in: Remove use of AC_REVISION.
7397 * iconvdata/Makefile (distribute): No need to filter out CVS.
7398 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7399 handling.
7400
5583a086
AS
74012011-11-16 Andreas Schwab <schwab@redhat.com>
7402
7403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7404 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7405 [USE_AS_STRNCASECMP_L]: Likewise.
7406 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7407 NO_TLS_DIRECT_SEG_REFS.
7408 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7409 Fix argument offsets for non-PIC.
7410 [USE_AS_STRNCASECMP_L]: Likewise.
7411 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7412 NO_TLS_DIRECT_SEG_REFS.
7413
d62a8200
UD
74142011-11-15 Ulrich Drepper <drepper@gmail.com>
7415
9d65ea3a 7416 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7417 O_CLOEXEC.
7418 * locale/loadlocale.c (_nl_load_locale): Likewise.
7419
09f93bd3
AS
74202011-11-15 Andreas Schwab <schwab@redhat.com>
7421
446514f9
AS
7422 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7423 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7424 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7425 (SYSCALL_GETTIME): Set errno on error.
7426
09f93bd3
AS
7427 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7428 count references to noai6ai_cached.
7429
312be3f9
UD
74302011-11-15 Ulrich Drepper <drepper@gmail.com>
7431
7432 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7433
7434 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7435 FD_CLOEXEC for /proc/self/maps.
7436
7437 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7438 FD_CLOEXEC for /proc/meminfo.
7439
7440 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7441 gai.conf.
7442
7443 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7444 FD_CLOEXEC for given file.
7445
7446 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7447
7448 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7449 FD_CLOEXEC for /etc/hosts.
7450 (_gethtent): Likewise.
7451
7452 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7453
7454 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7455 cancellation and set FD_CLOEXEC for /etc/netgroup.
7456
7457 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7458 reading /etc/publickey.
7459
7460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7461 allow cancellation when reading /etc/group.
7462
7463 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7464 cancellation.
7465 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7466
7467 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7468 when using data file.
7469
7470 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7471
7472 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7473 (write_nis_obj): Use "c" and "e" in fopen.
7474
7475 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7476
7477 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7478
7479 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7480
7481 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7482
7483 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7484 locale.alias.
7485
7486 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7487
7488 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7489
7490 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7491
7492 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7493 file parsing and set FD_CLOEXEC.
7494
82af0fa8
UD
74952011-11-14 Ulrich Drepper <drepper@gmail.com>
7496
7497 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7498
a5fb313c
AS
74992011-11-14 Andreas Schwab <schwab@redhat.com>
7500
7501 * malloc/arena.c (arena_get2): Don't call reused_arena when
7502 _int_new_arena failed.
7503
6abf3465
UD
75042011-11-14 Ulrich Drepper <drepper@gmail.com>
7505
7506 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7507 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7508 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7509 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7512 to compile strcasecmp and strncasecmp.
7513 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7514 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7515
7516 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7517
76e3966e
UD
75182011-11-13 Ulrich Drepper <drepper@gmail.com>
7519
7520 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7521 locale-defines.sym to gen-as-const-headers.
7522 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7523 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7524 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7525 to compile strcasecmp and strncasecmp.
7526 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7527 strcasecmp_l and strncasecmp_l.
7528 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7529 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7530 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7531 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7532 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7533 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7534 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7535 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7536 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7537 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7538 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7539
ab26144e
UD
75402011-11-12 Ulrich Drepper <drepper@gmail.com>
7541
7edb22ef
UD
7542 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7543 result of SYSDEP_GETTIME_CPU to retval.
7544 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7545 parameter list to macro. Remove trailing semicolon. Adjust users.
7546
9694fc44
UD
7547 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7548 variable.
7549
8ad89ef8
UD
7550 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7551 mantissa words.
7552 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7553
0c822ef9
UD
7554 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7555 from unused variable.
7556
874e0564
UD
7557 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7558 DWARF definitions.
7559 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7560 for assembling.
7561
3a2edc79
UD
7562 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7563 over namespaces.
7564
f3c2577f
UD
7565 * sunrpc/rpc_prot.c (rejected): Fix case value.
7566
294ce126
UD
7567 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7568 unsigned long long int to avoid warnings in shift.
7569
5e2b63c6
UD
7570 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7571 of use of trans.
7572 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7573 variable tmp.
7574
e7f4b08e
UD
7575 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7576 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7577 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7578
ab26144e
UD
7579 * nis/nis_table.c (nis_list): Use variable of correct type for
7580 result of __follow_path call.
7581
8a6d5255
AZ
75822011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7583
7584 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7585 of math functions ceil, trunc, floor, round, and sqrt, when
7586 avaliable on the platform.
7587 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7588 name clash.
7589 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7590 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7591 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7592
aaddc98c
MP
75932011-10-30 Marek Polacek <mpolacek@redhat.com>
7594
7595 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7596 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7597
95b7042b
RM
75982011-11-11 Roland McGrath <roland@hack.frob.com>
7599
7600 * include/unistd.h: Fix __readlink return type.
7601 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7602
57769839
UD
76032011-11-11 Ulrich Drepper <drepper@gmail.com>
7604
7605 * stdlib/ucontext.h: Undo last change for makecontext.
7606
edc5984d
AS
76072011-11-11 Andreas Schwab <schwab@redhat.com>
7608
98591e58
AS
7609 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7610
edc5984d
AS
7611 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7612 * setjmp/setjmp.h: Mark functions as non-leaf.
7613 * setjmp/bits/setjmp2.h: Likewise.
7614 * stdlib/ucontext.h: Likewise.
7615
77cdc054
AS
76162011-11-10 Andreas Schwab <schwab@redhat.com>
7617
7618 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7619 (reused_arena): Don't check arena limit.
7620 (arena_get2): Atomically check arena limit.
7621
fe72eebd
UD
76222011-11-08 Ulrich Drepper <drepper@gmail.com>
7623
5f078c32
UD
7624 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7625 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7626
fe72eebd
UD
7627 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7628 instructions.
7629
ae1bc2fa
AS
76302011-11-07 Andreas Schwab <schwab@redhat.com>
7631
7583a88d
AS
7632 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7633 handler when locking.
7634
ae1bc2fa
AS
7635 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7636 Fix size of allocated buffer.
7637
10fb0bfa
AS
76382011-11-04 Andreas Schwab <schwab@redhat.com>
7639
998832a4
AS
7640 [BZ #10103]
7641 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7642 declarations for long double functions.
7643 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7644
10fb0bfa
AS
7645 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7646
3d7ba52b
AS
76472011-11-03 Andreas Schwab <schwab@redhat.com>
7648
a9ae54a1
AS
7649 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7650 installed.
7651
3d7ba52b
AS
7652 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7653 is disabled.
7654
bc8db248
ST
76552011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7656
7657 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7658
45b96dd6
AS
76592011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7660
647776f6
AS
7661 * include/alloca.h (stackinfo_alloca_round): Define.
7662 (extend_alloca): Use it.
7663 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7664 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7665 here.
7666
d91a8b93
AS
7667 * scripts/check-local-headers.sh: Ignore libaudit.h.
7668
45b96dd6
AS
7669 * nscd/Makefile (extra-objs): Make recursively expanded.
7670
432d41ce
UD
76712011-11-01 Ulrich Drepper <drepper@gmail.com>
7672
34372fc6
UD
7673 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7674 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7675
fadb59f8
UD
7676 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7677 * posix/tst-rfc3484-2.c: Likewise.
7678 * posix/tst-rfc3484-3.c: Likewise.
7679
78239589
UD
7680 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7681 process_vm_writev.
7682 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7683 process_vm_writev.
7684 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7685 process_vm_writev from libc using GLIBC_2.15 version.
7686
432d41ce
UD
7687 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7688
02f9c6cf
PP
76892011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7690
7691 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7692 stack usage.
7693
3a2c0242
UD
76942011-10-31 Ulrich Drepper <drepper@gmail.com>
7695
f4ec4833
UD
7696 [BZ #13367]
7697 * nss/getent.c (initgroups_keys): Show error message in case no group
7698 names are given.
7699
3a2c0242
UD
7700 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7701 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7702 __bump_nl_timestamp.
7703 * nscd/connections (nscd_init): When host database is served open
7704 netlink socket and request notification about configuration changes.
7705 (main_loop_poll): Track netlink file descriptor and bump timestamp
7706 in case data becomes available.
7707 (main_loop_epoll): Likewise.
7708 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7709 (database_pers_head): Add extra_data fileds.
7710 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7711 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7712 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7713 Adjust caller.
7714 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7715 in6ai data, call __free_in6ai.
7716 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7717 Add -DHAVE_NETLINK.
7718 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7719 interface information. Reuse previous data if netlink timestamp
7720 is not changed.
7721 (__bump_nl_timestamp): New function.
7722 (__free_in6ai): New function.
7723
636064eb
UD
77242011-10-30 Ulrich Drepper <drepper@gmail.com>
7725
7726 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7727 close_not_cancel_no_status here.
7728 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7729
9beb2334
UD
77302011-10-29 Ulrich Drepper <drepper@gmail.com>
7731
6ef76f3b
UD
7732 [BZ #13276]
7733 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7734 return value.
7735
0ffc4f3e 7736 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7737 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7738 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7739
cb95113e
UD
77402011-07-03 Andreas Jaeger <aj@suse.de>
7741
7742 [BZ #10709]
7743 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7744 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7745 * math/libm-test.inc (sin_test): Add test case.
7746
a1b560ff
UD
77472011-10-29 Ulrich Drepper <drepper@gmail.com>
7748
c9aaface
UD
7749 [BZ #13337]
7750 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7751 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7752
d272e7f1
UD
7753 * elf/chroot_canon.c (chroot_canon): Cleanups.
7754
1bc33071
UD
7755 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7756
1760874d
TJ
7757 [BZ #13335]
7758 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7759 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7760
51d91b18
UD
7761 * string/test-strchr.c: Make usable for strchrnul testing.
7762 * string/test-strchrnul.c: New file.
7763 * string/Makefile (strop-tests): Add strchrnul.
7764
a1b560ff 7765 * po/it.po: Update from translation team.
b611fb81 7766 * po/es.po: Likewise.
a1b560ff 7767
a5b81e1f
UD
77682011-10-28 Ulrich Drepper <drepper@gmail.com>
7769
fd52bc6d
UD
7770 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7771 the three constants needed as parameters. Drop the others.
7772 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7773 __m128i_strloadu_tolower.
52e4b9eb
UD
7774 Create and initialize variable zero and use it in all the places
7775 where _mm_setzero_si128 was used.
fd52bc6d 7776
a5b81e1f
UD
7777 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7778 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7779 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7780 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7781 anymore.
7782 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7783 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7784 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7785 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7786 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7787 __mpranred, __mptan.
7788 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7789 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7790 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7791 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7792 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7793 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7794 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7795 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7796 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7797
b4343346
AS
77982011-10-28 Andreas Schwab <schwab@redhat.com>
7799
0c92d8a8
AS
7800 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7801 redefine if SHARED.
7802 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7803
b4343346
AS
7804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7805 wide char related routines to wcsmbs subdir.
7806
3871f58f
AS
78072011-10-27 Andreas Schwab <schwab@redhat.com>
7808
7809 [BZ #13344]
7810 * misc/sys/cdefs.h (__THROWNL): Define.
7811 * posix/unistd.h: Use __THREADNL instead of __THREAD
7812 for memory synchronization functions.
7813
94d44d9f
RM
78142011-10-26 Roland McGrath <roland@hack.frob.com>
7815
21b64b15 7816 [BZ #13349]
94d44d9f
RM
7817 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7818 doesn't exist.
7819 * manual/stdio.texi (Obstack Streams): Node removed.
7820
f6ce9294
AS
78212011-10-26 Andreas Schwab <schwab@redhat.com>
7822
80479147
AS
7823 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7824 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7825 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7826
f6ce9294
AS
7827 * math/math_private.h (math_force_eval): Allow non-addressable
7828 arguments.
7829 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7830
618280a1
UD
78312011-10-25 Ulrich Drepper <drepper@gmail.com>
7832
e0016b11
UD
7833 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7834 file is not needed.
7835
7836 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7837 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7838 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7839 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7840 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7841 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7842 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7843 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7844 Add AVX variants.
7845 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7846 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7847 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7848 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7849 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7850 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7851 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7852 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7853 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7854 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7855 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7856 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7857 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7858 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7859 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7860 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7861 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7862 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7863 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7864
7865 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7866 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7867
618280a1
UD
7868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7869 place. Use VEX encoding when compiling for AVX.
7870
37822576
AS
78712011-10-25 Andreas Schwab <schwab@redhat.com>
7872
1f1e1947
AS
7873 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7874 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7875
37822576
AS
7876 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7877
31ea014d
UD
78782011-10-25 Ulrich Drepper <drepper@gmail.com>
7879
d7826aa1 7880 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7881 useless if() expression.
d7826aa1
UD
7882 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7883 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7884 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7885 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7886 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7887 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7888 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7889 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7890 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7891 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7892 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7893 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7894 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7895 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7896 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7897 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7898 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7900 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7901
31ea014d
UD
7902 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7903
16437fec
AS
79042011-10-25 Andreas Schwab <schwab@redhat.com>
7905
7906 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7907 condition.
7908 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7909
31d3cc00
UD
79102011-10-25 Ulrich Drepper <drepper@gmail.com>
7911
7912 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7913 .text section. Avoid duplicate constants.
7914 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7916 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7918 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7922 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7923 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7924 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7925 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7926 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7927 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7928 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7929 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7930 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7931 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7932 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7933 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7934 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7935 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7936 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7937 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7938 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7939 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7940 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7941 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7942 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7943 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7944 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7945 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7946 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7947 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7948 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7949 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7950 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7951 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7952 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7953 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7954 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7955 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7956 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7957 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7958 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7959
58985aa9
UD
79602011-10-24 Ulrich Drepper <drepper@gmail.com>
7961
202c9deb
UD
7962 * sysdeps/x86_64/dla.h: Move to ...
7963 * sysdeps/x86_64/fpu/dla.h: ...here.
7964 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7965 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7966
af968f62
UD
7967 * config.make.in: Add have-mfma4 entry.
7968 * configure.in: Substitute libc_cv_cc_fma4.
7969 * math/Makefile (dbl-only-routines): Add sincostab.
7970 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7971 Use __sincostab not sincos.
7972 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7973 name is a macro.
7974 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7975 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7976 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7977 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7978 using __copysign.
7979 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7980 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7981 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7982 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7983 and __inv.
7984 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7985 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7986 __copysign.
7987 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7988 define aliases when function name is a macro.
7989 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7990 sysdeps/ieee754/dbl-64/sincos.tbl.
7991 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7992 fma4-enabled routines.
7993 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7994 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7995 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7996 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7997 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7998 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7999 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8000 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8001 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8002 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8003 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8004 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8005 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8006 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8007 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8008 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8009 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8010 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8011 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8012 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8013 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8014 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8015 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8016 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8017 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8018 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8019 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8020 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8021 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8022 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8023
58985aa9
UD
8024 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8025 rename.
8026 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8027 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8029 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8030 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8031 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8032 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8033 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8034
a201fbcf
AS
80352011-10-24 Andreas Schwab <schwab@redhat.com>
8036
8037 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8038
fc2ee42a
LD
80392011-10-23 Ulrich Drepper <drepper@gmail.com>
8040
bb3129bd
UD
8041 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8042
0275fff8
UD
8043 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8044 prediction.
8045 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8046
2fa2ae85
UD
8047 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8048 Remove unused variable magic_bits.
8049 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8050
fc2ee42a
LD
8051 * string/strnlen.c: Define and use STRNLEN macro.
8052 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8053 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8054 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8055 * wcsmbs/wcslen.c: Define and use WCSLEN.
8056 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8057 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8058 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8059 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8060 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8061 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8062 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8063
ce7dd29f
LD
80642011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8065
8066 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8067 strnlen-sse2-no-bsf.
8068 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8070 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8071 Add strnlen support.
8072 (USE_AS_STRNLEN): New macro.
8073 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8074 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8075 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8076 * sysdeps/x86_64/wcslen.S: New file.
8077
979c70a3
MZ
80782011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8079
8080 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8081 XMM-moves are used for copying on small sizes.
8082
2d09f82f
LD
80832011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8084
8085 * wcsmbs/Makefile (strop-tests): Add wcschr.
8086 * wcsmbs/test-wcschr.c: New file.
8087 * string/test-strchr.c: Update.
8088 Add wcschr support.
8089 (WIDE): New macro.
8090
619fccca
LD
80912011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8092
2d09f82f 8093 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8094 * wcsmbs/test-wcslen.c: New file.
8095 * string/test-strlen.c: Update.
8096 Add wcslen support.
8097 (WIDE): New macro.
8098
09f699ea
UD
80992011-10-23 Ulrich Drepper <drepper@gmail.com>
8100
8101 * po/it.po: Update from translation team.
8102
95584d3b
LD
81032011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8104
8105 * sysdeps/x86_64/wcscmp.S: Update.
8106 Fix wrong comparison semantics.
8107 wcscmp shall use signed comparison not unsigned.
8108 Don't use substraction to avoid overflow bug.
8109 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8110 * wcsmbc/wcscmp.c: Likewise.
8111 * string/test-strcmp.c: Likewise.
8112 Add new tests to check cases with negative values.
8113
c8b3296b
UD
81142011-10-23 Ulrich Drepper <drepper@gmail.com>
8115
8116 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8117 * sysdeps/x86_64/dla.h: ...here. New file.
8118 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8120 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8127
246ad57a
AS
81282011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8129
8130 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8131 __ynl_finite aliases.
8132
a1a87169
UD
81332011-10-22 Ulrich Drepper <drepper@gmail.com>
8134
0d355eb7
UD
8135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8136
a1a87169
UD
8137 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8138 define DLA_FMA.
8139 [DLA_FMA] (EMULV): Use DLA_FMA.
8140 [DLA_FMA] (MUL12): Use EMULV.
8141 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8142 that are not needed.
8143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8150
ee2aafe0
AS
81512011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8152
8153 * math/s_nan.c: Undef __nan.
8154 * math/s_nanf.c: Undef __nanf.
8155 * math/s_nanl.c: Undef __nanl.
8156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8157 "math_private.h".
8158
bc62c2fb
UD
81592011-10-22 Ulrich Drepper <drepper@gmail.com>
8160
77425c63
UD
8161 * math/s_catan.c: Add branch predictions.
8162 * math/s_catanf.c: Likewise.
8163 * math/s_catanh.c: Likewise.
8164 * math/s_catanhf.c: Likewise.
8165 * math/s_catanhl.c: Likewise.
8166 * math/s_catanl.c: Likewise.
8167 * math/s_cexp.c: Likewise.
8168 * math/s_cexpf.c: Likewise.
8169 * math/s_cexpl.c: Likewise.
8170 * math/s_clog.c: Likewise.
8171 * math/s_clog10.c: Likewise.
8172 * math/s_clog10f.c: Likewise.
8173 * math/s_clog10l.c: Likewise.
8174 * math/s_clogf.c: Likewise.
8175 * math/s_clogl.c: Likewise.
8176 * math/s_csqrt.c: Likewise.
8177 * math/s_csqrtf.c: Likewise.
8178 * math/s_csqrtl.c: Likewise.
8179 * math/s_ctanf.c: Likewise.
8180 * math/s_ctanh.c: Likewise.
8181 * math/s_ctanhf.c: Likewise.
8182 * math/s_ctanhl.c: Likewise.
8183 * math/s_ctanl.c: Likewise.
8184
bc62c2fb
UD
8185 * math/math_private.h: Define __nan, __nanf, __nanl.
8186 * math/s_cacosh.c: Include <math_private.h>.
8187 * math/s_cacoshl.c: Likewise.
8188 * math/s_casinh.c: Likewise.
8189 * math/s_casinhf.c: Likewise.
8190 * math/s_casinhl.c: Likewise.
8191 * math/s_ccos.c: Rely entire on ccosh.
8192 * math/s_ccosf.c: Rely entire on ccoshf.
8193 * math/s_ccosl.c: Rely entirely on ccoshl.
8194 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8195 Remove tests for FE_INVALID.
8196 * math/s_ccoshf.c: Likewise.
8197 * math/s_ccoshl.c: Likewise.
8198 * math/s_csin.c: Likewise.
8199 * math/s_csinf.c: Likewise.
8200 * math/s_csinh.c Likewise.
8201 * math/s_csinhf.c: Likewise.
8202 * math/s_csinhl.c: Likewise.
8203 * math/s_csinl.c: Likewise.
8204 * math/s_ctan.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8206 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8207 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8208
8ec250a4
UD
82092011-10-21 Ulrich Drepper <drepper@gmail.com>
8210
c196fed8
UD
8211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8212 compilation problems.
8213
8ec250a4
UD
8214 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8215 __builtin_expect.
8216
8d4f46c6
UD
82172011-10-20 Ulrich Drepper <drepper@gmail.com>
8218
ed72b654
UD
8219 * sysdeps/i386/configure.in: Test for -mfma4 option.
8220 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8221 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8222 COMMON_CPUID_INDEX_80000001.
8223 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8224 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8225 use it if FMA3 is not supported.
8226 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8227
8d4f46c6
UD
8228 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8229 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8230
d45c60c2
AS
82312011-10-20 Andreas Schwab <schwab@redhat.com>
8232
8233 [BZ #12892]
8234 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8235 it would create a cycle with a link time dependency.
8236
d9a4d2ab
UD
82372011-10-19 Ulrich Drepper <drepper@gmail.com>
8238
855d1560
UD
8239 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8240 instruction.
8241 * string/Makefile (strop-tests): Add rawmemchr.
8242 * string/test-rawmemchr.c: New file.
8243
d9a4d2ab
UD
8244 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8246 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8247 when compiling str{,n}casecmp and when AVX is available. Hook up
8248 new optimized code in initializers.
8249
8f3b1ffe
AS
82502011-10-19 Andreas Schwab <schwab@redhat.com>
8251
8252 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8253 __feraiseexcept instead of feraiseexcept.
8254
d38f1dba
UD
82552011-10-18 Ulrich Drepper <drepper@gmail.com>
8256
d9a8d0ab
UD
8257 * math/math_private.h: Define defaults for libc_fetestexcept and
8258 libc_feupdateenv.
8259 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8260 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8261 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8262 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8263 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8264 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8265 libc_fetestexcept and libc_feupdateenv.
8266
4855e3dd
UD
8267 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8268 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8269 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8270 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8271 libc_feholdexcept_setround.
8272
581d30e3
UD
8273 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8274 Add s_nearbyint-c and s_nearbyintf-c.
8275 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8276 nearbyintf inlines.
8277 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8278 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8279 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8280 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8281
d38f1dba
UD
8282 * math/math_private.h: Define defaults for libc_fegetround,
8283 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8284 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8285 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8286 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8287 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8288 standard functions.
8289 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8290 Remove comments and hacks for old compiler versions.
8291 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8292 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8293 libc_feholdexceptl.
8294
caa6c9d8
AS
82952011-10-18 Andreas Schwab <schwab@redhat.com>
8296
8297 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8298 (__feraiseexcept_renamed): Add __NTH.
8299 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8300 namespace violations.
8301
97c066e6
UD
83022011-10-17 Ulrich Drepper <drepper@gmail.com>
8303
99ce7b04
UD
8304 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8305
1004d182
UD
8306 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8307
228a984d
UD
8308 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8309 recently added interfaces.
8310 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8311
c8553a6a
UD
8312 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8313 about macro parameter expansion.
8314
ed22dcf6
UD
8315 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8316 __NO_MATH_INLINES is defined. Cleanups.
8317
8318 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8319 and __floorf is target has SSE4.1.
8320 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8321 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8322 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8323 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8324
b171c137
UD
8325 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8326 name.
8327 (floorf): Likewise.
8328
97c066e6
UD
8329 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8330
629f62ef
AS
83312011-10-17 Andreas Schwab <schwab@redhat.com>
8332
49a43d80
AS
8333 * misc/sys/cdefs.h: Fix last change.
8334
629f62ef
AS
8335 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8336 database lookup.
8337
e453f6cd
UD
83382011-10-16 Ulrich Drepper <drepper@gmail.com>
8339
aa78043a
UD
8340 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8341
ad0f5cad
UD
8342 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8343 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8344 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8345 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8346 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8347 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8348 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8349 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8350 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8351 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8352 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8353 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8354 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8355 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8356 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8357 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8358 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8359 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8360 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8361 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8362 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8363 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8364
8365 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8366 ceil, ceilf, floor, floorf.
8367
8368 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8369 Perform IRELATIVE relocations last.
8370
e453f6cd
UD
8371 * elf/do-rel.h: Add another parameter nrelative, replacing the
8372 local variable with the same name. Change name of the function
8373 to end in Rel or Rela (uppercase).
8374 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8375 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8376 elf_dynamic_do_##reloc function.
8377
fd5bdc09
UD
83782011-10-15 Ulrich Drepper <drepper@gmail.com>
8379
79b195b5
UD
8380 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8381 is sufficient, at least on modern CPUs.
8382
d4a28569
UD
8383 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8384
b61099b5
UD
8385 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8386 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8387
bcf01e6d
UD
8388 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8389 __expl_finite.
8390 * math/bits/math-finite.h: Add entries for exp.
8391 * math/e_expl.c: Add __*_finite alias.
8392 * sysdeps/i386/fpu/e_exp.S: Likewise.
8393 * sysdeps/i386/fpu/e_expf.S: Likewise.
8394 * sysdeps/i386/fpu/e_expl.c: Likewise.
8395 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8396 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8397 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8400 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8401 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8402
ba1a0d59
UD
8403 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8404 is sufficient, at least on modern CPUs.
8405
fd5bdc09
UD
8406 * ctype/ctype-info.c (__ctype_init): Define.
8407 * include/ctype.h (__ctype_init): Declare.
8408 (__ctype_b_loc): The variable is always initialized.
8409 (__ctype_toupper_loc): Likewise.
8410 (__ctype_tolower_loc): Likewise.
8411 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8412 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8413
7872cfb0
AS
84142011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8415
b468825a
AS
8416 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8417
7872cfb0
AS
8418 * configure.in: Also look in $cxxmachine/include for C++ system
8419 headers.
8420
be13f7bf
LD
84212011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8422
8423 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8424 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8425 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8426 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8427 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8428 (USE_AS_WMEMCMP): New macro.
8429 Fixing indents.
8430 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8431 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8432 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8433 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8435 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8436 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8437 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8438 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8439 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8440 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8441 (USE_AS_WMEMCMP): New macro.
8442 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8443 * sysdeps/string/test-memcmp.c: Update.
8444 Fix simple_wmemcmp.
8445 Add new tests.
8446 * wcsmbs/wmemcmp.c: Update.
8447 (WMEMCMP): New macro.
8448 Fix overflow bug.
8449
556a2007
AJ
84502011-10-12 Andreas Jaeger <aj@suse.de>
8451
8452 [BZ #13268]
8453 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8454
538faaa7
UD
84552011-10-15 Ulrich Drepper <drepper@gmail.com>
8456
ab6737ff
UD
8457 * libio/iofwide.c (do_length): Avoid warning.
8458
538faaa7
UD
8459 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8460
396a21b1
UD
84612011-10-14 Ulrich Drepper <drepper@gmail.com>
8462
cdf2901f
UD
8463 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8464
38ad40ce
UD
8465 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8466 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8467 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8468 * sysdeps/i386/i686/fpu/e_log.S: New file.
8469 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8470 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8471
396a21b1
UD
8472 * ctype/ctype.h: Add support for inlined isXXX functions when
8473 compiling C++ code.
8474
6b1f68c9
AS
84752011-10-14 Andreas Schwab <schwab@redhat.com>
8476
349290c0
AS
8477 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8478
6b1f68c9
AS
8479 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8480
f2282d42
RM
84812011-10-13 Roland McGrath <roland@hack.frob.com>
8482
8483 [BZ #13291]
8484 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8485
5298ffa8
AS
84862011-10-13 Andreas Schwab <schwab@redhat.com>
8487
714fad23
AS
8488 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8489 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8490 feraiseexcept.
8491
81dcc7fb
AS
8492 * sysdeps/x86_64/memrchr.S: Check for zero size.
8493
5298ffa8
AS
8494 * string/stratcliff.c: Add memrchr tests.
8495
951fbcec
LD
84962011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8497
8498 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8499 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8500 rawmemchr-sse2 rawmemchr-sse2-bsf.
8501 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8502 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8503 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8504 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8505 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8506 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8507 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8508 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8509 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8510 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8511 * string/memrchr.c (MEMRCHR): New macro.
8512
0ac5ae23
UD
85132011-10-12 Ulrich Drepper <drepper@gmail.com>
8514
8515 Add integration with gcc's -ffinite-math-only and optimize wrapper
8516 functions in libm.
8517 * Versions.def: Define GLIBC_2.15 version for libm.
8518 * math/Makefile (headers): Add bits/math-finite.h.
8519 * math/bits/math-finite.h: New file.
8520 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8521 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8522 * math/e_acoshl.c: Add __*_finite alias.
8523 * math/e_acosl.c: Likewise.
8524 * math/e_asinl.c: Likewise.
8525 * math/e_atan2l.c: Likewise.
8526 * math/e_atanhl.c: Likewise.
8527 * math/e_coshl.c: Likewise.
8528 * math/e_exp10.c: Likewise.
8529 * math/e_exp10f.c: Likewise.
8530 * math/e_exp10l.c: Likewise.
8531 * math/e_exp2l.c: Likewise.
8532 * math/e_fmodl.c: Likewise.
8533 * math/e_gammal_r.c: Likewise.
8534 * math/e_hypotl.c: Likewise.
8535 * math/e_j0l.c: Likewise.
8536 * math/e_j1l.c: Likewise.
8537 * math/e_jnl.c: Likewise.
8538 * math/e_lgammal_r.c: Likewise.
8539 * math/e_log10l.c: Likewise.
8540 * math/e_log2l.c: Likewise.
8541 * math/e_logl.c: Likewise.
8542 * math/e_powl.c: Likewise.
8543 * math/e_sinhl.c: Likewise.
8544 * math/e_sqrtl.c: Likewise.
8545 * math/e_scalb.c: Completely rewritten and optimized.
8546 * math/e_scalbf.c: Likewise.
8547 * math/e_scalbl.c: Likewise.
8548 * math/w_acos.c: Likewise.
8549 * math/w_acosf.c: Likewise.
8550 * math/w_acosl.c: Likewise.
8551 * math/w_acosh.c: Likewise.
8552 * math/w_acoshf.c: Likewise.
8553 * math/w_acoshl.c: Likewise.
8554 * math/w_asin.c: Likewise.
8555 * math/w_asinf.c: Likewise.
8556 * math/w_asinl.c: Likewise.
8557 * math/w_atan2.c: Likewise.
8558 * math/w_atan2f.c: Likewise.
8559 * math/w_atan2l.c: Likewise.
8560 * math/w_atanh.c: Likewise.
8561 * math/w_atanhf.c: Likewise.
8562 * math/w_atanhl.c: Likewise.
8563 * math/w_exp10.c: Likewise.
8564 * math/w_exp10f.c: Likewise.
8565 * math/w_exp10l.c: Likewise.
8566 * math/w_fmod.c: Likewise.
8567 * math/w_fmodf.c: Likewise.
8568 * math/w_fmodl.c: Likewise.
8569 * math/w_j0.c: Likewise.
8570 * math/w_j0f.c: Likewise.
8571 * math/w_j0l.c: Likewise.
8572 * math/w_j1.c: Likewise.
8573 * math/w_j1f.c: Likewise.
8574 * math/w_j1l.c: Likewise.
8575 * math/w_jn.c: Likewise.
8576 * math/w_jnf.c: Likewise.
8577 * math/w_log.c: Likewise.
8578 * math/w_logf.c: Likewise.
8579 * math/w_logl.c: Likewise.
8580 * math/w_log10.c: Likewise.
8581 * math/w_log10f.c: Likewise.
8582 * math/w_log10l.c: Likewise.
8583 * math/w_log2.c: Likewise.
8584 * math/w_log2f.c: Likewise.
8585 * math/w_log2l.c: Likewise.
8586 * math/w_pow.c: Likewise.
8587 * math/w_powf.c: Likewise.
8588 * math/w_powl.c: Likewise.
8589 * math/w_remainder.c: Likewise.
8590 * math/w_remainderf.c: Likewise.
8591 * math/w_remainderl.c: Likewise.
8592 * math/w_scalb.c: Likewise.
8593 * math/w_scalbf.c: Likewise.
8594 * math/w_scalbl.c: Likewise.
8595 * math/w_sqrt.c: Likewise.
8596 * math/w_sqrtf.c: Likewise.
8597 * math/w_sqrtl.c: Likewise.
8598 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8599 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8600 used.
8601 * math/math_private.h: Declare __kernel_standard_f.
8602 * math/w_cosh.c: Remove cruft and optimize a bit.
8603 * math/w_coshf.c: Likewise.
8604 * math/w_coshl.c: Likewise.
8605 * math/w_exp2.c: Likewise.
8606 * math/w_exp2f.c: Likewise.
8607 * math/w_exp2l.c: Likewise.
8608 * math/w_hypot.c: Likewise.
8609 * math/w_hypotf.c: Likewise.
8610 * math/w_hypotl.c: Likewise.
8611 * math/w_lgamma.c: Likewise.
8612 * math/w_lgamma_r.c: Likewise.
8613 * math/w_lgammaf.c: Likewise.
8614 * math/w_lgammaf_r.c: Likewise.
8615 * math/w_lgammal.c: Likewise.
8616 * math/w_lgammal_r.c: Likewise.
8617 * math/w_sinh.c: Likewise.
8618 * math/w_sinhf.c: Likewise.
8619 * math/w_sinhl.c: Likewise.
8620 * math/w_tgamma.c: Likewise.
8621 * math/w_tgammaf.c: Likewise.
8622 * math/w_tgammal.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8624 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8625 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8626 Minor optimizations. Pretty printing. Remove cruft.
8627 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8628 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8629 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8630 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8631 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8632 * sysdeps/i386/fpu/e_asin.S: Likewise.
8633 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8634 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8635 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8636 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8637 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8638 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8639 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8640 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8641 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8642 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8643 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8644 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8645 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8646 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8647 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8648 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8649 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8650 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8651 * sysdeps/i386/fpu/e_log.S: Likewise.
8652 * sysdeps/i386/fpu/e_log10.S: Likewise.
8653 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8654 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8655 * sysdeps/i386/fpu/e_log2.S: Likewise.
8656 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8657 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8658 * sysdeps/i386/fpu/e_logf.S: Likewise.
8659 * sysdeps/i386/fpu/e_logl.S: Likewise.
8660 * sysdeps/i386/fpu/e_pow.S: Likewise.
8661 * sysdeps/i386/fpu/e_powf.S: Likewise.
8662 * sysdeps/i386/fpu/e_powl.S: Likewise.
8663 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8664 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8665 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8666 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8667 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8668 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8669 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8670 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8671 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8693 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8694 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8695 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8696 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8697 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8698 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8699 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8700 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8701 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8702 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8703 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8704 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8705 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8706 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8707 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8708 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8709 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8710 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8711 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8712 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8713 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8752 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8755 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8757 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8758 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8760 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8763 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8764 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8765 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8766 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8767 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8768 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8769 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8770 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8771 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8772 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8773 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8774 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8775 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8776 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8777 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8778 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8779 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8780 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8781 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8782 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8783 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8784 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8785 (__isnanf): Likewise.
8786 (__isinf_ns): Likewise.
8787 (__isinf_nsf): Likewise.
8788 (__finite): Likewise.
8789 (__finitef): Likewise.
8790 (__ieee754_sqrt): Define as macro.
8791 (__ieee754_sqrtf): Define as macro.
8792 (__ieee754_sqrtl): Define as macro.
8793 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8794 inlined copy.
8795 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8796 __FINITE_MATH_ONLY__ consistent.
8797 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8798
12cc2fcd
AS
87992011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8800
a843a204
AS
8801 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8802 of rawmemchr.
8803
12cc2fcd
AS
8804 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8805
c853acd5
UD
88062011-10-09 Ulrich Drepper <drepper@gmail.com>
8807
8808 * po/ja.po: Update from translation team.
8809
c658d255
RM
88102011-10-08 Roland McGrath <roland@hack.frob.com>
8811
110946e4
RM
8812 * locale/programs/locarchive.c (prepare_address_space): New function.
8813 (create_archive, enlarge_archive, open_archive): Use it.
8814
50604220
RM
8815 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8816 inside [SHARED], where it is used.
8817
c658d255
RM
8818 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8819
8820 * nss/getent.c (netgroup_keys): Remove unused variable.
8821 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8822
6a621eb7
UD
88232011-10-08 Ulrich Drepper <drepper@gmail.com>
8824
7edb55ce
UD
8825 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8826 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8827 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8828 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8829 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8830 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8831 * math/Makefile (libm-calls): Add s_isinf_ns.
8832 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8833 * math/multc3.c: Likewise.
8834 * math/s_casin.c: Likewise.
8835 * math/s_casinf.c: Likewise.
8836 * math/s_casinl.c: Likewise.
8837 * math/s_ccos.c: Likewise.
8838 * math/s_ccosf.c: Likewise.
8839 * math/s_ccosl.c: Likewise.
8840 * math/s_ctan.c: Likewise.
8841 * math/s_ctanf.c: Likewise.
8842 * math/s_ctanh.c: Likewise.
8843 * math/s_ctanhf.c: Likewise.
8844 * math/s_ctanhl.c: Likewise.
8845 * math/s_ctanl.c: Likewise.
8846 * math/w_fmod.c: Likewise.
8847 * math/w_fmodf.c: Likewise.
8848 * math/w_fmodl.c: Likewise.
8849 * math/w_remainder.c: Likewise.
8850 * math/w_remainderf.c: Likewise.
8851 * math/w_remainderl.c: Likewise.
8852 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8853 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8854 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8855 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8856 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8857 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8858 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8859 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8860
187da0ae
UD
8861 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8862 of the number.
8863 * stdio-common/printf_fphex.c: Likewise.
8864 * stdio-common/printf_size.c: Likewise.
8865
9277c064
UD
8866 * math/e_exp10.c: Include math_private.h using <...> not "...".
8867 * math/e_exp10f.c: Likewise.
8868 * math/e_exp10l.c: Likewise.
8869 * math/e_exp2l.c: Likewise.
8870 * math/e_j0l.c: Likewise.
8871 * math/e_j1l.c: Likewise.
8872 * math/e_jnl.c: Likewise.
8873 * math/e_lgammal_r.c: Likewise.
8874 * math/e_rem_pio2l.c: Likewise.
8875 * math/e_scalb.c: Likewise.
8876 * math/e_scalbf.c: Likewise.
8877 * math/e_scalbl.c: Likewise.
8878 * math/k_cosl.c: Likewise.
8879 * math/k_sinl.c: Likewise.
8880 * math/k_tanl.c: Likewise.
8881 * math/s_cacoshf.c: Likewise.
8882 * math/s_catan.c: Likewise.
8883 * math/s_catanf.c: Likewise.
8884 * math/s_catanh.c: Likewise.
8885 * math/s_catanhf.c: Likewise.
8886 * math/s_catanhl.c: Likewise.
8887 * math/s_catanl.c: Likewise.
8888 * math/s_ccosh.c: Likewise.
8889 * math/s_ccoshf.c: Likewise.
8890 * math/s_ccoshl.c: Likewise.
8891 * math/s_cexp.c: Likewise.
8892 * math/s_cexpf.c: Likewise.
8893 * math/s_cexpl.c: Likewise.
8894 * math/s_clog.c: Likewise.
8895 * math/s_clog10.c: Likewise.
8896 * math/s_clog10f.c: Likewise.
8897 * math/s_clog10l.c: Likewise.
8898 * math/s_clogf.c: Likewise.
8899 * math/s_clogl.c: Likewise.
8900 * math/s_csin.c: Likewise.
8901 * math/s_csinf.c: Likewise.
8902 * math/s_csinh.c: Likewise.
8903 * math/s_csinhf.c: Likewise.
8904 * math/s_csinhl.c: Likewise.
8905 * math/s_csinl.c: Likewise.
8906 * math/s_csqrt.c: Likewise.
8907 * math/s_csqrtf.c: Likewise.
8908 * math/s_csqrtl.c: Likewise.
8909 * math/s_ctan.c: Likewise.
8910 * math/s_ctanf.c: Likewise.
8911 * math/s_ctanh.c: Likewise.
8912 * math/s_ctanhf.c: Likewise.
8913 * math/s_ctanhl.c: Likewise.
8914 * math/s_ctanl.c: Likewise.
8915 * math/s_ldexp.c: Likewise.
8916 * math/s_ldexpf.c: Likewise.
8917 * math/s_ldexpl.c: Likewise.
8918 * math/s_significand.c: Likewise.
8919 * math/s_significandf.c: Likewise.
8920 * math/s_significandl.c: Likewise.
8921 * math/w_acos.c: Likewise.
8922 * math/w_acosf.c: Likewise.
8923 * math/w_acosh.c: Likewise.
8924 * math/w_acoshf.c: Likewise.
8925 * math/w_acoshl.c: Likewise.
8926 * math/w_acosl.c: Likewise.
8927 * math/w_asin.c: Likewise.
8928 * math/w_asinf.c: Likewise.
8929 * math/w_asinl.c: Likewise.
8930 * math/w_atan2.c: Likewise.
8931 * math/w_atan2f.c: Likewise.
8932 * math/w_atan2l.c: Likewise.
8933 * math/w_atanh.c: Likewise.
8934 * math/w_atanhf.c: Likewise.
8935 * math/w_atanhl.c: Likewise.
8936 * math/w_cosh.c: Likewise.
8937 * math/w_coshf.c: Likewise.
8938 * math/w_coshl.c: Likewise.
8939 * math/w_dremf.c: Likewise.
8940 * math/w_exp10.c: Likewise.
8941 * math/w_exp10f.c: Likewise.
8942 * math/w_exp10l.c: Likewise.
8943 * math/w_exp2.c: Likewise.
8944 * math/w_exp2f.c: Likewise.
8945 * math/w_fmod.c: Likewise.
8946 * math/w_fmodf.c: Likewise.
8947 * math/w_fmodl.c: Likewise.
8948 * math/w_hypot.c: Likewise.
8949 * math/w_hypotf.c: Likewise.
8950 * math/w_hypotl.c: Likewise.
8951 * math/w_j0.c: Likewise.
8952 * math/w_j0f.c: Likewise.
8953 * math/w_j0l.c: Likewise.
8954 * math/w_j1.c: Likewise.
8955 * math/w_j1f.c: Likewise.
8956 * math/w_j1l.c: Likewise.
8957 * math/w_jn.c: Likewise.
8958 * math/w_jnf.c: Likewise.
8959 * math/w_jnl.c: Likewise.
8960 * math/w_lgamma.c: Likewise.
8961 * math/w_lgamma_r.c: Likewise.
8962 * math/w_lgammaf.c: Likewise.
8963 * math/w_lgammaf_r.c: Likewise.
8964 * math/w_lgammal.c: Likewise.
8965 * math/w_lgammal_r.c: Likewise.
8966 * math/w_log.c: Likewise.
8967 * math/w_log10.c: Likewise.
8968 * math/w_log10f.c: Likewise.
8969 * math/w_log10l.c: Likewise.
8970 * math/w_log2.c: Likewise.
8971 * math/w_log2f.c: Likewise.
8972 * math/w_log2l.c: Likewise.
8973 * math/w_logf.c: Likewise.
8974 * math/w_logl.c: Likewise.
8975 * math/w_pow.c: Likewise.
8976 * math/w_powf.c: Likewise.
8977 * math/w_powl.c: Likewise.
8978 * math/w_remainder.c: Likewise.
8979 * math/w_remainderf.c: Likewise.
8980 * math/w_remainderl.c: Likewise.
8981 * math/w_scalb.c: Likewise.
8982 * math/w_scalbf.c: Likewise.
8983 * math/w_scalbl.c: Likewise.
8984 * math/w_sinh.c: Likewise.
8985 * math/w_sinhf.c: Likewise.
8986 * math/w_sinhl.c: Likewise.
8987 * math/w_sqrt.c: Likewise.
8988 * math/w_sqrtf.c: Likewise.
8989 * math/w_sqrtl.c: Likewise.
8990 * math/w_tgamma.c: Likewise.
8991 * math/w_tgammaf.c: Likewise.
8992 * math/w_tgammal.c: Likewise.
8993
6a621eb7
UD
8994 * po/ja.po: Update from translation team.
8995
bf582445
AJ
89962011-09-29 Andreas Jaeger <aj@suse.de>
8997
f9efbf3a
AJ
8998 [BZ #13179]
8999 * sunrpc/netname.c (netname2host): Fix logic.
9000
bf582445
AJ
9001 [BZ #6779]
9002 [BZ #6783]
9003 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9004 correctly.
9005 * math/w_remainder.c (__remainder): Likewise.
9006 * math/w_remainderf.c (__remainderf): Likewise.
9007 * math/libm-test.inc (remainder_test): Add test cases.
9008
48693bea
AK
90092011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9010
9011 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9012 sdiv_qrnnd.
9013
42622229
LD
90142011-10-07 Ulrich Drepper <drepper@gmail.com>
9015
9016 * string/test-memcmp.c: Avoid unncessary #defines.
9017 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9018
093ecf92
LD
90192011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9020
9021 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9022 Use new sse2 version for core i3 - i7 as it's faster
9023 than sse42 version.
9024 (bit_Prefer_PMINUB_for_stringop): New.
9025 * sysdeps/x86_64/rawmemchr.S: Update.
9026 Replace with faster SSE2 version.
9027 * sysdeps/x86_64/memrchr.S: New file.
9028 * sysdeps/x86_64/memchr.S: Update.
9029 Replace with faster SSE2 version.
9030
fde56e5c
MP
90312011-09-12 Marek Polacek <mpolacek@redhat.com>
9032
9033 * elf/dl-load.c (lose): Add cast to avoid warning.
9034
21fd49a9
UD
90352011-10-07 Ulrich Drepper <drepper@gmail.com>
9036
5a06e643
UD
9037 * po/ca.po: Update from translation team.
9038
684ae515
UD
9039 * inet/getnetgrent_r.c: Hook up nscd.
9040 * nscd/Makefile (routines): Add nscd_netgroup.
9041 (nscd-modules): Add netgroupcache.
9042 (CFLAGS-netgroupcache.c): Define.
9043 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9044 (cache_search): Add const to second parameter.
9045 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9046 INNETGR.
9047 (dbs): Add netgrdb entry.
9048 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9049 (verify_persistent_db): Handle netgrdb.
9050 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9051 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9052 GETFDNETGR.
9053 (netgroup_response_header): Define.
9054 (innetgroup_response_header): Define.
9055 (datahead): Add netgroup_response_header and innetgroup_response_header
9056 elements.
9057 * nscd/nscd.conf: Add entries for netgroup cache.
9058 * nscd/nscd.h (dbtype): Add netgrdb.
9059 (_PATH_NSCD_NETGROUP_DB): Define.
9060 (netgroup_iov_disabled): Declare.
9061 (xmalloc, xcalloc, xrealloc): Move declarations here.
9062 (cache_search): Adjust prototype.
9063 Add netgroup-related prototypes.
9064 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9065 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9066 (__nscd_innetgr): Declare.
9067 * nscd/selinux.c (perms): Use access_vector_t as element type and
9068 add netgroup-related initializers.
9069 * nscd/netgroupcache.c: New file.
9070 * nscd/nscd_netgroup.c: New file.
9071 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9072 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9073 For four parameters use innetgr.
9074 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9075 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9076 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9077 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9078
21fd49a9
UD
9079 * nscd/connections.c (register_traced_file): Don't register file
9080 for disabled databases.
9081
054c0457
UD
90822011-10-06 Ulrich Drepper <drepper@gmail.com>
9083
32b63198
UD
9084 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9085
054c0457
UD
9086 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9087 from tree and freeing node.
9088
64031225
JO
90892011-09-25 Jiri Olsa <jolsa@redhat.com>
9090
9091 * nss/nsswitch.c (__nss_database_lookup): Handle
9092 nss_parse_service_list out of memory case.
9093
0490345c
JO
90942011-09-15 Jiri Olsa <jolsa@redhat.com>
9095
9096 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9097 out of memory case.
9098
3a62d00d
AS
90992011-10-04 Andreas Schwab <schwab@redhat.com>
9100
9101 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9102 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9103 pass it down.
9104 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9105 elf_machine_rela, elf_machine_lazy_rel.
9106 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9107 (ELF_DYNAMIC_DO_REL): Likewise.
9108 (ELF_DYNAMIC_DO_RELA): Likewise.
9109 (ELF_DYNAMIC_RELOCATE): Likewise.
9110 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9111 to ELF_DYNAMIC_DO_REL.
9112 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9113 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9114 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9115 elf_machine_rela.
9116 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9117 skip_ifunc, don't call ifunc function if non-zero.
9118 (elf_machine_rela): Likewise.
9119 (elf_machine_lazy_rel): Likewise.
9120 (elf_machine_lazy_rela): Likewise.
9121 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9122 (elf_machine_lazy_rel): Likewise.
9123 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9124 Likewise.
9125 (elf_machine_lazy_rel): Likewise.
9126 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9127 Likewise.
9128 (elf_machine_lazy_rel): Likewise.
9129 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9130 (elf_machine_lazy_rel): Likewise.
9131 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9132 (elf_machine_lazy_rel): Likewise.
9133 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9134 (elf_machine_lazy_rel): Likewise.
9135 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9136 (elf_machine_lazy_rel): Likewise.
9137 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9138 (elf_machine_lazy_rel): Likewise.
9139 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9140 (elf_machine_lazy_rel): Likewise.
9141
68577918
UD
91422011-09-28 Ulrich Drepper <drepper@gmail.com>
9143
9144 * nss/nss_files/files-init.c (_nss_files_init): Use static
9145 initialization for all the *_traced_file variables.
9146
68822d74
AS
91472011-09-28 Andreas Schwab <schwab@redhat.com>
9148
9149 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9150
2056100b
RM
91512011-09-27 Roland McGrath <roland@hack.frob.com>
9152
9153 [BZ #13226]
9154 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9155
32c76b63
AS
91562011-09-27 Andreas Schwab <schwab@redhat.com>
9157
9158 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9159 Reread the line before reparsing it.
9160
bf972c9d
AS
91612011-09-26 Andreas Schwab <schwab@redhat.com>
9162
9163 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9164
e057a1b5
JM
91652011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9166 Maxim Kuvyrkov <maxim@codesourcery.com>
9167 Joseph Myers <joseph@codesourcery.com>
9168
9169 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9170 if needed for __stack_chk_guard.
9171
bc7e1c36
RM
91722011-09-19 Roland McGrath <roland@hack.frob.com>
9173
ecb1482f
RM
9174 * sysdeps/posix/spawni.c (script_execute): Always define it.
9175 It will be optimized away if unused.
9176 (maybe_script_execute): New function.
9177 (__spawni): Call it.
9178
bc7e1c36
RM
9179 * Makerules: Don't include tls.make.
9180 (config-tls): Always set to thread.
9181 * tls.make.c: File removed.
9182
1c3b002b
MF
91832011-09-19 Mike Frysinger <vapier@gentoo.org>
9184
9185 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9186 * config.make.in (CPPFLAGS-config): New substituted variable.
9187
2840865d
UD
91882011-09-15 Ulrich Drepper <drepper@gmail.com>
9189
88738eb6
UD
9190 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9191
cbf645a6 9192 [BZ #13192]
2840865d
UD
9193 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9194 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9195
b402e91a
RM
91962011-09-15 Roland McGrath <roland@hack.frob.com>
9197
9198 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9199 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9200 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9201 (CALL_FAIL): Likewise.
9202 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9203 (CALL_FAIL): Macro removed.
9204 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9205
4c1a1f71
UD
92062011-09-15 Ulrich Drepper <drepper@gmail.com>
9207
9208 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9209 for __FINITE_MATH_ONLY__ == 1.
9210
edc121be
AS
92112011-09-15 Andreas Schwab <schwab@redhat.com>
9212
9213 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9214 __ieee754_sqrt instead of sqrt.
9215 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9216 __ieee754_sqrtf instead of sqrtf.
9217 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9218 __floorf instead of floorf.
9219 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9220 __floorf, __truncf instead of floorf, truncf.
9221
cd205654
UD
92222011-09-14 Ulrich Drepper <drepper@gmail.com>
9223
ee4d0315
UD
9224 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9225
cd205654
UD
9226 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9227 __extern_always_inline.
9228 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9229 32-bit.
9230
48b67d71
AS
92312011-09-14 Andreas Schwab <schwab@redhat.com>
9232
9233 * elf/rtld.c (dl_main): Also relocate in dependency order when
9234 doing symbol dependency testing.
9235
1ae12c75
AS
92362011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9237
9238 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9239 Always define `refsym'.
9240
995a80df
AS
92412011-09-13 Andreas Schwab <schwab@redhat.com>
9242
e529793b
AS
9243 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9244 (__FD_ELT): Renamed from __FDELT.
9245 * misc/bits/select2.h (__FD_ELT): Likewise.
9246 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9247 __FD_MASK instead of __FDELT, __FDMASK.
9248 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9249 Likewise.
9250 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9251 Likewise.
9252
52d4fef8
AS
9253 * elf/Makefile (gen-ldd): Fix pattern.
9254
995a80df
AS
9255 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9256 (init_tls): Likewise.
9257
8682f8b0
UD
92582011-09-12 Ulrich Drepper <drepper@gmail.com>
9259
9260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9261
de82006d
AS
92622011-09-12 Andreas Schwab <schwab@redhat.com>
9263
a7c8e6a1
AS
9264 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9265 `struct cmsghdr *' instead of `void *'.
9266 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9267 Likewise.
9268
0f31fe77
AS
92692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9270
9271 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9272 if non-absolute.
9273 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9274 ldd_rewrite_script.
0f31fe77 9275
32b4c839
UD
92762011-09-11 Ulrich Drepper <drepper@gmail.com>
9277
83cd1420
UD
9278 * configure.in: Remove --with-tls option.
9279 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9280 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9281 out in case it is missing.
9282 * sysdeps/ia64/elf/configure.in: Likewise.
9283 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9284 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9285 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9286 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9287 * sysdeps/sh/elf/configure.in: Likewise.
9288 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9289 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9290 * sysdeps/x86_64/elf/configure.in: Likewise.
9291 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9292 * sysdeps/mach/hurd/tls.h: Likewise.
9293
633f745d
UD
9294 [BZ #13067]
9295 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9296
f318beb8
UD
9297 [BZ #13090]
9298 * configure.in: Fix use of AC_INIT.
9299
32b4c839
UD
9300 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9301
3ce1f295
UD
93022011-09-10 Ulrich Drepper <drepper@gmail.com>
9303
bb016596
UD
9304 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9305 __set_errno.
8e58439c
UD
9306 * malloc/hooks.c: Likewise.
9307
aebae053 9308 [BZ #11929]
02d46fc4
UD
9309 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9310 variables statically.
9311 (narenas): Initialize.
9312 (list_lock): Initialize.
bb016596
UD
9313 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9314 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9315 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9316 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9317 Add initializers to main_arena and mp_.
9318 (malloc_state): Remove pagesize member. Change all users to use
9319 GLRO(dl_pagesize).
9320
9321 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9322 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9323 is always initialized.
9324
22a89187
UD
9325 * malloc/malloc.c: Removed unused configurations and dead code.
9326 * malloc/arena.c: Likewise.
9327 * malloc/hooks.c: Likewise.
02d46fc4 9328 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9329
d063d164
UD
9330 * include/tls.h: Removed. USE___THREAD must always be defined.
9331 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9332 * elf/dl-libc.c: Likewise.
9333 * elf/dl-tsd.c: Likewise.
9334 * include/errno.h: Likewise.
9335 * include/netdb.h: Likewise.
9336 * include/resolv.h: Likewise.
9337 * inet/herrno-loc.c: Likewise.
9338 * inet/herrno.c: Likewise.
9339 * malloc/arena.c: Likewise.
9340 * malloc/hooks.c: Likewise.
9341 * malloc/malloc.c: Likewise.
9342 * resolv/res-state.c: Likewise.
9343 * resolv/res_libc.c: Likewise.
9344 * sysdeps/i386/dl-machine.h: Likewise.
9345 * sysdeps/ia64/dl-machine.h: Likewise.
9346 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9347 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9348 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9349 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9350 * sysdeps/sh/dl-machine.h: Likewise.
9351 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9352 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9353 * sysdeps/unix/i386/sysdep.S: Likewise.
9354 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9355 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9356 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9357 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9358 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9359 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9360 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9361 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9364 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9365 * sysdeps/x86_64/dl-machine.h: Likewise.
9366 * tls.make.c: Likewise.
9367
3ce1f295
UD
9368 * configure.in: Remove --with-__thread option. Make tests for
9369 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9370 tls_model attribute fail if no support is available. Remove
9371 USE_IN_LIBIO.
9372 * Makeconfig: Adjust for dropped configure option. All features are
9373 now mandatory.
9374 * Makerules: Likewise.
9375 * Versions.def: Likewise.
9376 * argp/argp-fmtstream.c: Likewise.
9377 * argp/argp-fmtstream.h: Likewise.
9378 * argp/argp-help.c: Likewise.
9379 * assert/assert.c: Likewise.
9380 * config.h.in: Likewise.
9381 * config.make.in: Likewise.
9382 * configure: Likewise.
9383 * configure.in: Likewise.
9384 * csu/Versions: Likewise.
9385 * csu/init.c: Likewise.
9386 * elf/tst-audit2.c: Likewise.
9387 * elf/tst-tls10.c: Likewise.
9388 * elf/tst-tls10.h: Likewise.
9389 * elf/tst-tls11.c: Likewise.
9390 * elf/tst-tls12.c: Likewise.
9391 * elf/tst-tls14.c: Likewise.
9392 * elf/tst-tlsmod11.c: Likewise.
9393 * elf/tst-tlsmod12.c: Likewise.
9394 * elf/tst-tlsmod13.c: Likewise.
9395 * elf/tst-tlsmod13a.c: Likewise.
9396 * elf/tst-tlsmod14a.c: Likewise.
9397 * elf/tst-tlsmod15b.c: Likewise.
9398 * elf/tst-tlsmod16a.c: Likewise.
9399 * elf/tst-tlsmod16b.c: Likewise.
9400 * elf/tst-tlsmod7.c: Likewise.
9401 * elf/tst-tlsmod8.c: Likewise.
9402 * elf/tst-tlsmod9.c: Likewise.
9403 * gmon/gmon.c: Likewise.
9404 * grp/fgetgrent_r.c: Likewise.
9405 * grp/putgrent.c: Likewise.
9406 * hurd/fopenport.c: Likewise.
9407 * include/libc-symbols.h: Likewise.
9408 * include/tls.h: Likewise.
9409 * intl/gettextP.h: Likewise.
9410 * intl/loadinfo.h: Likewise.
9411 * locale/global-locale.c: Likewise.
9412 * locale/localeinfo.h: Likewise.
9413 * mach/devstream.c: Likewise.
9414 * malloc/arena.c: Likewise.
9415 * malloc/set-freeres.c: Likewise.
9416 * misc/err.c: Likewise.
9417 * misc/getttyent.c: Likewise.
9418 * misc/mntent_r.c: Likewise.
9419 * posix/getopt.c: Likewise.
9420 * posix/wordexp.c: Likewise.
9421 * pwd/fgetpwent_r.c: Likewise.
9422 * resolv/Versions: Likewise.
9423 * resolv/res_hconf.c: Likewise.
9424 * shadow/fgetspent_r.c: Likewise.
9425 * shadow/putspent.c: Likewise.
9426 * stdio-common/printf_fphex.c: Likewise.
9427 * stdio-common/tmpfile.c: Likewise.
9428 * stdlib/abort.c: Likewise.
9429 * stdlib/fmtmsg.c: Likewise.
9430 * sunrpc/auth_unix.c: Likewise.
9431 * sunrpc/clnt_perr.c: Likewise.
9432 * sunrpc/clnt_tcp.c: Likewise.
9433 * sunrpc/clnt_udp.c: Likewise.
9434 * sunrpc/clnt_unix.c: Likewise.
9435 * sunrpc/openchild.c: Likewise.
9436 * sunrpc/svc_simple.c: Likewise.
9437 * sunrpc/svc_tcp.c: Likewise.
9438 * sunrpc/svc_udp.c: Likewise.
9439 * sunrpc/svc_unix.c: Likewise.
9440 * sunrpc/xdr.c: Likewise.
9441 * sunrpc/xdr_array.c: Likewise.
9442 * sunrpc/xdr_rec.c: Likewise.
9443 * sunrpc/xdr_ref.c: Likewise.
9444 * sunrpc/xdr_stdio.c: Likewise.
9445
1248c1c4
PB
94462011-09-09 Ulrich Drepper <drepper@gmail.com>
9447
9448 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9449
94502011-07-03 Andreas Jaeger <aj@suse.de>
9451
9452 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9453 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9454 regenerate with gen-libm-tests.pl.
9455
94562010-05-12 Petr Baudis <pasky@suse.cz>
9457
9458 [BZ #11589]
9459 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9460 around j0() zero points by switching to j1().
9461 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9462 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9463 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9464 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9465
f22e1074
UD
94662011-09-09 Ulrich Drepper <drepper@gmail.com>
9467
f19009c1
UD
9468 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9469 instead of 0.
9470 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9471 instead of 0. .
9472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9473 Patch in part by Pavel Roskin <proski@gnu.org>.
9474
3f8cc204
UD
9475 [BZ #13138]
9476 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9477 realloc.
9478 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9479 Free memory block if necessary.
9480
f22e1074
UD
9481 [BZ #12847]
9482 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9483 be NULL. Don't lock in this case.
9484
0a2349f9
RM
94852011-09-09 Roland McGrath <roland@hack.frob.com>
9486
9487 * elf/elf.h (ELFOSABI_GNU): New macro.
9488 (ELFOSABI_LINUX): Define to that.
9489
f3cdd467
DZ
94902011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9491
9492 * string/strncat.c (strncat): Undef the symbol in case it has been
9493 defined in bits/string.h.
9494
74718d13
UD
94952011-09-09 Ulrich Drepper <drepper@gmail.com>
9496
633e9e0f
UD
9497 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9498
0a2349f9 9499 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9500 link map.
9501
f9924780
AJ
95022011-08-17 Andreas Jaeger <aj@suse.de>
9503
9504 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9505
7f5517aa
PP
95062011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9507 Ian Lance Taylor <iant@google.com>
9508
9509 * math/libm-test.inc (lround_test): New testcase.
9510 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9511
762011fe
UD
95122011-09-08 Ulrich Drepper <drepper@gmail.com>
9513
92963737
UD
9514 * Makefile: Remove support for automatic cvs check-ins.
9515 * Makerules: Likewise.
9516 * config.make.in: Likewise.
9517 * configure.in: Likewise.
9518 * intl/Makefile: Likewise.
9519 * locale/Makefile: Likewise.
9520 * po/Makefile: Likewise.
9521 * posix/Makefile: Likewise.
9522 * sysdeps/gnu/Makefile: Likewise.
9523 * sysdeps/mach/hurd/Makefile: Likewise.
9524 * sysdeps/sparc/sparc32/Makefile: Likewise.
9525
b0727fd8
JS
9526 [BZ #13118]
9527 * posix/Makefile (bug-regex32-ENV): Define.
9528 Patch by John Stanley <jpsinthemix@verizon.net>.
9529
a0f33f99
UD
9530 * misc/Makefile (headers): Add bits/select2.h.
9531 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9532 * misc/bits/select2.h: New file.
9533 * include/bits/select2.h: New file.
9534 * debug/Makefile (routines): Add fdelt_chk.
9535 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9536 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9537 FD_ISSET.
9538 * debug/fdelt_chk.c: New file.
9539
762011fe
UD
9540 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9541 * wcsmbs/test-wmemcmp.c: Likewise.
9542 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9543 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9544
95452011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9546
9547 * string/Makefile (strop-tests): Add memcmp.
9548 * string/test-wmemcmp.c: New file.
9549 * string/test-memcmp.c: Add wmemcmp support.
9550
7f513ec8
RM
95512011-09-08 Roland McGrath <roland@hack.frob.com>
9552
0442afb4
RM
9553 [BZ #13153]
9554 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9555 2011-07-19 change.
9556
7f513ec8
RM
9557 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9558 garbage value in a __mach_port_mod_refs call in the cases of the
9559 task-self and thread-self ports.
9560
a12b2239
ST
95612011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9562
9563 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9564
610f9ab4
AS
95652011-09-08 Andreas Schwab <schwab@redhat.com>
9566
7f513ec8 9567 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9568
48882a1a
LD
95692011-09-07 Ulrich Drepper <drepper@gmail.com>
9570
b49865be
UD
9571 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9572
fdc86bc9
UD
9573 * elf/dl-libc.c (dlerror_run): Pass back error code from
9574 dl_catch_error.
9575
c966526a
UD
9576 [BZ #13123]
9577 * elf/dl-load.c (lose): Free l_origin if it is valid.
9578
48882a1a
LD
9579 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9580 names.
9581 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9582 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9583 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9584 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9585 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9586 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9587
77a2a8b4
AZ
95882011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9589
9590 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9591 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9592 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9593 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9594 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9595 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9596 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9597 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9598 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9599 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9600
24f579d8
AM
96012011-08-15 Alan Modra <amodra@gmail.com>
9602
9603 [BZ #13092]
9604 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9605 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9606 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9607 ppc_mcount to static-only-routines.
9608 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9609 __mcount_internal.
9610 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9611 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9612
3d4837df
UD
96132011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9614
9615 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9616 for finite and infinity parameters.
9617
22700377
WS
96182011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9619
9620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9621 and add nop instructions for throughput optimization.
9622 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9623
5025581e
WS
96242011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9625
9626 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9627 aligned copy for power7 with vector-scalar instructions.
9628 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9629
08a300c9
L
96302011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9631
9632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9633 AVX check.
9634
59178ef9
AS
96352011-09-07 Andreas Schwab <schwab@redhat.com>
9636
9637 [BZ #13144]
9638 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9639 last change.
9640
e38ba7ab
UD
96412011-09-07 Ulrich Drepper <drepper@gmail.com>
9642
9643 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9644 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9645 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9646 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9647 clock_gettime.
9648
d53a73ac
UD
96492011-09-06 Ulrich Drepper <drepper@gmail.com>
9650
fc8bffcc
UD
9651 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9652 Forgot to demangle the pointer.
9653
ceaa0c5d
UD
9654 * sysdeps/i386/sysdep.h: Define atom_text_section.
9655 * sysdeps/x86_64/sysdep.h: Likewise.
9656 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9657 section with atom_text_section.
9658 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9659 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9660 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9661 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9662 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9663
a77d3c17
UD
9664 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9665 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9666 already be defined. Change to take two parameters and don't assign
9667 result to variable. Adjust all users.
9668 Define INTERNAL_GETTIME if not already defined.
9669 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9670 call.
9671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9672 HAVE_CLOCK_GETTIME_VSYSCALL.
9673 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9674
d53a73ac
UD
9675 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9676 gettimeofday vsyscall, just use time.
9677
a8f84144
AS
96782011-09-06 Andreas Schwab <schwab@redhat.com>
9679
9680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9681 <errno.h>.
9682
ef606249
UD
96832011-09-06 Ulrich Drepper <drepper@gmail.com>
9684
9685 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9686 syscall on x86-64.
9687 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9688 syscall.
9689 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9690 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9691 syscall if possible.
9692
6585cb60
UD
96932011-09-05 Ulrich Drepper <drepper@gmail.com>
9694
9695 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9696 e_ident. Don't pass to find_mapsXX.
9697 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9698
a5f524e4
LD
96992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9700
9701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9702 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9703 * sysdeps/x86_64/multiarch/strchr.S: Update.
9704 Check bit_slow_BSF bit.
9705 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9706 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9707 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9708
554881ef
UD
97092011-09-05 Ulrich Drepper <drepper@gmail.com>
9710
d96de963
UD
9711 [BZ #13134]
9712 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9713 before glibc 2.15.
9714 (tryshell): Define.
9715 (__spawni): Change last parameter to be flag. Test
9716 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9717 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9718 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9719 * posix/spawni.c: Likewise.
9720 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9721 * posix/spawnp.c: Likewise. Change normal version to use
9722 SPAWN_XFLAGS_USE_PATH.
9723 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9724 SPAWN_XFLAGS_TRY_SHELL.
9725
d48e5868
UD
9726 [BZ #13150]
9727 * posix/glob.h: Remove gcc 1.x support.
9728
554881ef
UD
9729 [BZ #13068]
9730 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9731
693fb948
LD
97322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9733
9734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9735 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9736 strrchr-sse2-bsf
9737 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9738 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9739 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9740 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9741 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9742 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9743
1b48c537
UD
97442011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9745
49d42c37
UD
9746 * sysdeps/x86_64/wcscmp.S: New file.
9747
1b48c537
UD
9748 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9749 wcscmp-c wcscmp-sse2
9750 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9751 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9752 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9753 * wcsmbs/wcscmp.c: Allow renaming.
9754
15c95c5d
DM
97552011-09-05 David S. Miller <davem@davemloft.net>
9756
9757 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9758 stack slot, rather than the struct return pointer slot.
9759 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9760 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9762 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9763
2f0ad8f3
UD
97642011-09-05 Ulrich Drepper <drepper@gmail.com>
9765
d88ae418
UD
9766 * po/ja.po: Update from translation team.
9767
2f0ad8f3
UD
9768 [BZ #13144]
9769 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9770 kernel in 64-bit binaries.
9771
5f4318d1
DM
97722011-09-01 David S. Miller <davem@davemloft.net>
9773
9774 * elf/elf.h (HWCAP_SPARC_*): Move to..
9775 * sysdeps/sparc/sysdep.h: this new file and add new values.
9776 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9777 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9778 _DL_HWCAP_COUNT to 24.
9779 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9780 entries.
9781 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9782 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9783 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9785 instead of magic constants.
9786 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9787
3ba57516
DM
97882011-08-31 David S. Miller <davem@davemloft.net>
9789
9790 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9792 Reimplement to do errno handling inline.
9793 (SYSCALL_ERROR_HANDLER): New macro.
9794 (__SYSCALL_STRING): Do not do errno handling in asm.
9795 (__CLONE_SYSCALL_STRING): Delete.
9796 (__INTERNAL_SYSCALL_STRING): Delete.
9797 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9798 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9799 (PSEUDO): Reimplement to do errno handling inline.
9800 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9801 (SYSCALL_ERROR_HANDLER): New macro.
9802 (__SYSCALL_STRING): Do not do errno handling in asm.
9803 (__CLONE_SYSCALL_STRING): Delete.
9804 (__INTERNAL_SYSCALL_STRING): Delete.
9805 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9806 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9807 i386.
9808 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9809 (inline_syscall*): Add 'err' argument.
9810 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9811 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9812 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9813 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9814
9815 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9816 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9817
2bc17433
AS
98182011-08-30 Andreas Schwab <schwab@redhat.com>
9819
9820 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9821
fbeb5f4d
JO
98222011-08-29 Jiri Olsa <jolsa@redhat.com>
9823
9824 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9825 directive.
9826
ad69cc26
DM
98272011-08-24 David S. Miller <davem@davemloft.net>
9828
9829 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9830
39dd69df
AS
98312011-08-24 Andreas Schwab <schwab@redhat.com>
9832
9833 * elf/Makefile: Add rules to build and run unload8 test.
9834 * elf/unload8.c: New file.
9835 * elf/unload8mod1.c: New file.
9836 * elf/unload8mod1x.c: New file.
9837 * elf/unload8mod2.c: New file.
9838 * elf/unload8mod3.c: New file.
9839
9840 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9841 it wasn't used.
9842
2c0b250a
DM
98432011-08-23 David S. Miller <davem@davemloft.net>
9844
9845 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9846 subtract stack bias.
9847 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9848 %sp not %fp in calculations.
9849 (_JMPBUF_UNWINDS_ADJ): Likewise.
9850
22044b48
DM
9851 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9852 (aio_suspend): Call it to force an exception region around the
9853 AIO_MISC_WAIT() invocation.
9854
2cae4995
AS
98552011-08-23 Andreas Schwab <schwab@redhat.com>
9856
9857 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9858 backslash.
9859
873a772e
AJ
98602011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9861
9862 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9863 protection macro.
9864 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9865 and <dl-machine.h>.
9866 (Elf64_FuncDesc): Remove.
9867
25ad0df1
DM
98682011-08-22 David S. Miller <davem@davemloft.net>
9869
9870 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9871 sigaltstack check, add missing cfi directives.
9872 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9873 missing cfi directives, and sigaltstack handling.
9874
e888bcbe
AS
98752011-08-16 Andreas Schwab <schwab@redhat.com>
9876
9877 [BZ #11724]
9878 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9879 object is seen twice.
9880 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9881
9882 * elf/Makefile (distribute): Add tst-initorder2.c.
9883 (tests): Add tst-initorder2.
9884 (modules-names): Add tst-initorder2a tst-initorder2b
9885 tst-initorder2c tst-initorder2d. Add rules to build them.
9886 ($(objpfx)tst-initorder2.out): New rule.
9887 * elf/tst-initorder2.c: New file.
9888 * elf/tst-initorder2.exp: New file.
9889
87162f46
AS
98902011-08-22 Andreas Schwab <schwab@redhat.com>
9891
70538b7f
AS
9892 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9893
f55ffe58
AS
9894 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9895 dependencies back to end of function.
9896
87162f46
AS
9897 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9898 $(elfobjdir)/ld.so.
9899
91b392a4
UD
99002011-08-21 Ulrich Drepper <drepper@gmail.com>
9901
9902 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9903 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9905 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9906 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9907 of __vdso_gettimeofday.
9908 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9909 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9910 attribute_hidden.
9911 (_libc_vdso_platform_setup): Remove initialization of
9912 __vdso_gettimeofday and __vdso_time.
9913
5c43483f
UD
99142011-08-20 Ulrich Drepper <drepper@gmail.com>
9915
775a77e7
UD
9916 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9917 and fgetc_unlocked.
9918 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9919 getc_unlocked.
89f447ed 9920
49c74ba9
UD
9921 * elf/dl-open.c (add_to_global): Report additions to the global scope
9922 for LD_DEBUG=scopes.
9923 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9924 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9925
5c43483f
UD
9926 [BZ #13114]
9927 * stdio-common/Makefile (tests): Add bug24.
9928 * stdio-common/bug24.c: New file.
9929
a101b025
AJ
99302011-08-19 Andreas Jaeger <aj@suse.de>
9931
9932 [BZ #13114]
9933 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9934 non-existant file when using close-on-exec mode.
9935
c88f1766
UD
99362011-08-20 Ulrich Drepper <drepper@gmail.com>
9937
0276a718
UD
9938 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9939 the very first instruction.
9940
c88f1766
UD
9941 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9942 the CFI state in the end.
9943 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9944 inclusion of dl-trampoline.h.
9945 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9946
51ccffa0
AS
99472011-08-19 Andreas Schwab <schwab@redhat.com>
9948
94d7165f
AS
9949 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9950 expectations for long double.
9951
51ccffa0
AS
9952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9953 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9954
fd708658 99552011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9956
9957 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9958 artificual limit depends upon the system page size.
9959
44f0a71e
UD
99602011-08-17 Ulrich Drepper <drepper@gmail.com>
9961
9962 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9963 * resolv/Makefile: Define CFLAGS-libresolv.
9964
8de79a24
AS
99652011-08-17 Andreas Schwab <schwab@redhat.com>
9966
9967 * nss/makedb.c (compute_tables): Make variables used in nested
9968 function static.
9969
27724598
UD
99702011-08-17 Ulrich Drepper <drepper@gmail.com>
9971
c5305d88
UD
9972 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9973 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9974 if buffer was too small.
9975
27724598
UD
9976 * elf/pldd.c (main): Attach to all threads in the process.
9977 Rewrite /proc handling to use *at functions.
9978
076fe015
UD
99792011-08-16 Ulrich Drepper <drepper@gmail.com>
9980
174baab3
UD
9981 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9982 specifies first scope to show.
9983 (dl_open_worker): Update callers. Move printing scope of new
9984 object to before the relocation.
44f0a71e 9985 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9986 * sysdeps/generic/ldsodefs.h: Update declaration.
9987
076fe015
UD
9988 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9989 string for the scope number.
9990
a60df2c3
UD
99912011-08-14 Ulrich Drepper <drepper@gmail.com>
9992
9993 * nscd/servicescache.c (cache_addserv): Make sure written is always
9994 initialized.
9995
5e4287d1
RM
99962011-08-14 Roland McGrath <roland@hack.frob.com>
9997
85ae0589
RM
9998 * sysdeps/i386/i486/bits/atomic.h
9999 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10000 statement expression, so as to suppress "set but not used" warning.
10001 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10002
69f63097
RM
10003 * string/strncat.c (STRNCAT): Use prototype definition.
10004
675456ef
RM
10005 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10006 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10007 -Iprograms here.
10008 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10009 (localedef-modules): Add localedef.
10010 (locale-modules): Add locale.
10011
5e4287d1
RM
10012 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10013 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10014 to avoid a warning.
10015
9c96ff23
DM
100162011-08-14 David S. Miller <davem@davemloft.net>
10017
10018 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10019 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10020
f9ddf089
UD
100212011-08-13 Ulrich Drepper <drepper@gmail.com>
10022
44f0a71e 10023 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10024 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10025 * elf/rtld.c (dl_main): Set l_name of vDSO.
10026 Call _dl_show_scope when DL_DEBUG_SCOPES.
10027 (process_dl_debug): Recognize scopes flag and also set it for all.
10028 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10029 Declare _dl_show_scope.
10030
1dc27704
UD
10031 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10032 (do_dlopen): Pass caller_dlopen to dl_open.
10033 (__libc_dlopen_mode): Initialize caller_dlopen.
10034
f9ddf089
UD
10035 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10036 of libc. Make tolower call locale-independent. Optimize a bit by
10037 using isdigit instead of isalnum.
10038 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10039
9ac533d3
UD
100402011-08-12 Ulrich Drepper <drepper@gmail.com>
10041
10042 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10043 was a dependency or dynamically loaded.
10044
89edf2e9
UD
100452011-08-11 Ulrich Drepper <drepper@gmail.com>
10046
8e999d29
UD
10047 * intl/l10nflist.c: Allow architecture-specific pop function.
10048 * sysdeps/x86_64/l10nflist.c: New file.
10049
89edf2e9
UD
10050 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10051 classification.
10052
14d96785
AS
100532011-08-10 Andreas Schwab <schwab@redhat.com>
10054
10055 * include/dirent.h: Add libc_hidden_proto for scandirat and
10056 scandirat64. Don't declare __scandirat64.
10057 * dirent/scandirat.c: Add libc_hidden_def.
10058 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10059 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10060
6761ac04
DM
100612011-08-10 David S. Miller <davem@davemloft.net>
10062
10063 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10064 enum.
10065 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10066 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10067 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10068
c55fbd1e
UD
100692011-08-09 Ulrich Drepper <drepper@gmail.com>
10070
10071 * Versions.def [libc]: Add GLIBC_2.15.
10072 * dirent/Makefile (routines): Add scandirat and scandirat64.
10073 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10074 GLIBC_2.15.
10075 * dirent/dirent.h: Declare scandirat and scandirat64.
10076 * dirent/scandirat.c: New file.
10077 * dirent/scandirat64.c: New file.
10078 * sysdeps/wordsize-64/scandirat.c: New file.
10079 * sysdeps/wordsize-64/scandirat64.c: New file.
10080 * dirent/opendir.c: Define opendirat.
10081 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10082 using scandirat.
10083 * dirent/scandir64.c: Adjust for scandir.c change.
10084 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10085 __scandirat64, and __scandir_cancel_handler.
10086 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10087 additional parameter and use openat instead of open (outside of ld.so).
10088 Add new __opendir as wrapper around __opendirat.
10089 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10090 here without requiring old scandirat implementation.
10091
879165f2
UD
100922011-08-08 Ulrich Drepper <drepper@gmail.com>
10093
10094 * dirent/scandir.c (cancel_handler): Renamed to
10095 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10096 defined. Adjust users.
10097 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10098 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10099
cb7e923b
UD
101002011-08-04 Ulrich Drepper <drepper@gmail.com>
10101
16292edd
UD
10102 * string/test-string.h (IMPL): Use __STRING to expand name and then
10103 stringify it.
10104
cb7e923b
UD
10105 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10106 of cleanups.
10107
cff82933
LD
101082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10109
10110 * string/Makefile: Update.
10111 (strop-tests): Append strncat.
10112 * string/test-wcscmp.c: New file.
10113 New comprehensive test for wcscmp.
10114 * string/test-strcmp.c: Update.
10115 (WIDE): New define.
10116
9be9bfcc
AS
101172011-07-22 Andreas Schwab <schwab@redhat.com>
10118
10119 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10120 line.
10121
2e96f1c7
AS
101222011-07-26 Andreas Schwab <schwab@redhat.com>
10123
10124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10125 encoding to ACE if AI_IDN.
10126
85188888
JJ
101272011-08-01 Jakub Jelinek <jakub@redhat.com>
10128
10129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10130 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10131
5fa16e9b
LD
101322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10133
10134 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10135 Fix overflow bug in strncat.
10136 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10137
10138 * string/test-strncat.c: Update.
10139 Add new tests for checking overflow bugs.
10140
101412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10142
10143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10144 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10145 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10146 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10147 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10148 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10149 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10150 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10151 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10152
10153 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10154 (USE_AS_STRCAT): Define.
10155 Add strcat and strncat support.
10156 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10157
8c1a459f
AS
101582011-07-25 Andreas Schwab <schwab@redhat.com>
10159
10160 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10161 __n bigger than INT_MAX+1.
10162 (__strncmp_g): Likewise.
10163
bba33c28
UD
101642011-07-23 Ulrich Drepper <drepper@gmail.com>
10165
798be72d
UD
10166 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10167 * libio/stido.h: Likewise.
10168
8accd4dc
UD
10169 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10170 (AF_NFC): Define.
10171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10172 (AF_NFC): Define.
10173
cbff0d96
UD
10174 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10175 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10176 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10177 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10178 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10179
9191c04a
UD
10180 [BZ #13021]
10181 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10182 installed.
10183
bba33c28
UD
10184 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10185 typo.
10186 (_dl_x86_64_save_sse): Likewise.
10187
90f139dd
UD
101882011-07-22 Ulrich Drepper <drepper@gmail.com>
10189
1aae088a
UD
10190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10191 OSXSAVE.
10192 (_dl_x86_64_save_sse): Likewise.
10193
8e2045f5
UD
10194 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10195
90f139dd
UD
10196 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10197
1d002f25
AS
101982011-07-21 Andreas Schwab <schwab@redhat.com>
10199
10200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10201 change.
10202 (_dl_x86_64_save_sse): Use correct AVX check.
10203
21137f89
UD
102042011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10205
10206 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10207 bug in strncpy/strncat.
10208 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10209
a65c0b7a
UD
102102011-07-21 Ulrich Drepper <drepper@gmail.com>
10211
10212 * string/tester.c (test_strcat): Add tests for different alignments
10213 of source and destination.
10214 (test_strncat): Likewise.
10215
6986b98a
UD
102162011-07-20 Ulrich Drepper <drepper@gmail.com>
10217
90bb2039
UD
10218 [BZ #12852]
10219 * posix/glob.c (glob): Check passed in values before using them in
10220 expressions to avoid some overflows.
10221 (glob_in_dir): Likewise.
10222
5644ef54
UD
10223 [BZ #13007]
10224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10225 check for AVX enablement so that we don't crash with old kernels and
10226 new hardware.
10227 * elf/tst-audit4.c: Add same checks here.
10228 * elf/tst-audit6.c: Likewise.
10229
10230 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10231
bfc9dc9b
AS
102322011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10233
10234 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10235
702e64bb
UD
102362011-07-20 Ulrich Drepper <drepper@gmail.com>
10237
10238 * po/cs.po: Update from translation team.
10239 * po/bg.po: Likewise.
10240
295e904f
MP
102412011-07-12 Marek Polacek <mpolacek@redhat.com>
10242
10243 * misc/sys/cdefs.h: Add support for const attribute.
10244 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10245 to gnu_dev_{major,minor,makedev} functions.
10246
3ff94596
MP
102472011-07-20 Marek Polacek <mpolacek@redhat.com>
10248
10249 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10250
28b59fca
AS
102512011-07-20 Andreas Schwab <schwab@redhat.com>
10252
10253 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10254 strlen results.
10255
19df733e
AK
102562011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10257
10258 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10259 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10260 register in order to avoid conflicts with the soft frame pointer
10261 being held in r11 when necessary.
10262 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10263 (INTERNAL_VSYSCALL_NCS): Likewise.
10264
c8835729
MP
102652011-07-14 Marek Polacek <mpolacek@redhat.com>
10266
10267 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10268 * elf/dl-fini.c (_dl_fini): Adjust caller.
10269 * elf/dl-close.c (_dl_close_worker): Likewise.
10270 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10271
b902330c
MP
102722011-07-15 Marek Polacek <mpolacek@redhat.com>
10273
8991e135
MP
10274 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10275 "aux_cache->nlibs < 0".
10276
b902330c
MP
10277 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10278 in the reload-count case.
10279
99710781
LD
102802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10281
10282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10283 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10284 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10285 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10286 * sysdeps/x86_64/multiarch/strcat.S: New file.
10287 * sysdeps/x86_64/multiarch/strncat.S: New file.
10288 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10289 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10290 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10291 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10292 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10293 (USE_AS_STRCAT): Define.
10294 Add strcat and strncat support.
10295 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10296 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10297 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10298 * string/strncat.c: Update.
10299 (USE_AS_STRNCAT): Define.
10300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10301 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10302 and i7.
10303 * sysdeps/x86_64/multiarch/init-arch.h
10304 (bit_Prefer_PMINUB_for_stringop): New.
10305 (index_Prefer_PMINUB_for_stringop): Likewise.
10306 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10307 bit_Prefer_PMINUB_for_stringop.
10308
7dc6bd90
UD
103092011-07-19 Ulrich Drepper <drepper@gmail.com>
10310
10311 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10312 buffer64.
10313 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10314 of casting of buffer.
10315 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10316 buffer32 and buffer64.
10317 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10318 writes instead of casting of buffer.
10319 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10320 buffer32.
10321 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10322 casting of buffer.
10323
e0e72284
AS
103242011-07-19 Andreas Schwab <schwab@redhat.com>
10325
10326 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10327
feb1eb0b
UD
103282011-07-19 Ulrich Drepper <drepper@gmail.com>
10329
10330 * nscd/nscd.c (termination_handler): Don't do anything for a database
10331 if it has not yet been initialized.
10332
298711ff
UD
103332011-07-18 Ulrich Drepper <drepper@gmail.com>
10334
10335 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10336
103372011-07-15 Marek Polacek <mpolacek@redhat.com>
10338
10339 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10340
f9d68389
UD
103412011-07-18 Ulrich Drepper <drepper@gmail.com>
10342
10343 * po/nl.po: Update from translation team.
10344 * po/sv.po: Likewise.
10345
db290cf5
RM
103462011-07-16 Roland McGrath <roland@hack.frob.com>
10347
10348 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10349 now disallowed by GCC.
5c550700 10350
fd5e21c7
RM
10351 * configure.in (use-default-link): Default to yes if a test -shared
10352 link meets our qualifications.
10353 * configure: Regenerated.
10354
5c550700
RM
10355 * config.make.in (output-format): New variable.
10356 * configure.in: Check for ld --print-output-format support.
10357 * configure: Regenerated.
10358 * Makerules ($(common-objpfx)format.lds)
10359 [$(output-format) != unknown]: Just use $(output-format),
10360 instead of the linker-script munging.
10361
9fa2c032
RM
103622011-07-14 Roland McGrath <roland@hack.frob.com>
10363
a6928d51
RM
10364 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10365 of $(common-objpfx)shlib.lds.
10366 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10367
661607b3
RM
10368 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10369 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10370
9fa2c032
RM
10371 * configure.in (-z relro check): Adjust test code to add a large
10372 writable data section after it.
10373 * configure: Regenerated.
10374
defe9061
RM
103752011-07-11 Roland McGrath <roland@hack.frob.com>
10376
10377 * configure.in (-z relro check): Fix test code to make the variable
10378 truly const.
10379 * configure: Regenerated.
10380
319b9ad4
UD
103812011-07-11 Ulrich Drepper <drepper@gmail.com>
10382
10383 * nscd/nscd.h (struct traced_file): Define.
10384 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10385 elements. Add traced_files.
10386 (inotify_fd): Declare.
10387 (register_traced_file): Declare.
10388 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10389 (inotify_fd): Export.
10390 (resolv_conf_descr): Remove.
10391 (nscd_init): Move inotify descriptor creation to main.
10392 Don't register files for notification here.
10393 (register_traced_file): New function.
10394 (invalidate_cache): Don't use reset_res to determine whether to call
10395 res_init, go through the list of registered files.
10396 (main_loop_poll): The inotify descriptors are now stored in the
10397 structures for the traced files.
10398 (main_loop_epoll): Likewise
10399 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10400 to __nss_disable_nscd.
10401 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10402 for a database anymore. Check the records for all the registered
10403 files instead.
10404 * nss/Makefile (libnss_files-routines): Add files-init.
10405 (libnss_db-routines): Add db-init.
10406 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10407 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10408 * nss/nss_db/db-init.c: New file.
10409 * nss/nss_files/files-init.c: New file.
10410 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10411 __nss_lookup_function.
10412 (__nss_lookup_function): Call nss_load_library.
10413 (nss_load_all_libraries): New function.
10414 (__nss_disable_nscd): Take parameter with callback function for files
10415 to register. Set is_nscd. Load all the DSOs for the NSS modules
10416 used for the cached services.
10417 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10418 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10419 options for features to all the files in nscd.
10420
10421 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10422
23bee3e8
RM
104232011-07-10 Roland McGrath <roland@hack.frob.com>
10424
10425 * csu/elf-init.c (__libc_csu_init): Comment typo.
10426
46a5b7f0
UD
104272011-07-09 Ulrich Drepper <drepper@gmail.com>
10428
10429 * po/pl.po: Update from translation team.
10430 * po/ja.po: Likewise.
10431 * po/ru.po: Likewise.
10432 * po/ko.po: Likewise.
10433 * po/fr.po: Likewise.
10434
d30cf5bb
RM
104352011-07-09 Roland McGrath <roland@hack.frob.com>
10436
113ddea4
RM
10437 * configure.in (.ctors/.dtors header and trailer check):
10438 Use an empirical test on a built program.
10439 * configure: Regenerated.
10440
574920b4
RM
10441 * configure.in (-z relro check): Use an empirical test on a built DSO.
10442 Detect, but do not require, on ia64.
10443 * configure: Regenerated.
10444
d30cf5bb
RM
10445 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10446 Update tests that use readelf to use $READELF instead.
10447 * configure: Regenerated.
10448
8538fdb3
UD
104492011-07-08 Ulrich Drepper <drepper@gmail.com>
10450
10451 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10452 if the result is not used.
10453
04d08991
AJ
104542011-07-05 Andreas Jaeger <aj@suse.de>
10455
10456 [BZ#9696]
10457 * stdlib/tst-strtod.c: Add testcase.
10458
de283087
AD
104592011-07-07 Ulrich Drepper <drepper@gmail.com>
10460
4e5f31c8 10461 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10462 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10463 The latter has a higher limit. Take additional parameter to pass to
10464 the new function.
10465 (__pathconf): Pass file to __statfs_link_max.
10466 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10467 __statfs_link_max.
10468 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10469 __statfs_link_max.
10470
de283087
AD
10471 [BZ #12868]
10472 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10473 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10474 Handle Lustre.
10475 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10476 (__statfs_filesize_max): Likewise.
10477 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10478
c75fa153
AJ
104792011-07-05 Andreas Jaeger <aj@suse.de>
10480
10481 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10482
1a544854
UD
104832011-07-06 Marek Polacek <mpolacek@redhat.com>
10484
10485 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10486 `status' variable.
10487 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10488 Likewise.
10489
6f0eec67
UD
104902011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10491
10492 * Makefile (strop-tests): Add strncat.
10493 * string/test-strncat.c: New file.
10494
aae30307
UD
104952011-06-30 Marek Polacek <mpolacek@redhat.com>
10496
10497 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10498
c0cfb5eb
UD
104992011-06-21 Andreas Jaeger <aj@suse.de>
10500
10501 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10502 Copy rule from iconvdata/Makefile.
10503
01636b21
UD
105042011-07-06 Ulrich Drepper <drepper@gmail.com>
10505
10506 [BZ #12922]
10507 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10508 but no long options are defined, just return 'W'.
10509
9895c8bc
UD
105102011-06-22 Marek Polacek <mpolacek@redhat.com>
10511
10512 [BZ #9696]
10513 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10514
5d4cf042
UD
105152011-07-06 Ulrich Drepper <drepper@gmail.com>
10516
10517 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10518 netgroups to read.
960e5535 10519 (innetgr): Likewise.
5d4cf042 10520
751eb97e
RM
105212011-07-05 Roland McGrath <roland@hack.frob.com>
10522
10523 * config.make.in (install_root): Default to $(DESTDIR).
10524
f15f1e45
UD
105252011-07-05 Ulrich Drepper <drepper@gmail.com>
10526
10527 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10528
4e34ac6a
RM
105292011-07-02 Roland McGrath <roland@hack.frob.com>
10530
5e9b6af4
RM
10531 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10532
84f9ea0f
RM
10533 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10534 containing directory rather than embedding absolute directory names.
10535
ea5ee9f7
RM
10536 * scripts/check-local-headers.sh: Rewritten using awk.
10537 Match by word, not by line. Print error messages for matches.
10538 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10539
1b74661a
RM
10540 * Makerules [shlib-lds-flags empty]:
10541 ($(common-objpfx)libc_pic.opts): New target.
10542 ($(common-objpfx)libc_pic.os.clean): New target.
10543 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10544
10545 * config.make.in (OBJCOPY): New variable.
10546 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10547 * configure: Regenerated.
10548
f781ef40
RM
10549 * config.make.in (use-default-link): New variable.
10550 * configure.in (use_default_link): Grok --with-default-link to set it.
10551 * configure: Regenerated.
10552 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10553 (shlib-lds, shlib-lds-flags): Define to empty.
10554
2d4fa81e
RM
10555 * Makerules (shlib-lds): New variable.
10556 (shlib-lds-flags): New variable.
10557 (build-shlib, build-moduile, build-module-asneeded): Use it.
10558 ($(common-objpfx)libc.so): Use $(shlib-lds).
10559 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10560 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10561
31fffa6b
RM
10562 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10563 DT_FLAGS/DT_FLAGS_1 with zero flags.
10564
4e34ac6a
RM
10565 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10566 linker script munging.
10567
fcfc776b
UD
105682011-07-02 Ulrich Drepper <drepper@gmail.com>
10569
10570 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10571 as 128-bit value.
10572 * crypt/sha512.c (sha512_process_block): Perform total addition using
10573 128-bit if possible.
10574 (__sha512_finish_ctx): Likewise.
10575 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10576 as 64-bit value.
10577 * crypt/sha256.c (SWAP64): Define.
10578 (sha256_process_block): Perform total addition using 64-bit if
10579 possible.
10580 (__sha256_finish_ctx): Likewise.
10581
99231d9a
UD
105822011-07-01 Ulrich Drepper <drepper@gmail.com>
10583
10584 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10585 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10586 * nscd/hstcache.c (cache_addhst): Likewise.
10587 * nscd/grpcache.c (cache_addgr): Likewise.
10588 * nscd/aicache.c (addhstaiX): Likewise
10589 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10590
445b4a53
TK
105912011-07-01 Thorsten Kukuk <kukuk@suse.de>
10592
10593 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10594 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10595 * nscd/hstcache.c (cache_addhst): Likewise.
10596 * nscd/grpcache.c (cache_addgr): Likewise.
10597 * nscd/aicache.c (addhstaiX): Likewise
10598
6d4d8e8e
AS
105992011-07-01 Andreas Schwab <schwab@redhat.com>
10600
10601 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10602 domain only when needed.
10603
89f654c5
AS
106042011-06-30 Andreas Schwab <schwab@redhat.com>
10605
10606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10607 is always restored.
10608
cf3b23ff
UD
106092011-06-29 Ulrich Drepper <drepper@gmail.com>
10610
10611 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10612 are re-adding the entry.
10613 * nscd/servicescache.c (cache_addserv): Likewise.
10614
751626f9
AJ
106152011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10616
10617 * sysdeps/generic/dl-irel.h: fix protection against multiple
10618 inclusions.
10619 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10620
9113ea1f
UD
106212011-06-28 Ulrich Drepper <drepper@gmail.com>
10622
5c0b8d90
UD
10623 [BZ #12935]
10624 * malloc/memusage.sh: Fix quoting in message.
10625 * debug/xtrace.sh: Likewise.
10626
9113ea1f
UD
10627 * configure.in: Remove support for --experimental-malloc option, make
10628 it the default.
10629 * config.make.in: Likewise.
10630 * malloc/Makefile: Likewise.
10631
a4172181
AS
106322011-06-27 Andreas Schwab <schwab@redhat.com>
10633
10634 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10635 two-byte characters.
10636
78a7eee7
RM
106372011-06-27 Roland McGrath <roland@hack.frob.com>
10638
62bede13
RM
10639 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10640 AC_CACHE_CHECK invocation.
10641 * configure: Regenerated.
10642
78a7eee7
RM
10643 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10644
5ce33a62
UD
106452011-06-27 Ulrich Drepper <drepper@gmail.com>
10646
034807a9
UD
10647 [BZ #12350]
10648 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10649 bit from old_res_options.
10650
4902da17
UD
10651 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10652
5ce33a62
UD
10653 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10654 value type for setfct.
10655
c2344f56
L
106562011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10657
10658 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10659 __gettimeofday instead of gettimeofday.
10660
68468076
UD
106612011-06-26 Ulrich Drepper <drepper@gmail.com>
10662
10663 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10664
acb0d739
L
106652011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10666
10667 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10668
10669 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10670 info.
10671
8912479f
L
106722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10673
10674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10675 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10676 strcpy-sse2-unaligned strncpy-sse2-unaligned
10677 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10678 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10679 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10680 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10681 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10682 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10683 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10684 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10685 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10686 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10687 (STRCPY): Support SSE2 and SSSE3 versions.
10688
d5495a11
UD
106892011-06-24 Ulrich Drepper <drepper@gmail.com>
10690
10691 [BZ #12874]
10692 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10693 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10694 kernels which artificially limit size of requests.
10695
0b1cbaae
L
106962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10697
10698 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10699 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10700 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10701 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10702 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10703 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10704 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10705 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10706 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10707 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10708 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10709 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10710 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10711 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10712 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10714 Enable unaligned load optimization for Intel Core i3, i5 and i7
10715 processors.
10716 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10717 Define.
10718 (index_Fast_Unaligned_Load): Define.
10719 (HAS_FAST_UNALIGNED_LOAD): Define.
10720
07f494a0
MP
107212011-06-23 Marek Polacek <mpolacek@redhat.com>
10722
10723 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10724
fa3fc0fe
UD
107252011-06-22 Ulrich Drepper <drepper@gmail.com>
10726
10727 [BZ #12907]
10728 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10729 until it is clear that the information is realy needed.
10730 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10731
e12df166
AS
107322011-06-22 Andreas Schwab <schwab@redhat.com>
10733
10734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10735
852eb34d
UD
107362011-06-22 Ulrich Drepper <drepper@gmail.com>
10737
84e2a551
UD
10738 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10739 /sys/devices/system/cpu/online if it is usable.
10740
852eb34d
UD
10741 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10742 reading the information from the /proc filesystem to once a second.
10743
6e502e19
UD
107442011-06-21 Andreas Jaeger <aj@suse.de>
10745
10746 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10747 NULL after inclusion of kernel headers.
10748
75d39ff2
UD
107492011-06-21 Ulrich Drepper <drepper@gmail.com>
10750
51f9aa6a
UD
10751 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10752 calls to internal_setent.
10753
c0244a9d
UD
10754 [BZ #12885]
10755 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10756 addresses using gethostbyname4_r ignore IPv4 addresses.
10757
c5e3c2ae
UD
10758 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10759 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10760
75d39ff2
UD
10761 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10762
42675c6f
DM
107632011-06-20 David S. Miller <davem@davemloft.net>
10764
10765 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10766 inclusions.
10767 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10768
10769 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10770 (elf_irel): Use it.
10771 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10772 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10773 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10774 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10775 * sysdeps/x86_64/dl-irel.h: Likewise.
10776
10777 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10778 * elf/dl-sym.c: Likewise.
10779
57912a71
UD
107802011-06-15 Ulrich Drepper <drepper@gmail.com>
10781
10782 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10783 need to dereference resplen2.
10784
ee22793d
AS
107852011-06-14 Andreas Schwab <schwab@redhat.com>
10786
10787 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10788
a9e836b0
UD
107892011-06-15 Ulrich Drepper <drepper@gmail.com>
10790
77fb9117
UD
10791 * Makeconfig: Define vardbdir and inst_vardbdir.
10792 * nss/Makefile: Add rules to install db-Makefile.
10793
40c1b22c
UD
10794 * nss/nss_db/db-XXX.c: Cleanup.
10795
9f2da732
UD
10796 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10797 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10798 GLIBC_PRIVATE.
10799 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10800 * nss/makedb.c: Implement -g option to specify that value strings
10801 are generated and should not be added to table iterated over for
10802 get*ent calls.
10803 * nss/nss_db/db-initgroups.c: New file.
10804
82e9a1f7
UD
10805 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10806 interface.
10807
c41af17e
UD
10808 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10809 (internal_getgrouplist): Adjust to name change.
10810 Update use_initgroups_entry if this is not the first call.
10811 * nss/databases.def: Add initgroups entry.
10812
a9e836b0
UD
10813 * nss/makedb.c (compute_tables): Check result of multiple hash table
10814 sizes to minimize maximum chain length.
10815
2666d441
UD
108162011-06-14 Ulrich Drepper <drepper@gmail.com>
10817
10818 * Versions.def: Add entry for libnss_db.
10819 * shlib-versions: Likewise.
10820 * nss/Makefile: Add rules to build libnss_db.
10821 * nss/Versions: Add libnss_db information. Organize libnss_files
10822 entries better.
10823 * nss/db-Makefile: Add gshadow support. Change rules for the new
10824 makedb progra. Some minor improvements to generate smaller files.
10825 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10826 here from...
10827 * nss/makedb.c: ...here.
10828 Improve database format to be smaller and require less memory at
10829 runtime.
10830 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10831 db anymore.
10832 * nss/nss_db/db-netgrp.c: Likewise.
10833 * nss/nss_db/db-open.c: Likewise.
10834 * nss/nss_files/flies-XXX.x: Adjust comments.
10835 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10836 * nss/nss_files/files-grp.c: Likewise.
10837 * nss/nss_files/files-hosts.c: Likewise.
10838 * nss/nss_files/files-network.c: Likewise.
10839 * nss/nss_files/files-proto.c: Likewise.
10840 * nss/nss_files/files-pwd.c: Likewise.
10841 * nss/nss_files/files-rpc.c: Likewise.
10842 * nss/nss_files/files-service.c: Likewise.
10843 * nss/nss_files/files-sgrp.c: Likewise.
10844 * nss/nss_files/files-spwd.c: Likewise.
10845 * nss/nss_db/db-alias.c: Removed.
10846 * nss/nss_db/dummy-db.h: Removed.
10847
9ee76b5a
UD
108482011-06-02 Ulrich Drepper <drepper@gmail.com>
10849
10850 * nss/makedb.c: Rewritten to not use database library.
10851 * nss/Makefile: Update to build new makedb program.
10852
c71ca1f8
AJ
108532011-06-14 Andreas Jaeger <aj@suse.de>
10854
10855 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10856 memset declaration.
10857
3154bfb8
UD
108582011-06-10 Andreas Schwab <schwab@redhat.com>
10859
10860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10861 tmpbuf.
10862
b350afab
RM
108632011-06-10 Roland McGrath <roland@hack.frob.com>
10864
decd4e50
RM
10865 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10866 * elf/Makefile ($(objpfx)ld.so): Likewise.
10867
5615eaf2
RM
10868 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10869 Don't list ld.so twice in dependencies.
10870
10871 * posix/bug-regex31.c: Include <stdlib.h>.
10872
10873 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10874
10875 * nis/nss_compat/compat-spwd.c
10876 (getspent_next_nss_netgr): Remove unused variable.
10877 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10878
10879 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10880 nonmembers" output to use the right array.
10881
10882 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10883
10884 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10885
10886 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10887 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10888 * catgets/gencat.c (read_input_file): Likewise.
10889 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10890
10891 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10892 variable definition inside #if's controlling its use.
10893
10894 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10895
10896 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10897
10898 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10899
10900 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10901 unreachable code.
10902
10903 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10904
b68e08db
RM
10905 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10906 * configure: Regenerated.
10907
b350afab
RM
10908 * Makerules: Revert last change.
10909 * elf/Makefile: Likewise.
10910
28368601
RM
109112011-06-09 Roland McGrath <roland@hack.frob.com>
10912
10913 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10914 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10915 (reloc-link): Likewise.
10916
11988f8f
UD
109172011-06-09 Ulrich Drepper <drepper@gmail.com>
10918
10919 * elf/Makefile: Add rules to build pldd.
10920 * elf/pldd.c: New file.
10921 * elf/pldd-xx.c: New file.
10922
e80fab37
UD
109232011-06-07 Ulrich Drepper <drepper@gmail.com>
10924
10925 * version.h: Update for 2.15 development version.
10926
9b849836
DM
109272011-06-07 David S. Miller <davem@davemloft.net>
10928
10929 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10930 ifuncs.
10931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10932 elf_machine_lazy_rel): Likewise.
10933 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10934 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10935 elf_machine_lazy_rel): Likewise.
10936 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10937 dl_hwcap via passed in argument.
10938 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10939 Likewise.
10940
5a31b283
AK
109412011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10942
10943 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10944
069e52f8
RM
109452011-06-06 Roland McGrath <roland@hack.frob.com>
10946
10947 [BZ #12849]
10948 * manual/fdl-1.1.texi: New file, verbatim from:
10949 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10950 * manual/lgpl-2.1.texi: New file, verbatim from:
10951 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10952 * manual/Makefile (licenses): New variable, list those new file names.
10953 (texis): Use it.
10954 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10955
10956 * manual/fdl.texi: File removed.
10957 * manual/lesser.texi: File removed.
10958 * manual/libc.texinfo (Copying, Documentation License):
10959 Use new @include file names, put @appendix directive before @include.
10960
f16846a5
JJ
109612011-06-04 Jakub Jelinek <jakub@redhat.com>
10962
10963 [BZ #12841]
10964 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10965 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10966 (mq_open): Add __NTH.
10967
3d29045b
L
109682011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10969
10970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10971 Assume Intel Core i3/i5/i7 processor if AVX is available.
10972
8c297311
UD
109732011-05-31 Ulrich Drepper <drepper@gmail.com>
10974
10975 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10976 typo.
10977
c8fc0c91
UD
109782011-05-31 Andreas Schwab <schwab@redhat.com>
10979
10980 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10981 memory. Use alloca_account. Fix memory leak when retrying.
10982
5b27a807
UD
109832011-05-31 Ulrich Drepper <drepper@gmail.com>
10984
356f8bc6
UD
10985 * version.h (RELEASE): Bump for 2.14 release.
10986 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10987
5b27a807
UD
10988 * config.make.in (RANLIB): Remove entry.
10989
01f16ab0
UD
109902011-05-30 Ulrich Drepper <drepper@gmail.com>
10991
41fce8bd
UD
10992 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10993 (libc.pot): Work around missing support for .ksh extension in xgettext.
10994
4769ae77
UD
10995 [BZ #12684]
10996 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10997 if both request failed.
10998 (send_dg): In case of server errors clear resplen or *resplen2.
10999
6b1e7d19
UD
11000 [BZ #12454]
11001 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11002 when there are multiple maps.
11003 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11004 (_dl_fini): Remove test here.
11005
01f16ab0
UD
11006 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11007
b1ebd700
UD
110082011-05-29 Ulrich Drepper <drepper@gmail.com>
11009
7ae22829
UD
11010 [BZ #12350]
11011 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11012 bit from old_res_options.
11013 (gaih_inet): Likewise.
11014
553149f6 11015 [BZ #11099]
18a84741 11016 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11017 as signed.
11018
652ffab1
UD
11019 * resolv/res_init.c (res_setoptions): Make the code more compact.
11020
16985fd0
UD
11021 [BZ #11558]
11022 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11023 set RES_USEVC.
11024
0464f746
UD
11025 [BZ #11634]
11026 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11027
7d17596c
UD
11028 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11029
cf6bbbd7
UD
11030 [BZ #11781]
11031 * malloc/malloc.h: Declare malloc hook variables as volatile.
11032
13f1ab36
UD
11033 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11034 in last patch.
11035
b1ebd700
UD
11036 [BZ #11799]
11037 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11038 raise in the comment.
80e2212d
UD
11039 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11040 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11041 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11042
ce67228d
UD
110432011-05-28 Ulrich Drepper <drepper@gmail.com>
11044
8887a920
UD
11045 [BZ #12811]
11046 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11047 grow the buffers more if it already has to be sufficient.
11048 (build_wcs_upper_buffer): Likewise.
11049 * posix/regexec.c (check_matching): Likewise.
11050 (clean_state_log_if_needed): Likewise.
11051 (extend_buffers): Don't enlarge buffers beyond size of the input
11052 buffer.
11053 Patches mostly by Emil Wojak <emil@wojak.eu>.
11054 * posix/bug-regex32.c: New file.
11055 * posix/Makefile (tests): Add bug-regex32.
11056
4f031072
UD
11057 * locale/findlocale.c (_nl_find_locale): Return right away if
11058 _nl_explode_name failed.
11059 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11060
d0478f0c
UD
11061 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11062
de81b246
UD
11063 * debug/xtrace.sh: Unify messages.
11064 * malloc/memusage.sh: Likewise.
11065
c738465a
UD
11066 [BZ #12813]
11067 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11068 time symbol from vDSO. Substitute with vsyscall if not available.
11069 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11070 __vdso_time.
11071
f1f929d7
UD
11072 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11073 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11074 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11075 Add sendmmsg and internal_sendmmsg.
11076 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11077 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11078 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11079
ce67228d
UD
11080 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11081 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11082 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11083
e57420c6
UD
110842011-05-27 Ulrich Drepper <drepper@gmail.com>
11085
a8509ca5
UD
11086 [BZ #12813]
11087 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11088 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11089 available.
11090 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11091 __vdso_getcpu.
11092
e57420c6
UD
11093 [BZ #12814]
11094 * iconvdata/Makefile (tests): Add bug-iconv9.
11095 * iconvdata/bug-iconv9.c: New file.
11096
4d07db15
AS
110972011-05-27 Andreas Schwab <schwab@redhat.com>
11098
11099 [BZ #12814]
11100 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11101
ea486f69
JJ
111022011-05-25 Jakub Jelinek <jakub@redhat.com>
11103
11104 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11105 (struct user_regs_struct): Change intcs field back to cs.
11106
6f038433
UD
111072011-05-25 Ulrich Drepper <drepper@gmail.com>
11108
11109 * po/ja.po: Update from translation team.
11110
67f86a25
UD
111112011-05-23 Ulrich Drepper <drepper@gmail.com>
11112
11113 [BZ #12795]
11114 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11115 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11116
def7fbd6
AS
111172011-05-20 Andreas Schwab <schwab@redhat.com>
11118
11119 * stdlib/longlong.h: Update from GCC.
11120
f50ef8f1
AS
111212011-05-23 Andreas Schwab <schwab@redhat.com>
11122
11123 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11124 parameter name.
11125 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11126 Add parameter name.
11127 (__sysconf): Pass it down.
11128
de7ce8f1
UD
111292011-05-22 Ulrich Drepper <drepper@gmail.com>
11130
f2962a71
UD
11131 [BZ #12671]
11132 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11133 some situations.
11134 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11135 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11136 add in in __libc_use_alloca calls. Adjust callers.
11137 (glob): Use malloc in some situations.
11138
de7ce8f1
UD
11139 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11140 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11141 pltexit.
11142
aec84f53
UD
111432011-05-21 Ulrich Drepper <drepper@gmail.com>
11144
05bb4a68
UD
11145 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11146 and CLOCK_BOOTTIME_ALARM.
11147
7ea72f99
UD
11148 [BZ #12782]
11149 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11150 is returned.
11151
7e4afad5
UD
11152 * string/_strerror.c (__strerror_r): Print negative errors as signed
11153 numbers.
11154
8e211fec
UD
11155 [BZ #12777]
11156 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11157 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11158 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11159
f7d82dc9
UD
11160 * configure.in: Fix typo in redirection and correct removal of test
11161 files in two cases.
11162
cc9e536d
UD
11163 [BZ #12788]
11164 * locale/setlocale.c (new_composite_name): Fix test to check for
11165 identical name of all categories.
11166
aec84f53
UD
11167 [BZ #12792]
11168 * libio/filedoalloc.c (local_isatty): New function.
11169 (_IO_file_doallocate): Use local_isatty.
11170 * stdio-common/perror.c (perror): In case a new stream is used
11171 forward the stream error.
11172 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11173 error flag.
11174
78e64fdc
RT
111752011-05-20 Ulrich Drepper <drepper@gmail.com>
11176
34a9094f
UD
11177 [BZ #11869]
11178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11179 alloca.
11180 * include/alloca.h (extend_alloca_account): Define.
11181
78e64fdc
RT
11182 [BZ #11857]
11183 * posix/regex.h: Fix comments with documentation of user-accessible
11184 fields after compilation and describe correct free'ing of pattern
11185 after re_compile_pattern.
11186 Patch by Reuben Thomas <rrt@sc3d.org>.
11187
457bddfc
RA
111882011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11189
11190 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11191 and -mno-altivec to prevent the compiler from using Altivec and/or
11192 VSX instructions when the corresponding registers are not available.
11193
a4527b51
AS
111942011-05-19 Andreas Schwab <schwab@redhat.com>
11195
11196 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11197
ed690b2f
UD
111982011-05-19 Ulrich Drepper <drepper@gmail.com>
11199
11200 * libio/freopen.c (freopen): Use __dup2, not dup2.
11201 * libio/freopen64.c (freopen64): Likewise.
11202
8db73634
L
112032011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11204
11205 [BZ #12775]
11206 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11207 * math/Makefile (tests): Add test-powl.
11208 (CFLAGS-test-powl.c): Define.
11209 * math/test-powl.c: New file.
11210
0a197a9d
L
112112011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11212
11213 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11214
ee30c380
UD
112152011-05-17 Ulrich Drepper <drepper@gmail.com>
11216
11217 [BZ #11837]
11218 * iconvdata/gb18030.c: Update to GB18020-2005.
11219
6ce75379
UD
112202011-05-16 Ulrich Drepper <drepper@gmail.com>
11221
a4b89fd8
AR
11222 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11223 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11224 Patch by Aharon Robbins <arnold@skeeve.com>.
11225
ea389b12
UD
11226 [BZ #11892]
11227 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11228 on the stack.
11229
68a3f91f
UD
11230 [BZ #11895]
11231 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11232 through underflows.
11233
15cc7dd1
UD
11234 [BZ #12766]
11235 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11236 point to strings before performing equality test for error_one_per_line
11237 mode.
11238
f3799213
UD
11239 [BZ #11697]
11240 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11241
d79a9c94
UD
11242 [BZ #11820]
11243 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11244 (struct user_fpregs_struct): Avoid __uint*_t types.
11245
56e5eb46
UD
11246 [BZ #6420]
11247 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11248 symbol info. Use it instead of calling _dl_addr locally.
11249 (lock_and_info): New function.
11250 (tr_freehook): Call lock_and_info and pass symbol info as additional
11251 parameter to tr_where.
11252 (tr_mallochook): Likewise.
11253 (tr_reallochook): Likewise.
11254 (tr_memalignhook): Likewise.
11255
6ce75379
UD
11256 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11257 used and couldn't be at all thread-safe.
11258
f8a3b5bf
UD
112592011-05-15 Ulrich Drepper <drepper@gmail.com>
11260
94b7cc37
UD
11261 * libio/freopen.c (freopen): Don't close old file descriptor
11262 before the new one is opened. Instead dup the new file descriptor
11263 to the old one after the new stream is created.
11264 * libio/freopen64.c (freopen64): Likewise.
11265 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11266 * libio/fileops.c (_IO_new_file_close_it): Handle new
11267 _IO_FLAGS2_NOCLOSE flag.
11268 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11269 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11270 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11271 _IO_FLAGS2_NOCLOSE flag.
11272 * include/unistd.h: Add hidden_proto for dup3.
11273 Define __have_dup3.
11274 * io/dup3.c: Define hidden symbol.
11275 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11276
bd25564e
UD
11277 [BZ #7101]
11278 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11279 when an incomplete long option is used.
11280 * posix/tst-getopt_long1.c: New file.
11281 * posix/Makefile (tests): Add tst-getopt_long1.
11282
c84cfef4
UD
11283 [BZ #10138]
11284 * scripts/config.guess: Update from autoconf-2.68.
11285 * scripts/config.sub: Likewise.
11286
3b85df27
UD
11287 [BZ #10157]
11288 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11289 tests into ...
11290 (has_cpuclock): ...this. New function.
11291 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11292 macro here based on has_cpuclock code.
11293
15a856b1
UD
11294 [BZ #10149]
11295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11296 First byte (not low byte) is now always NUL.
11297 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11298
05f399e6
UD
11299 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11300 Use non-cancelable interfaces.
11301
10a52685 11302 [BZ #9809]
94ecc67d
UD
11303 * locale/iso-639.def: Add entry for Sorani.
11304
f8a3b5bf
UD
11305 [BZ #11901]
11306 * include/stdlib.h: Move include protection to the right place.
11307 Define abort_msg_s. Declare __abort_msg with it.
11308 * stdlib/abort.c (__abort_msg): Adjust type.
11309 * assert/assert.c (__assert_fail_base): New function. Majority
11310 of code from __assert_fail. Allocate memory for __abort_msg with
11311 mmap.
11312 (__assert_fail): Now call __assert_fail_base.
11313 * assert/assert-perr.c: Remove bulk of implementation. Use
11314 __assert_fail_base.
11315 * include/assert.hL Declare __assert_fail_base.
11316 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11317 mmap.
11318 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11319
1af4e298
UD
113202011-05-14 Ulrich Drepper <drepper@gmail.com>
11321
f8a3b5bf 11322 [BZ #11952]
d26dfc60
MG
11323 [BZ #12453]
11324 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11325 until all modules are registered in the DTV.
11326 * elf/Makefile: Add rules to build and run tst-tls19.
11327 * elf/tst-tls19.c: New file.
11328 * elf/tst-tls19mod1.c: New file.
11329 * elf/tst-tls19mod2.c: New file.
11330 * elf/tst-tls19mod3.c: New file.
11331 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11332
2fc54d6f
UD
11333 [BZ #12083]
11334 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11335 correctly.
11336
98d76b46
UD
11337 [BZ #12601]
11338 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11339 two-byte sequence errors.
11340 * iconvdata/Makefile (tests): Add bug-iconv8.
11341 * iconvdata/bug-iconv8.c: New file.
11342
da3c19ef
UD
11343 [BZ #12626]
11344 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11345 buf2 definition.
11346
ca408c15
UD
11347 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11348
d6f67f7d
UD
11349 [BZ #12432]
11350 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11351 (dummy_getcfa): New function.
11352 (init): Get _Unwind_GetCFA address, use dummy if not found.
11353 (backtrace_helper): In recursion check, also check whether CFA changes.
11354 (__backtrace): Completely initialize arg.
11355
1af4e298 11356 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11357 storing incomplete byte sequence in state object. Avoid testing for
11358 guaranteed too small input if we know there is enough data available.
1af4e298 11359
da62f81b
AS
113602011-05-11 Andreas Schwab <schwab@redhat.com>
11361
11362 * Makeconfig (+link-pie): Indent.
11363 * Rules (binaries-pie): Define if $(have-fpie) and
11364 $(build-shared).
11365 (binaries-shared): Also filter out $(binaries-pie).
11366 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11367 * nscd/Makefile (others-pie): Add nscd.
11368 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11369 ($(objpfx)nscd): Remove command override.
11370 * login/Makefile (others-pie): Add pt_chown.
11371 ($(objpfx)pt_chown): Remove command override.
11372 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11373 remove command overrides.
11374
fcabc0f8
UD
113752011-05-13 Ulrich Drepper <drepper@gmail.com>
11376
20030ae6
UD
11377 * libio/tst_putwc.c: Fix error messages.
11378
fcabc0f8
UD
11379 [BZ #12724]
11380 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11381 currently writing and seek to current position when not.
11382 * libio/Makefile (tests): Add bug-fclose1.
11383 * libio/bug-fclose1.c: New file.
11384
320a5dc0
PB
113852011-05-12 Ulrich Drepper <drepper@gmail.com>
11386
11387 [BZ #12511]
11388 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11389 don't set DF_1_NODELETE here.
11390 (do_lookup_x): When entering new entry test for copy relocation
11391 and if necessary set DF_1_NODELETE flag.
11392 * elf/tst-unique4.cc: New file.
11393 * elf/tst-unique4.h: New file.
11394 * elf/tst-unique4lib.cc: New file.
11395 * elf/Makefile: Add rules to build and run tst-unique4.
11396 Patch by Piotr Bury <pbury@goahead.com>.
11397
22836f52
UD
113982011-05-11 Ulrich Drepper <drepper@gmail.com>
11399
f574184a
UD
11400 [BZ #12052]
11401 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11402
e1fb097f
UD
11403 [BZ #12625]
11404 * misc/mntent_r.c (addmntent): Flush the stream after the output
11405
22836f52
UD
11406 [BZ #12393]
11407 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11408 (is_trusted_path_normalize): Skip initial colon. Append slash
11409 to empty buffer. Duplicate is_trusted_path code but allow
11410 constructed patch to be prefix.
11411 (is_dst): Allow $ORIGIN followed by /.
11412 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11413 Correct testing of result of is_trusted_path_normalize
11414 (decompose_rpath): Fix warning.
11415
7b3b0b2a
UD
114162011-05-10 Ulrich Drepper <drepper@gmail.com>
11417
11418 [BZ #11257]
11419 * grp/initgroups.c (internal_getgrouplist): When we found the service
11420 list through the initgroups entry in nsswitch.conf do not always
11421 continue on a successful lookup. Don't always use the
eac80ce2 11422 __nss_group_database value if it is set.
7b3b0b2a
UD
11423 * nss/nsswitch.conf (initgroups): Change action for successful db
11424 lookup to continue for compatibility.
11425
2a81eaa5
UD
114262011-05-09 Ulrich Drepper <drepper@gmail.com>
11427
be97a69e
UD
11428 [BZ #11532]
11429 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11430 and CP774 modules.
11431 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11432 and CP774 modules.
11433 * iconvdata/tst-tables.sh: Likewise.
11434 * iconvdata/cp770.c: New file.
11435 * iconvdata/cp771.c: New file.
11436 * iconvdata/cp772.c: New file.
11437 * iconvdata/cp773.c: New file.
11438 * iconvdata/cp774.c: New file.
11439 * iconvdata/testdata/CP770: New file.
11440 * iconvdata/testdata/CP770..UTF8: New file.
11441 * iconvdata/testdata/CP771: New file.
11442 * iconvdata/testdata/CP771..UTF8: New file.
11443 * iconvdata/testdata/CP772: New file.
11444 * iconvdata/testdata/CP772..UTF8: New file.
11445 * iconvdata/testdata/CP773: New file.
11446 * iconvdata/testdata/CP773..UTF8: New file.
11447 * iconvdata/testdata/CP774: New file.
11448 * iconvdata/testdata/CP774..UTF8: New file.
11449
11450 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11451 END CHARMAP line.
11452 * iconvdata/gen-8bit-gap.sh: Likewise.
11453 * iconvdata/gen-8bit.sh: Likewise.
11454
c1e9e399
UD
11455 * locale/iso-639.def: Add ary entry.
11456
24c55fb3 11457 [BZ #11258]
96b4b1b0
UD
11458 * locale/C-translit.h.in: Add U20A1 transliteration.
11459
bdc2f971
KB
11460 [BZ #12178]
11461 * locale/iso-639.def: Add wae entry.
11462 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11463
2952b117
UD
11464 [BZ #12545]
11465 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11466 for n.
11467
2a81eaa5
UD
11468 [BZ #12711]
11469 * locale/C-translit.h.in: Add entry for U20B9.
11470 Patch by pravin.d.s@gmail.com.
11471
28377d1b
UD
114722011-05-08 Ulrich Drepper <drepper@gmail.com>
11473
7fb90fb8
UD
11474 [BZ #12713]
11475 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11476 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11477 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11478 in rtld. Use *stat64.
7fb90fb8 11479 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11480 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11481 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11482 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11483 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11484 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11485 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11486 __fstatat64 macros.
7fb90fb8
UD
11487 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11488 * dirent/rewinddir.c: Add libc_hidden_def.
11489 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11490 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11491
28377d1b
UD
11492 * include/dirent.h (__alloc_dir): Add flags parameter.
11493 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11494 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11495 __alloc_dir.
11496 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11497 from fdopendir if O_CLOEXEC is already set.
11498
66bdbaa4
AM
114992011-03-15 Alan Modra <amodra@gmail.com>
11500
11501 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11502 l_tls_firstbyte_offset non-zero. Save padding offset in
11503 l_tls_firstbyte_offset for later use.
11504 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11505 freeing static tls block.
11506
95721191
JN
115072011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11508
11509 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11510 where #ifdef was intended. The intent is to prevent ARG_MAX from
11511 being defined by the kernel headers.
11512
f87dfb1f
UD
115132011-05-07 Ulrich Drepper <drepper@gmail.com>
11514
11515 [BZ #12734]
11516 * resolv/resolv.h: Define RES_NOTLDQUERY.
11517 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11518 no-tld-query and set RES_NOTLDQUERY.
11519 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11520 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11521 modern BIND to search name as TLD unless forbidden.
11522
47c3cd7a
UD
115232011-05-07 Petr Baudis <pasky@suse.cz>
11524 Ulrich Drepper <drepper@gmail.com>
11525
11526 [BZ #12393]
11527 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11528 (is_trusted_path): ...to here.
c1e9ea35 11529 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11530 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11531 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11532
8a35c912
PP
115332011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11534
11535 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11536 __BEGIN/__END_DECLS.
11537
acd41f47
UD
115382011-05-06 Ulrich Drepper <drepper@gmail.com>
11539
11540 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11541 NSS_STATUS_NOTFOUND if no record was found.
11542
597df647
AS
115432011-05-05 Andreas Schwab <schwab@redhat.com>
11544
11545 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11546 (headers-not-in-tirpc): Remove rpc/netdb.h
11547 * resolv/netdb.h: Revert last change.
11548
b9af1301
PP
115492011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11550
11551 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11552 circular dependency between libgcc.a and libc.a.
11553
4e34d5f5
AS
115542011-05-05 Andreas Schwab <schwab@redhat.com>
11555
11556 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11557 * nis/Makefile: Don't install rpcsvc/*.
11558 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11559 instead of <rpc/types.h>.
11560 (MAXHOSTNAMELEN): Define.
11561
00ee369c
AS
115622011-05-03 Andreas Schwab <schwab@redhat.com>
11563
11564 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11565
0b592a30
MB
115662011-04-28 Maciej Babinski <mbabinski@google.com>
11567
11568 [BZ #12714]
11569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11570 gethostbyname4_r when IPv6 results are possible.
11571
6e04cbbe
UD
115722011-05-02 Ulrich Drepper <drepper@gmail.com>
11573
11574 [BZ #12723]
11575 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11576 _PC_PIPE_BUF handling.
11577
e4ecafe0
BH
115782011-04-30 Bruno Haible <bruno@clisp.org>
11579
11580 [BZ #12717]
11581 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11582 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11583 to 'int'.
11584 * inet/getnameinfo.c (getnameinfo): Likewise.
11585
125ee683
UD
115862011-04-29 Ulrich Drepper <drepper@gmail.com>
11587
11588 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11589 to groups setting in database lookup.
11590 * nss/nsswitch.conf: Add initgroups entry.
11591
b722481a
EB
115922011-04-22 Ulrich Drepper <drepper@gmail.com>
11593
11594 [BZ #12685]
11595 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11596 mode string.
11597 Patch by Eric Blake <eblake@redhat.com>.
11598
4df46dbd
L
115992011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11600
11601 * sunrpc/Makefile (need-export-routines): Add svc_run.
11602 (routines): Remove svc_run.
11603 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11604 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11605 * sunrpc/svc_run.c (svc_run): Likewise.
11606 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11607
e84142d2
UD
116082011-04-21 Ulrich Drepper <drepper@gmail.com>
11609
11610 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11611 problem in reallocation in last patch.
11612
877175d8
UD
116132011-04-20 Ulrich Drepper <drepper@gmail.com>
11614
11615 * sunrpc/Makefile: Move inclusion of Rules.
11616
ab8eed78
UD
116172011-04-19 Ulrich Drepper <drepper@gmail.com>
11618
11619 * nss/nss_files/files-initgroups.c: New file.
11620 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11621 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11622 _nss_files_initgroups_dyn.
11623
e3d8f584
RS
116242011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11625
11626 * elf/elf.h (R_ARM_IRELATIVE): Define.
11627
af190f45
UD
116282011-04-19 Ulrich Drepper <drepper@gmail.com>
11629
11630 * po/ru.po: Update from translation team.
11631
53cf59ef
UD
116322011-04-17 Ulrich Drepper <drepper@gmail.com>
11633
11634 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11635 dependencies.
11636
4c559bcd
MF
116372011-02-06 Mike Frysinger <vapier@gentoo.org>
11638
11639 [BZ #12653]
11640 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11641 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11642 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11643 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11645
4420675c
AS
116462011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11647
11648 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11649 differing bytes.
11650 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11651 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11652 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11653
75ea32ab
UD
116542011-04-17 Ulrich Drepper <drepper@gmail.com>
11655
11656 [BZ #12420]
11657 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11658 storing it.
11659 * stdlib/bug-getcontext.c: New file.
11660 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11661
27390476
AK
116622011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11663
11664 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11665 instructions into .machine "z9-109".
11666 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11667 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11668
10442705
AK
116692011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11670
11671 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11672 between environment variables and auxiliary vector.
11673
7b57bfe5
UD
116742011-04-16 Ulrich Drepper <drepper@gmail.com>
11675
11676 * Makefile: Add rules to build linkobj/libc.so.
11677 * include/libc-symbols.h: Define libc_hidden_nolink.
11678 * include/rpc/auth.h: Mark functions which are to be hidden.
11679 * include/rpc/auth_des.h: Likewise.
11680 * include/rpc/auth_unix.h: Likewise.
11681 * include/rpc/clnt.h: Likewise.
11682 * include/rpc/des_crypt.h: Likewise.
11683 * include/rpc/key_prot.h: Likewise.
11684 * include/rpc/pmap_clnt.h: Likewise.
11685 * include/rpc/pmap_prot.h: Likewise.
11686 * include/rpc/pmap_rmt.h: Likewise.
11687 * include/rpc/rpc_msg.h: Likewise.
11688 * include/rpc/svc.h: Likewise.
11689 * include/rpc/svc_auth.h: Likewise.
11690 * include/rpc/xdr.h: Likewise.
11691 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11692 * nss/Makefile: Likewise.
11693 * sunrpc/Makefile: Don't install headers. Build library with normal
11694 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11695 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11696 for the compat linking library. Remove use of INTDEF/INTUSE.
11697 * sunrpc/auth_none.c: Likewise.
11698 * sunrpc/auth_unix.c: Likewise.
11699 * sunrpc/authdes_prot.c: Likewise.
11700 * sunrpc/authuxprot.c: Likewise.
11701 * sunrpc/clnt_gen.c: Likewise.
11702 * sunrpc/clnt_perr.c: Likewise.
11703 * sunrpc/clnt_raw.c: Likewise.
11704 * sunrpc/clnt_simp.c: Likewise.
11705 * sunrpc/clnt_tcp.c: Likewise.
11706 * sunrpc/clnt_udp.c: Likewise.
11707 * sunrpc/clnt_unix.c: Likewise.
11708 * sunrpc/des_crypt.c: Likewise.
11709 * sunrpc/des_soft.c: Likewise.
11710 * sunrpc/get_myaddr.c: Likewise.
11711 * sunrpc/key_call.c: Likewise.
11712 * sunrpc/key_prot.c: Likewise.
11713 * sunrpc/netname.c: Likewise.
11714 * sunrpc/pm_getmaps.c: Likewise.
11715 * sunrpc/pm_getport.c: Likewise.
11716 * sunrpc/pmap_clnt.c: Likewise.
11717 * sunrpc/pmap_prot.c: Likewise.
11718 * sunrpc/pmap_prot2.c: Likewise.
11719 * sunrpc/pmap_rmt.c: Likewise.
11720 * sunrpc/publickey.c: Likewise.
11721 * sunrpc/rpc_cmsg.c: Likewise.
11722 * sunrpc/rpc_common.c: Likewise.
11723 * sunrpc/rpc_dtable.c: Likewise.
11724 * sunrpc/rpc_prot.c: Likewise.
11725 * sunrpc/rpc_thread.c: Likewise.
11726 * sunrpc/rtime.c: Likewise.
11727 * sunrpc/svc.c: Likewise.
11728 * sunrpc/svc_auth.c: Likewise.
11729 * sunrpc/svc_authux.c: Likewise.
11730 * sunrpc/svc_raw.c: Likewise.
11731 * sunrpc/svc_run.c: Likewise.
11732 * sunrpc/svc_simple.c: Likewise.
11733 * sunrpc/svc_tcp.c: Likewise.
11734 * sunrpc/svc_udp.c: Likewise.
11735 * sunrpc/svc_unix.c: Likewise.
11736 * sunrpc/svcauth_des.c: Likewise.
11737 * sunrpc/xcrypt.c: Likewise.
11738 * sunrpc/xdr.c: Likewise.
11739 * sunrpc/xdr_array.c: Likewise.
11740 * sunrpc/xdr_float.c: Likewise.
11741 * sunrpc/xdr_intXX_t.c: Likewise.
11742 * sunrpc/xdr_mem.c: Likewise.
11743 * sunrpc/xdr_rec.c: Likewise.
11744 * sunrpc/xdr_ref.c: Likewise.
11745 * sunrpc/xdr_sizeof.c: Likewise.
11746 * sunrpc/xdr_stdio.c: Likewise.
11747
e6c61494
UD
117482011-04-10 Ulrich Drepper <drepper@gmail.com>
11749
11750 [BZ #12650]
11751 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11752 * sysdeps/ia64/dl-tls.h: Likewise.
11753 * sysdeps/powerpc/dl-tls.h: Likewise.
11754 * sysdeps/s390/dl-tls.h: Likewise.
11755 * sysdeps/sh/dl-tls.h: Likewise.
11756 * sysdeps/sparc/dl-tls.h: Likewise.
11757 * sysdeps/x86_64/dl-tls.h: Likewise.
11758 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11759
34fe483e
AS
117602011-03-14 Andreas Schwab <schwab@redhat.com>
11761
11762 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11763 rpath element also skip the following colon.
11764 (expand_dynamic_string_token): Add is_path parameter and pass
11765 down to DL_DST_REQUIRED and _dl_dst_substitute.
11766 (decompose_rpath): Call expand_dynamic_string_token with
11767 non-zero is_path. Ignore empty rpaths.
11768 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11769 with zero is_path.
11770
f12a32e6
AS
117712011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11772
11773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11774 Make cancelable.
11775
38a7d692
UD
117762011-04-09 Ulrich Drepper <drepper@gmail.com>
11777
11778 [BZ #12655]
11779 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11780 Patch by Filipe David Manana <fdmanana@apache.org>.
11781
e451d22b
AS
117822011-04-07 Andreas Schwab <schwab@redhat.com>
11783
11784 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11785 Maintain aligned stack.
11786 (CHECK_RSP): Remove unused macro.
11787
dedc7c7b
UD
117882011-04-03 Ulrich Drepper <drepper@gmail.com>
11789
11790 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11791 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11792
94521213
UD
117932011-04-02 Ulrich Drepper <drepper@gmail.com>
11794
11795 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11796
8cb700c0 11797 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11798
0354e355
L
117992011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11800
11801 [BZ #12518]
11802 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11803 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11804 * sysdeps/x86_64/memmove.c: New file.
11805 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11806 (memcpy): Renamed to ...
11807 (__new_memcpy): This.
11808 (memcpy): Provide GLIBC_2_14 memcpy.
11809 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11810 (memcpy): Provide GLIBC_2_2_5 memcpy.
11811
8593482f
UD
118122011-04-01 Ulrich Drepper <drepper@gmail.com>
11813
11814 [BZ #12631]
11815 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11816
81a5726b
AS
118172011-03-30 Andreas Schwab <schwab@redhat.com>
11818
11819 * misc/syncfs.c: New file.
11820 * misc/Makefile (routines): Add syncfs.
11821 * posix/unistd.h: Declare syncfs.
11822 * sysdeps/unix/syscalls.list: Add syncfs.
11823
00e5419f
AS
118242011-04-01 Andreas Schwab <schwab@redhat.com>
11825
11826 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11827 open_by_handle_at.
11828 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11829 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11831 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11833 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11834 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11835
748876bf
UD
118362011-04-01 Ulrich Drepper <drepper@gmail.com>
11837
658e451d
UD
11838 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11839 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11840 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11841 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11842 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11843 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11845
748876bf
UD
11846 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11847 sync_file_range.c with -fexceptions.
11848 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11849 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11850 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11851 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11852 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11853 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11855 sync_file_range as cancellation point
11856 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11857 now a wrapper around __call_sync_file_range with cancellation handling.
11858 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11859 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11860 function name to __call_sync_file_range.
11861 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11862 Add call_sync_file_range.
748876bf 11863
6e63d5e1
AS
118642011-04-01 Andreas Schwab <schwab@redhat.com>
11865
11866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11867 bits/timex.h.
6e63d5e1 11868
46998f74
UD
118692011-04-01 Ulrich Drepper <drepper@gmail.com>
11870
4c1423ed
UD
11871 * iconv/iconv.h: Fix typo in comment.
11872 * io/fcntl.h: Likewise.
11873 * libio/stdio.h: Likewise.
11874 * posix/spawn.h: Likewise.
11875 * posix/unistd.h: Likewise.
11876 * stdlib/stdlib.h: Likewise.
11877 * time/time.h: Likewise.
11878 * wcsmbs/wchar.h: Likewise.
11879
158648c0
UD
11880 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11881 open_by_handle): Add.
11882 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11883 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11884 Augment a few comments.
11885 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11886 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11887 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11888 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11889 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11890 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11891 open_by_handle.
11892
46998f74
UD
11893 * io/fcntl.h (AT_EMPTY_PATH): Define.
11894
83fe108b
UD
118952011-03-30 Ulrich Drepper <drepper@gmail.com>
11896
11897 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11898 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11899 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11900 to...
11901 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11902 * Versions.def: Add GLIBC_2.14.
11903 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11904 Export.
83fe108b 11905
bb242059
UD
119062011-03-22 Ulrich Drepper <drepper@gmail.com>
11907
11908 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11909 round counter.
11910 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11911
c97a1282
L
119122011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11913
11914 [BZ #12597]
11915 * string/test-strncmp.c (do_page_test): New function.
11916 (check2): Likewise.
11917 (test_main): Call check2.
11918 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11919
2a115601
UD
119202011-03-20 Ulrich Drepper <drepper@gmail.com>
11921
11922 [BZ #12587]
11923 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11924 Handle cache information in CPU leaf 4.
11925 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11926
8126d904
UD
119272011-03-18 Ulrich Drepper <drepper@gmail.com>
11928
042c49c6 11929 [BZ #12583]
8126d904
UD
11930 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11931 character representation.
11932 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11933
ccfe366e
RA
119342011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11935
11936 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11937 END(__isnan) to END(__isnanf) to match function entry point/label
11938 EALIGN(__isnanf,...).
11939
c6e13027
JJ
119402011-03-10 Jakub Jelinek <jakub@redhat.com>
11941
11942 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11943
33f85a3f
UD
119442011-03-10 Ulrich Drepper <drepper@gmail.com>
11945
028478fa
UD
11946 [BZ #12510]
11947 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11948 copy from the symbol referenced in the relocation to initialize the
11949 used variable.
11950 Patch by Piotr Bury <pbury@goahead.com>.
11951 * elf/Makefile: Add rules to build and tst-unique3.
11952 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11953 * elf/tst-unique3.cc: New file.
11954 * elf/tst-unique3.h: New file.
11955 * elf/tst-unique3lib.cc: New file.
11956 * elf/tst-unique3lib2.cc: New file.
11957
33f85a3f
UD
11958 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11959
03592fc7
MF
119602011-03-10 Mike Frysinger <vapier@gentoo.org>
11961
11962 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11963 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11964 to _start.
03592fc7 11965
6a5ee102
UD
119662011-03-06 Ulrich Drepper <drepper@gmail.com>
11967
11968 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11969 to-be-loaded object along a path to loader is ld.so.
11970
7e4ba49c
HJ
119712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11972 Ulrich Drepper <drepper@gmail.com>
11973
11974 * sysdeps/x86_64/memset.S: After aligning destination, code
11975 branches to different locations depending on the value of
11976 misalignment, when multiarch is enabled. Fix this.
11977
119782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11979
11980 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11981 Set _x86_64_preferred_memory_instruction for AMD processsors.
11982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11983 Set bit_Prefer_SSE_for_memop for AMD processors.
11984
13a804de
UD
119852011-03-04 Ulrich Drepper <drepper@gmail.com>
11986
11987 * libio/fmemopen.c (fmemopen): Optimize a bit.
11988
9d25c392
AS
119892011-03-03 Andreas Schwab <schwab@redhat.com>
11990
11991 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11992
a5543c6a
RM
119932011-03-03 Roland McGrath <roland@redhat.com>
11994
11995 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11996
012d35f7
DM
119972011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11998
7e4ba49c 11999 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12000 __bzero_ultra1 instead of __memset_ultra1.
12001
4bff6e01
AS
120022011-02-23 Andreas Schwab <schwab@redhat.com>
12003 Ulrich Drepper <drepper@gmail.com>
12004
12005 [BZ #12509]
12006 * include/link.h (struct link_map): Add l_orig_initfini.
12007 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12008 returning unsuccessfully.
12009 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12010 close of a file loaded at startup, restore the original l_initfini
12011 list.
12012 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12013 list, store the pointer.
12014 * elf/Makefile ($(objpfx)noload-mem): New rule.
12015 (noload-ENV): Define.
12016 (tests): Add $(objpfx)noload-mem.
12017 * elf/noload.c: Include <memcheck.h>.
12018 (main): Call mtrace. Close all opened handles.
12019
f2092faf
AS
120202011-02-17 Andreas Schwab <schwab@redhat.com>
12021
12022 [BZ #12454]
12023 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12024 dependencies are missing.
12025
6c8a2e88
ST
120262011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12027
f2092faf 12028 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12029 Hurd needs munmap.
12030 * sysdeps/mach/hurd/ifreq.h: New file.
12031
84a42118
PB
120322011-01-27 Petr Baudis <pasky@suse.cz>
12033 Ulrich Drepper <drepper@gmail.com>
12034
071f805e 12035 [BZ 12445]#
84a42118
PB
12036 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12037 to extend_alloca().
12038 * stdio-common/bug23.c: New file.
12039 * stdio-common/Makefile (tests): Add bug23.
12040
e23fe25b
AS
120412010-09-28 Andreas Schwab <schwab@redhat.com>
12042 Ulrich Drepper <drepper@gmail.com>
12043
12044 [BZ #12489]
12045 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12046 before performing relro protection. At old place add assertion
12047 to make sure nothing changed.
12048
d3f02e10
NS
120492011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12050 Glauber de Oliveira Costa <glommer@gmail.com>
12051
12052 * elf/elf.h: Add new ARM TLS relocs.
12053
d55fd7a5
RA
120542011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12055
12056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12057 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12058 cast from r3.
12059 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12060 'tests' variable.
12061 * sysdeps/wordsize-64/tst-writev.c: New file.
12062
2206397e
RA
120632011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12064
12065 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12066 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12067 insns in _dl_start to prevent a TOC reference before relocs are
12068 resolved.
12069
e9433893
UD
120702011-02-15 Ulrich Drepper <drepper@gmail.com>
12071
12072 [BZ #12469]
12073 * Makeconfig: Remove RANLIB definition.
12074 * Makerules: Don't use RANLIB.
12075 * aclocal.m4: Remove ranlib test.
12076 * configure.in: No need to check for ranlib.
12077 * elf/rtld-Rules: Don't use RANLIB.
12078
f75286c6
ST
120792011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12080
8e31c82d
ST
12081 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12082 protection macro.
12083 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12084 inclusion protection macro.
12085
f75286c6
ST
12086 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12087 SIGRTMIN and SIGRTMAX and print information in that case only when
12088 SIGRTMIN is defined.
12089
c1d0e639
JJ
120902011-02-11 Jakub Jelinek <jakub@redhat.com>
12091
12092 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12093 arginfo fn returning -1.
12094
12095 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12096 and thousands string is zero terminated.
12097
edf9294e
AS
120982011-02-03 Andreas Schwab <schwab@redhat.com>
12099
12100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12101 sysdeps/unix/sysv/linux/bits/socket.h.
12102
2b7e92df
ST
121032011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12104
edf9294e
AS
12105 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12106 (__CPU_COUNT): Remove old macros.
12107 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12108 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12109 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12110 (__sched_cpualloc, __sched_cpufree): Add declarations.
12111
a4c7ea7b
UD
121122011-02-05 Ulrich Drepper <drepper@gmail.com>
12113
12114 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12115 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12116 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12117 (readdhstai): Return value of addhstaiX call.
12118 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12119 (addgrbyX): Return value returned by cache_addgr.
12120 (readdgrbyname): Return value returned by addgrbyX.
12121 (readdgrbygid): Likewise.
12122 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12123 (addpwbyX): Return value returned by cache_addpw.
12124 (readdpwbyname): Return value returned by addhstbyX.
12125 (readdpwbyuid): Likewise.
12126 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12127 (addservbyX): Return value returned by cache_addserv.
12128 (readdservbyname): Return value returned by addservbyX:
12129 (readdservbyport): Likewise.
12130 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12131 (addhstbyX): Return value returned by cache_addhst.
12132 (readdhstbyname): Return value returned by addhstbyX.
12133 (readdhstbyaddr): Likewise.
12134 (readdhstbynamev6): Likewise.
12135 (readdhstbyaddrv6): Likewise.
12136 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12137 (readdinitgroups): Return value returned by addinitgroupsX.
12138 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12139 (prune_cache): Keep track of timeout value of re-added entries.
12140 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12141 * nscd/nscd.h: Adjust prototypes of readd* functions.
12142
a0bf67cc
RM
121432011-02-04 Roland McGrath <roland@redhat.com>
12144
12145 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12146 (nis_stats): Likewise.
12147 * nis/nis_modify.c (nis_modify): Likewise.
12148 * nis/nis_remove.c (nis_remove): Likewise.
12149 * nis/nis_add.c (nis_add): Likewise.
12150
12151 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12152
12153 * posix/fnmatch_loop.c: Add some consts.
12154
12155 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12156
435b95eb
L
121572011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12158
12159 [BZ #12460]
12160 * config.make.in (config-cflags-novzeroupper): Define.
12161 * configure.in: Substitute libc_cv_cc_novzeroupper.
12162 * elf/Makefile (AVX-CFLAGS): Define.
12163 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12164 (CFLAGS-tst-auditmod4a.c): Likewise.
12165 (CFLAGS-tst-auditmod4b.c): Likewise.
12166 (CFLAGS-tst-auditmod6b.c): Likewise.
12167 (CFLAGS-tst-auditmod6c.c): Likewise.
12168 (CFLAGS-tst-auditmod7b.c): Likewise.
12169 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12170
8517b15e
UD
121712011-02-02 Ulrich Drepper <drepper@gmail.com>
12172
12173 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12174 function to the callback.
12175 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12176
10a656fe
AS
121772011-02-02 Andreas Schwab <schwab@redhat.com>
12178
12179 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12180 of errno.
12181
968dad0a
UD
121822011-01-19 Ulrich Drepper <drepper@gmail.com>
12183
9f94d2ea 12184 [BZ #11724]
968dad0a
UD
12185 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12186 of constructors.
12187 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12188 of destructors.
12189 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12190
12191 [BZ #11724]
12192 * elf/Makefile: Add rules to build and run new test.
12193 * elf/tst-initorder.c: New file.
12194 * elf/tst-initorder.exp: New file.
12195 * elf/tst-initordera1.c: New file.
12196 * elf/tst-initordera2.c: New file.
12197 * elf/tst-initordera3.c: New file.
12198 * elf/tst-initordera4.c: New file.
12199 * elf/tst-initorderb1.c: New file.
12200 * elf/tst-initorderb2.c: New file.
12201 * elf/tst-order-a1.c: New file.
12202 * elf/tst-order-a2.c: New file.
12203 * elf/tst-order-a3.c: New file.
12204 * elf/tst-order-a4.c: New file.
12205 * elf/tst-order-b1.c: New file.
12206 * elf/tst-order-b2.c: New file.
12207 * elf/tst-order-main.c: New file.
12208 New test case by George Gensure <werkt0@gmail.com>.
12209
86e92359
UD
122102010-10-01 Andreas Schwab <schwab@redhat.com>
12211
12212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12213 decoding ACE if AI_CANONIDN.
12214
5d5732b0
UD
122152011-01-18 Ulrich Drepper <drepper@gmail.com>
12216
12217 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12218
a77e8cbc
UD
122192011-01-17 Ulrich Drepper <drepper@gmail.com>
12220
6392473f
UD
12221 * version.h (RELEASE): Bump for 2.13 release.
12222 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12223
620a0529
UD
12224 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12225
18ba70a5
UD
12226 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12227 MADV_NOHUGEPAGE.
32465c3e
UD
12228 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12229 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12230 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12231 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12232 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12233 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12234
c0dafcf1
UD
12235 * posix/getconf.c: Update copyright year.
12236 * catgets/gencat.c: Likewise.
12237 * csu/version.c: Likewise.
12238 * debug/catchsegv.sh: Likewise.
12239 * debug/xtrace.sh: Likewise.
12240 * elf/ldconfig.c: Likewise.
12241 * elf/ldd.bash.in: Likewise.
12242 * elf/sprof.c (print_version): Likewise.
12243 * iconv/iconv_prog.c: Likewise.
12244 * iconv/iconvconfig.c: Likewise.
12245 * locale/programs/locale.c: Likewise.
12246 * locale/programs/localedef.c: Likewise.
12247 * malloc/memusage.sh: Likewise.
12248 * malloc/mtrace.pl: Likewise.
12249 * nscd/nscd.c (print_version): Likewise.
12250 * nss/getent.c: Likewise.
12251
a77e8cbc
UD
12252 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12253 PF_CAIF, and PF_ALG.
12254 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12255
77e8bddf
AS
122562011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12257
1f20b93a
AS
12258 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12259 (modules-names): Use them.
12260 (ifunc-test-modules, ifunc-pie-tests): Define.
12261 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12262 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12263 (test-extras): Likewise.
12264 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12265 $(compile-command.c).
12266 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12267 (all-built-dso): Define.
12268 (check-textrel.out, check-execstack.out): Depend on it.
12269
77e8bddf
AS
12270 * configure.in: Don't override --enable-multi-arch.
12271
bc425b33
UD
122722011-01-15 Ulrich Drepper <drepper@gmail.com>
12273
12274 [BZ #6812]
12275 * nscd/hstcache.c (tryagain): Define.
12276 (cache_addhst): Return tryagain not notfound for temporary errors.
12277 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12278 failed.
12279
794c3ad3
UD
122802011-01-14 Ulrich Drepper <drepper@gmail.com>
12281
70181fdd
UD
12282 [BZ #10563]
12283 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12284 to make the syscall.
12285 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12286
794c3ad3
UD
12287 [BZ #12378]
12288 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12289 and fall back to matching as normal character if the string ends before
12290 the matching ']' is found. This is what POSIX requires.
12291 * posix/testfnm.c: Adjust test result.
12292 * posix/globtest.sh: Adjust test result. Add new test.
12293 * posix/tst-fnmatch.input: Likewise.
12294 * posix/tst-fnmatch2.c: Add new test.
12295
68dc9497
AS
122962010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12297
12298 * elf/Makefile (check-execstack): Revert last change. Depend on
12299 check-execstack.h.
12300 (check-execstack.h): New target.
12301 (generated): Add check-execstack.h.
12302 * elf/check-execstack.c: Include "check-execstack.h".
12303 (main): Revert last change.
12304 (handle_file): Return zero if GNU_STACK is absent and
12305 DEFAULT_STACK_PERMS doesn't include PF_X.
12306
451f001b
UD
123072011-01-13 Ulrich Drepper <drepper@gmail.com>
12308
cfa28e56
UD
12309 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12310 in child fails because the descriptor is already closed.
8cf8ce17
UD
12311 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12312 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12313 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12314
1086d70d
UD
12315 [BZ #12397]
12316 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12317 syscall.
12318
451f001b
UD
12319 [BZ #10484]
12320 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12321 temporary buffer used to handle multi lookups locally.
a85b5cb4 12322 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12323
08769175
UD
123242011-01-12 Ulrich Drepper <drepper@gmail.com>
12325
12326 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12327 loader is ld.so.
12328
5e49c52e
UD
123292011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12330
12331 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12332 alignment for SSE2.
12333
60522a5f
UD
123342011-01-12 Ulrich Drepper <drepper@gmail.com>
12335
12336 [BZ #12394]
12337 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12338 characters. When rounding increased number of integer digits recompute
12339 number of groups.
12340 * stdio-common/tst-grouping.c: New file.
12341 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12342
f257bbd7
UD
123432011-01-09 Ulrich Drepper <drepper@gmail.com>
12344
12345 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12346 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12347
12348 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12349 void.
12350 * bits/select.h: Likewise.
12351
fa9c15cb
UD
123522011-01-08 Ulrich Drepper <drepper@gmail.com>
12353
12354 * po/ja.po: Update from translation team.
12355
16c2895f
DM
123562011-01-04 David S. Miller <davem@sunset.davemloft.net>
12357
12358 [BZ #11155]
12359 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12360 implementation just like for lxstat, fxstatat, et al.
12361
2543fef2
JM
123622010-12-27 Jim Meyering <meyering@redhat.com>
12363
12364 [BZ #12348]
12365 * posix/regexec.c (build_trtable): Return failure indication upon
12366 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12367
98727dbe
UD
123682010-12-25 Ulrich Drepper <drepper@gmail.com>
12369
5bd6dc5c
UD
12370 [BZ #12201]
12371 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12372 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12373 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12374 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12375
97983464
UD
12376 [BZ #12207]
12377 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12378
98727dbe
UD
12379 [BZ #12204]
12380 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12381 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12382
4a531bb0
L
123832010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12384
12385 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12386 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12387 script has SORT_BY_INIT_PRIORITY.
12388 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12389 NO_CTORS_DTORS_SECTIONS is defined.
12390 * elf/soinit.c: Likewise.
12391 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12392 NO_CTORS_DTORS_SECTIONS is defined.
12393 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12394 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12395 * sysdeps/sh/init-first.c: Likewise.
12396 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12397
07eb4b71
UD
123982010-12-24 Ulrich Drepper <drepper@gmail.com>
12399
12400 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12401 always use the slow path.
12402
30950a5f
RA
124032010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12404
12405 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12406 similar rule which adds the sysdep directories to the header search in
12407 order to pick up the correct platform stackinfo.h.
12408 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12409 perform test if it is, otherwise return successfully without testing.
12410 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12411 DEFAULT_STACK_PERMS define in stackinfo.h.
12412 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12413 defined in stackinfo.h.
12414 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12415 DEFAULT_STACK_PERMS defined in stackinfo.h.
12416 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12417 * sysdeps/ia64/stackinfo.h: Likewise.
12418 * sysdeps/s390/stackinfo.h: Likewise.
12419 * sysdeps/sh/stackinfo.h: Likewise.
12420 * sysdeps/sparc/stackinfo.h: Likewise.
12421 * sysdeps/x86_64/stackinfo.h: Likewise.
12422 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12423 PF_X for powerpc64. Retain PF_X for powerpc32.
12424
db753e2c
UD
124252010-12-19 Ulrich Drepper <drepper@gmail.com>
12426
14b697f7
UD
12427 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12428 accurately.
db753e2c
UD
12429 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12430 GETDENTS_64BIT_ALIGNED.
12431
28300719
UD
124322010-12-14 Ulrich Drepper <dreper@gmail.com>
12433
14b697f7 12434 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12435
4f197237
AS
124362010-12-10 Andreas Schwab <schwab@redhat.com>
12437
dbb0472f
AS
12438 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12439 _GNU_SOURCE.
12440
4f197237
AS
12441 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12442 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12443 Remove __restrict.
12444 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12445 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12446
fb88ac72
UD
124472010-12-09 Ulrich Drepper <drepper@gmail.com>
12448
12449 [BZ #11655]
12450 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12451 are initialized.
12452
42acbb92
JJ
124532010-12-09 Jakub Jelinek <jakub@redhat.com>
12454
12455 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12456
c038d98d
UD
124572010-12-03 Ulrich Drepper <drepper@gmail.com>
12458
12459 * po/it.po: Update from translation team.
12460
3a4a2499
L
124612010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12462
12463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12464 unused codes.
12465
1e24cf6e
UD
124662010-11-30 Ulrich Drepper <drepper@gmail.com>
12467
12468 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12469
a7690819
AS
124702010-11-24 Andreas Schwab <schwab@redhat.com>
12471
12472 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12473 specially.
12474 (gaih_getanswer_slice): Likewise.
12475
3bf8d1b1
JJ
124762010-10-20 Jakub Jelinek <jakub@redhat.com>
12477
12478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12479
6db52fbb
PB
124802010-05-31 Petr Baudis <pasky@suse.cz>
12481
12482 [BZ #11149]
12483 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12484 silently even in the chroot mode.
12485
eaca7569
UD
124862010-11-22 Ulrich Drepper <drepper@gmail.com>
12487
12488 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12489 last patch a bit. Pretty printing
12490
3056dcdb
UD
124912010-05-31 Petr Baudis <pasky@suse.cz>
12492
12493 [BZ #10085]
12494 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12495 initialization of skip_initgroups_dyn.
12496
cf7c9078
UD
124972010-11-19 Ulrich Drepper <drepper@gmail.com>
12498
12499 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12500 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12501
a1fb5e3e
UD
125022010-11-16 Ulrich Drepper <drepper@gmail.com>
12503
12504 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12505
3540d66b
AS
125062010-11-11 Andreas Schwab <schwab@redhat.com>
12507
12508 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12509 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12510 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12511 ($(objpfx)tst-fnmatch-mem): New rule.
12512 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12513 * posix/tst-fnmatch.c (main): Call mtrace.
12514
13b69574
L
125152010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12516
12517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12518 Support Intel processor model 6 and model 0x2c.
12519
da93d214
LM
125202010-11-10 Luis Machado <luisgpm@br.ibm.com>
12521
12522 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12523 signed comparison.
12524
8ca52c6e
L
125252010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12526
12527 [BZ #12205]
12528 * string/test-strncasecmp.c (check_result): New function.
12529 (do_one_test): Use it.
12530 (check1): New function.
12531 (test_main): Use it.
12532 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12533 Support strcasecmp and strncasecmp.
12534
69da074d
UD
125352010-11-08 Ulrich Drepper <drepper@gmail.com>
12536
12537 [BZ #12194]
12538 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12539 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12540
ff02d528
L
125412010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12542
12543 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12544 IFUNC support.
12545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12546 memset-x86-64.
12547 * sysdeps/x86_64/multiarch/bzero.S: New file.
12548 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12549 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12550 * sysdeps/x86_64/multiarch/memset.S: New file.
12551 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12553 Set bit_Prefer_SSE_for_memop for Intel processors.
12554 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12555 Define.
12556 (index_Prefer_SSE_for_memop): Define.
12557 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12558
344d0b54
LM
125592010-11-04 Luis Machado <luisgpm@br.ibm.com>
12560
12561 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12562 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12563
c0dde15b
UD
125642010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12565
12566 [BZ #12191]
12567 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12568 (__x86_64_raw_data_cache_size_half): Likewise.
12569 (__x86_64_raw_shared_cache_size): Likewise.
12570 (__x86_64_raw_shared_cache_size_half): Likewise.
12571
12572 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12573 (__x86_64_raw_data_cache_size_half): Likewise.
12574 (__x86_64_raw_shared_cache_size): Likewise.
12575 (__x86_64_raw_shared_cache_size_half): Likewise.
12576 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12577 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12578 and __x86_64_raw_shared_cache_size_half. Round
12579 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12580 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12581 to multiple of 256 bytes.
12582
0e516e0e
MS
125832010-11-03 Ulrich Drepper <drepper@gmail.com>
12584
12585 [BZ #12167]
12586 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12587 of inacessible symlinks. Verify result of symlink before returning it.
12588 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12589 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12590
0e012e87
ER
125912010-10-28 Erich Ritz <erichritz@gmail.com>
12592
12593 * math/math.h (isinf): Fix typo in comment.
12594
de0ff7bc
UD
125952010-11-01 Ulrich Drepper <drepper@gmail.com>
12596
12597 * po/da.po: Update from translation team.
12598
fa41c84d
UD
125992010-10-26 Ulrich Drepper <drepper@gmail.com>
12600
12601 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12602 is added to the list.
12603
f0967738
AK
126042010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12605 Ulrich Drepper <drepper@gmail.com>
12606
12607 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12608 the global list here. Move code to...
12609 (_dl_add_to_namespace_list): ...here. New function.
12610 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12611 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12612 * elf/dl-load.c (lose): Don't remove the element from the list.
12613 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12614 (_dl_map_object): Likewise.
12615
126162010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12617
12618 [BZ #12159]
12619 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12620 into all bytes of SSE register.
12621 Patch by Richard Li <richardpku@gmail.com>.
12622
f0967738 126232010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12624
12625 [BZ #12140]
12626 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12627 perturbing.
12628
d0b9e94f
MB
126292010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12630
12631 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12632 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12633 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12634 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12636 submachine.
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12638
8e9f92e9
AS
126392010-10-22 Andreas Schwab <schwab@redhat.com>
12640
12641 * include/dlfcn.h (__RTLD_SECURE): Define.
12642 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12643 mode & __RTLD_SECURE instead.
12644 (open_path): Rename preloaded parameter to secure.
12645 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12646 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12647 * elf/dl-deps.c (openaux): Likewise.
12648 * elf/rtld.c (struct map_args): Remove is_preloaded.
12649 (map_doit): Don't use it.
12650 (dl_main): Likewise.
12651 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12652 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12653
bc96fbda
AS
126542010-09-09 Andreas Schwab <schwab@redhat.com>
12655
12656 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12657 (sysd-rules-targets): Remove duplicates.
12658 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12659 rtld-%.$o dependency.
12660
22cd1c9b
AS
126612010-10-18 Andreas Schwab <schwab@redhat.com>
12662
12663 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12664 _dl_map_object do it.
12665
18edac48
UD
126662010-10-19 Ulrich Drepper <drepper@gmail.com>
12667
12668 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12669 fast fma builtins, define the macros in the C99 standard.
12670 (FP_FAST_FMAF): Likewise.
12671 (FP_FAST_FMAL): Likewise.
12672 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12673
12674 * bits/mathdef.h: Update copyright year.
12675 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12676
d2050124
MM
126772010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12678
12679 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12680 builtins, define the macros in the C99 standard.
12681 (FP_FAST_FMAF): Likewise.
12682 (FP_FAST_FMAL): Likewise.
12683 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12684 multiply/add.
12685 (FP_FAST_FMAF): Likewise.
12686
475facd1
JJ
126872010-10-15 Jakub Jelinek <jakub@redhat.com>
12688
12689 [BZ #3268]
12690 * math/libm-test.inc (fma_test): Some new testcases.
12691 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12692 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12693 y and infinite z. Do multiplication by C already in long double.
12694 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12696 y and infinite z. Do bitwise or of inexact bit into u.d.
12697 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12698 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12699 * sysdeps/i386/fpu/s_fma.S: Removed.
12700 * sysdeps/i386/fpu/s_fmal.S: Removed.
12701
7c08a05c
JJ
127022010-10-16 Jakub Jelinek <jakub@redhat.com>
12703
12704 [BZ #3268]
12705 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12707 computation is not scheduled after fetestexcept. Fix value
12708 of minimum denormal long double.
12709
f3f7372d
JJ
127102010-10-14 Jakub Jelinek <jakub@redhat.com>
12711
12712 [BZ #3268]
12713 * math/libm-test.inc (fma_test): Add some more tests.
12714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12715 correctly.
12716
14d43591
AS
127172010-10-15 Andreas Schwab <schwab@redhat.com>
12718
12719 * scripts/data/localplt-s390-linux-gnu.data: New file.
12720 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12721
5e908464
JJ
127222010-10-13 Jakub Jelinek <jakub@redhat.com>
12723
12724 [BZ #3268]
12725 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12726 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12727 instead of dbl-64.
12728 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12729 inlines.
12730 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12732 if one of x and y is very large and the other is subnormal.
12733 * sysdeps/s390/fpu/s_fmaf.c: New file.
12734 * sysdeps/s390/fpu/s_fma.c: New file.
12735 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12736 * sysdeps/powerpc/fpu/s_fma.S: New file.
12737 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12738 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12739 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12740
127412010-10-12 Jakub Jelinek <jakub@redhat.com>
12742
12743 [BZ #3268]
12744 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12745 fma tests.
12746 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12747 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12748 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12749 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12750 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12751 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12753
b833d51f
UD
127542010-10-12 Ulrich Drepper <drepper@redhat.com>
12755
12756 [BZ #12078]
12757 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12758 * posix/bug-regex31.input: Add test case.
12759
1751705d
UD
127602010-10-11 Ulrich Drepper <drepper@gmail.com>
12761
e9b9cbf5
UD
12762 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12763 * posix/bug-regex31.input: New file.
12764
12765 [BZ #12078]
12766 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12767 (parse_sub_exp): Fix last change, use postorder.
12768
ef06edbe
UD
12769 * posix/bug-regex31.c: New file.
12770 * posix/Makefile: Add rules to build and run bug-regex31.
12771
a129c80d
UD
12772 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12773
12774 [BZ #12078]
12775 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12776
b76b818e
UD
12777 [BZ #12108]
12778 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12779 to have entries in sys_siglist.
12780
1751705d
UD
12781 [BZ #12093]
12782 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12783 be NULL.
12784
9ff8d36f
JJ
127852010-10-07 Jakub Jelinek <jakub@redhat.com>
12786
12787 [BZ #3268]
12788 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12789 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12790 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12791 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12792 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12793 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12794 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12795 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12796 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12797 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12798 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12799 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12800 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12801 * math/ftestexcept.c (fetestexcept): Likewise.
12802 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12803 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12804 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12805 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12806 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12807 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12808 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12809
af325969
UD
128102010-10-11 Ulrich Drepper <drepper@gmail.com>
12811
c579b202 12812 [BZ #12107]
af325969
UD
12813 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12814 newline.
12815
67a67b95
UD
128162010-10-06 Ulrich Drepper <drepper@gmail.com>
12817
12818 * string/bug-strstr1.c: New file.
12819 * string/Makefile: Add rules to build and run bug-strstr1.
12820
5fb308bc
EB
128212010-10-05 Eric Blake <eblake@redhat.com>
12822
12823 [BZ #12092]
12824 * string/str-two-way.h (two_way_long_needle): Always clear memory
12825 when skipping input due to the shift table.
12826
45db99c7
UD
128272010-10-03 Ulrich Drepper <drepper@gmail.com>
12828
3b111893
UD
12829 [BZ #12005]
12830 * malloc/mcheck.c: Handle large requests.
12831
45db99c7
UD
12832 [BZ #12077]
12833 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12834 for strncmp and strncasecmp.
12835 * string/stratcliff.c: Add tests for strcmp and strncmp.
12836 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12837
cf7a1eb8
NI
128382010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12839
12840 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12841 __set_fpscr.
12842
6484ba5e
AJ
128432010-09-30 Andreas Jaeger <aj@suse.de>
12844
12845 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12846 (CGROUP_SUPER_MAGIC): Define.
12847 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12848 Handle btrfs and cgroup file systems.
12849 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12850 Likewise.
12851
91c42559
LM
128522010-09-27 Luis Machado <luisgpm@br.ibm.com>
12853
12854 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12855 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12856
87a97932
AK
128572010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12858
12859 [BZ #12067]
12860 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12861 trying to locate the ELF header.
12862
c21cc9bc
AS
128632010-09-27 Andreas Schwab <schwab@redhat.com>
12864
12865 [BZ #11611]
12866 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12867 Mask out sign-bit copies when constructing f_fsid.
12868
315970f6
PB
128692010-09-24 Petr Baudis <pasky@suse.cz>
12870
12871 * debug/stack_chk_fail_local.c: Add missing licence exception.
12872 * debug/warning-nop.c: Likewise.
12873
1ac7a2c7
JM
128742010-09-15 Joseph Myers <joseph@codesourcery.com>
12875
12876 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12877 implementing getdents64 using getdents syscall, set d_type if
12878 __ASSUME_GETDENTS32_D_TYPE.
12879
56801c50
AS
128802010-09-16 Andreas Schwab <schwab@redhat.com>
12881
12882 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12883 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12884
dda51327
UD
128852010-09-21 Ulrich Drepper <drepper@redhat.com>
12886
12887 [BZ #12037]
12888 * posix/unistd.h: Undo change of feature selection for ftruncate from
12889 2010-01-11.
12890
8ffcee4a
UD
128912010-09-20 Ulrich Drepper <drepper@redhat.com>
12892
a545ecd9 12893 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12894 detection.
12895
e24f0a8b
AS
128962010-09-20 Andreas Schwab <schwab@redhat.com>
12897
12898 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12899 fanotify_mark.
12900 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12901
7291c56f
AS
129022010-09-14 Andreas Schwab <schwab@redhat.com>
12903
12904 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12905 variables after CHECK_SP call.
12906 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12907
bc5fb037
AS
129082010-09-13 Andreas Schwab <schwab@redhat.com>
12909 Ulrich Drepper <drepper@redhat.com>
12910
12911 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12912 re-relocationg ld.so.
12913 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12914 _dl_init_paths call.
12915 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12916 here anymore.
12917
e66e7419
UD
129182010-09-14 Ulrich Drepper <drepper@redhat.com>
12919
12920 * resolv/res_init.c (__res_vinit): Count the default server we added.
12921
c044aa75
CLT
129222010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12923 Ulrich Drepper <drepper@redhat.com>
12924
12925 [BZ #11968]
12926 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12927 (____longjmp_chk): Use %ebx for saving value across system call.
12928 Add unwind info.
12929
32cf4069
AS
129302010-09-06 Andreas Schwab <schwab@redhat.com>
12931
12932 * manual/Makefile: Don't mix pattern rules with normal rules.
12933
817328ee
AS
129342010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12935
12936 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12937 operation.
12938 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12939 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12940 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12941 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12943 Likewise.
12944
29fddf61
UD
129452010-09-04 Ulrich Drepper <drepper@redhat.com>
12946
12947 [BZ #11979]
12948 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12949 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12950
0959ffc9
UD
129512010-09-02 Ulrich Drepper <drepper@redhat.com>
12952
12953 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12954 * sysdeps/x86_64/addmul_1.S: Likewise.
12955 * sysdeps/x86_64/lshift.S: Likewise.
12956 * sysdeps/x86_64/mul_1.S: Likewise.
12957 * sysdeps/x86_64/rshift.S: Likewise.
12958 * sysdeps/x86_64/sub_n.S: Likewise.
12959 * sysdeps/x86_64/submul_1.S: Likewise.
12960
ece29840
ST
129612010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12962
0959ffc9
UD
12963 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12964 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12965 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12966 * bits/sched.h [__need_schedparam]
ece29840 12967 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12968 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12969 (__defined_schedparam): Define to 1.
ece29840
ST
12970 (__sched_param): New structure, identical to sched_param.
12971 (__need_schedparam): Undefine.
12972
e53a31fe
MF
129732010-08-31 Mike Frysinger <vapier@gentoo.org>
12974
fdc0c10d
MF
12975 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12976 (epoll_create1): Declare.
12977
e53a31fe
MF
12978 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12979
a726d796
AS
129802010-08-31 Andreas Schwab <schwab@redhat.com>
12981
12982 [BZ #7066]
12983 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12984 shifting retval into place.
12985
2f3e3dc7
UD
129862010-09-01 Ulrich Drepper <drepper@redhat.com>
12987
f2933da9
UD
12988 * nis/rpcsvc/nis.h: Update copyright notice.
12989 * nis/rpcsvc/nis.x: Likewise.
12990 * nis/rpcsvc/nis_callback.h: Likewise.
12991 * nis/rpcsvc/nis_callback.x: Likewise.
12992 * nis/rpcsvc/nis_object.x: Likewise.
12993 * nis/rpcsvc/nis_tags.h: Likewise.
12994 * nis/rpcsvc/yp.h: Likewise.
12995 * nis/rpcsvc/yp.x: Likewise.
12996 * nis/rpcsvc/ypupd.h: Likewise.
12997 * nis/yp_xdr.c: Likewise.
12998 * nis/ypupdate_xdr.c: Likewise.
12999
2f3e3dc7
UD
13000 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13001 mainly the body of pmap_getport. Add parameters to specify timeouts.
13002 (pmap_getport): Use __libc_rpc_getport.
13003 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13004 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13005 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13006
f3dcc2f9
AS
130072010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13008
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13010 fanotify_mark.
13011
6d34eb5b
RM
130122010-08-27 Roland McGrath <roland@redhat.com>
13013
13014 * sysdeps/i386/i686/multiarch/Makefile
13015 (CFLAGS-varshift.c): New variable.
13016
9ea3de11
UD
130172010-08-27 Ulrich Drepper <drepper@redhat.com>
13018
c96d23fc
UD
13019 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13020 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13021
9ea3de11
UD
13022 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13023
13024 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13025
623aac7f
L
130262010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13027
13028 * sysdeps/x86_64/strlen.S: Unroll the loop.
13029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13030 strlen-sse2 strlen-sse2-bsf.
13031 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13032 __strlen_no_bsf if bit_Slow_BSF is set.
13033 (__strlen_sse42): Removed.
13034 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13035 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13036
8b2b7715
RM
130372010-08-25 Roland McGrath <roland@redhat.com>
13038
13039 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13040 * sysdeps/x86_64/multiarch/varshift.c: New file.
13041 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13042 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13043 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13044 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13045
e73015f2
L
130462010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13047
13048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13049 strlen-sse2 strlen-sse2-bsf.
13050 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13051 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13052 (__strlen_sse2): Removed.
13053 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13054 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13056 bit_Slow_BSF for Atom.
13057 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13058 (index_Slow_BSF): Define.
13059 (HAS_SLOW_BSF): Define.
13060
df24a73e
UD
130612010-08-25 Ulrich Drepper <drepper@redhat.com>
13062
13063 [BZ #10851]
13064 * resolv/res_init.c (__res_vinit): When no server address at all
13065 is given default to loopback.
13066
f2ac4868
RM
130672010-08-24 Roland McGrath <roland@redhat.com>
13068
09055553
RM
13069 * configure.in: Remove config-name.h generation.
13070 * configure: Regenerated.
13071 * config-name.in: File removed.
13072 * scripts/config-uname.sh: New file.
13073 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13074 ($(objdir)config-name.h): New target.
13075
f2ac4868
RM
13076 * sunrpc/rpc_parse.h: Avoid nested comment.
13077
73f27d5e
RH
130782010-08-24 Richard Henderson <rth@redhat.com>
13079 Ulrich Drepper <drepper@redhat.com>
13080 H.J. Lu <hongjiu.lu@intel.com>
13081
13082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13084 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13085 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13086 _mm_alignr_epi8 with _mm_loadu_si128.
13087 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13088 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13089 (__m128i_shift_right): Removed.
13090 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13091 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13092 * sysdeps/x86_64/multiarch/varshift.h: New file.
13093 * sysdeps/x86_64/multiarch/varshift.S: New file.
13094
84b9230c
MF
130952010-08-21 Mike Frysinger <vapier@gentoo.org>
13096
13097 * configure.in: Move assembler checks to before sysdep dir checking.
13098
9bbd0ddc
PB
130992010-08-20 Petr Baudis <pasky@suse.cz>
13100
13101 * LICENSES: Sync the sunrpc license.
13102
9da4bb31
UD
131032010-08-19 Ulrich Drepper <drepper@redhat.com>
13104
a7ab6ec8
UD
13105 * sunrpc/auth_des.c: Update copyright notice once again.
13106 * sunrpc/auth_none.c: Likewise.
13107 * sunrpc/auth_unix.c: Likewise.
13108 * sunrpc/authdes_prot.c: Likewise.
13109 * sunrpc/authuxprot.c: Likewise.
13110 * sunrpc/bindrsvprt.c: Likewise.
13111 * sunrpc/clnt_gen.c: Likewise.
13112 * sunrpc/clnt_perr.c: Likewise.
13113 * sunrpc/clnt_raw.c: Likewise.
13114 * sunrpc/clnt_simp.c: Likewise.
13115 * sunrpc/clnt_tcp.c: Likewise.
13116 * sunrpc/clnt_udp.c: Likewise.
13117 * sunrpc/clnt_unix.c: Likewise.
13118 * sunrpc/des_crypt.c: Likewise.
13119 * sunrpc/des_soft.c: Likewise.
13120 * sunrpc/get_myaddr.c: Likewise.
13121 * sunrpc/getrpcport.c: Likewise.
13122 * sunrpc/key_call.c: Likewise.
13123 * sunrpc/key_prot.c: Likewise.
13124 * sunrpc/openchild.c: Likewise.
13125 * sunrpc/pm_getmaps.c: Likewise.
13126 * sunrpc/pm_getport.c: Likewise.
13127 * sunrpc/pmap_clnt.c: Likewise.
13128 * sunrpc/pmap_prot.c: Likewise.
13129 * sunrpc/pmap_prot2.c: Likewise.
13130 * sunrpc/pmap_rmt.c: Likewise.
13131 * sunrpc/rpc/auth.h: Likewise.
13132 * sunrpc/rpc/auth_unix.h: Likewise.
13133 * sunrpc/rpc/clnt.h: Likewise.
13134 * sunrpc/rpc/des_crypt.h: Likewise.
13135 * sunrpc/rpc/key_prot.h: Likewise.
13136 * sunrpc/rpc/netdb.h: Likewise.
13137 * sunrpc/rpc/pmap_clnt.h: Likewise.
13138 * sunrpc/rpc/pmap_prot.h: Likewise.
13139 * sunrpc/rpc/pmap_rmt.h: Likewise.
13140 * sunrpc/rpc/rpc.h: Likewise.
13141 * sunrpc/rpc/rpc_des.h: Likewise.
13142 * sunrpc/rpc/rpc_msg.h: Likewise.
13143 * sunrpc/rpc/svc.h: Likewise.
13144 * sunrpc/rpc/svc_auth.h: Likewise.
13145 * sunrpc/rpc/types.h: Likewise.
13146 * sunrpc/rpc/xdr.h: Likewise.
13147 * sunrpc/rpc_clntout.c: Likewise.
13148 * sunrpc/rpc_cmsg.c: Likewise.
13149 * sunrpc/rpc_common.c: Likewise.
13150 * sunrpc/rpc_cout.c: Likewise.
13151 * sunrpc/rpc_dtable.c: Likewise.
13152 * sunrpc/rpc_hout.c: Likewise.
13153 * sunrpc/rpc_main.c: Likewise.
13154 * sunrpc/rpc_parse.c: Likewise.
13155 * sunrpc/rpc_parse.h: Likewise.
13156 * sunrpc/rpc_prot.c: Likewise.
13157 * sunrpc/rpc_sample.c: Likewise.
13158 * sunrpc/rpc_scan.c: Likewise.
13159 * sunrpc/rpc_scan.h: Likewise.
13160 * sunrpc/rpc_svcout.c: Likewise.
13161 * sunrpc/rpc_tblout.c: Likewise.
13162 * sunrpc/rpc_util.c: Likewise.
13163 * sunrpc/rpc_util.h: Likewise.
13164 * sunrpc/rpcinfo.c: Likewise.
13165 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13166 * sunrpc/rpcsvc/key_prot.x: Likewise.
13167 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13168 * sunrpc/rpcsvc/mount.x: Likewise.
13169 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13170 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13171 * sunrpc/rpcsvc/rex.x: Likewise.
13172 * sunrpc/rpcsvc/rstat.x: Likewise.
13173 * sunrpc/rpcsvc/rusers.x: Likewise.
13174 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13175 * sunrpc/rpcsvc/spray.x: Likewise.
13176 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13177 * sunrpc/rtime.c: Likewise.
13178 * sunrpc/svc.c: Likewise.
13179 * sunrpc/svc_auth.c: Likewise.
13180 * sunrpc/svc_authux.c: Likewise.
13181 * sunrpc/svc_raw.c: Likewise.
13182 * sunrpc/svc_run.c: Likewise.
13183 * sunrpc/svc_simple.c: Likewise.
13184 * sunrpc/svc_tcp.c: Likewise.
13185 * sunrpc/svc_udp.c: Likewise.
13186 * sunrpc/svc_unix.c: Likewise.
13187 * sunrpc/svcauth_des.c: Likewise.
13188 * sunrpc/xcrypt.c: Likewise.
13189 * sunrpc/xdr.c: Likewise.
13190 * sunrpc/xdr_array.c: Likewise.
13191 * sunrpc/xdr_float.c: Likewise.
13192 * sunrpc/xdr_mem.c: Likewise.
13193 * sunrpc/xdr_rec.c: Likewise.
13194 * sunrpc/xdr_ref.c: Likewise.
13195 * sunrpc/xdr_sizeof.c: Likewise.
13196 * sunrpc/xdr_stdio.c: Likewise.
13197
9da4bb31
UD
13198 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13199 handling.
13200
bdaa77bc
AS
132012010-08-19 Andreas Schwab <schwab@redhat.com>
13202
13203 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13204
fe2f79db
LM
132052010-08-19 Luis Machado <luisgpm@br.ibm.com>
13206
13207 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13208 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13209 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13210 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13211 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13212 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13213 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13214 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13215 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13216 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13217 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13218 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13219 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13220 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13221
b9b42ee0
AB
132222010-07-26 Anton Blanchard <anton@samba.org>
13223
13224 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13225 * malloc/arena.c (heap_trim): Likewise.
13226
1c06ba31
UD
132272010-08-16 Ulrich Drepper <drepper@redhat.com>
13228
13229 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13230 here. Not...
13231 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13232 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13233
f8392f40
L
132342010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13235
13236 * sysdeps/i386/elf/Makefile: New file.
13237
3162f12e
AS
132382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13239
13240 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13241 from fanotify_init.
13242 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13243 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13244
28c90b2c
UD
132452010-08-15 Ulrich Drepper <drepper@redhat.com>
13246
13247 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13248 of strncasecmp_l.
1feccb6c 13249 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13250
ca6bb004
UD
132512010-08-14 Ulrich Drepper <drepper@redhat.com>
13252
e9f82e0d
UD
13253 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13254 strncase_l-nonascii.
13255 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13256 Add strncase_l-ssse3.
13257 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13258 * sysdeps/x86_64/strcmp.S: Likewise.
13259 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13260 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13261 * sysdeps/x86_64/strncase.S: New file.
13262 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13263 * sysdeps/x86_64/strncase_l.S: New file.
13264 * string/Makefile (strop-tests): Add strncasecmp.
13265 * string/test-strncasecmp.c: New file.
13266
13267 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13268 warning.
13269
ca6bb004
UD
13270 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13271 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13272
052fa7b3
AS
132732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13274
13275 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13276
962dba78
UD
132772010-08-12 Ulrich Drepper <drepper@redhat.com>
13278
13279 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13280 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13281 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13282
bebff237
AM
132832010-05-01 Alan Modra <amodra@gmail.com>
13284
13285 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13286 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13287 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13288 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13289 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13290 tidying. Don't tail-call __sigjmp_save for static lib.
13291 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13292 save location.
13293 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13294 (CALL_MCOUNT): Add eh info, and nop after bl.
13295 (TAIL_CALL_SYSCALL_ERROR): New macro.
13296 (PSEUDO_RET): Use it.
13297 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13298 Correct save location of integer regs and cr.
13299 (_dl_profile_resolve): Correct cr save location. Delete nops
13300 after bl when SHARED. Reduce cfi size a little by better
13301 placement of cfi directives.
13302 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13303 make a stack frame. Instead use parm save area as a temp.
13304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13305 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13307 Don't make a stack frame for parent, use parm save area.
13308 Increase child stack frame to 112 bytes. Don't save unused reg,
13309 and adjust reg usage. Set up cfi on error recovery and
13310 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13312 (__makecontext): Add dummy nop after jump to exit.
13313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13314 Use correct parm save area and cr save, reduce stack frame.
13315 Correct cfi for possible PSEUDO_RET frame setup.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13317 Branch to local label emitted by PSEUDO_RET rather than
13318 __syscall_error.
13319
02637374
AS
133202010-08-12 Andreas Schwab <schwab@redhat.com>
13321
13322 [BZ #11904]
13323 * locale/programs/locale.c (print_assignment): New function.
13324 (show_locale_vars): Use it.
13325
c3e2f19b
UD
133262010-08-11 Ulrich Drepper <drepper@redhat.com>
13327
3cdaa6ad
UD
13328 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13329 field.
13330 (struct statfs64): Likewise.
13331 (_STATFS_F_FLAGS): Define.
13332 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13333 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13334 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13335 (ST_VALID): Define locally.
13336 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13337 __statvfs_getflags, use the provided value.
13338 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13339 __ASSUME_STATFS_F_FLAGS.
13340
754f7da3
UD
13341 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13342
10b3bedc
UD
13343 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13344 Add sys/fanotify.h.
13345 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13346 fanotify_mask for GLIBC_2.13.
13347 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13348 fanotify_init and fanotify_mark.
13349 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13350 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13351
c08fb0d7
UD
13352 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13353 Add prlimit.
13354 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13355 prlimit64 for GLIBC_2.13.
13356 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13357 prlimit64.
13358 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13359 syscall.
13360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13361 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13362 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13363 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13364 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13365 add prlimit alias.
13366 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13367
15bac72b
UD
13368 [BZ #11903]
13369 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13370 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13371
c3e2f19b
UD
13372 * nss/Makefile: Add rules to build and run tst-nss-test1.
13373 * shlib-versions: Add entry for libnss_test1.
13374 * nss/nss_test1.c: New file.
13375 * nss/tst-nss-test1.c: New file.
13376
13377 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13378 (__nss_configure_lookup): Set appropriate entry in
13379 __nss_configure_lookup to true.
13380 * nss/nsswitch.h: Define enum with indeces of databases in
13381 databases and __nss_database_custom arrays. Declare
13382 __nss_database_custom.
13383 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13384 to avoid using nscd when custom rules are installed.
13385 * nss/getXXbyYY_r.c: Likewise.
13386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13387
13388 * nss/nss_files/files-parse.c: Whitespace fixes.
13389
f15ce4d8
UD
133902010-08-09 Ulrich Drepper <drepper@redhat.com>
13391
13392 [BZ #11883]
13393 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13394 * posix/fnmatch_loop.c: Likewise.
13395
d22e4cc9
AK
133962010-07-17 Andi Kleen <ak@linux.intel.com>
13397
13398 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13399 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13400 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13401 * Versions.def [GLIBC_2.13]: Add.
13402
805bc17d
UD
134032010-08-06 Ulrich Drepper <drepper@redhat.com>
13404
13405 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13406 Also fail if tpwd after pwuid call is NULL.
13407
5a42321d
ST
134082010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13409
13410 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13411 when converting to ms.
13412
fd3ebeda
ST
134132010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13414
13415 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13416 EOPNOTSUPP errors with ENOTTY.
13417 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13418 EOPNOTSUPP errors with ENOTTY.
13419
73507d3a
UD
134202010-07-31 Ulrich Drepper <drepper@redhat.com>
13421
13422 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13423 Add strcasecmp_l-ssse3.
13424 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13425 strcasecmp.
13426 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13427 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13428 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13429
fe36dd02
UD
134302010-07-30 Ulrich Drepper <drepper@redhat.com>
13431
66f6765a
UD
13432 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13433
42e08a54
UD
13434 * string/Makefile (strop-tests): Add strcasecmp.
13435 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13436 strcasecmp_l-nonascii.
13437 (gen-as-const-headers): Add locale-defines.sym.
13438 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13439 * sysdeps/x86_64/strcasecmp.S: New file.
13440 * sysdeps/x86_64/strcasecmp_l.S: New file.
13441 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13442 * sysdeps/x86_64/locale-defines.sym: New file.
13443 * string/test-strcasecmp.c: New file.
13444
fe36dd02
UD
13445 * string/test-strcasestr.c: Test both ends of the range of characters.
13446 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13447
48cbc0d6
RM
134482010-07-29 Roland McGrath <roland@redhat.com>
13449
76e6d6bc 13450 [BZ #11856]
48cbc0d6
RM
13451 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13452
880113d9
UD
134532010-07-27 Ulrich Drepper <drepper@redhat.com>
13454
13455 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13456 for ld.so.
13457
deb9cabb
AS
134582010-07-27 Andreas Schwab <schwab@redhat.com>
13459
13460 * manual/memory.texi (Malloc Tunable Parameters): Document
13461 M_PERTURB.
13462
1c7570ff
RM
134632010-07-26 Roland McGrath <roland@redhat.com>
13464
13465 [BZ #11840]
13466 * configure.in (-fgnu89-inline check): Set and substitute
13467 gnu89_inline, not libc_cv_gnu89_inline.
13468 * configure: Regenerated.
13469 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13470
24fb0f88
UD
134712010-07-26 Ulrich Drepper <drepper@redhat.com>
13472
13473 * string/test-strnlen.c: New file.
13474 * string/Makefile (strop-tests): Add strnlen.
13475 * string/tester.c (test_strnlen): Add a few more test cases.
13476 * string/tst-strlen.c: Better error reporting.
13477
13478 * sysdeps/x86_64/strnlen.S: New file.
13479
8e96b93a
UD
134802010-07-24 Ulrich Drepper <drepper@redhat.com>
13481
13482 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13483 lower-latency instructions.
13484
dbc676d4
UD
134852010-07-23 Ulrich Drepper <drepper@redhat.com>
13486
13487 * string/test-strcasestr.c: New file.
13488 * string/test-strstr.c: New file.
13489 * string/Makefile (strop-tests): Add strstr and strcasestr.
13490 * string/str-two-way.h: Don't undefine MAX.
13491 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13492
f6a31e0e
AS
134932010-07-21 Andreas Schwab <schwab@redhat.com>
13494
13495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13496 strcasestr-nonascii.
13497 (CFLAGS-strcasestr-nonascii.c): Define.
13498 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13499 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13500 Remove unused attribute.
13501
5dbc3b6c
RM
135022010-07-20 Roland McGrath <roland@redhat.com>
13503
13504 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13505 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13506 ld.so.cache was broken. With it, there is no way to disable dsocaps
13507 like LD_HWCAP_MASK can disable hwcaps.
13508
23d101d8
EPM
135092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13510
13511 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13512
cc9f2e47
UD
135132010-07-16 Ulrich Drepper <drepper@redhat.com>
13514
13515 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13516 call in strcasestr.
13517 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13518 __strcasestr_sse42_nonascii.
13519 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13520 strcasestr-nonascii.c.
13521 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13522
77c1b069
LM
135232010-06-15 Luis Machado <luisgpm@br.ibm.com>
13524
13525 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13526 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13527 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13528 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13529
440566c3
UD
135302010-07-09 Ulrich Drepper <drepper@redhat.com>
13531
13532 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13533 fcntl.
13534
5be9d05d
AS
135352010-07-06 Andreas Schwab <schwab@redhat.com>
13536
c30b7ee2 13537 [BZ #11577]
5be9d05d
AS
13538 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13539 dl_signal_cerror.
13540
8a492a67
UD
135412010-07-06 Ulrich Drepper <drepper@redhat.com>
13542
13543 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13544 _PC_PIPE_BUF using F_GETPIPE_SZ.
13545
713df3d5
RM
135462010-07-05 Roland McGrath <roland@redhat.com>
13547
13548 * manual/arith.texi (Rounding Functions): Fix rint description
13549 implicit in round description.
13550
702e8f14
UD
135512010-07-02 Ulrich Drepper <drepper@redhat.com>
13552
13553 * elf/Makefile: Fix linking for a few tests to make recent linker
13554 happy.
13555
52ed8be9
AS
135562010-06-30 Andreas Schwab <schwab@redhat.com>
13557
13558 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13559 $(common-objpfx)libc_nonshared.a.
13560
f47c9a11
LM
135612010-06-21 Luis Machado <luisgpm@br.ibm.com>
13562
13563 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13564 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13565 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13566 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13567 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13568 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13569 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13570 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13585 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13586 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13587 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13588 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13589 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13590 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13591 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13592 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13593 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13594 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13595 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13596 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13611
6fb8cbcb
L
136122010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13613
13614 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13615 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13616 * string/memmove.c (memmove): Renamed to ...
13617 (MEMMOVE): ...this. Default to memmove.
13618 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13619 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13620 (END_CHK): Define.
13621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13622 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13623 mempcpy-ssse3-back memmove-ssse3-back.
13624 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13625 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13626 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13627 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13628 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13629 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13630 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13631 * sysdeps/x86_64/multiarch/memmove.c: New file.
13632 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13633 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13634 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13635 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13636 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13637 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13638 Define.
13639 (index_Fast_Copy_Backward): Define.
13640 (HAS_ARCH_FEATURE): Define.
13641 (HAS_FAST_REP_STRING): Define.
13642 (HAS_FAST_COPY_BACKWARD): Define.
13643
4e733bac 136442010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13645
13646 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13647 Restore proper fallback handling.
13648
63c4ed22
UD
136492010-06-19 Ulrich Drepper <drepper@redhat.com>
13650
ac2b484c
UD
13651 [BZ #11701]
13652 * posix/group_member.c (__group_member): Correct checking loop.
13653
63c4ed22
UD
13654 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13655 OOM in getpwuid_r correctly. Return error number when the caller
13656 should return, otherwise -1.
13657 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13658 call returning > 0 value.
13659 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13660
765ade4b
AS
136612010-06-07 Andreas Schwab <schwab@redhat.com>
13662
13663 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13664 libc_nonshared.a from targets in modules-names.
13665
80da2e09
KS
136662010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13667
13668 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13669 requires it.
13670
158db122
LM
136712010-06-10 Luis Machado <luisgpm@br.ibm.com>
13672
13673 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13674 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13675 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13676 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13677
caa78cf8
AS
136782010-06-02 Andreas Schwab <schwab@redhat.com>
13679
13680 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13681
b2ef2c01
UD
136822010-06-14 Ulrich Drepper <drepper@redhat.com>
13683
13684 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13685 and F_GETPIPE_SZ.
13686 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13687 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13690 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13691 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13692
fbd643b6
RM
136932010-06-14 Roland McGrath <roland@redhat.com>
13694
13695 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13696
f32f2869
JJ
136972010-06-07 Jakub Jelinek <jakub@redhat.com>
13698
13699 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13700 __REDIRECT followed by __THROW.
13701 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13702 * posix/getopt.h (getopt): Likewise.
13703
2a50c078
EPM
137042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13705
13706 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13707 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13708 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13709 in AT_FLAGS.
13710 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13711 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13712
eb5ad2eb
LM
137132010-05-28 Luis Machado <luisgpm@br.ibm.com>
13714
13715 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13716
3c88fe1e
L
137172010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13718
13719 [BZ #11640]
13720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13721 Properly check family and model.
13722
d2f73151
TY
137232010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13724
13725 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13726
ebd2e13d
LM
137272010-05-24 Luis Machado <luisgpm@br.ibm.com>
13728
13729 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13730
b32b8b45
UD
137312010-05-21 Ulrich Drepper <drepper@redhat.com>
13732
13733 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13734 symbol reference.
13735
9acbe24d
AS
137362010-05-19 Andreas Schwab <schwab@redhat.com>
13737
13738 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13739 symbol reference.
13740
f0ccf6ea
AS
137412010-05-21 Andreas Schwab <schwab@redhat.com>
13742
3d04ff3a
AS
13743 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13744 and internal_recvmmsg.
13745 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13746 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13747 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13748 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13749
f0ccf6ea
AS
13750 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13751 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13752 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13753
5b08ac57
AS
137542010-05-20 Andreas Schwab <schwab@redhat.com>
13755
13756 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13757
4828935d
LM
137582010-05-17 Luis Machado <luisgpm@br.ibm.com>
13759
13760 POWER7 optimizations.
13761 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13762 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13763
373d545e
UD
137642010-05-19 Ulrich Drepper <drepper@redhat.com>
13765
13766 * version.h: Update for 2.13 development version.
13767
21a2b1ae
AS
137682010-05-12 Andrew Stubbs <ams@codesourcery.com>
13769
13770 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13771 exceptions. Return 0.
13772
3f7dcb2b
RM
137732010-05-07 Roland McGrath <roland@redhat.com>
13774
13775 * elf/ldconfig.c (main): Add a const.
13776
5f24d53a 137772010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13778
a160f8d8
UD
13779 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13780 (args_options): Add no-idn option.
13781 (ahosts_keys_int): Add idn_flags to ai_flags.
13782 (parse_option): Handle 'i' option to clear idn_flags.
13783
5f24d53a
UD
13784 * malloc/malloc.c (_int_free): Possible race in the most recently
13785 added check. Only act on the data if no current modification
13786 happened.
265bb1ce
UD
13787
13788See ChangeLog.17 for earlier changes.