]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Hurd: Fix mlock in all cases except non-readable pages.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6b645f0d
ST
12012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2
66cbbebc
ST
3 Fix mlock in all cases except non-readable pages.
4 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5 instead of VM_PROT_ALL as parameter to __vm_wire function.
6
6b645f0d
ST
7 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8 (__mkdir): When path is `/', just fail with EEXIST.
9 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10
e468f8a3
TS
112012-05-10 Thomas Schwinge <thomas@schwinge.name>
12
13 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14 <sys/uio.h> (for writev).
15 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
16 and <sys/param.h> (for MIN).
17
a4186cff
PT
182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19
20 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21 REQUESTED_TIME. Properly set the remaining time and return EINTR
22 if interrupted.
23
510bbf14
TS
242012-05-10 Thomas Schwinge <thomas@schwinge.name>
25
26 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
27 Depend on against $(link-rpcuserlibs).
28
5d5722e8
ST
292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30
a4186cff
PT
31 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32 (__libc_stack_end): Do not use attribute_relro.
33 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 35 to libthread-provided value.
a4186cff
PT
36 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37 attribute_relro.
5d5722e8 38
37233df9
TS
392012-05-10 Thomas Schwinge <thomas@schwinge.name>
40
be971a2b
TS
41 [BZ #3748]
42 * bits/libc-lock.h (__libc_once_get): New macro.
43 * sysdeps/mach/bits/libc-lock.h: Likewise.
44 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46 instead of using implementation details.
47
37233df9
TS
48 * libio/fileops.c: Unconditionally include <kernel-features.h>.
49 * libio/freopen.c: Likewise.
50 * libio/freopen64.c: Likewise.
51 * misc/syslog.c: Likewise.
52 * nscd/connections.c: Likewise.
53 * nscd/netgroupcache.c: Likewise.
54 * sysdeps/posix/getcwd.c: Likewise.
55
38de94a5
RM
562012-05-10 Roland McGrath <roland@hack.frob.com>
57
58 * math/w_ilogbf.c: Add #include <limits.h>.
59
67530489
ST
602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
61
a4186cff 62 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
63 path instead of returning without unlocking.
64
67530489
ST
65 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66 immediate-write ioctls.
67 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
68
5aa3a74a
TS
692012-05-10 Thomas Schwinge <thomas@schwinge.name>
70
18bad2ae
TS
71 * sysdeps/mach/hurd/i386/init-first.c (init): Use
72 __builtin_frame_address instead of making assumptions about the
73 location of the return address relative to DATA. Force early load of
74 the return address.
75 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76 __builtin_frame_address.
77
5aa3a74a
TS
78 dup3 for GNU Hurd.
79 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
80 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
81 implement dup3 and do some further code clean-ups.
82 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
83 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
84
ecd0de9a
ST
852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
86
cd9fa985
ST
87 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
88
a4186cff
PT
89 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
90 HURD_CRITICAL_END around holding _hurd_dtable_lock.
91 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
92 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
93 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
94 d->port.lock.
802ca5a5 95
a4186cff
PT
96 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
97 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
98 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 99
bcf55240
TS
1002012-05-10 Thomas Schwinge <thomas@schwinge.name>
101
6960eb42
TS
102 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
103 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
104 definitions.
105
eb43375f
TS
106 accept4 for GNU Hurd.
107 * include/sys/socket.h (__libc_accept4): New prototype.
108 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
109 to implement __libc_accept4.
110 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
111 __libc_accept4.
112 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
113
bcf55240
TS
114 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
115 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
116 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
117 signal-defines.sym.
118
6178c55b
ST
1192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
120
a4186cff 121 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 122
6f080c2f
TS
1232012-05-10 Thomas Schwinge <thomas@schwinge.name>
124
125 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
126 assertion on O_CLOEXEC flag.
127 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
128 * hurd/intern-fd.c: Likewise.
129 * hurd/port2fd.c: Likewise.
130
bcfe3a54
ST
1312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
132
133 [BZ #3906]
134 * bits/in.h (IPV6_PKTINFO): Define new macro.
135 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
136
89c9aa49
AZ
1372012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
138
139 [BZ #13954]
140 [BZ #13955]
141 [BZ #13956]
142 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
143 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
144 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
145 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
147 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
148 * math/libm-test.inc (logb_test) : Additional logb tests.
149
021db4be
AJ
1502012-05-09 Andreas Schwab <schwab@linux-m68k.org>
151 Andreas Jaeger <aj@suse.de>
152
153 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
154 * configure: Regenerated.
155 * config.h.in (LINK_OBSOLETE_RPC): New macro.
156 * config.make.in (link-obsolete-rpc): New substituted variable.
157 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
158 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
159 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
160 (shared-only-routines): Don't set it under [link-obsolete-rpc],
161 so that libc.a contains the symbols.
162 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
163 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
164 * sunrpc/auth_none.c: Likewise.
165 * sunrpc/auth_unix.c: Likewise.
166 * sunrpc/authdes_prot.c: Likewise.
167 * sunrpc/authuxprot.c: Likewise.
168 * sunrpc/clnt_gen.c: Likewise.
169 * sunrpc/clnt_perr.c: Likewise.
170 * sunrpc/clnt_raw.c: Likewise.
171 * sunrpc/clnt_simp.c: Likewise.
172 * sunrpc/clnt_tcp.c: Likewise.
173 * sunrpc/clnt_udp.c: Likewise.
174 * sunrpc/clnt_unix.c: Likewise.
175 * sunrpc/des_crypt.c: Likewise.
176 * sunrpc/des_soft.c: Likewise.
177 * sunrpc/get_myaddr.c: Likewise.
178 * sunrpc/key_call.c: Likewise.
179 * sunrpc/key_prot.c: Likewise.
180 * sunrpc/netname.c: Likewise.
181 * sunrpc/pm_getmaps.c: Likewise.
182 * sunrpc/pm_getport.c: Likewise.
183 * sunrpc/pmap_clnt.c: Likewise.
184 * sunrpc/pmap_prot.c: Likewise.
185 * sunrpc/pmap_prot2.c: Likewise.
186 * sunrpc/pmap_rmt.c: Likewise.
187 * sunrpc/publickey.c: Likewise.
188 * sunrpc/rpc_cmsg.c: Likewise.
189 * sunrpc/rpc_common.c: Likewise.
190 * sunrpc/rpc_dtable.c: Likewise.
191 * sunrpc/rpc_prot.c: Likewise.
192 * sunrpc/rpc_thread.c: Likewise.
193 * sunrpc/rtime.c: Likewise.
194 * sunrpc/svc.c: Likewise.
195 * sunrpc/svc_auth.c: Likewise.
196 * sunrpc/svc_raw.c: Likewise.
197 * sunrpc/svc_run.c: Likewise.
198 * sunrpc/svc_tcp.c: Likewise.
199 * sunrpc/svc_udp.c: Likewise.
200 * sunrpc/svc_unix.c: Likewise.
201 * sunrpc/svcauth_des.c: Likewise.
202 * sunrpc/xcrypt.c: Likewise.
203 * sunrpc/xdr.c: Likewise.
204 * sunrpc/xdr_array.c: Likewise.
205 * sunrpc/xdr_float.c: Likewise.
206 * sunrpc/xdr_intXX_t.c: Likewise.
207 * sunrpc/xdr_mem.c: Likewise.
208 * sunrpc/xdr_rec.c: Likewise.
209 * sunrpc/xdr_ref.c: Likewise.
210 * sunrpc/xdr_sizeof.c: Likewise.
211 * sunrpc/xdr_stdio.c: Likewise.
212
b5c086a2
RM
2132012-05-10 Roland McGrath <roland@hack.frob.com>
214
215 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
216 change. Update copyright years.
217
6d74dd09
JM
2182012-05-10 Joseph Myers <joseph@codesourcery.com>
219
220 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
221
28e72501
MK
2222012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
223 Joseph Myers <joseph@codesourcery.com>
224 Paul Pluzhnikov <ppluzhnikov@google.com>
225
226 [BZ #14012]
227 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
228 requiring rpcgen.
229 [cross-compiling] (extra-libs): Likewise.
230 [cross-compiling] (extra-libs-others): Likewise.
231 [cross-compiling] (librpcsvc-routines): Likewise.
232 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
233 [cross-compiling] (omit-deps): Likewise.
234 (sunrpc-CPPFLAGS): New variable.
235 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
236 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
237 (cross-rpcgen-objs): New variable.
238 (extra-objs): Append $(cross-rpcgen-objs).
239 ($(cross-rpcgen-objs)): New rule.
240 ($(objpfx)cross-rpcgen): Likewise.
241 (rpcgen-cmd): Define to use $(built-program-file). Expand
242 comment.
243 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
244 ($(objpfx)x%.stmp): Likewise.
245 * sunrpc/proto.h [IS_IN_build] (_): Define.
246 [IS_IN_build] (_libc_intl_domainname): Likewise.
247
c8c59454
L
2482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
249
250 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
251 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
252 and R_X86_64_TPOFF64.
253
6f27cd16
JM
2542012-05-10 Joseph Myers <joseph@codesourcery.com>
255
256 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
257 sysdeps/unix/sysv/syscalls.list.
258 (stime): Likewise.
259 (utime): Likewise.
260 * sysdeps/unix/sysv/syscalls.list: Remove file.
261
02467e1c
PE
2622012-05-10 Paul Eggert <eggert@cs.ucla.edu>
263
264 [BZ #3440]
265 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
266 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
267 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
268 (__LC_IDENTIFICATION): Make these macros useful in #if
269 expressions, as required by C99.
270
da392631
AS
2712012-05-10 Andreas Schwab <schwab@linux-m68k.org>
272
273 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
274 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
275 after this.
276
8115f29b
L
2772012-05-09 H.J. Lu <hongjiu.lu@intel.com>
278
279 * stdlib/longlong.h: Updated from GCC.
280
bdd74070
AJ
2812012-05-09 Andreas Jaeger <aj@suse.de>
282
edfe0dbe
AJ
283 * nscd/nscd.c (run_modes): Make named enum, reorder so that
284 default is first entry.
285 (run_mode): Set type.
286 (main): Remove informal message about syslog.
287 (options): Fix typo.
288
bcfe3a54
ST
289 [BZ #14053]
290 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 291 to asm.
bcfe3a54
ST
292 (lrint): Likewise.
293 (llrintf): Likewise.
294 (llrint): Likewise.
295 (rint): Likewise.
296 (rintf): Likewise.
297 (nearbyint): Likewise.
298 (nearbyintf): Likewise.
bdd74070 299
91d8d69e
AJ
3002012-05-09 Andreas Jaeger <aj@suse.de>
301 Pedro Alves <palves@redhat.com>
302
303 * nscd/nscd.c (run_mode): Use enum.
304 (main): Cleanup coding style issue.
305
bb90b80b
AJ
3062012-05-09 Alexandre Oliva <aoliva@redhat.com>
307 Andreas Jaeger <aj@suse.de>
308
bcfe3a54
ST
309 * nscd/nscd.c (go_background): Replaced with...
310 (run_mode): ... this.
bb90b80b 311 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
312 (options): Add -F --foreground.
313 (main): Implement it.
314 (parse_opt): Parse it.
bb90b80b 315
1a4b75a1
AJ
3162012-05-09 Andreas Jaeger <aj@suse.de>
317
318 [BZ #14083]
319 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
320 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
321 -Wconversion warning.
322 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
323 Likewise.
324
b1cc2472
JM
3252012-05-09 Joseph Myers <joseph@codesourcery.com>
326
327 * conform/data/locale.h-data (NULL): Use macro-constant. Require
328 == 0.
329 (LC_ALL): Use macro-int-constant.
330 (LC_COLLATE): Likewise.
331 (LC_CTYPE): Likewise.
332 (LC_MESSAGES): Likewise.
333 (LC_MONETARY): Likewise.
334 (LC_NUMERIC): Likewise.
335 (LC_TIME): Likewise.
336 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
337 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
338 [ISO || ISO99 || ISO11] (*_t): Do not allow.
339 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
340 Specify type.
341 [C99-based standards] (float_t): Expect type.
342 [C99-based standards] (double_t): Expect type.
343 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
344 type.
345 [C99-based standards] (HUGE_VALL): Likewise.
346 [C99-based standards] (INFINITY): Likewise.
347 [C99-based standards] (NAN): Likewise.
348 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
349 [C99-based standards] (FP_NAN): Likewise.
350 [C99-based standards] (FP_NORMAL): Likewise.
351 [C99-based standards] (FP_SUBNORMAL): Likewise.
352 [C99-based standards] (FP_ZERO): Likewise.
353 [C99-based standards] (FP_FAST_FMA): Use
354 optional-macro-int-constant. Specify type. Require == 1.
355 [C99-based standards] (FP_FAST_FMAF): Likewise.
356 [C99-based standards] (FP_FAST_FMAL): Likewise.
357 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
358 [C99-based standards] (FP_ILOGBNAN): Likewise.
359 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
360 Specify type.
361 [C99-based standards] (MATH_ERREXCEPT): Likewise.
362 [C99-based standards] (math_errhandling): Specify type.
363 [ISO99 || ISO11] (signgam): Do not allow.
364 [non-C99-based standards] (copysignf): Do not allow.
365 [non-C99-based standards] (exp2f): Likewise.
366 [non-C99-based standards] (log2f): Likewise.
367 [non-C99-based standards] (modff): Allow.
368 [non-C99-based standards] (erff): Do not allow.
369 [non-C99-based standards] (erfcf): Likewise.
370 [non-C99-based standards] (gammaf): Likewise.
371 [non-C99-based standards] (hypotf): Likewise.
372 [non-C99-based standards] (j0f): Likewise.
373 [non-C99-based standards] (j1f): Likewise.
374 [non-C99-based standards] (jnf): Likewise.
375 [non-C99-based standards] (lgammaf): Likewise.
376 [non-C99-based standards] (tgammaf): Likewise.
377 [non-C99-based standards] (y0f): Likewise.
378 [non-C99-based standards] (y1f): Likewise.
379 [non-C99-based standards] (ynf): Likewise.
380 [non-C99-based standards] (isnanf): Likewise.
381 [non-C99-based standards] (acoshf): Likewise.
382 [non-C99-based standards] (asinhf): Likewise.
383 [non-C99-based standards] (atanhf): Likewise.
384 [non-C99-based standards] (cbrtf): Likewise.
385 [non-C99-based standards] (expm1f): Likewise.
386 [non-C99-based standards] (ilogbf): Likewise.
387 [non-C99-based standards] (log1pf): Likewise.
388 [non-C99-based standards] (logbf): Likewise.
389 [non-C99-based standards] (nextafterf): Likewise.
390 [non-C99-based standards] (remainderf): Likewise.
391 [non-C99-based standards] (rintf): Likewise.
392 [non-C99-based standards] (scalbf): Likewise.
393 [non-C99-based standards] (copysignl): Likewise.
394 [non-C99-based standards] (exp2l): Likewise.
395 [non-C99-based standards] (log2l): Likewise.
396 [non-C99-based standards] (modfl): Allow.
397 [non-C99-based standards] (erfl): Do not allow.
398 [non-C99-based standards] (erfcl): Likewise.
399 [non-C99-based standards] (gammal): Likewise.
400 [non-C99-based standards] (hypotl): Likewise.
401 [non-C99-based standards] (j0l): Likewise.
402 [non-C99-based standards] (j1l): Likewise.
403 [non-C99-based standards] (jnl): Likewise.
404 [non-C99-based standards] (lgammal): Likewise.
405 [non-C99-based standards] (tgammal): Likewise.
406 [non-C99-based standards] (y0l): Likewise.
407 [non-C99-based standards] (y1l): Likewise.
408 [non-C99-based standards] (ynl): Likewise.
409 [non-C99-based standards] (isnanl): Likewise.
410 [non-C99-based standards] (acoshl): Likewise.
411 [non-C99-based standards] (asinhl): Likewise.
412 [non-C99-based standards] (atanhl): Likewise.
413 [non-C99-based standards] (cbrtl): Likewise.
414 [non-C99-based standards] (expm1l): Likewise.
415 [non-C99-based standards] (ilogbl): Likewise.
416 [non-C99-based standards] (log1pl): Likewise.
417 [non-C99-based standards] (logbl): Likewise.
418 [non-C99-based standards] (nextafterl): Likewise.
419 [non-C99-based standards] (remainderl): Likewise.
420 [non-C99-based standards] (rintl): Likewise.
421 [non-C99-based standards] (scalbl): Likewise.
422 [ISO || ISO99 || ISO11] (*_t): Do not allow.
423 [non-C99-based standards] (FP_*): Do not allow.
424 [C99-based standards] (FP_*): Change to
425 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
426 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
427 allow.
428 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
429 (SIG_ERR): Likewise.
430 [X/Open-based standards] (SIG_HOLD): Likewise.
431 (SIG_IGN): Likewise.
432 (SIGABRT): Use macro-int-constant. Specify type. Require
433 positive value.
434 (SIGFPE): Likewise.
435 (SIGILL): Likewise.
436 (SIGINT): Likewise.
437 (SIGSEGV): Likewise.
438 (SIGTER): Likewise.
439 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
440 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
441 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
442 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
443 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
444 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
445 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
446 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
447 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
448 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
449 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
450 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
451 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
452 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
453 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
454 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
455 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
456 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
457 [X/Open-based standards] (SIGTRAP): Likewise.
458 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
459 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
460 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
461 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
462 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
463 allow.
464
b9f1922d
IW
4652012-05-08 Ian Wienand <ianw@vmware.com>
466
467 [BZ #14080]
468 * time/tzset.c (__tzset_parse_tz): Update default rules for
469 daylight time changes in the Energy Policy Act of 2005.
470
1db86e88
AJ
4712012-05-09 Andreas Jaeger <aj@suse.de>
472
473 [BZ #13983]
474 * elf/ldconfig.c (parse_conf): Change string to make clear that
475 ldconfig only issued a warning if ld.so.conf does not exist.
476
dee4a4e3
DM
4772012-05-08 David S. Miller <davem@davemloft.net>
478
ee0db190
DM
479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
480 movxtod instead of popping the value on the stack.
481
dee4a4e3
DM
482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
483
6a43ec98
CD
4842012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
485
486 * config.h.in: Add HAVE_ARM_PCS_VFP.
487
05c2c961
RMG
4882012-05-08 Roland Mc Grath <roland@hack.frob.com>
489
bcfe3a54
ST
490 [BZ #13979]
491 * include/features.h: Warn if user requests __FORTIFY_SOURCE
492 checking but the checks are disabled for any reason.
05c2c961 493
4b30f61a
L
4942012-05-08 H.J. Lu <hongjiu.lu@intel.com>
495
496 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
497 and ELF64_R_TYPE with ELFW(R_TYPE).
498
eee2bc67
JM
4992012-05-08 Joseph Myers <joseph@codesourcery.com>
500
7ea5391a
JM
501 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
502 (ulimit): Likewise.
503
eee2bc67
JM
504 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
505 (settimeofday): Likewise.
506
abb66a67
MF
5072012-05-08 Mike Frysinger <vapier@gentoo.org>
508
509 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
510 a struct th_u2 inside the union, and move tu_block/tu_code into
511 a new th_u3 union of tu_block/tu_code inside of that. Move
512 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
513 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
514 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
515 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
516 (th_stuff): Change to th_u1.tu_stuff.
517 (th_data): Define.
518 (th_msg): Change to th_u1.th_u2.tu_data.
519
7f18b530
DM
5202012-05-07 David S. Miller <davem@davemloft.net>
521
05760585
DM
522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
523
7f18b530
DM
524 [BZ #14074]
525 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
526 (SETUP_PIC_REG): Use it.
527 (SETUP_PIC_REG_LEAF): Use it.
528
495fd99f
JM
5292012-05-07 Joseph Myers <joseph@codesourcery.com>
530
531 [BZ #13885]
532 [BZ #13923]
533 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
534 USE_AS_EXPM1L.
535 (EXPL_FINITE): Likewise.
536 (FLDLOG): Likewise.
537 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
538 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
539 e_expl.S.
540 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
541 USE_AS_EXPM1L.
542 (EXPL_FINITE): Likewise.
543 (FLDLOG): Likewise.
544 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
545 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
546 e_expl.S.
547 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
548 test of -max_value argument for long double.
549 * sysdeps/i386/fpu/libm-test-ulps: Update.
550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
551
6693d694
DM
5522012-05-06 David S. Miller <davem@davemloft.net>
553
554 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
555 quad soft-float symbols whose references which are compiler
556 generated.
557 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
558
6c23e11c
JM
5592012-05-06 Joseph Myers <joseph@codesourcery.com>
560
d8b82cad
JM
561 [BZ #13884]
562 [BZ #13914]
563 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
564 USE_AS_EXP10L.
565 (EXPL_FINITE): Likewise.
566 (FLDLOG): Likewise.
567 (c0): Likewise.
568 (c1): Likewise.
569 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
570 Adjust comments for base varying.
571 (__expl_finite): Change alias to EXPL_FINITE.
572 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
573 e_expl.S.
574 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
575 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
576 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
577 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
578 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
579 USE_AS_EXP10L.
580 (EXPL_FINITE): Likewise.
581 (FLDLOG): Likewise.
582 (c0): Likewise.
583 (c1): Likewise.
584 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
585 Adjust comments for base varying.
586 (__expl_finite): Change alias to EXPL_FINITE.
587 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
588 tests for bugs.
589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
590
6c23e11c
JM
591 [BZ #14064]
592 * math/libm-test.inc (check_float_internal): Correct ulp
593 calculation for subnormal expected results.
594
29ba805c
AJ
5952012-05-06 Andreas Jaeger <aj@suse.de>
596
597 * Makeconfig (+math-flags): New, set to -frounding-math.
598 (+cflags): Add +math-flags so that all of glibc gets compiled with
599 it.
600
601 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
602
7b17aeda
JM
6032012-05-05 Joseph Myers <joseph@codesourcery.com>
604
5779f134
JM
605 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
606 Disable one test.
607
41498f4d
JM
608 [BZ #13787]
609 [BZ #13922]
610 [BZ #14036]
611 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
612 (__ieee754_expl): Allow for and saturate large arguments.
613 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
614 (u_threshold): Likewise.
615 (__exp): Call __ieee754_exp before checking for overflow and
616 underflow.
617 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
618 (u_threshold): Likewise.
619 (__expf): Call __ieee754_expf before checking for overflow and
620 underflow.
621 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
622 (u_threshold): Likewise.
623 (__expl): Call __ieee754_expl before checking for overflow and
624 underflow.
625 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
626 (__ieee754_expl): Allow for and saturate large arguments.
627 * math/libm-test.inc (exp_test): Add another test. Do not allow
628 missing overflow exception on overflow.
629 (expm1_test): Do not allow missing overflow exception on overflow.
630
6698b8bf
JM
631 * sysdeps/i386/fpu/e_expl.c: Move to ...
632 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
633 rather than using inline asm.
634 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
635 * sysdeps/x86_64/fpu/e_expl.S: Copy from
636 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
637
7b17aeda
JM
638 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
639 (nice): Likewise.
640 (poll): Likewise.
641 (signal): Likewise.
642 (time): Likewise.
643 (times): Likewise.
644
f7c85819
JM
6452012-05-04 Joseph Myers <joseph@codesourcery.com>
646
647 * sysdeps/unix/syscalls.list (adjtime): Add entry from
648 sysdeps/unix/common/syscalls.list.
649 (fchmod): Likewise.
650 (fchown): Likewise.
651 (ftruncate): Likewise.
652 (getrusage): Likewise.
653 (gettimeofday): Likewise.
654 (setpgid): Likewise.
655 (setregid): Likewise.
656 (setreuid): Likewise.
657 (sigaction): Likewise.
658 (truncate): Likewise.
659 (vhangup): Likewise.
660 * sysdeps/unix/common/syscalls.list: Remove file.
661 * sysdeps/unix/bsd/Implies: Don't include unix/common.
662 * sysdeps/unix/sysv/linux/Implies: Likewise.
663
336270d0
L
6642012-05-04 H.J. Lu <hongjiu.lu@intel.com>
665
666 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
668 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
669 Moved to ...
670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
671 Here.
672 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
673 to ...
674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
675 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
676 to ...
677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
678 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
679 to ...
680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
681 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
682 to ...
683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
684 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
685 to ...
686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
687 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
688 to ...
689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
690 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
691 to ...
692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
693 Here.
694 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
695 to ...
696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
697 Here.
698 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
699 to ...
700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
701 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
702 Moved to ...
703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
704 Here.
705 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
706 to ...
707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
708
d128e450
JM
7092012-05-04 Joseph Myers <joseph@codesourcery.com>
710
fa8ee516
JM
711 * sysdeps/unix/common/bits/dirent.h: Remove file.
712 * sysdeps/unix/common/bits/fcntl.h: Likewise.
713
d128e450
JM
714 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
715 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
716 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
717 * sysdeps/unix/bsd/isatty.c: Likewise.
718 * sysdeps/unix/bsd/tcdrain.c: Likewise.
719 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
720 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
721
ff8faaf0 7222012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 723
62881be4 724 [BZ #13563]
31dc8730
AZ
725 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
726 long double comparison inaccuracies.
727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
729
6fef930c
AS
7302012-05-04 Andreas Schwab <schwab@linux-m68k.org>
731
732 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
733 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
734
8f203e6c
JM
7352012-05-04 Joseph Myers <joseph@codesourcery.com>
736
737 [BZ #14049]
738 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
739 nonzero digits before rounding a hex value.
740 * stdlib/tst-strtod.c (tests): Add another test.
741
5197d9c2
AK
7422012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
743
744 * sysdeps/s390/fpu/libm-test-ulps: Update.
745
f0c1dedf
AJ
7462012-05-03 Andreas Jaeger <aj@suse.de>
747
748 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
749 does not get optimized out.
750 (malloc_opt_barrier): New.
751
a65ef2ae 7522012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 753 Roland McGrath <roland@hack.frob.com>
a65ef2ae 754
2b942cb7 755 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 756 intermediate file deletion.
2b942cb7 757 (generated): Add .symlist files.
a65ef2ae 758
54b71e02
JM
7592012-05-03 Joseph Myers <joseph@codesourcery.com>
760
761 [BZ #13775]
762 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
763 Redirect under this condition.
764 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
765 [__USE_GNU] (__dprintf_chk): Not under this condition.
766 [__USE_GNU] (__vdprintf_chk): Likewise.
767 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
768 under this condition.
769 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
770 [__USE_XOPEN2K8] (dprintf): Define under this condition.
771 [__USE_XOPEN2K8] (vdprintf): Likewise.
772 [__USE_GNU] (__dprintf_chk): Not under this condition.
773 [__USE_GNU] (__vdprintf_chk): Likewise.
774 [__USE_GNU] (dprintf): Likewise.
775 [__USE_GNU] (vdprintf): Likewise.
776
d3dfcc41
RM
7772012-05-03 Roland McGrath <roland@hack.frob.com>
778
779 * elf/Makefile (common-generated): Set this instead of generated for
780 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
781 $(all-built-dso)-derived lists.
782
7ac30cc5
AJ
7832012-05-03 Andreas Jaeger <aj@suse.de>
784
0c51e550
AJ
785 * sysdeps/i386/fpu/libm-test-ulps: Update.
786
7ac30cc5
AJ
787 * FAQ: Removed.
788 * FAQ.in: Likewise.
789 * scripts/gen-FAQ.pl: Likewise.
790 * manual/install.texi (Installation): Point to online location of
791 FAQ.
792 * Makefile (files-for-dist): Remove FAQ.
793 (FAQ): Remove.
794
d4c2917f
AM
7952012-05-02 Allan McRae <allan@archlinux.org>
796
797 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
798 (LDFLAGS-reldepmod5.so): Likewise.
799 (LDFLAGS-reldep6mod1.so): Likewise.
800 (LDFLAGS-reldep6mod4.so): Likewise.
801 (LDFLAGS-reldep8mod3.so): Likewise.
802 (LDFLAGS-unload4mod1.so): Likewise.
803 (LDFLAGS-unload4mod2.so): Likewise.
804 (LDFLAGS-tst-initorder): Likewise.
805 (LDFLAGS-tst-initordera2.so): Likewise.
806 (LDFLAGS-tst-initordera3.so): Likewise.
807 (LDFLAGS-tst-initordera4.so): Likewise.
808 (LDFLAGS-tst-initorderb2.so): Likewise.
809 (LDFLAGS-noload): Likewise.
810 (LDFLAGS-next): Likewise.
811 (LDFLAGS-order2mod1.so): Likewise.
812 (LDFLAGS-order2mod2.so): Likewise.
813 (LDFLAGS-tst-initorder2): Likewise.
814 (LDFLAGS-tst-initorder2a.so): Likewise.
815 (LDFLAGS-tst-initorder2b.so): Likewise.
816 (LDFLAGS-tst-initorder2c.so): Likewise.
817 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
818
d77f993f
DM
8192012-05-02 David S. Miller <davem@davemloft.net>
820
821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
822
171a70b4
PP
8232012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
824
825 [BZ #14055]
826 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
827
0be196ad
AJ
8282012-05-02 Andreas Jaeger <aj@suse.de>
829
830 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
831 since we manipulate rounding mode.
832 (CPPFLAGS-test-idouble.c): Likewise.
833 (CPPFLAGS-test-ifloat.c): Likewise.
834 (CFLAGS-test-ldouble.c): Likewise.
835 (CFLAGS-test-double.c): Likewise.
836 (CFLAGS-test-float.c): Likewise.
837 (CFLAGS-test-misc.c): Likewise.
838 (CFLAGS-test-test-fenv.c): Likewise.
839
4f9d04aa
AZ
8402012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
841
2b942cb7
RM
842 [BZ #2550]
843 [BZ #2570]
844 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
845 comparisons to determine direction to adjust input.
4f9d04aa 846
82a79e7d
RM
8472012-05-01 Roland McGrath <roland@hack.frob.com>
848
f5a01ca9
RM
849 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
850 output to the target.
851
90fe4186
RM
852 * scripts/localplt.awk: New file.
853 * elf/Makefile ($(objpfx)check-localplt): Target removed.
854 (check-localplt-CFLAGS): Variable removed.
855 ($(all-built-dso:=.jmprel)): New static pattern rule.
856 (generated): Add those targets.
857 (localplt-built-dso): New variable.
858 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
859
860 * elf/check-localplt.c: File removed.
861
82397ed6
RM
862 * scripts/check-execstack.awk: New file.
863 * elf/Makefile ($(objpfx)check-execstack): Target removed.
864 (check-execstack-CFLAGS): Variable removed.
865 ($(objpfx)check-execstack.h): Target removed.
866 ($(objpfx)execstack-default): New target.
867 (generated): Add that instead of check-execstack.h.
868 ($(all-built-dso:=.phdr)): New static pattern rule.
869 (generated): Add those targets.
870 * elf/check-execstack.c: File removed.
871
82a79e7d
RM
872 * scripts/check-textrel.awk: New file.
873 * elf/Makefile ($(objpfx)check-textrel): Target removed.
874 (check-textrel-CFLAGS): Variable removed.
875 (all-built-dso): Use := to define.o
876 ($(all-built-dso:=.dyn)): New static pattern rule.
877 (generated): Add those targets.
878 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
879 * config.make.in (READELF): New substituted variable.
880 * elf/check-textrel.c: File removed.
881
62fde54f 8822012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 883
615605c9
JM
884 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
885 allow.
886 * conform/data/ctype.h-data [C99-based standards] (isblank):
887 Expect function.
888 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
889 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
891 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
892 Specify type. Require positive value.
893 (EILSEQ): Likewise.
894 (ERANGE): Likewise.
895 [ISO || POSIX] (EILSEQ): Do not expect.
896 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
897 Specify type. Require positive value.
898 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
899 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
900 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
901 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
902 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
903 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
904 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
905 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
906 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
907 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
908 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
909 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
910 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
911 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
912 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
913 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
914 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
915 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
916 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
917 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
918 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
919 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
920 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
921 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
922 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
923 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
924 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
925 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
926 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
927 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
928 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
929 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
930 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
931 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
932 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
933 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
934 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
935 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
936 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
937 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
938 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
939 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
940 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
941 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
942 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
943 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
944 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
945 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
946 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
947 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
948 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
949 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
950 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
951 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
952 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
953 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
954 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
955 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
956 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
957 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
958 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
959 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
960 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
961 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
962 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
963 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
964 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
965 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
966 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
967 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
968 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
969 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
970 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
971 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
972 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
973 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
974 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
975 Require >= 2.
976 (FLT_ROUNDS): Expect as macro, not constant.
977 (FLT_MANT_DIG): Use macro-int-constant.
978 (DBL_MANT_DIG): Likewise.
979 (LDBL_MANT_DIG): Likewise.
980 (FLT_DIG): Likewise.
981 (DBL_DIG): Likewise.
982 (LDBL_DIG): Likewise.
983 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
984 (DBL_MIN_EXP): Likewise.
985 (LDBL_MIN_EXP): Likewise.
986 (FLT_MAX_EXP): Use macro-int-constant.
987 (DBL_MAX_EXP): Likewise.
988 (LDBL_MAX_EXP): Likewise.
989 (FLT_MAX_10_EXP): Likewise.
990 (DBL_MAX_10_EXP): Likewise.
991 (LDBL_MAX_10_EXP): Likewise.
992 (FLT_MAX): Use macro-constant.
993 (DBL_MAX): Likewise.
994 (LDBL_MAX): Likewise.
995 (FLT_EPSILON): Use macro-constant. Give upper bound.
996 (DBL_EPSILON): Likewise.
997 (LDBL_EPSILON): Likewise.
998 (FLT_MIN): Likewise.
999 (DBL_MIN): Likewise.
1000 (LDBL_MIN): Likewise.
1001 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1002 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1003 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1004 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1005 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1006 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1007 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1008 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1009 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1010 [ISO11] (FLT_TRUE_MIN): Likewise.
1011 [ISO11] (LDBL_TRUE_MIN): Likewise.
1012 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1013 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1014 (SCHAR_MIN): Use macro-int-constant. Specify type.
1015 (SCHAR_MAX): Likewise.
1016 (UCHAR_MAX): Likewise.
1017 (CHAR_MIN): Likewise.
1018 (CHAR_MAX): Likewise.
1019 (MB_LEN_MAX): Use macro-int-constant.
1020 (SHRT_MIN): Use macro-int-constant. Specify type.
1021 (SHRT_MAX): Likewise.
1022 (USHRT_MAX): Likewise.
1023 (INT_MAX): Likewise.
1024 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1025 bound negative.
1026 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1027 bound with "U".
1028 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1029 bound with "L".
1030 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1031 bound negative. Suffix upper bound with "L".
1032 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1033 bound with "UL".
1034 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1035 Specify type.
1036 [C99-based standards] (LLONG_MAX): Likewise.
1037 [C99-based standards] (ULLONG_MAX): Likewise.
1038 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1039 == 0.
1040 [ISO11] (max_align_t): Require type.
1041 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1042
c9140a62
JM
1043 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1044 from $CFLAGS, without defining away __attribute__ calls.
1045 (checknamespace): Use $CFLAGS_namespace.
1046
9af0bf29
JM
1047 * conform/conformtest.pl (@keywords): Only include C99 keywords
1048 for standards based on C99 or C11.
1049
343222a2
JM
1050 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1051 Disable tests.
1052 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1053 UNIX98]: Likewise.
1054
661f8cf0
JM
1055 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1056 usability of symbols in #if.
1057
ee74b9cb
JM
1058 * conform/conformtest.pl: If macro or constant types start
1059 "promoted:", expect the symbol to be of the following type
1060 promoted by the integer promotions.
62fde54f 1061
aafc49b3
JM
1062 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1063 in one place. Also handle "macro-constant".
1064
fefdf574
JM
1065 * conform/conformtest.pl: Only accept expected macro values with
1066 "==". Parse all "macro" lines in one place.
1067 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1068
f2d922fe
JM
1069 * conform/conformtest.pl: Handle braced types on "constant" lines
1070 instead of handling "typed-constant".
1071 * conform/data/signal.h-data: Use "constant" instead of
1072 "typed-constant".
1073
d22956c9
JM
1074 * conform/conformtest.pl: Handle "optional-" at start of lines in
1075 one place rather than duplicating several cases. Handle each
1076 format of "macro" line with initial "optional-".
1077
028e2e38
JM
1078 * conform/conformtest.pl: Only accept expected constant or
1079 optional-constant values with "==". Parse all "constant" lines in
1080 one place. Parse all "optional-constant" lines in one place.
1081 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1082 * conform/data/fmtmsg.h-data: Likewise.
1083 * conform/data/netinet/in.h-data: Likewise.
1084 * conform/data/tar.h-data: Likewise.
1085 * conform/data/limits.h-data: Use "==" form on "constant" and
1086 "optional-constant" lines.
1087
1b8f2850
JM
1088 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1089 Use -std=c99 for XOPEN2K.
1090 (@knownproblems): Remove.
1091 (newtoken): Don't check %isknown.
1092
a05a144b
JM
1093 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1094 Do not expect macro.
1095 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1096 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1097 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1098 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1099 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1100 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1101 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1102 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1103 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1104 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1105 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1106 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1107 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1108 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1109 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1110 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1111 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1121 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1122 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1123 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1124 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1125 [XPG3] (acosh): Likewise.
1126 [XPG3] (asinh): Likewise.
1127 [XPG3] (atanh): Likewise.
1128 [XPG3] (cbrt): Likewise.
1129 [XPG3] (expm1): Likewise.
1130 [XPG3] (ilogb): Likewise.
1131 [XPG3] (log1p): Likewise.
1132 [XPG3] (logb): Likewise.
1133 [XPG3] (nextafter): Likewise.
1134 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1135 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1136 [XPG3] (remainder): Likewise.
1137 [XPG3] (rint): Likewise.
1138 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1139 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1140 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1141 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1142 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1143 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1145 [UNIX98 || XOPEN2K] (scalb): Expect.
1146 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1147 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1148 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1149 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1150 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1151 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1152 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1153 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1154 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1155 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1156 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1157 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1158 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1159 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1160 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1161 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1162 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1163 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1164 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1165 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1166 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1168 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1169 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1170 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1171 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1172 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1173 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1174 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1175 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1176 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1177 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1178 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1179 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1180 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1181 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1182 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1184 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1185 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1186 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1187 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1188 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1189 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1190 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1191 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1192 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1193 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1194 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1195 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1196 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1197 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1198 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1199 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1200 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1201 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1202 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1203 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1204 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1205 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1206 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1207 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1208 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1209 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1210 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1211 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1212 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1213 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1214 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1215 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1216 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1217 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1218 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1219 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1220 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1221 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1222 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1223 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1224 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1225 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1226 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1227 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1228 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1229 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1230 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1231 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1232 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1233 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1234 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1235 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1236 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1237 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1238 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1239 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1240 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1241 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1242 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1243 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1244 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1245 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1246 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1247 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1248 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1249 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1250 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1251 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1252 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1253 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1254 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1255 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1256 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1257 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1259 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1260 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1261 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1262 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1263 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1267 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1268 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1269 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1270 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1271 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1272 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1273 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1274 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1275 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1276 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1277 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1278 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1279 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1280 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1281 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1282 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1283
73c5ebe3
JM
1284 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1285 _XOPEN_SOURCE_EXTENDED for XPG4.
1286
39c33b6c
JM
1287 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1288
62fde54f
JM
1289 * Makeconfig (localtime): Remove variable.
1290 (inst_localtime-file): Likewise.
1291
0741d64c
AS
12922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1293
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1295 Update.
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1297 Update.
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1299 Update.
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1301 Update.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1303 Update.
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1305 Update.
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1307 Update.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1309 Update.
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1311 Update.
1312
7cb029ee
JM
13132012-05-01 Joseph Myers <joseph@codesourcery.com>
1314
1315 [BZ #2550]
1316 [BZ #2570]
1317 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1318 comparisons to determine direction to adjust input.
1319 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1320 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1321 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1322 Likewise.
1323 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1324 Likewise.
1325 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1326 Likewise.
1327 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1328 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1329 Likewise.
1330 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1331 Likewise.
1332 * math/libm-test.inc (nexttoward_test): Add more tests.
1333
412bd966
AS
13342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1335
1336 [BZ #14040]
1337 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1338 in version GLIBC_2.1, not GLIBC_2.0.
1339 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1340 Likewise.
1341
9568c0c2
JM
13422012-04-30 Joseph Myers <joseph@codesourcery.com>
1343
adfbc8ac
JM
1344 [BZ #13942]
1345 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1346 (1 - x) * (1 + x).
1347 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1348 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1349 * math/libm-test.inc (acos_test): Add more tests.
1350 (asin_test): Likewise.
1351 * sysdeps/i386/fpu/libm-test-ulps: Update.
1352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1353
5ba3cc69
JM
1354 [BZ #14034]
1355 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1356 of square root.
1357 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1358 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1359 * math/libm-test.inc (acos_test_tonearest): New function.
1360 (acos_test_towardzero): Likewise.
1361 (acos_test_downward): Likewise.
1362 (acos_test_upward): Likewise.
1363 (asin_test_tonearest): Likewise.
1364 (asin_test_towardzero): Likewise.
1365 (asin_test_downward): Likewise.
1366 (asin_test_upward): Likewise.
1367 (main): Call the new functions.
1368 * sysdeps/i386/fpu/libm-test-ulps: Update.
1369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1370
9568c0c2
JM
1371 [BZ #13884]
1372 [BZ #13924]
1373 * math/e_exp10.c: Include <float.h>.
1374 (__ieee754_exp10): Handle underflow here rather than multiplying
1375 large negative argument by M_LN10.
1376 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1377 of __ieee754_expf.
1378 * math/e_exp10l.c: Include <float.h>.
1379 (__ieee754_exp10l): Handle underflow here rather than multiplying
1380 large negative argument by M_LN10l.
1381 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1382 spurious overflow exception on underflow.
1383
5ac3ea17
MP
13842012-04-29 Marek Polacek <polacek@redhat.com>
1385
1386 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1387 (__fortify_function): New macro.
1388 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1389 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1390 __extern_always_inline.
1391 * libio/bits/stdio2.h: Likewise.
1392 * libio/bits/stdio.h: Likewise.
1393 * string/string.h: Likewise.
1394 * string/bits/string3.h: Likewise.
1395 * include/stdio.h: Likewise.
1396 * stdlib/bits/stdlib.h: Likewise.
1397 * stdlib/stdlib.h: Likewise.
1398 * rt/bits/mqueue2.h: Likewise.
1399 * rt/mqueue.h: Likewise.
1400 * posix/bits/unistd.h: Likewise.
1401 * posix/unistd.h: Likewise.
1402 * io/bits/poll2.h: Likewise.
1403 * io/bits/fcntl2.h: Likewise.
1404 * io/fcntl.h: Likewise.
1405 * io/sys/poll.h: Likewise.
1406 * misc/bits/syslog.h: Likewise.
1407 * misc/bits/syslog-ldbl.h: Likewise.
1408 * misc/sys/syslog.h: Likewise.
1409 * socket/bits/socket2.h: Likewise.
1410 * socket/sys/socket.h: Likewise.
1411 * debug/tst-chk1.c: Likewise.
1412 * wcsmbs/bits/wchar2.h: Likewise.
1413 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1414 * wcsmbs/wchar.h: Likewise.
1415
ecf0ebfb
AJ
14162012-04-29 Andreas Jaeger <aj@suse.de>
1417
1418 * Makerules (tests): Remove enable-check-abi protection.
1419 (check-abi-warn): Remove.
1420 (check-abi-%): Remove check-abi-warn usage.
1421
1422 * configure.in: Remove check-abi configure option.
1423 * configure: Regenerated.
1424 * config.make.in (enable-check-abi): Remove.
1425
6d5c57fa
AS
14262012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1427
24c5d07e 1428 [BZ #14033]
ded5180a
AS
1429 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1430 double functions to double *_finite functions.
1431
7e0d315d
AS
1432 [BZ #13941]
1433 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1434 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1435 LDBL_MIN_EXP.
1436 * stdio-common/Makefile (tests): Add tst-sprintf3.
1437 * stdio-common/tst-sprintf3.c: New file.
1438
6d5c57fa
AS
1439 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1440 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1441
0749ff8b
JM
14422012-04-28 Joseph Myers <joseph@codesourcery.com>
1443
1444 * conform/conformtest.pl: Remove duplicate typed-constant
1445 handling.
1446
8dbd5d7b
DM
14472012-04-28 David S. Miller <davem@davemloft.net>
1448
1449 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1450 (check-abi-%): Remove AWK script prerequisite and explicit
1451 abilist directory.
1452 (check-abi): Rewrite to just diff the symlist with the abilist.
1453 (config-tls, config-abi-config): Delete, no longer used.
1454 (update-abi-%): Remove AWK script and explicit abilist directory.
1455 (update-abi): Rewrite to simply compare and conditionally copy the
1456 symlist and the sysdep abilist file. Remove update-abi-config
1457 checks.
1458 * abilist/ld.abilist: Remove.
1459 * abilist/libBrokenLocale.abilist: Remove.
1460 * abilist/libanl.abilist: Remove.
1461 * abilist/libcrypt.abilist: Remove.
1462 * abilist/libdl.abilist: Remove.
1463 * abilist/librt.abilist: Remove.
1464 * abilist/libthread_db.abilist: Remove.
1465 * abilist/libutil.abilist: Remove.
1466 * scripts/extract-abilist.awk: Remove.
1467 * scripts/merge-abilist.awk: Remove.
1468 * sysdeps/generic/libcidn.abilist: New file.
1469 * sysdeps/generic/libnss_compat.abilist: New file.
1470 * sysdeps/generic/libnss_db.abilist: New file.
1471 * sysdeps/generic/libnss_dns.abilist: New file.
1472 * sysdeps/generic/libnss_files.abilist: New file.
1473 * sysdeps/generic/libnss_hesiod.abilist: New file.
1474 * sysdeps/generic/libnss_nis.abilist: New file.
1475 * sysdeps/generic/libnss_nisplus.abilist: New file.
1476 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1477 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1478 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1479 file.
1480 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1481 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1482 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1483 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1484 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1485 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1486 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1487 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1488 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1489 file.
1490 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1491 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1492 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1493 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1494 file.
1495 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1496 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1497 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1498 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1499 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1500 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1501 file.
1502 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1503 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1504 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1505 file.
1506 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1508 New file.
1509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1510 New file.
1511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1512 New file.
1513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1514 New file.
1515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1516 New file.
1517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1518 New file.
1519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1520 New file.
1521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1522 New file.
1523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1524 New file.
1525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1526 New file.
1527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1528 New file.
1529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1530 New file.
1531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1532 New file.
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1534 file.
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1536 New file.
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1538 New file.
1539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1540 file.
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1542 New file.
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1544 New file.
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1546 file.
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1548 New file.
1549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1550 New file.
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1552 New file.
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1554 New file.
1555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1556 New file.
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1558 New file.
1559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1561 file.
1562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1563 New file.
1564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1565 file.
1566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1567 file.
1568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1569 file.
1570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1571 file.
1572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1573 file.
1574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1575 New file.
1576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1577 file.
1578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1579 file.
1580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1581 New file.
1582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1583 file.
1584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1586 file.
1587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1588 New file.
1589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1590 file.
1591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1592 file.
1593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1594 file.
1595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1596 file.
1597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1598 file.
1599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1600 New file.
1601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1602 file.
1603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1604 file.
1605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1606 New file.
1607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1608 file.
1609 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1610 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1611 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1612 file.
1613 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1614 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1615 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1616 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1617 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1618 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1619 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1620 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1621 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1622 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1625 file.
1626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1627 New file.
1628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1629 file.
1630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1631 file.
1632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1633 file.
1634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1635 file.
1636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1637 file.
1638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1639 New file.
1640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1641 New file.
1642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1643 file.
1644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1645 New file.
1646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1647 file.
1648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1650 file.
1651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1652 New file.
1653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1654 file.
1655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1656 file.
1657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1658 file.
1659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1660 file.
1661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1662 file.
1663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1664 New file.
1665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1666 New file.
1667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1668 file.
1669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1670 New file.
1671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1672 file.
1673
41d73a1b
JM
16742012-04-28 Joseph Myers <joseph@codesourcery.com>
1675
1676 * conform/conformtest.pl: Fix typo in handling typed-constant from
1677 allow-header.
1678
28aeeda4
JM
16792012-04-27 Joseph Myers <joseph@codesourcery.com>
1680
adae8f5e
JM
1681 * README: Cut down references to pre-2.6 Linux kernels and
1682 Linuxthreads. Update lists of configurations in libc and ports
1683 and sort alphabetically. Say "or newer" with Linux kernel version
1684 requirements.
1685
28aeeda4
JM
1686 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1687
a462cb63
RA
16882012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1689
1690 [BZ #887]
1691 * math/libm-test.inc (logb_test_downward): New test to expose
1692 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1693 rounding mode.
1694
6ad3493e
JM
16952012-04-27 Joseph Myers <joseph@codesourcery.com>
1696
1697 [BZ #14027]
1698 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1699 to be done.
1700 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1701 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1702
2ce4f015
JM
17032012-04-26 Joseph Myers <joseph@codesourcery.com>
1704
5aeb141a
JM
1705 * sysdeps/unix/i386/brk.S: Remove file.
1706 * sysdeps/unix/i386/dl-brk.S: Likewise.
1707 * sysdeps/unix/i386/pipe.S: Likewise.
1708 * sysdeps/unix/i386/sigreturn.S: Likewise.
1709 * sysdeps/unix/i386/syscall.S: Likewise.
1710 * sysdeps/unix/i386/vfork.S: Likewise.
1711 * sysdeps/unix/i386/wait.S: Likewise.
1712
7143acae
JM
1713 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1714 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1715
2ce4f015
JM
1716 * configure.in (arm*-none*): Do not allow without
1717 --enable-hacker-mode.
1718 (netbsd*): Remove case setting base_os.
1719 (386bsd*): Likewise.
1720 (freebsd*): Likewise.
1721 (bsdi*): Likewise.
1722 (osf*): Likewise.
1723 (sunos*): Likewise.
1724 (ultrix*): Likewise.
1725 (newsos*): Likewise.
1726 (dynix*): Likewise.
1727 (*bsd*): Likewise.
1728 (sysv*): Likewise.
1729 (isc*): Likewise.
1730 (esix*): Likewise.
1731 (sco*): Likewise.
1732 (minix*): Likewise.
1733 (irix4*): Likewise.
1734 (irix6*): Likewise.
1735 (solaris[2-9]*): Likewise.
1736 (none): Likewise.
1737 * configure: Regenerated.
1738
0ac229c8
AZ
17392012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1740
1741 [BZ #11521]
1742 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1743 overflow or cancellation in calculating denominator.
1744 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1745 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1746 down expression to avoid unexpected rounding in newer GCCs.
1747 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1748
33f244f4
DM
17492012-04-26 David S. Miller <davem@davemloft.net>
1750
1751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1752 long-double compat symbols.
1753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1766
cfa1f3e8
DM
17672012-04-25 David S. Miller <davem@davemloft.net>
1768
1769 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1770 HWCAP_* values only after the memory barriers have been defined.
1771 (atomic_full_barrier): Define.
1772 (atomic_read_barrier): Define.
1773 (atomic_write_barrier): Define.
1774
6e236b92
SP
17752012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1776
1777 * shlib-versions: Add libgcc_s version information.
1778 * sysdeps/generic/libgcc_s.h: Remove.
1779 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1780 libgcc_s.h.
1781 * sysdeps/gnu/unwind-resume.c: Likewise.
1782 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1783
aab39a09
DM
17842012-04-25 David S. Miller <davem@davemloft.net>
1785
1786 * sysdeps/unix/sparc/brk.S: Delete.
1787 * sysdeps/unix/sparc/dl-brk.S: Delete.
1788 * sysdeps/unix/sparc/pipe.S: Delete.
1789 * sysdeps/unix/sparc/sysdep.S: Delete.
1790 * sysdeps/unix/sparc/sysdep.h: Delete.
1791 * sysdeps/unix/sparc/vfork.S: Delete.
1792 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1793 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1794 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1795 ret_ERRVAL, r0, r1, MOVE): Define.
1796 (JUMPTARGET): Remove.
1797 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1798 sysdeps/unix/sparc/sysdep.h
1799 (ENTRY, END): Remove.
1800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1801
a3cc4f48
JM
18022012-04-25 Joseph Myers <joseph@codesourcery.com>
1803
2ed8cda2
JM
1804 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1805 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1806 -DIS_IN_build.
1807
35d76d59
JM
1808 * timezone/README: Update upstream location and email address for
1809 tzcode and tzdata.
1810 * timezone/zdump.c: Update from tzcode 2012b.
1811 * timezone/zic.c: Likewise.
1812
a3cc4f48
JM
1813 * configure.in (libc_cv_as_needed): Remove test.
1814 * configure: Regenerated.
1815 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1816 conditional definition.
1817 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1818 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1819 * config.make.in (have-as-needed): Remove variable.
1820
ceab42c3
SP
18212012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1822 Paul Pluzhnikov <ppluzhnikov@google.com>
1823
1824 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1825 strings correctly.
1826
3ce2865f
CLT
18272012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1828
1829 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1830 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1831 * sysdeps/sh/strlen.S: Likewise.
1832
f37e0d68
JM
18332012-04-24 Joseph Myers <joseph@codesourcery.com>
1834
ae186e9a
JM
1835 * sysdeps/unix/fork.S: Remove file.
1836 * sysdeps/unix/i386/fork.S: Likewise.
1837 * sysdeps/unix/sparc/fork.S: Likewise.
1838
b96914af
JM
1839 * sysdeps/unix/system.c: Remove file.
1840 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1841
f37e0d68
JM
1842 * sysdeps/unix/getegid.S: Remove file.
1843 * sysdeps/unix/geteuid.S: Likewise.
1844
87ef29ca
RM
18452012-04-24 Roland McGrath <roland@hack.frob.com>
1846
83bcd236
RM
1847 * scripts/check-localplt.awk: New file.
1848 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1849 of diff.
1850 * scripts/data/localplt-generic.data: Add a comment.
1851
87ef29ca
RM
1852 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1853 NODE when __dir_mkfile failed.
1854 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1855 Reported by Ludovic Courtès <ludo@gnu.org>.
1856
e5a6e567
AJ
18572012-04-24 Andreas Jaeger <aj@suse.de>
1858
1859 * Makerules (common-clean): Also remove gen-as-const-headers
1860 files.
1861
c1820385
JM
18622012-04-24 Joseph Myers <joseph@codesourcery.com>
1863
1864 * Makerules (native-compile): Do not change working directory for
1865 build. Use $(OUTPUT_OPTION) in command.
1866 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1867
94e02fc4
AZ
18682012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1869
1870 [BZ #13886]
1871 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1872 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1873 * math/libm-test.inc (floor_test): Add more tests.
1874 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1875
3a533ca3
JM
18762012-04-24 Joseph Myers <joseph@codesourcery.com>
1877
940ab4b3
JM
1878 * sysdeps/unix/getdents.c: Remove file.
1879 * sysdeps/unix/sysv/getdents.c: Likewise.
1880 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1881
90e037bd
JM
1882 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1883 sysdeps/unix/mman/syscalls.list.
1884 (mmap): Likewise.
1885 (mprotect): Likewise.
1886 (msync): Likewise.
1887 (munmap): Likewise.
1888 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1889 * sysdeps/unix/mman/syscalls.list: Remove.
1890 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1891
3a533ca3
JM
1892 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1893 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1894 * configure: Regenerated.
1895 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1896 $(libgcc_s_suffix).
1897 * config.make.in (libgcc_s_suffix): Remove variable.
1898
1ad743de
JM
18992012-04-23 Joseph Myers <joseph@codesourcery.com>
1900
4ad451e2
JM
1901 * sysdeps/unix/sysv/gethostname.c: Move to ...
1902 * sysdeps/posix/gethostname.c: ... here.
1903
5e37ce39
JM
1904 * sysdeps/unix/execve.S: Remove file.
1905
1ad743de
JM
1906 * sysdeps/unix/_exit.S: Remove file.
1907
4e681b5b
AJ
19082012-04-23 Andreas Jaeger <aj@suse.de>
1909
1910 [BZ #13739]
1911 * manual/Makefile: Remove make dist support, there's no
1912 need for a stand-alone documentation tar ball.
1913 (TEXI2DVI): Define always, it's not in Makeconfig.
1914 (dist): Removed.
1915 (tar-it): Removed.
1916 (edition): Removed.
1917 (glibc-doc-$(edition).tar): Removed
1918 (%.Z): Removed.
1919 (%.gz): Removed.
1920 (%.uu): Removed.
1921 (ETAGS): Remove, it's in Makeconfig.
1922 (move-if-change): Remove, it's in Makeconfig.
1923
c0baea34
PE
19242013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1925
1926 [BZ #13970]
1927 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1928 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1929 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1930 (strtod_l, strtof_l, strtold_l): Remove __wur.
1931 It is not necessarily an error to ignore strtol's return value.
1932 One can reliably look at the stored endptr to decide whether
1933 the number had valid syntax.
1934
7c0616fa
AJ
19352012-04-21 Andreas Jaeger <aj@suse.de>
1936
803cb6b7 1937 [BZ #13739]
7c0616fa
AJ
1938 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1939
b0fe253f
JM
19402012-04-21 Joseph Myers <joseph@codesourcery.com>
1941
1942 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1943 * sysdeps/unix/sysv/Versions: Remove file.
1944
8280f22d
MT
19452012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1946
1947 [BZ #13927]
1948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1949
75ce411f 19502012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1951
1952 [BZ #7064]
1953 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1954 version from __vm86.
1955
097d59fa
JM
19562012-04-20 Joseph Myers <joseph@codesourcery.com>
1957
a90f3bcb
JM
1958 * sysdeps/unix/common/lxstat.c: Remove file.
1959 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1960
edc7ea78
JM
1961 * sysdeps/unix/sysv/Makefile: Remove file.
1962
cb78c221
JM
1963 * sysdeps/unix/sysv/direct.h: Remove file.
1964
efa6a45f
JM
1965 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1966 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1967 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1968 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1969 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1970 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1971 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1972
9c9f2d0c
JM
1973 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1974
4541c83b
JM
1975 * sysdeps/unix/xmknod.c: Remove file.
1976 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1977
f5d153a0
JM
1978 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1979
aa746595
JM
1980 * sysdeps/unix/sysv/i386/time.S: Remove file.
1981
cce5905e
JM
1982 * sysdeps/unix/fxstat.c: Remove file.
1983 * sysdeps/unix/xstat.c: Likewise.
1984 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1985
37fa3841
JM
1986 * sysdeps/unix/sysv/sigaction.c: Remove file.
1987
ff1962a3
JM
1988 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1989 (sysdep_headers): Remove variable.
1990 [termio.h not in sysdep_headers] (generated): Likewise.
1991 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1992 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1993 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1994 * sysdeps/unix/sysv/tcflow.c: Likewise.
1995 * sysdeps/unix/sysv/tcflush.c: Likewise.
1996 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1997 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1998 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1999 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2000 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2001
e7740d31
JM
2002 * sysdeps/unix/siglist.c: Remove file.
2003
ee06f18b
JM
2004 * sysdeps/unix/getppid.S: Remove file.
2005
097d59fa
JM
2006 * sysdeps/unix/mkdir.c: Remove file.
2007 * sysdeps/unix/rmdir.c: Likewise.
2008
ff3d51ec
AS
20092012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2010
2011 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2012 ERR_MAX value.
2013 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2014 errlist-compat value.
2015
50f81fd7
DM
20162012-04-18 David S. Miller <davem@davemloft.net>
2017
2018 * sysdeps/generic/memcopy.h (reg_char): Delete.
2019 * debug/strcat_chk.c: Use char, not reg_char.
2020 * debug/strcpy_chk.c: Likewise.
2021 * debug/strncat_chk.c: Likewise.
2022 * debug/strncpy_chk.c: Likewise.
2023 * string/memchr.c: Likewise.
2024 * string/memrchr.c: Likewise.
2025 * string/rawmemchr.c: Likewise.
2026 * string/strcat.c: Likewise.
2027 * string/strchr.c: Likewise.
2028 * string/strchrnul.c: Likewise.
2029 * string/strcmp.c: Likewise.
2030 * string/strcpy.c: Likewise.
2031 * string/strncat.c: Likewise.
2032 * string/strncmp.c: Likewise.
2033 * string/strncpy.c: Likewise.
2034
8ff41c46
WS
20352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2036
2037 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2038 __builtin_memcopy is called when src and dest ranges are known to not
2039 overlap.
2040
6b652f46
WS
20412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2042
2043 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2044 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2045 fwd_align_merge macro call.
2046 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2047 bwd_align_merge macro call.
2048 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2049
b282631e
WS
20502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2051
2052 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2053 bwd_align_merge macros.
2054 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2055 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2056 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2057
95aa737c
DM
20582012-04-18 David S. Miller <davem@davemloft.net>
2059
2060 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2061
7a99a614
AJ
20622012-04-18 Andreas Jaeger <aj@suse.de>
2063
2064 [BZ# 6794]
2065 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2066 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2067 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2068
2069 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2070 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2071 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2072
2073 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2074 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2075 Adjust for changed ldbl-128 files.
2076
2077 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2078 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2079 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2080
e5270c23
DM
20812012-04-17 David S. Miller <davem@davemloft.net>
2082
2083 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2084
fb5e92c9
AS
20852012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2086
2087 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2088 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2089 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2090 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2091 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2092 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2093
76da7265
AZ
20942012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2095
2096 [BZ #6794]
2097 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2098 * math/libm-test.inc: Add ilogb errno and exception tests.
2099 * math/w_ilogb.c: New file: ilogb wrapper.
2100 * math/w_ilogbf.c: New file: ilogbf wrapper.
2101 * math/w_ilogbl.c: New file: ilogbl wrapper.
2102 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2103 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2104 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2105 exception being thrown with 0.0 as argument.
2106 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2107 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2108 exception being thrown with 0.0 as argument.
2109 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2110 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2111 exception being thrown with 0.0 as argument.
2112 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2113 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2114 exception being thrown with 0.0 as argument.
2115 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2116 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2117 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2118 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2119 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2120 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2121 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2122 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2123 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2124
0396e69d
PB
21252012-04-17 Petr Baudis <pasky@ucw.cz>
2126
2127 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2128 with altivec.
2129
750b5926
MP
21302012-04-16 Marek Polacek <polacek@redhat.com>
2131
2132 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2133
751728a1
MP
21342012-04-16 Marek Polacek <polacek@redhat.com>
2135
2136 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2137 operands of fdivp instruction.
2138
34a27407
L
21392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2140
2141 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2142 * elf/tst-auditmod3b.c: Likewise.
2143 * elf/tst-auditmod4b.c: Likewise.
2144 * elf/tst-auditmod5b.c: Likewise.
2145 * elf/tst-auditmod6b.c: Likewise.
2146 * elf/tst-auditmod6c.c: Likewise.
2147 * elf/tst-auditmod7b.c: Likewise.
2148 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2149 * sysdeps/x86_64/preconfigure.in: Likewise.
2150 * sysdeps/x86_64/preconfigure: Regenerated.
2151
7e73e17d
L
21522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2153
2154 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2155 __ILP32__.
2156
c7a6ab72
AB
21572012-04-13 Antoine Balestrat <merkil33@gmail.com>
2158
2159 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2160 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2161
a9e8e0e0
CL
21622012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2163
2164 [BZ #13973]
2165 * locale/iso-639.def: Fix gl language name. Spotted by
2166 Yaron Shahrabani.
2167
ec98af7d
RM
21682012-04-12 Roland McGrath <roland@hack.frob.com>
2169
2170 [BZ #2074]
2171 * libio/libio.h (__io_write_fn): Update comment.
2172
247c3ede
PB
21732012-04-12 Petr Baudis <pasky@ucw.cz>
2174
2175 [BZ #2074]
2176 * stdio.texi (Hook Functions): The user provided writer function
2177 is not allowed to return -1.
2178
55939d6d
DM
21792012-04-11 David S. Miller <davem@davemloft.net>
2180
2181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2182
90020f5a
MF
21832012-04-11 Mike Frysinger <vapier@gentoo.org>
2184
2185 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2186 Add a leading slash to rtkaio.
2187
288f9098
JM
21882012-04-11 Jim Meyering <meyering@redhat.com>
2189
90020f5a
MF
2190 [BZ #11959]
2191 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2192 It is not necessarily an error to ignore fwrite's return
2193 value. One can reliably use ferror to test for errors after
2194 the fact.
288f9098 2195
4be2b570
L
21962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2197
2198 * bits/types.h (__snseconds_t): New type.
2199 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2200
2201 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2203 (__SNSECONDS_T_TYPE): Likewise.
2204 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2205 (__SNSECONDS_T_TYPE): Likewise.
2206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2207 (__SNSECONDS_T_TYPE): Likewise.
2208
288f9098 22092012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2210
2211 [BZ #2636]
2212 * manual/time.texi (Processor Time): Return type of times is
2213 elapsed real time since an arbitrary point in the past.
2214 (CPU Time): Move CLK_TCK from here...
2215 (Processor Time): ...to here. Correct description.
2216 * manual/conf.texi (Constants for Sysconf): Correct description of
2217 _SC_CLK_TCK.
2218
d7dd4413
DM
22192012-04-10 David S. Miller <davem@davemloft.net>
2220
2221 [BZ #13967]
2222 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2223 where the is a gap between DT_REL(A) and DT_JMPREL.
2224
b46068fc
L
22252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2226
2227 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2228 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2229 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2230
73d65cc3
SP
22312012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2232
2233 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2234 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2235 (dl_main): Handle --inhibit-cache.
2236 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2237 _dl_inhibit_cache.
2238 * elf/dl-load.c (_dl_map_object): Use it.
2239 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2240
bcc8d661
JM
22412012-04-09 Joseph Myers <joseph@codesourcery.com>
2242
8f9a2fae
JM
2243 [BZ #13872]
2244 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2245 (__ieee754_powl): Saturate large exponents rather than testing for
2246 overflow of y*log2(x).
2247 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2248 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2249 exceptions.
2250
bcc8d661
JM
2251 [BZ #11521]
2252 * math/s_ctan.c: Include <float.h>.
2253 (__ctan): Avoid internal overflow or cancellation in calculating
2254 denominator.
2255 * math/s_ctanf.c: Likewise.
2256 * math/s_ctanl.c: Likewise.
2257 * math/s_ctanh.c: Likewise.
2258 * math/s_ctanhf.c: Likewise.
2259 * math/s_ctanhl.c: Likewise.
2260 * math/libm-test.inc (ctan_test): Add more tests.
2261 (ctanh_test): Likewise.
2262 * sysdeps/i386/fpu/libm-test-ulps: Update.
2263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2264
823fbbb4
AJ
22652012-04-09 Andreas Jaeger <aj@suse.de>
2266
03879793
AJ
2267 [BZ #6894]
2268 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2269 is an optional BSD extension.
2270
823fbbb4
AJ
2271 [BZ #10254]
2272 * manual/stdio.texi (Opening Streams): Document additional fopen
2273 parameters.
2274
8de131cb
RM
22752012-04-09 Roland McGrath <roland@hack.frob.com>
2276
2277 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2278 %eax without telling the compiler.
2279
c0ed9d7d
CD
22802012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2281
2282 [BZ # 13963]
2283 * manual/install.texi: Use sourceware.org.
2284
c483f6b4
JM
22852012-04-09 Joseph Myers <joseph@codesourcery.com>
2286
d7dd9453
JM
2287 [BZ #13873]
2288 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2289 (__ieee754_pow): Generate overflow and underflow using huge*huge
2290 and tiny*tiny rather than just returning constant infinity or zero
2291 for large exponents.
2292 * math/libm-test.inc (pow_test): Require overflow exceptions for
2293 applicable cases of large exponents.
2294
c483f6b4
JM
2295 [BZ #706]
2296 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2297 (__ieee754_pow): Use iterative multiplication algorithm only for
2298 integer exponents with absolute value below 1024. Check for odd
2299 integer exponents when using algorithm for real exponents.
2300 * math/libm-test.inc (pow_test): Add more tests.
2301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2302
d2de7579
JM
23032012-04-08 Joseph Myers <joseph@codesourcery.com>
2304
2305 [BZ #13705]
2306 * math/libm-test.inc (exp_test): Do not allow overflow exception
2307 on underflow test.
2308
f77f1232
AJ
23092012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2310
2311 [BZ #13705]
2312 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2313 instead of __kernel_standard_f.
2314
3884932b
MF
23152012-04-08 Mike Frysinger <vapier@gentoo.org>
2316
2317 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2318 * sysdeps/x86_64/memset_chk.S: Likewise.
2319
54472e9c
AJ
23202012-04-08 Andreas Jaeger <aj@suse.de>
2321
6ab0fbfc
AJ
2322 [BZ #10153]
2323 * manual/startup.texi (Environment Access): Describe return value
2324 for putenv and setenv.
2325
61efba8c
AJ
2326 [BZ #6895]
2327 * manual/filesys.texi (Directory Entries): Add description for
2328 DT_LNK.
2329
95c3f29a
AJ
2330 [BZ #6890]
2331 * manual/filesys.texi (Directory Entries): Clarify that it's file
2332 system not operating system in the description of DT_UNKNOWN.
2333
54472e9c
AJ
2334 [BZ #6578]
2335 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2336
624254b1
SC
23372012-04-08 Stephen Compall <s11@member.fsf.org>
2338
2339 [BZ #6649]
2340 * manual/llio.texi (Opening and Closing Files): Add cross
2341 reference to explain mode argument.
2342
1e4920e0
MF
23432012-04-07 Mike Frysinger <vapier@gentoo.org>
2344
2345 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2346 * sysdeps/x86_64/memset_chk.S: Likewise.
2347
5ed848f3
DM
23482012-04-07 David S. Miller <davem@davemloft.net>
2349
2350 * elf/elf.h (R_SPARC_WDISP10): Define.
2351 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2352 R_SPARC_SIZE32.
2353 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2354 R_SPARC_SIZE64 and R_SPARC_H34.
2355
96154cd8
CD
23562012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2357
2358 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2359 conditions and remove no longer applicable assertion.
2360
9904dc47
L
23612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2362
2363 * bits/byteswap.h: Include <features.h>.
2364 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2365 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2366
f8887d0a
L
23672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2368
2369 * bits/byteswap.h (__bswap_16): Removed.
2370 Include <bits/byteswap-16.h> to get __bswap_16.
2371 * sysdeps/i386/bits/byteswap.h: Likewise.
2372 * sysdeps/s390/bits/byteswap.h: Likewise.
2373 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2374 * bits/byteswap-16.h: New file.
2375 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2376 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2377 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2378 * string/Makefile (headers): Add bits/byteswap-16.h.
2379
62470f60
PP
23802012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2381
2382 [BZ #13895]
2383 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2384 extra indirection.
2385 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2386 * nss/tst-nss-static.c: New.
2387
4dad7bab
RM
23882012-04-06 Robert Millan <rmh@gnu.org>
2389
2390 [BZ #6486]
2391 * manual/llio.texi (File Position Primitive): lseek
2392 refers to WHENCE when it really means OFFSET.
2393
e9142a17
AJ
23942012-04-06 Andreas Jaeger <aj@suse.de>
2395
2c040eff
AJ
2396 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2397 strncmp declarations.
2398
e9142a17
AJ
2399 * abilist/libc.abilist: Add __poll and __ppoll.
2400
ff9f1c5f
DM
24012012-04-05 David S. Miller <davem@davemloft.net>
2402
dcd2ae90
DM
2403 * scripts/check-local-headers.sh: Accept a host triplet in the
2404 path matched by the exclude regexp.
2405
993eb054
DM
2406 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2407 definition.
2408 * sysdeps/powerpc/powerpc32/dl-machine.h
2409 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2410 * sysdeps/s390/s390-32/dl-machine.h
2411 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2412 * sysdeps/sparc/sparc32/dl-machine.h
2413 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2414 * sysdeps/sparc/sparc64/dl-machine.h
2415 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2416
ff9f1c5f
DM
2417 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2418 lazy binding.
48e2e132 2419 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2420 undefined symbol errors.
2421
48e2e132 2422 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2423 DT_NEEDED entries.
2424
e80d6f94
MM
24252012-04-05 Michael Matz <matz@suse.de>
2426
2427 [BZ #13592]
2428 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2429
349fa79f
AJ
24302012-04-05 Andreas Jaeger <aj@suse.de>
2431
2432 [BZ #13908]
2433 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2434 comment.
2435
f402708f
KK
24362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2437
2438 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2439 which ROUND is no valid rounding mode.
2440
2ecccfc9
KK
24412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2442
2443 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2444 read again.
2445 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2446
8a53f50f
KK
24472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2448
2449 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2450 an exception using FPU order intentionally.
2451
24522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2453
2454 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2455 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2456 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2457 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2458
d653abb7
SJ
24592012-04-05 Simon Josefsson <simon@josefsson.org>
2460
2461 [BZ #12340]
2462 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2463 EINVAL when BUFLEN is too smal.
2464
c3b1bf7d
TS
24652012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2466
2467 [BZ #13553]
2468 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2469 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2470
b1aa60f3
AJ
24712012-04-03 Andreas Jaeger <aj@suse.de>
2472
c3b1bf7d 2473 [BZ #13938]
67f60a26
AJ
2474 * manual/setjmp.texi (System V contexts): Fix sentence.
2475
b1aa60f3
AJ
2476 [BZ #13926]
2477 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2478 New macro for this case.
2479 [!__GNUC__] (__bswap_64): New inline function for this case.
2480 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2481 * bits/byteswap.h: Likewise.
2482 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2483 ull, guard with __GLIBC_HAVE_LONG_LONG.
2484
2485 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2486 __GLIBC_HAVE_LONG_LONG.
2487
2488 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2489 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2490
39c59c35
TMQMF
24912012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2492
2493 [BZ #13691]
2494 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2495 inptr and inend, rather than using last_ch.
2496
135ffda8
DM
24972012-04-02 David S. Miller <davem@davemloft.net>
2498
2499 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2500 * stdio-common/printf-parse.h (read_int): Change return type to
2501 'int', return -1 on INT_MAX overflow.
2502 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2503 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2504 overflows INT_MAX. Check for overflow of in-format-string precision
2505 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2506 SIZE_MAX not INT_MAX for integer overflow test.
2507 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2508 skip the construct in the format string but do not record anything.
2509 * stdio-common/bug22.c: Adjust to test both width/prevision
2510 INT_MAX overflow as well as total length INT_MAX overflow. Check
2511 explicitly for proper errno values.
2512
228c019e
TS
25132012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2514
302cadd3
TS
2515 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2516 CHAR_MAX.
2517 * string/test-strcmp.c [! WIDE]: Likewise.
2518 * time/tst-mktime2.c: Likewise for INT_MAX.
2519 * string/test-string.h: #include <sys/param.h> for MIN.
2520
228c019e
TS
2521 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2522 * sysdeps/i386/init-first.c (init): Likewise.
2523 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2524 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2525 * sysdeps/sh/init-first.c (init): Likewise.
2526
cfa633f5
UD
25272012-04-01 Ulrich Drepper <drepper@gmail.com>
2528
2529 * po/ru.po: Update from translation team.
d1635ef8 2530 * po/vi.po: Likewise.
cfa633f5 2531
6cd0a5ea
SP
25322012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2533
2534 * resolv/nss_dns/dns-host.c: Merge copyright years.
2535
4b43400f
LD
25362012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2537
2538 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2539 Optimize memcpy with prefetch if
2540 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2541 src, dst pointers have unequal 16 byte alignments.
2542
48c41d04
SP
25432012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2544
2545 [BZ #13928]
2546 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2547 from a CNAME entry and return the minimum ttl for the query.
2548 (gaih_getanswer_slice): Likewise.
2549
b8dc394d
JL
25502012-03-30 Jeff Law <law@redhat.com>
2551
2552 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2553 due to long keys.
2554 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2555 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2556
2f5a5ed0
JL
2557 * resolv/nss_dns/dns-host.c: Update copyright year.
2558
1d39e359
UD
25592012-03-30 Ulrich Drepper <drepper@gmail.com>
2560
c030f70c 2561 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2562 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2563
1d39e359
UD
2564 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2565 comments for sendmmsg.
2566
25672012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2568
2569 [BZ #13691]
2570 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2571 with only 1 character between 0x0041 and 0x01b0.
2572 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2573 * wcsmbs/tst-mbsnrtowcs.c: New file.
2574
20fde227
DM
25752012-03-29 David S. Miller <davem@davemloft.net>
2576
2577 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2578 small copies by hand.
2579
984a4237
JL
25802012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2581
2582 [BZ #13761]
2583 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2584 _nss_compat_initgroups_dyn): Fall back to malloc/free
2585 for large group memberships.
2586
18c9d62b
DM
25872012-03-28 David S. Miller <davem@davemloft.net>
2588
88d85d4f
DM
2589 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2590 that branches into memcpy.
2591 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2592 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2593 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2594 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2596 bits.
2597 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2598 implementation too.
2599 * sysdeps/sparc/mempcpy.S: New file.
2600
e5aa83e1
DM
2601 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2602 the IFUNC routine in the libc case.
2603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2604
88570753
DM
2605 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2606 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2607 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2608 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2609 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2610 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2611 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2612 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2613
249d7567
DM
2614 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2615 loop to 256 bytes instead of 64 bytes and fix test signedness.
2616
18c9d62b
DM
2617 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2618 * sysdeps/sparc/sparc32/Makefile: rather than here...
2619 * sysdeps/sparc/sparc64/Makefile: and here.
2620
05f3d1f6
UD
26212012-03-28 Ulrich Drepper <drepper@gmail.com>
2622
2623 * malloc/mallocbug.c: Avoid warnings about unused variables.
2624
86ae07a8
JL
26252012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2626
2627 [BZ #13760]
2628 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2629 in the right place. Discard and retry query if response is
2630 larger than input buffer size.
2631
41bf21a1
JM
26322012-03-28 Joseph Myers <joseph@codesourcery.com>
2633
d6270972
JM
2634 [BZ #369]
2635 [BZ #2678]
2636 [BZ #3866]
2637 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2638 x for large integer exponent.
2639 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2640 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2641 sign of result as needed afterwards.
2642 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2643 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2644 result for underflowing pow the same as for overflow.
2645 (__kernel_standard_l): Handle powl overflow and underflow here
2646 rather than calling __kernel_standard.
2647 * math/libm-test.inc (pow_test): Add more tests.
2648
414fca03 2649 [BZ #3868]
41bf21a1
JM
2650 [BZ #13879]
2651 [BZ #13910]
2652 [BZ #13911]
2653 [BZ #13912]
2654 [BZ #13913]
2655 [BZ #13915]
2656 [BZ #13916]
2657 [BZ #13917]
2658 [BZ #13918]
2659 [BZ #13919]
2660 [BZ #13920]
2661 [BZ #13921]
2662 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2663 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2664 (__kernel_standard_l): New function.
2665 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2666 __kernel_standard.
2667 * math/w_acosl.c (__acosl): Likewise.
2668 * math/w_asinl.c (__asinl): Likewise.
2669 * math/w_atan2l.c (__atan2l): Likewise.
2670 * math/w_atanhl.c (__atanhl): Likewise.
2671 * math/w_coshl.c (__coshl): Likewise.
2672 * math/w_exp10l.c (__exp10l): Likewise.
2673 * math/w_exp2l.c (__exp2l): Likewise.
2674 * math/w_fmodl.c (__fmodl): Likewise.
2675 * math/w_hypotl.c (__hypotl): Likewise.
2676 * math/w_j0l.c (__j0l, __y0l): Likewise.
2677 * math/w_j1l.c (__j1l, __y1l): Likewise.
2678 * math/w_jnl.c (__jnl, __ynl): Likewise.
2679 * math/w_lgammal.c (__lgammal): Likewise.
2680 * math/w_log10l.c (__log10l): Likewise.
2681 * math/w_log2l.c (__log2l): Likewise.
2682 * math/w_logl.c (__logl): Likewise.
2683 * math/w_powl.c (__powl): Likewise.
2684 * math/w_remainderl.c (__remainderl): Likewise.
2685 * math/w_scalbl.c (sysv_scalbl): Likewise.
2686 * math/w_sinhl.c (__sinhl): Likewise.
2687 * math/w_sqrtl.c (__sqrtl): Likewise.
2688 * math/w_tgammal.c (__tgammal): Likewise.
2689 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2690 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2691 * math/libm-test.inc (acos_test): Add more tests.
2692 (acosh_test): Likewise.
2693 (asin_test): Likewise.
2694 (atanh_test): Likewise.
2695 (exp_test): Likewise.
2696 (exp10_test): Likewise.
2697 (exp2_test): Likewise.
2698 (expm1_test): Likewise.
2699 (lgamma_test): Likewise.
2700 (log_test): Likewise.
2701 (log10_test): Likewise.
2702 (log1p_test): Likewise.
2703 (log2_test): Likewise.
2704 (pow_test): Do not allow some spurious overflow exceptions.
2705 (sqrt_test): Add more tests.
2706 (tgamma_test): Likewise.
2707 (y0_test): Likewise.
2708 (y1_test): Likewise.
2709 (yn_test): Likewise.
2710
dd62fda6
AB
27112012-03-27 Anton Blanchard <anton@samba.org>
2712
2713 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2714 MAP_HUGETLB.
2715 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2716 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2717 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2718
1e3cdfda
AJ
27192012-03-27 David S. Miller <davem@davemloft.net>
2720
b855ab85
DM
2721 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2722
1e3cdfda
AJ
2723 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2724 have-as-vis3 check.
2725
27262012-03-27 Andreas Jaeger <aj@suse.de>
2727
2728 * sysdeps/x86_64/elf/configure.in: Moved to ...
2729 * sysdeps/x86_64/configure.in: ... here.
2730 * sysdeps/x86_64/elf/start.S: Moved to ...
2731 * sysdeps/x86_64/start.S: ... here.
2732 * sysdeps/x86_64/elf/configure: Delete.
2733
2734 * sysdeps/x86_64/configure.in: Merge contents from
2735 sysdeps/i386/configure.in (without i686 check).
2736
2737 * sysdeps/i386/elf/Versions: Merge into ...
2738 * sysdeps/i386/Versions: ... this.
2739 * sysdeps/i386/elf/Versions: Delete file.
2740 * sysdeps/i386/elf/start.S: Moved to ...
2741 * sysdeps/i386/start.S: ...here.
2742 * sysdeps/i386/elf/configure.in: Merge into...
2743 * sysdeps/i386/configure.in: ...here.
2744 * sysdeps/i386/elf/configure.in: Delete file.
2745 * sysdeps/i386/elf/configure: Delete file.
2746
2747 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2748 * debug/backtracesyms.c: ... here.
2749 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2750 * debug/backtracesymsfd.c: ... here.
2751 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2752 * sysdeps/generic/ifunc-sel.h: ... here.
2753
2754 * sysdeps/unix/i386/start.c: Delete file.
2755 * sysdeps/unix/sparc/start.c: Delete file.
2756 * sysdeps/unix/start.c: Delete file.
2757
2758 * sysdeps/sh/elf/configure.in: Moved to ...
2759 * sysdeps/sh/configure.in: ... here.
2760 * sysdeps/sh/elf/start.S: Moved to ...
2761 * sysdeps/sh/start.S: ... here.
2762 * sysdeps/sh/elf/configure: Delete file.
2763
2764 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2765 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2766 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2767 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2768 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2769 * sysdeps/powerpc/powerpc64/start.S: here.
2770 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2771 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2772 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2773 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2774 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2775
2776 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2777 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2778 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2779 * sysdeps/powerpc/powerpc32/start.S: ... here.
2780 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2781 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2782 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2783
2784 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2785 * sysdeps/powerpc/ifunc-sel.h: ... here.
2786 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2787 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2788
2789 * sysdeps/sparc/elf/configure.in: Moved to ...
2790 * sysdeps/sparc/configure.in: ... here.
2791 * sysdeps/sparc/elf/configure: Delete file.
2792 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2793 * sysdeps/sparc/sparc32/start.S: ... here.
2794 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2795 * sysdeps/sparc/sparc64/start.S: ... here.
2796 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2797 * sysdeps/sparc/sparc32/Makefile: ... this.
2798 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2799 * sysdeps/sparc/sparc64/Makefile: ... this.
2800
2801 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2802 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2803 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2804 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2805 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2806 * sysdeps/s390/s390-32/setjmp.S: ... here.
2807 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2808 * sysdeps/s390/s390-32/configure.in: ... here.
2809 * sysdeps/s390/s390-32/elf/configure: Delete file.
2810 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2811 * sysdeps/s390/s390-32/start.S: ... here.
2812
2813 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2814 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2815 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2816 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2817 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2818 * sysdeps/s390/s390-64/setjmp.S: ... here.
2819 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2820 * sysdeps/s390/s390-64/configure.in: ... here
2821 * sysdeps/s390/s390-64/elf/configure: Delete file.
2822 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2823 * sysdeps/s390/s390-64/start.S: ... here.
2824 * sysdeps/s390/s390-64/elf/configure: Delete.
2825
2826 * configure.in: Remove support for elf directories in sysdeps.
2827
2828 * configure: Regenerated.
2829 * sysdeps/i386/configure: Regenerated.
2830 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2831 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2832 * sysdeps/s390/s390-32/configure: Regenerated.
2833 * sysdeps/s390/s390-64/configure: Regenerated.
2834 * sysdeps/sh/configure: Regenerated.
2835 * sysdeps/sparc/configure: Regenerated.
2836 * sysdeps/x86_64/configure: Regenerated.
2837
a3f61311
AS
28382012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2839
c876e002
AS
2840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2841
a3f61311
AS
2842 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2843 denormal result into account.
2844
ac4c54f0
RM
28452012-03-25 Roland McGrath <roland@hack.frob.com>
2846
2847 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2848 Reported by Allan McRae <allan@archlinux.org>.
2849
6a9b9c02
JL
28502012-03-23 Jeff Law <law@redhat.com>
2851
2852 * nss/getnssent.c (__nss_getent): Fix typo.
2853
4c42a0c1
DM
28542012-03-23 David S. Miller <davem@davemloft.net>
2855
2856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2857
1532c7ac
L
28582012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2859
2860 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2861 to pad to uint64_t for each field.
2862 (dl_tls_index): Replace unsigned long with uint64_t.
2863
3ff42526
PP
28642012-03-23 Daniel Jacobowitz <dmj@google.com>
2865 Paul Pluzhnikov <ppluzhnikov@google.com>
2866
2867 [BZ #6528]
2868 * grp/Makefile (otherlibs): Don't set it.
2869 * inet/Makefile (otherlibs): Likewise.
2870 * login/Makefile (otherlibs): Likewise.
2871 * nscd/Makefile (otherlibs): Likewise.
2872 * posix/Makefile (otherlibs): Likewise.
2873 * pwd/Makefile (otherlibs): Likewise.
2874 * rt/Makefile (otherlibs): Likewise.
2875 * sunrpc/Makefile (otherlibs): Likewise.
2876 * nss/Makefile (otherlibs): Likewise.
2877 Add libnss_files to routines and static-only-routines.
2878 ($(objpfx)getent): Remove rule.
2879 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2880 static-only-routines.
2881
7c69cd14
JM
28822012-03-22 Joseph Myers <joseph@codesourcery.com>
2883
2884 [BZ #13892]
2885 * math/s_cexp.c: Include <float.h>.
2886 (__cexp): Handle exp result overflowing not necessarily
2887 overflowing both real and imaginary parts of result.
2888 * math/s_cexpf.c: Likewise.
2889 * math/s_cexpl.c: Likewise.
2890 * math/libm-test.inc (cexp_test): Add more tests.
2891 * sysdeps/i386/fpu/libm-test-ulps: Update.
2892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2893
81b035fe
L
28942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2895
2896 * include/link.h (ELFW): New macro.
2897 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2898 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2899
1da7940c
L
29002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2901
2902 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2903 with uint64_t.
2904
b749dbb9
L
29052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2906
2907 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2908 declaration.
2909 (struct La_x32_retval): Likewise.
2910
2ff87f3f
L
29112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2912
2913 * sysdeps/x86_64/preconfigure.in: New file.
2914 * sysdeps/x86_64/preconfigure: New generated file.
2915
c0df8e69
JM
29162012-03-22 Joseph Myers <joseph@codesourcery.com>
2917
48e44791
JM
2918 [BZ #13824]
2919 * math/e_exp2l.c: Include <float.h>.
2920 (__ieee754_exp2l): Handle overflow and underflow cases
2921 separately. Only pass fractional part of argument to
2922 __ieee754_expl.
2923 * math/libm-test.inc (exp2_test): Add more tests.
2924
c0df8e69
JM
2925 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2926 negating x to take absolute value.
2927 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2928 Likewise.
2929 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2930 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2931 Likewise.
2932 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2933 computing low part if x was negated.
2934 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2935
c8e43ba7
L
29362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2937
2938 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2939 la_x32_gnu_pltexit.
2940 (pltexit): Cast int_retval to ptrdiff_t.
2941 * elf/tst-auditmod3b.c: Likewise.
2942 * elf/tst-auditmod4b.c: Likewise.
2943 * elf/tst-auditmod5b.c: Likewise.
2944 * elf/tst-auditmod6b.c: Likewise.
2945 * elf/tst-auditmod6c.c: Likewise.
2946 * elf/tst-auditmod7b.c: Likewise.
2947
2948 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2949 and x32_gnu_pltexit.
2950
2951 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2952 __ELF_NATIVE_CLASS.
2953 (La_x32_regs): New macro.
2954 (La_x32_retval): Likewise.
2955 (la_x32_gnu_pltenter): New function prototype.
2956 (la_x32_gnu_pltexit): Likewise.
2957
7998fa78
AS
29582012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2959
dcb33988
AS
2960 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2961 exponent.
2962
233fc563
AS
2963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2964
7998fa78
AS
2965 * configure.in (libc_cv_cc_nofma): Check for option to disable
2966 generation of FMA instructions.
2967 * configure: Regenerate.
2968 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2969 * sysdeps/ieee754/dbl-64/Makefile: New file.
2970 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2971 Remove brandred-fma4.
2972 (CFLAGS-brandred-fma4.c): Remove.
2973 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2974 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2975 define.
2976 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2977 define.
2978
8e95c99a
L
29792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2980
2981 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2982 LLONG_MAX != LONG_MAX.
2983 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2984 (_fitoa_word): Likewise.
2985 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2986 LLONG_MAX != LONG_MAX.
2987 * stdio-common/_itowa.h: Include <_itoa.h>.
2988 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2989 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2990 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2991 only if not defined.
2992 (_ITOA_WORD_TYPE): Likewise.
2993 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2994 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2995
6f4db457
DM
29962012-03-21 David S. Miller <davem@davemloft.net>
2997
2998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2999
7785fe5a
L
30002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3001
3002 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3003 of x86_64 when setting libc_cv_slibdir, libdir and
3004 libc_cv_localedir.
3005 * sysdeps/unix/sysv/linux/configure: Regenerated.
3006
4535cd55
JM
30072012-03-21 Joseph Myers <joseph@codesourcery.com>
3008
3009 * manual/lang.texi (Old Varargs): Remove section.
3010 (How Variadic): Update menu.
3011 (va_start): Do not mention varargs.h.
3012
17228132
TS
30132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3014 Joseph Myers <joseph@codesourcery.com>
3015
3016 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3017 link test.
3018 * configure: Regenerated.
3019
8149f976
TS
30202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3021
05f3d1f6
UD
3022 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3023 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3024 conformtest.pl
8149f976 3025
1a4ac776
JM
30262012-03-21 Joseph Myers <joseph@codesourcery.com>
3027
be22ce65
JM
3028 * NOTES: Remove.
3029 * Makefile (files-for-dist): Remove NOTES.
3030 (NOTES): Remove rule.
3031 * README: Don't refer to NOTES.
3032 * manual/creature.texi: Don't include macros.texi.
3033 * manual/intro.texi (creature.texi): Remove comment referring to
3034 NOTES.
3035
40b601fb
JM
3036 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3037 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3038 * configure: Regenerated.
3039 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3040 LIBC_TRY_CC_OPTION.
3041 (libc_cv_as_i686): Likewise.
3042 (libc_cv_cc_avx): Likewise.
3043 (libc_cv_cc_sse2avx): Likewise.
3044 (libc_cv_cc_fma4): Likewise.
3045 (libc_cv_cc_novzeroupper): Likewise.
3046 * sysdeps/i386/configure: Regenerated.
3047
1a4ac776
JM
3048 [BZ #13883]
3049 * sysdeps/i386/fpu/s_cexp.S: Remove.
3050 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3051 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3052 * math/libm-test.inc (cexp_test): Add more tests.
3053 * sysdeps/i386/fpu/libm-test-ulps: Update.
3054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3055
a458e7fe
AM
30562012-03-21 Allan McRae <allan@archlinux.org>
3057
3058 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3059
0cb7efc5
JM
30602012-03-21 Joseph Myers <joseph@codesourcery.com>
3061
3062 [BZ #13871]
3063 * math/w_exp2.c: Do not include <float.h>.
3064 (o_threshold, u_threshold): Remove.
3065 (__exp2): Calculate result before checking finiteness and calling
3066 __kernel_standard.
3067 * math/w_exp2f.c: Likewise.
3068 * math/w_exp2l.c: Likewise.
3069 * math/libm-test.inc (exp2_test): Require overflow exception for
3070 1e6 input.
2460d3aa
JM
3071
3072 [BZ #3866]
3073 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3074 range of signed 64-bit integers before using fistpll. Remove
3075 checks for whether integers fit in mantissa bits.
3076 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3077 the range of signed 32-bit integers before using fistpl. Remove
3078 checks for whether integers fit in mantissa bits.
3079 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3080 (__ieee754_powl): Test for y outside the range of signed 64-bit
3081 integers before using fistpll. Reduce 64-bit values to 63-bit
3082 ones as needed.
3083 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3084 divide-by-zero is raised for zero to large negative powers.
3085 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3086 (__ieee754_powl): Test for y outside the range of signed 64-bit
3087 integers before using fistpll. Reduce 64-bit values to 63-bit
3088 ones as needed.
3089 * math/libm-test.inc (pow_test): Add more tests.
3090
eb96ffb0
L
30912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3092
3093 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3094 <stdio-common/_itoa.h>.
3095 * debug/segfault.c: Likewise.
3096 * elf/dl-cache.c: Likewise.
3097 * elf/dl-minimal.c: Likewise.
3098 * elf/dl-misc.c: Likewise.
3099 * elf/dl-sysdep.c: Likewise.
3100 * elf/dl-version.c: Likewise.
3101 * elf/rtld.c: Likewise.
3102 * hurd/hurdsock.c: Likewise.
3103 * hurd/lookup-retry.c: Likewise.
3104 * malloc/malloc.c: Likewise.
3105 * malloc/mtrace.c: Likewise.
3106 * nscd/nscd_getgr_r.c: Likewise.
3107 * nscd/nscd_getpw_r.c: Likewise.
3108 * nscd/nscd_getserv_r.c: Likewise.
3109 * posix/getopt_init.c: Likewise.
3110 * posix/wordexp.c: Likewise.
3111 * stdio-common/_itoa.c: Likewise.
3112 * stdio-common/printf_fphex.c: Likewise.
3113 * stdio-common/vfprintf.c: Likewise.
3114 * string/_strerror.c: Likewise.
3115 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3116 * sysdeps/i386/i686/hp-timing.h: Likewise.
3117 * sysdeps/mach/_strerror.c: Likewise.
3118 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3119 * sysdeps/mach/hurd/sethostid.c: Likewise.
3120 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3121 * sysdeps/mach/xpg-strerror.c: Likewise.
3122 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3123 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3124 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3125 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3126 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3127 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3128 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3129 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3130 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3131 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3132 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3133 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3134 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3135 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3136 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3137 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3138 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3139 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3140 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3141 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3142 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3143
3144 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3145
3146 * stdio-common/_itoa.h: Moved to ...
3147 * sysdeps/generic/_itoa.h: Here.
3148
3149 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3150
3151 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3152 instead of "_itoa.h" and "_itowa.h".
3153 * stdio-common/vfprintf.: Likewise.
3154
d1af992d
L
31552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3156
3157 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3158 <bits/wordsize.h>.
3159 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3160 (__signbit): Likwise.
3161 (llrintf): Likwise.
3162 (llrint): Likwise.
3163
114883e0
L
31642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3165
3166 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3167 __WORDSIZE != 64.
3168
c135cc1b
JM
31692012-03-20 Joseph Myers <joseph@codesourcery.com>
3170
3171 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3172 OVERFLOW_EXCEPTION_OK.
3173 * math/libm-test.inc ("Philosophy"): Update comment about
3174 exception testing.
3175 (OVERFLOW_EXCEPTION): Define.
3176 (OVERFLOW_EXCEPTION_OK): Likewise.
3177 (INVALID_EXCEPTION_OK): Renumber.
3178 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3179 (IGNORE_ZERO_INF_SIGN): Likewise.
3180 (test_exceptions): Handle FE_OVERFLOW.
3181 (exp10_test): Expect overflow exceptions.
3182 (exp2_test): Likewise.
3183 (expm1_test): Likewise.
3184 (nextafter_test): Likewise.
3185 (pow_test): Likewise.
3186 (scalbn_test): Likewise.
3187 (scalbln_test): Likewise.
3188
95443d88
L
31892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3190
3191 * sysdeps/x86_64/bits/atomic.h
3192 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3193 64bit integer.
3194 (atomic_exchange_acq): Likewise.
3195 (__arch_exchange_and_add_body): Likewise.
3196 (__arch_add_body): Likewise.
3197 (atomic_add_negative): Likewise.
3198 (atomic_add_zero): Likewise.
3199
490df6c4
L
32002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3201
c2722551 3202 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3203 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3204
5e52b189
L
32052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3206
3207 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3208 Check __x86_64__ instead of __WORDSIZE.
3209
a9879d4c
L
32102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3211
3212 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3213
5df98260
DM
32142012-03-19 David S. Miller <davem@davemloft.net>
3215
e1497744
DM
3216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3217
5df98260
DM
3218 * sysdeps/sparc/fpu/fenv_private.h: New file.
3219 * sysdeps/sparc/fpu/math_private.h: Use it.
3220 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3221 Remove.
3222 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3223 (libc_feholdexcept_setroundl): Remove.
3224 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3225 Remove.
3226 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3227 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3228
b4c35121
L
32292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3230
3231 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3232 int64_t instead of long int.
3233 (INSERT_WORDS64): Likwise.
3234
56965fd7
L
32352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3236
3237 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3238 _Unwind_GetCFA return to _Unwind_Ptr first.
3239
83d1aec8
JM
32402012-03-19 Joseph Myers <joseph@codesourcery.com>
3241
1897ad44
JM
3242 [BZ #13629]
3243 * math/s_clog.c: Include <float.h>.
3244 (__clog): Scale large or subnormal inputs.
3245 * math/s_clogf.c: Likewise.
3246 * math/s_clogl.c: Likewise.
3247 * math/s_clog10.c: Include <float.h>.
3248 (M_LOG10_2): Define.
3249 (__clog10): Scale large or subnormal inputs.
3250 * math/s_clog10f.c: Likewise.
3251 * math/s_clog10l.c: Likewise.
3252 * math/libm-test.inc (clog_test): Add more tests.
3253 (clog10_test): Likewise.
3254 * sysdeps/i386/fpu/libm-test-ulps: Update.
3255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3256
7726d6a9
JM
3257 [BZ #11451]
3258 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3259 x and y.
3260 * math/libm-test.inc (atan2_test): Add another test.
3261
83d1aec8
JM
3262 * Makerules (common-objdir-compile): Remove.
3263 * sysdeps/unix/Makefile (config-generated): Do not add
3264 $(unix-generated) to variable.
3265 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3266 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3267 Remove rule.
3268 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3269 Likewise.
3270 [generic bits/local_lim.h] (before-compile): Do not append to
3271 variable.
3272 [generic bits/local_lim.h] (common-generated): Likewise.
3273 [generic sys/param.h] (before-compile): Do not append to variable.
3274 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3275 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3276 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3277 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3278 include.
3279 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3280 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3281 [generic sys/param.h] ($(addprefix
3282 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3283 [generic sys/param.h] (common-generated): Do not append to
3284 variable.
3285 [generic sys/param.h] (sysdep_headers): Likewise.
3286 [generic bits/errno.h] (before-compile): Do not append to
3287 variable.
3288 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3289 rule.
3290 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3291 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3292 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3293 [generic bits/errno.h] (common-generated): Do not append to
3294 variable.
3295 [generic bits/ioctls.h] (before-compile): Do not append to
3296 variable.
3297 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3298 rule.
3299 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3300 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3301 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3302 rule.
3303 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3304 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3305 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3306 [generic bits/ioctls.h] (common-generated): Do not append to
3307 variable.
3308 [generic sys/syscall.h] (syscall.h): Remove variable.
3309 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3310 rule.
3311 [generic sys/syscall.h] (before-compile): Do not append to
3312 variable.
3313 [generic sys/syscall.h] (common-generated): Likewise.
3314 * sysdeps/unix/errnos-tmpl.c: Remove file.
3315 * sysdeps/unix/errnos.awk: Likewise.
3316 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3317 * sysdeps/unix/ioctls.awk: Likewise.
3318 * sysdeps/unix/mk-local_lim.c: Likewise.
3319 * sysdeps/unix/snarf-ioctls: Likewise.
3320
4851a949
RH
33212012-03-19 Richard Henderson <rth@twiddle.net>
3322
bd37f2ee
RH
3323 * sysdeps/i386/fpu/fenv_private.h: New file.
3324 * sysdeps/i386/fpu/math_private.h: Use it.
3325 (math_opt_barrier, math_force_eval): Remove.
3326 (libc_feholdexcept_setround_53bit): Remove.
3327 (libc_feupdateenv_53bit): Remove.
3328 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3329 (math_opt_barrier, math_force_eval): Remove.
3330 (libc_feholdexcept): Remove.
3331 (libc_feholdexcept_setround): Remove.
3332 (libc_fetestexcept, libc_fesetenv): Remove.
3333 (libc_feupdateenv_test): Remove.
3334 (libc_feupdateenv, libc_feholdsetround): Remove.
3335 (libc_feresetround): Remove.
3336
d0adc922
RH
3337 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3338 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3339
0fe0f1f8
RH
3340 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3341 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3342 (libc_feupdateenv_testl): New.
3343 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3344 (libc_feupdateenv_testf): New.
3345 (libc_feupdateenv): Use libc_feupdateenv_test.
3346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3347 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3348
eb92c487
RH
3349 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3350 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3351 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3352 (libc_feresetround_noex): New.
3353 (libc_feresetround_noexf): New.
3354 (libc_feresetround_noexl): New.
3355 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3356 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3357 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3358 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3359 SET_RESTORE_ROUND.
3360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3361 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3362 (__cos): Likewise.
3363 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3364 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3365 SET_RESTORE_ROUND_NOEX.
3366 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3367 SET_RESTORE_ROUND_NOEXF.
3368 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3369 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3370 (libc_feholdsetroundf): New.
3371 (libc_feresetround, libc_feresetroundf): New.
3372
7d2e8012
RH
3373 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3374 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3375 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3376
b4dabbb4
RH
3377 * sysdeps/generic/math_private.h: Include <fenv.h>.
3378 (default_libc_feholdexcept): New.
3379 (default_libc_feholdexcept_setround): New.
3380 (default_libc_fesetenv, default_libc_feupdateenv): New.
3381 (libc_feholdexcept): Only define if undefined.
3382 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3383 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3384 (libc_feholdexcept_setroundl): Likewise.
3385 (libc_feholdexcept_setround_53bit): Likewise.
3386 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3387 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3388 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3389 (libc_feupdateenv_53bit): Likewise.
3390 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3391 (libc_feholdexcept): Convert from macro to inline function.
3392 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3393 (libc_fesetenv, libc_feupdateenv): Likewise.
3394
4851a949
RH
3395 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3396 not previously defined.
3397 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3398 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3399 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3400 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3401 * sysdeps/ieee754/flt-32/math_private.h: New file.
3402 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3403 math_private.h below SET_FLOAT_WORD.
3404 (__isnan, __isinf_ns, __finite): Remove.
3405 (__isnanf, __isinf_nsf, __finitef): Remove.
3406
e79d442e
AS
34072012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3408
3409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3410
90b80344
DM
34112012-03-17 David S. Miller <davem@davemloft.net>
3412
3413 [BZ #6471]
3414 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3415 for 2.16.
3416
edc21804
DM
34172012-03-16 David S. Miller <davem@davemloft.net>
3418
77e927af
DM
3419 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3420 warnings.
3421
374976dd
DM
3422 [BZ #6471]
3423 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3424 properly.
3425 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3426 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3427 sysdep_routines when subdir is sysvipc.
3428 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3429 __getshmlba helper.
3430
edc21804
DM
3431 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3432
473c3ef3
L
34332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3434
3435 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3436 [__LP64__].
3437
eb0f39b6
L
34382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3439
3440 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3441 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3442 (__lround): Renamed to ...
3443 (__llround): This. Replace long int with long long int.
3444 Define lround functions as aliases of llround functions.
3445 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3446
6b6cd74b
L
34472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3448
3449 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3450 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3451 adresses to uintptr_t. Replace "long int" and "unsigned long
3452 int" with "greg_t" on va_arg.
3453
f1a77b01
L
34542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3455
3456 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3457 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3458
3459 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3460 Move e_machine check before EI_CLASS check. Handle x32
3461 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3462 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3463 SKIP_EM_IA_64 and include
3464 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3465
3466 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3467 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3468 (add_system_dir): New macro.
3469
3470 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3471 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3472
11b90b9f
JM
34732012-03-16 Joseph Myers <joseph@codesourcery.com>
3474
c36e1d23
JM
3475 [BZ #2551]
3476 [BZ #2552]
3477 [BZ #2553]
3478 [BZ #2554]
3479 [BZ #2562]
3480 [BZ #2563]
3481 [BZ #2565]
3482 [BZ #2566]
3483 [BZ #2576]
3484 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3485 (y0): Likewise.
3486 * math/w_j0f.c (j0f): Likewise.
3487 (y0f): Likewise.
3488 * math/w_j0l.c (__j0l): Likewise.
3489 (__y0l): Likewise.
3490 * math/w_j1.c (j1): Likewise.
3491 (y1): Likewise.
3492 * math/w_j1f.c (j1f): Likewise.
3493 (y1f): Likewise.
3494 * math/w_j1l.c (__j1l): Likewise.
3495 (__y1l): Likewise.
3496 * math/w_jn.c (jn): Likewise.
3497 (yn): Likewise.
3498 * math/w_jnf.c (jnf): Likewise.
3499 (ynf): Likewise.
3500 * math/w_jnl.c (__jnl): Likewise.
3501 (__ynl): Likewise.
3502 * math/libm-test.inc (j0_test): Add more tests.
3503 (j1_test): Likewise.
3504 (jn_test): Likewise. Add trailing semicolon to existing test.
3505 (y0_test): Likewise.
3506 (y1_test): Likewise.
3507 * sysdeps/i386/fpu/libm-test-ulps: Update.
3508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3509
11b90b9f
JM
3510 [BZ #13851]
3511 [BZ #13854]
3512 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3513 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3514 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3515 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3516 (__tanl): Set errno for infinite argument.
3517 * sysdeps/i386/fpu/mptan.c: Remove.
3518 * sysdeps/i386/fpu/s_tan.S: Likewise.
3519 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3520 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3521 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3522 * math/libm-test.inc (tan_test): Add more tests and enable more
3523 tests for double and long double.
3524 * sysdeps/i386/fpu/libm-test-ulps: Update.
3525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3526
6a1bd2a1
JK
35272012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3528
3529 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3530 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3531
10a803e0
RM
35322012-03-16 Roland McGrath <roland@hack.frob.com>
3533
3534 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3535 * configure.in: Use it for both main tree and add-ons.
3536 * configure: Regenerated.
3537
f196c7f7
L
35382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3539
3540 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3541
8848d99d
JM
35422012-03-16 Joseph Myers <joseph@codesourcery.com>
3543
96cbe7f4
JM
3544 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3545 in comment.
3546
8848d99d
JM
3547 [BZ #13851]
3548 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3549 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3550 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3551 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3552 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3553 infinite argument.
3554 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3555 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3556 != 0 for prec == 2.
3557 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3558 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3559 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3560 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3561 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3562 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3563 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3564 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3565 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3566 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3567 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3568 * math/libm-test.inc (cos_test): Add more tests and enable more
3569 tests for long double.
3570 (sin_test): Likewise.
3571 (sincos_test): Likewise.
3572 * sysdeps/i386/fpu/libm-test-ulps: Update.
3573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3574
dd7f4703
DM
35752012-03-16 David S. Miller <davem@davemloft.net>
3576
3577 * sysdeps/sparc/fpu/math_private.h: New file.
3578
006f1daa
DM
35792012-03-15 David S. Miller <davem@davemloft.net>
3580
c0c83bc8
DM
3581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3582 file.
e6a62e18 3583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3585 file.
e6a62e18
DM
3586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3591 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3592 sysdep routines.
3593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3594
88cb87d9
DM
3595 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3596 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3597
006f1daa 3598 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3600 sparc-ifunc.h
006f1daa 3601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3603 Likewise.
3604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3605 Likewise.
006f1daa
DM
3606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3610 Likewise.
006f1daa
DM
3611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3616 Likewise.
3617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3618 Likewise.
006f1daa
DM
3619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3626 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3638 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3639 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3641 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3642 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3643
11e0098e
AS
36442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3645
3646 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3647 scaling.
3648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3649
e85b09d0
AJ
36502012-03-15 Andreas Jaeger <aj@suse.de>
3651
3652 [BZ #13852]
3653 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3654 ieee754/flt-32 implementation for sin, cos and sincos.
3655 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3656 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3657 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3658 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3659 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3660 ieee754/flt-32 implementation for tan.
3661
3662 * math/libm-test.inc (cos_test): Enable some large input tests for
3663 float as well
3664 (sin_test): Likewise.
3665 (sincos_test): Likewise.
3666 (tan_test): Add tests for large input.
3667
3668 * sysdeps/i386/fpu/libm-test-ulps: Update.
3669
81c64153
AJ
36702012-03-15 Andreas Jaeger <aj@suse.de>
3671
3672 [BZ #13658]
3673 * math/libm-test.inc (cos_test): Add more test cases.
3674 (sin_test): Likewise.
3675 (sincos_test): Likewise.
3676
7bbfa5c6
AJ
36772012-03-15 Andreas Jaeger <aj@suse.de>
3678
3679 [BZ #13837]
3680 * math/libm-test.inc (cos_test): Add a test case for large input
3681 value.
3682 (sin_test): Likewise.
3683 (sincos_test): Likewise.
3684
36852012-03-15 Andreas Jaeger <aj@suse.de>,
3686 Joseph Myers <joseph@codesourcery.com>
3687
3688 [BZ #13658]
0671f479 3689 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3690 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3691 * sysdeps/i386/fpu/branred.c: Likewise.
3692 * sysdeps/i386/fpu/dosincos.c: Likewise.
3693 * sysdeps/i386/fpu/mpa.c: Likewise.
3694 * sysdeps/i386/fpu/s_cos.S: Likewise.
3695 * sysdeps/i386/fpu/s_sin.S: Likewise.
3696 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3697 * sysdeps/i386/fpu/sincos32.c: Likewise.
3698
3699 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3700 Define.
3701 (libc_feupdateenv_53bit): Define.
3702 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3703 Define.
3704 (libc_feupdateenv_53bit): Define.
3705
3706 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3707 53 bit (without extend i386 double precision).
3708
3709 * math/libm-test.inc (sincos_test): Add tests for large input.
3710 (sin): Likewise.
3711 (cos): Likewise.
3712
3713 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3714
9cad04ea
AS
37152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3716
3717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3718
f7062b9a
DM
37192012-03-15 David S. Miller <davem@davemloft.net>
3720
3721 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3722 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3723 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3724 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3737 file.
f7062b9a 3738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3740 file.
f7062b9a 3741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3743 file.
f7062b9a 3744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3746 file.
f7062b9a
DM
3747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3749 fmin/fmax sysdep routines.
3750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3751
7bd951ff
DM
37522012-03-14 David S. Miller <davem@davemloft.net>
3753
559398ab
DM
3754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3758 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3759 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3760 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3775 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3776 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3778 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3779 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3782 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3783 routines.
3784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3785 file.
559398ab 3786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3788 file.
559398ab 3789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3791 file.
559398ab 3792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3794 file.
559398ab 3795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3797 file.
559398ab 3798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3800 file.
3801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3802 file.
3803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3804 file.
3805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3806 file.
3807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3808 New file.
3809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3810 file.
3811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3812 file.
559398ab 3813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3815 file.
559398ab 3816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3818 file.
559398ab 3819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3821 file.
559398ab 3822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3824 VIS3 routines.
559398ab
DM
3825
3826 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3827 New file.
3828
5a1c1e32
DM
3829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3830
eae47a36
DM
3831 * sysdeps/sparc/configure.in: New file.
3832 * sysdeps/sparc/configure: Generate.
3833 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3834 * configure: Regenerate.
3835 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3836 * config.make.in (have-as-vis3): New.
3837 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3838 available use -Av9d instead of -Av9a.
3839 * sysdeps/sparc/sparc64/Makefile: Likewise.
3840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3842 New file.
3843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3844 file.
3845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3846 New file.
3847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3848 file.
eae47a36
DM
3849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3850 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3851 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3852 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3853 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3854
c0c83bc8
DM
3855 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3856 fzeros/fnegs to load 0x80000000 into a float register instead of
3857 using the stack.
7bd951ff
DM
3858 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3859
bd951ccb
JM
38602012-03-14 Joseph Myers <joseph@codesourcery.com>
3861
3862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3863 bits/syscall.h.
3864 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3865 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3866 ($(inst_includedir)/bits/syscall.h): Remove rule.
3867 ($(objpfx)bits/syscall.d): Include instead of
3868 $(objpfx)syscall-list.d.
3869 (generated): Change syscall-list.h and syscall-list.d to
3870 bits/syscall.h and bits/syscall.d.
3871
bb4e6db2
RM
38722012-03-14 Roland McGrath <roland@hack.frob.com>
3873
3874 [BZ #13846]
3875 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3876
aa4a2ae1
JM
38772012-03-14 Joseph Myers <joseph@codesourcery.com>
3878
e456826d
JM
3879 [BZ #13841]
3880 * math/s_csqrt.c: Include <float.h>.
3881 (__csqrt): Scale large or subnormal inputs.
3882 * math/s_csqrtf.c: Likewise.
3883 * math/s_csqrtl.c: Likewise.
3884 * math/libm-test.inc (csqrt_test): Add more tests.
3885 * sysdeps/i386/fpu/libm-test-ulps: Update.
3886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3887
aa4a2ae1
JM
3888 [BZ #13840]
3889 * math/libm-test.inc (hypot_test): Add more tests.
3890
7c10fd35
DM
38912012-03-13 David S. Miller <davem@davemloft.net>
3892
3893 [BZ #13840]
3894 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3895 double-precision for the calculation instead of scaling.
3896
f453b98b
JM
38972012-03-13 Joseph Myers <joseph@codesourcery.com>
3898
3899 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3900 manipulate bits before adding and subtracting TWO52[sx].
3901 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3902 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3903 Likewise.
3904 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3905
09a3453f
DM
39062012-03-13 David S. Miller <davem@davemloft.net>
3907
8e59da90
DM
3908 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3909 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3910 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3911 rtld-global-offsets.h
3912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3913
2a8ab7f2
DM
3914 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3915 large parameters.
3916
10f62770
DM
3917 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3918
5f0bdb18
DM
3919 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3920 'err' in the ifdef scope in which it is actually used.
3921
09a3453f
DM
3922 * nss/nss_db/db-init.c: Include string.h
3923
b4b2eb5e
DM
39242012-03-12 David S. Miller <davem@davemloft.net>
3925
98bb2f1c
DM
3926 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3927 masking out of the most significant byte of random value used.
3928 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3929 Fix coding style in previous change.
3930
b4b2eb5e
DM
3931 * sysdeps/unix/sysv/linux/kernel-features.h
3932 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3933 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3934 expression.
3935 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3936 later.
3937
6e226b09
DM
39382012-03-11 David S. Miller <davem@davemloft.net>
3939
a1bcbd40
DM
3940 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3941 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3942 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3943 for 'resultvar' otherwise things get truncated on 64-bit.
3944
cb9d6174
DM
3945 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3946 Fix masking out of the most significant byte of random value used.
3947
6e226b09
DM
3948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3949
058c132d
AS
39502012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3951
3952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3953
2d2cd515
DM
39542012-03-09 David S. Miller <davem@davemloft.net>
3955
3956 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3957 variables with appropriate CPP guards.
3958 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3959 frame pointer, not the stack pointer. Correct layout comments. Fix test
3960 on resulting framesize and the management of the outregs buffer for pltexit.
3961 Preserve floating point return values across _dl_call_pltexit call.
3962 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3963 framesize and the management of the outregs buffer for pltexit.
3964 Preserve floating point return values across _dl_call_pltexit
3965 call.
3966 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3967 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3968 (print_exit): Fix format string for return register value.
3969
9a07f9d0
JM
39702012-03-10 Joseph Myers <joseph@codesourcery.com>
3971
3972 * sunrpc/Makefile (others): Add rpcgen.
3973 ($(objpfx)rpcgen): Remove special build rule and dependency on
3974 libc.
3975 * sunrpc/rpcgen.c: New file.
3976
547b5e30
PE
39772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3978
c524201a
PE
3979 [BZ #13673]
3980 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3981 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3982 * sysdeps/i386/crti.S: Likewise.
3983 * sysdeps/i386/crtn.S: Likewise.
3984 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3985 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3986 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3987 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3988 * sysdeps/sh/crti.S: Likewise.
3989 * sysdeps/sh/crtn.S: Likewise.
3990 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3991
7b6235f2
PE
3992 [BZ #13673]
3993 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3994 with URL.
3995 * locale/programs/locfile-kw.gperf: Likewise.
3996 * locale/programs/charmap-kw.h: Regenerated.
3997 * locale/programs/locfile-kw.h: Likewise.
3998
547b5e30
PE
3999 [BZ #13673]
4000 * intl/plural.y: Replace FSF snail mail address with URL.
4001 * intl/plural.c: Regenerated.
4002
5f0a5dae
RH
40032012-03-09 Richard Henderson <rth@twiddle.net>
4004
4005 * include/math_private.h: Remove file.
4006 * math/math_private.h: Move file ...
4007 * sysdeps/generic/math_private.h: ... here.
4008
b8c03620
RH
4009 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4010 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4011 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4012
4e234f5d 4013 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4014 and <math_private.h>.
4015 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4016 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4017 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4018 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4019 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4021 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4023 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4027 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4028 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4029 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4030 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4031 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4032 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4033 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4034 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4036 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4037 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4039 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4040 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4041 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4042 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4045 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4047 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4061 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4062 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4063 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4064 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4065 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4066 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4067 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4068 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4069 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4070 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4071 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4072 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4073 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4074 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4075 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4076 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4078 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4079 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4080 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4081 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4082 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4083 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4084 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4085 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4086 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4087 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4088 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4089 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4093 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4094 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4095 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4096 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4097 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4098 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4099 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4100 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4101 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4102 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4103 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4104 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4105 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4106 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4107 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4108 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4109 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4110 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4111 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4112 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4113 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4114 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4115 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4116 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4117 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4118 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4119 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4120 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4121 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4122 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4123 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4124 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4125 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4126 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4127 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4128 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4129 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4130 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4131 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4132 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4133 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4134 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4135 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4136 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4137 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4138 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4139 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4140 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4141 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4142 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4143 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4144 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4145 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4146 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4147 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4148 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4149 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4150 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4151 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4152 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4153 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4154 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4155 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4156 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4157 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4158 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4159 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4160 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4161 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4162 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4163 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4164 * sysdeps/ieee754/k_standard.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4169 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4170 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4177 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4178 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4179 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4181 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4182 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4190 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4192 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4198 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4202 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4211 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4212 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4215 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4222 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4224 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4232 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4242 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4254 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4255 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4258 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4259 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4280 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4284 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4285 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4287 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4292 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4297 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4307 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4313 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4314 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4315 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4316 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4324 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4325 * sysdeps/ieee754/s_lib_version.c: Likewise.
4326 * sysdeps/ieee754/s_matherr.c: Likewise.
4327 * sysdeps/ieee754/s_signgam.c: Likewise.
4328 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4329 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4330 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4331 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4332 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4333 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4334 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4335 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4336 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4337 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4338 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4339 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4340 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4341 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4342 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4343 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4344 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4345 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4346 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4347 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4349
1991fa03
JM
43502012-03-09 Joseph Myers <joseph@codesourcery.com>
4351
4352 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4353 * sunrpc/rpc_main.c: Likewise.
4354 * sunrpc/rpc_svcout.c: Likewise.
4355
60d6f5a6
DM
43562012-03-09 David S. Miller <davem@davemloft.net>
4357
4358 * include/math_private.h: New file.
4359
4962050e
JM
43602012-03-09 Joseph Myers <joseph@codesourcery.com>
4361
02a6f887
JM
4362 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4363 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4364 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4365 from <bits/socket_type.h>.
4366 (enum __socket_type): Don't define here.
4367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4369 bits/socket_type.h.
4370
c6e013c1
JM
4371 [BZ #13566]
4372 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4373 checking __USE_GNU.
4374
4962050e
JM
4375 * Makerules ($(inst_includedir)/%.h): New rule.
4376 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4377 (install-others): Remove variable setting.
4378 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4379
38842f45
RH
43802012-03-08 Richard Henderson <rth@twiddle.net>
4381
67bb6da6
RH
4382 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4383 from macro to inline function; merge with the
4384 !__LIBC_INTERNAL_MATH_INLINES version.
4385 (__ieee754_sqrtf): Likewise.
4386
15194b4b
RH
4387 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4388 to inline function.
4389 (__rintf, __floor, __floorf): Likewise.
4390
64e21ede
RH
4391 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4392 macro to inline function.
4393 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4394
38842f45
RH
4395 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4396 not <math/math_private.h>.
4397
c64bf5fe
DM
43982012-03-08 David S. Miller <davem@davemloft.net>
4399
4400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4401 copyright year.
4402 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4403
82d86f28
TS
44042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4405
4406 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4407 normalization.
4408 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4409 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4410
aea5d727
UD
44112012-03-08 Ulrich Drepper <drepper@gmail.com>
4412
4413 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4414 be defined individually, they must be defined as a block. Define
4415 S for printing a string instead of hidint the different by using a
4416 macro for adding the 'l'.
4417 * stdio-common/tst-fphex-wide.c: Adjust.
4418
70bca0a3
MP
44192012-03-07 Marek Polacek <polacek@redhat.com>
4420
4421 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4422
65b81130
MP
44232012-03-08 Marek Polacek <polacek@redhat.com>
4424
4425 [BZ #13806]
4426 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4427 * stdio-common/tst-fphex.c: Define a few macros to make the
4428 test reusable. Use them.
4429 * stdio-common/tst-fphex-wide.c: New file.
4430
07037eeb
JM
44312012-03-08 Joseph Myers <joseph@codesourcery.com>
4432
a7a93d50
JM
4433 [BZ #6911]
4434 * manual/macros.texi (gnusystems): New macro.
4435 (nongnusystems): Likewise.
4436 (gnulinuxhurdsystems): Likewise.
4437 (gnuhurdsystems): Likewise..
4438 (gnulinuxsystems): Likewise.
4439 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4440 variants of the GNU system, not "GNU system".
4441 * manual/conf.texi: Likewise.
4442 * manual/errno.texi: Likewise. Update example of errno macro
4443 expansion.
4444 * manual/filesys.texi: Likewise.
4445 (getumask): Document as specific to GNU/Hurd.
4446 * manual/install.texi: Likewise. Reword some references to
4447 GNU/Linux.
4448 * manual/intro.texi: Likewise.
4449 * manual/io.texi: Likewise.
4450 (File Name Portability): Detail which constraints are inapplicable
4451 to all GNU systems and which are only inapplicable to GNU/Hurd.
4452 * manual/job.texi: Likewise.
4453 * manual/llio.texi: Likewise.
4454 (O_NOCTTY): Document as present on GNU/Linux.
4455 * manual/maint.texi: Likewise.
4456 * manual/memory.texi: Likewise.
4457 * manual/pattern.texi: Likewise.
4458 * manual/pipe.texi: Likewise.
4459 * manual/process.texi: Likewise.
4460 * manual/resource.texi: Likewise.
4461 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4462 child on GNU/Hurd.
4463 * manual/setjmp.texi: Likewise.
4464 * manual/signal.texi: Likewise.
4465 * manual/startup.texi: Likewise.
4466 * manual/stdio.texi: Likewise.
4467 * manual/terminal.texi: Likewise.
4468 (ONLCR): Document as POSIX.
4469 (OXTABS): Document availability on GNU/Linux as XTABS.
4470 (ONOEOT): Document availability separately from other bits.
4471 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4472 * manual/time.texi: Likewise.
4473 * manual/users.texi: Likewise.
4474 * INSTALL: Regenerated.
4475 * sysdeps/gnu/errlist.c: Regenerated.
4476
07037eeb
JM
4477 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4478 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4479 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4480 puts.
4481 * configure: Regenerated.
4482
d1d3431a
JM
44832012-03-07 Joseph Myers <joseph@codesourcery.com>
4484
af6a1e37
JM
4485 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4486 default includes instead of AC_HEADER_CHECK.
4487 * sysdeps/i386/configure: Regenerated.
4488
d1d3431a
JM
4489 [BZ #10716]
4490 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4491 * math/s_cacoshf.c (__cacoshf): Likewise.
4492 * math/s_cacoshl.c (__cacoshl): Likewise.
4493 * math/s_casinh.c (__casinh): Set signs of result from argument.
4494 * math/s_casinhf.c (__casinhf): Likewise.
4495 * math/s_casinhl.c (__casinhl): Likewise.
4496 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4497 (casinh_test): Add more tests.
4498 * sysdeps/i386/fpu/libm-test-ulps: Update.
4499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4500
482ff4da
UD
45012012-03-07 Ulrich Drepper <drepper@gmail.com>
4502
872fda05
UD
4503 * po/zh_TW.po: Update from translation team.
4504
a4300c7a
UD
4505 * login/Makefile (distribute): Remove variable.
4506 * catgets/Makefile: Likewise.
4507 * mach/Makefile: Likewise.
4508 * malloc/Makefile: Likewise.
4509 * misc/Makefile: Likewise.
4510 * iconv/Makefile: Likewise.
4511 * nscd/Makefile: Likewise.
4512 * hurd/Makefile: Likewise.
4513 * manual/Makefile: Likewise.
4514 * locale/Makefile: Likewise.
4515 * intl/Makefile: Likewise.
4516 * conform/Makefile: Likewise.
4517 * nss/Makefile: Likewise.
4518 * time/Makefile: Likewise.
4519 * soft-fp/Makefile: Likewise.
4520 * dirent/Makefile: Likewise.
4521 * gmon/Makefile: Likewise.
4522 * po/Makefile: Likewise.
4523 * rt/Makefile: Likewise.
4524 * socket/Makefile: Likewise.
4525 * math/Makefile: Likewise.
4526 * signal/Makefile: Likewise.
4527 * debug/Makefile: Likewise.
4528 * elf/Makefile: Likewise.
4529 * timezone/Makefile: Likewise.
4530 * stdlib/Makefile: Likewise.
4531 * iconvdata/Makefile: Likewise.
4532 * sunrpc/Makefile: Likewise.
4533 * io/Makefile: Likewise.
4534 * argp/Makefile: Likewise.
4535 * inet/Makefile: Likewise.
4536 * hesiod/Makefile: Likewise.
4537 * grp/Makefile: Likewise.
4538 * csu/Makefile: Likewise.
4539 * wctype/Makefile: Likewise.
4540 * crypt/Makefile: Likewise.
4541 * libio/Makefile: Likewise.
4542 * string/Makefile: Likewise.
4543 * nis/Makefile: Likewise.
4544 * resolv/Makefile: Likewise.
4545 * stdio-common/Makefile: Likewise.
4546 * wcsmbs/Makefile: Likewise.
4547 * dlfcn/Makefile: Likewise.
4548 * posix/Makefile: Likewise.
4549
3b7c4e74 4550 [BZ #6959]
482ff4da
UD
4551 * timezone/Makefile: Don't install timezone files, just the programs
4552 and scripts.
4553
f72ed77d
UD
45542012-03-06 Ulrich Drepper <drepper@gmail.com>
4555
a000466f
UD
4556 * nss/databases.def: Add missing gshadow entry.
4557
f72ed77d
UD
4558 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4559
a53b7a4e
MP
45602012-03-06 Marek Polacek <polacek@redhat.com>
4561
4562 [BZ #13726]
4563 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4564 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4565 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4566 * stdio-common/tst-long-dbl-fphex.c: New file.
4567
e9258400
DM
45682012-03-06 David S. Miller <davem@davemloft.net>
4569
4570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4571 (set_obp_int): New function.
4572 (get_obp_int): New function.
4573 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4574 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4575 Avoid unused variable warnings on 'val' and use builtin_expect.
4576 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4577 __builtin_expect.
e9258400
DM
4578 (INLINE_CLONE_SYSCALL): Likewise.
4579
3bd2c723
DM
45802012-03-05 David S. Miller <davem@davemloft.net>
4581
4582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4583
bbb78d03
AS
45842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4585
884c5db4
AS
4586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4587
bbb78d03
AS
4588 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4589 only for |x| >= 40.
4590 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4591
1c9f702a 45922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4593
4594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4595 Replace gettimeofday with __vdso_gettimeofday.
4596
7be16f82
RM
4597 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4598 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4599 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4600
4601 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4602 time with __vdso_time.
4603
ed58a00f
JM
46042012-03-05 Joseph Myers <joseph@codesourcery.com>
4605
4606 * manual/lang.texi (size_t): Note types to which size_t may be
4607 equivalent with the GNU C Library, but do not describe when
4608 differences between them are significant.
4609
30ee4ced
AJ
46102012-03-05 Andreas Jaeger <aj@suse.de>
4611
4612 * sysdeps/i386/fpu/libm-test-ulps: Update.
4613
b7cd39e8
JM
46142012-03-05 Joseph Myers <joseph@codesourcery.com>
4615
4616 [BZ #3976]
4617 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4618 (__ieee754_pow): Save and restore rounding mode and use
4619 round-to-nearest for main computations.
4620 * math/libm-test.inc (pow_test_tonearest): New function.
4621 (pow_test_towardzero): Likewise.
4622 (pow_test_downward): Likewise.
4623 (pow_test_upward): Likewise.
4624 (main): Call the new functions.
4625 * sysdeps/i386/fpu/libm-test-ulps: Update.
4626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4627
4628 [BZ #3976]
4629 * math/libm-test.inc (cosh_test_tonearest): New function.
4630 (cosh_test_towardzero): Likewise.
4631 (cosh_test_downward): Likewise.
4632 (cosh_test_upward): Likewise.
4633 (sinh_test_tonearest): Likewise.
4634 (sinh_test_towardzero): Likewise.
4635 (sinh_test_downward): Likewise.
4636 (sinh_test_upward): Likewise.
4637 (main): Call the new functions.
4638 * sysdeps/i386/fpu/libm-test-ulps: Update.
4639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4640
6c6a98c9
TV
46412012-03-05 Tom de Vries <tom@codesourcery.com>
4642
4643 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4644 default stack guard is set in last bytes.
4645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4646
21bb2d2e 46472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4648
21bb2d2e 4649 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4650
21bb2d2e
AJ
4651 [BZ #13656]
4652 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4653 possibly allocate from heap instead of stack.
4654 * stdio-common/bug-vfprintf-nargs.c: New file.
4655 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4656
c6922934
AS
46572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4658
4659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4660
bc957d53
MP
46612012-03-03 Marek Polacek <polacek@redhat.com>
4662
4663 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4664 * math/math_private.h: Likewise.
4665 * stdlib/tst-strtod.c: Likewise.
4666 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4667 * sysdeps/x86_64/bits/atomic.h: Likewise.
4668
6358490d
DM
46692012-03-02 David S. Miller <davem@davemloft.net>
4670
4671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4675 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4676 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4677 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4678 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4679
01ae168d
RM
46802012-03-02 Roland McGrath <roland@hack.frob.com>
4681
d9a17c07
RM
4682 [BZ #13792]
4683 * manual/examples/README: New file, says the example source files
4684 can be used under GPL>=2.
4685 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4686 line containing just "*/".
4687 * manual/examples/add.c: Add copyright header (GPL>=2).
4688 * manual/examples/argp-ex1.c: Likewise.
4689 * manual/examples/argp-ex2.c: Likewise.
4690 * manual/examples/argp-ex3.c: Likewise.
4691 * manual/examples/argp-ex4.c: Likewise.
4692 * manual/examples/atexit.c: Likewise.
4693 * manual/examples/db.c: Likewise.
4694 * manual/examples/dir.c: Likewise.
4695 * manual/examples/dir2.c: Likewise.
4696 * manual/examples/execinfo.c: Likewise.
4697 * manual/examples/filecli.c: Likewise.
4698 * manual/examples/filesrv.c: Likewise.
4699 * manual/examples/fmtmsgexpl.c: Likewise.
4700 * manual/examples/genpass.c: Likewise.
4701 * manual/examples/inetcli.c: Likewise.
4702 * manual/examples/inetsrv.c: Likewise.
4703 * manual/examples/isockad.c: Likewise.
4704 * manual/examples/longopt.c: Likewise.
4705 * manual/examples/memopen.c: Likewise.
4706 * manual/examples/memstrm.c: Likewise.
4707 * manual/examples/mkfsock.c: Likewise.
4708 * manual/examples/mkisock.c: Likewise.
4709 * manual/examples/mygetpass.c: Likewise.
4710 * manual/examples/pipe.c: Likewise.
4711 * manual/examples/popen.c: Likewise.
4712 * manual/examples/rprintf.c: Likewise.
4713 * manual/examples/search.c: Likewise.
4714 * manual/examples/select.c: Likewise.
4715 * manual/examples/setjmp.c: Likewise.
4716 * manual/examples/sigh1.c: Likewise.
4717 * manual/examples/sigusr.c: Likewise.
4718 * manual/examples/stpcpy.c: Likewise.
4719 * manual/examples/strdupa.c: Likewise.
4720 * manual/examples/strftim.c: Likewise.
4721 * manual/examples/strncat.c: Likewise.
4722 * manual/examples/subopt.c: Likewise.
4723 * manual/examples/swapcontext.c: Likewise.
4724 * manual/examples/termios.c: Likewise.
4725 * manual/examples/testopt.c: Likewise.
4726 * manual/examples/testpass.c: Likewise.
4727 * manual/examples/timeval_subtract.c: Likewise.
4728
01ae168d
RM
4729 [BZ #13792]
4730 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4731 function to ...
4732 * manual/timeval_subtract.c.texi: ... here, new file.
4733
49efa33d
DM
47342012-03-02 David S. Miller <davem@davemloft.net>
4735
4736 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4737
28afd92d
JM
47382012-03-02 Joseph Myers <joseph@codesourcery.com>
4739
804360ed
JM
4740 [BZ #3976]
4741 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4742 (__sin): Save and restore rounding mode and use round-to-nearest
4743 for all computations.
4744 (__cos): Save and restore rounding mode and use round-to-nearest
4745 for all computations.
4746 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4747 <fenv.h>.
4748 (tan): Save and restore rounding mode and use round-to-nearest for
4749 all computations.
4750 * math/libm-test.inc (cos_test_tonearest): New function.
4751 (cos_test_towardzero): Likewise.
4752 (cos_test_downward): Likewise.
4753 (cos_test_upward): Likewise.
4754 (sin_test_tonearest): Likewise.
4755 (sin_test_towardzero): Likewise.
4756 (sin_test_downward): Likewise.
4757 (sin_test_upward): Likewise.
4758 (tan_test_tonearest): Likewise.
4759 (tan_test_towardzero): Likewise.
4760 (tan_test_downward): Likewise.
4761 (tan_test_upward): Likewise.
4762 (main): Call the new functions.
4763 * sysdeps/i386/fpu/libm-test-ulps: Update.
4764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4765
a6d06d7b
JM
4766 [BZ #10135]
4767 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4768 small n, then large n, before computing and testing k+n.
4769 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4771 Likewise.
4772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4773 Likewise.
4774 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4775 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4776 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4777 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4778 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4779 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4780 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4781 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4782 * math/libm-test.inc (scalbn_test): Add more tests.
4783 (scalbln_test): Likewise.
4784
07e12bb3
JM
4785 * manual/filesys.texi (mode_t): Describe constraints on size and
4786 signedness, not exact equivalence to a particular type.
4787 (ino_t): Likewise.
4788 (ino64_t): Likewise.
4789 (dev_t): Likewise.
4790 (nlink_t): Likewise.
4791 (blkcnt_t): Likewise.
4792 (blkcnt64_t): Likewise.
4793 * manual/llio.texi (off_t): Likewise.
4794
28afd92d
JM
4795 [BZ #3976]
4796 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4797 (__ieee754_exp): Save and restore rounding mode and use
4798 round-to-nearest for all computations.
4799 * math/libm-test.inc (exp_test_tonearest): New function.
4800 (exp_test_towardzero): Likewise.
4801 (exp_test_downward): Likewise.
4802 (exp_test_upward): Likewise.
4803 (main): Call the new functions.
4804 * sysdeps/i386/fpu/libm-test-ulps: Update.
4805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4806
b1eeb65d
CD
48072012-03-01 Chris Demetriou <cgd@google.com>
4808
4809 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4810 have predictable order.
4811
53362a4b
DM
48122012-03-01 David S. Miller <davem@davemloft.net>
4813
3c969083
DM
4814 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4815
759707de
DM
4816 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4817 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4818 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4819 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4820
dfdb8ff2
DM
4821 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4822 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4823 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4825 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4826 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4827 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4828 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4829 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4830
ead89f96
DM
4831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4832
7f66bd07
DM
4833 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4834 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4835 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4836
53362a4b
DM
4837 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4838 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4839 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4840 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4841 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4842 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4843 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4844 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4845 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4846 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4847 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4848 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4850 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4851 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4852 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4853 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4854 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4855 * sysdeps/sparc/elf/configure: Regenerated.
4856
7b1902cb
JM
48572012-03-01 Joseph Myers <joseph@codesourcery.com>
4858
bec039bc
JM
4859 * configure.in (AS, LD): Require binutils 2.20 or later.
4860 * configure: Regenerated.
4861 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4862 as required minimum version.
4863 * INSTALL: Regenerated.
4864
7b1902cb
JM
4865 [BZ #2541]
4866 [BZ #4108]
4867 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4868 before squaring exponent.
4869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4870 bottom long double and 27 bits of top long double before squaring
4871 exponent.
4872 * math/libm-test.inc (erfc_test): Add more tests.
4873 * sysdeps/i386/fpu/libm-test-ulps: Update.
4874 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4876
f775c276
KT
48772012-03-01 Kai Tietz <ktietz@redhat.com>
4878
4879 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4880 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4881 containing bit-fields.
4882 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4883 * soft-fp/single.h (_FP_UNION_S): Likewise.
4884 * soft-fp/double.h (_FP_UNION_D): Likewise.
4885
5b8a4d4a
JM
48862012-02-29 Joseph Myers <joseph@codesourcery.com>
4887
0bab47b6
JM
4888 [BZ #13786]
4889 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4890 not include ../strcmp.S.
4891 [USE_AS_STRNCASECMP_L]: Likewise.
4892 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4893 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4894 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4895 (__strncasecmp_l_ia32): Define as alias to
4896 __strncasecmp_l_nonascii.
4897
0fcad3e2
JM
4898 [BZ #5794]
4899 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4900 * sysdeps/i386/fpu/libm-test-ulps: Update.
4901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4902
5b8a4d4a
JM
4903 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4905
8fdceb2e
JL
49062012-02-29 Jeff Law <law@redhat.com>
4907
4908 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4909 out of bounds read.
4910
1f393a11
MP
49112012-02-29 Marek Polacek <polacek@redhat.com>
4912
4913 [BZ #13706]
4914 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4915 * elf/Makefile: Add rules to run tst-unused-dep.out.
4916
8847f037
DM
49172012-02-28 David S. Miller <davem@davemloft.net>
4918
4919 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4920 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4921 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4922 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4923 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4924 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4925
169d7f11
JM
49262012-02-29 Joseph Myers <joseph@codesourcery.com>
4927
4928 * math/libm-test.inc (llround_test): Move one test from
4929 lround_test. Use TEST_f_L in moved test.
4930 (lround_test): Move misplaced test to llround_test. Add testcase
4931 from bug 2561.
4932
39adf059
UD
49332012-02-28 Ulrich Drepper <drepper@gmail.com>
4934
4935 * sysdeps/x86_64/fpu/e_expf.S: New file.
4936 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4937
71b5d1c5
SB
49382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4939
4940 [BZ #13637]
4941 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4942 of remain_len that may cause incomplete multi-byte character and
4943 false match.
4944 * posix/bug-regex33.c: New file.
4945 * posix/Makefile (tests): Add bug-regex33.
4946
1f77f049
JM
49472012-02-28 Joseph Myers <joseph@codesourcery.com>
4948
4949 * manual/macros.texi: New file.
4950 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4951 * manual/libc.texinfo: Include macros.texi.
4952 * manual/creatute.texi: Likewise.
4953 * manual/install.texi: Likewise.
4954 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4955 @glibcadj{} in references to the GNU C Library.
4956 * manual/charset.texi: Likewise.
4957 * manual/conf.texi: Likewise.
4958 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4959 when not using those macros.
4960 * manual/creature.texi: Likewise.
4961 * manual/crypt.texi: Likewise.
4962 * manual/errno.texi: Likewise.
4963 * manual/filesys.texi: Likewise.
4964 * manual/header.texi: Likewise.
4965 * manual/install.texi: Likewise.
4966 * manual/intro.texi: Likewise.
4967 * manual/io.texi: Likewise.
4968 * manual/job.texi: Likewise.
4969 * manual/lang.texi: Likewise.
4970 * manual/libc.texiinfo: Likewise.
4971 * manual/llio.texi: Likewise.
4972 * manual/locale.texi: Likewise.
4973 * manual/maint.texi: Likewise.
4974 * manual/math.texi: Likewise.
4975 * manual/memory.texi: Likewise.
4976 * manual/message.texi: Likewise.
4977 * manual/nss.texi: Likewise.
4978 * manual/pattern.texi: Likewise.
4979 * manual/process.texi: Likewise.
4980 * manual/resource.texi: Likewise.
4981 * manual/search.texi: Likewise.
4982 * manual/setjmp.texi: Likewise.
4983 * manual/signal.texi: Likewise.
4984 * manual/socket.texi: Likewise.
4985 * manual/startup.texi: Likewise.
4986 * manual/stdio.texi: Likewise.
4987 * manual/string.texi: Likewise.
4988 * manual/sysinfo.texi: Likewise.
4989 * manual/syslog.texi: Likewise.
4990 * manual/terminal.texi: Likewise.
4991 * manual/time.texi: Likewise.
4992 * manual/users.texi: Likewise.
4993 * INSTALL: Regenerated.
4994 * NOTES: Regenerated.
d40c5d54 4995 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4996
450bf206
AS
49972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4998
4999 * include/dirent.h: Include <dirstream.h> before
5000 <dirent/dirent.h>.
5001
741a235b
DM
50022012-02-28 David S. Miller <davem@davemloft.net>
5003
5004 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5005 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5006 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5007 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5008
d6b5aa58
DM
50092012-02-27 David S. Miller <davem@davemloft.net>
5010
1aff59a3
DM
5011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5013 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5014 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5015
d6b5aa58
DM
5016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5017 frame pointer instead of stack pointer relative arg slot.
5018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5019 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5020 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5021
433f48bf
CD
50222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5023
5024 [BZ #3992]
5025 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5026
d674b76d
DM
50272012-02-27 David S. Miller <davem@davemloft.net>
5028
5029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5033 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5034 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5035 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5036 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5037
0e7727f7
JM
50382012-02-27 Joseph Myers <joseph@codesourcery.com>
5039
5040 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5041 later. Allow versions 5-9.
43be4ca2 5042 * configure: Regenerated.
0e7727f7
JM
5043 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5044 required minimum version and 4.6 as recommended version. Do not
5045 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5046 * INSTALL: Regenerated.
0e7727f7 5047
a78bc654
DM
50482012-02-27 David S. Miller <davem@davemloft.net>
5049
428d5830
DM
5050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5054 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5055 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5056 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5057 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5058
a78bc654
DM
5059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5060 manipulate bits before adding and subtracting TWO112[sx].
5061 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5062
4579f81c
RM
50632012-02-27 Roland McGrath <roland@hack.frob.com>
5064
36c8acb4
RM
5065 [BZ #13775]
5066 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5067 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5068 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5069 being in POSIX, because they are in 1003.1-2008.
5070
84ad622b
RM
5071 * rt/tst-aio.c: Include <fcntl.h>.
5072 * rt/tst-aio7.c: Likewise.
5073 * rt/tst-aio64.c: Likewise.
5074
4579f81c
RM
5075 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5076
abd923db
JM
50772012-02-27 Joseph Myers <joseph@codesourcery.com>
5078
5079 * manual/install.texi (--with-headers): Describe headers as
5080 interface headers, not private headers.
5081 (Specific advice for GNU/Linux systems): Describe use of headers
5082 from "make headers_install", not private headers from older
5083 kernels.
43be4ca2 5084 * INSTALL: Regenerated.
abd923db
JM
5085 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5086 Change to 2.6.19.
5087 * sysdeps/unix/sysv/linux/configure: Regenerated.
5088
6664049b
JM
5089 * manual/llio.texi (fclean): Remove documentation.
5090
bb8b6697
JM
5091 * manual/Makefile (libc-texi-generated): New variable. Include
5092 version.texi.
5093 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5094 $(libc-texi-generated), not duplicated list of files.
5095 (version.texi, stamp-version): New rules.
5096 (realclean): Remove $(libc-texi-generated), not individual files
5097 from that list. Do not remove dir-add.texinfo.
5098 * manual/libc.texinfo: Comment out uses of edition numbers and
5099 references to printed manual. Remove last-updated dates.
5100 (EDITION): Comment out.
5101 (ISBN): Likewise.
5102 (VERSION, UPDATED): Remove.
5103 (version.texi): Include.
5104
12e5c3b9
AS
51052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5106
5107 * sysdeps/posix/spawni.c: Include <signal.h>.
5108 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5109 * sysdeps/pthread/aio_fsync.c: Likewise.
5110
4efeffc1 51112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5112
ba63ba08
UD
5113 * conform/Makefile (tests): Run only when not cross-compiling and
5114 when fast-check is not defined.
5115
d94a4670
UD
5116 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5117 * conform/data/limits.h-data: Fixes for POSIX2008.
5118 * conform/run-conformtest.sh: Run all tests.
5119 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5120 headers.
5121 * include/bits/dlfcn.h: Likewise.
5122 * include/langinfo.h: Likewise.
5123 * include/monetary.h: Likewise.
5124 * include/sys/poll.h: Likewise.
5125
5126 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5127 for __USE_GNU.
5128 * posix/spawn.h: Define __need_sigset_t.
5129 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5130 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5131 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5132 to get sigevent_t only.
5133 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5134 only for __USE_GNU.
5135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5136 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5137 process_vm_writev only for __USE_GNU.
5138 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5139
5140 * conform/Makefile: For now ignore errors from run-conformtest.
5141 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5142 POSIX to avoid namespace pollution. Don't prepend headers.
5143 * conform/data/aio.h-data: Fixes for POSIX testing.
5144 * conform/data/fcntl.h-data: Likewise.
5145 * conform/data/glob.h-data: Likewise.
5146 * conform/data/grp.h-data: Likewise.
5147 * conform/data/pthread.h-data: Likewise.
5148 * conform/data/pwd.h-data: Likewise.
5149 * conform/data/signal.h-data: Likewise.
5150 * conform/data/spawn.h-data: Likewise.
5151 * conform/data/stdio.h-data: Likewise.
5152 * conform/data/stdlib.h-data: Likewise.
5153 * conform/data/stropts.h-data: Likewise.
5154 * conform/data/sys/mman.h-data: Likewise.
5155 * conform/data/sys/stat.h-data: Likewise.
5156 * conform/data/sys/types.h-data: Likewise.
5157 * conform/data/sys/wait.h-data: Likewise.
5158 * conform/data/time.h-data: Likewise.
5159 * conform/data/unistd.h-data: Likewise.
5160 * conform/data/utime.h-data: Likewise.
5161
5162 * io/sys/stat.h: fchmod was always in POSIX.
5163 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5164 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5165 * rt/aio.h: Define __need_timespec before including <time.h>.
5166 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5167 struct. Add forward declaration of pthread_attr_t and use it in
5168 sigevent.
5169 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5170 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5171 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5172 always remove CLK_TCK definition.
5173
c20105c3
AS
51742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5175
5176 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5177
7a270350
UD
51782012-02-25 Ulrich Drepper <drepper@gmail.com>
5179
31341567
UD
5180 * conform/run-conformtest.sh: New file.
5181 * conform/Makefile: Run run-conformtest for tests.
5182 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5183 support.
5184
5185 * conform/data/uchar.h-data: New file.
5186 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5187 * conform/data/arpa/inet.h-data: Likewise.
5188 * conform/data/assert.h-data: Likewise.
5189 * conform/data/complex.h-data: Likewise.
5190 * conform/data/cpio.h-data: Likewise.
5191 * conform/data/ctype.h-data: Likewise.
5192 * conform/data/dirent.h-data: Likewise.
5193 * conform/data/dlfcn.h-data: Likewise.
5194 * conform/data/errno.h-data: Likewise.
5195 * conform/data/fcntl.h-data: Likewise.
5196 * conform/data/float.h-data: Likewise.
5197 * conform/data/fmtmsg.h-data: Likewise.
5198 * conform/data/fnmatch.h-data: Likewise.
5199 * conform/data/ftw.h-data: Likewise.
5200 * conform/data/glob.h-data: Likewise.
5201 * conform/data/grp.h-data: Likewise.
5202 * conform/data/iconv.h-data: Likewise.
5203 * conform/data/inttypes.h-data: Likewise.
5204 * conform/data/langinfo.h-data: Likewise.
5205 * conform/data/libgen.h-data: Likewise.
5206 * conform/data/limits.h-data: Likewise.
5207 * conform/data/locale.h-data: Likewise.
5208 * conform/data/math.h-data: Likewise.
5209 * conform/data/monetary.h-data: Likewise.
5210 * conform/data/mqueue.h-data: Likewise.
5211 * conform/data/ndbm.h-data: Likewise.
5212 * conform/data/net/if.h-data: Likewise.
5213 * conform/data/netdb.h-data: Likewise.
5214 * conform/data/netinet/in.h-data: Likewise.
5215 * conform/data/nl_types.h-data: Likewise.
5216 * conform/data/poll.h-data: Likewise.
5217 * conform/data/pthread.h-data: Likewise.
5218 * conform/data/pwd.h-data: Likewise.
5219 * conform/data/regex.h-data: Likewise.
5220 * conform/data/sched.h-data: Likewise.
5221 * conform/data/search.h-data: Likewise.
5222 * conform/data/semaphore.h-data: Likewise.
5223 * conform/data/setjmp.h-data: Likewise.
5224 * conform/data/signal.h-data: Likewise.
5225 * conform/data/spawn.h-data: Likewise.
5226 * conform/data/stdarg.h-data: Likewise.
5227 * conform/data/stdio.h-data: Likewise.
5228 * conform/data/stdlib.h-data: Likewise.
5229 * conform/data/string.h-data: Likewise.
5230 * conform/data/strings.h-data: Likewise.
5231 * conform/data/stropts.h-data: Likewise.
5232 * conform/data/sys/ipc.h-data: Likewise.
5233 * conform/data/sys/mman.h-data: Likewise.
5234 * conform/data/sys/msg.h-data: Likewise.
5235 * conform/data/sys/resource.h-data: Likewise.
5236 * conform/data/sys/select.h-data: Likewise.
5237 * conform/data/sys/sem.h-data: Likewise.
5238 * conform/data/sys/shm.h-data: Likewise.
5239 * conform/data/sys/socket.h-data: Likewise.
5240 * conform/data/sys/stat.h-data: Likewise.
5241 * conform/data/sys/statvfs.h-data: Likewise.
5242 * conform/data/sys/time.h-data: Likewise.
5243 * conform/data/sys/timeb.h-data: Likewise.
5244 * conform/data/sys/times.h-data: Likewise.
5245 * conform/data/sys/types.h-data: Likewise.
5246 * conform/data/sys/uio.h-data: Likewise.
5247 * conform/data/sys/un.h-data: Likewise.
5248 * conform/data/sys/utsname.h-data: Likewise.
5249 * conform/data/sys/wait.h-data: Likewise.
5250 * conform/data/syslog.h-data: Likewise.
5251 * conform/data/tar.h-data: Likewise.
5252 * conform/data/termios.h-data: Likewise.
5253 * conform/data/utime.h-data: Likewise.
5254 * conform/data/utmpx.h-data: Likewise.
5255 * conform/data/varargs.h-data: Likewise.
5256 * conform/data/wchar.h-data: Likewise.
5257 * conform/data/wctype.h-data: Likewise.
5258 * conform/data/wordexp.h-data: Likewise.
5259
5260 * include/stropts.h: New file.
5261 * include/uchar.h: New file.
5262 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5263 * include/assert.h: Likewise.
5264 * include/ctype.h: Likewise.
5265 * include/dirent.h: Likewise.
5266 * include/dlfcn.h: Likewise.
5267 * include/fcntl.h: Likewise.
5268 * include/fnmatch.h: Likewise.
5269 * include/glob.h: Likewise.
5270 * include/grp.h: Likewise.
5271 * include/libio.h: Likewise.
5272 * include/locale.h: Likewise.
5273 * include/math.h: Likewise.
5274 * include/net/if.h: Likewise.
5275 * include/netdb.h: Likewise.
5276 * include/netinet/in.h: Likewise.
5277 * include/pthread.h: Likewise.
5278 * include/pwd.h: Likewise.
5279 * include/regex.h: Likewise.
5280 * include/sched.h: Likewise.
5281 * include/search.h: Likewise.
5282 * include/setjmp.h: Likewise.
5283 * include/signal.h: Likewise.
5284 * include/stdio.h: Likewise.
5285 * include/stdlib.h: Likewise.
5286 * include/string.h: Likewise.
5287 * include/sys/cdefs.h: Likewise.
5288 * include/sys/mman.h: Likewise.
5289 * include/sys/msg.h: Likewise.
5290 * include/sys/resource.h: Likewise.
5291 * include/sys/select.h: Likewise.
5292 * include/sys/socket.h: Likewise.
5293 * include/sys/stat.h: Likewise.
5294 * include/sys/statvfs.h: Likewise.
5295 * include/sys/time.h: Likewise.
5296 * include/sys/times.h: Likewise.
5297 * include/sys/uio.h: Likewise.
5298 * include/sys/utsname.h: Likewise.
5299 * include/sys/wait.h: Likewise.
5300 * include/termios.h: Likewise.
5301 * include/time.h: Likewise.
5302 * include/ulimit.h: Likewise.
5303 * include/unistd.h: Likewise.
5304 * include/utime.h: Likewise.
5305 * include/wchar.h: Likewise.
5306 * include/wctype.h: Likewise.
5307 * include/wordexp.h: Likewise.
5308
5309 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5310
7a270350
UD
5311 * time/time.h: TIME_UTC must be a macro.
5312 Make timespec_get available for ISO C11 only as well.
5313
7724defc
UD
53142012-02-24 Ulrich Drepper <drepper@gmail.com>
5315
5316 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5317 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5318
6b1d1d46
JM
53192012-02-24 Joseph Myers <joseph@codesourcery.com>
5320
5321 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5322
0f8bbd69
JM
53232012-02-24 Joseph Myers <joseph@codesourcery.com>
5324
5325 * manual/texinfo.tex: Update to version 2012-01-19.16.
5326
66ab80bc
JM
53272012-02-24 Joseph Myers <joseph@codesourcery.com>
5328
5329 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5330
74981cc5
RM
53312012-02-24 Roland McGrath <roland@hack.frob.com>
5332
ee968201
RM
5333 [BZ #13738]
5334 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5335 * manual/fdl-1.3.texi: New file.
5336 * manual/fdl-1.1.texi: File removed.
5337
74981cc5
RM
5338 [BZ #13738]
5339 * manual/libc.texinfo (FDL_VERSION): New @set.
5340 Use it for mention of FDL in cover text.
5341 (Documentation License): Use it in @include file name.
5342
7bb764bc
JM
53432012-02-22 Joseph Myers <joseph@codesourcery.com>
5344 Roland McGrath <roland@hack.frob.com>
5345
5346 [BZ #5461]
5347 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5348 not LONG_LONG_MAX and LONG_LONG_MIN.
5349 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5350 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5351 name.
5352 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5353
6cbeae47
JM
53542012-02-22 Joseph Myers <joseph@codesourcery.com>
5355
5356 [BZ #2547]
5357 [BZ #11365]
5358 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5359 manipulate bits before adding and subtracting TWO23[sx].
5360 * math/libm-test.inc (nearbyint_test): Add more tests.
5361
fe45ce09
JM
53622012-02-22 Joseph Myers <joseph@codesourcery.com>
5363
5364 [BZ #2548]
5365 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5366 bits before adding and subtracting TWO23[sx].
5367 * math/libm-test.inc (rint_test): Add more tests.
5368 (rint_test_tonearest): Likewise.
5369 (rint_test_towardzero): Likewise.
5370 (rint_test_downward): Likewise.
5371 (rint_test_upward: Likewise.
5372
ff3b3d82
JM
53732012-02-22 Joseph Myers <joseph@codesourcery.com>
5374
5375 [BZ #10110]
5376 * include/stdc-predef.h: New file. Extracted from features.h.
5377 * include/features.h: Include stdc-predef.h.
5378 * Makefile (headers): Add stdc-predef.h.
5379 * CONFORMANCE (Compiler limitations): Update.
5380
ef0aab35
JM
53812012-02-22 Joseph Myers <joseph@codesourcery.com>
5382
5383 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5384
58639409
DM
53852012-02-21 David S. Miller <davem@davemloft.net>
5386
5387 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5388 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5389
c0e70b25
DM
53902012-02-20 David S. Miller <davem@davemloft.net>
5391
5392 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5393 using a normal save/restore sequence, rather than allocating a
5394 dummy stack frame just to store a frame pointer and restore.
5395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5396
fb06851d
JM
53972012-02-21 Joseph Myers <joseph@codesourcery.com>
5398
5399 * manual/install.texi: Fix stray word in line-wrapped comment.
5400
7a8b71c3
DM
54012012-02-20 David S. Miller <davem@davemloft.net>
5402
d510c123
DM
5403 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5404 both binutils and gcc support GOTDATA.
5405
0722d7c2
DM
5406 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5407 "rd %pc" in the PIC register setup sequences.
5408
3d2b3019
DM
5409 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5410 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5411 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5412 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5413 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5415 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5416 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5418 (SYSCALL_ERROR_HANDLER): Likewise.
5419 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5420 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5422 (SYSCALL_ERROR_HANDLER): Likewise.
5423
c80098a9
DM
5424 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5425 (HAVE_GCC_GOTDATA): New.
5426 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5427 relocation support in both binutils and gcc.
5428 * sysdeps/sparc/elf/configure: Regenerate.
5429
3a2545a0
DM
5430 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5431 * sysdeps/sparc/sparc32/elf/configure: Delete.
5432 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5433 * sysdeps/sparc/sparc64/elf/configure: Delete.
5434 * sysdeps/sparc/elf/configure.in: New file.
5435 * sysdeps/sparc/elf/configure: Generate.
5436
7a8b71c3
DM
5437 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5438 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5439 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5440 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5441 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5442
f1e86fca
JM
54432012-02-21 Joseph Myers <joseph@codesourcery.com>
5444
5445 * manual/install.texi: Do not mention specific glibc version
5446 numbers.
5447 * manual/libc.texinfo (VERSION, UPDATED): Update.
5448 (@copying): Use @copyright{} and range of years.
5449
0e7dfaef
JM
54502012-02-21 Joseph Myers <joseph@codesourcery.com>
5451
5452 [BZ #13695]
5453 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5454 [crti.S not in sysdirs] (generated): Do not append.
5455 [crti.S not in sysdirs] (omit-deps): Likewise.
5456 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5457 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5458 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5459 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5460 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5461 Likewise.
5462 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5463 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5464 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5465 * csu/defs.awk: Remove file.
5466 * sysdeps/generic/initfini.c: Likewise.
5467 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5468 variable.
5469 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5470 Likewise.
5471
599af3ca
JM
54722012-02-20 Joseph Myers <joseph@codesourcery.com>
5473
5474 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5475 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5476 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5478 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5479 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5480 <bits/epoll.h>.
5481 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5482 (__EPOLL_PACKED): Define to empty if not defined by
5483 <bits/epoll.h>.
5484 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5486 bits/epoll.h.
5487
0e499750
JM
54882012-02-20 Joseph Myers <joseph@codesourcery.com>
5489
5490 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5491 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5492 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5493 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5494 <bits/timerfd.h>.
5495 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5497 bits/timerfd.h.
5498
5ad91f6e
JM
54992012-02-20 Joseph Myers <joseph@codesourcery.com>
5500
5501 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5502 in C locale.
5503 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5504 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5505 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5507
06b99b02
AJ
55082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5509
5510 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5511 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5512
7638c0fd
AS
55132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5514
5515 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5516 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5517 defined.
5518 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5519 Likewise.
5520 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5521 entry for 2.16.
5522
92221550
AJ
55232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5524
5525 * math/w_acos.c: Use non-signaling floating-point comparisons.
5526 * math/w_acosf.c: Likewise.
5527 * math/w_acosh.c: Likewise.
5528 * math/w_acoshf.c: Likewise.
5529 * math/w_acoshl.c: Likewise.
5530 * math/w_acosl.c: Likewise.
5531 * math/w_asin.c: Likewise.
5532 * math/w_asinf.c: Likewise.
5533 * math/w_asinl.c: Likewise.
5534 * math/w_atanh.c: Likewise.
5535 * math/w_atanhf.c: Likewise.
5536 * math/w_atanhl.c: Likewise.
5537 * math/w_exp2.c: Likewise.
5538 * math/w_exp2f.c: Likewise.
5539 * math/w_exp2l.c: Likewise.
5540 * math/w_j0.c: Likewise.
5541 * math/w_j0f.c: Likewise.
5542 * math/w_j0l.c: Likewise.
5543 * math/w_j1.c: Likewise.
5544 * math/w_j1f.c: Likewise.
5545 * math/w_j1l.c: Likewise.
5546 * math/w_jn.c: Likewise.
5547 * math/w_jnf.c: Likewise.
5548 * math/w_log.c: Likewise.
5549 * math/w_log10.c: Likewise.
5550 * math/w_log10f.c: Likewise.
5551 * math/w_log10l.c: Likewise.
5552 * math/w_log2.c: Likewise.
5553 * math/w_log2f.c: Likewise.
5554 * math/w_log2l.c: Likewise.
5555 * math/w_logf.c: Likewise.
5556 * math/w_logl.c: Likewise.
5557 * math/w_sqrt.c: Likewise.
5558 * math/w_sqrtf.c: Likewise.
5559 * math/w_sqrtl.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5562 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5563 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5564 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5565
ebaf36eb
JM
55662012-02-19 Joseph Myers <joseph@codesourcery.com>
5567
5568 [BZ #9739]
5569 * manual/string.texi (strnlen): Use correct parameter name in
5570 equivalent expression.
5571
71c254a6
JM
55722012-02-19 Joseph Myers <joseph@codesourcery.com>
5573
5574 [BZ #11174]
5575 * manual/users.texi (seteuid): Consistently use neweuid for
5576 argument name.
5577
16d2c631
JM
55782012-02-19 Joseph Myers <joseph@codesourcery.com>
5579
5580 [BZ #13704]
5581 * manual/nss.texi (Services in the NSS configuration): Correct
5582 list of services in example configuration file.
5583
cd837b09
NB
55842012-02-19 Nick Bowler <nbowler@draconx.ca>
5585
5586 [BZ #11322]
5587 * manual/arith.texi: Remove statements about negative zero
5588 behaving identically to zero.
5589
02c4bbad
JM
55902012-02-18 Joseph Myers <joseph@codesourcery.com>
5591
5592 [BZ #5993]
5593 * manual/install.texi: Do not document upgrading from libc5.
5594
366842e7
JM
55952012-02-18 Joseph Myers <joseph@codesourcery.com>
5596
5597 [BZ #4596]
5598 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5599
dd54084d
DM
56002012-02-18 David S. Miller <davem@davemloft.net>
5601
5602 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5603 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5604 %o7 across the call.
5605 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5606 instead.
5607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5608 SETUP_PIC_REG_LEAF.
5609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5610 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5611 * sysdeps/sparc/crtn.S: Likewise.
5612
2bcc53a3
UD
56132012-02-17 Ulrich Drepper <drepper@gmail.com>
5614
5615 * aout/Makefile: Remove.
5616
09c093b5
RK
56172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5618
5619 [BZ #13058]
5620 * manual/examples/argp-ex1.c (main): Format definition in GNU
5621 style.
5622 * manual/examples/argp-ex2.c (main): Likewise.
5623 * manual/examples/argp-ex3.c (main): Likewise.
5624 * manual/examples/argp-ex4.c (main): Likewise.
5625 * manual/examples/longopt.c (main): Use new-style prototype
5626 definition.
5627 * manual/examples/strncat.c (main): Specify return type and use
5628 (void) for arguments.
5629 * manual/examples/subopt.c (main): Use char **argv argument.
5630
2ee633a2
JM
56312012-02-17 Joseph Myers <joseph@codesourcery.com>
5632
5633 [BZ #5077]
5634 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5635 rounding modes.
5636
0520adde
FB
56372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5638
5639 [BZ #6907]
5640 * manual/string.texi (strchr): Change when strchrnul is
5641 recommended.
5642
3f4081cd
DGM
56432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5644
5645 [BZ #174]
5646 * manual/locale.texi (setlocale): Document LOCPATH.
5647
d1b10e78
JM
56482012-02-17 Joseph Myers <joseph@codesourcery.com>
5649
5650 [BZ #10210]
5651 * manual/process.texi (execle): Move @dots{} before last argument.
5652
79c6869c
PB
56532012-02-17 Paul Bolle <pebolle@tiscali.nl>
5654
5655 [BZ #12047]
5656 * manual/charset.texi (Generic Charset Conversion): Fix typo
5657 (LC_TYPE -> LC_CTYPE).
5658
cc6e48bc
NB
56592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5660
5661 [BZ #5805]
5662 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5663 (scalbnf): Likewise.
5664 (scalbnl): Likewise.
5665 (scalbln): Likewise.
5666 (scalblnf): Likewise.
5667 (scalblnl): Likewise.
5668 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5669 (vwarnx): Likewise.
5670 (verr): Likewise.
5671 (verrx): Likewise.
5672 * manual/filesys.texi (telldir): Use braces around return type.
5673 * manual/llio.texi (mmap): Add space after comma.
5674 (mmap64): Likewise.
5675 * manual/math.texi (jn): Use @var{} on parameter names.
5676 (jnf): Likewise.
5677 (jnl): Likewise.
5678 (yn): Likewise.
5679 (ynf): Likewise.
5680 (ynl): Likewise.
5681 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5682 line.
5683 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5684 "...".
5685 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5686 (sched_get_priority_max): Likewise.
5687 * manual/signal.texi (sigvec): Add space after comma.
5688 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5689 names.
5690 (if_indextoname): Likewise.
5691 (if_freenameindex): Likewise.
5692 (sendto): Use ',' instead of '.' in prototype.
5693 * manual/startup.texi (syscall): Use @dots{} instead of literal
5694 "...".
5695 * manual/stdio.texi (__fpending): Separate initial words of
5696 paragraph from @deftypefun line.
5697 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5698 "...".
5699 (vsyslog): Use @var{} on parameter names.
5700 * manual/terminal.texi (stty): Use @var{} on parameter names.
5701 * manual/users.texi (getutmp): Use @var{} on parameter names.
5702 (getutmpx): Likewise.
5703
5b23062f
JM
57042012-02-17 Joseph Myers <joseph@codesourcery.com>
5705
5706 [BZ #6884]
5707 * manual/stdio.texi (fopen): Fix typos in description of
5708 ",ccs=STRING".
5709
8dee4833
AJ
57102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5711
5712 [BZ #4026]
5713 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5714 get clock_id definition.
5715
9078ce93
TS
57162012-02-17 Thomas Schwinge <thomas@schwinge.name>
5717
5718 [BZ #4822]
5719 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5720 (madvise): Cast every argument to void on its own.
5721
3835c55f
JM
57222012-02-17 Joseph Myers <joseph@codesourcery.com>
5723
5724 [BZ #9902]
5725 * manual/startup.texi (Exit Status): Fix typo.
5726
35c47e37
JM
57272012-02-17 Joseph Myers <joseph@codesourcery.com>
5728
5729 [BZ #10140]
5730 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5731 * manual/examples/argp-ex2.c: Likewise.
5732 * manual/examples/argp-ex3.c: Likewise.
5733
e3b69ca7
RH
57342012-02-16 Richard Henderson <rth@redhat.com>
5735
5736 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5737 * sysdeps/s390/s390-32/initfini.c: Remove.
5738 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5739 * sysdeps/s390/s390-64/initfini.c: Remove.
5740
df83af67
KK
57412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5742
5743 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5744 compiler output for sysdeps/generic/initfini.c.
5745 * sysdeps/sh/elf/initfini.c: Remove file.
5746
f63f3380
DM
57472012-02-16 David S. Miller <davem@davemloft.net>
5748
fb59b3a4
DM
5749 [BZ #11494]
5750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5751
f63f3380
DM
5752 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5753 * sysdeps/sparc/crti.S: New file.
5754 * sysdeps/sparc/crtn.S: New file.
5755 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5756 * sysdeps/sparc/sparc64/Makefile: Likewise.
5757
df6a4a4a
MF
57582012-02-15 Mike Frysinger <vapier@gentoo.org>
5759
6dd8f3dc 5760 [BZ #3335]
df6a4a4a
MF
5761 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5762
1cac7236
RM
57632012-02-15 Roland McGrath <roland@hack.frob.com>
5764
d2c736f8
RM
5765 [BZ #4822]
5766 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5767
1cac7236
RM
5768 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5769 (write, read, close): Likewise.
5770 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5771
8e475601
JM
57722012-02-15 Joseph Myers <joseph@codesourcery.com>
5773
5774 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5775 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5776 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5777 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5778 <bits/signalfd.h>.
5779 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5781 bits/signalfd.h.
5782
ed656b40
MP
57832012-02-14 Marek Polacek <polacek@redhat.com>
5784
5785 * sysdeps/x86_64/crti.S: New file.
5786 * sysdeps/x86_64/crtn.S: New file.
5787 * sysdeps/x86_64/elf/initfini.c: Remove file.
5788
2a979d3a
JM
57892012-02-13 Joseph Myers <joseph@codesourcery.com>
5790
5791 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5792 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5793 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5794 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5795 <bits/inotify.h>.
5796 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5798 bits/inotify.h.
5799
2a418ac3
JM
58002012-02-13 Joseph Myers <joseph@codesourcery.com>
5801
5802 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5803 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5804 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5805 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5806 <bits/eventfd.h>.
5807 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5809 bits/eventfd.h.
5810
fb779be7
TS
58112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5812
e19e83c5
RM
5813 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5814 __feraiseexcept instead of feraiseexcept.
7c35ffed 5815
fb779be7
TS
5816 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5817 nanosleep invocations.
5818 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5819 strings, and add error checking for a nanosleep invocations.
5820
59ba27a6
PE
58212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5822
5823 Replace FSF snail mail address with URLs, as per GNU coding standards.
5824 Most of the snail mail addresses were wrong anyway, and omitting
5825 them makes the source code easier to maintain. Almost all of the
5826 changes are to license notices and to locale LC_IDENTIFICATION
5827 addresses, except for this one:
5828 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5829 not its snail mail address.
5830
57b957eb
RH
58312012-02-09 Richard Henderson <rth@twiddle.net>
5832
af850b1c
RH
5833 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5834 of kernel-features.h.
5835
57b957eb
RH
5836 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5837
6b73181a
MP
58382012-02-08 Marek Polacek <polacek@redhat.com>
5839
5840 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5841 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5842 * sysdeps/gnu/_G_config.h: Likewise.
5843 * sysdeps/generic/_G_config.h: Likewise.
5844
26ecc33a
AS
58452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5846
6c6dbc63
AS
5847 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5848 tests.
5849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5850
e216c012
AS
5851 * sysdeps/powerpc/powerpc32/crti.S: New file.
5852 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5853 * sysdeps/powerpc/powerpc64/crti.S: New file.
5854 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5855
26ecc33a
AS
5856 * Makeconfig (have-initfini): Don't set.
5857 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5858 * configure.in (nopic_initfini): Don't substitute.
5859 * config.h.in (HAVE_INITFINI): Don't #undef.
5860 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5861 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5862
3add8e13
JM
58632012-02-08 Joseph Myers <joseph@codesourcery.com>
5864
5865 Support crti.S and crtn.S provided directly by architectures.
5866 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5867 [crti.S in sysdirs] (omit-deps): Likewise.
5868 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5869 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5870 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5871 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5872 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5873 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5874 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5875 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5876 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5877 compiler output for sysdeps/generic/initfini.c.
5878 * sysdeps/i386/elf/Makefile: Remove file.
5879 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5880
a22f12b4
MP
58812012-02-07 Marek Polacek <polacek@redhat.com>
5882
5883 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5884 * sysdeps/gnu/_G_config.h: Likewise.
5885 * sysdeps/mach/hurd/_G_config.h: Likewise.
5886
148cf100
MP
58872012-02-07 Marek Polacek <polacek@redhat.com>
5888
5889 * math/Makefile (tests): Add tst-CMPLX2.
5890 * math/tst-CMPLX2.c: New file.
5891
cfdc0dd7
AS
58922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5893
84ba42c4
AS
5894 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5895
cfdc0dd7
AS
5896 * math/libm-test.inc (jn_test): Add missing L suffix.
5897
622c86f4
MP
58982012-02-06 Marek Polacek <polacek@redhat.com>
5899
5900 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5901 * sysdeps/i386/fpu/e_powf.S: Likewise.
5902 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5903 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5904 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5905 * sysdeps/i386/fpu/e_pow.S: Likewise.
5906 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5907 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5908 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5909 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5910 * sysdeps/i386/fpu/e_log2.S: Likewise.
5911 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5912 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5913 * sysdeps/i386/fpu/e_powl.S: Likewise.
5914 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5915 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5916 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5917 * sysdeps/i386/fpu/e_logl.S: Likewise.
5918 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5919 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5920 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5921 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5922 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5923 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5924 * sysdeps/i386/fpu/e_log.S: Likewise.
5925 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5926 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5927 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5928 * sysdeps/i386/fpu/e_logf.S: Likewise.
5929 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5930 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5931 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5932 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5933 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5934 * sysdeps/i386/fpu/e_log10.S: Likewise.
5935 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5936 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5937 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5938 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5939 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5940 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5941 * sysdeps/i386/asm-syntax.h: Likewise.
5942 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5943 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5944 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5945 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5946 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5947 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5948 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5949 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5950 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5951 * sysdeps/powerpc/sysdep.h: Likewise.
5952 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5953 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5954
d4a54ac6
JM
59552012-02-06 Joseph Myers <joseph@codesourcery.com>
5956
5957 [BZ #411]
5958 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5959
314054ea
JM
59602012-02-06 Joseph Myers <joseph@codesourcery.com>
5961
5962 * sysdeps/i386/sysdep.h: Include <features.h>.
5963 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5964 version.
5965
d8e0ca50
JM
59662012-02-05 Joseph Myers <joseph@codesourcery.com>
5967
5968 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5969 Define.
5970 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5971 LOAD_PIC_REG_STR.
5972
b1da7dd9
JM
59732012-02-03 Joseph Myers <joseph@codesourcery.com>
5974
5975 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5976 (SETUP_PIC_REG): Use GET_PC_THUNK.
5977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5978 macro.
5979
9a1d9254
JM
59802012-02-03 Joseph Myers <joseph@codesourcery.com>
5981
5982 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5983 for non-PIC compilation.
5984 (SETUP_PIC_REG): Add .p2align directive.
5985 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5986 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5987 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5988 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5989 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5990 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5991 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5992 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5993 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5994 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5995 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5996 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5997 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5998 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5999 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6000 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6001 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6002 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6003 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6004 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6005 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6007 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6008 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6011 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6012 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6013 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6014 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6015 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6016 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6017 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6018 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6019 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6020 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6021 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6022 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6023 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6024 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6025 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6026
65dc3b75
JM
60272012-02-03 Joseph Myers <joseph@codesourcery.com>
6028
6029 * math/tst-CMPLX.c: Include <stdio.h>.
6030
d55bf177
JM
60312012-01-31 Joseph Myers <joseph@codesourcery.com>
6032
6033 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6034 float.
6035 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6036 * sysdeps/sparc/bits/mathdef.h: Likewise.
6037
69db4f8f
MP
60382012-01-31 Marek Polacek <polacek@redhat.com>
6039
6040 * libio/libio.h: Don't define _PARAMS.
6041 * locale/programs/config.h: Don't define PARAMS.
6042 * stdlib/strtol_l.c: Likewise.
6043 (__strtol_l): Remove PARAMS from the prototype.
6044
41b81892
UD
60452012-01-31 Ulrich Drepper <drepper@gmail.com>
6046
3b49edc0
UD
6047 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6048 names. Just use the correct names. Remove unnecessary wrapper
6049 functions.
6050 * malloc/arena.c: Likewise.
6051 * malloc/hooks.c: Likewise.
6052
41b81892
UD
6053 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6054 ARENA_TEST says not to. Simplify test for creation of a new arena.
6055 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6056
27a25b6e
UD
60572012-01-30 Ulrich Drepper <drepper@gmail.com>
6058
6059 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6060 into tail calls.
6061 (update_get_addr): New function.
6062 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6063 GET_ADDR_MODULE parameter.
6064
c8a89e7d
JM
60652012-01-30 Joseph Myers <joseph@codesourcery.com>
6066
6067 * crypt/cert.c: Remove __STDC__ conditionals.
6068 * crypt/crypt-entry.c: Likewise.
6069 * crypt/crypt_util.c: Likewise.
6070 * libio/filedoalloc.c: Likewise.
6071 * libio/fileops.c: Likewise.
6072 * libio/genops.c: Likewise.
6073 * libio/iofclose.c: Likewise.
6074 * libio/iofdopen.c: Likewise.
6075 * libio/iofopen.c: Likewise.
6076 * libio/iofopen64.c: Likewise.
6077 * libio/iogetdelim.c: Likewise.
6078 * libio/iopopen.c: Likewise.
6079 * libio/obprintf.c: Likewise.
6080 * libio/oldfileops.c: Likewise.
6081 * libio/oldiofclose.c: Likewise.
6082 * libio/oldiofdopen.c: Likewise.
6083 * libio/oldiofopen.c: Likewise.
6084 * libio/oldiopopen.c: Likewise.
6085 * libio/wfiledoalloc.c: Likewise.
6086 * libio/wgenops.c: Likewise.
6087 * locale/programs/xmalloc.c: Likewise.
6088 * misc/syslog.c: Likewise.
6089 * stdio-common/xbug.c: Likewise.
6090 * string/memchr.c: Likewise.
6091 * string/memcmp.c: Likewise.
6092 * string/memrchr.c: Likewise.
6093 * string/rawmemchr.c: Likewise.
6094 * sysdeps/posix/getcwd.c: Likewise.
6095 * time/strftime_l.c: Likewise.
6096
3b100462
JM
60972012-01-30 Joseph Myers <joseph@codesourcery.com>
6098
6099 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6100 * config.make.in (config-cflags-sse2avx): Define.
6101 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6102 Fix typo.
6103
607998af
CM
61042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6105
6106 * scripts/config.guess: Update from upstream config git repository.
6107 * scripts/config.sub: Likewise.
6108
3601428f
CM
61092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6110
3ac8b282
CM
6111 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6112 (EM_NUM): Update.
6113 (R_TILEPRO_*, R_TILEGX_*): New macros.
6114
e034841e
CM
6115 * scripts/firstversions.awk: Fix bug in version range handling.
6116
540d7568
CM
6117 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6118
3601428f
CM
6119 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6120
463de862
CM
6121 * include/sys/epoll.h: New file.
6122 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6123 libc_hidden_def.
6124
73139a76
UD
61252012-01-28 Ulrich Drepper <drepper@gmail.com>
6126
96bc5b45
UD
6127 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6128 Avoid unnecessary __WORDSIZE == 64 test.
6129 (fmaxf): Use VEX format if possible.
6130 (fmax): Likewise.
6131 (fminf): Likewise.
6132 (fmin): Likewise.
6133
56f6f6a2
UD
6134 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6135 * math/math_private.h: Remove libc_fegetround* and
6136 libc_fesetround*.
6137 * sysdeps/i386/configure.in: Check for -msse2avx.
6138 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6139 also if SSE2AVX is defined.
6140 Remove libc_fegetround* and libc_fesetround*.
6141 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6142 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6143 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6144 of HAS_YMM_USABLE.
6145 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6146 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6147 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6148 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6149 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6150
73139a76
UD
6151 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6152
d73f93a4
AZ
61532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6154
6155 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6156 size is not set.
6157 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6158
6ee65ed6
UD
61592012-01-27 Ulrich Drepper <drepper@gmail.com>
6160
6161 [BZ #13618]
6162 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6163 relocation.
6164 * Makeconfig (libm): Define.
6165 * elf/Makefile: Add rules to build and run tst-relsort1.
6166 * elf/tst-relsort1.c: New file.
6167 * elf/tst-relsort1mod1.c: New file.
6168 * elf/tst-relsort1mod2.c: New file.
6169
8db21882
JM
61702012-01-27 Joseph Myers <joseph@codesourcery.com>
6171
6172 * math/s_ldexp.c: Remove __STDC__ conditionals.
6173 * math/s_ldexpf.c: Likewise.
6174 * math/s_ldexpl.c: Likewise.
6175 * math/s_nextafter.c: Likewise.
6176 * math/s_nexttowardf.c: Likewise.
6177 * math/s_significand.c: Likewise.
6178 * math/s_significandf.c: Likewise.
6179 * math/s_significandl.c: Likewise.
6180 * math/w_jnl.c: Likewise.
6181 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6182 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6183 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6184 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6185 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6186 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6187 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6188 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6189 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6192 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6193 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6200 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6201 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6202 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6203 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6204 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6205 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6206 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6207 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6208 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6209 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6210 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6211 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6212 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6213 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6214 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6215 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6216 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6217 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6218 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6219 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6220 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6221 * sysdeps/ieee754/k_standard.c: Likewise.
6222 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6223 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6224 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6226 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6227 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6228 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6229 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6230 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6231 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6232 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6233 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6234 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6235 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6236 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6237 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6238 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6239 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6240 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6243 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6244 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6246 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6247 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6248 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6251 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6252 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6254 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6279 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6280 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6283 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6288 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6290 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6292 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6293 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6296 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6297 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6298 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6301 * sysdeps/ieee754/s_matherr.c: Likewise.
6302 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6303 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6304 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6305 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6306
965a54a4
JM
63072012-01-26 Joseph Myers <joseph@codesourcery.com>
6308
6309 * crypt/md5.h: Remove __STDC__ conditionals.
6310 * libio/libioP.h: Likewise.
6311 * locale/programs/config.h: Likewise.
6312 * sysdeps/generic/sysdep.h: Likewise.
6313 * sysdeps/i386/asm-syntax.h: Likewise.
6314 * sysdeps/s390/asm-syntax.h: Likewise.
6315 * sysdeps/unix/sysdep.h: Likewise.
6316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6318
7071ad79
JM
63192012-01-26 Joseph Myers <joseph@codesourcery.com>
6320
6321 * libio/libio.h: Remove __STDC__ conditionals.
6322 * malloc/obstack.h: Likewise.
6323 * math/complex.h: Likewise.
6324 * math/math.h: Likewise.
6325 * sysdeps/generic/_G_config.h: Likewise.
6326 * sysdeps/gnu/_G_config.h: Likewise.
6327 * sysdeps/mach/hurd/_G_config.h: Likewise.
6328 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6329 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6330 * sysdeps/sparc/bits/mathdef.h: Likewise.
6331
afc5ed09
UD
63322012-01-26 Ulrich Drepper <drepper@gmail.com>
6333
6334 [BZ #13583]
6335 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6336 Clean up HAS_* macros.
afc5ed09 6337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6338 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6339 possible.
6340 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6341 HAS_AVX.
6342 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6343 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6344 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6345 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6346 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6347
bdb6de1d
JM
63482012-01-25 Joseph Myers <joseph@codesourcery.com>
6349
6350 * elf/tst-unique3.cc (gets): Remove declaration.
6351 * elf/tst-unique3lib.cc (gets): Likewise.
6352 * elf/tst-unique3lib2.cc (gets): Likewise.
6353 * elf/tst-unique4.cc (gets): Likewise.
6354
b15549e6
UD
63552012-01-24 Ulrich Drepper <drepper@gmail.com>
6356
6357 * include/stdio.h: Add C++ protection. Add gets declarations and
6358 definitions.
6359 * debug/tst-chk1.c: Don't declare gets here.
6360 * stdio-common/tst-gets.c: Likewise.
6361
a037381f
JM
63622012-01-24 Joseph Myers <joseph@codesourcery.com>
6363
6364 * posix/glob: Remove directory.
6365
f1d4aa75
JM
63662012-01-24 Joseph Myers <joseph@codesourcery.com>
6367
6368 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6369
81c0c964
PT
63702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6371
6372 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6373 of the non-standard EPFNOSUPPORT.
6374
0ea698ae
ST
63752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6376
6377 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6378 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6379 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6380
d220b117
UD
63812012-01-21 Ulrich Drepper <drepper@gmail.com>
6382
6383 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6384
3e1aa84e
UD
63852012-01-20 Ulrich Drepper <drepper@gmail.com>
6386
6387 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6388 transient errors.
6389 * nscd/grpcache.c (cache_addgr): Likewise.
6390 * nscd/hstcache.c (cache_addhst): Likewise.
6391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6392 * nscd/pwdcache.c (cache_addpw): Likewise.
6393 * nscd/servicescache.c (cache_addserv): Likewise.
6394
400aa020
UD
63952012-01-16 Ulrich Drepper <drepper@gmail.com>
6396
d77e7869
UD
6397 * malloc/malloc.c: Various cleanups.
6398 * malloc/hooks.c: Likewise.
6399
400aa020
UD
6400 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6401 * stdlib/bug-fmtmsg1.c: New file.
6402
6403 * stdlib/fmtmsg.c (init): Add missing unlock.
6404 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6405
e0a309cf
MP
64062012-01-12 Marek Polacek <polacek@redhat.com>
6407
6408 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6409 and _GNU_SOURCE.
6410
929d11c7
WS
64112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6412
6413 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6414 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6415 macro to ensure uniqueness of label name.
6416 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6417 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6418
41d0e869
UD
64192012-01-11 Ulrich Drepper <drepper@gmail.com>
6420
0cc5ed3b
UD
6421 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6422
41d0e869
UD
6423 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6424 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6425 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6427
a47a831a
UD
64282012-01-10 Ulrich Drepper <drepper@gmail.com>
6429
daa891c0
UD
6430 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6431
6432 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6433 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6434 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6435
e58ef0f2
UD
6436 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6437
a47a831a 6438 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6439 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6440 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6442
6443 * math/bits/math-finite.h: Add ldexp support.
6444
a0bfc9c7
MP
64452012-01-10 Marek Polacek <polacek@redhat.com>
6446
6447 * locale/programs/localedef.h (show_archive_content): Add noreturn
6448 attribute.
6449
d6e97a1d
UD
64502012-01-09 Ulrich Drepper <drepper@gmail.com>
6451
6452 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6453
d5835c26
UD
64542012-01-08 Ulrich Drepper <drepper@gmail.com>
6455
e5f484c6
UD
6456 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6457
d5835c26
UD
6458 * io/Makefile (headers): Add bits/poll2.h.
6459
d1f741e9
WS
64602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6461
6462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6463 typo #include statement.
6464
ec09c1c4
UD
64652012-01-08 Ulrich Drepper <drepper@gmail.com>
6466
6467 * include/sys/cdefs.h: Define __attribute_alloc_size.
6468 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6469 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6470 * elf/pldd.c: Likewise.
6471 * iconv/iconv_charmap.c: Likewise.
6472 * iconv/iconvconfig.c: Likewise.
6473 * iconv/strtab.c: Likewise.
6474 * locale/programs/locale.c: Likewise.
6475 * locale/programs/localedef.h: Likewise.
6476 * locale/programs/simple-hash.c: Likewise.
6477 * nscd/nscd.h: Likewise.
6478 * nss/makedb.c: Likewise.
6479 * sysdeps/generic/ldconfig.h: Likewise.
6480 * locale/programs/localedef.c: Remove xmalloc prototype.
6481 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6482
20b38e03
PP
64832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6484
6485 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6486 appropriate.
6487
a0da5fe1
UD
64882012-01-08 Ulrich Drepper <drepper@gmail.com>
6489
1d5a644a 6490 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6491 * math/tst-CMPLX.c: New file.
1d5a644a 6492
8784a6db
UD
6493 * math/complex.h (CMPLXL): Fix typo.
6494
d9a216c0
UD
6495 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6496 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6497 GLIBC_2.16.
6498 * debug/tst-chk1.c: Add poll and ppoll tests.
6499 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6500 * include/sys/poll.h: Add hidden proto for ppoll.
6501 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6502 * sysdeps/mach/hurd/ppoll.c: Likewise.
6503 * io/ppoll.c: Likewise.
6504 * debug/poll_chk.c: New file.
6505 * debug/ppoll_chk.c: New file.
6506 * include/bits/poll2.h: New file.
6507 * io/bits/poll2.h: New file.
6508
ac097f5c
UD
6509 [BZ #1350]
6510 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6511
2119dcfa
UD
6512 * configure.in: static is always set to yes. Remove.
6513 * config.make.in: Don't set build-static.
6514 * Makeconfig: Remove use of build-static.
6515 * dlfcn/Makefile: Likewise.
6516 * elf/Makefile: Likewise.
6517 * math/Makefile: Likewise.
6518 * misc/Makefile: Likewise.
6519 * nptl/Makefile: Likewise.
6520 * sysdeps/mach/hurd/Makefile: Likewise.
6521
121766a9
UD
6522 * configure.in: PWD_P is not used anymore.
6523 * config.make.in: Remove PWD_P entry.
6524
51a1d39c 6525 * configure.in: Remove last remnants of RANLIB.
8720d066 6526 No need to check for signed size_t anymore.
215f4bdc
UD
6527 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6528 and IA-64.
3857022a 6529 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6530 * aclocal.m4: Likewise.
6531
d3ed7225
UD
6532 * wcsmbs/mbrtoc16.c: Implement using towc function.
6533 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6534 * wcsmbs/wcsmbsload.c: Likewise.
6535 * iconv/gconv_simple.c: Likewise.
6536 * iconv/gconv_int.h: Likewise.
6537 * iconv/gconv_builtin.h: Likewise.
6538 * iconv/iconv_prog.c: Remove CHAR16 handling.
6539
6540 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6541
6542 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6543
a0da5fe1
UD
6544 * configure.in: Remove --with-elf and --enable-bounded options.
6545 Dont set base_machine for ia64. More non-ELF conditions removed.
6546 Remove testing and setting of leading underscore information.
6547 * config.make.in (build-bounded): Set to no.
6548 * config.h.in: Remove NO_UNDERSCORES entry.
6549 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6550 them.
6551 * csu/start.c: Remove !NO_UNDERSCORE code.
6552 * locale/localeinfo.h: Likewise.
6553 * sysdeps/generic/machine-gmon.h: Likewise.
6554 * sysdeps/generic/sysdep.h: Likewise.
6555 * sysdeps/i386/sysdep.h: Likewise.
6556 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6557 * sysdeps/mach/sysdep.h: Likewise.
6558 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6559 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6560 * sysdeps/sh/sysdep.h: Likewise.
6561 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6562 * sysdeps/unix/i386/sysdep.S: Likewise.
6563 * sysdeps/unix/sparc/start.c: Likewise.
6564 * sysdeps/unix/sparc/sysdep.S: Likewise.
6565 * sysdeps/unix/sparc/sysdep.h: Likewise.
6566 * sysdeps/unix/start.c: Likewise.
6567 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6568 * sysdeps/x86_64/sysdep.h: Likewise.
6569
df78418a
UD
65702012-01-07 Ulrich Drepper <drepper@gmail.com>
6571
a784e502
UD
6572 [BZ #13553]
6573 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6574 for non-gcc.
6575 * argp/argp-fmtstream.h: Use const instead __const.
6576 * argp/argp.h: Likewise.
6577 * assert/assert.h: Likewise.
6578 * bits/fenv.h: Likewise.
6579 * bits/sched.h: Likewise.
6580 * bits/sigset.h: Likewise.
6581 * bits/sigthread.h: Likewise.
6582 * catgets/nl_types.h: Likewise.
6583 * conform/data/pthread.h-data: Likewise.
6584 * crypt/crypt-private.h: Likewise.
6585 * crypt/crypt.h: Likewise.
6586 * crypt/crypt_util.c: Likewise.
6587 * ctype/ctype.h: Likewise.
6588 * debug/execinfo.h: Likewise.
6589 * debug/mbsnrtowcs_chk.c: Likewise.
6590 * debug/mbsrtowcs_chk.c: Likewise.
6591 * debug/wcsnrtombs_chk.c: Likewise.
6592 * debug/wcsrtombs_chk.c: Likewise.
6593 * debug/wcstombs_chk.c: Likewise.
6594 * dirent/dirent.h: Likewise.
6595 * dlfcn/dlfcn.h: Likewise.
6596 * elf/neededtest4.c: Likewise.
6597 * grp/grp.h: Likewise.
6598 * gshadow/gshadow.h: Likewise.
6599 * iconv/gconv.h: Likewise.
6600 * iconv/gconv_int.h: Likewise.
6601 * iconv/gconv_simple.c: Likewise.
6602 * iconv/iconv.h: Likewise.
6603 * iconv/loop.c: Likewise.
6604 * iconv/skeleton.c: Likewise.
6605 * include/aio.h: Likewise.
6606 * include/aliases.h: Likewise.
6607 * include/argz.h: Likewise.
6608 * include/arpa/inet.h: Likewise.
6609 * include/assert.h: Likewise.
6610 * include/dirent.h: Likewise.
6611 * include/dlfcn.h: Likewise.
6612 * include/execinfo.h: Likewise.
6613 * include/fcntl.h: Likewise.
6614 * include/fenv.h: Likewise.
6615 * include/glob.h: Likewise.
6616 * include/grp.h: Likewise.
6617 * include/libintl.h: Likewise.
6618 * include/mntent.h: Likewise.
6619 * include/netdb.h: Likewise.
6620 * include/pwd.h: Likewise.
6621 * include/rpc/netdb.h: Likewise.
6622 * include/sched.h: Likewise.
6623 * include/search.h: Likewise.
6624 * include/shadow.h: Likewise.
6625 * include/signal.h: Likewise.
6626 * include/stdio.h: Likewise.
6627 * include/stdlib.h: Likewise.
6628 * include/string.h: Likewise.
6629 * include/sys/socket.h: Likewise.
6630 * include/sys/stat.h: Likewise.
6631 * include/sys/statfs.h: Likewise.
6632 * include/sys/statvfs.h: Likewise.
6633 * include/sys/syslog.h: Likewise.
6634 * include/sys/time.h: Likewise.
6635 * include/sys/uio.h: Likewise.
6636 * include/time.h: Likewise.
6637 * include/unistd.h: Likewise.
6638 * include/utmp.h: Likewise.
6639 * include/wchar.h: Likewise.
6640 * include/wctype.h: Likewise.
6641 * inet/aliases.h: Likewise.
6642 * inet/arpa/inet.h: Likewise.
6643 * inet/netinet/ether.h: Likewise.
6644 * inet/netinet/in.h: Likewise.
6645 * intl/libintl.h: Likewise.
6646 * io/bits/fcntl2.h: Likewise.
6647 * io/fcntl.h: Likewise.
6648 * io/ftw.h: Likewise.
6649 * io/sys/poll.h: Likewise.
6650 * io/sys/stat.h: Likewise.
6651 * io/sys/statfs.h: Likewise.
6652 * io/sys/statvfs.h: Likewise.
6653 * io/utime.h: Likewise.
6654 * libio/bits/stdio.h: Likewise.
6655 * libio/bits/stdio2.h: Likewise.
6656 * libio/libio.h: Likewise.
6657 * libio/libioP.h: Likewise.
6658 * libio/stdio.h: Likewise.
6659 * locale/lc-ctype.c: Likewise.
6660 * locale/locale.h: Likewise.
6661 * login/utmp.h: Likewise.
6662 * malloc/arena.c: Likewise.
6663 * malloc/malloc.c: Likewise.
6664 * malloc/malloc.h: Likewise.
6665 * malloc/mcheck.c: Likewise.
6666 * malloc/mtrace.c: Likewise.
6667 * math/bits/mathcalls.h: Likewise.
6668 * math/fenv.h: Likewise.
6669 * math/math_private.h: Likewise.
6670 * misc/bits/error.h: Likewise.
6671 * misc/bits/syslog.h: Likewise.
6672 * misc/err.h: Likewise.
6673 * misc/error.h: Likewise.
6674 * misc/fstab.h: Likewise.
6675 * misc/mntent.h: Likewise.
6676 * misc/regexp.h: Likewise.
6677 * misc/search.h: Likewise.
6678 * misc/sgtty.h: Likewise.
6679 * misc/sys/mman.h: Likewise.
6680 * misc/sys/syslog.h: Likewise.
6681 * misc/sys/uio.h: Likewise.
6682 * misc/sys/xattr.h: Likewise.
6683 * misc/ttyent.h: Likewise.
6684 * nis/rpcsvc/ypclnt.h: Likewise.
6685 * nss/nss.h: Likewise.
6686 * posix/bits/unistd.h: Likewise.
6687 * posix/fnmatch.h: Likewise.
6688 * posix/glob.h: Likewise.
6689 * posix/sched.h: Likewise.
6690 * posix/spawn.h: Likewise.
6691 * posix/sys/wait.h: Likewise.
6692 * posix/unistd.h: Likewise.
6693 * posix/wordexp.h: Likewise.
6694 * pwd/pwd.h: Likewise.
6695 * resolv/netdb.h: Likewise.
6696 * resource/sys/resource.h: Likewise.
6697 * rt/aio.h: Likewise.
6698 * rt/bits/mqueue2.h: Likewise.
6699 * rt/mqueue.h: Likewise.
6700 * shadow/shadow.h: Likewise.
6701 * signal/signal.h: Likewise.
6702 * socket/send.c: Likewise.
6703 * socket/sendto.c: Likewise.
6704 * socket/sys/socket.h: Likewise.
6705 * stdio-common/printf.h: Likewise.
6706 * stdlib/bits/stdlib.h: Likewise.
6707 * stdlib/fmtmsg.h: Likewise.
6708 * stdlib/monetary.h: Likewise.
6709 * stdlib/stdlib.h: Likewise.
6710 * stdlib/ucontext.h: Likewise.
6711 * streams/stropts.h: Likewise.
6712 * string/argz.h: Likewise.
6713 * string/bits/string2.h: Likewise.
6714 * string/string.h: Likewise.
6715 * string/strings.h: Likewise.
6716 * sunrpc/rpc/auth.h: Likewise.
6717 * sunrpc/rpc/auth_des.h: Likewise.
6718 * sunrpc/rpc/clnt.h: Likewise.
6719 * sunrpc/rpc/netdb.h: Likewise.
6720 * sunrpc/rpc/pmap_clnt.h: Likewise.
6721 * sunrpc/rpc/xdr.h: Likewise.
6722 * sysdeps/generic/inttypes.h: Likewise.
6723 * sysdeps/generic/net/if.h: Likewise.
6724 * sysdeps/generic/sys/swap.h: Likewise.
6725 * sysdeps/gnu/net/if.h: Likewise.
6726 * sysdeps/gnu/utmpx.h: Likewise.
6727 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6728 * sysdeps/i386/i486/bits/string.h: Likewise.
6729 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6730 * sysdeps/s390/bits/string.h: Likewise.
6731 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6732 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6733 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6734 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6735 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6736 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6737 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6738 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6739 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6740 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6741 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6742 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6743 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6744 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6745 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6746 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6747 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6749 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6750 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6751 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6752 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6753 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6754 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6755 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6756 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6757 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6758 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6759 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6760 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6761 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6762 * sysvipc/sys/ipc.h: Likewise.
6763 * sysvipc/sys/msg.h: Likewise.
6764 * sysvipc/sys/sem.h: Likewise.
6765 * sysvipc/sys/shm.h: Likewise.
6766 * termios/termios.h: Likewise.
6767 * time/sys/time.h: Likewise.
6768 * time/time.h: Likewise.
6769 * wcsmbs/bits/wchar2.h: Likewise.
6770 * wcsmbs/uchar.h: Likewise.
6771 * wcsmbs/wchar.h: Likewise.
6772 * wctype/wctype.h: Likewise.
6773
0269750c
UD
6774 [BZ #13551]
6775 * Makeconfig: Remove all but ELF support including AIX support.
6776 * Makerules: Likewise.
6777 * config.h.in: Likewise.
6778 * config.make.in: Likewise.
6779 * configure: Likewise.
6780 * configure.in: Likewise.
6781 * csu/Makefile: Likewise.
6782 * csu/version.c: Likewise.
6783 * debug/Makefile: Likewise.
6784 * dlfcn/Makefile: Likewise.
6785 * elf/Makefile: Likewise.
6786 * extra-lib.mk: Likewise.
6787 * iconv/Makefile: Likewise.
6788 * include/libc-symbols.h: Likewise.
6789 * include/shlib-compat.h: Likewise.
6790 * resolv/Makefile: Likewise.
6791 * resolv/res_libc.c: Likewise.
6792 * rt/Makefile: Likewise.
6793 * sysdeps/i386/asm-syntax.h: Likewise.
6794 * sysdeps/i386/sysdep.h: Likewise.
6795 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6796 * sysdeps/mach/sysdep.h: Likewise.
6797 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6798 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6799 * sysdeps/s390/asm-syntax.h: Likewise.
6800 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6801 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6802 * sysdeps/sh/sysdep.h: Likewise.
6803 * sysdeps/unix/sparc/sysdep.h: Likewise.
6804 * sysdeps/wordsize-32/divdi3.c: Likewise.
6805 * sysdeps/x86_64/sysdep.h: Likewise.
6806
00bbd29b
UD
6807 * argp/Versions: Remove _argp_unlock_xxx.
6808
6809 [BZ #13559]
6810 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6811 * abilist/libBrokenLocale.abilist: Likewise.
6812 * abilist/libanl.abilist: Likewise.
6813 * abilist/libc.abilist: Likewise.
6814 * abilist/libcrypt.abilist: Likewise.
6815 * abilist/libdl.abilist: Likewise.
6816 * abilist/libm.abilist: Likewise.
6817 * abilist/libnsl.abilist: Likewise.
6818 * abilist/libpthread.abilist: Likewise.
6819 * abilist/libresolv.abilist: Likewise.
6820 * abilist/librt.abilist: Likewise.
6821 * abilist/libthread_db.abilist: Likewise.
6822 * abilist/libutil.abilist: Likewise.
6823 * abilist/libnss_db.abilist: New file.
6824
6825 * scripts/abilist.awk: Add support for indirect functions.
6826
a2693a0e
UD
6827 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6828
3f05895f
UD
6829 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6830
ecb6fb48
UD
6831 * shlib-versions: Remove entries for ports architectures.
6832
664f8cb9
UD
6833 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6834 files in ports.
6835 * elf/stackguard-macros.h: Remove support for IA-64.
6836 * elf/tst-auditmod1.c: Likewise.
6837 * sysdeps/generic/ldsodefs.h: Likewise.
6838
7ae81d88
UD
6839 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6840 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6841 configure files.
6842
bdeba135
UD
6843 [BZ #13552]
6844 * configure.in: Remove --enable-omitfp support.
6845 * FAQ.in: Adjust.
6846 * config.make.in: Likewise.
6847 * Makeconfig: Likewise.
6848 * manual/install.texi: Likewise.
6849
d75a0a62
UD
6850 In case anyone cares, the IA-64 architecture could move to ports.
6851 * sysdeps/ia64/*: Removed.
6852 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6853 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6854
dcc9756b
UD
6855 [BZ #13555]
6856 * configure.in: Remove entries for unsupported architectures.
6857
d3761ebc 6858 [BZ #13533]
9954432e
UD
6859 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6860 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6861 routines.
6862 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6863 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6864 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6865 fall back to using wcrtomb.
6866 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6867 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6868 renaming.
6869 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6870 * wcsmbs/tst-c16c32-1.c: New file.
6871
6872 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6873 local variable.
6874
c3a87236
UD
6875 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6876
28926a1b
UD
6877 * elf/tst-unique3.cc: Add explicit declaration of gets.
6878 * elf/tst-unique3lib.cc: Likewise.
6879 * elf/tst-unique3lib2.cc: Likewise.
6880 * elf/tst-unique4.cc: Likewise.
6881
df78418a
UD
6882 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6883
8ecd6b2a
JM
68842012-01-06 Joseph Myers <joseph@codesourcery.com>
6885
6886 [BZ #13566]
6887 * assert/assert.h (static_assert): Don't define for C++.
6888 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6889 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6890
9f115170
UD
68912012-01-03 Ulrich Drepper <drepper@gmail.com>
6892
5e0d0300
UD
6893 * iconv/loop.c (single loop): Fix assertion in storing of
6894 remaining bytes.
6895
9f115170
UD
6896 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6897
81fb02b0
UD
68982012-01-01 Ulrich Drepper <drepper@gmail.com>
6899
6900 * posix/getconf.c: Update copyright year.
6901 * nss/getent.c: Likewise.
a316c1f6 6902 * nss/makedb.c: Likewise.
81fb02b0
UD
6903 * iconv/iconvconfig.c: Likewise.
6904 * iconv/iconv_prog.c: Likewise.
6905 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6906 * elf/pldd.c: Likewise.
6907 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6908 * catgets/gencat.c: Likewise.
6909 * csu/version.c: Likewise.
6910 * elf/ldd.bash.in: Likewise.
6911 * elf/sprof.c (print_version): Likewise.
6912 * locale/programs/locale.c: Likewise.
6913 * locale/programs/localedef.c: Likewise.
a316c1f6 6914 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6915 * nscd/nscd.c (print_version): Likewise.
6916 * debug/xtrace.sh: Likewise.
6917 * malloc/memusage.sh: Likewise.
6918 * malloc/mtrace.pl: Likewise.
6919 * debug/catchsegv.sh: Likewise.
6920
2ba92745
JJ
69212011-12-30 Jakub Jelinek <jakub@redhat.com>
6922
6923 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6924 pure attribute.
6925
dadebdae
UD
69262011-12-24 Ulrich Drepper <drepper@gmail.com>
6927
d3761ebc 6928 [BZ #13533]
db6af3eb
UD
6929 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6930 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6931 transformations.
6932 * iconv/gconv_int.h: Likewise.
6933 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6934 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6935 from libc for GLIBC_2.16.
6936 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6937 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6938 * wcsmbs/uchar.h: Really define mbstate_t.
6939 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6940 * wcsmbs/c16rtomb.c: New file.
6941 * wcsmbs/mbrtoc16.c: New file.
6942 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6943 for C/POSIX locale.
6944 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6945 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6946
dadebdae
UD
6947 * wcsmbs/wchar.h: Add missing __restrict.
6948
67371b56
UD
69492011-12-23 Ulrich Drepper <drepper@gmail.com>
6950
74033a25
UD
6951 [BZ #13532]
6952 * time/Makefile (routines): Add timespec_get.
6953 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6954 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6955 timespec for ISO C11.
6956 * time/timespec_get.c: New file.
6957 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6958 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6959
380d7e87
UD
6960 [BZ #13531]
6961 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6962 * stdlib/stdlib.h: Declare aligned_alloc.
6963 * Versions.def: Add GLIBC_2.16 for libc.
6964 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6965
4e9e7a35
UD
6966 [BZ 13527]
6967 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6968 ISO C11.
6969
380d7e87 6970 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6971 code.
6972
03a71829
UD
6973 [BZ #13528]
6974 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6975
839e283e
UD
6976 [BZ #13529]
6977 * assert/assert.h (static_assert): Define.
6978
ce5294e2 6979 * version.h: Update for 2.16 development version.
90fa7312 6980
8d44e150 6981 [BZ #13526]
d7809905
UD
6982 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6983 _ISOC11_SOURCE.
6984
c0da14cd
UD
6985 * version.h (RELEASE): Bump for 2.15 release.
6986 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6987
530a3249
MP
6988 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6989 Patch by Marek Polacek <mpolacek@redhat.com>.
6990
67371b56
UD
6991 * bits/byteswap.h: Protect long long constants with __extension__.
6992 * sysdeps/i386/bits/byteswap.h: Likewise.
6993 * sysdeps/ia64/bits/byteswap.h: Likewise.
6994 * sysdeps/s390/bits/byteswap.h: Likewise.
6995 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6996
15db4de1
LD
69972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6998
6999 [BZ #13540]
bbe315ea
LD
7000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7001 destination buffer.
15db4de1
LD
7002 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7003
2b2596b1
MP
70042011-12-23 Marek Polacek <polacek@redhat.com>
7005
7006 * elf/dl-addr.c (determine_info): Add inline keyword.
7007 * elf/tst-auditmod4b.c (check_avx): Likewise.
7008 * elf/tst-auditmod6b.c (check_avx): Likewise.
7009 * elf/tst-auditmod6c.c (check_avx): Likewise.
7010 * elf/tst-auditmod7b.c (check_avx): Likewise.
7011
70c6c246
UD
70122011-12-23 Ulrich Drepper <drepper@gmail.com>
7013
7014 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7015 !__SSE_MATH__.
7016
c044cf14
LD
70172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7018
15db4de1 7019 [BZ #13540]
c044cf14
LD
7020 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7021 processing for last bytes.
7022
6b13d9d9
BH
70232011-08-06 Bruno Haible <bruno@clisp.org>
7024
d455f537
BH
7025 [BZ #13061]
7026 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7027 U+0385, not to U+1FEE.
7028
6b13d9d9
BH
7029 [BZ #13062]
7030 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7031 entry for U+00A5 U+0301.
7032
db910efd
UD
70332011-12-22 Ulrich Drepper <drepper@gmail.com>
7034
27deeafc
UD
7035 [BZ #13166]
7036 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7037 buffer for the output is too small.
7038
aed9d171
UD
7039 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7040 optimization.
7041
db910efd
UD
7042 [BZ #13185]
7043 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7044 SSE flags if possible.
7045
2bd779ae
LD
70462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7047
e7f9dac3 7048 [BZ #13540]
2bd779ae
LD
7049 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7050 processing for last bytes.
7051
154bfc16
JM
70522011-12-22 Joseph Myers <joseph@codesourcery.com>
7053
7054 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7055 (syscall-list-default-options, syscall-list-default-condition)
7056 (syscall-list-includes): Define.
7057 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7058 list of ABIs and options and #if conditions for each ABI. Do not
7059 handle common syscalls between ABIs specially.
7060 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7061 Remove.
7062 (syscall-list-variants, syscall-list-32bit-options)
7063 (syscall-list-32bit-condition, syscall-list-64bit-options)
7064 (syscall-list-64bit-condition): Define.
7065 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7066 (syscall-list-variants, syscall-list-32bit-options)
7067 (syscall-list-32bit-condition, syscall-list-64bit-options)
7068 (syscall-list-64bit-condition): Define.
7069 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7070 Remove.
7071 (syscall-list-variants, syscall-list-32bit-options)
7072 (syscall-list-32bit-condition, syscall-list-64bit-options)
7073 (syscall-list-64bit-condition): Define.
7074 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7075 Remove.
7076 (syscall-list-variants, syscall-list-32bit-options)
7077 (syscall-list-32bit-condition, syscall-list-64bit-options)
7078 (syscall-list-64bit-condition): Define.
7079
21eaf3a5
UD
70802011-12-22 Ulrich Drepper <drepper@gmail.com>
7081
16c6f992
UD
7082 * locale/iso-639.def: Add brx entry.
7083
41043168
UD
7084 [BZ #13328]
7085 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7086 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7087
21eaf3a5
UD
7088 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7089 __feraiseexcept_renamed.
7090
e3a851a2
UD
70912011-12-21 Ulrich Drepper <drepper@gmail.com>
7092
4920765e
UD
7093 [BZ #13538]
7094 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7095 EPOLLET with unsigned values.
7096 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7097 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7098
e3a851a2
UD
7099 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7100 to large cancellation.
7101 * math/s_cacoshf.c: Likewise.
7102 * math/s_cacoshl.c: Likewise.
7103
b27e24b8
RK
71042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7105
7106 [BZ #13305]
aebefeee 7107 [BZ #12786]
b27e24b8
RK
7108 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7109 * math/s_cacoshf.c: Likewise.
7110 * math/s_cacoshl.c: Likewise.
7111
ee190f67
UD
71122011-12-21 Ulrich Drepper <drepper@gmail.com>
7113
7114 [BZ #13439]
7115 * iconv/gconv.h: Define __GCONV_SWAP.
7116 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7117 * iconvdata/utf-16.c: Likewise.
7118 * iconvdata/utf-32.c: Likewise.
7119
707f25df
AS
71202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7121
7122 [BZ #13524]
7123 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7124 numerator after shifting it by one limb.
7125
d2daaa1e
RÁE
71262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7127
7128 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7129 under [__USE_EXTERN_INLINES].
7130
a4647e72
UD
71312011-12-17 Ulrich Drepper <drepper@gmail.com>
7132
7133 [BZ #13446]
7134 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7135
f0b264f1
AZ
71362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7137
7138 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7139 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7140 optimized code.
7141 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7142 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7143 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7144 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7145 for strncasecmp/strncasecmp_l compilation.
7146 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7147 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7148
8ef4f244
MP
71492011-12-08 Marek Polacek <mpolacek@redhat.com>
7150
7151 [BZ #13484]
7152 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7153 of __asm__.
7154
97ac2654
UD
71552011-12-17 Ulrich Drepper <drepper@gmail.com>
7156
7157 [BZ #13506]
7158 * time/tzfile.c (__tzfile_read): Check values from file header.
7159
91d2a845
WS
71602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7161
7162 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7163 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7164 * powerpc/powerpc32/dl-start.S: Likewise.
7165 * powerpc/powerpc32/elf/start.S: Likewise.
7166 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7167 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7168 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7169 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7170 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7171 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7172 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7173 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7174 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7175 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7176 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7177 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7178 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7179 * powerpc/powerpc32/memset.S: Likewise.
7180 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7181 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7182 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7183 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7184 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7185 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7186 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7187 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7188 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7189 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7190 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7191 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7192 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7193
a1267ba1
AZ
71942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7195
7196 * math/libm-test.inc: Added more nearbyint tests.
7197 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7199 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7200 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7201
ad8ac1bd
RL
72022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7203
7204 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7205 FD_CLOEXEC.
7206
1d3e4b61
UD
72072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7208
7209 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7210 Add wcscpy-ssse3 wcscpy-c.
7211 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7212 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7213 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7214 * sysdeps/x86_64/wcschr.S: New file.
7215 * sysdeps/x86_64/wcsrchr.S: New file.
7216 * string/test-strcmp.c: Remove checking of wcscmp function for
7217 wrong alignments.
7218 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7219 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7220 wcsrchr-sse2 wcsrchr-c.
7221 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7222 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7223 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7224 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7225 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7226 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7227 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7228 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7229 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7230 * wcsmbc/wcschr.c (WCSCHR): New macro.
7231
5b330a2d
UD
72322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7233
7234 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7235 * wcsmbs/test-wcsrchr.c: New file.
7236 * string/test-strrchr.c: Add wcsrchr support.
7237 (WIDE): New macro.
7238 * wcsmbs/test-wcscpy.c: New file.
7239 * string/test-strcpy.c: Add wcscpy support.
7240 (WIDE): New macro.
26428b7c 7241
f039c043
UD
72422011-12-10 Ulrich Drepper <drepper@gmail.com>
7243
7244 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7245 the inner loop.
7246
850fb039
AS
72472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7248
7249 [BZ #13472]
7250 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7251
4efbd5cb
UD
72522011-12-04 Ulrich Drepper <drepper@gmail.com>
7253
52ff5dd0 7254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7255 Minor optimizations.
52ff5dd0 7256
4efbd5cb
UD
7257 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7258 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7259 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7260
8a426e12
UD
72612011-12-03 Ulrich Drepper <drepper@gmail.com>
7262
aff2453d
UD
7263 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7264 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7265 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7266 for gcc to avoid warnings.
7267 * inet/Makefile (tests): Add tst-checks.
7268 * inet/tst-checks.c: New file.
7269
7270 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7271 warning.
7272
7273 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7274 __wmemcmp_sse2.
7275
7276 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7277 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7278
8a426e12
UD
7279 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7280
9bea3473
UD
72812011-12-02 Ulrich Drepper <drepper@gmail.com>
7282
3a965496
UD
7283 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7284 problem.
7285
9bea3473
UD
7286 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7287
f101631b
UD
72882011-11-29 Joseph Myers <joseph@codesourcery.com>
7289
7290 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7291 conditional on GCC version.
7292 (__arch_compare_and_exchange_val_8_acq)
7293 (__arch_compare_and_exchange_val_16_acq)
7294 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7295 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7296 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7297
a98275aa
UD
72982011-12-02 Joseph Myers <joseph@codesourcery.com>
7299
7300 * sysdeps/sh/backtrace.c: New file.
7301
d4cc29a2
AS
73022011-12-02 Andreas Schwab <schwab@redhat.com>
7303
7304 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7305 parenthesis.
7306
6257af2d
AS
73072011-12-01 Andreas Schwab <schwab@redhat.com>
7308
7309 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7310 falling back to utime.
7311
b5f44c1a
AS
73122011-11-30 Andreas Schwab <schwab@redhat.com>
7313
7314 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7315 expectations for float.
7316
f3a6cc0a
AS
73172011-11-29 Andreas Schwab <schwab@redhat.com>
7318
7319 * locale/weight.h (findidx): Add parameter len.
7320 * locale/weightwc.h (findidx): Likewise.
7321 * posix/fnmatch_loop.c (FCT): Adjust caller.
7322 * posix/regcomp.c (build_equiv_class): Likewise.
7323 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7324 * posix/regexec.c (check_node_accept_bytes): Likewise.
7325 * string/strcoll_l.c (STRCOLL): Likewise.
7326 * string/strxfrm_l.c (STRXFRM): Likewise.
7327
9d65ea3a
UD
73282011-11-17 Ulrich Drepper <drepper@gmail.com>
7329
7330 * Makefile.in: Remove CVSOPT handling.
7331 * configure.in: Remove use of AC_REVISION.
7332 * iconvdata/Makefile (distribute): No need to filter out CVS.
7333 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7334 handling.
7335
5583a086
AS
73362011-11-16 Andreas Schwab <schwab@redhat.com>
7337
7338 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7339 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7340 [USE_AS_STRNCASECMP_L]: Likewise.
7341 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7342 NO_TLS_DIRECT_SEG_REFS.
7343 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7344 Fix argument offsets for non-PIC.
7345 [USE_AS_STRNCASECMP_L]: Likewise.
7346 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7347 NO_TLS_DIRECT_SEG_REFS.
7348
d62a8200
UD
73492011-11-15 Ulrich Drepper <drepper@gmail.com>
7350
9d65ea3a 7351 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7352 O_CLOEXEC.
7353 * locale/loadlocale.c (_nl_load_locale): Likewise.
7354
09f93bd3
AS
73552011-11-15 Andreas Schwab <schwab@redhat.com>
7356
446514f9
AS
7357 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7358 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7359 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7360 (SYSCALL_GETTIME): Set errno on error.
7361
09f93bd3
AS
7362 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7363 count references to noai6ai_cached.
7364
312be3f9
UD
73652011-11-15 Ulrich Drepper <drepper@gmail.com>
7366
7367 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7368
7369 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7370 FD_CLOEXEC for /proc/self/maps.
7371
7372 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7373 FD_CLOEXEC for /proc/meminfo.
7374
7375 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7376 gai.conf.
7377
7378 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7379 FD_CLOEXEC for given file.
7380
7381 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7382
7383 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7384 FD_CLOEXEC for /etc/hosts.
7385 (_gethtent): Likewise.
7386
7387 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7388
7389 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7390 cancellation and set FD_CLOEXEC for /etc/netgroup.
7391
7392 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7393 reading /etc/publickey.
7394
7395 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7396 allow cancellation when reading /etc/group.
7397
7398 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7399 cancellation.
7400 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7401
7402 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7403 when using data file.
7404
7405 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7406
7407 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7408 (write_nis_obj): Use "c" and "e" in fopen.
7409
7410 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7411
7412 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7413
7414 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7415
7416 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7417
7418 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7419 locale.alias.
7420
7421 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7422
7423 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7424
7425 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7426
7427 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7428 file parsing and set FD_CLOEXEC.
7429
82af0fa8
UD
74302011-11-14 Ulrich Drepper <drepper@gmail.com>
7431
7432 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7433
a5fb313c
AS
74342011-11-14 Andreas Schwab <schwab@redhat.com>
7435
7436 * malloc/arena.c (arena_get2): Don't call reused_arena when
7437 _int_new_arena failed.
7438
6abf3465
UD
74392011-11-14 Ulrich Drepper <drepper@gmail.com>
7440
7441 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7442 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7443 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7444 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7445 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7446 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7447 to compile strcasecmp and strncasecmp.
7448 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7449 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7450
7451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7452
76e3966e
UD
74532011-11-13 Ulrich Drepper <drepper@gmail.com>
7454
7455 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7456 locale-defines.sym to gen-as-const-headers.
7457 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7458 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7460 to compile strcasecmp and strncasecmp.
7461 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7462 strcasecmp_l and strncasecmp_l.
7463 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7464 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7465 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7466 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7467 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7468 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7469 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7470 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7471 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7472 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7473 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7474
ab26144e
UD
74752011-11-12 Ulrich Drepper <drepper@gmail.com>
7476
7edb22ef
UD
7477 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7478 result of SYSDEP_GETTIME_CPU to retval.
7479 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7480 parameter list to macro. Remove trailing semicolon. Adjust users.
7481
9694fc44
UD
7482 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7483 variable.
7484
8ad89ef8
UD
7485 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7486 mantissa words.
7487 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7488
0c822ef9
UD
7489 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7490 from unused variable.
7491
874e0564
UD
7492 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7493 DWARF definitions.
7494 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7495 for assembling.
7496
3a2edc79
UD
7497 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7498 over namespaces.
7499
f3c2577f
UD
7500 * sunrpc/rpc_prot.c (rejected): Fix case value.
7501
294ce126
UD
7502 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7503 unsigned long long int to avoid warnings in shift.
7504
5e2b63c6
UD
7505 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7506 of use of trans.
7507 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7508 variable tmp.
7509
e7f4b08e
UD
7510 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7511 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7512 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7513
ab26144e
UD
7514 * nis/nis_table.c (nis_list): Use variable of correct type for
7515 result of __follow_path call.
7516
8a6d5255
AZ
75172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7518
7519 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7520 of math functions ceil, trunc, floor, round, and sqrt, when
7521 avaliable on the platform.
7522 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7523 name clash.
7524 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7525 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7526 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7527
aaddc98c
MP
75282011-10-30 Marek Polacek <mpolacek@redhat.com>
7529
7530 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7531 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7532
95b7042b
RM
75332011-11-11 Roland McGrath <roland@hack.frob.com>
7534
7535 * include/unistd.h: Fix __readlink return type.
7536 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7537
57769839
UD
75382011-11-11 Ulrich Drepper <drepper@gmail.com>
7539
7540 * stdlib/ucontext.h: Undo last change for makecontext.
7541
edc5984d
AS
75422011-11-11 Andreas Schwab <schwab@redhat.com>
7543
98591e58
AS
7544 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7545
edc5984d
AS
7546 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7547 * setjmp/setjmp.h: Mark functions as non-leaf.
7548 * setjmp/bits/setjmp2.h: Likewise.
7549 * stdlib/ucontext.h: Likewise.
7550
77cdc054
AS
75512011-11-10 Andreas Schwab <schwab@redhat.com>
7552
7553 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7554 (reused_arena): Don't check arena limit.
7555 (arena_get2): Atomically check arena limit.
7556
fe72eebd
UD
75572011-11-08 Ulrich Drepper <drepper@gmail.com>
7558
5f078c32
UD
7559 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7560 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7561
fe72eebd
UD
7562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7563 instructions.
7564
ae1bc2fa
AS
75652011-11-07 Andreas Schwab <schwab@redhat.com>
7566
7583a88d
AS
7567 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7568 handler when locking.
7569
ae1bc2fa
AS
7570 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7571 Fix size of allocated buffer.
7572
10fb0bfa
AS
75732011-11-04 Andreas Schwab <schwab@redhat.com>
7574
998832a4
AS
7575 [BZ #10103]
7576 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7577 declarations for long double functions.
7578 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7579
10fb0bfa
AS
7580 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7581
3d7ba52b
AS
75822011-11-03 Andreas Schwab <schwab@redhat.com>
7583
a9ae54a1
AS
7584 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7585 installed.
7586
3d7ba52b
AS
7587 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7588 is disabled.
7589
bc8db248
ST
75902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7591
7592 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7593
45b96dd6
AS
75942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7595
647776f6
AS
7596 * include/alloca.h (stackinfo_alloca_round): Define.
7597 (extend_alloca): Use it.
7598 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7599 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7600 here.
7601
d91a8b93
AS
7602 * scripts/check-local-headers.sh: Ignore libaudit.h.
7603
45b96dd6
AS
7604 * nscd/Makefile (extra-objs): Make recursively expanded.
7605
432d41ce
UD
76062011-11-01 Ulrich Drepper <drepper@gmail.com>
7607
34372fc6
UD
7608 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7609 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7610
fadb59f8
UD
7611 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7612 * posix/tst-rfc3484-2.c: Likewise.
7613 * posix/tst-rfc3484-3.c: Likewise.
7614
78239589
UD
7615 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7616 process_vm_writev.
7617 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7618 process_vm_writev.
7619 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7620 process_vm_writev from libc using GLIBC_2.15 version.
7621
432d41ce
UD
7622 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7623
02f9c6cf
PP
76242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7625
7626 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7627 stack usage.
7628
3a2c0242
UD
76292011-10-31 Ulrich Drepper <drepper@gmail.com>
7630
f4ec4833
UD
7631 [BZ #13367]
7632 * nss/getent.c (initgroups_keys): Show error message in case no group
7633 names are given.
7634
3a2c0242
UD
7635 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7636 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7637 __bump_nl_timestamp.
7638 * nscd/connections (nscd_init): When host database is served open
7639 netlink socket and request notification about configuration changes.
7640 (main_loop_poll): Track netlink file descriptor and bump timestamp
7641 in case data becomes available.
7642 (main_loop_epoll): Likewise.
7643 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7644 (database_pers_head): Add extra_data fileds.
7645 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7646 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7647 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7648 Adjust caller.
7649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7650 in6ai data, call __free_in6ai.
7651 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7652 Add -DHAVE_NETLINK.
7653 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7654 interface information. Reuse previous data if netlink timestamp
7655 is not changed.
7656 (__bump_nl_timestamp): New function.
7657 (__free_in6ai): New function.
7658
636064eb
UD
76592011-10-30 Ulrich Drepper <drepper@gmail.com>
7660
7661 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7662 close_not_cancel_no_status here.
7663 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7664
9beb2334
UD
76652011-10-29 Ulrich Drepper <drepper@gmail.com>
7666
6ef76f3b
UD
7667 [BZ #13276]
7668 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7669 return value.
7670
0ffc4f3e 7671 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7672 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7673 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7674
cb95113e
UD
76752011-07-03 Andreas Jaeger <aj@suse.de>
7676
7677 [BZ #10709]
7678 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7679 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7680 * math/libm-test.inc (sin_test): Add test case.
7681
a1b560ff
UD
76822011-10-29 Ulrich Drepper <drepper@gmail.com>
7683
c9aaface
UD
7684 [BZ #13337]
7685 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7686 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7687
d272e7f1
UD
7688 * elf/chroot_canon.c (chroot_canon): Cleanups.
7689
1bc33071
UD
7690 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7691
1760874d
TJ
7692 [BZ #13335]
7693 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7694 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7695
51d91b18
UD
7696 * string/test-strchr.c: Make usable for strchrnul testing.
7697 * string/test-strchrnul.c: New file.
7698 * string/Makefile (strop-tests): Add strchrnul.
7699
a1b560ff 7700 * po/it.po: Update from translation team.
b611fb81 7701 * po/es.po: Likewise.
a1b560ff 7702
a5b81e1f
UD
77032011-10-28 Ulrich Drepper <drepper@gmail.com>
7704
fd52bc6d
UD
7705 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7706 the three constants needed as parameters. Drop the others.
7707 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7708 __m128i_strloadu_tolower.
52e4b9eb
UD
7709 Create and initialize variable zero and use it in all the places
7710 where _mm_setzero_si128 was used.
fd52bc6d 7711
a5b81e1f
UD
7712 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7713 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7714 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7715 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7716 anymore.
7717 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7718 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7719 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7720 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7721 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7722 __mpranred, __mptan.
7723 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7724 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7725 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7726 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7727 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7728 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7729 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7730 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7731 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7732
b4343346
AS
77332011-10-28 Andreas Schwab <schwab@redhat.com>
7734
0c92d8a8
AS
7735 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7736 redefine if SHARED.
7737 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7738
b4343346
AS
7739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7740 wide char related routines to wcsmbs subdir.
7741
3871f58f
AS
77422011-10-27 Andreas Schwab <schwab@redhat.com>
7743
7744 [BZ #13344]
7745 * misc/sys/cdefs.h (__THROWNL): Define.
7746 * posix/unistd.h: Use __THREADNL instead of __THREAD
7747 for memory synchronization functions.
7748
94d44d9f
RM
77492011-10-26 Roland McGrath <roland@hack.frob.com>
7750
21b64b15 7751 [BZ #13349]
94d44d9f
RM
7752 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7753 doesn't exist.
7754 * manual/stdio.texi (Obstack Streams): Node removed.
7755
f6ce9294
AS
77562011-10-26 Andreas Schwab <schwab@redhat.com>
7757
80479147
AS
7758 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7760 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7761
f6ce9294
AS
7762 * math/math_private.h (math_force_eval): Allow non-addressable
7763 arguments.
7764 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7765
618280a1
UD
77662011-10-25 Ulrich Drepper <drepper@gmail.com>
7767
e0016b11
UD
7768 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7769 file is not needed.
7770
7771 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7772 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7773 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7774 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7775 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7776 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7777 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7778 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7779 Add AVX variants.
7780 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7781 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7782 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7783 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7784 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7785 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7786 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7787 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7788 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7789 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7790 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7791 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7793 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7794 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7795 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7796 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7797 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7798 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7799
7800 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7801 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7802
618280a1
UD
7803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7804 place. Use VEX encoding when compiling for AVX.
7805
37822576
AS
78062011-10-25 Andreas Schwab <schwab@redhat.com>
7807
1f1e1947
AS
7808 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7809 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7810
37822576
AS
7811 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7812
31ea014d
UD
78132011-10-25 Ulrich Drepper <drepper@gmail.com>
7814
d7826aa1 7815 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7816 useless if() expression.
d7826aa1
UD
7817 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7818 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7819 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7820 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7821 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7822 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7823 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7824 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7827 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7828 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7829 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7830 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7831 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7832 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7833 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7835 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7836
31ea014d
UD
7837 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7838
16437fec
AS
78392011-10-25 Andreas Schwab <schwab@redhat.com>
7840
7841 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7842 condition.
7843 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7844
31d3cc00
UD
78452011-10-25 Ulrich Drepper <drepper@gmail.com>
7846
7847 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7848 .text section. Avoid duplicate constants.
7849 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7850 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7851 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7853 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7857 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7858 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7859 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7861 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7862 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7863 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7864 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7865 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7866 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7867 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7869 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7870 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7871 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7872 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7873 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7874 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7875 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7876 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7877 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7878 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7879 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7880 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7881 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7882 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7883 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7884 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7885 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7886 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7887 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7888 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7889 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7891 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7892 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7893 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7894
58985aa9
UD
78952011-10-24 Ulrich Drepper <drepper@gmail.com>
7896
202c9deb
UD
7897 * sysdeps/x86_64/dla.h: Move to ...
7898 * sysdeps/x86_64/fpu/dla.h: ...here.
7899 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7900 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7901
af968f62
UD
7902 * config.make.in: Add have-mfma4 entry.
7903 * configure.in: Substitute libc_cv_cc_fma4.
7904 * math/Makefile (dbl-only-routines): Add sincostab.
7905 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7906 Use __sincostab not sincos.
7907 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7908 name is a macro.
7909 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7913 using __copysign.
7914 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7915 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7916 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7917 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7918 and __inv.
7919 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7920 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7921 __copysign.
7922 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7923 define aliases when function name is a macro.
7924 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7925 sysdeps/ieee754/dbl-64/sincos.tbl.
7926 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7927 fma4-enabled routines.
7928 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7929 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7930 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7931 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7932 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7933 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7934 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7935 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7936 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7937 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7938 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7939 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7940 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7941 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7942 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7943 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7944 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7945 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7946 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7947 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7948 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7949 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7950 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7951 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7953 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7954 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7955 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7956 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7957 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7958
58985aa9
UD
7959 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7960 rename.
7961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7969
a201fbcf
AS
79702011-10-24 Andreas Schwab <schwab@redhat.com>
7971
7972 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7973
fc2ee42a
LD
79742011-10-23 Ulrich Drepper <drepper@gmail.com>
7975
bb3129bd
UD
7976 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7977
0275fff8
UD
7978 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7979 prediction.
7980 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7981
2fa2ae85
UD
7982 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7983 Remove unused variable magic_bits.
7984 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7985
fc2ee42a
LD
7986 * string/strnlen.c: Define and use STRNLEN macro.
7987 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7988 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7990 * wcsmbs/wcslen.c: Define and use WCSLEN.
7991 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7992 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7993 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7994 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7995 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7996 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7997 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7998
ce7dd29f
LD
79992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8000
8001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8002 strnlen-sse2-no-bsf.
8003 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8004 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8005 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8006 Add strnlen support.
8007 (USE_AS_STRNLEN): New macro.
8008 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8009 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8010 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8011 * sysdeps/x86_64/wcslen.S: New file.
8012
979c70a3
MZ
80132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8014
8015 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8016 XMM-moves are used for copying on small sizes.
8017
2d09f82f
LD
80182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8019
8020 * wcsmbs/Makefile (strop-tests): Add wcschr.
8021 * wcsmbs/test-wcschr.c: New file.
8022 * string/test-strchr.c: Update.
8023 Add wcschr support.
8024 (WIDE): New macro.
8025
619fccca
LD
80262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8027
2d09f82f 8028 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8029 * wcsmbs/test-wcslen.c: New file.
8030 * string/test-strlen.c: Update.
8031 Add wcslen support.
8032 (WIDE): New macro.
8033
09f699ea
UD
80342011-10-23 Ulrich Drepper <drepper@gmail.com>
8035
8036 * po/it.po: Update from translation team.
8037
95584d3b
LD
80382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8039
8040 * sysdeps/x86_64/wcscmp.S: Update.
8041 Fix wrong comparison semantics.
8042 wcscmp shall use signed comparison not unsigned.
8043 Don't use substraction to avoid overflow bug.
8044 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8045 * wcsmbc/wcscmp.c: Likewise.
8046 * string/test-strcmp.c: Likewise.
8047 Add new tests to check cases with negative values.
8048
c8b3296b
UD
80492011-10-23 Ulrich Drepper <drepper@gmail.com>
8050
8051 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8052 * sysdeps/x86_64/dla.h: ...here. New file.
8053 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8062
246ad57a
AS
80632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8064
8065 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8066 __ynl_finite aliases.
8067
a1a87169
UD
80682011-10-22 Ulrich Drepper <drepper@gmail.com>
8069
0d355eb7
UD
8070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8071
a1a87169
UD
8072 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8073 define DLA_FMA.
8074 [DLA_FMA] (EMULV): Use DLA_FMA.
8075 [DLA_FMA] (MUL12): Use EMULV.
8076 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8077 that are not needed.
8078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8085
ee2aafe0
AS
80862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8087
8088 * math/s_nan.c: Undef __nan.
8089 * math/s_nanf.c: Undef __nanf.
8090 * math/s_nanl.c: Undef __nanl.
8091 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8092 "math_private.h".
8093
bc62c2fb
UD
80942011-10-22 Ulrich Drepper <drepper@gmail.com>
8095
77425c63
UD
8096 * math/s_catan.c: Add branch predictions.
8097 * math/s_catanf.c: Likewise.
8098 * math/s_catanh.c: Likewise.
8099 * math/s_catanhf.c: Likewise.
8100 * math/s_catanhl.c: Likewise.
8101 * math/s_catanl.c: Likewise.
8102 * math/s_cexp.c: Likewise.
8103 * math/s_cexpf.c: Likewise.
8104 * math/s_cexpl.c: Likewise.
8105 * math/s_clog.c: Likewise.
8106 * math/s_clog10.c: Likewise.
8107 * math/s_clog10f.c: Likewise.
8108 * math/s_clog10l.c: Likewise.
8109 * math/s_clogf.c: Likewise.
8110 * math/s_clogl.c: Likewise.
8111 * math/s_csqrt.c: Likewise.
8112 * math/s_csqrtf.c: Likewise.
8113 * math/s_csqrtl.c: Likewise.
8114 * math/s_ctanf.c: Likewise.
8115 * math/s_ctanh.c: Likewise.
8116 * math/s_ctanhf.c: Likewise.
8117 * math/s_ctanhl.c: Likewise.
8118 * math/s_ctanl.c: Likewise.
8119
bc62c2fb
UD
8120 * math/math_private.h: Define __nan, __nanf, __nanl.
8121 * math/s_cacosh.c: Include <math_private.h>.
8122 * math/s_cacoshl.c: Likewise.
8123 * math/s_casinh.c: Likewise.
8124 * math/s_casinhf.c: Likewise.
8125 * math/s_casinhl.c: Likewise.
8126 * math/s_ccos.c: Rely entire on ccosh.
8127 * math/s_ccosf.c: Rely entire on ccoshf.
8128 * math/s_ccosl.c: Rely entirely on ccoshl.
8129 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8130 Remove tests for FE_INVALID.
8131 * math/s_ccoshf.c: Likewise.
8132 * math/s_ccoshl.c: Likewise.
8133 * math/s_csin.c: Likewise.
8134 * math/s_csinf.c: Likewise.
8135 * math/s_csinh.c Likewise.
8136 * math/s_csinhf.c: Likewise.
8137 * math/s_csinhl.c: Likewise.
8138 * math/s_csinl.c: Likewise.
8139 * math/s_ctan.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8141 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8142 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8143
8ec250a4
UD
81442011-10-21 Ulrich Drepper <drepper@gmail.com>
8145
c196fed8
UD
8146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8147 compilation problems.
8148
8ec250a4
UD
8149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8150 __builtin_expect.
8151
8d4f46c6
UD
81522011-10-20 Ulrich Drepper <drepper@gmail.com>
8153
ed72b654
UD
8154 * sysdeps/i386/configure.in: Test for -mfma4 option.
8155 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8156 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8157 COMMON_CPUID_INDEX_80000001.
8158 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8159 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8160 use it if FMA3 is not supported.
8161 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8162
8d4f46c6
UD
8163 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8164 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8165
d45c60c2
AS
81662011-10-20 Andreas Schwab <schwab@redhat.com>
8167
8168 [BZ #12892]
8169 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8170 it would create a cycle with a link time dependency.
8171
d9a4d2ab
UD
81722011-10-19 Ulrich Drepper <drepper@gmail.com>
8173
855d1560
UD
8174 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8175 instruction.
8176 * string/Makefile (strop-tests): Add rawmemchr.
8177 * string/test-rawmemchr.c: New file.
8178
d9a4d2ab
UD
8179 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8180 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8181 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8182 when compiling str{,n}casecmp and when AVX is available. Hook up
8183 new optimized code in initializers.
8184
8f3b1ffe
AS
81852011-10-19 Andreas Schwab <schwab@redhat.com>
8186
8187 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8188 __feraiseexcept instead of feraiseexcept.
8189
d38f1dba
UD
81902011-10-18 Ulrich Drepper <drepper@gmail.com>
8191
d9a8d0ab
UD
8192 * math/math_private.h: Define defaults for libc_fetestexcept and
8193 libc_feupdateenv.
8194 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8195 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8196 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8197 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8198 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8199 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8200 libc_fetestexcept and libc_feupdateenv.
8201
4855e3dd
UD
8202 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8203 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8204 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8205 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8206 libc_feholdexcept_setround.
8207
581d30e3
UD
8208 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8209 Add s_nearbyint-c and s_nearbyintf-c.
8210 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8211 nearbyintf inlines.
8212 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8213 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8214 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8215 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8216
d38f1dba
UD
8217 * math/math_private.h: Define defaults for libc_fegetround,
8218 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8219 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8220 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8221 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8222 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8223 standard functions.
8224 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8225 Remove comments and hacks for old compiler versions.
8226 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8227 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8228 libc_feholdexceptl.
8229
caa6c9d8
AS
82302011-10-18 Andreas Schwab <schwab@redhat.com>
8231
8232 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8233 (__feraiseexcept_renamed): Add __NTH.
8234 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8235 namespace violations.
8236
97c066e6
UD
82372011-10-17 Ulrich Drepper <drepper@gmail.com>
8238
99ce7b04
UD
8239 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8240
1004d182
UD
8241 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8242
228a984d
UD
8243 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8244 recently added interfaces.
8245 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8246
c8553a6a
UD
8247 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8248 about macro parameter expansion.
8249
ed22dcf6
UD
8250 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8251 __NO_MATH_INLINES is defined. Cleanups.
8252
8253 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8254 and __floorf is target has SSE4.1.
8255 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8256 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8257 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8258 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8259
b171c137
UD
8260 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8261 name.
8262 (floorf): Likewise.
8263
97c066e6
UD
8264 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8265
629f62ef
AS
82662011-10-17 Andreas Schwab <schwab@redhat.com>
8267
49a43d80
AS
8268 * misc/sys/cdefs.h: Fix last change.
8269
629f62ef
AS
8270 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8271 database lookup.
8272
e453f6cd
UD
82732011-10-16 Ulrich Drepper <drepper@gmail.com>
8274
aa78043a
UD
8275 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8276
ad0f5cad
UD
8277 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8278 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8283 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8284 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8285 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8286 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8287 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8288 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8289 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8290 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8291 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8292 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8293 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8294 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8295 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8296 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8297 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8298 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8299
8300 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8301 ceil, ceilf, floor, floorf.
8302
8303 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8304 Perform IRELATIVE relocations last.
8305
e453f6cd
UD
8306 * elf/do-rel.h: Add another parameter nrelative, replacing the
8307 local variable with the same name. Change name of the function
8308 to end in Rel or Rela (uppercase).
8309 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8310 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8311 elf_dynamic_do_##reloc function.
8312
fd5bdc09
UD
83132011-10-15 Ulrich Drepper <drepper@gmail.com>
8314
79b195b5
UD
8315 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8316 is sufficient, at least on modern CPUs.
8317
d4a28569
UD
8318 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8319
b61099b5
UD
8320 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8321 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8322
bcf01e6d
UD
8323 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8324 __expl_finite.
8325 * math/bits/math-finite.h: Add entries for exp.
8326 * math/e_expl.c: Add __*_finite alias.
8327 * sysdeps/i386/fpu/e_exp.S: Likewise.
8328 * sysdeps/i386/fpu/e_expf.S: Likewise.
8329 * sysdeps/i386/fpu/e_expl.c: Likewise.
8330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8331 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8334 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8335 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8336 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8337
ba1a0d59
UD
8338 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8339 is sufficient, at least on modern CPUs.
8340
fd5bdc09
UD
8341 * ctype/ctype-info.c (__ctype_init): Define.
8342 * include/ctype.h (__ctype_init): Declare.
8343 (__ctype_b_loc): The variable is always initialized.
8344 (__ctype_toupper_loc): Likewise.
8345 (__ctype_tolower_loc): Likewise.
8346 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8347 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8348
7872cfb0
AS
83492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8350
b468825a
AS
8351 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8352
7872cfb0
AS
8353 * configure.in: Also look in $cxxmachine/include for C++ system
8354 headers.
8355
be13f7bf
LD
83562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8357
8358 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8359 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8360 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8361 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8362 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8363 (USE_AS_WMEMCMP): New macro.
8364 Fixing indents.
8365 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8366 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8367 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8368 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8370 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8371 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8372 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8373 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8374 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8375 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8376 (USE_AS_WMEMCMP): New macro.
8377 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8378 * sysdeps/string/test-memcmp.c: Update.
8379 Fix simple_wmemcmp.
8380 Add new tests.
8381 * wcsmbs/wmemcmp.c: Update.
8382 (WMEMCMP): New macro.
8383 Fix overflow bug.
8384
556a2007
AJ
83852011-10-12 Andreas Jaeger <aj@suse.de>
8386
8387 [BZ #13268]
8388 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8389
538faaa7
UD
83902011-10-15 Ulrich Drepper <drepper@gmail.com>
8391
ab6737ff
UD
8392 * libio/iofwide.c (do_length): Avoid warning.
8393
538faaa7
UD
8394 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8395
396a21b1
UD
83962011-10-14 Ulrich Drepper <drepper@gmail.com>
8397
cdf2901f
UD
8398 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8399
38ad40ce
UD
8400 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8401 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8402 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8403 * sysdeps/i386/i686/fpu/e_log.S: New file.
8404 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8405 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8406
396a21b1
UD
8407 * ctype/ctype.h: Add support for inlined isXXX functions when
8408 compiling C++ code.
8409
6b1f68c9
AS
84102011-10-14 Andreas Schwab <schwab@redhat.com>
8411
349290c0
AS
8412 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8413
6b1f68c9
AS
8414 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8415
f2282d42
RM
84162011-10-13 Roland McGrath <roland@hack.frob.com>
8417
8418 [BZ #13291]
8419 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8420
5298ffa8
AS
84212011-10-13 Andreas Schwab <schwab@redhat.com>
8422
714fad23
AS
8423 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8424 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8425 feraiseexcept.
8426
81dcc7fb
AS
8427 * sysdeps/x86_64/memrchr.S: Check for zero size.
8428
5298ffa8
AS
8429 * string/stratcliff.c: Add memrchr tests.
8430
951fbcec
LD
84312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8432
8433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8434 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8435 rawmemchr-sse2 rawmemchr-sse2-bsf.
8436 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8437 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8438 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8439 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8440 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8441 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8442 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8443 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8444 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8445 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8446 * string/memrchr.c (MEMRCHR): New macro.
8447
0ac5ae23
UD
84482011-10-12 Ulrich Drepper <drepper@gmail.com>
8449
8450 Add integration with gcc's -ffinite-math-only and optimize wrapper
8451 functions in libm.
8452 * Versions.def: Define GLIBC_2.15 version for libm.
8453 * math/Makefile (headers): Add bits/math-finite.h.
8454 * math/bits/math-finite.h: New file.
8455 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8456 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8457 * math/e_acoshl.c: Add __*_finite alias.
8458 * math/e_acosl.c: Likewise.
8459 * math/e_asinl.c: Likewise.
8460 * math/e_atan2l.c: Likewise.
8461 * math/e_atanhl.c: Likewise.
8462 * math/e_coshl.c: Likewise.
8463 * math/e_exp10.c: Likewise.
8464 * math/e_exp10f.c: Likewise.
8465 * math/e_exp10l.c: Likewise.
8466 * math/e_exp2l.c: Likewise.
8467 * math/e_fmodl.c: Likewise.
8468 * math/e_gammal_r.c: Likewise.
8469 * math/e_hypotl.c: Likewise.
8470 * math/e_j0l.c: Likewise.
8471 * math/e_j1l.c: Likewise.
8472 * math/e_jnl.c: Likewise.
8473 * math/e_lgammal_r.c: Likewise.
8474 * math/e_log10l.c: Likewise.
8475 * math/e_log2l.c: Likewise.
8476 * math/e_logl.c: Likewise.
8477 * math/e_powl.c: Likewise.
8478 * math/e_sinhl.c: Likewise.
8479 * math/e_sqrtl.c: Likewise.
8480 * math/e_scalb.c: Completely rewritten and optimized.
8481 * math/e_scalbf.c: Likewise.
8482 * math/e_scalbl.c: Likewise.
8483 * math/w_acos.c: Likewise.
8484 * math/w_acosf.c: Likewise.
8485 * math/w_acosl.c: Likewise.
8486 * math/w_acosh.c: Likewise.
8487 * math/w_acoshf.c: Likewise.
8488 * math/w_acoshl.c: Likewise.
8489 * math/w_asin.c: Likewise.
8490 * math/w_asinf.c: Likewise.
8491 * math/w_asinl.c: Likewise.
8492 * math/w_atan2.c: Likewise.
8493 * math/w_atan2f.c: Likewise.
8494 * math/w_atan2l.c: Likewise.
8495 * math/w_atanh.c: Likewise.
8496 * math/w_atanhf.c: Likewise.
8497 * math/w_atanhl.c: Likewise.
8498 * math/w_exp10.c: Likewise.
8499 * math/w_exp10f.c: Likewise.
8500 * math/w_exp10l.c: Likewise.
8501 * math/w_fmod.c: Likewise.
8502 * math/w_fmodf.c: Likewise.
8503 * math/w_fmodl.c: Likewise.
8504 * math/w_j0.c: Likewise.
8505 * math/w_j0f.c: Likewise.
8506 * math/w_j0l.c: Likewise.
8507 * math/w_j1.c: Likewise.
8508 * math/w_j1f.c: Likewise.
8509 * math/w_j1l.c: Likewise.
8510 * math/w_jn.c: Likewise.
8511 * math/w_jnf.c: Likewise.
8512 * math/w_log.c: Likewise.
8513 * math/w_logf.c: Likewise.
8514 * math/w_logl.c: Likewise.
8515 * math/w_log10.c: Likewise.
8516 * math/w_log10f.c: Likewise.
8517 * math/w_log10l.c: Likewise.
8518 * math/w_log2.c: Likewise.
8519 * math/w_log2f.c: Likewise.
8520 * math/w_log2l.c: Likewise.
8521 * math/w_pow.c: Likewise.
8522 * math/w_powf.c: Likewise.
8523 * math/w_powl.c: Likewise.
8524 * math/w_remainder.c: Likewise.
8525 * math/w_remainderf.c: Likewise.
8526 * math/w_remainderl.c: Likewise.
8527 * math/w_scalb.c: Likewise.
8528 * math/w_scalbf.c: Likewise.
8529 * math/w_scalbl.c: Likewise.
8530 * math/w_sqrt.c: Likewise.
8531 * math/w_sqrtf.c: Likewise.
8532 * math/w_sqrtl.c: Likewise.
8533 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8534 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8535 used.
8536 * math/math_private.h: Declare __kernel_standard_f.
8537 * math/w_cosh.c: Remove cruft and optimize a bit.
8538 * math/w_coshf.c: Likewise.
8539 * math/w_coshl.c: Likewise.
8540 * math/w_exp2.c: Likewise.
8541 * math/w_exp2f.c: Likewise.
8542 * math/w_exp2l.c: Likewise.
8543 * math/w_hypot.c: Likewise.
8544 * math/w_hypotf.c: Likewise.
8545 * math/w_hypotl.c: Likewise.
8546 * math/w_lgamma.c: Likewise.
8547 * math/w_lgamma_r.c: Likewise.
8548 * math/w_lgammaf.c: Likewise.
8549 * math/w_lgammaf_r.c: Likewise.
8550 * math/w_lgammal.c: Likewise.
8551 * math/w_lgammal_r.c: Likewise.
8552 * math/w_sinh.c: Likewise.
8553 * math/w_sinhf.c: Likewise.
8554 * math/w_sinhl.c: Likewise.
8555 * math/w_tgamma.c: Likewise.
8556 * math/w_tgammaf.c: Likewise.
8557 * math/w_tgammal.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8559 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8560 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8561 Minor optimizations. Pretty printing. Remove cruft.
8562 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8563 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8564 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8565 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8566 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8567 * sysdeps/i386/fpu/e_asin.S: Likewise.
8568 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8569 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8570 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8571 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8572 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8573 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8574 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8575 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8576 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8577 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8578 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8579 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8580 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8581 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8582 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8583 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8584 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8585 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8586 * sysdeps/i386/fpu/e_log.S: Likewise.
8587 * sysdeps/i386/fpu/e_log10.S: Likewise.
8588 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8589 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8590 * sysdeps/i386/fpu/e_log2.S: Likewise.
8591 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8592 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8593 * sysdeps/i386/fpu/e_logf.S: Likewise.
8594 * sysdeps/i386/fpu/e_logl.S: Likewise.
8595 * sysdeps/i386/fpu/e_pow.S: Likewise.
8596 * sysdeps/i386/fpu/e_powf.S: Likewise.
8597 * sysdeps/i386/fpu/e_powl.S: Likewise.
8598 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8599 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8600 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8601 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8602 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8603 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8604 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8605 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8606 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8628 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8629 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8630 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8632 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8633 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8634 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8635 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8636 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8638 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8639 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8641 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8642 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8643 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8644 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8646 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8647 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8649 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8650 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8687 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8690 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8692 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8693 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8695 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8698 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8699 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8700 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8701 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8702 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8703 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8704 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8705 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8706 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8707 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8708 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8709 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8710 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8711 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8712 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8714 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8715 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8716 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8717 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8718 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8719 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8720 (__isnanf): Likewise.
8721 (__isinf_ns): Likewise.
8722 (__isinf_nsf): Likewise.
8723 (__finite): Likewise.
8724 (__finitef): Likewise.
8725 (__ieee754_sqrt): Define as macro.
8726 (__ieee754_sqrtf): Define as macro.
8727 (__ieee754_sqrtl): Define as macro.
8728 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8729 inlined copy.
8730 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8731 __FINITE_MATH_ONLY__ consistent.
8732 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8733
12cc2fcd
AS
87342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8735
a843a204
AS
8736 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8737 of rawmemchr.
8738
12cc2fcd
AS
8739 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8740
c853acd5
UD
87412011-10-09 Ulrich Drepper <drepper@gmail.com>
8742
8743 * po/ja.po: Update from translation team.
8744
c658d255
RM
87452011-10-08 Roland McGrath <roland@hack.frob.com>
8746
110946e4
RM
8747 * locale/programs/locarchive.c (prepare_address_space): New function.
8748 (create_archive, enlarge_archive, open_archive): Use it.
8749
50604220
RM
8750 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8751 inside [SHARED], where it is used.
8752
c658d255
RM
8753 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8754
8755 * nss/getent.c (netgroup_keys): Remove unused variable.
8756 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8757
6a621eb7
UD
87582011-10-08 Ulrich Drepper <drepper@gmail.com>
8759
7edb55ce
UD
8760 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8761 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8763 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8764 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8765 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8766 * math/Makefile (libm-calls): Add s_isinf_ns.
8767 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8768 * math/multc3.c: Likewise.
8769 * math/s_casin.c: Likewise.
8770 * math/s_casinf.c: Likewise.
8771 * math/s_casinl.c: Likewise.
8772 * math/s_ccos.c: Likewise.
8773 * math/s_ccosf.c: Likewise.
8774 * math/s_ccosl.c: Likewise.
8775 * math/s_ctan.c: Likewise.
8776 * math/s_ctanf.c: Likewise.
8777 * math/s_ctanh.c: Likewise.
8778 * math/s_ctanhf.c: Likewise.
8779 * math/s_ctanhl.c: Likewise.
8780 * math/s_ctanl.c: Likewise.
8781 * math/w_fmod.c: Likewise.
8782 * math/w_fmodf.c: Likewise.
8783 * math/w_fmodl.c: Likewise.
8784 * math/w_remainder.c: Likewise.
8785 * math/w_remainderf.c: Likewise.
8786 * math/w_remainderl.c: Likewise.
8787 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8788 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8789 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8791 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8792 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8793 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8794 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8795
187da0ae
UD
8796 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8797 of the number.
8798 * stdio-common/printf_fphex.c: Likewise.
8799 * stdio-common/printf_size.c: Likewise.
8800
9277c064
UD
8801 * math/e_exp10.c: Include math_private.h using <...> not "...".
8802 * math/e_exp10f.c: Likewise.
8803 * math/e_exp10l.c: Likewise.
8804 * math/e_exp2l.c: Likewise.
8805 * math/e_j0l.c: Likewise.
8806 * math/e_j1l.c: Likewise.
8807 * math/e_jnl.c: Likewise.
8808 * math/e_lgammal_r.c: Likewise.
8809 * math/e_rem_pio2l.c: Likewise.
8810 * math/e_scalb.c: Likewise.
8811 * math/e_scalbf.c: Likewise.
8812 * math/e_scalbl.c: Likewise.
8813 * math/k_cosl.c: Likewise.
8814 * math/k_sinl.c: Likewise.
8815 * math/k_tanl.c: Likewise.
8816 * math/s_cacoshf.c: Likewise.
8817 * math/s_catan.c: Likewise.
8818 * math/s_catanf.c: Likewise.
8819 * math/s_catanh.c: Likewise.
8820 * math/s_catanhf.c: Likewise.
8821 * math/s_catanhl.c: Likewise.
8822 * math/s_catanl.c: Likewise.
8823 * math/s_ccosh.c: Likewise.
8824 * math/s_ccoshf.c: Likewise.
8825 * math/s_ccoshl.c: Likewise.
8826 * math/s_cexp.c: Likewise.
8827 * math/s_cexpf.c: Likewise.
8828 * math/s_cexpl.c: Likewise.
8829 * math/s_clog.c: Likewise.
8830 * math/s_clog10.c: Likewise.
8831 * math/s_clog10f.c: Likewise.
8832 * math/s_clog10l.c: Likewise.
8833 * math/s_clogf.c: Likewise.
8834 * math/s_clogl.c: Likewise.
8835 * math/s_csin.c: Likewise.
8836 * math/s_csinf.c: Likewise.
8837 * math/s_csinh.c: Likewise.
8838 * math/s_csinhf.c: Likewise.
8839 * math/s_csinhl.c: Likewise.
8840 * math/s_csinl.c: Likewise.
8841 * math/s_csqrt.c: Likewise.
8842 * math/s_csqrtf.c: Likewise.
8843 * math/s_csqrtl.c: Likewise.
8844 * math/s_ctan.c: Likewise.
8845 * math/s_ctanf.c: Likewise.
8846 * math/s_ctanh.c: Likewise.
8847 * math/s_ctanhf.c: Likewise.
8848 * math/s_ctanhl.c: Likewise.
8849 * math/s_ctanl.c: Likewise.
8850 * math/s_ldexp.c: Likewise.
8851 * math/s_ldexpf.c: Likewise.
8852 * math/s_ldexpl.c: Likewise.
8853 * math/s_significand.c: Likewise.
8854 * math/s_significandf.c: Likewise.
8855 * math/s_significandl.c: Likewise.
8856 * math/w_acos.c: Likewise.
8857 * math/w_acosf.c: Likewise.
8858 * math/w_acosh.c: Likewise.
8859 * math/w_acoshf.c: Likewise.
8860 * math/w_acoshl.c: Likewise.
8861 * math/w_acosl.c: Likewise.
8862 * math/w_asin.c: Likewise.
8863 * math/w_asinf.c: Likewise.
8864 * math/w_asinl.c: Likewise.
8865 * math/w_atan2.c: Likewise.
8866 * math/w_atan2f.c: Likewise.
8867 * math/w_atan2l.c: Likewise.
8868 * math/w_atanh.c: Likewise.
8869 * math/w_atanhf.c: Likewise.
8870 * math/w_atanhl.c: Likewise.
8871 * math/w_cosh.c: Likewise.
8872 * math/w_coshf.c: Likewise.
8873 * math/w_coshl.c: Likewise.
8874 * math/w_dremf.c: Likewise.
8875 * math/w_exp10.c: Likewise.
8876 * math/w_exp10f.c: Likewise.
8877 * math/w_exp10l.c: Likewise.
8878 * math/w_exp2.c: Likewise.
8879 * math/w_exp2f.c: Likewise.
8880 * math/w_fmod.c: Likewise.
8881 * math/w_fmodf.c: Likewise.
8882 * math/w_fmodl.c: Likewise.
8883 * math/w_hypot.c: Likewise.
8884 * math/w_hypotf.c: Likewise.
8885 * math/w_hypotl.c: Likewise.
8886 * math/w_j0.c: Likewise.
8887 * math/w_j0f.c: Likewise.
8888 * math/w_j0l.c: Likewise.
8889 * math/w_j1.c: Likewise.
8890 * math/w_j1f.c: Likewise.
8891 * math/w_j1l.c: Likewise.
8892 * math/w_jn.c: Likewise.
8893 * math/w_jnf.c: Likewise.
8894 * math/w_jnl.c: Likewise.
8895 * math/w_lgamma.c: Likewise.
8896 * math/w_lgamma_r.c: Likewise.
8897 * math/w_lgammaf.c: Likewise.
8898 * math/w_lgammaf_r.c: Likewise.
8899 * math/w_lgammal.c: Likewise.
8900 * math/w_lgammal_r.c: Likewise.
8901 * math/w_log.c: Likewise.
8902 * math/w_log10.c: Likewise.
8903 * math/w_log10f.c: Likewise.
8904 * math/w_log10l.c: Likewise.
8905 * math/w_log2.c: Likewise.
8906 * math/w_log2f.c: Likewise.
8907 * math/w_log2l.c: Likewise.
8908 * math/w_logf.c: Likewise.
8909 * math/w_logl.c: Likewise.
8910 * math/w_pow.c: Likewise.
8911 * math/w_powf.c: Likewise.
8912 * math/w_powl.c: Likewise.
8913 * math/w_remainder.c: Likewise.
8914 * math/w_remainderf.c: Likewise.
8915 * math/w_remainderl.c: Likewise.
8916 * math/w_scalb.c: Likewise.
8917 * math/w_scalbf.c: Likewise.
8918 * math/w_scalbl.c: Likewise.
8919 * math/w_sinh.c: Likewise.
8920 * math/w_sinhf.c: Likewise.
8921 * math/w_sinhl.c: Likewise.
8922 * math/w_sqrt.c: Likewise.
8923 * math/w_sqrtf.c: Likewise.
8924 * math/w_sqrtl.c: Likewise.
8925 * math/w_tgamma.c: Likewise.
8926 * math/w_tgammaf.c: Likewise.
8927 * math/w_tgammal.c: Likewise.
8928
6a621eb7
UD
8929 * po/ja.po: Update from translation team.
8930
bf582445
AJ
89312011-09-29 Andreas Jaeger <aj@suse.de>
8932
f9efbf3a
AJ
8933 [BZ #13179]
8934 * sunrpc/netname.c (netname2host): Fix logic.
8935
bf582445
AJ
8936 [BZ #6779]
8937 [BZ #6783]
8938 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8939 correctly.
8940 * math/w_remainder.c (__remainder): Likewise.
8941 * math/w_remainderf.c (__remainderf): Likewise.
8942 * math/libm-test.inc (remainder_test): Add test cases.
8943
48693bea
AK
89442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8945
8946 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8947 sdiv_qrnnd.
8948
42622229
LD
89492011-10-07 Ulrich Drepper <drepper@gmail.com>
8950
8951 * string/test-memcmp.c: Avoid unncessary #defines.
8952 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8953
093ecf92
LD
89542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8955
8956 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8957 Use new sse2 version for core i3 - i7 as it's faster
8958 than sse42 version.
8959 (bit_Prefer_PMINUB_for_stringop): New.
8960 * sysdeps/x86_64/rawmemchr.S: Update.
8961 Replace with faster SSE2 version.
8962 * sysdeps/x86_64/memrchr.S: New file.
8963 * sysdeps/x86_64/memchr.S: Update.
8964 Replace with faster SSE2 version.
8965
fde56e5c
MP
89662011-09-12 Marek Polacek <mpolacek@redhat.com>
8967
8968 * elf/dl-load.c (lose): Add cast to avoid warning.
8969
21fd49a9
UD
89702011-10-07 Ulrich Drepper <drepper@gmail.com>
8971
5a06e643
UD
8972 * po/ca.po: Update from translation team.
8973
684ae515
UD
8974 * inet/getnetgrent_r.c: Hook up nscd.
8975 * nscd/Makefile (routines): Add nscd_netgroup.
8976 (nscd-modules): Add netgroupcache.
8977 (CFLAGS-netgroupcache.c): Define.
8978 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8979 (cache_search): Add const to second parameter.
8980 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8981 INNETGR.
8982 (dbs): Add netgrdb entry.
8983 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8984 (verify_persistent_db): Handle netgrdb.
8985 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8986 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8987 GETFDNETGR.
8988 (netgroup_response_header): Define.
8989 (innetgroup_response_header): Define.
8990 (datahead): Add netgroup_response_header and innetgroup_response_header
8991 elements.
8992 * nscd/nscd.conf: Add entries for netgroup cache.
8993 * nscd/nscd.h (dbtype): Add netgrdb.
8994 (_PATH_NSCD_NETGROUP_DB): Define.
8995 (netgroup_iov_disabled): Declare.
8996 (xmalloc, xcalloc, xrealloc): Move declarations here.
8997 (cache_search): Adjust prototype.
8998 Add netgroup-related prototypes.
8999 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9000 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9001 (__nscd_innetgr): Declare.
9002 * nscd/selinux.c (perms): Use access_vector_t as element type and
9003 add netgroup-related initializers.
9004 * nscd/netgroupcache.c: New file.
9005 * nscd/nscd_netgroup.c: New file.
9006 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9007 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9008 For four parameters use innetgr.
9009 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9010 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9011 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9012 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9013
21fd49a9
UD
9014 * nscd/connections.c (register_traced_file): Don't register file
9015 for disabled databases.
9016
054c0457
UD
90172011-10-06 Ulrich Drepper <drepper@gmail.com>
9018
32b63198
UD
9019 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9020
054c0457
UD
9021 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9022 from tree and freeing node.
9023
64031225
JO
90242011-09-25 Jiri Olsa <jolsa@redhat.com>
9025
9026 * nss/nsswitch.c (__nss_database_lookup): Handle
9027 nss_parse_service_list out of memory case.
9028
0490345c
JO
90292011-09-15 Jiri Olsa <jolsa@redhat.com>
9030
9031 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9032 out of memory case.
9033
3a62d00d
AS
90342011-10-04 Andreas Schwab <schwab@redhat.com>
9035
9036 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9037 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9038 pass it down.
9039 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9040 elf_machine_rela, elf_machine_lazy_rel.
9041 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9042 (ELF_DYNAMIC_DO_REL): Likewise.
9043 (ELF_DYNAMIC_DO_RELA): Likewise.
9044 (ELF_DYNAMIC_RELOCATE): Likewise.
9045 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9046 to ELF_DYNAMIC_DO_REL.
9047 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9048 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9049 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9050 elf_machine_rela.
9051 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9052 skip_ifunc, don't call ifunc function if non-zero.
9053 (elf_machine_rela): Likewise.
9054 (elf_machine_lazy_rel): Likewise.
9055 (elf_machine_lazy_rela): Likewise.
9056 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9057 (elf_machine_lazy_rel): Likewise.
9058 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9059 Likewise.
9060 (elf_machine_lazy_rel): Likewise.
9061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9062 Likewise.
9063 (elf_machine_lazy_rel): Likewise.
9064 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9065 (elf_machine_lazy_rel): Likewise.
9066 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9067 (elf_machine_lazy_rel): Likewise.
9068 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9069 (elf_machine_lazy_rel): Likewise.
9070 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9071 (elf_machine_lazy_rel): Likewise.
9072 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9073 (elf_machine_lazy_rel): Likewise.
9074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9075 (elf_machine_lazy_rel): Likewise.
9076
68577918
UD
90772011-09-28 Ulrich Drepper <drepper@gmail.com>
9078
9079 * nss/nss_files/files-init.c (_nss_files_init): Use static
9080 initialization for all the *_traced_file variables.
9081
68822d74
AS
90822011-09-28 Andreas Schwab <schwab@redhat.com>
9083
9084 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9085
2056100b
RM
90862011-09-27 Roland McGrath <roland@hack.frob.com>
9087
9088 [BZ #13226]
9089 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9090
32c76b63
AS
90912011-09-27 Andreas Schwab <schwab@redhat.com>
9092
9093 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9094 Reread the line before reparsing it.
9095
bf972c9d
AS
90962011-09-26 Andreas Schwab <schwab@redhat.com>
9097
9098 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9099
e057a1b5
JM
91002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9101 Maxim Kuvyrkov <maxim@codesourcery.com>
9102 Joseph Myers <joseph@codesourcery.com>
9103
9104 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9105 if needed for __stack_chk_guard.
9106
bc7e1c36
RM
91072011-09-19 Roland McGrath <roland@hack.frob.com>
9108
ecb1482f
RM
9109 * sysdeps/posix/spawni.c (script_execute): Always define it.
9110 It will be optimized away if unused.
9111 (maybe_script_execute): New function.
9112 (__spawni): Call it.
9113
bc7e1c36
RM
9114 * Makerules: Don't include tls.make.
9115 (config-tls): Always set to thread.
9116 * tls.make.c: File removed.
9117
1c3b002b
MF
91182011-09-19 Mike Frysinger <vapier@gentoo.org>
9119
9120 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9121 * config.make.in (CPPFLAGS-config): New substituted variable.
9122
2840865d
UD
91232011-09-15 Ulrich Drepper <drepper@gmail.com>
9124
88738eb6
UD
9125 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9126
cbf645a6 9127 [BZ #13192]
2840865d
UD
9128 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9129 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9130
b402e91a
RM
91312011-09-15 Roland McGrath <roland@hack.frob.com>
9132
9133 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9134 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9136 (CALL_FAIL): Likewise.
9137 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9138 (CALL_FAIL): Macro removed.
9139 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9140
4c1a1f71
UD
91412011-09-15 Ulrich Drepper <drepper@gmail.com>
9142
9143 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9144 for __FINITE_MATH_ONLY__ == 1.
9145
edc121be
AS
91462011-09-15 Andreas Schwab <schwab@redhat.com>
9147
9148 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9149 __ieee754_sqrt instead of sqrt.
9150 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9151 __ieee754_sqrtf instead of sqrtf.
9152 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9153 __floorf instead of floorf.
9154 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9155 __floorf, __truncf instead of floorf, truncf.
9156
cd205654
UD
91572011-09-14 Ulrich Drepper <drepper@gmail.com>
9158
ee4d0315
UD
9159 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9160
cd205654
UD
9161 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9162 __extern_always_inline.
9163 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9164 32-bit.
9165
48b67d71
AS
91662011-09-14 Andreas Schwab <schwab@redhat.com>
9167
9168 * elf/rtld.c (dl_main): Also relocate in dependency order when
9169 doing symbol dependency testing.
9170
1ae12c75
AS
91712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9172
9173 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9174 Always define `refsym'.
9175
995a80df
AS
91762011-09-13 Andreas Schwab <schwab@redhat.com>
9177
e529793b
AS
9178 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9179 (__FD_ELT): Renamed from __FDELT.
9180 * misc/bits/select2.h (__FD_ELT): Likewise.
9181 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9182 __FD_MASK instead of __FDELT, __FDMASK.
9183 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9184 Likewise.
9185 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9186 Likewise.
9187
52d4fef8
AS
9188 * elf/Makefile (gen-ldd): Fix pattern.
9189
995a80df
AS
9190 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9191 (init_tls): Likewise.
9192
8682f8b0
UD
91932011-09-12 Ulrich Drepper <drepper@gmail.com>
9194
9195 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9196
de82006d
AS
91972011-09-12 Andreas Schwab <schwab@redhat.com>
9198
a7c8e6a1
AS
9199 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9200 `struct cmsghdr *' instead of `void *'.
9201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9202 Likewise.
9203
0f31fe77
AS
92042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9205
9206 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9207 if non-absolute.
9208 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9209 ldd_rewrite_script.
0f31fe77 9210
32b4c839
UD
92112011-09-11 Ulrich Drepper <drepper@gmail.com>
9212
83cd1420
UD
9213 * configure.in: Remove --with-tls option.
9214 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9215 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9216 out in case it is missing.
9217 * sysdeps/ia64/elf/configure.in: Likewise.
9218 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9219 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9220 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9221 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9222 * sysdeps/sh/elf/configure.in: Likewise.
9223 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9224 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9225 * sysdeps/x86_64/elf/configure.in: Likewise.
9226 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9227 * sysdeps/mach/hurd/tls.h: Likewise.
9228
633f745d
UD
9229 [BZ #13067]
9230 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9231
f318beb8
UD
9232 [BZ #13090]
9233 * configure.in: Fix use of AC_INIT.
9234
32b4c839
UD
9235 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9236
3ce1f295
UD
92372011-09-10 Ulrich Drepper <drepper@gmail.com>
9238
bb016596
UD
9239 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9240 __set_errno.
8e58439c
UD
9241 * malloc/hooks.c: Likewise.
9242
aebae053 9243 [BZ #11929]
02d46fc4
UD
9244 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9245 variables statically.
9246 (narenas): Initialize.
9247 (list_lock): Initialize.
bb016596
UD
9248 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9249 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9250 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9251 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9252 Add initializers to main_arena and mp_.
9253 (malloc_state): Remove pagesize member. Change all users to use
9254 GLRO(dl_pagesize).
9255
9256 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9257 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9258 is always initialized.
9259
22a89187
UD
9260 * malloc/malloc.c: Removed unused configurations and dead code.
9261 * malloc/arena.c: Likewise.
9262 * malloc/hooks.c: Likewise.
02d46fc4 9263 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9264
d063d164
UD
9265 * include/tls.h: Removed. USE___THREAD must always be defined.
9266 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9267 * elf/dl-libc.c: Likewise.
9268 * elf/dl-tsd.c: Likewise.
9269 * include/errno.h: Likewise.
9270 * include/netdb.h: Likewise.
9271 * include/resolv.h: Likewise.
9272 * inet/herrno-loc.c: Likewise.
9273 * inet/herrno.c: Likewise.
9274 * malloc/arena.c: Likewise.
9275 * malloc/hooks.c: Likewise.
9276 * malloc/malloc.c: Likewise.
9277 * resolv/res-state.c: Likewise.
9278 * resolv/res_libc.c: Likewise.
9279 * sysdeps/i386/dl-machine.h: Likewise.
9280 * sysdeps/ia64/dl-machine.h: Likewise.
9281 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9282 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9283 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9284 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9285 * sysdeps/sh/dl-machine.h: Likewise.
9286 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9287 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9288 * sysdeps/unix/i386/sysdep.S: Likewise.
9289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9290 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9294 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9295 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9299 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9300 * sysdeps/x86_64/dl-machine.h: Likewise.
9301 * tls.make.c: Likewise.
9302
3ce1f295
UD
9303 * configure.in: Remove --with-__thread option. Make tests for
9304 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9305 tls_model attribute fail if no support is available. Remove
9306 USE_IN_LIBIO.
9307 * Makeconfig: Adjust for dropped configure option. All features are
9308 now mandatory.
9309 * Makerules: Likewise.
9310 * Versions.def: Likewise.
9311 * argp/argp-fmtstream.c: Likewise.
9312 * argp/argp-fmtstream.h: Likewise.
9313 * argp/argp-help.c: Likewise.
9314 * assert/assert.c: Likewise.
9315 * config.h.in: Likewise.
9316 * config.make.in: Likewise.
9317 * configure: Likewise.
9318 * configure.in: Likewise.
9319 * csu/Versions: Likewise.
9320 * csu/init.c: Likewise.
9321 * elf/tst-audit2.c: Likewise.
9322 * elf/tst-tls10.c: Likewise.
9323 * elf/tst-tls10.h: Likewise.
9324 * elf/tst-tls11.c: Likewise.
9325 * elf/tst-tls12.c: Likewise.
9326 * elf/tst-tls14.c: Likewise.
9327 * elf/tst-tlsmod11.c: Likewise.
9328 * elf/tst-tlsmod12.c: Likewise.
9329 * elf/tst-tlsmod13.c: Likewise.
9330 * elf/tst-tlsmod13a.c: Likewise.
9331 * elf/tst-tlsmod14a.c: Likewise.
9332 * elf/tst-tlsmod15b.c: Likewise.
9333 * elf/tst-tlsmod16a.c: Likewise.
9334 * elf/tst-tlsmod16b.c: Likewise.
9335 * elf/tst-tlsmod7.c: Likewise.
9336 * elf/tst-tlsmod8.c: Likewise.
9337 * elf/tst-tlsmod9.c: Likewise.
9338 * gmon/gmon.c: Likewise.
9339 * grp/fgetgrent_r.c: Likewise.
9340 * grp/putgrent.c: Likewise.
9341 * hurd/fopenport.c: Likewise.
9342 * include/libc-symbols.h: Likewise.
9343 * include/tls.h: Likewise.
9344 * intl/gettextP.h: Likewise.
9345 * intl/loadinfo.h: Likewise.
9346 * locale/global-locale.c: Likewise.
9347 * locale/localeinfo.h: Likewise.
9348 * mach/devstream.c: Likewise.
9349 * malloc/arena.c: Likewise.
9350 * malloc/set-freeres.c: Likewise.
9351 * misc/err.c: Likewise.
9352 * misc/getttyent.c: Likewise.
9353 * misc/mntent_r.c: Likewise.
9354 * posix/getopt.c: Likewise.
9355 * posix/wordexp.c: Likewise.
9356 * pwd/fgetpwent_r.c: Likewise.
9357 * resolv/Versions: Likewise.
9358 * resolv/res_hconf.c: Likewise.
9359 * shadow/fgetspent_r.c: Likewise.
9360 * shadow/putspent.c: Likewise.
9361 * stdio-common/printf_fphex.c: Likewise.
9362 * stdio-common/tmpfile.c: Likewise.
9363 * stdlib/abort.c: Likewise.
9364 * stdlib/fmtmsg.c: Likewise.
9365 * sunrpc/auth_unix.c: Likewise.
9366 * sunrpc/clnt_perr.c: Likewise.
9367 * sunrpc/clnt_tcp.c: Likewise.
9368 * sunrpc/clnt_udp.c: Likewise.
9369 * sunrpc/clnt_unix.c: Likewise.
9370 * sunrpc/openchild.c: Likewise.
9371 * sunrpc/svc_simple.c: Likewise.
9372 * sunrpc/svc_tcp.c: Likewise.
9373 * sunrpc/svc_udp.c: Likewise.
9374 * sunrpc/svc_unix.c: Likewise.
9375 * sunrpc/xdr.c: Likewise.
9376 * sunrpc/xdr_array.c: Likewise.
9377 * sunrpc/xdr_rec.c: Likewise.
9378 * sunrpc/xdr_ref.c: Likewise.
9379 * sunrpc/xdr_stdio.c: Likewise.
9380
1248c1c4
PB
93812011-09-09 Ulrich Drepper <drepper@gmail.com>
9382
9383 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9384
93852011-07-03 Andreas Jaeger <aj@suse.de>
9386
9387 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9388 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9389 regenerate with gen-libm-tests.pl.
9390
93912010-05-12 Petr Baudis <pasky@suse.cz>
9392
9393 [BZ #11589]
9394 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9395 around j0() zero points by switching to j1().
9396 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9397 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9398 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9399 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9400
f22e1074
UD
94012011-09-09 Ulrich Drepper <drepper@gmail.com>
9402
f19009c1
UD
9403 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9404 instead of 0.
9405 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9406 instead of 0. .
9407 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9408 Patch in part by Pavel Roskin <proski@gnu.org>.
9409
3f8cc204
UD
9410 [BZ #13138]
9411 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9412 realloc.
9413 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9414 Free memory block if necessary.
9415
f22e1074
UD
9416 [BZ #12847]
9417 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9418 be NULL. Don't lock in this case.
9419
0a2349f9
RM
94202011-09-09 Roland McGrath <roland@hack.frob.com>
9421
9422 * elf/elf.h (ELFOSABI_GNU): New macro.
9423 (ELFOSABI_LINUX): Define to that.
9424
f3cdd467
DZ
94252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9426
9427 * string/strncat.c (strncat): Undef the symbol in case it has been
9428 defined in bits/string.h.
9429
74718d13
UD
94302011-09-09 Ulrich Drepper <drepper@gmail.com>
9431
633e9e0f
UD
9432 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9433
0a2349f9 9434 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9435 link map.
9436
f9924780
AJ
94372011-08-17 Andreas Jaeger <aj@suse.de>
9438
9439 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9440
7f5517aa
PP
94412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9442 Ian Lance Taylor <iant@google.com>
9443
9444 * math/libm-test.inc (lround_test): New testcase.
9445 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9446
762011fe
UD
94472011-09-08 Ulrich Drepper <drepper@gmail.com>
9448
92963737
UD
9449 * Makefile: Remove support for automatic cvs check-ins.
9450 * Makerules: Likewise.
9451 * config.make.in: Likewise.
9452 * configure.in: Likewise.
9453 * intl/Makefile: Likewise.
9454 * locale/Makefile: Likewise.
9455 * po/Makefile: Likewise.
9456 * posix/Makefile: Likewise.
9457 * sysdeps/gnu/Makefile: Likewise.
9458 * sysdeps/mach/hurd/Makefile: Likewise.
9459 * sysdeps/sparc/sparc32/Makefile: Likewise.
9460
b0727fd8
JS
9461 [BZ #13118]
9462 * posix/Makefile (bug-regex32-ENV): Define.
9463 Patch by John Stanley <jpsinthemix@verizon.net>.
9464
a0f33f99
UD
9465 * misc/Makefile (headers): Add bits/select2.h.
9466 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9467 * misc/bits/select2.h: New file.
9468 * include/bits/select2.h: New file.
9469 * debug/Makefile (routines): Add fdelt_chk.
9470 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9471 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9472 FD_ISSET.
9473 * debug/fdelt_chk.c: New file.
9474
762011fe
UD
9475 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9476 * wcsmbs/test-wmemcmp.c: Likewise.
9477 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9478 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9479
94802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9481
9482 * string/Makefile (strop-tests): Add memcmp.
9483 * string/test-wmemcmp.c: New file.
9484 * string/test-memcmp.c: Add wmemcmp support.
9485
7f513ec8
RM
94862011-09-08 Roland McGrath <roland@hack.frob.com>
9487
0442afb4
RM
9488 [BZ #13153]
9489 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9490 2011-07-19 change.
9491
7f513ec8
RM
9492 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9493 garbage value in a __mach_port_mod_refs call in the cases of the
9494 task-self and thread-self ports.
9495
a12b2239
ST
94962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9497
9498 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9499
610f9ab4
AS
95002011-09-08 Andreas Schwab <schwab@redhat.com>
9501
7f513ec8 9502 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9503
48882a1a
LD
95042011-09-07 Ulrich Drepper <drepper@gmail.com>
9505
b49865be
UD
9506 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9507
fdc86bc9
UD
9508 * elf/dl-libc.c (dlerror_run): Pass back error code from
9509 dl_catch_error.
9510
c966526a
UD
9511 [BZ #13123]
9512 * elf/dl-load.c (lose): Free l_origin if it is valid.
9513
48882a1a
LD
9514 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9515 names.
9516 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9517 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9518 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9520 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9521 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9522
77a2a8b4
AZ
95232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9524
9525 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9526 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9527 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9528 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9529 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9530 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9531 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9532 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9533 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9534 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9535
24f579d8
AM
95362011-08-15 Alan Modra <amodra@gmail.com>
9537
9538 [BZ #13092]
9539 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9540 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9541 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9542 ppc_mcount to static-only-routines.
9543 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9544 __mcount_internal.
9545 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9546 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9547
3d4837df
UD
95482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9549
9550 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9551 for finite and infinity parameters.
9552
22700377
WS
95532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9554
9555 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9556 and add nop instructions for throughput optimization.
9557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9558
5025581e
WS
95592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9560
9561 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9562 aligned copy for power7 with vector-scalar instructions.
9563 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9564
08a300c9
L
95652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9566
9567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9568 AVX check.
9569
59178ef9
AS
95702011-09-07 Andreas Schwab <schwab@redhat.com>
9571
9572 [BZ #13144]
9573 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9574 last change.
9575
e38ba7ab
UD
95762011-09-07 Ulrich Drepper <drepper@gmail.com>
9577
9578 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9579 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9580 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9581 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9582 clock_gettime.
9583
d53a73ac
UD
95842011-09-06 Ulrich Drepper <drepper@gmail.com>
9585
fc8bffcc
UD
9586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9587 Forgot to demangle the pointer.
9588
ceaa0c5d
UD
9589 * sysdeps/i386/sysdep.h: Define atom_text_section.
9590 * sysdeps/x86_64/sysdep.h: Likewise.
9591 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9592 section with atom_text_section.
9593 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9594 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9595 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9596 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9597 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9598
a77d3c17
UD
9599 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9600 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9601 already be defined. Change to take two parameters and don't assign
9602 result to variable. Adjust all users.
9603 Define INTERNAL_GETTIME if not already defined.
9604 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9605 call.
9606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9607 HAVE_CLOCK_GETTIME_VSYSCALL.
9608 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9609
d53a73ac
UD
9610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9611 gettimeofday vsyscall, just use time.
9612
a8f84144
AS
96132011-09-06 Andreas Schwab <schwab@redhat.com>
9614
9615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9616 <errno.h>.
9617
ef606249
UD
96182011-09-06 Ulrich Drepper <drepper@gmail.com>
9619
9620 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9621 syscall on x86-64.
9622 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9623 syscall.
9624 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9625 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9626 syscall if possible.
9627
6585cb60
UD
96282011-09-05 Ulrich Drepper <drepper@gmail.com>
9629
9630 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9631 e_ident. Don't pass to find_mapsXX.
9632 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9633
a5f524e4
LD
96342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9635
9636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9637 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9638 * sysdeps/x86_64/multiarch/strchr.S: Update.
9639 Check bit_slow_BSF bit.
9640 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9641 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9642 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9643
554881ef
UD
96442011-09-05 Ulrich Drepper <drepper@gmail.com>
9645
d96de963
UD
9646 [BZ #13134]
9647 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9648 before glibc 2.15.
9649 (tryshell): Define.
9650 (__spawni): Change last parameter to be flag. Test
9651 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9652 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9653 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9654 * posix/spawni.c: Likewise.
9655 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9656 * posix/spawnp.c: Likewise. Change normal version to use
9657 SPAWN_XFLAGS_USE_PATH.
9658 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9659 SPAWN_XFLAGS_TRY_SHELL.
9660
d48e5868
UD
9661 [BZ #13150]
9662 * posix/glob.h: Remove gcc 1.x support.
9663
554881ef
UD
9664 [BZ #13068]
9665 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9666
693fb948
LD
96672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9668
9669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9670 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9671 strrchr-sse2-bsf
9672 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9673 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9674 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9675 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9676 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9677 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9678
1b48c537
UD
96792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9680
49d42c37
UD
9681 * sysdeps/x86_64/wcscmp.S: New file.
9682
1b48c537
UD
9683 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9684 wcscmp-c wcscmp-sse2
9685 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9686 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9687 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9688 * wcsmbs/wcscmp.c: Allow renaming.
9689
15c95c5d
DM
96902011-09-05 David S. Miller <davem@davemloft.net>
9691
9692 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9693 stack slot, rather than the struct return pointer slot.
9694 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9695 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9697 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9698
2f0ad8f3
UD
96992011-09-05 Ulrich Drepper <drepper@gmail.com>
9700
d88ae418
UD
9701 * po/ja.po: Update from translation team.
9702
2f0ad8f3
UD
9703 [BZ #13144]
9704 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9705 kernel in 64-bit binaries.
9706
5f4318d1
DM
97072011-09-01 David S. Miller <davem@davemloft.net>
9708
9709 * elf/elf.h (HWCAP_SPARC_*): Move to..
9710 * sysdeps/sparc/sysdep.h: this new file and add new values.
9711 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9712 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9713 _DL_HWCAP_COUNT to 24.
9714 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9715 entries.
9716 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9717 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9718 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9719 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9720 instead of magic constants.
9721 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9722
3ba57516
DM
97232011-08-31 David S. Miller <davem@davemloft.net>
9724
9725 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9727 Reimplement to do errno handling inline.
9728 (SYSCALL_ERROR_HANDLER): New macro.
9729 (__SYSCALL_STRING): Do not do errno handling in asm.
9730 (__CLONE_SYSCALL_STRING): Delete.
9731 (__INTERNAL_SYSCALL_STRING): Delete.
9732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9733 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9734 (PSEUDO): Reimplement to do errno handling inline.
9735 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9736 (SYSCALL_ERROR_HANDLER): New macro.
9737 (__SYSCALL_STRING): Do not do errno handling in asm.
9738 (__CLONE_SYSCALL_STRING): Delete.
9739 (__INTERNAL_SYSCALL_STRING): Delete.
9740 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9741 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9742 i386.
9743 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9744 (inline_syscall*): Add 'err' argument.
9745 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9746 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9747 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9748 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9749
9750 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9751 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9752
2bc17433
AS
97532011-08-30 Andreas Schwab <schwab@redhat.com>
9754
9755 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9756
fbeb5f4d
JO
97572011-08-29 Jiri Olsa <jolsa@redhat.com>
9758
9759 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9760 directive.
9761
ad69cc26
DM
97622011-08-24 David S. Miller <davem@davemloft.net>
9763
9764 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9765
39dd69df
AS
97662011-08-24 Andreas Schwab <schwab@redhat.com>
9767
9768 * elf/Makefile: Add rules to build and run unload8 test.
9769 * elf/unload8.c: New file.
9770 * elf/unload8mod1.c: New file.
9771 * elf/unload8mod1x.c: New file.
9772 * elf/unload8mod2.c: New file.
9773 * elf/unload8mod3.c: New file.
9774
9775 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9776 it wasn't used.
9777
2c0b250a
DM
97782011-08-23 David S. Miller <davem@davemloft.net>
9779
9780 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9781 subtract stack bias.
9782 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9783 %sp not %fp in calculations.
9784 (_JMPBUF_UNWINDS_ADJ): Likewise.
9785
22044b48
DM
9786 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9787 (aio_suspend): Call it to force an exception region around the
9788 AIO_MISC_WAIT() invocation.
9789
2cae4995
AS
97902011-08-23 Andreas Schwab <schwab@redhat.com>
9791
9792 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9793 backslash.
9794
873a772e
AJ
97952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9796
9797 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9798 protection macro.
9799 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9800 and <dl-machine.h>.
9801 (Elf64_FuncDesc): Remove.
9802
25ad0df1
DM
98032011-08-22 David S. Miller <davem@davemloft.net>
9804
9805 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9806 sigaltstack check, add missing cfi directives.
9807 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9808 missing cfi directives, and sigaltstack handling.
9809
e888bcbe
AS
98102011-08-16 Andreas Schwab <schwab@redhat.com>
9811
9812 [BZ #11724]
9813 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9814 object is seen twice.
9815 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9816
9817 * elf/Makefile (distribute): Add tst-initorder2.c.
9818 (tests): Add tst-initorder2.
9819 (modules-names): Add tst-initorder2a tst-initorder2b
9820 tst-initorder2c tst-initorder2d. Add rules to build them.
9821 ($(objpfx)tst-initorder2.out): New rule.
9822 * elf/tst-initorder2.c: New file.
9823 * elf/tst-initorder2.exp: New file.
9824
87162f46
AS
98252011-08-22 Andreas Schwab <schwab@redhat.com>
9826
70538b7f
AS
9827 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9828
f55ffe58
AS
9829 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9830 dependencies back to end of function.
9831
87162f46
AS
9832 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9833 $(elfobjdir)/ld.so.
9834
91b392a4
UD
98352011-08-21 Ulrich Drepper <drepper@gmail.com>
9836
9837 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9838 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9840 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9841 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9842 of __vdso_gettimeofday.
9843 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9844 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9845 attribute_hidden.
9846 (_libc_vdso_platform_setup): Remove initialization of
9847 __vdso_gettimeofday and __vdso_time.
9848
5c43483f
UD
98492011-08-20 Ulrich Drepper <drepper@gmail.com>
9850
775a77e7
UD
9851 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9852 and fgetc_unlocked.
9853 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9854 getc_unlocked.
89f447ed 9855
49c74ba9
UD
9856 * elf/dl-open.c (add_to_global): Report additions to the global scope
9857 for LD_DEBUG=scopes.
9858 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9859 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9860
5c43483f
UD
9861 [BZ #13114]
9862 * stdio-common/Makefile (tests): Add bug24.
9863 * stdio-common/bug24.c: New file.
9864
a101b025
AJ
98652011-08-19 Andreas Jaeger <aj@suse.de>
9866
9867 [BZ #13114]
9868 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9869 non-existant file when using close-on-exec mode.
9870
c88f1766
UD
98712011-08-20 Ulrich Drepper <drepper@gmail.com>
9872
0276a718
UD
9873 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9874 the very first instruction.
9875
c88f1766
UD
9876 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9877 the CFI state in the end.
9878 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9879 inclusion of dl-trampoline.h.
9880 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9881
51ccffa0
AS
98822011-08-19 Andreas Schwab <schwab@redhat.com>
9883
94d7165f
AS
9884 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9885 expectations for long double.
9886
51ccffa0
AS
9887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9888 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9889
fd708658 98902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9891
9892 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9893 artificual limit depends upon the system page size.
9894
44f0a71e
UD
98952011-08-17 Ulrich Drepper <drepper@gmail.com>
9896
9897 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9898 * resolv/Makefile: Define CFLAGS-libresolv.
9899
8de79a24
AS
99002011-08-17 Andreas Schwab <schwab@redhat.com>
9901
9902 * nss/makedb.c (compute_tables): Make variables used in nested
9903 function static.
9904
27724598
UD
99052011-08-17 Ulrich Drepper <drepper@gmail.com>
9906
c5305d88
UD
9907 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9908 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9909 if buffer was too small.
9910
27724598
UD
9911 * elf/pldd.c (main): Attach to all threads in the process.
9912 Rewrite /proc handling to use *at functions.
9913
076fe015
UD
99142011-08-16 Ulrich Drepper <drepper@gmail.com>
9915
174baab3
UD
9916 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9917 specifies first scope to show.
9918 (dl_open_worker): Update callers. Move printing scope of new
9919 object to before the relocation.
44f0a71e 9920 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9921 * sysdeps/generic/ldsodefs.h: Update declaration.
9922
076fe015
UD
9923 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9924 string for the scope number.
9925
a60df2c3
UD
99262011-08-14 Ulrich Drepper <drepper@gmail.com>
9927
9928 * nscd/servicescache.c (cache_addserv): Make sure written is always
9929 initialized.
9930
5e4287d1
RM
99312011-08-14 Roland McGrath <roland@hack.frob.com>
9932
85ae0589
RM
9933 * sysdeps/i386/i486/bits/atomic.h
9934 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9935 statement expression, so as to suppress "set but not used" warning.
9936 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9937
69f63097
RM
9938 * string/strncat.c (STRNCAT): Use prototype definition.
9939
675456ef
RM
9940 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9941 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9942 -Iprograms here.
9943 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9944 (localedef-modules): Add localedef.
9945 (locale-modules): Add locale.
9946
5e4287d1
RM
9947 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9948 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9949 to avoid a warning.
9950
9c96ff23
DM
99512011-08-14 David S. Miller <davem@davemloft.net>
9952
9953 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9954 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9955
f9ddf089
UD
99562011-08-13 Ulrich Drepper <drepper@gmail.com>
9957
44f0a71e 9958 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9959 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9960 * elf/rtld.c (dl_main): Set l_name of vDSO.
9961 Call _dl_show_scope when DL_DEBUG_SCOPES.
9962 (process_dl_debug): Recognize scopes flag and also set it for all.
9963 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9964 Declare _dl_show_scope.
9965
1dc27704
UD
9966 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9967 (do_dlopen): Pass caller_dlopen to dl_open.
9968 (__libc_dlopen_mode): Initialize caller_dlopen.
9969
f9ddf089
UD
9970 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9971 of libc. Make tolower call locale-independent. Optimize a bit by
9972 using isdigit instead of isalnum.
9973 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9974
9ac533d3
UD
99752011-08-12 Ulrich Drepper <drepper@gmail.com>
9976
9977 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9978 was a dependency or dynamically loaded.
9979
89edf2e9
UD
99802011-08-11 Ulrich Drepper <drepper@gmail.com>
9981
8e999d29
UD
9982 * intl/l10nflist.c: Allow architecture-specific pop function.
9983 * sysdeps/x86_64/l10nflist.c: New file.
9984
89edf2e9
UD
9985 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9986 classification.
9987
14d96785
AS
99882011-08-10 Andreas Schwab <schwab@redhat.com>
9989
9990 * include/dirent.h: Add libc_hidden_proto for scandirat and
9991 scandirat64. Don't declare __scandirat64.
9992 * dirent/scandirat.c: Add libc_hidden_def.
9993 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9994 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9995
6761ac04
DM
99962011-08-10 David S. Miller <davem@davemloft.net>
9997
9998 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9999 enum.
10000 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10001 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10002 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10003
c55fbd1e
UD
100042011-08-09 Ulrich Drepper <drepper@gmail.com>
10005
10006 * Versions.def [libc]: Add GLIBC_2.15.
10007 * dirent/Makefile (routines): Add scandirat and scandirat64.
10008 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10009 GLIBC_2.15.
10010 * dirent/dirent.h: Declare scandirat and scandirat64.
10011 * dirent/scandirat.c: New file.
10012 * dirent/scandirat64.c: New file.
10013 * sysdeps/wordsize-64/scandirat.c: New file.
10014 * sysdeps/wordsize-64/scandirat64.c: New file.
10015 * dirent/opendir.c: Define opendirat.
10016 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10017 using scandirat.
10018 * dirent/scandir64.c: Adjust for scandir.c change.
10019 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10020 __scandirat64, and __scandir_cancel_handler.
10021 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10022 additional parameter and use openat instead of open (outside of ld.so).
10023 Add new __opendir as wrapper around __opendirat.
10024 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10025 here without requiring old scandirat implementation.
10026
879165f2
UD
100272011-08-08 Ulrich Drepper <drepper@gmail.com>
10028
10029 * dirent/scandir.c (cancel_handler): Renamed to
10030 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10031 defined. Adjust users.
10032 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10033 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10034
cb7e923b
UD
100352011-08-04 Ulrich Drepper <drepper@gmail.com>
10036
16292edd
UD
10037 * string/test-string.h (IMPL): Use __STRING to expand name and then
10038 stringify it.
10039
cb7e923b
UD
10040 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10041 of cleanups.
10042
cff82933
LD
100432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10044
10045 * string/Makefile: Update.
10046 (strop-tests): Append strncat.
10047 * string/test-wcscmp.c: New file.
10048 New comprehensive test for wcscmp.
10049 * string/test-strcmp.c: Update.
10050 (WIDE): New define.
10051
9be9bfcc
AS
100522011-07-22 Andreas Schwab <schwab@redhat.com>
10053
10054 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10055 line.
10056
2e96f1c7
AS
100572011-07-26 Andreas Schwab <schwab@redhat.com>
10058
10059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10060 encoding to ACE if AI_IDN.
10061
85188888
JJ
100622011-08-01 Jakub Jelinek <jakub@redhat.com>
10063
10064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10065 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10066
5fa16e9b
LD
100672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10068
10069 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10070 Fix overflow bug in strncat.
10071 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10072
10073 * string/test-strncat.c: Update.
10074 Add new tests for checking overflow bugs.
10075
100762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10077
10078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10079 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10080 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10081 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10082 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10083 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10084 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10085 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10086 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10087
10088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10089 (USE_AS_STRCAT): Define.
10090 Add strcat and strncat support.
10091 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10092
8c1a459f
AS
100932011-07-25 Andreas Schwab <schwab@redhat.com>
10094
10095 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10096 __n bigger than INT_MAX+1.
10097 (__strncmp_g): Likewise.
10098
bba33c28
UD
100992011-07-23 Ulrich Drepper <drepper@gmail.com>
10100
798be72d
UD
10101 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10102 * libio/stido.h: Likewise.
10103
8accd4dc
UD
10104 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10105 (AF_NFC): Define.
10106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10107 (AF_NFC): Define.
10108
cbff0d96
UD
10109 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10110 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10111 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10112 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10113 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10114
9191c04a
UD
10115 [BZ #13021]
10116 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10117 installed.
10118
bba33c28
UD
10119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10120 typo.
10121 (_dl_x86_64_save_sse): Likewise.
10122
90f139dd
UD
101232011-07-22 Ulrich Drepper <drepper@gmail.com>
10124
1aae088a
UD
10125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10126 OSXSAVE.
10127 (_dl_x86_64_save_sse): Likewise.
10128
8e2045f5
UD
10129 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10130
90f139dd
UD
10131 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10132
1d002f25
AS
101332011-07-21 Andreas Schwab <schwab@redhat.com>
10134
10135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10136 change.
10137 (_dl_x86_64_save_sse): Use correct AVX check.
10138
21137f89
UD
101392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10140
10141 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10142 bug in strncpy/strncat.
10143 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10144
a65c0b7a
UD
101452011-07-21 Ulrich Drepper <drepper@gmail.com>
10146
10147 * string/tester.c (test_strcat): Add tests for different alignments
10148 of source and destination.
10149 (test_strncat): Likewise.
10150
6986b98a
UD
101512011-07-20 Ulrich Drepper <drepper@gmail.com>
10152
90bb2039
UD
10153 [BZ #12852]
10154 * posix/glob.c (glob): Check passed in values before using them in
10155 expressions to avoid some overflows.
10156 (glob_in_dir): Likewise.
10157
5644ef54
UD
10158 [BZ #13007]
10159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10160 check for AVX enablement so that we don't crash with old kernels and
10161 new hardware.
10162 * elf/tst-audit4.c: Add same checks here.
10163 * elf/tst-audit6.c: Likewise.
10164
10165 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10166
bfc9dc9b
AS
101672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10168
10169 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10170
702e64bb
UD
101712011-07-20 Ulrich Drepper <drepper@gmail.com>
10172
10173 * po/cs.po: Update from translation team.
10174 * po/bg.po: Likewise.
10175
295e904f
MP
101762011-07-12 Marek Polacek <mpolacek@redhat.com>
10177
10178 * misc/sys/cdefs.h: Add support for const attribute.
10179 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10180 to gnu_dev_{major,minor,makedev} functions.
10181
3ff94596
MP
101822011-07-20 Marek Polacek <mpolacek@redhat.com>
10183
10184 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10185
28b59fca
AS
101862011-07-20 Andreas Schwab <schwab@redhat.com>
10187
10188 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10189 strlen results.
10190
19df733e
AK
101912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10192
10193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10194 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10195 register in order to avoid conflicts with the soft frame pointer
10196 being held in r11 when necessary.
10197 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10198 (INTERNAL_VSYSCALL_NCS): Likewise.
10199
c8835729
MP
102002011-07-14 Marek Polacek <mpolacek@redhat.com>
10201
10202 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10203 * elf/dl-fini.c (_dl_fini): Adjust caller.
10204 * elf/dl-close.c (_dl_close_worker): Likewise.
10205 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10206
b902330c
MP
102072011-07-15 Marek Polacek <mpolacek@redhat.com>
10208
8991e135
MP
10209 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10210 "aux_cache->nlibs < 0".
10211
b902330c
MP
10212 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10213 in the reload-count case.
10214
99710781
LD
102152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10216
10217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10218 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10219 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10220 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10221 * sysdeps/x86_64/multiarch/strcat.S: New file.
10222 * sysdeps/x86_64/multiarch/strncat.S: New file.
10223 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10224 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10225 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10226 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10228 (USE_AS_STRCAT): Define.
10229 Add strcat and strncat support.
10230 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10231 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10232 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10233 * string/strncat.c: Update.
10234 (USE_AS_STRNCAT): Define.
10235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10236 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10237 and i7.
10238 * sysdeps/x86_64/multiarch/init-arch.h
10239 (bit_Prefer_PMINUB_for_stringop): New.
10240 (index_Prefer_PMINUB_for_stringop): Likewise.
10241 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10242 bit_Prefer_PMINUB_for_stringop.
10243
7dc6bd90
UD
102442011-07-19 Ulrich Drepper <drepper@gmail.com>
10245
10246 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10247 buffer64.
10248 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10249 of casting of buffer.
10250 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10251 buffer32 and buffer64.
10252 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10253 writes instead of casting of buffer.
10254 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10255 buffer32.
10256 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10257 casting of buffer.
10258
e0e72284
AS
102592011-07-19 Andreas Schwab <schwab@redhat.com>
10260
10261 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10262
feb1eb0b
UD
102632011-07-19 Ulrich Drepper <drepper@gmail.com>
10264
10265 * nscd/nscd.c (termination_handler): Don't do anything for a database
10266 if it has not yet been initialized.
10267
298711ff
UD
102682011-07-18 Ulrich Drepper <drepper@gmail.com>
10269
10270 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10271
102722011-07-15 Marek Polacek <mpolacek@redhat.com>
10273
10274 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10275
f9d68389
UD
102762011-07-18 Ulrich Drepper <drepper@gmail.com>
10277
10278 * po/nl.po: Update from translation team.
10279 * po/sv.po: Likewise.
10280
db290cf5
RM
102812011-07-16 Roland McGrath <roland@hack.frob.com>
10282
10283 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10284 now disallowed by GCC.
5c550700 10285
fd5e21c7
RM
10286 * configure.in (use-default-link): Default to yes if a test -shared
10287 link meets our qualifications.
10288 * configure: Regenerated.
10289
5c550700
RM
10290 * config.make.in (output-format): New variable.
10291 * configure.in: Check for ld --print-output-format support.
10292 * configure: Regenerated.
10293 * Makerules ($(common-objpfx)format.lds)
10294 [$(output-format) != unknown]: Just use $(output-format),
10295 instead of the linker-script munging.
10296
9fa2c032
RM
102972011-07-14 Roland McGrath <roland@hack.frob.com>
10298
a6928d51
RM
10299 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10300 of $(common-objpfx)shlib.lds.
10301 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10302
661607b3
RM
10303 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10304 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10305
9fa2c032
RM
10306 * configure.in (-z relro check): Adjust test code to add a large
10307 writable data section after it.
10308 * configure: Regenerated.
10309
defe9061
RM
103102011-07-11 Roland McGrath <roland@hack.frob.com>
10311
10312 * configure.in (-z relro check): Fix test code to make the variable
10313 truly const.
10314 * configure: Regenerated.
10315
319b9ad4
UD
103162011-07-11 Ulrich Drepper <drepper@gmail.com>
10317
10318 * nscd/nscd.h (struct traced_file): Define.
10319 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10320 elements. Add traced_files.
10321 (inotify_fd): Declare.
10322 (register_traced_file): Declare.
10323 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10324 (inotify_fd): Export.
10325 (resolv_conf_descr): Remove.
10326 (nscd_init): Move inotify descriptor creation to main.
10327 Don't register files for notification here.
10328 (register_traced_file): New function.
10329 (invalidate_cache): Don't use reset_res to determine whether to call
10330 res_init, go through the list of registered files.
10331 (main_loop_poll): The inotify descriptors are now stored in the
10332 structures for the traced files.
10333 (main_loop_epoll): Likewise
10334 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10335 to __nss_disable_nscd.
10336 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10337 for a database anymore. Check the records for all the registered
10338 files instead.
10339 * nss/Makefile (libnss_files-routines): Add files-init.
10340 (libnss_db-routines): Add db-init.
10341 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10342 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10343 * nss/nss_db/db-init.c: New file.
10344 * nss/nss_files/files-init.c: New file.
10345 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10346 __nss_lookup_function.
10347 (__nss_lookup_function): Call nss_load_library.
10348 (nss_load_all_libraries): New function.
10349 (__nss_disable_nscd): Take parameter with callback function for files
10350 to register. Set is_nscd. Load all the DSOs for the NSS modules
10351 used for the cached services.
10352 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10353 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10354 options for features to all the files in nscd.
10355
10356 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10357
23bee3e8
RM
103582011-07-10 Roland McGrath <roland@hack.frob.com>
10359
10360 * csu/elf-init.c (__libc_csu_init): Comment typo.
10361
46a5b7f0
UD
103622011-07-09 Ulrich Drepper <drepper@gmail.com>
10363
10364 * po/pl.po: Update from translation team.
10365 * po/ja.po: Likewise.
10366 * po/ru.po: Likewise.
10367 * po/ko.po: Likewise.
10368 * po/fr.po: Likewise.
10369
d30cf5bb
RM
103702011-07-09 Roland McGrath <roland@hack.frob.com>
10371
113ddea4
RM
10372 * configure.in (.ctors/.dtors header and trailer check):
10373 Use an empirical test on a built program.
10374 * configure: Regenerated.
10375
574920b4
RM
10376 * configure.in (-z relro check): Use an empirical test on a built DSO.
10377 Detect, but do not require, on ia64.
10378 * configure: Regenerated.
10379
d30cf5bb
RM
10380 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10381 Update tests that use readelf to use $READELF instead.
10382 * configure: Regenerated.
10383
8538fdb3
UD
103842011-07-08 Ulrich Drepper <drepper@gmail.com>
10385
10386 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10387 if the result is not used.
10388
04d08991
AJ
103892011-07-05 Andreas Jaeger <aj@suse.de>
10390
10391 [BZ#9696]
10392 * stdlib/tst-strtod.c: Add testcase.
10393
de283087
AD
103942011-07-07 Ulrich Drepper <drepper@gmail.com>
10395
4e5f31c8 10396 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10397 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10398 The latter has a higher limit. Take additional parameter to pass to
10399 the new function.
10400 (__pathconf): Pass file to __statfs_link_max.
10401 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10402 __statfs_link_max.
10403 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10404 __statfs_link_max.
10405
de283087
AD
10406 [BZ #12868]
10407 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10408 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10409 Handle Lustre.
10410 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10411 (__statfs_filesize_max): Likewise.
10412 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10413
c75fa153
AJ
104142011-07-05 Andreas Jaeger <aj@suse.de>
10415
10416 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10417
1a544854
UD
104182011-07-06 Marek Polacek <mpolacek@redhat.com>
10419
10420 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10421 `status' variable.
10422 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10423 Likewise.
10424
6f0eec67
UD
104252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10426
10427 * Makefile (strop-tests): Add strncat.
10428 * string/test-strncat.c: New file.
10429
aae30307
UD
104302011-06-30 Marek Polacek <mpolacek@redhat.com>
10431
10432 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10433
c0cfb5eb
UD
104342011-06-21 Andreas Jaeger <aj@suse.de>
10435
10436 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10437 Copy rule from iconvdata/Makefile.
10438
01636b21
UD
104392011-07-06 Ulrich Drepper <drepper@gmail.com>
10440
10441 [BZ #12922]
10442 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10443 but no long options are defined, just return 'W'.
10444
9895c8bc
UD
104452011-06-22 Marek Polacek <mpolacek@redhat.com>
10446
10447 [BZ #9696]
10448 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10449
5d4cf042
UD
104502011-07-06 Ulrich Drepper <drepper@gmail.com>
10451
10452 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10453 netgroups to read.
960e5535 10454 (innetgr): Likewise.
5d4cf042 10455
751eb97e
RM
104562011-07-05 Roland McGrath <roland@hack.frob.com>
10457
10458 * config.make.in (install_root): Default to $(DESTDIR).
10459
f15f1e45
UD
104602011-07-05 Ulrich Drepper <drepper@gmail.com>
10461
10462 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10463
4e34ac6a
RM
104642011-07-02 Roland McGrath <roland@hack.frob.com>
10465
5e9b6af4
RM
10466 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10467
84f9ea0f
RM
10468 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10469 containing directory rather than embedding absolute directory names.
10470
ea5ee9f7
RM
10471 * scripts/check-local-headers.sh: Rewritten using awk.
10472 Match by word, not by line. Print error messages for matches.
10473 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10474
1b74661a
RM
10475 * Makerules [shlib-lds-flags empty]:
10476 ($(common-objpfx)libc_pic.opts): New target.
10477 ($(common-objpfx)libc_pic.os.clean): New target.
10478 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10479
10480 * config.make.in (OBJCOPY): New variable.
10481 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10482 * configure: Regenerated.
10483
f781ef40
RM
10484 * config.make.in (use-default-link): New variable.
10485 * configure.in (use_default_link): Grok --with-default-link to set it.
10486 * configure: Regenerated.
10487 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10488 (shlib-lds, shlib-lds-flags): Define to empty.
10489
2d4fa81e
RM
10490 * Makerules (shlib-lds): New variable.
10491 (shlib-lds-flags): New variable.
10492 (build-shlib, build-moduile, build-module-asneeded): Use it.
10493 ($(common-objpfx)libc.so): Use $(shlib-lds).
10494 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10495 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10496
31fffa6b
RM
10497 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10498 DT_FLAGS/DT_FLAGS_1 with zero flags.
10499
4e34ac6a
RM
10500 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10501 linker script munging.
10502
fcfc776b
UD
105032011-07-02 Ulrich Drepper <drepper@gmail.com>
10504
10505 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10506 as 128-bit value.
10507 * crypt/sha512.c (sha512_process_block): Perform total addition using
10508 128-bit if possible.
10509 (__sha512_finish_ctx): Likewise.
10510 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10511 as 64-bit value.
10512 * crypt/sha256.c (SWAP64): Define.
10513 (sha256_process_block): Perform total addition using 64-bit if
10514 possible.
10515 (__sha256_finish_ctx): Likewise.
10516
99231d9a
UD
105172011-07-01 Ulrich Drepper <drepper@gmail.com>
10518
10519 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10520 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10521 * nscd/hstcache.c (cache_addhst): Likewise.
10522 * nscd/grpcache.c (cache_addgr): Likewise.
10523 * nscd/aicache.c (addhstaiX): Likewise
10524 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10525
445b4a53
TK
105262011-07-01 Thorsten Kukuk <kukuk@suse.de>
10527
10528 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10529 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10530 * nscd/hstcache.c (cache_addhst): Likewise.
10531 * nscd/grpcache.c (cache_addgr): Likewise.
10532 * nscd/aicache.c (addhstaiX): Likewise
10533
6d4d8e8e
AS
105342011-07-01 Andreas Schwab <schwab@redhat.com>
10535
10536 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10537 domain only when needed.
10538
89f654c5
AS
105392011-06-30 Andreas Schwab <schwab@redhat.com>
10540
10541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10542 is always restored.
10543
cf3b23ff
UD
105442011-06-29 Ulrich Drepper <drepper@gmail.com>
10545
10546 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10547 are re-adding the entry.
10548 * nscd/servicescache.c (cache_addserv): Likewise.
10549
751626f9
AJ
105502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10551
10552 * sysdeps/generic/dl-irel.h: fix protection against multiple
10553 inclusions.
10554 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10555
9113ea1f
UD
105562011-06-28 Ulrich Drepper <drepper@gmail.com>
10557
5c0b8d90
UD
10558 [BZ #12935]
10559 * malloc/memusage.sh: Fix quoting in message.
10560 * debug/xtrace.sh: Likewise.
10561
9113ea1f
UD
10562 * configure.in: Remove support for --experimental-malloc option, make
10563 it the default.
10564 * config.make.in: Likewise.
10565 * malloc/Makefile: Likewise.
10566
a4172181
AS
105672011-06-27 Andreas Schwab <schwab@redhat.com>
10568
10569 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10570 two-byte characters.
10571
78a7eee7
RM
105722011-06-27 Roland McGrath <roland@hack.frob.com>
10573
62bede13
RM
10574 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10575 AC_CACHE_CHECK invocation.
10576 * configure: Regenerated.
10577
78a7eee7
RM
10578 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10579
5ce33a62
UD
105802011-06-27 Ulrich Drepper <drepper@gmail.com>
10581
034807a9
UD
10582 [BZ #12350]
10583 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10584 bit from old_res_options.
10585
4902da17
UD
10586 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10587
5ce33a62
UD
10588 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10589 value type for setfct.
10590
c2344f56
L
105912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10592
10593 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10594 __gettimeofday instead of gettimeofday.
10595
68468076
UD
105962011-06-26 Ulrich Drepper <drepper@gmail.com>
10597
10598 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10599
acb0d739
L
106002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10601
10602 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10603
10604 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10605 info.
10606
8912479f
L
106072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10608
10609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10610 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10611 strcpy-sse2-unaligned strncpy-sse2-unaligned
10612 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10613 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10614 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10615 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10616 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10617 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10618 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10619 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10620 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10621 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10622 (STRCPY): Support SSE2 and SSSE3 versions.
10623
d5495a11
UD
106242011-06-24 Ulrich Drepper <drepper@gmail.com>
10625
10626 [BZ #12874]
10627 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10628 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10629 kernels which artificially limit size of requests.
10630
0b1cbaae
L
106312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10632
10633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10634 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10635 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10636 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10637 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10638 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10639 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10640 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10642 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10643 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10644 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10645 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10646 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10647 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10649 Enable unaligned load optimization for Intel Core i3, i5 and i7
10650 processors.
10651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10652 Define.
10653 (index_Fast_Unaligned_Load): Define.
10654 (HAS_FAST_UNALIGNED_LOAD): Define.
10655
07f494a0
MP
106562011-06-23 Marek Polacek <mpolacek@redhat.com>
10657
10658 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10659
fa3fc0fe
UD
106602011-06-22 Ulrich Drepper <drepper@gmail.com>
10661
10662 [BZ #12907]
10663 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10664 until it is clear that the information is realy needed.
10665 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10666
e12df166
AS
106672011-06-22 Andreas Schwab <schwab@redhat.com>
10668
10669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10670
852eb34d
UD
106712011-06-22 Ulrich Drepper <drepper@gmail.com>
10672
84e2a551
UD
10673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10674 /sys/devices/system/cpu/online if it is usable.
10675
852eb34d
UD
10676 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10677 reading the information from the /proc filesystem to once a second.
10678
6e502e19
UD
106792011-06-21 Andreas Jaeger <aj@suse.de>
10680
10681 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10682 NULL after inclusion of kernel headers.
10683
75d39ff2
UD
106842011-06-21 Ulrich Drepper <drepper@gmail.com>
10685
51f9aa6a
UD
10686 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10687 calls to internal_setent.
10688
c0244a9d
UD
10689 [BZ #12885]
10690 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10691 addresses using gethostbyname4_r ignore IPv4 addresses.
10692
c5e3c2ae
UD
10693 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10694 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10695
75d39ff2
UD
10696 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10697
42675c6f
DM
106982011-06-20 David S. Miller <davem@davemloft.net>
10699
10700 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10701 inclusions.
10702 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10703
10704 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10705 (elf_irel): Use it.
10706 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10707 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10708 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10709 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10710 * sysdeps/x86_64/dl-irel.h: Likewise.
10711
10712 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10713 * elf/dl-sym.c: Likewise.
10714
57912a71
UD
107152011-06-15 Ulrich Drepper <drepper@gmail.com>
10716
10717 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10718 need to dereference resplen2.
10719
ee22793d
AS
107202011-06-14 Andreas Schwab <schwab@redhat.com>
10721
10722 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10723
a9e836b0
UD
107242011-06-15 Ulrich Drepper <drepper@gmail.com>
10725
77fb9117
UD
10726 * Makeconfig: Define vardbdir and inst_vardbdir.
10727 * nss/Makefile: Add rules to install db-Makefile.
10728
40c1b22c
UD
10729 * nss/nss_db/db-XXX.c: Cleanup.
10730
9f2da732
UD
10731 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10732 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10733 GLIBC_PRIVATE.
10734 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10735 * nss/makedb.c: Implement -g option to specify that value strings
10736 are generated and should not be added to table iterated over for
10737 get*ent calls.
10738 * nss/nss_db/db-initgroups.c: New file.
10739
82e9a1f7
UD
10740 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10741 interface.
10742
c41af17e
UD
10743 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10744 (internal_getgrouplist): Adjust to name change.
10745 Update use_initgroups_entry if this is not the first call.
10746 * nss/databases.def: Add initgroups entry.
10747
a9e836b0
UD
10748 * nss/makedb.c (compute_tables): Check result of multiple hash table
10749 sizes to minimize maximum chain length.
10750
2666d441
UD
107512011-06-14 Ulrich Drepper <drepper@gmail.com>
10752
10753 * Versions.def: Add entry for libnss_db.
10754 * shlib-versions: Likewise.
10755 * nss/Makefile: Add rules to build libnss_db.
10756 * nss/Versions: Add libnss_db information. Organize libnss_files
10757 entries better.
10758 * nss/db-Makefile: Add gshadow support. Change rules for the new
10759 makedb progra. Some minor improvements to generate smaller files.
10760 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10761 here from...
10762 * nss/makedb.c: ...here.
10763 Improve database format to be smaller and require less memory at
10764 runtime.
10765 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10766 db anymore.
10767 * nss/nss_db/db-netgrp.c: Likewise.
10768 * nss/nss_db/db-open.c: Likewise.
10769 * nss/nss_files/flies-XXX.x: Adjust comments.
10770 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10771 * nss/nss_files/files-grp.c: Likewise.
10772 * nss/nss_files/files-hosts.c: Likewise.
10773 * nss/nss_files/files-network.c: Likewise.
10774 * nss/nss_files/files-proto.c: Likewise.
10775 * nss/nss_files/files-pwd.c: Likewise.
10776 * nss/nss_files/files-rpc.c: Likewise.
10777 * nss/nss_files/files-service.c: Likewise.
10778 * nss/nss_files/files-sgrp.c: Likewise.
10779 * nss/nss_files/files-spwd.c: Likewise.
10780 * nss/nss_db/db-alias.c: Removed.
10781 * nss/nss_db/dummy-db.h: Removed.
10782
9ee76b5a
UD
107832011-06-02 Ulrich Drepper <drepper@gmail.com>
10784
10785 * nss/makedb.c: Rewritten to not use database library.
10786 * nss/Makefile: Update to build new makedb program.
10787
c71ca1f8
AJ
107882011-06-14 Andreas Jaeger <aj@suse.de>
10789
10790 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10791 memset declaration.
10792
3154bfb8
UD
107932011-06-10 Andreas Schwab <schwab@redhat.com>
10794
10795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10796 tmpbuf.
10797
b350afab
RM
107982011-06-10 Roland McGrath <roland@hack.frob.com>
10799
decd4e50
RM
10800 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10801 * elf/Makefile ($(objpfx)ld.so): Likewise.
10802
5615eaf2
RM
10803 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10804 Don't list ld.so twice in dependencies.
10805
10806 * posix/bug-regex31.c: Include <stdlib.h>.
10807
10808 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10809
10810 * nis/nss_compat/compat-spwd.c
10811 (getspent_next_nss_netgr): Remove unused variable.
10812 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10813
10814 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10815 nonmembers" output to use the right array.
10816
10817 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10818
10819 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10820
10821 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10822 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10823 * catgets/gencat.c (read_input_file): Likewise.
10824 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10825
10826 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10827 variable definition inside #if's controlling its use.
10828
10829 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10830
10831 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10832
10833 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10834
10835 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10836 unreachable code.
10837
10838 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10839
b68e08db
RM
10840 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10841 * configure: Regenerated.
10842
b350afab
RM
10843 * Makerules: Revert last change.
10844 * elf/Makefile: Likewise.
10845
28368601
RM
108462011-06-09 Roland McGrath <roland@hack.frob.com>
10847
10848 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10849 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10850 (reloc-link): Likewise.
10851
11988f8f
UD
108522011-06-09 Ulrich Drepper <drepper@gmail.com>
10853
10854 * elf/Makefile: Add rules to build pldd.
10855 * elf/pldd.c: New file.
10856 * elf/pldd-xx.c: New file.
10857
e80fab37
UD
108582011-06-07 Ulrich Drepper <drepper@gmail.com>
10859
10860 * version.h: Update for 2.15 development version.
10861
9b849836
DM
108622011-06-07 David S. Miller <davem@davemloft.net>
10863
10864 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10865 ifuncs.
10866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10867 elf_machine_lazy_rel): Likewise.
10868 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10869 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10870 elf_machine_lazy_rel): Likewise.
10871 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10872 dl_hwcap via passed in argument.
10873 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10874 Likewise.
10875
5a31b283
AK
108762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10877
10878 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10879
069e52f8
RM
108802011-06-06 Roland McGrath <roland@hack.frob.com>
10881
10882 [BZ #12849]
10883 * manual/fdl-1.1.texi: New file, verbatim from:
10884 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10885 * manual/lgpl-2.1.texi: New file, verbatim from:
10886 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10887 * manual/Makefile (licenses): New variable, list those new file names.
10888 (texis): Use it.
10889 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10890
10891 * manual/fdl.texi: File removed.
10892 * manual/lesser.texi: File removed.
10893 * manual/libc.texinfo (Copying, Documentation License):
10894 Use new @include file names, put @appendix directive before @include.
10895
f16846a5
JJ
108962011-06-04 Jakub Jelinek <jakub@redhat.com>
10897
10898 [BZ #12841]
10899 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10900 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10901 (mq_open): Add __NTH.
10902
3d29045b
L
109032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10904
10905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10906 Assume Intel Core i3/i5/i7 processor if AVX is available.
10907
8c297311
UD
109082011-05-31 Ulrich Drepper <drepper@gmail.com>
10909
10910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10911 typo.
10912
c8fc0c91
UD
109132011-05-31 Andreas Schwab <schwab@redhat.com>
10914
10915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10916 memory. Use alloca_account. Fix memory leak when retrying.
10917
5b27a807
UD
109182011-05-31 Ulrich Drepper <drepper@gmail.com>
10919
356f8bc6
UD
10920 * version.h (RELEASE): Bump for 2.14 release.
10921 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10922
5b27a807
UD
10923 * config.make.in (RANLIB): Remove entry.
10924
01f16ab0
UD
109252011-05-30 Ulrich Drepper <drepper@gmail.com>
10926
41fce8bd
UD
10927 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10928 (libc.pot): Work around missing support for .ksh extension in xgettext.
10929
4769ae77
UD
10930 [BZ #12684]
10931 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10932 if both request failed.
10933 (send_dg): In case of server errors clear resplen or *resplen2.
10934
6b1e7d19
UD
10935 [BZ #12454]
10936 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10937 when there are multiple maps.
10938 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10939 (_dl_fini): Remove test here.
10940
01f16ab0
UD
10941 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10942
b1ebd700
UD
109432011-05-29 Ulrich Drepper <drepper@gmail.com>
10944
7ae22829
UD
10945 [BZ #12350]
10946 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10947 bit from old_res_options.
10948 (gaih_inet): Likewise.
10949
553149f6 10950 [BZ #11099]
18a84741 10951 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10952 as signed.
10953
652ffab1
UD
10954 * resolv/res_init.c (res_setoptions): Make the code more compact.
10955
16985fd0
UD
10956 [BZ #11558]
10957 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10958 set RES_USEVC.
10959
0464f746
UD
10960 [BZ #11634]
10961 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10962
7d17596c
UD
10963 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10964
cf6bbbd7
UD
10965 [BZ #11781]
10966 * malloc/malloc.h: Declare malloc hook variables as volatile.
10967
13f1ab36
UD
10968 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10969 in last patch.
10970
b1ebd700
UD
10971 [BZ #11799]
10972 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10973 raise in the comment.
80e2212d
UD
10974 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10975 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10976 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10977
ce67228d
UD
109782011-05-28 Ulrich Drepper <drepper@gmail.com>
10979
8887a920
UD
10980 [BZ #12811]
10981 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10982 grow the buffers more if it already has to be sufficient.
10983 (build_wcs_upper_buffer): Likewise.
10984 * posix/regexec.c (check_matching): Likewise.
10985 (clean_state_log_if_needed): Likewise.
10986 (extend_buffers): Don't enlarge buffers beyond size of the input
10987 buffer.
10988 Patches mostly by Emil Wojak <emil@wojak.eu>.
10989 * posix/bug-regex32.c: New file.
10990 * posix/Makefile (tests): Add bug-regex32.
10991
4f031072
UD
10992 * locale/findlocale.c (_nl_find_locale): Return right away if
10993 _nl_explode_name failed.
10994 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10995
d0478f0c
UD
10996 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10997
de81b246
UD
10998 * debug/xtrace.sh: Unify messages.
10999 * malloc/memusage.sh: Likewise.
11000
c738465a
UD
11001 [BZ #12813]
11002 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11003 time symbol from vDSO. Substitute with vsyscall if not available.
11004 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11005 __vdso_time.
11006
f1f929d7
UD
11007 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11008 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11009 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11010 Add sendmmsg and internal_sendmmsg.
11011 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11012 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11013 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11014
ce67228d
UD
11015 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11016 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11017 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11018
e57420c6
UD
110192011-05-27 Ulrich Drepper <drepper@gmail.com>
11020
a8509ca5
UD
11021 [BZ #12813]
11022 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11023 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11024 available.
11025 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11026 __vdso_getcpu.
11027
e57420c6
UD
11028 [BZ #12814]
11029 * iconvdata/Makefile (tests): Add bug-iconv9.
11030 * iconvdata/bug-iconv9.c: New file.
11031
4d07db15
AS
110322011-05-27 Andreas Schwab <schwab@redhat.com>
11033
11034 [BZ #12814]
11035 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11036
ea486f69
JJ
110372011-05-25 Jakub Jelinek <jakub@redhat.com>
11038
11039 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11040 (struct user_regs_struct): Change intcs field back to cs.
11041
6f038433
UD
110422011-05-25 Ulrich Drepper <drepper@gmail.com>
11043
11044 * po/ja.po: Update from translation team.
11045
67f86a25
UD
110462011-05-23 Ulrich Drepper <drepper@gmail.com>
11047
11048 [BZ #12795]
11049 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11050 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11051
def7fbd6
AS
110522011-05-20 Andreas Schwab <schwab@redhat.com>
11053
11054 * stdlib/longlong.h: Update from GCC.
11055
f50ef8f1
AS
110562011-05-23 Andreas Schwab <schwab@redhat.com>
11057
11058 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11059 parameter name.
11060 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11061 Add parameter name.
11062 (__sysconf): Pass it down.
11063
de7ce8f1
UD
110642011-05-22 Ulrich Drepper <drepper@gmail.com>
11065
f2962a71
UD
11066 [BZ #12671]
11067 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11068 some situations.
11069 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11070 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11071 add in in __libc_use_alloca calls. Adjust callers.
11072 (glob): Use malloc in some situations.
11073
de7ce8f1
UD
11074 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11075 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11076 pltexit.
11077
aec84f53
UD
110782011-05-21 Ulrich Drepper <drepper@gmail.com>
11079
05bb4a68
UD
11080 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11081 and CLOCK_BOOTTIME_ALARM.
11082
7ea72f99
UD
11083 [BZ #12782]
11084 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11085 is returned.
11086
7e4afad5
UD
11087 * string/_strerror.c (__strerror_r): Print negative errors as signed
11088 numbers.
11089
8e211fec
UD
11090 [BZ #12777]
11091 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11092 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11093 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11094
f7d82dc9
UD
11095 * configure.in: Fix typo in redirection and correct removal of test
11096 files in two cases.
11097
cc9e536d
UD
11098 [BZ #12788]
11099 * locale/setlocale.c (new_composite_name): Fix test to check for
11100 identical name of all categories.
11101
aec84f53
UD
11102 [BZ #12792]
11103 * libio/filedoalloc.c (local_isatty): New function.
11104 (_IO_file_doallocate): Use local_isatty.
11105 * stdio-common/perror.c (perror): In case a new stream is used
11106 forward the stream error.
11107 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11108 error flag.
11109
78e64fdc
RT
111102011-05-20 Ulrich Drepper <drepper@gmail.com>
11111
34a9094f
UD
11112 [BZ #11869]
11113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11114 alloca.
11115 * include/alloca.h (extend_alloca_account): Define.
11116
78e64fdc
RT
11117 [BZ #11857]
11118 * posix/regex.h: Fix comments with documentation of user-accessible
11119 fields after compilation and describe correct free'ing of pattern
11120 after re_compile_pattern.
11121 Patch by Reuben Thomas <rrt@sc3d.org>.
11122
457bddfc
RA
111232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11124
11125 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11126 and -mno-altivec to prevent the compiler from using Altivec and/or
11127 VSX instructions when the corresponding registers are not available.
11128
a4527b51
AS
111292011-05-19 Andreas Schwab <schwab@redhat.com>
11130
11131 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11132
ed690b2f
UD
111332011-05-19 Ulrich Drepper <drepper@gmail.com>
11134
11135 * libio/freopen.c (freopen): Use __dup2, not dup2.
11136 * libio/freopen64.c (freopen64): Likewise.
11137
8db73634
L
111382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11139
11140 [BZ #12775]
11141 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11142 * math/Makefile (tests): Add test-powl.
11143 (CFLAGS-test-powl.c): Define.
11144 * math/test-powl.c: New file.
11145
0a197a9d
L
111462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11147
11148 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11149
ee30c380
UD
111502011-05-17 Ulrich Drepper <drepper@gmail.com>
11151
11152 [BZ #11837]
11153 * iconvdata/gb18030.c: Update to GB18020-2005.
11154
6ce75379
UD
111552011-05-16 Ulrich Drepper <drepper@gmail.com>
11156
a4b89fd8
AR
11157 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11158 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11159 Patch by Aharon Robbins <arnold@skeeve.com>.
11160
ea389b12
UD
11161 [BZ #11892]
11162 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11163 on the stack.
11164
68a3f91f
UD
11165 [BZ #11895]
11166 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11167 through underflows.
11168
15cc7dd1
UD
11169 [BZ #12766]
11170 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11171 point to strings before performing equality test for error_one_per_line
11172 mode.
11173
f3799213
UD
11174 [BZ #11697]
11175 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11176
d79a9c94
UD
11177 [BZ #11820]
11178 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11179 (struct user_fpregs_struct): Avoid __uint*_t types.
11180
56e5eb46
UD
11181 [BZ #6420]
11182 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11183 symbol info. Use it instead of calling _dl_addr locally.
11184 (lock_and_info): New function.
11185 (tr_freehook): Call lock_and_info and pass symbol info as additional
11186 parameter to tr_where.
11187 (tr_mallochook): Likewise.
11188 (tr_reallochook): Likewise.
11189 (tr_memalignhook): Likewise.
11190
6ce75379
UD
11191 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11192 used and couldn't be at all thread-safe.
11193
f8a3b5bf
UD
111942011-05-15 Ulrich Drepper <drepper@gmail.com>
11195
94b7cc37
UD
11196 * libio/freopen.c (freopen): Don't close old file descriptor
11197 before the new one is opened. Instead dup the new file descriptor
11198 to the old one after the new stream is created.
11199 * libio/freopen64.c (freopen64): Likewise.
11200 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11201 * libio/fileops.c (_IO_new_file_close_it): Handle new
11202 _IO_FLAGS2_NOCLOSE flag.
11203 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11204 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11205 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11206 _IO_FLAGS2_NOCLOSE flag.
11207 * include/unistd.h: Add hidden_proto for dup3.
11208 Define __have_dup3.
11209 * io/dup3.c: Define hidden symbol.
11210 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11211
bd25564e
UD
11212 [BZ #7101]
11213 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11214 when an incomplete long option is used.
11215 * posix/tst-getopt_long1.c: New file.
11216 * posix/Makefile (tests): Add tst-getopt_long1.
11217
c84cfef4
UD
11218 [BZ #10138]
11219 * scripts/config.guess: Update from autoconf-2.68.
11220 * scripts/config.sub: Likewise.
11221
3b85df27
UD
11222 [BZ #10157]
11223 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11224 tests into ...
11225 (has_cpuclock): ...this. New function.
11226 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11227 macro here based on has_cpuclock code.
11228
15a856b1
UD
11229 [BZ #10149]
11230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11231 First byte (not low byte) is now always NUL.
11232 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11233
05f399e6
UD
11234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11235 Use non-cancelable interfaces.
11236
10a52685 11237 [BZ #9809]
94ecc67d
UD
11238 * locale/iso-639.def: Add entry for Sorani.
11239
f8a3b5bf
UD
11240 [BZ #11901]
11241 * include/stdlib.h: Move include protection to the right place.
11242 Define abort_msg_s. Declare __abort_msg with it.
11243 * stdlib/abort.c (__abort_msg): Adjust type.
11244 * assert/assert.c (__assert_fail_base): New function. Majority
11245 of code from __assert_fail. Allocate memory for __abort_msg with
11246 mmap.
11247 (__assert_fail): Now call __assert_fail_base.
11248 * assert/assert-perr.c: Remove bulk of implementation. Use
11249 __assert_fail_base.
11250 * include/assert.hL Declare __assert_fail_base.
11251 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11252 mmap.
11253 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11254
1af4e298
UD
112552011-05-14 Ulrich Drepper <drepper@gmail.com>
11256
f8a3b5bf 11257 [BZ #11952]
d26dfc60
MG
11258 [BZ #12453]
11259 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11260 until all modules are registered in the DTV.
11261 * elf/Makefile: Add rules to build and run tst-tls19.
11262 * elf/tst-tls19.c: New file.
11263 * elf/tst-tls19mod1.c: New file.
11264 * elf/tst-tls19mod2.c: New file.
11265 * elf/tst-tls19mod3.c: New file.
11266 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11267
2fc54d6f
UD
11268 [BZ #12083]
11269 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11270 correctly.
11271
98d76b46
UD
11272 [BZ #12601]
11273 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11274 two-byte sequence errors.
11275 * iconvdata/Makefile (tests): Add bug-iconv8.
11276 * iconvdata/bug-iconv8.c: New file.
11277
da3c19ef
UD
11278 [BZ #12626]
11279 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11280 buf2 definition.
11281
ca408c15
UD
11282 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11283
d6f67f7d
UD
11284 [BZ #12432]
11285 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11286 (dummy_getcfa): New function.
11287 (init): Get _Unwind_GetCFA address, use dummy if not found.
11288 (backtrace_helper): In recursion check, also check whether CFA changes.
11289 (__backtrace): Completely initialize arg.
11290
1af4e298 11291 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11292 storing incomplete byte sequence in state object. Avoid testing for
11293 guaranteed too small input if we know there is enough data available.
1af4e298 11294
da62f81b
AS
112952011-05-11 Andreas Schwab <schwab@redhat.com>
11296
11297 * Makeconfig (+link-pie): Indent.
11298 * Rules (binaries-pie): Define if $(have-fpie) and
11299 $(build-shared).
11300 (binaries-shared): Also filter out $(binaries-pie).
11301 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11302 * nscd/Makefile (others-pie): Add nscd.
11303 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11304 ($(objpfx)nscd): Remove command override.
11305 * login/Makefile (others-pie): Add pt_chown.
11306 ($(objpfx)pt_chown): Remove command override.
11307 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11308 remove command overrides.
11309
fcabc0f8
UD
113102011-05-13 Ulrich Drepper <drepper@gmail.com>
11311
20030ae6
UD
11312 * libio/tst_putwc.c: Fix error messages.
11313
fcabc0f8
UD
11314 [BZ #12724]
11315 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11316 currently writing and seek to current position when not.
11317 * libio/Makefile (tests): Add bug-fclose1.
11318 * libio/bug-fclose1.c: New file.
11319
320a5dc0
PB
113202011-05-12 Ulrich Drepper <drepper@gmail.com>
11321
11322 [BZ #12511]
11323 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11324 don't set DF_1_NODELETE here.
11325 (do_lookup_x): When entering new entry test for copy relocation
11326 and if necessary set DF_1_NODELETE flag.
11327 * elf/tst-unique4.cc: New file.
11328 * elf/tst-unique4.h: New file.
11329 * elf/tst-unique4lib.cc: New file.
11330 * elf/Makefile: Add rules to build and run tst-unique4.
11331 Patch by Piotr Bury <pbury@goahead.com>.
11332
22836f52
UD
113332011-05-11 Ulrich Drepper <drepper@gmail.com>
11334
f574184a
UD
11335 [BZ #12052]
11336 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11337
e1fb097f
UD
11338 [BZ #12625]
11339 * misc/mntent_r.c (addmntent): Flush the stream after the output
11340
22836f52
UD
11341 [BZ #12393]
11342 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11343 (is_trusted_path_normalize): Skip initial colon. Append slash
11344 to empty buffer. Duplicate is_trusted_path code but allow
11345 constructed patch to be prefix.
11346 (is_dst): Allow $ORIGIN followed by /.
11347 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11348 Correct testing of result of is_trusted_path_normalize
11349 (decompose_rpath): Fix warning.
11350
7b3b0b2a
UD
113512011-05-10 Ulrich Drepper <drepper@gmail.com>
11352
11353 [BZ #11257]
11354 * grp/initgroups.c (internal_getgrouplist): When we found the service
11355 list through the initgroups entry in nsswitch.conf do not always
11356 continue on a successful lookup. Don't always use the
eac80ce2 11357 __nss_group_database value if it is set.
7b3b0b2a
UD
11358 * nss/nsswitch.conf (initgroups): Change action for successful db
11359 lookup to continue for compatibility.
11360
2a81eaa5
UD
113612011-05-09 Ulrich Drepper <drepper@gmail.com>
11362
be97a69e
UD
11363 [BZ #11532]
11364 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11365 and CP774 modules.
11366 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11367 and CP774 modules.
11368 * iconvdata/tst-tables.sh: Likewise.
11369 * iconvdata/cp770.c: New file.
11370 * iconvdata/cp771.c: New file.
11371 * iconvdata/cp772.c: New file.
11372 * iconvdata/cp773.c: New file.
11373 * iconvdata/cp774.c: New file.
11374 * iconvdata/testdata/CP770: New file.
11375 * iconvdata/testdata/CP770..UTF8: New file.
11376 * iconvdata/testdata/CP771: New file.
11377 * iconvdata/testdata/CP771..UTF8: New file.
11378 * iconvdata/testdata/CP772: New file.
11379 * iconvdata/testdata/CP772..UTF8: New file.
11380 * iconvdata/testdata/CP773: New file.
11381 * iconvdata/testdata/CP773..UTF8: New file.
11382 * iconvdata/testdata/CP774: New file.
11383 * iconvdata/testdata/CP774..UTF8: New file.
11384
11385 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11386 END CHARMAP line.
11387 * iconvdata/gen-8bit-gap.sh: Likewise.
11388 * iconvdata/gen-8bit.sh: Likewise.
11389
c1e9e399
UD
11390 * locale/iso-639.def: Add ary entry.
11391
24c55fb3 11392 [BZ #11258]
96b4b1b0
UD
11393 * locale/C-translit.h.in: Add U20A1 transliteration.
11394
bdc2f971
KB
11395 [BZ #12178]
11396 * locale/iso-639.def: Add wae entry.
11397 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11398
2952b117
UD
11399 [BZ #12545]
11400 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11401 for n.
11402
2a81eaa5
UD
11403 [BZ #12711]
11404 * locale/C-translit.h.in: Add entry for U20B9.
11405 Patch by pravin.d.s@gmail.com.
11406
28377d1b
UD
114072011-05-08 Ulrich Drepper <drepper@gmail.com>
11408
7fb90fb8
UD
11409 [BZ #12713]
11410 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11411 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11412 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11413 in rtld. Use *stat64.
7fb90fb8 11414 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11415 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11416 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11417 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11418 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11419 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11420 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11421 __fstatat64 macros.
7fb90fb8
UD
11422 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11423 * dirent/rewinddir.c: Add libc_hidden_def.
11424 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11425 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11426
28377d1b
UD
11427 * include/dirent.h (__alloc_dir): Add flags parameter.
11428 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11429 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11430 __alloc_dir.
11431 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11432 from fdopendir if O_CLOEXEC is already set.
11433
66bdbaa4
AM
114342011-03-15 Alan Modra <amodra@gmail.com>
11435
11436 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11437 l_tls_firstbyte_offset non-zero. Save padding offset in
11438 l_tls_firstbyte_offset for later use.
11439 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11440 freeing static tls block.
11441
95721191
JN
114422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11443
11444 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11445 where #ifdef was intended. The intent is to prevent ARG_MAX from
11446 being defined by the kernel headers.
11447
f87dfb1f
UD
114482011-05-07 Ulrich Drepper <drepper@gmail.com>
11449
11450 [BZ #12734]
11451 * resolv/resolv.h: Define RES_NOTLDQUERY.
11452 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11453 no-tld-query and set RES_NOTLDQUERY.
11454 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11455 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11456 modern BIND to search name as TLD unless forbidden.
11457
47c3cd7a
UD
114582011-05-07 Petr Baudis <pasky@suse.cz>
11459 Ulrich Drepper <drepper@gmail.com>
11460
11461 [BZ #12393]
11462 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11463 (is_trusted_path): ...to here.
c1e9ea35 11464 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11465 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11466 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11467
8a35c912
PP
114682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11469
11470 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11471 __BEGIN/__END_DECLS.
11472
acd41f47
UD
114732011-05-06 Ulrich Drepper <drepper@gmail.com>
11474
11475 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11476 NSS_STATUS_NOTFOUND if no record was found.
11477
597df647
AS
114782011-05-05 Andreas Schwab <schwab@redhat.com>
11479
11480 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11481 (headers-not-in-tirpc): Remove rpc/netdb.h
11482 * resolv/netdb.h: Revert last change.
11483
b9af1301
PP
114842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11485
11486 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11487 circular dependency between libgcc.a and libc.a.
11488
4e34d5f5
AS
114892011-05-05 Andreas Schwab <schwab@redhat.com>
11490
11491 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11492 * nis/Makefile: Don't install rpcsvc/*.
11493 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11494 instead of <rpc/types.h>.
11495 (MAXHOSTNAMELEN): Define.
11496
00ee369c
AS
114972011-05-03 Andreas Schwab <schwab@redhat.com>
11498
11499 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11500
0b592a30
MB
115012011-04-28 Maciej Babinski <mbabinski@google.com>
11502
11503 [BZ #12714]
11504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11505 gethostbyname4_r when IPv6 results are possible.
11506
6e04cbbe
UD
115072011-05-02 Ulrich Drepper <drepper@gmail.com>
11508
11509 [BZ #12723]
11510 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11511 _PC_PIPE_BUF handling.
11512
e4ecafe0
BH
115132011-04-30 Bruno Haible <bruno@clisp.org>
11514
11515 [BZ #12717]
11516 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11517 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11518 to 'int'.
11519 * inet/getnameinfo.c (getnameinfo): Likewise.
11520
125ee683
UD
115212011-04-29 Ulrich Drepper <drepper@gmail.com>
11522
11523 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11524 to groups setting in database lookup.
11525 * nss/nsswitch.conf: Add initgroups entry.
11526
b722481a
EB
115272011-04-22 Ulrich Drepper <drepper@gmail.com>
11528
11529 [BZ #12685]
11530 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11531 mode string.
11532 Patch by Eric Blake <eblake@redhat.com>.
11533
4df46dbd
L
115342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11535
11536 * sunrpc/Makefile (need-export-routines): Add svc_run.
11537 (routines): Remove svc_run.
11538 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11539 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11540 * sunrpc/svc_run.c (svc_run): Likewise.
11541 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11542
e84142d2
UD
115432011-04-21 Ulrich Drepper <drepper@gmail.com>
11544
11545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11546 problem in reallocation in last patch.
11547
877175d8
UD
115482011-04-20 Ulrich Drepper <drepper@gmail.com>
11549
11550 * sunrpc/Makefile: Move inclusion of Rules.
11551
ab8eed78
UD
115522011-04-19 Ulrich Drepper <drepper@gmail.com>
11553
11554 * nss/nss_files/files-initgroups.c: New file.
11555 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11556 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11557 _nss_files_initgroups_dyn.
11558
e3d8f584
RS
115592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11560
11561 * elf/elf.h (R_ARM_IRELATIVE): Define.
11562
af190f45
UD
115632011-04-19 Ulrich Drepper <drepper@gmail.com>
11564
11565 * po/ru.po: Update from translation team.
11566
53cf59ef
UD
115672011-04-17 Ulrich Drepper <drepper@gmail.com>
11568
11569 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11570 dependencies.
11571
4c559bcd
MF
115722011-02-06 Mike Frysinger <vapier@gentoo.org>
11573
11574 [BZ #12653]
11575 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11576 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11577 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11578 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11579 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11580
4420675c
AS
115812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11582
11583 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11584 differing bytes.
11585 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11588
75ea32ab
UD
115892011-04-17 Ulrich Drepper <drepper@gmail.com>
11590
11591 [BZ #12420]
11592 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11593 storing it.
11594 * stdlib/bug-getcontext.c: New file.
11595 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11596
27390476
AK
115972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11598
11599 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11600 instructions into .machine "z9-109".
11601 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11602 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11603
10442705
AK
116042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11605
11606 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11607 between environment variables and auxiliary vector.
11608
7b57bfe5
UD
116092011-04-16 Ulrich Drepper <drepper@gmail.com>
11610
11611 * Makefile: Add rules to build linkobj/libc.so.
11612 * include/libc-symbols.h: Define libc_hidden_nolink.
11613 * include/rpc/auth.h: Mark functions which are to be hidden.
11614 * include/rpc/auth_des.h: Likewise.
11615 * include/rpc/auth_unix.h: Likewise.
11616 * include/rpc/clnt.h: Likewise.
11617 * include/rpc/des_crypt.h: Likewise.
11618 * include/rpc/key_prot.h: Likewise.
11619 * include/rpc/pmap_clnt.h: Likewise.
11620 * include/rpc/pmap_prot.h: Likewise.
11621 * include/rpc/pmap_rmt.h: Likewise.
11622 * include/rpc/rpc_msg.h: Likewise.
11623 * include/rpc/svc.h: Likewise.
11624 * include/rpc/svc_auth.h: Likewise.
11625 * include/rpc/xdr.h: Likewise.
11626 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11627 * nss/Makefile: Likewise.
11628 * sunrpc/Makefile: Don't install headers. Build library with normal
11629 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11630 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11631 for the compat linking library. Remove use of INTDEF/INTUSE.
11632 * sunrpc/auth_none.c: Likewise.
11633 * sunrpc/auth_unix.c: Likewise.
11634 * sunrpc/authdes_prot.c: Likewise.
11635 * sunrpc/authuxprot.c: Likewise.
11636 * sunrpc/clnt_gen.c: Likewise.
11637 * sunrpc/clnt_perr.c: Likewise.
11638 * sunrpc/clnt_raw.c: Likewise.
11639 * sunrpc/clnt_simp.c: Likewise.
11640 * sunrpc/clnt_tcp.c: Likewise.
11641 * sunrpc/clnt_udp.c: Likewise.
11642 * sunrpc/clnt_unix.c: Likewise.
11643 * sunrpc/des_crypt.c: Likewise.
11644 * sunrpc/des_soft.c: Likewise.
11645 * sunrpc/get_myaddr.c: Likewise.
11646 * sunrpc/key_call.c: Likewise.
11647 * sunrpc/key_prot.c: Likewise.
11648 * sunrpc/netname.c: Likewise.
11649 * sunrpc/pm_getmaps.c: Likewise.
11650 * sunrpc/pm_getport.c: Likewise.
11651 * sunrpc/pmap_clnt.c: Likewise.
11652 * sunrpc/pmap_prot.c: Likewise.
11653 * sunrpc/pmap_prot2.c: Likewise.
11654 * sunrpc/pmap_rmt.c: Likewise.
11655 * sunrpc/publickey.c: Likewise.
11656 * sunrpc/rpc_cmsg.c: Likewise.
11657 * sunrpc/rpc_common.c: Likewise.
11658 * sunrpc/rpc_dtable.c: Likewise.
11659 * sunrpc/rpc_prot.c: Likewise.
11660 * sunrpc/rpc_thread.c: Likewise.
11661 * sunrpc/rtime.c: Likewise.
11662 * sunrpc/svc.c: Likewise.
11663 * sunrpc/svc_auth.c: Likewise.
11664 * sunrpc/svc_authux.c: Likewise.
11665 * sunrpc/svc_raw.c: Likewise.
11666 * sunrpc/svc_run.c: Likewise.
11667 * sunrpc/svc_simple.c: Likewise.
11668 * sunrpc/svc_tcp.c: Likewise.
11669 * sunrpc/svc_udp.c: Likewise.
11670 * sunrpc/svc_unix.c: Likewise.
11671 * sunrpc/svcauth_des.c: Likewise.
11672 * sunrpc/xcrypt.c: Likewise.
11673 * sunrpc/xdr.c: Likewise.
11674 * sunrpc/xdr_array.c: Likewise.
11675 * sunrpc/xdr_float.c: Likewise.
11676 * sunrpc/xdr_intXX_t.c: Likewise.
11677 * sunrpc/xdr_mem.c: Likewise.
11678 * sunrpc/xdr_rec.c: Likewise.
11679 * sunrpc/xdr_ref.c: Likewise.
11680 * sunrpc/xdr_sizeof.c: Likewise.
11681 * sunrpc/xdr_stdio.c: Likewise.
11682
e6c61494
UD
116832011-04-10 Ulrich Drepper <drepper@gmail.com>
11684
11685 [BZ #12650]
11686 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11687 * sysdeps/ia64/dl-tls.h: Likewise.
11688 * sysdeps/powerpc/dl-tls.h: Likewise.
11689 * sysdeps/s390/dl-tls.h: Likewise.
11690 * sysdeps/sh/dl-tls.h: Likewise.
11691 * sysdeps/sparc/dl-tls.h: Likewise.
11692 * sysdeps/x86_64/dl-tls.h: Likewise.
11693 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11694
34fe483e
AS
116952011-03-14 Andreas Schwab <schwab@redhat.com>
11696
11697 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11698 rpath element also skip the following colon.
11699 (expand_dynamic_string_token): Add is_path parameter and pass
11700 down to DL_DST_REQUIRED and _dl_dst_substitute.
11701 (decompose_rpath): Call expand_dynamic_string_token with
11702 non-zero is_path. Ignore empty rpaths.
11703 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11704 with zero is_path.
11705
f12a32e6
AS
117062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11707
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11709 Make cancelable.
11710
38a7d692
UD
117112011-04-09 Ulrich Drepper <drepper@gmail.com>
11712
11713 [BZ #12655]
11714 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11715 Patch by Filipe David Manana <fdmanana@apache.org>.
11716
e451d22b
AS
117172011-04-07 Andreas Schwab <schwab@redhat.com>
11718
11719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11720 Maintain aligned stack.
11721 (CHECK_RSP): Remove unused macro.
11722
dedc7c7b
UD
117232011-04-03 Ulrich Drepper <drepper@gmail.com>
11724
11725 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11726 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11727
94521213
UD
117282011-04-02 Ulrich Drepper <drepper@gmail.com>
11729
11730 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11731
8cb700c0 11732 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11733
0354e355
L
117342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11735
11736 [BZ #12518]
11737 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11738 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11739 * sysdeps/x86_64/memmove.c: New file.
11740 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11741 (memcpy): Renamed to ...
11742 (__new_memcpy): This.
11743 (memcpy): Provide GLIBC_2_14 memcpy.
11744 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11745 (memcpy): Provide GLIBC_2_2_5 memcpy.
11746
8593482f
UD
117472011-04-01 Ulrich Drepper <drepper@gmail.com>
11748
11749 [BZ #12631]
11750 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11751
81a5726b
AS
117522011-03-30 Andreas Schwab <schwab@redhat.com>
11753
11754 * misc/syncfs.c: New file.
11755 * misc/Makefile (routines): Add syncfs.
11756 * posix/unistd.h: Declare syncfs.
11757 * sysdeps/unix/syscalls.list: Add syncfs.
11758
00e5419f
AS
117592011-04-01 Andreas Schwab <schwab@redhat.com>
11760
11761 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11762 open_by_handle_at.
11763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11764 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11766 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11767 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11768 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11770
748876bf
UD
117712011-04-01 Ulrich Drepper <drepper@gmail.com>
11772
658e451d
UD
11773 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11774 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11775 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11777 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11780
748876bf
UD
11781 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11782 sync_file_range.c with -fexceptions.
11783 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11784 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11785 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11786 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11787 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11788 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11789 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11790 sync_file_range as cancellation point
11791 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11792 now a wrapper around __call_sync_file_range with cancellation handling.
11793 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11794 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11795 function name to __call_sync_file_range.
11796 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11797 Add call_sync_file_range.
748876bf 11798
6e63d5e1
AS
117992011-04-01 Andreas Schwab <schwab@redhat.com>
11800
11801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11802 bits/timex.h.
6e63d5e1 11803
46998f74
UD
118042011-04-01 Ulrich Drepper <drepper@gmail.com>
11805
4c1423ed
UD
11806 * iconv/iconv.h: Fix typo in comment.
11807 * io/fcntl.h: Likewise.
11808 * libio/stdio.h: Likewise.
11809 * posix/spawn.h: Likewise.
11810 * posix/unistd.h: Likewise.
11811 * stdlib/stdlib.h: Likewise.
11812 * time/time.h: Likewise.
11813 * wcsmbs/wchar.h: Likewise.
11814
158648c0
UD
11815 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11816 open_by_handle): Add.
11817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11818 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11819 Augment a few comments.
11820 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11822 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11824 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11825 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11826 open_by_handle.
11827
46998f74
UD
11828 * io/fcntl.h (AT_EMPTY_PATH): Define.
11829
83fe108b
UD
118302011-03-30 Ulrich Drepper <drepper@gmail.com>
11831
11832 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11833 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11834 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11835 to...
11836 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11837 * Versions.def: Add GLIBC_2.14.
11838 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11839 Export.
83fe108b 11840
bb242059
UD
118412011-03-22 Ulrich Drepper <drepper@gmail.com>
11842
11843 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11844 round counter.
11845 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11846
c97a1282
L
118472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11848
11849 [BZ #12597]
11850 * string/test-strncmp.c (do_page_test): New function.
11851 (check2): Likewise.
11852 (test_main): Call check2.
11853 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11854
2a115601
UD
118552011-03-20 Ulrich Drepper <drepper@gmail.com>
11856
11857 [BZ #12587]
11858 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11859 Handle cache information in CPU leaf 4.
11860 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11861
8126d904
UD
118622011-03-18 Ulrich Drepper <drepper@gmail.com>
11863
042c49c6 11864 [BZ #12583]
8126d904
UD
11865 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11866 character representation.
11867 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11868
ccfe366e
RA
118692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11870
11871 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11872 END(__isnan) to END(__isnanf) to match function entry point/label
11873 EALIGN(__isnanf,...).
11874
c6e13027
JJ
118752011-03-10 Jakub Jelinek <jakub@redhat.com>
11876
11877 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11878
33f85a3f
UD
118792011-03-10 Ulrich Drepper <drepper@gmail.com>
11880
028478fa
UD
11881 [BZ #12510]
11882 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11883 copy from the symbol referenced in the relocation to initialize the
11884 used variable.
11885 Patch by Piotr Bury <pbury@goahead.com>.
11886 * elf/Makefile: Add rules to build and tst-unique3.
11887 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11888 * elf/tst-unique3.cc: New file.
11889 * elf/tst-unique3.h: New file.
11890 * elf/tst-unique3lib.cc: New file.
11891 * elf/tst-unique3lib2.cc: New file.
11892
33f85a3f
UD
11893 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11894
03592fc7
MF
118952011-03-10 Mike Frysinger <vapier@gentoo.org>
11896
11897 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11898 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11899 to _start.
03592fc7 11900
6a5ee102
UD
119012011-03-06 Ulrich Drepper <drepper@gmail.com>
11902
11903 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11904 to-be-loaded object along a path to loader is ld.so.
11905
7e4ba49c
HJ
119062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11907 Ulrich Drepper <drepper@gmail.com>
11908
11909 * sysdeps/x86_64/memset.S: After aligning destination, code
11910 branches to different locations depending on the value of
11911 misalignment, when multiarch is enabled. Fix this.
11912
119132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11914
11915 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11916 Set _x86_64_preferred_memory_instruction for AMD processsors.
11917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11918 Set bit_Prefer_SSE_for_memop for AMD processors.
11919
13a804de
UD
119202011-03-04 Ulrich Drepper <drepper@gmail.com>
11921
11922 * libio/fmemopen.c (fmemopen): Optimize a bit.
11923
9d25c392
AS
119242011-03-03 Andreas Schwab <schwab@redhat.com>
11925
11926 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11927
a5543c6a
RM
119282011-03-03 Roland McGrath <roland@redhat.com>
11929
11930 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11931
012d35f7
DM
119322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11933
7e4ba49c 11934 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11935 __bzero_ultra1 instead of __memset_ultra1.
11936
4bff6e01
AS
119372011-02-23 Andreas Schwab <schwab@redhat.com>
11938 Ulrich Drepper <drepper@gmail.com>
11939
11940 [BZ #12509]
11941 * include/link.h (struct link_map): Add l_orig_initfini.
11942 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11943 returning unsuccessfully.
11944 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11945 close of a file loaded at startup, restore the original l_initfini
11946 list.
11947 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11948 list, store the pointer.
11949 * elf/Makefile ($(objpfx)noload-mem): New rule.
11950 (noload-ENV): Define.
11951 (tests): Add $(objpfx)noload-mem.
11952 * elf/noload.c: Include <memcheck.h>.
11953 (main): Call mtrace. Close all opened handles.
11954
f2092faf
AS
119552011-02-17 Andreas Schwab <schwab@redhat.com>
11956
11957 [BZ #12454]
11958 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11959 dependencies are missing.
11960
6c8a2e88
ST
119612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11962
f2092faf 11963 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11964 Hurd needs munmap.
11965 * sysdeps/mach/hurd/ifreq.h: New file.
11966
84a42118
PB
119672011-01-27 Petr Baudis <pasky@suse.cz>
11968 Ulrich Drepper <drepper@gmail.com>
11969
071f805e 11970 [BZ 12445]#
84a42118
PB
11971 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11972 to extend_alloca().
11973 * stdio-common/bug23.c: New file.
11974 * stdio-common/Makefile (tests): Add bug23.
11975
e23fe25b
AS
119762010-09-28 Andreas Schwab <schwab@redhat.com>
11977 Ulrich Drepper <drepper@gmail.com>
11978
11979 [BZ #12489]
11980 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11981 before performing relro protection. At old place add assertion
11982 to make sure nothing changed.
11983
d3f02e10
NS
119842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11985 Glauber de Oliveira Costa <glommer@gmail.com>
11986
11987 * elf/elf.h: Add new ARM TLS relocs.
11988
d55fd7a5
RA
119892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11990
11991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11992 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11993 cast from r3.
11994 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11995 'tests' variable.
11996 * sysdeps/wordsize-64/tst-writev.c: New file.
11997
2206397e
RA
119982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11999
12000 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12001 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12002 insns in _dl_start to prevent a TOC reference before relocs are
12003 resolved.
12004
e9433893
UD
120052011-02-15 Ulrich Drepper <drepper@gmail.com>
12006
12007 [BZ #12469]
12008 * Makeconfig: Remove RANLIB definition.
12009 * Makerules: Don't use RANLIB.
12010 * aclocal.m4: Remove ranlib test.
12011 * configure.in: No need to check for ranlib.
12012 * elf/rtld-Rules: Don't use RANLIB.
12013
f75286c6
ST
120142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12015
8e31c82d
ST
12016 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12017 protection macro.
12018 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12019 inclusion protection macro.
12020
f75286c6
ST
12021 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12022 SIGRTMIN and SIGRTMAX and print information in that case only when
12023 SIGRTMIN is defined.
12024
c1d0e639
JJ
120252011-02-11 Jakub Jelinek <jakub@redhat.com>
12026
12027 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12028 arginfo fn returning -1.
12029
12030 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12031 and thousands string is zero terminated.
12032
edf9294e
AS
120332011-02-03 Andreas Schwab <schwab@redhat.com>
12034
12035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12036 sysdeps/unix/sysv/linux/bits/socket.h.
12037
2b7e92df
ST
120382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12039
edf9294e
AS
12040 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12041 (__CPU_COUNT): Remove old macros.
12042 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12043 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12044 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12045 (__sched_cpualloc, __sched_cpufree): Add declarations.
12046
a4c7ea7b
UD
120472011-02-05 Ulrich Drepper <drepper@gmail.com>
12048
12049 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12050 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12051 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12052 (readdhstai): Return value of addhstaiX call.
12053 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12054 (addgrbyX): Return value returned by cache_addgr.
12055 (readdgrbyname): Return value returned by addgrbyX.
12056 (readdgrbygid): Likewise.
12057 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12058 (addpwbyX): Return value returned by cache_addpw.
12059 (readdpwbyname): Return value returned by addhstbyX.
12060 (readdpwbyuid): Likewise.
12061 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12062 (addservbyX): Return value returned by cache_addserv.
12063 (readdservbyname): Return value returned by addservbyX:
12064 (readdservbyport): Likewise.
12065 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12066 (addhstbyX): Return value returned by cache_addhst.
12067 (readdhstbyname): Return value returned by addhstbyX.
12068 (readdhstbyaddr): Likewise.
12069 (readdhstbynamev6): Likewise.
12070 (readdhstbyaddrv6): Likewise.
12071 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12072 (readdinitgroups): Return value returned by addinitgroupsX.
12073 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12074 (prune_cache): Keep track of timeout value of re-added entries.
12075 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12076 * nscd/nscd.h: Adjust prototypes of readd* functions.
12077
a0bf67cc
RM
120782011-02-04 Roland McGrath <roland@redhat.com>
12079
12080 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12081 (nis_stats): Likewise.
12082 * nis/nis_modify.c (nis_modify): Likewise.
12083 * nis/nis_remove.c (nis_remove): Likewise.
12084 * nis/nis_add.c (nis_add): Likewise.
12085
12086 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12087
12088 * posix/fnmatch_loop.c: Add some consts.
12089
12090 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12091
435b95eb
L
120922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12093
12094 [BZ #12460]
12095 * config.make.in (config-cflags-novzeroupper): Define.
12096 * configure.in: Substitute libc_cv_cc_novzeroupper.
12097 * elf/Makefile (AVX-CFLAGS): Define.
12098 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12099 (CFLAGS-tst-auditmod4a.c): Likewise.
12100 (CFLAGS-tst-auditmod4b.c): Likewise.
12101 (CFLAGS-tst-auditmod6b.c): Likewise.
12102 (CFLAGS-tst-auditmod6c.c): Likewise.
12103 (CFLAGS-tst-auditmod7b.c): Likewise.
12104 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12105
8517b15e
UD
121062011-02-02 Ulrich Drepper <drepper@gmail.com>
12107
12108 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12109 function to the callback.
12110 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12111
10a656fe
AS
121122011-02-02 Andreas Schwab <schwab@redhat.com>
12113
12114 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12115 of errno.
12116
968dad0a
UD
121172011-01-19 Ulrich Drepper <drepper@gmail.com>
12118
9f94d2ea 12119 [BZ #11724]
968dad0a
UD
12120 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12121 of constructors.
12122 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12123 of destructors.
12124 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12125
12126 [BZ #11724]
12127 * elf/Makefile: Add rules to build and run new test.
12128 * elf/tst-initorder.c: New file.
12129 * elf/tst-initorder.exp: New file.
12130 * elf/tst-initordera1.c: New file.
12131 * elf/tst-initordera2.c: New file.
12132 * elf/tst-initordera3.c: New file.
12133 * elf/tst-initordera4.c: New file.
12134 * elf/tst-initorderb1.c: New file.
12135 * elf/tst-initorderb2.c: New file.
12136 * elf/tst-order-a1.c: New file.
12137 * elf/tst-order-a2.c: New file.
12138 * elf/tst-order-a3.c: New file.
12139 * elf/tst-order-a4.c: New file.
12140 * elf/tst-order-b1.c: New file.
12141 * elf/tst-order-b2.c: New file.
12142 * elf/tst-order-main.c: New file.
12143 New test case by George Gensure <werkt0@gmail.com>.
12144
86e92359
UD
121452010-10-01 Andreas Schwab <schwab@redhat.com>
12146
12147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12148 decoding ACE if AI_CANONIDN.
12149
5d5732b0
UD
121502011-01-18 Ulrich Drepper <drepper@gmail.com>
12151
12152 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12153
a77e8cbc
UD
121542011-01-17 Ulrich Drepper <drepper@gmail.com>
12155
6392473f
UD
12156 * version.h (RELEASE): Bump for 2.13 release.
12157 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12158
620a0529
UD
12159 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12160
18ba70a5
UD
12161 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12162 MADV_NOHUGEPAGE.
32465c3e
UD
12163 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12164 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12165 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12166 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12167 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12168 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12169
c0dafcf1
UD
12170 * posix/getconf.c: Update copyright year.
12171 * catgets/gencat.c: Likewise.
12172 * csu/version.c: Likewise.
12173 * debug/catchsegv.sh: Likewise.
12174 * debug/xtrace.sh: Likewise.
12175 * elf/ldconfig.c: Likewise.
12176 * elf/ldd.bash.in: Likewise.
12177 * elf/sprof.c (print_version): Likewise.
12178 * iconv/iconv_prog.c: Likewise.
12179 * iconv/iconvconfig.c: Likewise.
12180 * locale/programs/locale.c: Likewise.
12181 * locale/programs/localedef.c: Likewise.
12182 * malloc/memusage.sh: Likewise.
12183 * malloc/mtrace.pl: Likewise.
12184 * nscd/nscd.c (print_version): Likewise.
12185 * nss/getent.c: Likewise.
12186
a77e8cbc
UD
12187 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12188 PF_CAIF, and PF_ALG.
12189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12190
77e8bddf
AS
121912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12192
1f20b93a
AS
12193 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12194 (modules-names): Use them.
12195 (ifunc-test-modules, ifunc-pie-tests): Define.
12196 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12197 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12198 (test-extras): Likewise.
12199 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12200 $(compile-command.c).
12201 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12202 (all-built-dso): Define.
12203 (check-textrel.out, check-execstack.out): Depend on it.
12204
77e8bddf
AS
12205 * configure.in: Don't override --enable-multi-arch.
12206
bc425b33
UD
122072011-01-15 Ulrich Drepper <drepper@gmail.com>
12208
12209 [BZ #6812]
12210 * nscd/hstcache.c (tryagain): Define.
12211 (cache_addhst): Return tryagain not notfound for temporary errors.
12212 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12213 failed.
12214
794c3ad3
UD
122152011-01-14 Ulrich Drepper <drepper@gmail.com>
12216
70181fdd
UD
12217 [BZ #10563]
12218 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12219 to make the syscall.
12220 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12221
794c3ad3
UD
12222 [BZ #12378]
12223 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12224 and fall back to matching as normal character if the string ends before
12225 the matching ']' is found. This is what POSIX requires.
12226 * posix/testfnm.c: Adjust test result.
12227 * posix/globtest.sh: Adjust test result. Add new test.
12228 * posix/tst-fnmatch.input: Likewise.
12229 * posix/tst-fnmatch2.c: Add new test.
12230
68dc9497
AS
122312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12232
12233 * elf/Makefile (check-execstack): Revert last change. Depend on
12234 check-execstack.h.
12235 (check-execstack.h): New target.
12236 (generated): Add check-execstack.h.
12237 * elf/check-execstack.c: Include "check-execstack.h".
12238 (main): Revert last change.
12239 (handle_file): Return zero if GNU_STACK is absent and
12240 DEFAULT_STACK_PERMS doesn't include PF_X.
12241
451f001b
UD
122422011-01-13 Ulrich Drepper <drepper@gmail.com>
12243
cfa28e56
UD
12244 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12245 in child fails because the descriptor is already closed.
8cf8ce17
UD
12246 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12247 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12248 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12249
1086d70d
UD
12250 [BZ #12397]
12251 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12252 syscall.
12253
451f001b
UD
12254 [BZ #10484]
12255 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12256 temporary buffer used to handle multi lookups locally.
a85b5cb4 12257 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12258
08769175
UD
122592011-01-12 Ulrich Drepper <drepper@gmail.com>
12260
12261 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12262 loader is ld.so.
12263
5e49c52e
UD
122642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12265
12266 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12267 alignment for SSE2.
12268
60522a5f
UD
122692011-01-12 Ulrich Drepper <drepper@gmail.com>
12270
12271 [BZ #12394]
12272 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12273 characters. When rounding increased number of integer digits recompute
12274 number of groups.
12275 * stdio-common/tst-grouping.c: New file.
12276 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12277
f257bbd7
UD
122782011-01-09 Ulrich Drepper <drepper@gmail.com>
12279
12280 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12281 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12282
12283 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12284 void.
12285 * bits/select.h: Likewise.
12286
fa9c15cb
UD
122872011-01-08 Ulrich Drepper <drepper@gmail.com>
12288
12289 * po/ja.po: Update from translation team.
12290
16c2895f
DM
122912011-01-04 David S. Miller <davem@sunset.davemloft.net>
12292
12293 [BZ #11155]
12294 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12295 implementation just like for lxstat, fxstatat, et al.
12296
2543fef2
JM
122972010-12-27 Jim Meyering <meyering@redhat.com>
12298
12299 [BZ #12348]
12300 * posix/regexec.c (build_trtable): Return failure indication upon
12301 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12302
98727dbe
UD
123032010-12-25 Ulrich Drepper <drepper@gmail.com>
12304
5bd6dc5c
UD
12305 [BZ #12201]
12306 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12307 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12308 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12309 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12310
97983464
UD
12311 [BZ #12207]
12312 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12313
98727dbe
UD
12314 [BZ #12204]
12315 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12316 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12317
4a531bb0
L
123182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12319
12320 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12321 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12322 script has SORT_BY_INIT_PRIORITY.
12323 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12324 NO_CTORS_DTORS_SECTIONS is defined.
12325 * elf/soinit.c: Likewise.
12326 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12327 NO_CTORS_DTORS_SECTIONS is defined.
12328 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12329 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12330 * sysdeps/sh/init-first.c: Likewise.
12331 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12332
07eb4b71
UD
123332010-12-24 Ulrich Drepper <drepper@gmail.com>
12334
12335 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12336 always use the slow path.
12337
30950a5f
RA
123382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12339
12340 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12341 similar rule which adds the sysdep directories to the header search in
12342 order to pick up the correct platform stackinfo.h.
12343 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12344 perform test if it is, otherwise return successfully without testing.
12345 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12346 DEFAULT_STACK_PERMS define in stackinfo.h.
12347 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12348 defined in stackinfo.h.
12349 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12350 DEFAULT_STACK_PERMS defined in stackinfo.h.
12351 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12352 * sysdeps/ia64/stackinfo.h: Likewise.
12353 * sysdeps/s390/stackinfo.h: Likewise.
12354 * sysdeps/sh/stackinfo.h: Likewise.
12355 * sysdeps/sparc/stackinfo.h: Likewise.
12356 * sysdeps/x86_64/stackinfo.h: Likewise.
12357 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12358 PF_X for powerpc64. Retain PF_X for powerpc32.
12359
db753e2c
UD
123602010-12-19 Ulrich Drepper <drepper@gmail.com>
12361
14b697f7
UD
12362 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12363 accurately.
db753e2c
UD
12364 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12365 GETDENTS_64BIT_ALIGNED.
12366
28300719
UD
123672010-12-14 Ulrich Drepper <dreper@gmail.com>
12368
14b697f7 12369 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12370
4f197237
AS
123712010-12-10 Andreas Schwab <schwab@redhat.com>
12372
dbb0472f
AS
12373 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12374 _GNU_SOURCE.
12375
4f197237
AS
12376 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12377 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12378 Remove __restrict.
12379 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12380 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12381
fb88ac72
UD
123822010-12-09 Ulrich Drepper <drepper@gmail.com>
12383
12384 [BZ #11655]
12385 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12386 are initialized.
12387
42acbb92
JJ
123882010-12-09 Jakub Jelinek <jakub@redhat.com>
12389
12390 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12391
c038d98d
UD
123922010-12-03 Ulrich Drepper <drepper@gmail.com>
12393
12394 * po/it.po: Update from translation team.
12395
3a4a2499
L
123962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12397
12398 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12399 unused codes.
12400
1e24cf6e
UD
124012010-11-30 Ulrich Drepper <drepper@gmail.com>
12402
12403 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12404
a7690819
AS
124052010-11-24 Andreas Schwab <schwab@redhat.com>
12406
12407 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12408 specially.
12409 (gaih_getanswer_slice): Likewise.
12410
3bf8d1b1
JJ
124112010-10-20 Jakub Jelinek <jakub@redhat.com>
12412
12413 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12414
6db52fbb
PB
124152010-05-31 Petr Baudis <pasky@suse.cz>
12416
12417 [BZ #11149]
12418 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12419 silently even in the chroot mode.
12420
eaca7569
UD
124212010-11-22 Ulrich Drepper <drepper@gmail.com>
12422
12423 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12424 last patch a bit. Pretty printing
12425
3056dcdb
UD
124262010-05-31 Petr Baudis <pasky@suse.cz>
12427
12428 [BZ #10085]
12429 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12430 initialization of skip_initgroups_dyn.
12431
cf7c9078
UD
124322010-11-19 Ulrich Drepper <drepper@gmail.com>
12433
12434 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12435 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12436
a1fb5e3e
UD
124372010-11-16 Ulrich Drepper <drepper@gmail.com>
12438
12439 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12440
3540d66b
AS
124412010-11-11 Andreas Schwab <schwab@redhat.com>
12442
12443 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12444 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12445 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12446 ($(objpfx)tst-fnmatch-mem): New rule.
12447 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12448 * posix/tst-fnmatch.c (main): Call mtrace.
12449
13b69574
L
124502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12451
12452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12453 Support Intel processor model 6 and model 0x2c.
12454
da93d214
LM
124552010-11-10 Luis Machado <luisgpm@br.ibm.com>
12456
12457 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12458 signed comparison.
12459
8ca52c6e
L
124602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12461
12462 [BZ #12205]
12463 * string/test-strncasecmp.c (check_result): New function.
12464 (do_one_test): Use it.
12465 (check1): New function.
12466 (test_main): Use it.
12467 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12468 Support strcasecmp and strncasecmp.
12469
69da074d
UD
124702010-11-08 Ulrich Drepper <drepper@gmail.com>
12471
12472 [BZ #12194]
12473 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12475
ff02d528
L
124762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12477
12478 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12479 IFUNC support.
12480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12481 memset-x86-64.
12482 * sysdeps/x86_64/multiarch/bzero.S: New file.
12483 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12484 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12485 * sysdeps/x86_64/multiarch/memset.S: New file.
12486 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12488 Set bit_Prefer_SSE_for_memop for Intel processors.
12489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12490 Define.
12491 (index_Prefer_SSE_for_memop): Define.
12492 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12493
344d0b54
LM
124942010-11-04 Luis Machado <luisgpm@br.ibm.com>
12495
12496 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12497 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12498
c0dde15b
UD
124992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12500
12501 [BZ #12191]
12502 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12503 (__x86_64_raw_data_cache_size_half): Likewise.
12504 (__x86_64_raw_shared_cache_size): Likewise.
12505 (__x86_64_raw_shared_cache_size_half): Likewise.
12506
12507 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12508 (__x86_64_raw_data_cache_size_half): Likewise.
12509 (__x86_64_raw_shared_cache_size): Likewise.
12510 (__x86_64_raw_shared_cache_size_half): Likewise.
12511 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12512 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12513 and __x86_64_raw_shared_cache_size_half. Round
12514 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12515 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12516 to multiple of 256 bytes.
12517
0e516e0e
MS
125182010-11-03 Ulrich Drepper <drepper@gmail.com>
12519
12520 [BZ #12167]
12521 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12522 of inacessible symlinks. Verify result of symlink before returning it.
12523 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12524 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12525
0e012e87
ER
125262010-10-28 Erich Ritz <erichritz@gmail.com>
12527
12528 * math/math.h (isinf): Fix typo in comment.
12529
de0ff7bc
UD
125302010-11-01 Ulrich Drepper <drepper@gmail.com>
12531
12532 * po/da.po: Update from translation team.
12533
fa41c84d
UD
125342010-10-26 Ulrich Drepper <drepper@gmail.com>
12535
12536 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12537 is added to the list.
12538
f0967738
AK
125392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12540 Ulrich Drepper <drepper@gmail.com>
12541
12542 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12543 the global list here. Move code to...
12544 (_dl_add_to_namespace_list): ...here. New function.
12545 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12546 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12547 * elf/dl-load.c (lose): Don't remove the element from the list.
12548 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12549 (_dl_map_object): Likewise.
12550
125512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12552
12553 [BZ #12159]
12554 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12555 into all bytes of SSE register.
12556 Patch by Richard Li <richardpku@gmail.com>.
12557
f0967738 125582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12559
12560 [BZ #12140]
12561 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12562 perturbing.
12563
d0b9e94f
MB
125642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12565
12566 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12567 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12568 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12569 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12571 submachine.
12572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12573
8e9f92e9
AS
125742010-10-22 Andreas Schwab <schwab@redhat.com>
12575
12576 * include/dlfcn.h (__RTLD_SECURE): Define.
12577 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12578 mode & __RTLD_SECURE instead.
12579 (open_path): Rename preloaded parameter to secure.
12580 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12581 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12582 * elf/dl-deps.c (openaux): Likewise.
12583 * elf/rtld.c (struct map_args): Remove is_preloaded.
12584 (map_doit): Don't use it.
12585 (dl_main): Likewise.
12586 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12587 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12588
bc96fbda
AS
125892010-09-09 Andreas Schwab <schwab@redhat.com>
12590
12591 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12592 (sysd-rules-targets): Remove duplicates.
12593 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12594 rtld-%.$o dependency.
12595
22cd1c9b
AS
125962010-10-18 Andreas Schwab <schwab@redhat.com>
12597
12598 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12599 _dl_map_object do it.
12600
18edac48
UD
126012010-10-19 Ulrich Drepper <drepper@gmail.com>
12602
12603 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12604 fast fma builtins, define the macros in the C99 standard.
12605 (FP_FAST_FMAF): Likewise.
12606 (FP_FAST_FMAL): Likewise.
12607 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12608
12609 * bits/mathdef.h: Update copyright year.
12610 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12611
d2050124
MM
126122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12613
12614 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12615 builtins, define the macros in the C99 standard.
12616 (FP_FAST_FMAF): Likewise.
12617 (FP_FAST_FMAL): Likewise.
12618 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12619 multiply/add.
12620 (FP_FAST_FMAF): Likewise.
12621
475facd1
JJ
126222010-10-15 Jakub Jelinek <jakub@redhat.com>
12623
12624 [BZ #3268]
12625 * math/libm-test.inc (fma_test): Some new testcases.
12626 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12627 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12628 y and infinite z. Do multiplication by C already in long double.
12629 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12631 y and infinite z. Do bitwise or of inexact bit into u.d.
12632 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12633 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12634 * sysdeps/i386/fpu/s_fma.S: Removed.
12635 * sysdeps/i386/fpu/s_fmal.S: Removed.
12636
7c08a05c
JJ
126372010-10-16 Jakub Jelinek <jakub@redhat.com>
12638
12639 [BZ #3268]
12640 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12642 computation is not scheduled after fetestexcept. Fix value
12643 of minimum denormal long double.
12644
f3f7372d
JJ
126452010-10-14 Jakub Jelinek <jakub@redhat.com>
12646
12647 [BZ #3268]
12648 * math/libm-test.inc (fma_test): Add some more tests.
12649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12650 correctly.
12651
14d43591
AS
126522010-10-15 Andreas Schwab <schwab@redhat.com>
12653
12654 * scripts/data/localplt-s390-linux-gnu.data: New file.
12655 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12656
5e908464
JJ
126572010-10-13 Jakub Jelinek <jakub@redhat.com>
12658
12659 [BZ #3268]
12660 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12661 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12662 instead of dbl-64.
12663 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12664 inlines.
12665 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12667 if one of x and y is very large and the other is subnormal.
12668 * sysdeps/s390/fpu/s_fmaf.c: New file.
12669 * sysdeps/s390/fpu/s_fma.c: New file.
12670 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12671 * sysdeps/powerpc/fpu/s_fma.S: New file.
12672 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12673 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12674 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12675
126762010-10-12 Jakub Jelinek <jakub@redhat.com>
12677
12678 [BZ #3268]
12679 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12680 fma tests.
12681 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12682 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12683 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12684 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12685 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12686 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12687 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12688
b833d51f
UD
126892010-10-12 Ulrich Drepper <drepper@redhat.com>
12690
12691 [BZ #12078]
12692 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12693 * posix/bug-regex31.input: Add test case.
12694
1751705d
UD
126952010-10-11 Ulrich Drepper <drepper@gmail.com>
12696
e9b9cbf5
UD
12697 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12698 * posix/bug-regex31.input: New file.
12699
12700 [BZ #12078]
12701 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12702 (parse_sub_exp): Fix last change, use postorder.
12703
ef06edbe
UD
12704 * posix/bug-regex31.c: New file.
12705 * posix/Makefile: Add rules to build and run bug-regex31.
12706
a129c80d
UD
12707 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12708
12709 [BZ #12078]
12710 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12711
b76b818e
UD
12712 [BZ #12108]
12713 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12714 to have entries in sys_siglist.
12715
1751705d
UD
12716 [BZ #12093]
12717 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12718 be NULL.
12719
9ff8d36f
JJ
127202010-10-07 Jakub Jelinek <jakub@redhat.com>
12721
12722 [BZ #3268]
12723 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12724 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12725 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12726 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12727 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12728 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12729 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12730 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12731 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12732 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12733 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12734 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12735 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12736 * math/ftestexcept.c (fetestexcept): Likewise.
12737 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12738 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12739 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12740 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12741 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12742 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12743 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12744
af325969
UD
127452010-10-11 Ulrich Drepper <drepper@gmail.com>
12746
c579b202 12747 [BZ #12107]
af325969
UD
12748 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12749 newline.
12750
67a67b95
UD
127512010-10-06 Ulrich Drepper <drepper@gmail.com>
12752
12753 * string/bug-strstr1.c: New file.
12754 * string/Makefile: Add rules to build and run bug-strstr1.
12755
5fb308bc
EB
127562010-10-05 Eric Blake <eblake@redhat.com>
12757
12758 [BZ #12092]
12759 * string/str-two-way.h (two_way_long_needle): Always clear memory
12760 when skipping input due to the shift table.
12761
45db99c7
UD
127622010-10-03 Ulrich Drepper <drepper@gmail.com>
12763
3b111893
UD
12764 [BZ #12005]
12765 * malloc/mcheck.c: Handle large requests.
12766
45db99c7
UD
12767 [BZ #12077]
12768 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12769 for strncmp and strncasecmp.
12770 * string/stratcliff.c: Add tests for strcmp and strncmp.
12771 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12772
cf7a1eb8
NI
127732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12774
12775 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12776 __set_fpscr.
12777
6484ba5e
AJ
127782010-09-30 Andreas Jaeger <aj@suse.de>
12779
12780 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12781 (CGROUP_SUPER_MAGIC): Define.
12782 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12783 Handle btrfs and cgroup file systems.
12784 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12785 Likewise.
12786
91c42559
LM
127872010-09-27 Luis Machado <luisgpm@br.ibm.com>
12788
12789 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12790 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12791
87a97932
AK
127922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12793
12794 [BZ #12067]
12795 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12796 trying to locate the ELF header.
12797
c21cc9bc
AS
127982010-09-27 Andreas Schwab <schwab@redhat.com>
12799
12800 [BZ #11611]
12801 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12802 Mask out sign-bit copies when constructing f_fsid.
12803
315970f6
PB
128042010-09-24 Petr Baudis <pasky@suse.cz>
12805
12806 * debug/stack_chk_fail_local.c: Add missing licence exception.
12807 * debug/warning-nop.c: Likewise.
12808
1ac7a2c7
JM
128092010-09-15 Joseph Myers <joseph@codesourcery.com>
12810
12811 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12812 implementing getdents64 using getdents syscall, set d_type if
12813 __ASSUME_GETDENTS32_D_TYPE.
12814
56801c50
AS
128152010-09-16 Andreas Schwab <schwab@redhat.com>
12816
12817 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12818 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12819
dda51327
UD
128202010-09-21 Ulrich Drepper <drepper@redhat.com>
12821
12822 [BZ #12037]
12823 * posix/unistd.h: Undo change of feature selection for ftruncate from
12824 2010-01-11.
12825
8ffcee4a
UD
128262010-09-20 Ulrich Drepper <drepper@redhat.com>
12827
a545ecd9 12828 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12829 detection.
12830
e24f0a8b
AS
128312010-09-20 Andreas Schwab <schwab@redhat.com>
12832
12833 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12834 fanotify_mark.
12835 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12836
7291c56f
AS
128372010-09-14 Andreas Schwab <schwab@redhat.com>
12838
12839 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12840 variables after CHECK_SP call.
12841 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12842
bc5fb037
AS
128432010-09-13 Andreas Schwab <schwab@redhat.com>
12844 Ulrich Drepper <drepper@redhat.com>
12845
12846 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12847 re-relocationg ld.so.
12848 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12849 _dl_init_paths call.
12850 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12851 here anymore.
12852
e66e7419
UD
128532010-09-14 Ulrich Drepper <drepper@redhat.com>
12854
12855 * resolv/res_init.c (__res_vinit): Count the default server we added.
12856
c044aa75
CLT
128572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12858 Ulrich Drepper <drepper@redhat.com>
12859
12860 [BZ #11968]
12861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12862 (____longjmp_chk): Use %ebx for saving value across system call.
12863 Add unwind info.
12864
32cf4069
AS
128652010-09-06 Andreas Schwab <schwab@redhat.com>
12866
12867 * manual/Makefile: Don't mix pattern rules with normal rules.
12868
817328ee
AS
128692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12870
12871 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12872 operation.
12873 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12874 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12875 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12876 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12878 Likewise.
12879
29fddf61
UD
128802010-09-04 Ulrich Drepper <drepper@redhat.com>
12881
12882 [BZ #11979]
12883 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12884 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12885
0959ffc9
UD
128862010-09-02 Ulrich Drepper <drepper@redhat.com>
12887
12888 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12889 * sysdeps/x86_64/addmul_1.S: Likewise.
12890 * sysdeps/x86_64/lshift.S: Likewise.
12891 * sysdeps/x86_64/mul_1.S: Likewise.
12892 * sysdeps/x86_64/rshift.S: Likewise.
12893 * sysdeps/x86_64/sub_n.S: Likewise.
12894 * sysdeps/x86_64/submul_1.S: Likewise.
12895
ece29840
ST
128962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12897
0959ffc9
UD
12898 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12899 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12900 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12901 * bits/sched.h [__need_schedparam]
ece29840 12902 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12903 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12904 (__defined_schedparam): Define to 1.
ece29840
ST
12905 (__sched_param): New structure, identical to sched_param.
12906 (__need_schedparam): Undefine.
12907
e53a31fe
MF
129082010-08-31 Mike Frysinger <vapier@gentoo.org>
12909
fdc0c10d
MF
12910 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12911 (epoll_create1): Declare.
12912
e53a31fe
MF
12913 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12914
a726d796
AS
129152010-08-31 Andreas Schwab <schwab@redhat.com>
12916
12917 [BZ #7066]
12918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12919 shifting retval into place.
12920
2f3e3dc7
UD
129212010-09-01 Ulrich Drepper <drepper@redhat.com>
12922
f2933da9
UD
12923 * nis/rpcsvc/nis.h: Update copyright notice.
12924 * nis/rpcsvc/nis.x: Likewise.
12925 * nis/rpcsvc/nis_callback.h: Likewise.
12926 * nis/rpcsvc/nis_callback.x: Likewise.
12927 * nis/rpcsvc/nis_object.x: Likewise.
12928 * nis/rpcsvc/nis_tags.h: Likewise.
12929 * nis/rpcsvc/yp.h: Likewise.
12930 * nis/rpcsvc/yp.x: Likewise.
12931 * nis/rpcsvc/ypupd.h: Likewise.
12932 * nis/yp_xdr.c: Likewise.
12933 * nis/ypupdate_xdr.c: Likewise.
12934
2f3e3dc7
UD
12935 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12936 mainly the body of pmap_getport. Add parameters to specify timeouts.
12937 (pmap_getport): Use __libc_rpc_getport.
12938 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12939 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12940 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12941
f3dcc2f9
AS
129422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12943
12944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12945 fanotify_mark.
12946
6d34eb5b
RM
129472010-08-27 Roland McGrath <roland@redhat.com>
12948
12949 * sysdeps/i386/i686/multiarch/Makefile
12950 (CFLAGS-varshift.c): New variable.
12951
9ea3de11
UD
129522010-08-27 Ulrich Drepper <drepper@redhat.com>
12953
c96d23fc
UD
12954 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12955 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12956
9ea3de11
UD
12957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12958
12959 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12960
623aac7f
L
129612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12962
12963 * sysdeps/x86_64/strlen.S: Unroll the loop.
12964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12965 strlen-sse2 strlen-sse2-bsf.
12966 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12967 __strlen_no_bsf if bit_Slow_BSF is set.
12968 (__strlen_sse42): Removed.
12969 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12970 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12971
8b2b7715
RM
129722010-08-25 Roland McGrath <roland@redhat.com>
12973
12974 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12975 * sysdeps/x86_64/multiarch/varshift.c: New file.
12976 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12977 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12978 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12979 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12980
e73015f2
L
129812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12982
12983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12984 strlen-sse2 strlen-sse2-bsf.
12985 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12986 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12987 (__strlen_sse2): Removed.
12988 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12991 bit_Slow_BSF for Atom.
12992 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12993 (index_Slow_BSF): Define.
12994 (HAS_SLOW_BSF): Define.
12995
df24a73e
UD
129962010-08-25 Ulrich Drepper <drepper@redhat.com>
12997
12998 [BZ #10851]
12999 * resolv/res_init.c (__res_vinit): When no server address at all
13000 is given default to loopback.
13001
f2ac4868
RM
130022010-08-24 Roland McGrath <roland@redhat.com>
13003
09055553
RM
13004 * configure.in: Remove config-name.h generation.
13005 * configure: Regenerated.
13006 * config-name.in: File removed.
13007 * scripts/config-uname.sh: New file.
13008 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13009 ($(objdir)config-name.h): New target.
13010
f2ac4868
RM
13011 * sunrpc/rpc_parse.h: Avoid nested comment.
13012
73f27d5e
RH
130132010-08-24 Richard Henderson <rth@redhat.com>
13014 Ulrich Drepper <drepper@redhat.com>
13015 H.J. Lu <hongjiu.lu@intel.com>
13016
13017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13019 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13020 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13021 _mm_alignr_epi8 with _mm_loadu_si128.
13022 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13023 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13024 (__m128i_shift_right): Removed.
13025 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13026 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13027 * sysdeps/x86_64/multiarch/varshift.h: New file.
13028 * sysdeps/x86_64/multiarch/varshift.S: New file.
13029
84b9230c
MF
130302010-08-21 Mike Frysinger <vapier@gentoo.org>
13031
13032 * configure.in: Move assembler checks to before sysdep dir checking.
13033
9bbd0ddc
PB
130342010-08-20 Petr Baudis <pasky@suse.cz>
13035
13036 * LICENSES: Sync the sunrpc license.
13037
9da4bb31
UD
130382010-08-19 Ulrich Drepper <drepper@redhat.com>
13039
a7ab6ec8
UD
13040 * sunrpc/auth_des.c: Update copyright notice once again.
13041 * sunrpc/auth_none.c: Likewise.
13042 * sunrpc/auth_unix.c: Likewise.
13043 * sunrpc/authdes_prot.c: Likewise.
13044 * sunrpc/authuxprot.c: Likewise.
13045 * sunrpc/bindrsvprt.c: Likewise.
13046 * sunrpc/clnt_gen.c: Likewise.
13047 * sunrpc/clnt_perr.c: Likewise.
13048 * sunrpc/clnt_raw.c: Likewise.
13049 * sunrpc/clnt_simp.c: Likewise.
13050 * sunrpc/clnt_tcp.c: Likewise.
13051 * sunrpc/clnt_udp.c: Likewise.
13052 * sunrpc/clnt_unix.c: Likewise.
13053 * sunrpc/des_crypt.c: Likewise.
13054 * sunrpc/des_soft.c: Likewise.
13055 * sunrpc/get_myaddr.c: Likewise.
13056 * sunrpc/getrpcport.c: Likewise.
13057 * sunrpc/key_call.c: Likewise.
13058 * sunrpc/key_prot.c: Likewise.
13059 * sunrpc/openchild.c: Likewise.
13060 * sunrpc/pm_getmaps.c: Likewise.
13061 * sunrpc/pm_getport.c: Likewise.
13062 * sunrpc/pmap_clnt.c: Likewise.
13063 * sunrpc/pmap_prot.c: Likewise.
13064 * sunrpc/pmap_prot2.c: Likewise.
13065 * sunrpc/pmap_rmt.c: Likewise.
13066 * sunrpc/rpc/auth.h: Likewise.
13067 * sunrpc/rpc/auth_unix.h: Likewise.
13068 * sunrpc/rpc/clnt.h: Likewise.
13069 * sunrpc/rpc/des_crypt.h: Likewise.
13070 * sunrpc/rpc/key_prot.h: Likewise.
13071 * sunrpc/rpc/netdb.h: Likewise.
13072 * sunrpc/rpc/pmap_clnt.h: Likewise.
13073 * sunrpc/rpc/pmap_prot.h: Likewise.
13074 * sunrpc/rpc/pmap_rmt.h: Likewise.
13075 * sunrpc/rpc/rpc.h: Likewise.
13076 * sunrpc/rpc/rpc_des.h: Likewise.
13077 * sunrpc/rpc/rpc_msg.h: Likewise.
13078 * sunrpc/rpc/svc.h: Likewise.
13079 * sunrpc/rpc/svc_auth.h: Likewise.
13080 * sunrpc/rpc/types.h: Likewise.
13081 * sunrpc/rpc/xdr.h: Likewise.
13082 * sunrpc/rpc_clntout.c: Likewise.
13083 * sunrpc/rpc_cmsg.c: Likewise.
13084 * sunrpc/rpc_common.c: Likewise.
13085 * sunrpc/rpc_cout.c: Likewise.
13086 * sunrpc/rpc_dtable.c: Likewise.
13087 * sunrpc/rpc_hout.c: Likewise.
13088 * sunrpc/rpc_main.c: Likewise.
13089 * sunrpc/rpc_parse.c: Likewise.
13090 * sunrpc/rpc_parse.h: Likewise.
13091 * sunrpc/rpc_prot.c: Likewise.
13092 * sunrpc/rpc_sample.c: Likewise.
13093 * sunrpc/rpc_scan.c: Likewise.
13094 * sunrpc/rpc_scan.h: Likewise.
13095 * sunrpc/rpc_svcout.c: Likewise.
13096 * sunrpc/rpc_tblout.c: Likewise.
13097 * sunrpc/rpc_util.c: Likewise.
13098 * sunrpc/rpc_util.h: Likewise.
13099 * sunrpc/rpcinfo.c: Likewise.
13100 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13101 * sunrpc/rpcsvc/key_prot.x: Likewise.
13102 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13103 * sunrpc/rpcsvc/mount.x: Likewise.
13104 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13105 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13106 * sunrpc/rpcsvc/rex.x: Likewise.
13107 * sunrpc/rpcsvc/rstat.x: Likewise.
13108 * sunrpc/rpcsvc/rusers.x: Likewise.
13109 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13110 * sunrpc/rpcsvc/spray.x: Likewise.
13111 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13112 * sunrpc/rtime.c: Likewise.
13113 * sunrpc/svc.c: Likewise.
13114 * sunrpc/svc_auth.c: Likewise.
13115 * sunrpc/svc_authux.c: Likewise.
13116 * sunrpc/svc_raw.c: Likewise.
13117 * sunrpc/svc_run.c: Likewise.
13118 * sunrpc/svc_simple.c: Likewise.
13119 * sunrpc/svc_tcp.c: Likewise.
13120 * sunrpc/svc_udp.c: Likewise.
13121 * sunrpc/svc_unix.c: Likewise.
13122 * sunrpc/svcauth_des.c: Likewise.
13123 * sunrpc/xcrypt.c: Likewise.
13124 * sunrpc/xdr.c: Likewise.
13125 * sunrpc/xdr_array.c: Likewise.
13126 * sunrpc/xdr_float.c: Likewise.
13127 * sunrpc/xdr_mem.c: Likewise.
13128 * sunrpc/xdr_rec.c: Likewise.
13129 * sunrpc/xdr_ref.c: Likewise.
13130 * sunrpc/xdr_sizeof.c: Likewise.
13131 * sunrpc/xdr_stdio.c: Likewise.
13132
9da4bb31
UD
13133 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13134 handling.
13135
bdaa77bc
AS
131362010-08-19 Andreas Schwab <schwab@redhat.com>
13137
13138 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13139
fe2f79db
LM
131402010-08-19 Luis Machado <luisgpm@br.ibm.com>
13141
13142 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13143 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13144 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13145 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13146 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13147 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13148 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13149 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13150 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13151 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13152 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13153 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13154 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13155 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13156
b9b42ee0
AB
131572010-07-26 Anton Blanchard <anton@samba.org>
13158
13159 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13160 * malloc/arena.c (heap_trim): Likewise.
13161
1c06ba31
UD
131622010-08-16 Ulrich Drepper <drepper@redhat.com>
13163
13164 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13165 here. Not...
13166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13167 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13168
f8392f40
L
131692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13170
13171 * sysdeps/i386/elf/Makefile: New file.
13172
3162f12e
AS
131732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13174
13175 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13176 from fanotify_init.
13177 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13179
28c90b2c
UD
131802010-08-15 Ulrich Drepper <drepper@redhat.com>
13181
13182 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13183 of strncasecmp_l.
1feccb6c 13184 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13185
ca6bb004
UD
131862010-08-14 Ulrich Drepper <drepper@redhat.com>
13187
e9f82e0d
UD
13188 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13189 strncase_l-nonascii.
13190 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13191 Add strncase_l-ssse3.
13192 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13193 * sysdeps/x86_64/strcmp.S: Likewise.
13194 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13195 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13196 * sysdeps/x86_64/strncase.S: New file.
13197 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13198 * sysdeps/x86_64/strncase_l.S: New file.
13199 * string/Makefile (strop-tests): Add strncasecmp.
13200 * string/test-strncasecmp.c: New file.
13201
13202 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13203 warning.
13204
ca6bb004
UD
13205 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13206 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13207
052fa7b3
AS
132082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13209
13210 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13211
962dba78
UD
132122010-08-12 Ulrich Drepper <drepper@redhat.com>
13213
13214 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13215 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13216 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13217
bebff237
AM
132182010-05-01 Alan Modra <amodra@gmail.com>
13219
13220 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13221 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13222 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13223 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13224 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13225 tidying. Don't tail-call __sigjmp_save for static lib.
13226 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13227 save location.
13228 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13229 (CALL_MCOUNT): Add eh info, and nop after bl.
13230 (TAIL_CALL_SYSCALL_ERROR): New macro.
13231 (PSEUDO_RET): Use it.
13232 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13233 Correct save location of integer regs and cr.
13234 (_dl_profile_resolve): Correct cr save location. Delete nops
13235 after bl when SHARED. Reduce cfi size a little by better
13236 placement of cfi directives.
13237 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13238 make a stack frame. Instead use parm save area as a temp.
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13240 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13242 Don't make a stack frame for parent, use parm save area.
13243 Increase child stack frame to 112 bytes. Don't save unused reg,
13244 and adjust reg usage. Set up cfi on error recovery and
13245 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13247 (__makecontext): Add dummy nop after jump to exit.
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13249 Use correct parm save area and cr save, reduce stack frame.
13250 Correct cfi for possible PSEUDO_RET frame setup.
13251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13252 Branch to local label emitted by PSEUDO_RET rather than
13253 __syscall_error.
13254
02637374
AS
132552010-08-12 Andreas Schwab <schwab@redhat.com>
13256
13257 [BZ #11904]
13258 * locale/programs/locale.c (print_assignment): New function.
13259 (show_locale_vars): Use it.
13260
c3e2f19b
UD
132612010-08-11 Ulrich Drepper <drepper@redhat.com>
13262
3cdaa6ad
UD
13263 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13264 field.
13265 (struct statfs64): Likewise.
13266 (_STATFS_F_FLAGS): Define.
13267 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13268 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13269 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13270 (ST_VALID): Define locally.
13271 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13272 __statvfs_getflags, use the provided value.
13273 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13274 __ASSUME_STATFS_F_FLAGS.
13275
754f7da3
UD
13276 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13277
10b3bedc
UD
13278 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13279 Add sys/fanotify.h.
13280 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13281 fanotify_mask for GLIBC_2.13.
13282 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13283 fanotify_init and fanotify_mark.
13284 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13285 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13286
c08fb0d7
UD
13287 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13288 Add prlimit.
13289 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13290 prlimit64 for GLIBC_2.13.
13291 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13292 prlimit64.
13293 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13294 syscall.
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13296 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13297 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13298 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13299 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13300 add prlimit alias.
13301 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13302
15bac72b
UD
13303 [BZ #11903]
13304 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13305 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13306
c3e2f19b
UD
13307 * nss/Makefile: Add rules to build and run tst-nss-test1.
13308 * shlib-versions: Add entry for libnss_test1.
13309 * nss/nss_test1.c: New file.
13310 * nss/tst-nss-test1.c: New file.
13311
13312 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13313 (__nss_configure_lookup): Set appropriate entry in
13314 __nss_configure_lookup to true.
13315 * nss/nsswitch.h: Define enum with indeces of databases in
13316 databases and __nss_database_custom arrays. Declare
13317 __nss_database_custom.
13318 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13319 to avoid using nscd when custom rules are installed.
13320 * nss/getXXbyYY_r.c: Likewise.
13321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13322
13323 * nss/nss_files/files-parse.c: Whitespace fixes.
13324
f15ce4d8
UD
133252010-08-09 Ulrich Drepper <drepper@redhat.com>
13326
13327 [BZ #11883]
13328 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13329 * posix/fnmatch_loop.c: Likewise.
13330
d22e4cc9
AK
133312010-07-17 Andi Kleen <ak@linux.intel.com>
13332
13333 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13334 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13335 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13336 * Versions.def [GLIBC_2.13]: Add.
13337
805bc17d
UD
133382010-08-06 Ulrich Drepper <drepper@redhat.com>
13339
13340 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13341 Also fail if tpwd after pwuid call is NULL.
13342
5a42321d
ST
133432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13344
13345 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13346 when converting to ms.
13347
fd3ebeda
ST
133482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13349
13350 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13351 EOPNOTSUPP errors with ENOTTY.
13352 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13353 EOPNOTSUPP errors with ENOTTY.
13354
73507d3a
UD
133552010-07-31 Ulrich Drepper <drepper@redhat.com>
13356
13357 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13358 Add strcasecmp_l-ssse3.
13359 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13360 strcasecmp.
13361 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13362 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13363 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13364
fe36dd02
UD
133652010-07-30 Ulrich Drepper <drepper@redhat.com>
13366
66f6765a
UD
13367 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13368
42e08a54
UD
13369 * string/Makefile (strop-tests): Add strcasecmp.
13370 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13371 strcasecmp_l-nonascii.
13372 (gen-as-const-headers): Add locale-defines.sym.
13373 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13374 * sysdeps/x86_64/strcasecmp.S: New file.
13375 * sysdeps/x86_64/strcasecmp_l.S: New file.
13376 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13377 * sysdeps/x86_64/locale-defines.sym: New file.
13378 * string/test-strcasecmp.c: New file.
13379
fe36dd02
UD
13380 * string/test-strcasestr.c: Test both ends of the range of characters.
13381 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13382
48cbc0d6
RM
133832010-07-29 Roland McGrath <roland@redhat.com>
13384
76e6d6bc 13385 [BZ #11856]
48cbc0d6
RM
13386 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13387
880113d9
UD
133882010-07-27 Ulrich Drepper <drepper@redhat.com>
13389
13390 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13391 for ld.so.
13392
deb9cabb
AS
133932010-07-27 Andreas Schwab <schwab@redhat.com>
13394
13395 * manual/memory.texi (Malloc Tunable Parameters): Document
13396 M_PERTURB.
13397
1c7570ff
RM
133982010-07-26 Roland McGrath <roland@redhat.com>
13399
13400 [BZ #11840]
13401 * configure.in (-fgnu89-inline check): Set and substitute
13402 gnu89_inline, not libc_cv_gnu89_inline.
13403 * configure: Regenerated.
13404 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13405
24fb0f88
UD
134062010-07-26 Ulrich Drepper <drepper@redhat.com>
13407
13408 * string/test-strnlen.c: New file.
13409 * string/Makefile (strop-tests): Add strnlen.
13410 * string/tester.c (test_strnlen): Add a few more test cases.
13411 * string/tst-strlen.c: Better error reporting.
13412
13413 * sysdeps/x86_64/strnlen.S: New file.
13414
8e96b93a
UD
134152010-07-24 Ulrich Drepper <drepper@redhat.com>
13416
13417 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13418 lower-latency instructions.
13419
dbc676d4
UD
134202010-07-23 Ulrich Drepper <drepper@redhat.com>
13421
13422 * string/test-strcasestr.c: New file.
13423 * string/test-strstr.c: New file.
13424 * string/Makefile (strop-tests): Add strstr and strcasestr.
13425 * string/str-two-way.h: Don't undefine MAX.
13426 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13427
f6a31e0e
AS
134282010-07-21 Andreas Schwab <schwab@redhat.com>
13429
13430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13431 strcasestr-nonascii.
13432 (CFLAGS-strcasestr-nonascii.c): Define.
13433 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13434 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13435 Remove unused attribute.
13436
5dbc3b6c
RM
134372010-07-20 Roland McGrath <roland@redhat.com>
13438
13439 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13440 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13441 ld.so.cache was broken. With it, there is no way to disable dsocaps
13442 like LD_HWCAP_MASK can disable hwcaps.
13443
23d101d8
EPM
134442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13445
13446 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13447
cc9f2e47
UD
134482010-07-16 Ulrich Drepper <drepper@redhat.com>
13449
13450 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13451 call in strcasestr.
13452 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13453 __strcasestr_sse42_nonascii.
13454 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13455 strcasestr-nonascii.c.
13456 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13457
77c1b069
LM
134582010-06-15 Luis Machado <luisgpm@br.ibm.com>
13459
13460 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13461 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13462 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13463 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13464
440566c3
UD
134652010-07-09 Ulrich Drepper <drepper@redhat.com>
13466
13467 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13468 fcntl.
13469
5be9d05d
AS
134702010-07-06 Andreas Schwab <schwab@redhat.com>
13471
c30b7ee2 13472 [BZ #11577]
5be9d05d
AS
13473 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13474 dl_signal_cerror.
13475
8a492a67
UD
134762010-07-06 Ulrich Drepper <drepper@redhat.com>
13477
13478 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13479 _PC_PIPE_BUF using F_GETPIPE_SZ.
13480
713df3d5
RM
134812010-07-05 Roland McGrath <roland@redhat.com>
13482
13483 * manual/arith.texi (Rounding Functions): Fix rint description
13484 implicit in round description.
13485
702e8f14
UD
134862010-07-02 Ulrich Drepper <drepper@redhat.com>
13487
13488 * elf/Makefile: Fix linking for a few tests to make recent linker
13489 happy.
13490
52ed8be9
AS
134912010-06-30 Andreas Schwab <schwab@redhat.com>
13492
13493 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13494 $(common-objpfx)libc_nonshared.a.
13495
f47c9a11
LM
134962010-06-21 Luis Machado <luisgpm@br.ibm.com>
13497
13498 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13499 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13500 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13501 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13502 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13503 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13504 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13505 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13520 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13521 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13522 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13523 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13524 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13525 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13526 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13527 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13528 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13529 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13530 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13531 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13546
6fb8cbcb
L
135472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13548
13549 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13550 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13551 * string/memmove.c (memmove): Renamed to ...
13552 (MEMMOVE): ...this. Default to memmove.
13553 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13554 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13555 (END_CHK): Define.
13556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13557 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13558 mempcpy-ssse3-back memmove-ssse3-back.
13559 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13560 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13561 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13562 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13563 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13564 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13565 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13566 * sysdeps/x86_64/multiarch/memmove.c: New file.
13567 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13568 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13569 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13570 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13571 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13572 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13573 Define.
13574 (index_Fast_Copy_Backward): Define.
13575 (HAS_ARCH_FEATURE): Define.
13576 (HAS_FAST_REP_STRING): Define.
13577 (HAS_FAST_COPY_BACKWARD): Define.
13578
4e733bac 135792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13580
13581 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13582 Restore proper fallback handling.
13583
63c4ed22
UD
135842010-06-19 Ulrich Drepper <drepper@redhat.com>
13585
ac2b484c
UD
13586 [BZ #11701]
13587 * posix/group_member.c (__group_member): Correct checking loop.
13588
63c4ed22
UD
13589 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13590 OOM in getpwuid_r correctly. Return error number when the caller
13591 should return, otherwise -1.
13592 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13593 call returning > 0 value.
13594 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13595
765ade4b
AS
135962010-06-07 Andreas Schwab <schwab@redhat.com>
13597
13598 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13599 libc_nonshared.a from targets in modules-names.
13600
80da2e09
KS
136012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13602
13603 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13604 requires it.
13605
158db122
LM
136062010-06-10 Luis Machado <luisgpm@br.ibm.com>
13607
13608 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13609 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13612
caa78cf8
AS
136132010-06-02 Andreas Schwab <schwab@redhat.com>
13614
13615 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13616
b2ef2c01
UD
136172010-06-14 Ulrich Drepper <drepper@redhat.com>
13618
13619 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13620 and F_GETPIPE_SZ.
13621 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13622 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13625 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13626 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13627
fbd643b6
RM
136282010-06-14 Roland McGrath <roland@redhat.com>
13629
13630 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13631
f32f2869
JJ
136322010-06-07 Jakub Jelinek <jakub@redhat.com>
13633
13634 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13635 __REDIRECT followed by __THROW.
13636 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13637 * posix/getopt.h (getopt): Likewise.
13638
2a50c078
EPM
136392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13640
13641 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13642 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13643 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13644 in AT_FLAGS.
13645 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13646 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13647
eb5ad2eb
LM
136482010-05-28 Luis Machado <luisgpm@br.ibm.com>
13649
13650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13651
3c88fe1e
L
136522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13653
13654 [BZ #11640]
13655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13656 Properly check family and model.
13657
d2f73151
TY
136582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13659
13660 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13661
ebd2e13d
LM
136622010-05-24 Luis Machado <luisgpm@br.ibm.com>
13663
13664 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13665
b32b8b45
UD
136662010-05-21 Ulrich Drepper <drepper@redhat.com>
13667
13668 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13669 symbol reference.
13670
9acbe24d
AS
136712010-05-19 Andreas Schwab <schwab@redhat.com>
13672
13673 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13674 symbol reference.
13675
f0ccf6ea
AS
136762010-05-21 Andreas Schwab <schwab@redhat.com>
13677
3d04ff3a
AS
13678 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13679 and internal_recvmmsg.
13680 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13681 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13682 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13683 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13684
f0ccf6ea
AS
13685 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13686 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13687 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13688
5b08ac57
AS
136892010-05-20 Andreas Schwab <schwab@redhat.com>
13690
13691 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13692
4828935d
LM
136932010-05-17 Luis Machado <luisgpm@br.ibm.com>
13694
13695 POWER7 optimizations.
13696 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13697 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13698
373d545e
UD
136992010-05-19 Ulrich Drepper <drepper@redhat.com>
13700
13701 * version.h: Update for 2.13 development version.
13702
21a2b1ae
AS
137032010-05-12 Andrew Stubbs <ams@codesourcery.com>
13704
13705 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13706 exceptions. Return 0.
13707
3f7dcb2b
RM
137082010-05-07 Roland McGrath <roland@redhat.com>
13709
13710 * elf/ldconfig.c (main): Add a const.
13711
5f24d53a 137122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13713
a160f8d8
UD
13714 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13715 (args_options): Add no-idn option.
13716 (ahosts_keys_int): Add idn_flags to ai_flags.
13717 (parse_option): Handle 'i' option to clear idn_flags.
13718
5f24d53a
UD
13719 * malloc/malloc.c (_int_free): Possible race in the most recently
13720 added check. Only act on the data if no current modification
13721 happened.
265bb1ce
UD
13722
13723See ChangeLog.17 for earlier changes.