]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Hurd: opendirat
[thirdparty/glibc.git] / ChangeLog
CommitLineData
80b4e5f3
TS
12012-05-10 Thomas Schwinge <thomas@schwinge.name>
2
3 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4
edadcbd6
ST
52012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6
7 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8 Return ENOENT when name is empty.
9 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10
80694780
TS
112012-05-10 Thomas Schwinge <thomas@schwinge.name>
12
1792c087
TS
13 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14
80694780
TS
15 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
16
6b645f0d
ST
172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18
80694780
TS
19 Fix mlock in all cases except non-readable pages.
20 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22
6b645f0d
ST
23 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24 (__mkdir): When path is `/', just fail with EEXIST.
25 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26
e468f8a3
TS
272012-05-10 Thomas Schwinge <thomas@schwinge.name>
28
29 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30 <sys/uio.h> (for writev).
31 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32 and <sys/param.h> (for MIN).
33
a4186cff
PT
342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35
36 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37 REQUESTED_TIME. Properly set the remaining time and return EINTR
38 if interrupted.
39
510bbf14
TS
402012-05-10 Thomas Schwinge <thomas@schwinge.name>
41
42 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43 Depend on against $(link-rpcuserlibs).
44
5d5722e8
ST
452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46
a4186cff
PT
47 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48 (__libc_stack_end): Do not use attribute_relro.
49 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 51 to libthread-provided value.
a4186cff
PT
52 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
53 attribute_relro.
5d5722e8 54
37233df9
TS
552012-05-10 Thomas Schwinge <thomas@schwinge.name>
56
be971a2b
TS
57 [BZ #3748]
58 * bits/libc-lock.h (__libc_once_get): New macro.
59 * sysdeps/mach/bits/libc-lock.h: Likewise.
60 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62 instead of using implementation details.
63
37233df9
TS
64 * libio/fileops.c: Unconditionally include <kernel-features.h>.
65 * libio/freopen.c: Likewise.
66 * libio/freopen64.c: Likewise.
67 * misc/syslog.c: Likewise.
68 * nscd/connections.c: Likewise.
69 * nscd/netgroupcache.c: Likewise.
70 * sysdeps/posix/getcwd.c: Likewise.
71
38de94a5
RM
722012-05-10 Roland McGrath <roland@hack.frob.com>
73
74 * math/w_ilogbf.c: Add #include <limits.h>.
75
67530489
ST
762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
77
a4186cff 78 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
79 path instead of returning without unlocking.
80
67530489
ST
81 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82 immediate-write ioctls.
83 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
84
5aa3a74a
TS
852012-05-10 Thomas Schwinge <thomas@schwinge.name>
86
18bad2ae
TS
87 * sysdeps/mach/hurd/i386/init-first.c (init): Use
88 __builtin_frame_address instead of making assumptions about the
89 location of the return address relative to DATA. Force early load of
90 the return address.
91 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
92 __builtin_frame_address.
93
5aa3a74a
TS
94 dup3 for GNU Hurd.
95 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
96 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
97 implement dup3 and do some further code clean-ups.
98 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
99 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
100
ecd0de9a
ST
1012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
102
cd9fa985
ST
103 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
104
a4186cff
PT
105 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
106 HURD_CRITICAL_END around holding _hurd_dtable_lock.
107 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
108 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
109 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
110 d->port.lock.
802ca5a5 111
a4186cff
PT
112 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
113 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
114 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 115
bcf55240
TS
1162012-05-10 Thomas Schwinge <thomas@schwinge.name>
117
6960eb42
TS
118 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
119 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
120 definitions.
121
eb43375f
TS
122 accept4 for GNU Hurd.
123 * include/sys/socket.h (__libc_accept4): New prototype.
124 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
125 to implement __libc_accept4.
126 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
127 __libc_accept4.
128 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
129
bcf55240
TS
130 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
131 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
132 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
133 signal-defines.sym.
134
6178c55b
ST
1352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
136
a4186cff 137 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 138
6f080c2f
TS
1392012-05-10 Thomas Schwinge <thomas@schwinge.name>
140
141 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
142 assertion on O_CLOEXEC flag.
143 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
144 * hurd/intern-fd.c: Likewise.
145 * hurd/port2fd.c: Likewise.
146
bcfe3a54
ST
1472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
148
149 [BZ #3906]
150 * bits/in.h (IPV6_PKTINFO): Define new macro.
151 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
152
89c9aa49
AZ
1532012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
154
155 [BZ #13954]
156 [BZ #13955]
157 [BZ #13956]
158 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
159 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
160 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
161 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
162 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
163 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
164 * math/libm-test.inc (logb_test) : Additional logb tests.
165
021db4be
AJ
1662012-05-09 Andreas Schwab <schwab@linux-m68k.org>
167 Andreas Jaeger <aj@suse.de>
168
169 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
170 * configure: Regenerated.
171 * config.h.in (LINK_OBSOLETE_RPC): New macro.
172 * config.make.in (link-obsolete-rpc): New substituted variable.
173 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
174 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
175 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
176 (shared-only-routines): Don't set it under [link-obsolete-rpc],
177 so that libc.a contains the symbols.
178 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
179 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
180 * sunrpc/auth_none.c: Likewise.
181 * sunrpc/auth_unix.c: Likewise.
182 * sunrpc/authdes_prot.c: Likewise.
183 * sunrpc/authuxprot.c: Likewise.
184 * sunrpc/clnt_gen.c: Likewise.
185 * sunrpc/clnt_perr.c: Likewise.
186 * sunrpc/clnt_raw.c: Likewise.
187 * sunrpc/clnt_simp.c: Likewise.
188 * sunrpc/clnt_tcp.c: Likewise.
189 * sunrpc/clnt_udp.c: Likewise.
190 * sunrpc/clnt_unix.c: Likewise.
191 * sunrpc/des_crypt.c: Likewise.
192 * sunrpc/des_soft.c: Likewise.
193 * sunrpc/get_myaddr.c: Likewise.
194 * sunrpc/key_call.c: Likewise.
195 * sunrpc/key_prot.c: Likewise.
196 * sunrpc/netname.c: Likewise.
197 * sunrpc/pm_getmaps.c: Likewise.
198 * sunrpc/pm_getport.c: Likewise.
199 * sunrpc/pmap_clnt.c: Likewise.
200 * sunrpc/pmap_prot.c: Likewise.
201 * sunrpc/pmap_prot2.c: Likewise.
202 * sunrpc/pmap_rmt.c: Likewise.
203 * sunrpc/publickey.c: Likewise.
204 * sunrpc/rpc_cmsg.c: Likewise.
205 * sunrpc/rpc_common.c: Likewise.
206 * sunrpc/rpc_dtable.c: Likewise.
207 * sunrpc/rpc_prot.c: Likewise.
208 * sunrpc/rpc_thread.c: Likewise.
209 * sunrpc/rtime.c: Likewise.
210 * sunrpc/svc.c: Likewise.
211 * sunrpc/svc_auth.c: Likewise.
212 * sunrpc/svc_raw.c: Likewise.
213 * sunrpc/svc_run.c: Likewise.
214 * sunrpc/svc_tcp.c: Likewise.
215 * sunrpc/svc_udp.c: Likewise.
216 * sunrpc/svc_unix.c: Likewise.
217 * sunrpc/svcauth_des.c: Likewise.
218 * sunrpc/xcrypt.c: Likewise.
219 * sunrpc/xdr.c: Likewise.
220 * sunrpc/xdr_array.c: Likewise.
221 * sunrpc/xdr_float.c: Likewise.
222 * sunrpc/xdr_intXX_t.c: Likewise.
223 * sunrpc/xdr_mem.c: Likewise.
224 * sunrpc/xdr_rec.c: Likewise.
225 * sunrpc/xdr_ref.c: Likewise.
226 * sunrpc/xdr_sizeof.c: Likewise.
227 * sunrpc/xdr_stdio.c: Likewise.
228
b5c086a2
RM
2292012-05-10 Roland McGrath <roland@hack.frob.com>
230
231 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
232 change. Update copyright years.
233
6d74dd09
JM
2342012-05-10 Joseph Myers <joseph@codesourcery.com>
235
236 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
237
28e72501
MK
2382012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
239 Joseph Myers <joseph@codesourcery.com>
240 Paul Pluzhnikov <ppluzhnikov@google.com>
241
242 [BZ #14012]
243 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
244 requiring rpcgen.
245 [cross-compiling] (extra-libs): Likewise.
246 [cross-compiling] (extra-libs-others): Likewise.
247 [cross-compiling] (librpcsvc-routines): Likewise.
248 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
249 [cross-compiling] (omit-deps): Likewise.
250 (sunrpc-CPPFLAGS): New variable.
251 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
252 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
253 (cross-rpcgen-objs): New variable.
254 (extra-objs): Append $(cross-rpcgen-objs).
255 ($(cross-rpcgen-objs)): New rule.
256 ($(objpfx)cross-rpcgen): Likewise.
257 (rpcgen-cmd): Define to use $(built-program-file). Expand
258 comment.
259 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
260 ($(objpfx)x%.stmp): Likewise.
261 * sunrpc/proto.h [IS_IN_build] (_): Define.
262 [IS_IN_build] (_libc_intl_domainname): Likewise.
263
c8c59454
L
2642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
265
266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
267 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
268 and R_X86_64_TPOFF64.
269
6f27cd16
JM
2702012-05-10 Joseph Myers <joseph@codesourcery.com>
271
272 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
273 sysdeps/unix/sysv/syscalls.list.
274 (stime): Likewise.
275 (utime): Likewise.
276 * sysdeps/unix/sysv/syscalls.list: Remove file.
277
02467e1c
PE
2782012-05-10 Paul Eggert <eggert@cs.ucla.edu>
279
280 [BZ #3440]
281 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
282 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
283 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
284 (__LC_IDENTIFICATION): Make these macros useful in #if
285 expressions, as required by C99.
286
da392631
AS
2872012-05-10 Andreas Schwab <schwab@linux-m68k.org>
288
289 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
290 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
291 after this.
292
8115f29b
L
2932012-05-09 H.J. Lu <hongjiu.lu@intel.com>
294
295 * stdlib/longlong.h: Updated from GCC.
296
bdd74070
AJ
2972012-05-09 Andreas Jaeger <aj@suse.de>
298
edfe0dbe
AJ
299 * nscd/nscd.c (run_modes): Make named enum, reorder so that
300 default is first entry.
301 (run_mode): Set type.
302 (main): Remove informal message about syslog.
303 (options): Fix typo.
304
bcfe3a54
ST
305 [BZ #14053]
306 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 307 to asm.
bcfe3a54
ST
308 (lrint): Likewise.
309 (llrintf): Likewise.
310 (llrint): Likewise.
311 (rint): Likewise.
312 (rintf): Likewise.
313 (nearbyint): Likewise.
314 (nearbyintf): Likewise.
bdd74070 315
91d8d69e
AJ
3162012-05-09 Andreas Jaeger <aj@suse.de>
317 Pedro Alves <palves@redhat.com>
318
319 * nscd/nscd.c (run_mode): Use enum.
320 (main): Cleanup coding style issue.
321
bb90b80b
AJ
3222012-05-09 Alexandre Oliva <aoliva@redhat.com>
323 Andreas Jaeger <aj@suse.de>
324
bcfe3a54
ST
325 * nscd/nscd.c (go_background): Replaced with...
326 (run_mode): ... this.
bb90b80b 327 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
328 (options): Add -F --foreground.
329 (main): Implement it.
330 (parse_opt): Parse it.
bb90b80b 331
1a4b75a1
AJ
3322012-05-09 Andreas Jaeger <aj@suse.de>
333
334 [BZ #14083]
335 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
336 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
337 -Wconversion warning.
338 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
339 Likewise.
340
b1cc2472
JM
3412012-05-09 Joseph Myers <joseph@codesourcery.com>
342
343 * conform/data/locale.h-data (NULL): Use macro-constant. Require
344 == 0.
345 (LC_ALL): Use macro-int-constant.
346 (LC_COLLATE): Likewise.
347 (LC_CTYPE): Likewise.
348 (LC_MESSAGES): Likewise.
349 (LC_MONETARY): Likewise.
350 (LC_NUMERIC): Likewise.
351 (LC_TIME): Likewise.
352 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
353 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
354 [ISO || ISO99 || ISO11] (*_t): Do not allow.
355 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
356 Specify type.
357 [C99-based standards] (float_t): Expect type.
358 [C99-based standards] (double_t): Expect type.
359 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
360 type.
361 [C99-based standards] (HUGE_VALL): Likewise.
362 [C99-based standards] (INFINITY): Likewise.
363 [C99-based standards] (NAN): Likewise.
364 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
365 [C99-based standards] (FP_NAN): Likewise.
366 [C99-based standards] (FP_NORMAL): Likewise.
367 [C99-based standards] (FP_SUBNORMAL): Likewise.
368 [C99-based standards] (FP_ZERO): Likewise.
369 [C99-based standards] (FP_FAST_FMA): Use
370 optional-macro-int-constant. Specify type. Require == 1.
371 [C99-based standards] (FP_FAST_FMAF): Likewise.
372 [C99-based standards] (FP_FAST_FMAL): Likewise.
373 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
374 [C99-based standards] (FP_ILOGBNAN): Likewise.
375 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
376 Specify type.
377 [C99-based standards] (MATH_ERREXCEPT): Likewise.
378 [C99-based standards] (math_errhandling): Specify type.
379 [ISO99 || ISO11] (signgam): Do not allow.
380 [non-C99-based standards] (copysignf): Do not allow.
381 [non-C99-based standards] (exp2f): Likewise.
382 [non-C99-based standards] (log2f): Likewise.
383 [non-C99-based standards] (modff): Allow.
384 [non-C99-based standards] (erff): Do not allow.
385 [non-C99-based standards] (erfcf): Likewise.
386 [non-C99-based standards] (gammaf): Likewise.
387 [non-C99-based standards] (hypotf): Likewise.
388 [non-C99-based standards] (j0f): Likewise.
389 [non-C99-based standards] (j1f): Likewise.
390 [non-C99-based standards] (jnf): Likewise.
391 [non-C99-based standards] (lgammaf): Likewise.
392 [non-C99-based standards] (tgammaf): Likewise.
393 [non-C99-based standards] (y0f): Likewise.
394 [non-C99-based standards] (y1f): Likewise.
395 [non-C99-based standards] (ynf): Likewise.
396 [non-C99-based standards] (isnanf): Likewise.
397 [non-C99-based standards] (acoshf): Likewise.
398 [non-C99-based standards] (asinhf): Likewise.
399 [non-C99-based standards] (atanhf): Likewise.
400 [non-C99-based standards] (cbrtf): Likewise.
401 [non-C99-based standards] (expm1f): Likewise.
402 [non-C99-based standards] (ilogbf): Likewise.
403 [non-C99-based standards] (log1pf): Likewise.
404 [non-C99-based standards] (logbf): Likewise.
405 [non-C99-based standards] (nextafterf): Likewise.
406 [non-C99-based standards] (remainderf): Likewise.
407 [non-C99-based standards] (rintf): Likewise.
408 [non-C99-based standards] (scalbf): Likewise.
409 [non-C99-based standards] (copysignl): Likewise.
410 [non-C99-based standards] (exp2l): Likewise.
411 [non-C99-based standards] (log2l): Likewise.
412 [non-C99-based standards] (modfl): Allow.
413 [non-C99-based standards] (erfl): Do not allow.
414 [non-C99-based standards] (erfcl): Likewise.
415 [non-C99-based standards] (gammal): Likewise.
416 [non-C99-based standards] (hypotl): Likewise.
417 [non-C99-based standards] (j0l): Likewise.
418 [non-C99-based standards] (j1l): Likewise.
419 [non-C99-based standards] (jnl): Likewise.
420 [non-C99-based standards] (lgammal): Likewise.
421 [non-C99-based standards] (tgammal): Likewise.
422 [non-C99-based standards] (y0l): Likewise.
423 [non-C99-based standards] (y1l): Likewise.
424 [non-C99-based standards] (ynl): Likewise.
425 [non-C99-based standards] (isnanl): Likewise.
426 [non-C99-based standards] (acoshl): Likewise.
427 [non-C99-based standards] (asinhl): Likewise.
428 [non-C99-based standards] (atanhl): Likewise.
429 [non-C99-based standards] (cbrtl): Likewise.
430 [non-C99-based standards] (expm1l): Likewise.
431 [non-C99-based standards] (ilogbl): Likewise.
432 [non-C99-based standards] (log1pl): Likewise.
433 [non-C99-based standards] (logbl): Likewise.
434 [non-C99-based standards] (nextafterl): Likewise.
435 [non-C99-based standards] (remainderl): Likewise.
436 [non-C99-based standards] (rintl): Likewise.
437 [non-C99-based standards] (scalbl): Likewise.
438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
439 [non-C99-based standards] (FP_*): Do not allow.
440 [C99-based standards] (FP_*): Change to
441 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
442 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
443 allow.
444 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
445 (SIG_ERR): Likewise.
446 [X/Open-based standards] (SIG_HOLD): Likewise.
447 (SIG_IGN): Likewise.
448 (SIGABRT): Use macro-int-constant. Specify type. Require
449 positive value.
450 (SIGFPE): Likewise.
451 (SIGILL): Likewise.
452 (SIGINT): Likewise.
453 (SIGSEGV): Likewise.
454 (SIGTER): Likewise.
455 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
456 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
457 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
458 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
459 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
460 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
461 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
462 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
463 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
464 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
465 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
466 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
467 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
468 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
469 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
470 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
471 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
472 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
473 [X/Open-based standards] (SIGTRAP): Likewise.
474 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
475 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
476 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
477 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
478 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
479 allow.
480
b9f1922d
IW
4812012-05-08 Ian Wienand <ianw@vmware.com>
482
483 [BZ #14080]
484 * time/tzset.c (__tzset_parse_tz): Update default rules for
485 daylight time changes in the Energy Policy Act of 2005.
486
1db86e88
AJ
4872012-05-09 Andreas Jaeger <aj@suse.de>
488
489 [BZ #13983]
490 * elf/ldconfig.c (parse_conf): Change string to make clear that
491 ldconfig only issued a warning if ld.so.conf does not exist.
492
dee4a4e3
DM
4932012-05-08 David S. Miller <davem@davemloft.net>
494
ee0db190
DM
495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
496 movxtod instead of popping the value on the stack.
497
dee4a4e3
DM
498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
499
6a43ec98
CD
5002012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
501
502 * config.h.in: Add HAVE_ARM_PCS_VFP.
503
05c2c961
RMG
5042012-05-08 Roland Mc Grath <roland@hack.frob.com>
505
bcfe3a54
ST
506 [BZ #13979]
507 * include/features.h: Warn if user requests __FORTIFY_SOURCE
508 checking but the checks are disabled for any reason.
05c2c961 509
4b30f61a
L
5102012-05-08 H.J. Lu <hongjiu.lu@intel.com>
511
512 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
513 and ELF64_R_TYPE with ELFW(R_TYPE).
514
eee2bc67
JM
5152012-05-08 Joseph Myers <joseph@codesourcery.com>
516
7ea5391a
JM
517 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
518 (ulimit): Likewise.
519
eee2bc67
JM
520 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
521 (settimeofday): Likewise.
522
abb66a67
MF
5232012-05-08 Mike Frysinger <vapier@gentoo.org>
524
525 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
526 a struct th_u2 inside the union, and move tu_block/tu_code into
527 a new th_u3 union of tu_block/tu_code inside of that. Move
528 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
529 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
530 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
531 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
532 (th_stuff): Change to th_u1.tu_stuff.
533 (th_data): Define.
534 (th_msg): Change to th_u1.th_u2.tu_data.
535
7f18b530
DM
5362012-05-07 David S. Miller <davem@davemloft.net>
537
05760585
DM
538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
539
7f18b530
DM
540 [BZ #14074]
541 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
542 (SETUP_PIC_REG): Use it.
543 (SETUP_PIC_REG_LEAF): Use it.
544
495fd99f
JM
5452012-05-07 Joseph Myers <joseph@codesourcery.com>
546
547 [BZ #13885]
548 [BZ #13923]
549 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
550 USE_AS_EXPM1L.
551 (EXPL_FINITE): Likewise.
552 (FLDLOG): Likewise.
553 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
554 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
555 e_expl.S.
556 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
557 USE_AS_EXPM1L.
558 (EXPL_FINITE): Likewise.
559 (FLDLOG): Likewise.
560 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
561 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
562 e_expl.S.
563 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
564 test of -max_value argument for long double.
565 * sysdeps/i386/fpu/libm-test-ulps: Update.
566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
567
6693d694
DM
5682012-05-06 David S. Miller <davem@davemloft.net>
569
570 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
571 quad soft-float symbols whose references which are compiler
572 generated.
573 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
574
6c23e11c
JM
5752012-05-06 Joseph Myers <joseph@codesourcery.com>
576
d8b82cad
JM
577 [BZ #13884]
578 [BZ #13914]
579 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
580 USE_AS_EXP10L.
581 (EXPL_FINITE): Likewise.
582 (FLDLOG): Likewise.
583 (c0): Likewise.
584 (c1): Likewise.
585 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
586 Adjust comments for base varying.
587 (__expl_finite): Change alias to EXPL_FINITE.
588 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
589 e_expl.S.
590 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
591 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
592 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
593 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
595 USE_AS_EXP10L.
596 (EXPL_FINITE): Likewise.
597 (FLDLOG): Likewise.
598 (c0): Likewise.
599 (c1): Likewise.
600 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
601 Adjust comments for base varying.
602 (__expl_finite): Change alias to EXPL_FINITE.
603 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
604 tests for bugs.
605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
606
6c23e11c
JM
607 [BZ #14064]
608 * math/libm-test.inc (check_float_internal): Correct ulp
609 calculation for subnormal expected results.
610
29ba805c
AJ
6112012-05-06 Andreas Jaeger <aj@suse.de>
612
613 * Makeconfig (+math-flags): New, set to -frounding-math.
614 (+cflags): Add +math-flags so that all of glibc gets compiled with
615 it.
616
617 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
618
7b17aeda
JM
6192012-05-05 Joseph Myers <joseph@codesourcery.com>
620
5779f134
JM
621 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
622 Disable one test.
623
41498f4d
JM
624 [BZ #13787]
625 [BZ #13922]
626 [BZ #14036]
627 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
628 (__ieee754_expl): Allow for and saturate large arguments.
629 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
630 (u_threshold): Likewise.
631 (__exp): Call __ieee754_exp before checking for overflow and
632 underflow.
633 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
634 (u_threshold): Likewise.
635 (__expf): Call __ieee754_expf before checking for overflow and
636 underflow.
637 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
638 (u_threshold): Likewise.
639 (__expl): Call __ieee754_expl before checking for overflow and
640 underflow.
641 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
642 (__ieee754_expl): Allow for and saturate large arguments.
643 * math/libm-test.inc (exp_test): Add another test. Do not allow
644 missing overflow exception on overflow.
645 (expm1_test): Do not allow missing overflow exception on overflow.
646
6698b8bf
JM
647 * sysdeps/i386/fpu/e_expl.c: Move to ...
648 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
649 rather than using inline asm.
650 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
651 * sysdeps/x86_64/fpu/e_expl.S: Copy from
652 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
653
7b17aeda
JM
654 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
655 (nice): Likewise.
656 (poll): Likewise.
657 (signal): Likewise.
658 (time): Likewise.
659 (times): Likewise.
660
f7c85819
JM
6612012-05-04 Joseph Myers <joseph@codesourcery.com>
662
663 * sysdeps/unix/syscalls.list (adjtime): Add entry from
664 sysdeps/unix/common/syscalls.list.
665 (fchmod): Likewise.
666 (fchown): Likewise.
667 (ftruncate): Likewise.
668 (getrusage): Likewise.
669 (gettimeofday): Likewise.
670 (setpgid): Likewise.
671 (setregid): Likewise.
672 (setreuid): Likewise.
673 (sigaction): Likewise.
674 (truncate): Likewise.
675 (vhangup): Likewise.
676 * sysdeps/unix/common/syscalls.list: Remove file.
677 * sysdeps/unix/bsd/Implies: Don't include unix/common.
678 * sysdeps/unix/sysv/linux/Implies: Likewise.
679
336270d0
L
6802012-05-04 H.J. Lu <hongjiu.lu@intel.com>
681
682 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
684 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
685 Moved to ...
686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
687 Here.
688 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
689 to ...
690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
691 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
692 to ...
693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
694 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
695 to ...
696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
697 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
698 to ...
699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
700 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
701 to ...
702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
703 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
704 to ...
705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
706 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
707 to ...
708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
709 Here.
710 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
711 to ...
712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
713 Here.
714 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
715 to ...
716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
717 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
718 Moved to ...
719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
720 Here.
721 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
722 to ...
723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
724
d128e450
JM
7252012-05-04 Joseph Myers <joseph@codesourcery.com>
726
fa8ee516
JM
727 * sysdeps/unix/common/bits/dirent.h: Remove file.
728 * sysdeps/unix/common/bits/fcntl.h: Likewise.
729
d128e450
JM
730 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
731 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
732 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
733 * sysdeps/unix/bsd/isatty.c: Likewise.
734 * sysdeps/unix/bsd/tcdrain.c: Likewise.
735 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
736 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
737
ff8faaf0 7382012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 739
62881be4 740 [BZ #13563]
31dc8730
AZ
741 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
742 long double comparison inaccuracies.
743 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
745
6fef930c
AS
7462012-05-04 Andreas Schwab <schwab@linux-m68k.org>
747
748 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
749 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
750
8f203e6c
JM
7512012-05-04 Joseph Myers <joseph@codesourcery.com>
752
753 [BZ #14049]
754 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
755 nonzero digits before rounding a hex value.
756 * stdlib/tst-strtod.c (tests): Add another test.
757
5197d9c2
AK
7582012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
759
760 * sysdeps/s390/fpu/libm-test-ulps: Update.
761
f0c1dedf
AJ
7622012-05-03 Andreas Jaeger <aj@suse.de>
763
764 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
765 does not get optimized out.
766 (malloc_opt_barrier): New.
767
a65ef2ae 7682012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 769 Roland McGrath <roland@hack.frob.com>
a65ef2ae 770
2b942cb7 771 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 772 intermediate file deletion.
2b942cb7 773 (generated): Add .symlist files.
a65ef2ae 774
54b71e02
JM
7752012-05-03 Joseph Myers <joseph@codesourcery.com>
776
777 [BZ #13775]
778 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
779 Redirect under this condition.
780 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
781 [__USE_GNU] (__dprintf_chk): Not under this condition.
782 [__USE_GNU] (__vdprintf_chk): Likewise.
783 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
784 under this condition.
785 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
786 [__USE_XOPEN2K8] (dprintf): Define under this condition.
787 [__USE_XOPEN2K8] (vdprintf): Likewise.
788 [__USE_GNU] (__dprintf_chk): Not under this condition.
789 [__USE_GNU] (__vdprintf_chk): Likewise.
790 [__USE_GNU] (dprintf): Likewise.
791 [__USE_GNU] (vdprintf): Likewise.
792
d3dfcc41
RM
7932012-05-03 Roland McGrath <roland@hack.frob.com>
794
795 * elf/Makefile (common-generated): Set this instead of generated for
796 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
797 $(all-built-dso)-derived lists.
798
7ac30cc5
AJ
7992012-05-03 Andreas Jaeger <aj@suse.de>
800
0c51e550
AJ
801 * sysdeps/i386/fpu/libm-test-ulps: Update.
802
7ac30cc5
AJ
803 * FAQ: Removed.
804 * FAQ.in: Likewise.
805 * scripts/gen-FAQ.pl: Likewise.
806 * manual/install.texi (Installation): Point to online location of
807 FAQ.
808 * Makefile (files-for-dist): Remove FAQ.
809 (FAQ): Remove.
810
d4c2917f
AM
8112012-05-02 Allan McRae <allan@archlinux.org>
812
813 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
814 (LDFLAGS-reldepmod5.so): Likewise.
815 (LDFLAGS-reldep6mod1.so): Likewise.
816 (LDFLAGS-reldep6mod4.so): Likewise.
817 (LDFLAGS-reldep8mod3.so): Likewise.
818 (LDFLAGS-unload4mod1.so): Likewise.
819 (LDFLAGS-unload4mod2.so): Likewise.
820 (LDFLAGS-tst-initorder): Likewise.
821 (LDFLAGS-tst-initordera2.so): Likewise.
822 (LDFLAGS-tst-initordera3.so): Likewise.
823 (LDFLAGS-tst-initordera4.so): Likewise.
824 (LDFLAGS-tst-initorderb2.so): Likewise.
825 (LDFLAGS-noload): Likewise.
826 (LDFLAGS-next): Likewise.
827 (LDFLAGS-order2mod1.so): Likewise.
828 (LDFLAGS-order2mod2.so): Likewise.
829 (LDFLAGS-tst-initorder2): Likewise.
830 (LDFLAGS-tst-initorder2a.so): Likewise.
831 (LDFLAGS-tst-initorder2b.so): Likewise.
832 (LDFLAGS-tst-initorder2c.so): Likewise.
833 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
834
d77f993f
DM
8352012-05-02 David S. Miller <davem@davemloft.net>
836
837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
838
171a70b4
PP
8392012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
840
841 [BZ #14055]
842 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
843
0be196ad
AJ
8442012-05-02 Andreas Jaeger <aj@suse.de>
845
846 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
847 since we manipulate rounding mode.
848 (CPPFLAGS-test-idouble.c): Likewise.
849 (CPPFLAGS-test-ifloat.c): Likewise.
850 (CFLAGS-test-ldouble.c): Likewise.
851 (CFLAGS-test-double.c): Likewise.
852 (CFLAGS-test-float.c): Likewise.
853 (CFLAGS-test-misc.c): Likewise.
854 (CFLAGS-test-test-fenv.c): Likewise.
855
4f9d04aa
AZ
8562012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
857
2b942cb7
RM
858 [BZ #2550]
859 [BZ #2570]
860 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
861 comparisons to determine direction to adjust input.
4f9d04aa 862
82a79e7d
RM
8632012-05-01 Roland McGrath <roland@hack.frob.com>
864
f5a01ca9
RM
865 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
866 output to the target.
867
90fe4186
RM
868 * scripts/localplt.awk: New file.
869 * elf/Makefile ($(objpfx)check-localplt): Target removed.
870 (check-localplt-CFLAGS): Variable removed.
871 ($(all-built-dso:=.jmprel)): New static pattern rule.
872 (generated): Add those targets.
873 (localplt-built-dso): New variable.
874 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
875
876 * elf/check-localplt.c: File removed.
877
82397ed6
RM
878 * scripts/check-execstack.awk: New file.
879 * elf/Makefile ($(objpfx)check-execstack): Target removed.
880 (check-execstack-CFLAGS): Variable removed.
881 ($(objpfx)check-execstack.h): Target removed.
882 ($(objpfx)execstack-default): New target.
883 (generated): Add that instead of check-execstack.h.
884 ($(all-built-dso:=.phdr)): New static pattern rule.
885 (generated): Add those targets.
886 * elf/check-execstack.c: File removed.
887
82a79e7d
RM
888 * scripts/check-textrel.awk: New file.
889 * elf/Makefile ($(objpfx)check-textrel): Target removed.
890 (check-textrel-CFLAGS): Variable removed.
891 (all-built-dso): Use := to define.o
892 ($(all-built-dso:=.dyn)): New static pattern rule.
893 (generated): Add those targets.
894 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
895 * config.make.in (READELF): New substituted variable.
896 * elf/check-textrel.c: File removed.
897
62fde54f 8982012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 899
615605c9
JM
900 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
901 allow.
902 * conform/data/ctype.h-data [C99-based standards] (isblank):
903 Expect function.
904 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
905 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
907 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
908 Specify type. Require positive value.
909 (EILSEQ): Likewise.
910 (ERANGE): Likewise.
911 [ISO || POSIX] (EILSEQ): Do not expect.
912 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
913 Specify type. Require positive value.
914 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
915 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
916 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
917 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
918 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
919 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
920 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
921 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
922 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
923 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
924 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
925 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
926 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
927 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
928 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
929 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
930 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
931 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
932 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
933 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
934 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
935 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
936 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
937 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
938 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
939 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
940 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
941 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
942 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
943 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
944 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
945 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
946 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
947 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
948 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
949 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
950 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
951 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
952 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
953 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
954 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
955 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
956 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
957 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
958 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
959 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
960 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
961 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
962 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
963 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
964 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
965 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
966 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
967 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
968 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
969 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
970 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
971 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
972 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
973 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
974 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
975 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
976 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
977 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
978 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
979 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
980 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
981 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
982 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
983 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
984 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
985 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
986 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
987 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
988 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
989 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
990 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
991 Require >= 2.
992 (FLT_ROUNDS): Expect as macro, not constant.
993 (FLT_MANT_DIG): Use macro-int-constant.
994 (DBL_MANT_DIG): Likewise.
995 (LDBL_MANT_DIG): Likewise.
996 (FLT_DIG): Likewise.
997 (DBL_DIG): Likewise.
998 (LDBL_DIG): Likewise.
999 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1000 (DBL_MIN_EXP): Likewise.
1001 (LDBL_MIN_EXP): Likewise.
1002 (FLT_MAX_EXP): Use macro-int-constant.
1003 (DBL_MAX_EXP): Likewise.
1004 (LDBL_MAX_EXP): Likewise.
1005 (FLT_MAX_10_EXP): Likewise.
1006 (DBL_MAX_10_EXP): Likewise.
1007 (LDBL_MAX_10_EXP): Likewise.
1008 (FLT_MAX): Use macro-constant.
1009 (DBL_MAX): Likewise.
1010 (LDBL_MAX): Likewise.
1011 (FLT_EPSILON): Use macro-constant. Give upper bound.
1012 (DBL_EPSILON): Likewise.
1013 (LDBL_EPSILON): Likewise.
1014 (FLT_MIN): Likewise.
1015 (DBL_MIN): Likewise.
1016 (LDBL_MIN): Likewise.
1017 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1018 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1019 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1020 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1021 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1022 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1023 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1024 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1025 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1026 [ISO11] (FLT_TRUE_MIN): Likewise.
1027 [ISO11] (LDBL_TRUE_MIN): Likewise.
1028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1029 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1030 (SCHAR_MIN): Use macro-int-constant. Specify type.
1031 (SCHAR_MAX): Likewise.
1032 (UCHAR_MAX): Likewise.
1033 (CHAR_MIN): Likewise.
1034 (CHAR_MAX): Likewise.
1035 (MB_LEN_MAX): Use macro-int-constant.
1036 (SHRT_MIN): Use macro-int-constant. Specify type.
1037 (SHRT_MAX): Likewise.
1038 (USHRT_MAX): Likewise.
1039 (INT_MAX): Likewise.
1040 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1041 bound negative.
1042 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1043 bound with "U".
1044 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1045 bound with "L".
1046 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1047 bound negative. Suffix upper bound with "L".
1048 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1049 bound with "UL".
1050 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1051 Specify type.
1052 [C99-based standards] (LLONG_MAX): Likewise.
1053 [C99-based standards] (ULLONG_MAX): Likewise.
1054 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1055 == 0.
1056 [ISO11] (max_align_t): Require type.
1057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1058
c9140a62
JM
1059 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1060 from $CFLAGS, without defining away __attribute__ calls.
1061 (checknamespace): Use $CFLAGS_namespace.
1062
9af0bf29
JM
1063 * conform/conformtest.pl (@keywords): Only include C99 keywords
1064 for standards based on C99 or C11.
1065
343222a2
JM
1066 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1067 Disable tests.
1068 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1069 UNIX98]: Likewise.
1070
661f8cf0
JM
1071 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1072 usability of symbols in #if.
1073
ee74b9cb
JM
1074 * conform/conformtest.pl: If macro or constant types start
1075 "promoted:", expect the symbol to be of the following type
1076 promoted by the integer promotions.
62fde54f 1077
aafc49b3
JM
1078 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1079 in one place. Also handle "macro-constant".
1080
fefdf574
JM
1081 * conform/conformtest.pl: Only accept expected macro values with
1082 "==". Parse all "macro" lines in one place.
1083 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1084
f2d922fe
JM
1085 * conform/conformtest.pl: Handle braced types on "constant" lines
1086 instead of handling "typed-constant".
1087 * conform/data/signal.h-data: Use "constant" instead of
1088 "typed-constant".
1089
d22956c9
JM
1090 * conform/conformtest.pl: Handle "optional-" at start of lines in
1091 one place rather than duplicating several cases. Handle each
1092 format of "macro" line with initial "optional-".
1093
028e2e38
JM
1094 * conform/conformtest.pl: Only accept expected constant or
1095 optional-constant values with "==". Parse all "constant" lines in
1096 one place. Parse all "optional-constant" lines in one place.
1097 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1098 * conform/data/fmtmsg.h-data: Likewise.
1099 * conform/data/netinet/in.h-data: Likewise.
1100 * conform/data/tar.h-data: Likewise.
1101 * conform/data/limits.h-data: Use "==" form on "constant" and
1102 "optional-constant" lines.
1103
1b8f2850
JM
1104 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1105 Use -std=c99 for XOPEN2K.
1106 (@knownproblems): Remove.
1107 (newtoken): Don't check %isknown.
1108
a05a144b
JM
1109 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1110 Do not expect macro.
1111 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1121 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1122 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1123 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1124 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1125 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1126 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1127 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1128 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1129 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1130 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1131 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1132 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1133 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1134 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1135 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1136 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1137 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1138 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1139 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1140 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1141 [XPG3] (acosh): Likewise.
1142 [XPG3] (asinh): Likewise.
1143 [XPG3] (atanh): Likewise.
1144 [XPG3] (cbrt): Likewise.
1145 [XPG3] (expm1): Likewise.
1146 [XPG3] (ilogb): Likewise.
1147 [XPG3] (log1p): Likewise.
1148 [XPG3] (logb): Likewise.
1149 [XPG3] (nextafter): Likewise.
1150 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1151 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1152 [XPG3] (remainder): Likewise.
1153 [XPG3] (rint): Likewise.
1154 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1155 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1156 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1157 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1158 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1159 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1160 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1161 [UNIX98 || XOPEN2K] (scalb): Expect.
1162 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1163 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1164 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1165 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1166 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1168 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1169 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1170 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1171 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1172 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1173 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1174 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1175 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1176 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1177 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1178 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1179 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1180 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1181 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1182 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1184 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1185 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1186 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1187 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1188 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1189 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1190 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1191 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1192 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1193 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1194 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1195 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1196 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1197 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1198 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1199 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1200 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1201 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1202 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1203 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1204 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1205 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1206 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1207 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1208 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1209 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1210 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1211 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1212 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1213 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1214 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1215 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1216 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1217 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1218 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1219 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1220 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1221 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1222 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1223 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1224 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1225 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1226 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1227 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1228 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1229 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1230 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1231 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1232 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1233 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1234 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1235 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1236 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1237 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1238 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1239 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1240 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1241 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1242 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1243 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1244 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1245 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1246 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1247 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1248 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1249 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1250 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1251 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1252 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1253 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1254 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1255 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1256 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1257 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1258 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1259 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1260 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1261 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1262 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1263 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1264 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1265 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1266 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1267 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1268 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1269 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1270 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1271 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1272 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1273 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1274 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1275 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1276 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1277 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1278 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1279 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1280 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1281 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1282 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1283 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1284 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1285 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1286 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1287 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1288 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1289 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1290 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1291 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1292 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1293 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1294 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1295 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1296 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1297 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1298 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1299
73c5ebe3
JM
1300 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1301 _XOPEN_SOURCE_EXTENDED for XPG4.
1302
39c33b6c
JM
1303 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1304
62fde54f
JM
1305 * Makeconfig (localtime): Remove variable.
1306 (inst_localtime-file): Likewise.
1307
0741d64c
AS
13082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1309
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1311 Update.
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1313 Update.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1315 Update.
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1317 Update.
1318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1319 Update.
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1321 Update.
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1323 Update.
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1325 Update.
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1327 Update.
1328
7cb029ee
JM
13292012-05-01 Joseph Myers <joseph@codesourcery.com>
1330
1331 [BZ #2550]
1332 [BZ #2570]
1333 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1334 comparisons to determine direction to adjust input.
1335 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1336 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1337 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1338 Likewise.
1339 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1340 Likewise.
1341 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1342 Likewise.
1343 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1344 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1345 Likewise.
1346 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1347 Likewise.
1348 * math/libm-test.inc (nexttoward_test): Add more tests.
1349
412bd966
AS
13502012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1351
1352 [BZ #14040]
1353 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1354 in version GLIBC_2.1, not GLIBC_2.0.
1355 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1356 Likewise.
1357
9568c0c2
JM
13582012-04-30 Joseph Myers <joseph@codesourcery.com>
1359
adfbc8ac
JM
1360 [BZ #13942]
1361 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1362 (1 - x) * (1 + x).
1363 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1364 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1365 * math/libm-test.inc (acos_test): Add more tests.
1366 (asin_test): Likewise.
1367 * sysdeps/i386/fpu/libm-test-ulps: Update.
1368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1369
5ba3cc69
JM
1370 [BZ #14034]
1371 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1372 of square root.
1373 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1374 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1375 * math/libm-test.inc (acos_test_tonearest): New function.
1376 (acos_test_towardzero): Likewise.
1377 (acos_test_downward): Likewise.
1378 (acos_test_upward): Likewise.
1379 (asin_test_tonearest): Likewise.
1380 (asin_test_towardzero): Likewise.
1381 (asin_test_downward): Likewise.
1382 (asin_test_upward): Likewise.
1383 (main): Call the new functions.
1384 * sysdeps/i386/fpu/libm-test-ulps: Update.
1385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1386
9568c0c2
JM
1387 [BZ #13884]
1388 [BZ #13924]
1389 * math/e_exp10.c: Include <float.h>.
1390 (__ieee754_exp10): Handle underflow here rather than multiplying
1391 large negative argument by M_LN10.
1392 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1393 of __ieee754_expf.
1394 * math/e_exp10l.c: Include <float.h>.
1395 (__ieee754_exp10l): Handle underflow here rather than multiplying
1396 large negative argument by M_LN10l.
1397 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1398 spurious overflow exception on underflow.
1399
5ac3ea17
MP
14002012-04-29 Marek Polacek <polacek@redhat.com>
1401
1402 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1403 (__fortify_function): New macro.
1404 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1405 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1406 __extern_always_inline.
1407 * libio/bits/stdio2.h: Likewise.
1408 * libio/bits/stdio.h: Likewise.
1409 * string/string.h: Likewise.
1410 * string/bits/string3.h: Likewise.
1411 * include/stdio.h: Likewise.
1412 * stdlib/bits/stdlib.h: Likewise.
1413 * stdlib/stdlib.h: Likewise.
1414 * rt/bits/mqueue2.h: Likewise.
1415 * rt/mqueue.h: Likewise.
1416 * posix/bits/unistd.h: Likewise.
1417 * posix/unistd.h: Likewise.
1418 * io/bits/poll2.h: Likewise.
1419 * io/bits/fcntl2.h: Likewise.
1420 * io/fcntl.h: Likewise.
1421 * io/sys/poll.h: Likewise.
1422 * misc/bits/syslog.h: Likewise.
1423 * misc/bits/syslog-ldbl.h: Likewise.
1424 * misc/sys/syslog.h: Likewise.
1425 * socket/bits/socket2.h: Likewise.
1426 * socket/sys/socket.h: Likewise.
1427 * debug/tst-chk1.c: Likewise.
1428 * wcsmbs/bits/wchar2.h: Likewise.
1429 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1430 * wcsmbs/wchar.h: Likewise.
1431
ecf0ebfb
AJ
14322012-04-29 Andreas Jaeger <aj@suse.de>
1433
1434 * Makerules (tests): Remove enable-check-abi protection.
1435 (check-abi-warn): Remove.
1436 (check-abi-%): Remove check-abi-warn usage.
1437
1438 * configure.in: Remove check-abi configure option.
1439 * configure: Regenerated.
1440 * config.make.in (enable-check-abi): Remove.
1441
6d5c57fa
AS
14422012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1443
24c5d07e 1444 [BZ #14033]
ded5180a
AS
1445 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1446 double functions to double *_finite functions.
1447
7e0d315d
AS
1448 [BZ #13941]
1449 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1450 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1451 LDBL_MIN_EXP.
1452 * stdio-common/Makefile (tests): Add tst-sprintf3.
1453 * stdio-common/tst-sprintf3.c: New file.
1454
6d5c57fa
AS
1455 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1456 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1457
0749ff8b
JM
14582012-04-28 Joseph Myers <joseph@codesourcery.com>
1459
1460 * conform/conformtest.pl: Remove duplicate typed-constant
1461 handling.
1462
8dbd5d7b
DM
14632012-04-28 David S. Miller <davem@davemloft.net>
1464
1465 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1466 (check-abi-%): Remove AWK script prerequisite and explicit
1467 abilist directory.
1468 (check-abi): Rewrite to just diff the symlist with the abilist.
1469 (config-tls, config-abi-config): Delete, no longer used.
1470 (update-abi-%): Remove AWK script and explicit abilist directory.
1471 (update-abi): Rewrite to simply compare and conditionally copy the
1472 symlist and the sysdep abilist file. Remove update-abi-config
1473 checks.
1474 * abilist/ld.abilist: Remove.
1475 * abilist/libBrokenLocale.abilist: Remove.
1476 * abilist/libanl.abilist: Remove.
1477 * abilist/libcrypt.abilist: Remove.
1478 * abilist/libdl.abilist: Remove.
1479 * abilist/librt.abilist: Remove.
1480 * abilist/libthread_db.abilist: Remove.
1481 * abilist/libutil.abilist: Remove.
1482 * scripts/extract-abilist.awk: Remove.
1483 * scripts/merge-abilist.awk: Remove.
1484 * sysdeps/generic/libcidn.abilist: New file.
1485 * sysdeps/generic/libnss_compat.abilist: New file.
1486 * sysdeps/generic/libnss_db.abilist: New file.
1487 * sysdeps/generic/libnss_dns.abilist: New file.
1488 * sysdeps/generic/libnss_files.abilist: New file.
1489 * sysdeps/generic/libnss_hesiod.abilist: New file.
1490 * sysdeps/generic/libnss_nis.abilist: New file.
1491 * sysdeps/generic/libnss_nisplus.abilist: New file.
1492 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1493 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1494 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1495 file.
1496 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1497 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1498 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1499 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1500 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1501 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1502 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1503 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1504 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1505 file.
1506 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1507 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1508 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1509 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1510 file.
1511 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1512 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1513 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1514 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1515 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1516 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1517 file.
1518 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1519 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1520 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1521 file.
1522 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1524 New file.
1525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1526 New file.
1527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1528 New file.
1529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1530 New file.
1531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1532 New file.
1533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1534 New file.
1535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1536 New file.
1537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1538 New file.
1539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1540 New file.
1541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1542 New file.
1543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1544 New file.
1545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1546 New file.
1547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1548 New file.
1549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1550 file.
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1552 New file.
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1554 New file.
1555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1556 file.
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1558 New file.
1559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1560 New file.
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1562 file.
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1564 New file.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1566 New file.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1568 New file.
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1570 New file.
1571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1572 New file.
1573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1574 New file.
1575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1577 file.
1578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1579 New file.
1580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1581 file.
1582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1583 file.
1584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1585 file.
1586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1587 file.
1588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1589 file.
1590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1591 New file.
1592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1593 file.
1594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1595 file.
1596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1597 New file.
1598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1599 file.
1600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1602 file.
1603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1604 New file.
1605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1606 file.
1607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1608 file.
1609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1610 file.
1611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1612 file.
1613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1614 file.
1615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1616 New file.
1617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1618 file.
1619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1620 file.
1621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1622 New file.
1623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1624 file.
1625 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1626 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1627 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1628 file.
1629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1630 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1631 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1632 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1633 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1634 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1635 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1636 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1637 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1638 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1641 file.
1642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1643 New file.
1644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1645 file.
1646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1647 file.
1648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1649 file.
1650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1651 file.
1652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1653 file.
1654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1655 New file.
1656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1657 New file.
1658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1659 file.
1660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1661 New file.
1662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1663 file.
1664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1666 file.
1667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1668 New file.
1669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1670 file.
1671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1672 file.
1673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1674 file.
1675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1676 file.
1677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1678 file.
1679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1680 New file.
1681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1682 New file.
1683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1684 file.
1685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1686 New file.
1687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1688 file.
1689
41d73a1b
JM
16902012-04-28 Joseph Myers <joseph@codesourcery.com>
1691
1692 * conform/conformtest.pl: Fix typo in handling typed-constant from
1693 allow-header.
1694
28aeeda4
JM
16952012-04-27 Joseph Myers <joseph@codesourcery.com>
1696
adae8f5e
JM
1697 * README: Cut down references to pre-2.6 Linux kernels and
1698 Linuxthreads. Update lists of configurations in libc and ports
1699 and sort alphabetically. Say "or newer" with Linux kernel version
1700 requirements.
1701
28aeeda4
JM
1702 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1703
a462cb63
RA
17042012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1705
1706 [BZ #887]
1707 * math/libm-test.inc (logb_test_downward): New test to expose
1708 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1709 rounding mode.
1710
6ad3493e
JM
17112012-04-27 Joseph Myers <joseph@codesourcery.com>
1712
1713 [BZ #14027]
1714 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1715 to be done.
1716 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1717 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1718
2ce4f015
JM
17192012-04-26 Joseph Myers <joseph@codesourcery.com>
1720
5aeb141a
JM
1721 * sysdeps/unix/i386/brk.S: Remove file.
1722 * sysdeps/unix/i386/dl-brk.S: Likewise.
1723 * sysdeps/unix/i386/pipe.S: Likewise.
1724 * sysdeps/unix/i386/sigreturn.S: Likewise.
1725 * sysdeps/unix/i386/syscall.S: Likewise.
1726 * sysdeps/unix/i386/vfork.S: Likewise.
1727 * sysdeps/unix/i386/wait.S: Likewise.
1728
7143acae
JM
1729 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1730 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1731
2ce4f015
JM
1732 * configure.in (arm*-none*): Do not allow without
1733 --enable-hacker-mode.
1734 (netbsd*): Remove case setting base_os.
1735 (386bsd*): Likewise.
1736 (freebsd*): Likewise.
1737 (bsdi*): Likewise.
1738 (osf*): Likewise.
1739 (sunos*): Likewise.
1740 (ultrix*): Likewise.
1741 (newsos*): Likewise.
1742 (dynix*): Likewise.
1743 (*bsd*): Likewise.
1744 (sysv*): Likewise.
1745 (isc*): Likewise.
1746 (esix*): Likewise.
1747 (sco*): Likewise.
1748 (minix*): Likewise.
1749 (irix4*): Likewise.
1750 (irix6*): Likewise.
1751 (solaris[2-9]*): Likewise.
1752 (none): Likewise.
1753 * configure: Regenerated.
1754
0ac229c8
AZ
17552012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1756
1757 [BZ #11521]
1758 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1759 overflow or cancellation in calculating denominator.
1760 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1762 down expression to avoid unexpected rounding in newer GCCs.
1763 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1764
33f244f4
DM
17652012-04-26 David S. Miller <davem@davemloft.net>
1766
1767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1768 long-double compat symbols.
1769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1782
cfa1f3e8
DM
17832012-04-25 David S. Miller <davem@davemloft.net>
1784
1785 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1786 HWCAP_* values only after the memory barriers have been defined.
1787 (atomic_full_barrier): Define.
1788 (atomic_read_barrier): Define.
1789 (atomic_write_barrier): Define.
1790
6e236b92
SP
17912012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1792
1793 * shlib-versions: Add libgcc_s version information.
1794 * sysdeps/generic/libgcc_s.h: Remove.
1795 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1796 libgcc_s.h.
1797 * sysdeps/gnu/unwind-resume.c: Likewise.
1798 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1799
aab39a09
DM
18002012-04-25 David S. Miller <davem@davemloft.net>
1801
1802 * sysdeps/unix/sparc/brk.S: Delete.
1803 * sysdeps/unix/sparc/dl-brk.S: Delete.
1804 * sysdeps/unix/sparc/pipe.S: Delete.
1805 * sysdeps/unix/sparc/sysdep.S: Delete.
1806 * sysdeps/unix/sparc/sysdep.h: Delete.
1807 * sysdeps/unix/sparc/vfork.S: Delete.
1808 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1809 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1810 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1811 ret_ERRVAL, r0, r1, MOVE): Define.
1812 (JUMPTARGET): Remove.
1813 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1814 sysdeps/unix/sparc/sysdep.h
1815 (ENTRY, END): Remove.
1816 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1817
a3cc4f48
JM
18182012-04-25 Joseph Myers <joseph@codesourcery.com>
1819
2ed8cda2
JM
1820 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1821 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1822 -DIS_IN_build.
1823
35d76d59
JM
1824 * timezone/README: Update upstream location and email address for
1825 tzcode and tzdata.
1826 * timezone/zdump.c: Update from tzcode 2012b.
1827 * timezone/zic.c: Likewise.
1828
a3cc4f48
JM
1829 * configure.in (libc_cv_as_needed): Remove test.
1830 * configure: Regenerated.
1831 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1832 conditional definition.
1833 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1834 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1835 * config.make.in (have-as-needed): Remove variable.
1836
ceab42c3
SP
18372012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1838 Paul Pluzhnikov <ppluzhnikov@google.com>
1839
1840 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1841 strings correctly.
1842
3ce2865f
CLT
18432012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1844
1845 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1846 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1847 * sysdeps/sh/strlen.S: Likewise.
1848
f37e0d68
JM
18492012-04-24 Joseph Myers <joseph@codesourcery.com>
1850
ae186e9a
JM
1851 * sysdeps/unix/fork.S: Remove file.
1852 * sysdeps/unix/i386/fork.S: Likewise.
1853 * sysdeps/unix/sparc/fork.S: Likewise.
1854
b96914af
JM
1855 * sysdeps/unix/system.c: Remove file.
1856 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1857
f37e0d68
JM
1858 * sysdeps/unix/getegid.S: Remove file.
1859 * sysdeps/unix/geteuid.S: Likewise.
1860
87ef29ca
RM
18612012-04-24 Roland McGrath <roland@hack.frob.com>
1862
83bcd236
RM
1863 * scripts/check-localplt.awk: New file.
1864 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1865 of diff.
1866 * scripts/data/localplt-generic.data: Add a comment.
1867
87ef29ca
RM
1868 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1869 NODE when __dir_mkfile failed.
1870 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1871 Reported by Ludovic Courtès <ludo@gnu.org>.
1872
e5a6e567
AJ
18732012-04-24 Andreas Jaeger <aj@suse.de>
1874
1875 * Makerules (common-clean): Also remove gen-as-const-headers
1876 files.
1877
c1820385
JM
18782012-04-24 Joseph Myers <joseph@codesourcery.com>
1879
1880 * Makerules (native-compile): Do not change working directory for
1881 build. Use $(OUTPUT_OPTION) in command.
1882 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1883
94e02fc4
AZ
18842012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1885
1886 [BZ #13886]
1887 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1888 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1889 * math/libm-test.inc (floor_test): Add more tests.
1890 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1891
3a533ca3
JM
18922012-04-24 Joseph Myers <joseph@codesourcery.com>
1893
940ab4b3
JM
1894 * sysdeps/unix/getdents.c: Remove file.
1895 * sysdeps/unix/sysv/getdents.c: Likewise.
1896 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1897
90e037bd
JM
1898 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1899 sysdeps/unix/mman/syscalls.list.
1900 (mmap): Likewise.
1901 (mprotect): Likewise.
1902 (msync): Likewise.
1903 (munmap): Likewise.
1904 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1905 * sysdeps/unix/mman/syscalls.list: Remove.
1906 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1907
3a533ca3
JM
1908 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1909 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1910 * configure: Regenerated.
1911 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1912 $(libgcc_s_suffix).
1913 * config.make.in (libgcc_s_suffix): Remove variable.
1914
1ad743de
JM
19152012-04-23 Joseph Myers <joseph@codesourcery.com>
1916
4ad451e2
JM
1917 * sysdeps/unix/sysv/gethostname.c: Move to ...
1918 * sysdeps/posix/gethostname.c: ... here.
1919
5e37ce39
JM
1920 * sysdeps/unix/execve.S: Remove file.
1921
1ad743de
JM
1922 * sysdeps/unix/_exit.S: Remove file.
1923
4e681b5b
AJ
19242012-04-23 Andreas Jaeger <aj@suse.de>
1925
1926 [BZ #13739]
1927 * manual/Makefile: Remove make dist support, there's no
1928 need for a stand-alone documentation tar ball.
1929 (TEXI2DVI): Define always, it's not in Makeconfig.
1930 (dist): Removed.
1931 (tar-it): Removed.
1932 (edition): Removed.
1933 (glibc-doc-$(edition).tar): Removed
1934 (%.Z): Removed.
1935 (%.gz): Removed.
1936 (%.uu): Removed.
1937 (ETAGS): Remove, it's in Makeconfig.
1938 (move-if-change): Remove, it's in Makeconfig.
1939
c0baea34
PE
19402013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1941
1942 [BZ #13970]
1943 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1944 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1945 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1946 (strtod_l, strtof_l, strtold_l): Remove __wur.
1947 It is not necessarily an error to ignore strtol's return value.
1948 One can reliably look at the stored endptr to decide whether
1949 the number had valid syntax.
1950
7c0616fa
AJ
19512012-04-21 Andreas Jaeger <aj@suse.de>
1952
803cb6b7 1953 [BZ #13739]
7c0616fa
AJ
1954 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1955
b0fe253f
JM
19562012-04-21 Joseph Myers <joseph@codesourcery.com>
1957
1958 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1959 * sysdeps/unix/sysv/Versions: Remove file.
1960
8280f22d
MT
19612012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1962
1963 [BZ #13927]
1964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1965
75ce411f 19662012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1967
1968 [BZ #7064]
1969 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1970 version from __vm86.
1971
097d59fa
JM
19722012-04-20 Joseph Myers <joseph@codesourcery.com>
1973
a90f3bcb
JM
1974 * sysdeps/unix/common/lxstat.c: Remove file.
1975 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1976
edc7ea78
JM
1977 * sysdeps/unix/sysv/Makefile: Remove file.
1978
cb78c221
JM
1979 * sysdeps/unix/sysv/direct.h: Remove file.
1980
efa6a45f
JM
1981 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1982 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1983 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1984 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1985 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1986 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1987 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1988
9c9f2d0c
JM
1989 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1990
4541c83b
JM
1991 * sysdeps/unix/xmknod.c: Remove file.
1992 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1993
f5d153a0
JM
1994 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1995
aa746595
JM
1996 * sysdeps/unix/sysv/i386/time.S: Remove file.
1997
cce5905e
JM
1998 * sysdeps/unix/fxstat.c: Remove file.
1999 * sysdeps/unix/xstat.c: Likewise.
2000 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2001
37fa3841
JM
2002 * sysdeps/unix/sysv/sigaction.c: Remove file.
2003
ff1962a3
JM
2004 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2005 (sysdep_headers): Remove variable.
2006 [termio.h not in sysdep_headers] (generated): Likewise.
2007 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2008 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2009 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2010 * sysdeps/unix/sysv/tcflow.c: Likewise.
2011 * sysdeps/unix/sysv/tcflush.c: Likewise.
2012 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2013 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2014 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2015 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2016 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2017
e7740d31
JM
2018 * sysdeps/unix/siglist.c: Remove file.
2019
ee06f18b
JM
2020 * sysdeps/unix/getppid.S: Remove file.
2021
097d59fa
JM
2022 * sysdeps/unix/mkdir.c: Remove file.
2023 * sysdeps/unix/rmdir.c: Likewise.
2024
ff3d51ec
AS
20252012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2026
2027 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2028 ERR_MAX value.
2029 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2030 errlist-compat value.
2031
50f81fd7
DM
20322012-04-18 David S. Miller <davem@davemloft.net>
2033
2034 * sysdeps/generic/memcopy.h (reg_char): Delete.
2035 * debug/strcat_chk.c: Use char, not reg_char.
2036 * debug/strcpy_chk.c: Likewise.
2037 * debug/strncat_chk.c: Likewise.
2038 * debug/strncpy_chk.c: Likewise.
2039 * string/memchr.c: Likewise.
2040 * string/memrchr.c: Likewise.
2041 * string/rawmemchr.c: Likewise.
2042 * string/strcat.c: Likewise.
2043 * string/strchr.c: Likewise.
2044 * string/strchrnul.c: Likewise.
2045 * string/strcmp.c: Likewise.
2046 * string/strcpy.c: Likewise.
2047 * string/strncat.c: Likewise.
2048 * string/strncmp.c: Likewise.
2049 * string/strncpy.c: Likewise.
2050
8ff41c46
WS
20512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2052
2053 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2054 __builtin_memcopy is called when src and dest ranges are known to not
2055 overlap.
2056
6b652f46
WS
20572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2058
2059 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2060 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2061 fwd_align_merge macro call.
2062 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2063 bwd_align_merge macro call.
2064 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2065
b282631e
WS
20662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2067
2068 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2069 bwd_align_merge macros.
2070 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2071 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2072 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2073
95aa737c
DM
20742012-04-18 David S. Miller <davem@davemloft.net>
2075
2076 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2077
7a99a614
AJ
20782012-04-18 Andreas Jaeger <aj@suse.de>
2079
2080 [BZ# 6794]
2081 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2082 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2083 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2084
2085 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2086 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2087 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2088
2089 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2090 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2091 Adjust for changed ldbl-128 files.
2092
2093 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2094 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2095 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2096
e5270c23
DM
20972012-04-17 David S. Miller <davem@davemloft.net>
2098
2099 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2100
fb5e92c9
AS
21012012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2102
2103 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2104 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2105 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2106 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2107 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2108 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2109
76da7265
AZ
21102012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2111
2112 [BZ #6794]
2113 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2114 * math/libm-test.inc: Add ilogb errno and exception tests.
2115 * math/w_ilogb.c: New file: ilogb wrapper.
2116 * math/w_ilogbf.c: New file: ilogbf wrapper.
2117 * math/w_ilogbl.c: New file: ilogbl wrapper.
2118 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2119 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2120 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2121 exception being thrown with 0.0 as argument.
2122 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2123 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2124 exception being thrown with 0.0 as argument.
2125 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2126 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2127 exception being thrown with 0.0 as argument.
2128 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2129 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2130 exception being thrown with 0.0 as argument.
2131 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2132 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2133 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2134 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2135 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2136 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2137 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2138 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2139 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2140
0396e69d
PB
21412012-04-17 Petr Baudis <pasky@ucw.cz>
2142
2143 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2144 with altivec.
2145
750b5926
MP
21462012-04-16 Marek Polacek <polacek@redhat.com>
2147
2148 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2149
751728a1
MP
21502012-04-16 Marek Polacek <polacek@redhat.com>
2151
2152 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2153 operands of fdivp instruction.
2154
34a27407
L
21552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2156
2157 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2158 * elf/tst-auditmod3b.c: Likewise.
2159 * elf/tst-auditmod4b.c: Likewise.
2160 * elf/tst-auditmod5b.c: Likewise.
2161 * elf/tst-auditmod6b.c: Likewise.
2162 * elf/tst-auditmod6c.c: Likewise.
2163 * elf/tst-auditmod7b.c: Likewise.
2164 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2165 * sysdeps/x86_64/preconfigure.in: Likewise.
2166 * sysdeps/x86_64/preconfigure: Regenerated.
2167
7e73e17d
L
21682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2169
2170 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2171 __ILP32__.
2172
c7a6ab72
AB
21732012-04-13 Antoine Balestrat <merkil33@gmail.com>
2174
2175 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2176 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2177
a9e8e0e0
CL
21782012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2179
2180 [BZ #13973]
2181 * locale/iso-639.def: Fix gl language name. Spotted by
2182 Yaron Shahrabani.
2183
ec98af7d
RM
21842012-04-12 Roland McGrath <roland@hack.frob.com>
2185
2186 [BZ #2074]
2187 * libio/libio.h (__io_write_fn): Update comment.
2188
247c3ede
PB
21892012-04-12 Petr Baudis <pasky@ucw.cz>
2190
2191 [BZ #2074]
2192 * stdio.texi (Hook Functions): The user provided writer function
2193 is not allowed to return -1.
2194
55939d6d
DM
21952012-04-11 David S. Miller <davem@davemloft.net>
2196
2197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2198
90020f5a
MF
21992012-04-11 Mike Frysinger <vapier@gentoo.org>
2200
2201 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2202 Add a leading slash to rtkaio.
2203
288f9098
JM
22042012-04-11 Jim Meyering <meyering@redhat.com>
2205
90020f5a
MF
2206 [BZ #11959]
2207 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2208 It is not necessarily an error to ignore fwrite's return
2209 value. One can reliably use ferror to test for errors after
2210 the fact.
288f9098 2211
4be2b570
L
22122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2213
2214 * bits/types.h (__snseconds_t): New type.
2215 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2216
2217 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2219 (__SNSECONDS_T_TYPE): Likewise.
2220 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2221 (__SNSECONDS_T_TYPE): Likewise.
2222 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2223 (__SNSECONDS_T_TYPE): Likewise.
2224
288f9098 22252012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2226
2227 [BZ #2636]
2228 * manual/time.texi (Processor Time): Return type of times is
2229 elapsed real time since an arbitrary point in the past.
2230 (CPU Time): Move CLK_TCK from here...
2231 (Processor Time): ...to here. Correct description.
2232 * manual/conf.texi (Constants for Sysconf): Correct description of
2233 _SC_CLK_TCK.
2234
d7dd4413
DM
22352012-04-10 David S. Miller <davem@davemloft.net>
2236
2237 [BZ #13967]
2238 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2239 where the is a gap between DT_REL(A) and DT_JMPREL.
2240
b46068fc
L
22412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2242
2243 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2244 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2245 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2246
73d65cc3
SP
22472012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2248
2249 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2250 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2251 (dl_main): Handle --inhibit-cache.
2252 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2253 _dl_inhibit_cache.
2254 * elf/dl-load.c (_dl_map_object): Use it.
2255 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2256
bcc8d661
JM
22572012-04-09 Joseph Myers <joseph@codesourcery.com>
2258
8f9a2fae
JM
2259 [BZ #13872]
2260 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2261 (__ieee754_powl): Saturate large exponents rather than testing for
2262 overflow of y*log2(x).
2263 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2264 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2265 exceptions.
2266
bcc8d661
JM
2267 [BZ #11521]
2268 * math/s_ctan.c: Include <float.h>.
2269 (__ctan): Avoid internal overflow or cancellation in calculating
2270 denominator.
2271 * math/s_ctanf.c: Likewise.
2272 * math/s_ctanl.c: Likewise.
2273 * math/s_ctanh.c: Likewise.
2274 * math/s_ctanhf.c: Likewise.
2275 * math/s_ctanhl.c: Likewise.
2276 * math/libm-test.inc (ctan_test): Add more tests.
2277 (ctanh_test): Likewise.
2278 * sysdeps/i386/fpu/libm-test-ulps: Update.
2279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2280
823fbbb4
AJ
22812012-04-09 Andreas Jaeger <aj@suse.de>
2282
03879793
AJ
2283 [BZ #6894]
2284 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2285 is an optional BSD extension.
2286
823fbbb4
AJ
2287 [BZ #10254]
2288 * manual/stdio.texi (Opening Streams): Document additional fopen
2289 parameters.
2290
8de131cb
RM
22912012-04-09 Roland McGrath <roland@hack.frob.com>
2292
2293 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2294 %eax without telling the compiler.
2295
c0ed9d7d
CD
22962012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2297
2298 [BZ # 13963]
2299 * manual/install.texi: Use sourceware.org.
2300
c483f6b4
JM
23012012-04-09 Joseph Myers <joseph@codesourcery.com>
2302
d7dd9453
JM
2303 [BZ #13873]
2304 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2305 (__ieee754_pow): Generate overflow and underflow using huge*huge
2306 and tiny*tiny rather than just returning constant infinity or zero
2307 for large exponents.
2308 * math/libm-test.inc (pow_test): Require overflow exceptions for
2309 applicable cases of large exponents.
2310
c483f6b4
JM
2311 [BZ #706]
2312 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2313 (__ieee754_pow): Use iterative multiplication algorithm only for
2314 integer exponents with absolute value below 1024. Check for odd
2315 integer exponents when using algorithm for real exponents.
2316 * math/libm-test.inc (pow_test): Add more tests.
2317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2318
d2de7579
JM
23192012-04-08 Joseph Myers <joseph@codesourcery.com>
2320
2321 [BZ #13705]
2322 * math/libm-test.inc (exp_test): Do not allow overflow exception
2323 on underflow test.
2324
f77f1232
AJ
23252012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2326
2327 [BZ #13705]
2328 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2329 instead of __kernel_standard_f.
2330
3884932b
MF
23312012-04-08 Mike Frysinger <vapier@gentoo.org>
2332
2333 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2334 * sysdeps/x86_64/memset_chk.S: Likewise.
2335
54472e9c
AJ
23362012-04-08 Andreas Jaeger <aj@suse.de>
2337
6ab0fbfc
AJ
2338 [BZ #10153]
2339 * manual/startup.texi (Environment Access): Describe return value
2340 for putenv and setenv.
2341
61efba8c
AJ
2342 [BZ #6895]
2343 * manual/filesys.texi (Directory Entries): Add description for
2344 DT_LNK.
2345
95c3f29a
AJ
2346 [BZ #6890]
2347 * manual/filesys.texi (Directory Entries): Clarify that it's file
2348 system not operating system in the description of DT_UNKNOWN.
2349
54472e9c
AJ
2350 [BZ #6578]
2351 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2352
624254b1
SC
23532012-04-08 Stephen Compall <s11@member.fsf.org>
2354
2355 [BZ #6649]
2356 * manual/llio.texi (Opening and Closing Files): Add cross
2357 reference to explain mode argument.
2358
1e4920e0
MF
23592012-04-07 Mike Frysinger <vapier@gentoo.org>
2360
2361 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2362 * sysdeps/x86_64/memset_chk.S: Likewise.
2363
5ed848f3
DM
23642012-04-07 David S. Miller <davem@davemloft.net>
2365
2366 * elf/elf.h (R_SPARC_WDISP10): Define.
2367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2368 R_SPARC_SIZE32.
2369 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2370 R_SPARC_SIZE64 and R_SPARC_H34.
2371
96154cd8
CD
23722012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2373
2374 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2375 conditions and remove no longer applicable assertion.
2376
9904dc47
L
23772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2378
2379 * bits/byteswap.h: Include <features.h>.
2380 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2381 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2382
f8887d0a
L
23832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2384
2385 * bits/byteswap.h (__bswap_16): Removed.
2386 Include <bits/byteswap-16.h> to get __bswap_16.
2387 * sysdeps/i386/bits/byteswap.h: Likewise.
2388 * sysdeps/s390/bits/byteswap.h: Likewise.
2389 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2390 * bits/byteswap-16.h: New file.
2391 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2392 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2393 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2394 * string/Makefile (headers): Add bits/byteswap-16.h.
2395
62470f60
PP
23962012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2397
2398 [BZ #13895]
2399 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2400 extra indirection.
2401 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2402 * nss/tst-nss-static.c: New.
2403
4dad7bab
RM
24042012-04-06 Robert Millan <rmh@gnu.org>
2405
2406 [BZ #6486]
2407 * manual/llio.texi (File Position Primitive): lseek
2408 refers to WHENCE when it really means OFFSET.
2409
e9142a17
AJ
24102012-04-06 Andreas Jaeger <aj@suse.de>
2411
2c040eff
AJ
2412 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2413 strncmp declarations.
2414
e9142a17
AJ
2415 * abilist/libc.abilist: Add __poll and __ppoll.
2416
ff9f1c5f
DM
24172012-04-05 David S. Miller <davem@davemloft.net>
2418
dcd2ae90
DM
2419 * scripts/check-local-headers.sh: Accept a host triplet in the
2420 path matched by the exclude regexp.
2421
993eb054
DM
2422 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2423 definition.
2424 * sysdeps/powerpc/powerpc32/dl-machine.h
2425 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2426 * sysdeps/s390/s390-32/dl-machine.h
2427 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2428 * sysdeps/sparc/sparc32/dl-machine.h
2429 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2430 * sysdeps/sparc/sparc64/dl-machine.h
2431 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2432
ff9f1c5f
DM
2433 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2434 lazy binding.
48e2e132 2435 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2436 undefined symbol errors.
2437
48e2e132 2438 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2439 DT_NEEDED entries.
2440
e80d6f94
MM
24412012-04-05 Michael Matz <matz@suse.de>
2442
2443 [BZ #13592]
2444 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2445
349fa79f
AJ
24462012-04-05 Andreas Jaeger <aj@suse.de>
2447
2448 [BZ #13908]
2449 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2450 comment.
2451
f402708f
KK
24522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2453
2454 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2455 which ROUND is no valid rounding mode.
2456
2ecccfc9
KK
24572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2458
2459 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2460 read again.
2461 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2462
8a53f50f
KK
24632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2464
2465 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2466 an exception using FPU order intentionally.
2467
24682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2469
2470 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2471 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2472 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2473 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2474
d653abb7
SJ
24752012-04-05 Simon Josefsson <simon@josefsson.org>
2476
2477 [BZ #12340]
2478 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2479 EINVAL when BUFLEN is too smal.
2480
c3b1bf7d
TS
24812012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2482
2483 [BZ #13553]
2484 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2485 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2486
b1aa60f3
AJ
24872012-04-03 Andreas Jaeger <aj@suse.de>
2488
c3b1bf7d 2489 [BZ #13938]
67f60a26
AJ
2490 * manual/setjmp.texi (System V contexts): Fix sentence.
2491
b1aa60f3
AJ
2492 [BZ #13926]
2493 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2494 New macro for this case.
2495 [!__GNUC__] (__bswap_64): New inline function for this case.
2496 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2497 * bits/byteswap.h: Likewise.
2498 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2499 ull, guard with __GLIBC_HAVE_LONG_LONG.
2500
2501 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2502 __GLIBC_HAVE_LONG_LONG.
2503
2504 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2505 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2506
39c59c35
TMQMF
25072012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2508
2509 [BZ #13691]
2510 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2511 inptr and inend, rather than using last_ch.
2512
135ffda8
DM
25132012-04-02 David S. Miller <davem@davemloft.net>
2514
2515 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2516 * stdio-common/printf-parse.h (read_int): Change return type to
2517 'int', return -1 on INT_MAX overflow.
2518 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2519 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2520 overflows INT_MAX. Check for overflow of in-format-string precision
2521 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2522 SIZE_MAX not INT_MAX for integer overflow test.
2523 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2524 skip the construct in the format string but do not record anything.
2525 * stdio-common/bug22.c: Adjust to test both width/prevision
2526 INT_MAX overflow as well as total length INT_MAX overflow. Check
2527 explicitly for proper errno values.
2528
228c019e
TS
25292012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2530
302cadd3
TS
2531 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2532 CHAR_MAX.
2533 * string/test-strcmp.c [! WIDE]: Likewise.
2534 * time/tst-mktime2.c: Likewise for INT_MAX.
2535 * string/test-string.h: #include <sys/param.h> for MIN.
2536
228c019e
TS
2537 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2538 * sysdeps/i386/init-first.c (init): Likewise.
2539 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2540 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2541 * sysdeps/sh/init-first.c (init): Likewise.
2542
cfa633f5
UD
25432012-04-01 Ulrich Drepper <drepper@gmail.com>
2544
2545 * po/ru.po: Update from translation team.
d1635ef8 2546 * po/vi.po: Likewise.
cfa633f5 2547
6cd0a5ea
SP
25482012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2549
2550 * resolv/nss_dns/dns-host.c: Merge copyright years.
2551
4b43400f
LD
25522012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2553
2554 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2555 Optimize memcpy with prefetch if
2556 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2557 src, dst pointers have unequal 16 byte alignments.
2558
48c41d04
SP
25592012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2560
2561 [BZ #13928]
2562 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2563 from a CNAME entry and return the minimum ttl for the query.
2564 (gaih_getanswer_slice): Likewise.
2565
b8dc394d
JL
25662012-03-30 Jeff Law <law@redhat.com>
2567
2568 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2569 due to long keys.
2570 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2571 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2572
2f5a5ed0
JL
2573 * resolv/nss_dns/dns-host.c: Update copyright year.
2574
1d39e359
UD
25752012-03-30 Ulrich Drepper <drepper@gmail.com>
2576
c030f70c 2577 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2578 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2579
1d39e359
UD
2580 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2581 comments for sendmmsg.
2582
25832012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2584
2585 [BZ #13691]
2586 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2587 with only 1 character between 0x0041 and 0x01b0.
2588 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2589 * wcsmbs/tst-mbsnrtowcs.c: New file.
2590
20fde227
DM
25912012-03-29 David S. Miller <davem@davemloft.net>
2592
2593 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2594 small copies by hand.
2595
984a4237
JL
25962012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2597
2598 [BZ #13761]
2599 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2600 _nss_compat_initgroups_dyn): Fall back to malloc/free
2601 for large group memberships.
2602
18c9d62b
DM
26032012-03-28 David S. Miller <davem@davemloft.net>
2604
88d85d4f
DM
2605 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2606 that branches into memcpy.
2607 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2609 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2610 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2612 bits.
2613 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2614 implementation too.
2615 * sysdeps/sparc/mempcpy.S: New file.
2616
e5aa83e1
DM
2617 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2618 the IFUNC routine in the libc case.
2619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2620
88570753
DM
2621 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2622 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2623 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2624 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2625 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2626 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2627 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2628 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2629
249d7567
DM
2630 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2631 loop to 256 bytes instead of 64 bytes and fix test signedness.
2632
18c9d62b
DM
2633 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2634 * sysdeps/sparc/sparc32/Makefile: rather than here...
2635 * sysdeps/sparc/sparc64/Makefile: and here.
2636
05f3d1f6
UD
26372012-03-28 Ulrich Drepper <drepper@gmail.com>
2638
2639 * malloc/mallocbug.c: Avoid warnings about unused variables.
2640
86ae07a8
JL
26412012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2642
2643 [BZ #13760]
2644 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2645 in the right place. Discard and retry query if response is
2646 larger than input buffer size.
2647
41bf21a1
JM
26482012-03-28 Joseph Myers <joseph@codesourcery.com>
2649
d6270972
JM
2650 [BZ #369]
2651 [BZ #2678]
2652 [BZ #3866]
2653 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2654 x for large integer exponent.
2655 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2656 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2657 sign of result as needed afterwards.
2658 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2659 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2660 result for underflowing pow the same as for overflow.
2661 (__kernel_standard_l): Handle powl overflow and underflow here
2662 rather than calling __kernel_standard.
2663 * math/libm-test.inc (pow_test): Add more tests.
2664
414fca03 2665 [BZ #3868]
41bf21a1
JM
2666 [BZ #13879]
2667 [BZ #13910]
2668 [BZ #13911]
2669 [BZ #13912]
2670 [BZ #13913]
2671 [BZ #13915]
2672 [BZ #13916]
2673 [BZ #13917]
2674 [BZ #13918]
2675 [BZ #13919]
2676 [BZ #13920]
2677 [BZ #13921]
2678 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2679 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2680 (__kernel_standard_l): New function.
2681 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2682 __kernel_standard.
2683 * math/w_acosl.c (__acosl): Likewise.
2684 * math/w_asinl.c (__asinl): Likewise.
2685 * math/w_atan2l.c (__atan2l): Likewise.
2686 * math/w_atanhl.c (__atanhl): Likewise.
2687 * math/w_coshl.c (__coshl): Likewise.
2688 * math/w_exp10l.c (__exp10l): Likewise.
2689 * math/w_exp2l.c (__exp2l): Likewise.
2690 * math/w_fmodl.c (__fmodl): Likewise.
2691 * math/w_hypotl.c (__hypotl): Likewise.
2692 * math/w_j0l.c (__j0l, __y0l): Likewise.
2693 * math/w_j1l.c (__j1l, __y1l): Likewise.
2694 * math/w_jnl.c (__jnl, __ynl): Likewise.
2695 * math/w_lgammal.c (__lgammal): Likewise.
2696 * math/w_log10l.c (__log10l): Likewise.
2697 * math/w_log2l.c (__log2l): Likewise.
2698 * math/w_logl.c (__logl): Likewise.
2699 * math/w_powl.c (__powl): Likewise.
2700 * math/w_remainderl.c (__remainderl): Likewise.
2701 * math/w_scalbl.c (sysv_scalbl): Likewise.
2702 * math/w_sinhl.c (__sinhl): Likewise.
2703 * math/w_sqrtl.c (__sqrtl): Likewise.
2704 * math/w_tgammal.c (__tgammal): Likewise.
2705 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2706 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2707 * math/libm-test.inc (acos_test): Add more tests.
2708 (acosh_test): Likewise.
2709 (asin_test): Likewise.
2710 (atanh_test): Likewise.
2711 (exp_test): Likewise.
2712 (exp10_test): Likewise.
2713 (exp2_test): Likewise.
2714 (expm1_test): Likewise.
2715 (lgamma_test): Likewise.
2716 (log_test): Likewise.
2717 (log10_test): Likewise.
2718 (log1p_test): Likewise.
2719 (log2_test): Likewise.
2720 (pow_test): Do not allow some spurious overflow exceptions.
2721 (sqrt_test): Add more tests.
2722 (tgamma_test): Likewise.
2723 (y0_test): Likewise.
2724 (y1_test): Likewise.
2725 (yn_test): Likewise.
2726
dd62fda6
AB
27272012-03-27 Anton Blanchard <anton@samba.org>
2728
2729 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2730 MAP_HUGETLB.
2731 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2732 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2733 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2734
1e3cdfda
AJ
27352012-03-27 David S. Miller <davem@davemloft.net>
2736
b855ab85
DM
2737 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2738
1e3cdfda
AJ
2739 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2740 have-as-vis3 check.
2741
27422012-03-27 Andreas Jaeger <aj@suse.de>
2743
2744 * sysdeps/x86_64/elf/configure.in: Moved to ...
2745 * sysdeps/x86_64/configure.in: ... here.
2746 * sysdeps/x86_64/elf/start.S: Moved to ...
2747 * sysdeps/x86_64/start.S: ... here.
2748 * sysdeps/x86_64/elf/configure: Delete.
2749
2750 * sysdeps/x86_64/configure.in: Merge contents from
2751 sysdeps/i386/configure.in (without i686 check).
2752
2753 * sysdeps/i386/elf/Versions: Merge into ...
2754 * sysdeps/i386/Versions: ... this.
2755 * sysdeps/i386/elf/Versions: Delete file.
2756 * sysdeps/i386/elf/start.S: Moved to ...
2757 * sysdeps/i386/start.S: ...here.
2758 * sysdeps/i386/elf/configure.in: Merge into...
2759 * sysdeps/i386/configure.in: ...here.
2760 * sysdeps/i386/elf/configure.in: Delete file.
2761 * sysdeps/i386/elf/configure: Delete file.
2762
2763 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2764 * debug/backtracesyms.c: ... here.
2765 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2766 * debug/backtracesymsfd.c: ... here.
2767 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2768 * sysdeps/generic/ifunc-sel.h: ... here.
2769
2770 * sysdeps/unix/i386/start.c: Delete file.
2771 * sysdeps/unix/sparc/start.c: Delete file.
2772 * sysdeps/unix/start.c: Delete file.
2773
2774 * sysdeps/sh/elf/configure.in: Moved to ...
2775 * sysdeps/sh/configure.in: ... here.
2776 * sysdeps/sh/elf/start.S: Moved to ...
2777 * sysdeps/sh/start.S: ... here.
2778 * sysdeps/sh/elf/configure: Delete file.
2779
2780 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2781 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2782 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2783 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2784 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2785 * sysdeps/powerpc/powerpc64/start.S: here.
2786 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2787 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2788 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2789 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2790 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2791
2792 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2793 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2794 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2795 * sysdeps/powerpc/powerpc32/start.S: ... here.
2796 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2797 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2798 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2799
2800 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2801 * sysdeps/powerpc/ifunc-sel.h: ... here.
2802 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2803 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2804
2805 * sysdeps/sparc/elf/configure.in: Moved to ...
2806 * sysdeps/sparc/configure.in: ... here.
2807 * sysdeps/sparc/elf/configure: Delete file.
2808 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2809 * sysdeps/sparc/sparc32/start.S: ... here.
2810 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2811 * sysdeps/sparc/sparc64/start.S: ... here.
2812 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2813 * sysdeps/sparc/sparc32/Makefile: ... this.
2814 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2815 * sysdeps/sparc/sparc64/Makefile: ... this.
2816
2817 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2818 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2819 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2820 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2821 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2822 * sysdeps/s390/s390-32/setjmp.S: ... here.
2823 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2824 * sysdeps/s390/s390-32/configure.in: ... here.
2825 * sysdeps/s390/s390-32/elf/configure: Delete file.
2826 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2827 * sysdeps/s390/s390-32/start.S: ... here.
2828
2829 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2830 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2831 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2832 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2833 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2834 * sysdeps/s390/s390-64/setjmp.S: ... here.
2835 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2836 * sysdeps/s390/s390-64/configure.in: ... here
2837 * sysdeps/s390/s390-64/elf/configure: Delete file.
2838 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2839 * sysdeps/s390/s390-64/start.S: ... here.
2840 * sysdeps/s390/s390-64/elf/configure: Delete.
2841
2842 * configure.in: Remove support for elf directories in sysdeps.
2843
2844 * configure: Regenerated.
2845 * sysdeps/i386/configure: Regenerated.
2846 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2847 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2848 * sysdeps/s390/s390-32/configure: Regenerated.
2849 * sysdeps/s390/s390-64/configure: Regenerated.
2850 * sysdeps/sh/configure: Regenerated.
2851 * sysdeps/sparc/configure: Regenerated.
2852 * sysdeps/x86_64/configure: Regenerated.
2853
a3f61311
AS
28542012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2855
c876e002
AS
2856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2857
a3f61311
AS
2858 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2859 denormal result into account.
2860
ac4c54f0
RM
28612012-03-25 Roland McGrath <roland@hack.frob.com>
2862
2863 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2864 Reported by Allan McRae <allan@archlinux.org>.
2865
6a9b9c02
JL
28662012-03-23 Jeff Law <law@redhat.com>
2867
2868 * nss/getnssent.c (__nss_getent): Fix typo.
2869
4c42a0c1
DM
28702012-03-23 David S. Miller <davem@davemloft.net>
2871
2872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2873
1532c7ac
L
28742012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2875
2876 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2877 to pad to uint64_t for each field.
2878 (dl_tls_index): Replace unsigned long with uint64_t.
2879
3ff42526
PP
28802012-03-23 Daniel Jacobowitz <dmj@google.com>
2881 Paul Pluzhnikov <ppluzhnikov@google.com>
2882
2883 [BZ #6528]
2884 * grp/Makefile (otherlibs): Don't set it.
2885 * inet/Makefile (otherlibs): Likewise.
2886 * login/Makefile (otherlibs): Likewise.
2887 * nscd/Makefile (otherlibs): Likewise.
2888 * posix/Makefile (otherlibs): Likewise.
2889 * pwd/Makefile (otherlibs): Likewise.
2890 * rt/Makefile (otherlibs): Likewise.
2891 * sunrpc/Makefile (otherlibs): Likewise.
2892 * nss/Makefile (otherlibs): Likewise.
2893 Add libnss_files to routines and static-only-routines.
2894 ($(objpfx)getent): Remove rule.
2895 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2896 static-only-routines.
2897
7c69cd14
JM
28982012-03-22 Joseph Myers <joseph@codesourcery.com>
2899
2900 [BZ #13892]
2901 * math/s_cexp.c: Include <float.h>.
2902 (__cexp): Handle exp result overflowing not necessarily
2903 overflowing both real and imaginary parts of result.
2904 * math/s_cexpf.c: Likewise.
2905 * math/s_cexpl.c: Likewise.
2906 * math/libm-test.inc (cexp_test): Add more tests.
2907 * sysdeps/i386/fpu/libm-test-ulps: Update.
2908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2909
81b035fe
L
29102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2911
2912 * include/link.h (ELFW): New macro.
2913 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2914 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2915
1da7940c
L
29162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2917
2918 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2919 with uint64_t.
2920
b749dbb9
L
29212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2922
2923 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2924 declaration.
2925 (struct La_x32_retval): Likewise.
2926
2ff87f3f
L
29272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2928
2929 * sysdeps/x86_64/preconfigure.in: New file.
2930 * sysdeps/x86_64/preconfigure: New generated file.
2931
c0df8e69
JM
29322012-03-22 Joseph Myers <joseph@codesourcery.com>
2933
48e44791
JM
2934 [BZ #13824]
2935 * math/e_exp2l.c: Include <float.h>.
2936 (__ieee754_exp2l): Handle overflow and underflow cases
2937 separately. Only pass fractional part of argument to
2938 __ieee754_expl.
2939 * math/libm-test.inc (exp2_test): Add more tests.
2940
c0df8e69
JM
2941 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2942 negating x to take absolute value.
2943 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2944 Likewise.
2945 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2946 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2947 Likewise.
2948 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2949 computing low part if x was negated.
2950 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2951
c8e43ba7
L
29522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2953
2954 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2955 la_x32_gnu_pltexit.
2956 (pltexit): Cast int_retval to ptrdiff_t.
2957 * elf/tst-auditmod3b.c: Likewise.
2958 * elf/tst-auditmod4b.c: Likewise.
2959 * elf/tst-auditmod5b.c: Likewise.
2960 * elf/tst-auditmod6b.c: Likewise.
2961 * elf/tst-auditmod6c.c: Likewise.
2962 * elf/tst-auditmod7b.c: Likewise.
2963
2964 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2965 and x32_gnu_pltexit.
2966
2967 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2968 __ELF_NATIVE_CLASS.
2969 (La_x32_regs): New macro.
2970 (La_x32_retval): Likewise.
2971 (la_x32_gnu_pltenter): New function prototype.
2972 (la_x32_gnu_pltexit): Likewise.
2973
7998fa78
AS
29742012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2975
dcb33988
AS
2976 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2977 exponent.
2978
233fc563
AS
2979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2980
7998fa78
AS
2981 * configure.in (libc_cv_cc_nofma): Check for option to disable
2982 generation of FMA instructions.
2983 * configure: Regenerate.
2984 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2985 * sysdeps/ieee754/dbl-64/Makefile: New file.
2986 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2987 Remove brandred-fma4.
2988 (CFLAGS-brandred-fma4.c): Remove.
2989 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2990 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2991 define.
2992 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2993 define.
2994
8e95c99a
L
29952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2996
2997 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2998 LLONG_MAX != LONG_MAX.
2999 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3000 (_fitoa_word): Likewise.
3001 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3002 LLONG_MAX != LONG_MAX.
3003 * stdio-common/_itowa.h: Include <_itoa.h>.
3004 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3005 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3006 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3007 only if not defined.
3008 (_ITOA_WORD_TYPE): Likewise.
3009 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3010 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3011
6f4db457
DM
30122012-03-21 David S. Miller <davem@davemloft.net>
3013
3014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3015
7785fe5a
L
30162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3017
3018 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3019 of x86_64 when setting libc_cv_slibdir, libdir and
3020 libc_cv_localedir.
3021 * sysdeps/unix/sysv/linux/configure: Regenerated.
3022
4535cd55
JM
30232012-03-21 Joseph Myers <joseph@codesourcery.com>
3024
3025 * manual/lang.texi (Old Varargs): Remove section.
3026 (How Variadic): Update menu.
3027 (va_start): Do not mention varargs.h.
3028
17228132
TS
30292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3030 Joseph Myers <joseph@codesourcery.com>
3031
3032 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3033 link test.
3034 * configure: Regenerated.
3035
8149f976
TS
30362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3037
05f3d1f6
UD
3038 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3039 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3040 conformtest.pl
8149f976 3041
1a4ac776
JM
30422012-03-21 Joseph Myers <joseph@codesourcery.com>
3043
be22ce65
JM
3044 * NOTES: Remove.
3045 * Makefile (files-for-dist): Remove NOTES.
3046 (NOTES): Remove rule.
3047 * README: Don't refer to NOTES.
3048 * manual/creature.texi: Don't include macros.texi.
3049 * manual/intro.texi (creature.texi): Remove comment referring to
3050 NOTES.
3051
40b601fb
JM
3052 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3053 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3054 * configure: Regenerated.
3055 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3056 LIBC_TRY_CC_OPTION.
3057 (libc_cv_as_i686): Likewise.
3058 (libc_cv_cc_avx): Likewise.
3059 (libc_cv_cc_sse2avx): Likewise.
3060 (libc_cv_cc_fma4): Likewise.
3061 (libc_cv_cc_novzeroupper): Likewise.
3062 * sysdeps/i386/configure: Regenerated.
3063
1a4ac776
JM
3064 [BZ #13883]
3065 * sysdeps/i386/fpu/s_cexp.S: Remove.
3066 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3067 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3068 * math/libm-test.inc (cexp_test): Add more tests.
3069 * sysdeps/i386/fpu/libm-test-ulps: Update.
3070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3071
a458e7fe
AM
30722012-03-21 Allan McRae <allan@archlinux.org>
3073
3074 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3075
0cb7efc5
JM
30762012-03-21 Joseph Myers <joseph@codesourcery.com>
3077
3078 [BZ #13871]
3079 * math/w_exp2.c: Do not include <float.h>.
3080 (o_threshold, u_threshold): Remove.
3081 (__exp2): Calculate result before checking finiteness and calling
3082 __kernel_standard.
3083 * math/w_exp2f.c: Likewise.
3084 * math/w_exp2l.c: Likewise.
3085 * math/libm-test.inc (exp2_test): Require overflow exception for
3086 1e6 input.
2460d3aa
JM
3087
3088 [BZ #3866]
3089 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3090 range of signed 64-bit integers before using fistpll. Remove
3091 checks for whether integers fit in mantissa bits.
3092 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3093 the range of signed 32-bit integers before using fistpl. Remove
3094 checks for whether integers fit in mantissa bits.
3095 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3096 (__ieee754_powl): Test for y outside the range of signed 64-bit
3097 integers before using fistpll. Reduce 64-bit values to 63-bit
3098 ones as needed.
3099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3100 divide-by-zero is raised for zero to large negative powers.
3101 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3102 (__ieee754_powl): Test for y outside the range of signed 64-bit
3103 integers before using fistpll. Reduce 64-bit values to 63-bit
3104 ones as needed.
3105 * math/libm-test.inc (pow_test): Add more tests.
3106
eb96ffb0
L
31072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3108
3109 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3110 <stdio-common/_itoa.h>.
3111 * debug/segfault.c: Likewise.
3112 * elf/dl-cache.c: Likewise.
3113 * elf/dl-minimal.c: Likewise.
3114 * elf/dl-misc.c: Likewise.
3115 * elf/dl-sysdep.c: Likewise.
3116 * elf/dl-version.c: Likewise.
3117 * elf/rtld.c: Likewise.
3118 * hurd/hurdsock.c: Likewise.
3119 * hurd/lookup-retry.c: Likewise.
3120 * malloc/malloc.c: Likewise.
3121 * malloc/mtrace.c: Likewise.
3122 * nscd/nscd_getgr_r.c: Likewise.
3123 * nscd/nscd_getpw_r.c: Likewise.
3124 * nscd/nscd_getserv_r.c: Likewise.
3125 * posix/getopt_init.c: Likewise.
3126 * posix/wordexp.c: Likewise.
3127 * stdio-common/_itoa.c: Likewise.
3128 * stdio-common/printf_fphex.c: Likewise.
3129 * stdio-common/vfprintf.c: Likewise.
3130 * string/_strerror.c: Likewise.
3131 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3132 * sysdeps/i386/i686/hp-timing.h: Likewise.
3133 * sysdeps/mach/_strerror.c: Likewise.
3134 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3135 * sysdeps/mach/hurd/sethostid.c: Likewise.
3136 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3137 * sysdeps/mach/xpg-strerror.c: Likewise.
3138 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3139 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3140 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3141 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3142 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3143 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3144 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3145 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3146 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3147 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3148 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3149 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3150 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3151 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3152 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3153 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3154 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3155 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3156 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3157 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3158 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3159
3160 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3161
3162 * stdio-common/_itoa.h: Moved to ...
3163 * sysdeps/generic/_itoa.h: Here.
3164
3165 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3166
3167 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3168 instead of "_itoa.h" and "_itowa.h".
3169 * stdio-common/vfprintf.: Likewise.
3170
d1af992d
L
31712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3172
3173 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3174 <bits/wordsize.h>.
3175 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3176 (__signbit): Likwise.
3177 (llrintf): Likwise.
3178 (llrint): Likwise.
3179
114883e0
L
31802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3181
3182 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3183 __WORDSIZE != 64.
3184
c135cc1b
JM
31852012-03-20 Joseph Myers <joseph@codesourcery.com>
3186
3187 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3188 OVERFLOW_EXCEPTION_OK.
3189 * math/libm-test.inc ("Philosophy"): Update comment about
3190 exception testing.
3191 (OVERFLOW_EXCEPTION): Define.
3192 (OVERFLOW_EXCEPTION_OK): Likewise.
3193 (INVALID_EXCEPTION_OK): Renumber.
3194 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3195 (IGNORE_ZERO_INF_SIGN): Likewise.
3196 (test_exceptions): Handle FE_OVERFLOW.
3197 (exp10_test): Expect overflow exceptions.
3198 (exp2_test): Likewise.
3199 (expm1_test): Likewise.
3200 (nextafter_test): Likewise.
3201 (pow_test): Likewise.
3202 (scalbn_test): Likewise.
3203 (scalbln_test): Likewise.
3204
95443d88
L
32052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3206
3207 * sysdeps/x86_64/bits/atomic.h
3208 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3209 64bit integer.
3210 (atomic_exchange_acq): Likewise.
3211 (__arch_exchange_and_add_body): Likewise.
3212 (__arch_add_body): Likewise.
3213 (atomic_add_negative): Likewise.
3214 (atomic_add_zero): Likewise.
3215
490df6c4
L
32162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3217
c2722551 3218 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3219 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3220
5e52b189
L
32212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3222
3223 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3224 Check __x86_64__ instead of __WORDSIZE.
3225
a9879d4c
L
32262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3227
3228 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3229
5df98260
DM
32302012-03-19 David S. Miller <davem@davemloft.net>
3231
e1497744
DM
3232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3233
5df98260
DM
3234 * sysdeps/sparc/fpu/fenv_private.h: New file.
3235 * sysdeps/sparc/fpu/math_private.h: Use it.
3236 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3237 Remove.
3238 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3239 (libc_feholdexcept_setroundl): Remove.
3240 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3241 Remove.
3242 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3243 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3244
b4c35121
L
32452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3246
3247 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3248 int64_t instead of long int.
3249 (INSERT_WORDS64): Likwise.
3250
56965fd7
L
32512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3252
3253 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3254 _Unwind_GetCFA return to _Unwind_Ptr first.
3255
83d1aec8
JM
32562012-03-19 Joseph Myers <joseph@codesourcery.com>
3257
1897ad44
JM
3258 [BZ #13629]
3259 * math/s_clog.c: Include <float.h>.
3260 (__clog): Scale large or subnormal inputs.
3261 * math/s_clogf.c: Likewise.
3262 * math/s_clogl.c: Likewise.
3263 * math/s_clog10.c: Include <float.h>.
3264 (M_LOG10_2): Define.
3265 (__clog10): Scale large or subnormal inputs.
3266 * math/s_clog10f.c: Likewise.
3267 * math/s_clog10l.c: Likewise.
3268 * math/libm-test.inc (clog_test): Add more tests.
3269 (clog10_test): Likewise.
3270 * sysdeps/i386/fpu/libm-test-ulps: Update.
3271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3272
7726d6a9
JM
3273 [BZ #11451]
3274 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3275 x and y.
3276 * math/libm-test.inc (atan2_test): Add another test.
3277
83d1aec8
JM
3278 * Makerules (common-objdir-compile): Remove.
3279 * sysdeps/unix/Makefile (config-generated): Do not add
3280 $(unix-generated) to variable.
3281 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3282 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3283 Remove rule.
3284 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3285 Likewise.
3286 [generic bits/local_lim.h] (before-compile): Do not append to
3287 variable.
3288 [generic bits/local_lim.h] (common-generated): Likewise.
3289 [generic sys/param.h] (before-compile): Do not append to variable.
3290 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3291 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3292 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3293 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3294 include.
3295 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3296 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3297 [generic sys/param.h] ($(addprefix
3298 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3299 [generic sys/param.h] (common-generated): Do not append to
3300 variable.
3301 [generic sys/param.h] (sysdep_headers): Likewise.
3302 [generic bits/errno.h] (before-compile): Do not append to
3303 variable.
3304 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3305 rule.
3306 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3307 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3308 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3309 [generic bits/errno.h] (common-generated): Do not append to
3310 variable.
3311 [generic bits/ioctls.h] (before-compile): Do not append to
3312 variable.
3313 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3314 rule.
3315 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3316 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3317 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3318 rule.
3319 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3320 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3321 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3322 [generic bits/ioctls.h] (common-generated): Do not append to
3323 variable.
3324 [generic sys/syscall.h] (syscall.h): Remove variable.
3325 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3326 rule.
3327 [generic sys/syscall.h] (before-compile): Do not append to
3328 variable.
3329 [generic sys/syscall.h] (common-generated): Likewise.
3330 * sysdeps/unix/errnos-tmpl.c: Remove file.
3331 * sysdeps/unix/errnos.awk: Likewise.
3332 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3333 * sysdeps/unix/ioctls.awk: Likewise.
3334 * sysdeps/unix/mk-local_lim.c: Likewise.
3335 * sysdeps/unix/snarf-ioctls: Likewise.
3336
4851a949
RH
33372012-03-19 Richard Henderson <rth@twiddle.net>
3338
bd37f2ee
RH
3339 * sysdeps/i386/fpu/fenv_private.h: New file.
3340 * sysdeps/i386/fpu/math_private.h: Use it.
3341 (math_opt_barrier, math_force_eval): Remove.
3342 (libc_feholdexcept_setround_53bit): Remove.
3343 (libc_feupdateenv_53bit): Remove.
3344 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3345 (math_opt_barrier, math_force_eval): Remove.
3346 (libc_feholdexcept): Remove.
3347 (libc_feholdexcept_setround): Remove.
3348 (libc_fetestexcept, libc_fesetenv): Remove.
3349 (libc_feupdateenv_test): Remove.
3350 (libc_feupdateenv, libc_feholdsetround): Remove.
3351 (libc_feresetround): Remove.
3352
d0adc922
RH
3353 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3354 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3355
0fe0f1f8
RH
3356 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3357 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3358 (libc_feupdateenv_testl): New.
3359 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3360 (libc_feupdateenv_testf): New.
3361 (libc_feupdateenv): Use libc_feupdateenv_test.
3362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3363 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3364
eb92c487
RH
3365 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3366 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3367 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3368 (libc_feresetround_noex): New.
3369 (libc_feresetround_noexf): New.
3370 (libc_feresetround_noexl): New.
3371 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3372 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3373 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3374 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3375 SET_RESTORE_ROUND.
3376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3378 (__cos): Likewise.
3379 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3380 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3381 SET_RESTORE_ROUND_NOEX.
3382 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3383 SET_RESTORE_ROUND_NOEXF.
3384 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3385 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3386 (libc_feholdsetroundf): New.
3387 (libc_feresetround, libc_feresetroundf): New.
3388
7d2e8012
RH
3389 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3390 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3391 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3392
b4dabbb4
RH
3393 * sysdeps/generic/math_private.h: Include <fenv.h>.
3394 (default_libc_feholdexcept): New.
3395 (default_libc_feholdexcept_setround): New.
3396 (default_libc_fesetenv, default_libc_feupdateenv): New.
3397 (libc_feholdexcept): Only define if undefined.
3398 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3399 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3400 (libc_feholdexcept_setroundl): Likewise.
3401 (libc_feholdexcept_setround_53bit): Likewise.
3402 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3403 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3404 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3405 (libc_feupdateenv_53bit): Likewise.
3406 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3407 (libc_feholdexcept): Convert from macro to inline function.
3408 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3409 (libc_fesetenv, libc_feupdateenv): Likewise.
3410
4851a949
RH
3411 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3412 not previously defined.
3413 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3414 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3415 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3416 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3417 * sysdeps/ieee754/flt-32/math_private.h: New file.
3418 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3419 math_private.h below SET_FLOAT_WORD.
3420 (__isnan, __isinf_ns, __finite): Remove.
3421 (__isnanf, __isinf_nsf, __finitef): Remove.
3422
e79d442e
AS
34232012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3424
3425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3426
90b80344
DM
34272012-03-17 David S. Miller <davem@davemloft.net>
3428
3429 [BZ #6471]
3430 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3431 for 2.16.
3432
edc21804
DM
34332012-03-16 David S. Miller <davem@davemloft.net>
3434
77e927af
DM
3435 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3436 warnings.
3437
374976dd
DM
3438 [BZ #6471]
3439 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3440 properly.
3441 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3442 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3443 sysdep_routines when subdir is sysvipc.
3444 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3445 __getshmlba helper.
3446
edc21804
DM
3447 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3448
473c3ef3
L
34492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3450
3451 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3452 [__LP64__].
3453
eb0f39b6
L
34542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3455
3456 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3457 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3458 (__lround): Renamed to ...
3459 (__llround): This. Replace long int with long long int.
3460 Define lround functions as aliases of llround functions.
3461 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3462
6b6cd74b
L
34632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3464
3465 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3466 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3467 adresses to uintptr_t. Replace "long int" and "unsigned long
3468 int" with "greg_t" on va_arg.
3469
f1a77b01
L
34702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3471
3472 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3473 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3474
3475 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3476 Move e_machine check before EI_CLASS check. Handle x32
3477 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3478 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3479 SKIP_EM_IA_64 and include
3480 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3481
3482 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3483 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3484 (add_system_dir): New macro.
3485
3486 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3487 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3488
11b90b9f
JM
34892012-03-16 Joseph Myers <joseph@codesourcery.com>
3490
c36e1d23
JM
3491 [BZ #2551]
3492 [BZ #2552]
3493 [BZ #2553]
3494 [BZ #2554]
3495 [BZ #2562]
3496 [BZ #2563]
3497 [BZ #2565]
3498 [BZ #2566]
3499 [BZ #2576]
3500 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3501 (y0): Likewise.
3502 * math/w_j0f.c (j0f): Likewise.
3503 (y0f): Likewise.
3504 * math/w_j0l.c (__j0l): Likewise.
3505 (__y0l): Likewise.
3506 * math/w_j1.c (j1): Likewise.
3507 (y1): Likewise.
3508 * math/w_j1f.c (j1f): Likewise.
3509 (y1f): Likewise.
3510 * math/w_j1l.c (__j1l): Likewise.
3511 (__y1l): Likewise.
3512 * math/w_jn.c (jn): Likewise.
3513 (yn): Likewise.
3514 * math/w_jnf.c (jnf): Likewise.
3515 (ynf): Likewise.
3516 * math/w_jnl.c (__jnl): Likewise.
3517 (__ynl): Likewise.
3518 * math/libm-test.inc (j0_test): Add more tests.
3519 (j1_test): Likewise.
3520 (jn_test): Likewise. Add trailing semicolon to existing test.
3521 (y0_test): Likewise.
3522 (y1_test): Likewise.
3523 * sysdeps/i386/fpu/libm-test-ulps: Update.
3524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3525
11b90b9f
JM
3526 [BZ #13851]
3527 [BZ #13854]
3528 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3529 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3530 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3531 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3532 (__tanl): Set errno for infinite argument.
3533 * sysdeps/i386/fpu/mptan.c: Remove.
3534 * sysdeps/i386/fpu/s_tan.S: Likewise.
3535 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3536 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3537 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3538 * math/libm-test.inc (tan_test): Add more tests and enable more
3539 tests for double and long double.
3540 * sysdeps/i386/fpu/libm-test-ulps: Update.
3541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3542
6a1bd2a1
JK
35432012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3544
3545 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3546 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3547
10a803e0
RM
35482012-03-16 Roland McGrath <roland@hack.frob.com>
3549
3550 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3551 * configure.in: Use it for both main tree and add-ons.
3552 * configure: Regenerated.
3553
f196c7f7
L
35542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3555
3556 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3557
8848d99d
JM
35582012-03-16 Joseph Myers <joseph@codesourcery.com>
3559
96cbe7f4
JM
3560 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3561 in comment.
3562
8848d99d
JM
3563 [BZ #13851]
3564 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3565 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3566 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3567 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3568 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3569 infinite argument.
3570 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3572 != 0 for prec == 2.
3573 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3574 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3575 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3576 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3577 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3578 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3579 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3580 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3581 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3582 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3583 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3584 * math/libm-test.inc (cos_test): Add more tests and enable more
3585 tests for long double.
3586 (sin_test): Likewise.
3587 (sincos_test): Likewise.
3588 * sysdeps/i386/fpu/libm-test-ulps: Update.
3589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3590
dd7f4703
DM
35912012-03-16 David S. Miller <davem@davemloft.net>
3592
3593 * sysdeps/sparc/fpu/math_private.h: New file.
3594
006f1daa
DM
35952012-03-15 David S. Miller <davem@davemloft.net>
3596
c0c83bc8
DM
3597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3598 file.
e6a62e18 3599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3601 file.
e6a62e18
DM
3602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3607 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3608 sysdep routines.
3609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3610
88cb87d9
DM
3611 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3612 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3613
006f1daa 3614 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3616 sparc-ifunc.h
006f1daa 3617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3619 Likewise.
3620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3621 Likewise.
006f1daa
DM
3622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3626 Likewise.
006f1daa
DM
3627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3632 Likewise.
3633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3634 Likewise.
006f1daa
DM
3635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3641 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3653 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3654 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3659
11e0098e
AS
36602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3661
3662 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3663 scaling.
3664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3665
e85b09d0
AJ
36662012-03-15 Andreas Jaeger <aj@suse.de>
3667
3668 [BZ #13852]
3669 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3670 ieee754/flt-32 implementation for sin, cos and sincos.
3671 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3672 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3673 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3674 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3675 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3676 ieee754/flt-32 implementation for tan.
3677
3678 * math/libm-test.inc (cos_test): Enable some large input tests for
3679 float as well
3680 (sin_test): Likewise.
3681 (sincos_test): Likewise.
3682 (tan_test): Add tests for large input.
3683
3684 * sysdeps/i386/fpu/libm-test-ulps: Update.
3685
81c64153
AJ
36862012-03-15 Andreas Jaeger <aj@suse.de>
3687
3688 [BZ #13658]
3689 * math/libm-test.inc (cos_test): Add more test cases.
3690 (sin_test): Likewise.
3691 (sincos_test): Likewise.
3692
7bbfa5c6
AJ
36932012-03-15 Andreas Jaeger <aj@suse.de>
3694
3695 [BZ #13837]
3696 * math/libm-test.inc (cos_test): Add a test case for large input
3697 value.
3698 (sin_test): Likewise.
3699 (sincos_test): Likewise.
3700
37012012-03-15 Andreas Jaeger <aj@suse.de>,
3702 Joseph Myers <joseph@codesourcery.com>
3703
3704 [BZ #13658]
0671f479 3705 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3706 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3707 * sysdeps/i386/fpu/branred.c: Likewise.
3708 * sysdeps/i386/fpu/dosincos.c: Likewise.
3709 * sysdeps/i386/fpu/mpa.c: Likewise.
3710 * sysdeps/i386/fpu/s_cos.S: Likewise.
3711 * sysdeps/i386/fpu/s_sin.S: Likewise.
3712 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3713 * sysdeps/i386/fpu/sincos32.c: Likewise.
3714
3715 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3716 Define.
3717 (libc_feupdateenv_53bit): Define.
3718 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3719 Define.
3720 (libc_feupdateenv_53bit): Define.
3721
3722 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3723 53 bit (without extend i386 double precision).
3724
3725 * math/libm-test.inc (sincos_test): Add tests for large input.
3726 (sin): Likewise.
3727 (cos): Likewise.
3728
3729 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3730
9cad04ea
AS
37312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3732
3733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3734
f7062b9a
DM
37352012-03-15 David S. Miller <davem@davemloft.net>
3736
3737 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3738 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3739 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3740 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3753 file.
f7062b9a 3754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3756 file.
f7062b9a 3757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3759 file.
f7062b9a 3760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3762 file.
f7062b9a
DM
3763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3765 fmin/fmax sysdep routines.
3766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3767
7bd951ff
DM
37682012-03-14 David S. Miller <davem@davemloft.net>
3769
559398ab
DM
3770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3774 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3775 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3790 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3791 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3792 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3793 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3794 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3795 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3798 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3799 routines.
3800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3801 file.
559398ab 3802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3804 file.
559398ab 3805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3807 file.
559398ab 3808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3810 file.
559398ab 3811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3813 file.
559398ab 3814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3816 file.
3817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3818 file.
3819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3820 file.
3821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3822 file.
3823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3824 New file.
3825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3826 file.
3827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3828 file.
559398ab 3829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3831 file.
559398ab 3832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3834 file.
559398ab 3835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3837 file.
559398ab 3838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3840 VIS3 routines.
559398ab
DM
3841
3842 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3843 New file.
3844
5a1c1e32
DM
3845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3846
eae47a36
DM
3847 * sysdeps/sparc/configure.in: New file.
3848 * sysdeps/sparc/configure: Generate.
3849 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3850 * configure: Regenerate.
3851 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3852 * config.make.in (have-as-vis3): New.
3853 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3854 available use -Av9d instead of -Av9a.
3855 * sysdeps/sparc/sparc64/Makefile: Likewise.
3856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3858 New file.
3859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3860 file.
3861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3862 New file.
3863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3864 file.
eae47a36
DM
3865 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3866 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3867 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3870
c0c83bc8
DM
3871 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3872 fzeros/fnegs to load 0x80000000 into a float register instead of
3873 using the stack.
7bd951ff
DM
3874 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3875
bd951ccb
JM
38762012-03-14 Joseph Myers <joseph@codesourcery.com>
3877
3878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3879 bits/syscall.h.
3880 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3881 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3882 ($(inst_includedir)/bits/syscall.h): Remove rule.
3883 ($(objpfx)bits/syscall.d): Include instead of
3884 $(objpfx)syscall-list.d.
3885 (generated): Change syscall-list.h and syscall-list.d to
3886 bits/syscall.h and bits/syscall.d.
3887
bb4e6db2
RM
38882012-03-14 Roland McGrath <roland@hack.frob.com>
3889
3890 [BZ #13846]
3891 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3892
aa4a2ae1
JM
38932012-03-14 Joseph Myers <joseph@codesourcery.com>
3894
e456826d
JM
3895 [BZ #13841]
3896 * math/s_csqrt.c: Include <float.h>.
3897 (__csqrt): Scale large or subnormal inputs.
3898 * math/s_csqrtf.c: Likewise.
3899 * math/s_csqrtl.c: Likewise.
3900 * math/libm-test.inc (csqrt_test): Add more tests.
3901 * sysdeps/i386/fpu/libm-test-ulps: Update.
3902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3903
aa4a2ae1
JM
3904 [BZ #13840]
3905 * math/libm-test.inc (hypot_test): Add more tests.
3906
7c10fd35
DM
39072012-03-13 David S. Miller <davem@davemloft.net>
3908
3909 [BZ #13840]
3910 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3911 double-precision for the calculation instead of scaling.
3912
f453b98b
JM
39132012-03-13 Joseph Myers <joseph@codesourcery.com>
3914
3915 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3916 manipulate bits before adding and subtracting TWO52[sx].
3917 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3918 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3919 Likewise.
3920 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3921
09a3453f
DM
39222012-03-13 David S. Miller <davem@davemloft.net>
3923
8e59da90
DM
3924 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3925 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3926 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3927 rtld-global-offsets.h
3928 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3929
2a8ab7f2
DM
3930 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3931 large parameters.
3932
10f62770
DM
3933 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3934
5f0bdb18
DM
3935 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3936 'err' in the ifdef scope in which it is actually used.
3937
09a3453f
DM
3938 * nss/nss_db/db-init.c: Include string.h
3939
b4b2eb5e
DM
39402012-03-12 David S. Miller <davem@davemloft.net>
3941
98bb2f1c
DM
3942 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3943 masking out of the most significant byte of random value used.
3944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3945 Fix coding style in previous change.
3946
b4b2eb5e
DM
3947 * sysdeps/unix/sysv/linux/kernel-features.h
3948 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3949 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3950 expression.
3951 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3952 later.
3953
6e226b09
DM
39542012-03-11 David S. Miller <davem@davemloft.net>
3955
a1bcbd40
DM
3956 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3957 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3958 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3959 for 'resultvar' otherwise things get truncated on 64-bit.
3960
cb9d6174
DM
3961 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3962 Fix masking out of the most significant byte of random value used.
3963
6e226b09
DM
3964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3965
058c132d
AS
39662012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3967
3968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3969
2d2cd515
DM
39702012-03-09 David S. Miller <davem@davemloft.net>
3971
3972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3973 variables with appropriate CPP guards.
3974 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3975 frame pointer, not the stack pointer. Correct layout comments. Fix test
3976 on resulting framesize and the management of the outregs buffer for pltexit.
3977 Preserve floating point return values across _dl_call_pltexit call.
3978 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3979 framesize and the management of the outregs buffer for pltexit.
3980 Preserve floating point return values across _dl_call_pltexit
3981 call.
3982 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3983 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3984 (print_exit): Fix format string for return register value.
3985
9a07f9d0
JM
39862012-03-10 Joseph Myers <joseph@codesourcery.com>
3987
3988 * sunrpc/Makefile (others): Add rpcgen.
3989 ($(objpfx)rpcgen): Remove special build rule and dependency on
3990 libc.
3991 * sunrpc/rpcgen.c: New file.
3992
547b5e30
PE
39932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3994
c524201a
PE
3995 [BZ #13673]
3996 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3997 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3998 * sysdeps/i386/crti.S: Likewise.
3999 * sysdeps/i386/crtn.S: Likewise.
4000 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4001 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4002 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4003 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4004 * sysdeps/sh/crti.S: Likewise.
4005 * sysdeps/sh/crtn.S: Likewise.
4006 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4007
7b6235f2
PE
4008 [BZ #13673]
4009 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4010 with URL.
4011 * locale/programs/locfile-kw.gperf: Likewise.
4012 * locale/programs/charmap-kw.h: Regenerated.
4013 * locale/programs/locfile-kw.h: Likewise.
4014
547b5e30
PE
4015 [BZ #13673]
4016 * intl/plural.y: Replace FSF snail mail address with URL.
4017 * intl/plural.c: Regenerated.
4018
5f0a5dae
RH
40192012-03-09 Richard Henderson <rth@twiddle.net>
4020
4021 * include/math_private.h: Remove file.
4022 * math/math_private.h: Move file ...
4023 * sysdeps/generic/math_private.h: ... here.
4024
b8c03620
RH
4025 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4026 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4027 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4028
4e234f5d 4029 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4030 and <math_private.h>.
4031 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4032 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4033 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4034 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4035 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4036 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4037 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4039 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4040 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4042 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4043 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4044 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4045 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4046 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4047 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4061 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4063 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4064 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4065 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4066 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4067 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4068 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4069 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4070 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4071 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4072 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4073 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4074 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4075 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4076 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4077 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4078 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4079 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4080 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4081 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4082 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4083 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4084 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4085 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4086 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4087 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4088 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4089 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4090 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4092 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4093 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4094 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4095 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4096 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4097 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4098 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4099 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4100 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4101 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4102 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4103 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4104 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4108 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4109 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4110 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4111 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4112 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4113 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4114 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4115 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4116 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4117 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4118 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4119 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4120 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4121 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4122 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4124 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4125 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4126 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4127 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4128 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4129 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4130 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4131 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4132 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4133 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4134 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4135 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4136 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4137 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4138 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4139 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4140 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4141 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4142 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4143 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4144 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4145 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4146 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4147 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4148 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4149 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4150 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4151 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4152 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4153 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4154 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4155 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4156 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4157 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4158 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4159 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4160 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4161 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4162 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4163 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4164 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4165 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4166 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4167 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4168 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4169 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4170 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4171 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4172 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4173 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4174 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4175 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4176 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4177 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4178 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4179 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4180 * sysdeps/ieee754/k_standard.c: Likewise.
4181 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4185 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4190 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4191 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4192 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4198 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4202 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4208 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4211 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4212 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4214 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4222 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4224 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4232 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4233 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4254 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4258 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4296 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4297 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4300 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4301 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4303 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4307 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4308 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4309 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4313 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4316 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4324 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4325 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4329 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4330 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4331 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4337 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4341 * sysdeps/ieee754/s_lib_version.c: Likewise.
4342 * sysdeps/ieee754/s_matherr.c: Likewise.
4343 * sysdeps/ieee754/s_signgam.c: Likewise.
4344 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4345 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4346 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4347 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4348 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4349 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4350 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4351 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4352 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4353 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4354 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4355 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4356 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4357 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4358 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4359 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4360 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4361 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4362 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4363 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4364 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4365
1991fa03
JM
43662012-03-09 Joseph Myers <joseph@codesourcery.com>
4367
4368 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4369 * sunrpc/rpc_main.c: Likewise.
4370 * sunrpc/rpc_svcout.c: Likewise.
4371
60d6f5a6
DM
43722012-03-09 David S. Miller <davem@davemloft.net>
4373
4374 * include/math_private.h: New file.
4375
4962050e
JM
43762012-03-09 Joseph Myers <joseph@codesourcery.com>
4377
02a6f887
JM
4378 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4379 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4380 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4381 from <bits/socket_type.h>.
4382 (enum __socket_type): Don't define here.
4383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4385 bits/socket_type.h.
4386
c6e013c1
JM
4387 [BZ #13566]
4388 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4389 checking __USE_GNU.
4390
4962050e
JM
4391 * Makerules ($(inst_includedir)/%.h): New rule.
4392 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4393 (install-others): Remove variable setting.
4394 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4395
38842f45
RH
43962012-03-08 Richard Henderson <rth@twiddle.net>
4397
67bb6da6
RH
4398 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4399 from macro to inline function; merge with the
4400 !__LIBC_INTERNAL_MATH_INLINES version.
4401 (__ieee754_sqrtf): Likewise.
4402
15194b4b
RH
4403 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4404 to inline function.
4405 (__rintf, __floor, __floorf): Likewise.
4406
64e21ede
RH
4407 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4408 macro to inline function.
4409 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4410
38842f45
RH
4411 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4412 not <math/math_private.h>.
4413
c64bf5fe
DM
44142012-03-08 David S. Miller <davem@davemloft.net>
4415
4416 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4417 copyright year.
4418 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4419
82d86f28
TS
44202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4421
4422 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4423 normalization.
4424 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4425 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4426
aea5d727
UD
44272012-03-08 Ulrich Drepper <drepper@gmail.com>
4428
4429 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4430 be defined individually, they must be defined as a block. Define
4431 S for printing a string instead of hidint the different by using a
4432 macro for adding the 'l'.
4433 * stdio-common/tst-fphex-wide.c: Adjust.
4434
70bca0a3
MP
44352012-03-07 Marek Polacek <polacek@redhat.com>
4436
4437 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4438
65b81130
MP
44392012-03-08 Marek Polacek <polacek@redhat.com>
4440
4441 [BZ #13806]
4442 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4443 * stdio-common/tst-fphex.c: Define a few macros to make the
4444 test reusable. Use them.
4445 * stdio-common/tst-fphex-wide.c: New file.
4446
07037eeb
JM
44472012-03-08 Joseph Myers <joseph@codesourcery.com>
4448
a7a93d50
JM
4449 [BZ #6911]
4450 * manual/macros.texi (gnusystems): New macro.
4451 (nongnusystems): Likewise.
4452 (gnulinuxhurdsystems): Likewise.
4453 (gnuhurdsystems): Likewise..
4454 (gnulinuxsystems): Likewise.
4455 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4456 variants of the GNU system, not "GNU system".
4457 * manual/conf.texi: Likewise.
4458 * manual/errno.texi: Likewise. Update example of errno macro
4459 expansion.
4460 * manual/filesys.texi: Likewise.
4461 (getumask): Document as specific to GNU/Hurd.
4462 * manual/install.texi: Likewise. Reword some references to
4463 GNU/Linux.
4464 * manual/intro.texi: Likewise.
4465 * manual/io.texi: Likewise.
4466 (File Name Portability): Detail which constraints are inapplicable
4467 to all GNU systems and which are only inapplicable to GNU/Hurd.
4468 * manual/job.texi: Likewise.
4469 * manual/llio.texi: Likewise.
4470 (O_NOCTTY): Document as present on GNU/Linux.
4471 * manual/maint.texi: Likewise.
4472 * manual/memory.texi: Likewise.
4473 * manual/pattern.texi: Likewise.
4474 * manual/pipe.texi: Likewise.
4475 * manual/process.texi: Likewise.
4476 * manual/resource.texi: Likewise.
4477 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4478 child on GNU/Hurd.
4479 * manual/setjmp.texi: Likewise.
4480 * manual/signal.texi: Likewise.
4481 * manual/startup.texi: Likewise.
4482 * manual/stdio.texi: Likewise.
4483 * manual/terminal.texi: Likewise.
4484 (ONLCR): Document as POSIX.
4485 (OXTABS): Document availability on GNU/Linux as XTABS.
4486 (ONOEOT): Document availability separately from other bits.
4487 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4488 * manual/time.texi: Likewise.
4489 * manual/users.texi: Likewise.
4490 * INSTALL: Regenerated.
4491 * sysdeps/gnu/errlist.c: Regenerated.
4492
07037eeb
JM
4493 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4494 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4495 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4496 puts.
4497 * configure: Regenerated.
4498
d1d3431a
JM
44992012-03-07 Joseph Myers <joseph@codesourcery.com>
4500
af6a1e37
JM
4501 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4502 default includes instead of AC_HEADER_CHECK.
4503 * sysdeps/i386/configure: Regenerated.
4504
d1d3431a
JM
4505 [BZ #10716]
4506 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4507 * math/s_cacoshf.c (__cacoshf): Likewise.
4508 * math/s_cacoshl.c (__cacoshl): Likewise.
4509 * math/s_casinh.c (__casinh): Set signs of result from argument.
4510 * math/s_casinhf.c (__casinhf): Likewise.
4511 * math/s_casinhl.c (__casinhl): Likewise.
4512 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4513 (casinh_test): Add more tests.
4514 * sysdeps/i386/fpu/libm-test-ulps: Update.
4515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4516
482ff4da
UD
45172012-03-07 Ulrich Drepper <drepper@gmail.com>
4518
872fda05
UD
4519 * po/zh_TW.po: Update from translation team.
4520
a4300c7a
UD
4521 * login/Makefile (distribute): Remove variable.
4522 * catgets/Makefile: Likewise.
4523 * mach/Makefile: Likewise.
4524 * malloc/Makefile: Likewise.
4525 * misc/Makefile: Likewise.
4526 * iconv/Makefile: Likewise.
4527 * nscd/Makefile: Likewise.
4528 * hurd/Makefile: Likewise.
4529 * manual/Makefile: Likewise.
4530 * locale/Makefile: Likewise.
4531 * intl/Makefile: Likewise.
4532 * conform/Makefile: Likewise.
4533 * nss/Makefile: Likewise.
4534 * time/Makefile: Likewise.
4535 * soft-fp/Makefile: Likewise.
4536 * dirent/Makefile: Likewise.
4537 * gmon/Makefile: Likewise.
4538 * po/Makefile: Likewise.
4539 * rt/Makefile: Likewise.
4540 * socket/Makefile: Likewise.
4541 * math/Makefile: Likewise.
4542 * signal/Makefile: Likewise.
4543 * debug/Makefile: Likewise.
4544 * elf/Makefile: Likewise.
4545 * timezone/Makefile: Likewise.
4546 * stdlib/Makefile: Likewise.
4547 * iconvdata/Makefile: Likewise.
4548 * sunrpc/Makefile: Likewise.
4549 * io/Makefile: Likewise.
4550 * argp/Makefile: Likewise.
4551 * inet/Makefile: Likewise.
4552 * hesiod/Makefile: Likewise.
4553 * grp/Makefile: Likewise.
4554 * csu/Makefile: Likewise.
4555 * wctype/Makefile: Likewise.
4556 * crypt/Makefile: Likewise.
4557 * libio/Makefile: Likewise.
4558 * string/Makefile: Likewise.
4559 * nis/Makefile: Likewise.
4560 * resolv/Makefile: Likewise.
4561 * stdio-common/Makefile: Likewise.
4562 * wcsmbs/Makefile: Likewise.
4563 * dlfcn/Makefile: Likewise.
4564 * posix/Makefile: Likewise.
4565
3b7c4e74 4566 [BZ #6959]
482ff4da
UD
4567 * timezone/Makefile: Don't install timezone files, just the programs
4568 and scripts.
4569
f72ed77d
UD
45702012-03-06 Ulrich Drepper <drepper@gmail.com>
4571
a000466f
UD
4572 * nss/databases.def: Add missing gshadow entry.
4573
f72ed77d
UD
4574 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4575
a53b7a4e
MP
45762012-03-06 Marek Polacek <polacek@redhat.com>
4577
4578 [BZ #13726]
4579 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4580 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4581 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4582 * stdio-common/tst-long-dbl-fphex.c: New file.
4583
e9258400
DM
45842012-03-06 David S. Miller <davem@davemloft.net>
4585
4586 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4587 (set_obp_int): New function.
4588 (get_obp_int): New function.
4589 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4590 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4591 Avoid unused variable warnings on 'val' and use builtin_expect.
4592 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4593 __builtin_expect.
e9258400
DM
4594 (INLINE_CLONE_SYSCALL): Likewise.
4595
3bd2c723
DM
45962012-03-05 David S. Miller <davem@davemloft.net>
4597
4598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4599
bbb78d03
AS
46002012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4601
884c5db4
AS
4602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4603
bbb78d03
AS
4604 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4605 only for |x| >= 40.
4606 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4607
1c9f702a 46082012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4609
4610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4611 Replace gettimeofday with __vdso_gettimeofday.
4612
7be16f82
RM
4613 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4614 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4615 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4616
4617 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4618 time with __vdso_time.
4619
ed58a00f
JM
46202012-03-05 Joseph Myers <joseph@codesourcery.com>
4621
4622 * manual/lang.texi (size_t): Note types to which size_t may be
4623 equivalent with the GNU C Library, but do not describe when
4624 differences between them are significant.
4625
30ee4ced
AJ
46262012-03-05 Andreas Jaeger <aj@suse.de>
4627
4628 * sysdeps/i386/fpu/libm-test-ulps: Update.
4629
b7cd39e8
JM
46302012-03-05 Joseph Myers <joseph@codesourcery.com>
4631
4632 [BZ #3976]
4633 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4634 (__ieee754_pow): Save and restore rounding mode and use
4635 round-to-nearest for main computations.
4636 * math/libm-test.inc (pow_test_tonearest): New function.
4637 (pow_test_towardzero): Likewise.
4638 (pow_test_downward): Likewise.
4639 (pow_test_upward): Likewise.
4640 (main): Call the new functions.
4641 * sysdeps/i386/fpu/libm-test-ulps: Update.
4642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4643
4644 [BZ #3976]
4645 * math/libm-test.inc (cosh_test_tonearest): New function.
4646 (cosh_test_towardzero): Likewise.
4647 (cosh_test_downward): Likewise.
4648 (cosh_test_upward): Likewise.
4649 (sinh_test_tonearest): Likewise.
4650 (sinh_test_towardzero): Likewise.
4651 (sinh_test_downward): Likewise.
4652 (sinh_test_upward): Likewise.
4653 (main): Call the new functions.
4654 * sysdeps/i386/fpu/libm-test-ulps: Update.
4655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4656
6c6a98c9
TV
46572012-03-05 Tom de Vries <tom@codesourcery.com>
4658
4659 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4660 default stack guard is set in last bytes.
4661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4662
21bb2d2e 46632012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4664
21bb2d2e 4665 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4666
21bb2d2e
AJ
4667 [BZ #13656]
4668 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4669 possibly allocate from heap instead of stack.
4670 * stdio-common/bug-vfprintf-nargs.c: New file.
4671 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4672
c6922934
AS
46732012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4674
4675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4676
bc957d53
MP
46772012-03-03 Marek Polacek <polacek@redhat.com>
4678
4679 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4680 * math/math_private.h: Likewise.
4681 * stdlib/tst-strtod.c: Likewise.
4682 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4683 * sysdeps/x86_64/bits/atomic.h: Likewise.
4684
6358490d
DM
46852012-03-02 David S. Miller <davem@davemloft.net>
4686
4687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4691 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4692 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4693 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4694 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4695
01ae168d
RM
46962012-03-02 Roland McGrath <roland@hack.frob.com>
4697
d9a17c07
RM
4698 [BZ #13792]
4699 * manual/examples/README: New file, says the example source files
4700 can be used under GPL>=2.
4701 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4702 line containing just "*/".
4703 * manual/examples/add.c: Add copyright header (GPL>=2).
4704 * manual/examples/argp-ex1.c: Likewise.
4705 * manual/examples/argp-ex2.c: Likewise.
4706 * manual/examples/argp-ex3.c: Likewise.
4707 * manual/examples/argp-ex4.c: Likewise.
4708 * manual/examples/atexit.c: Likewise.
4709 * manual/examples/db.c: Likewise.
4710 * manual/examples/dir.c: Likewise.
4711 * manual/examples/dir2.c: Likewise.
4712 * manual/examples/execinfo.c: Likewise.
4713 * manual/examples/filecli.c: Likewise.
4714 * manual/examples/filesrv.c: Likewise.
4715 * manual/examples/fmtmsgexpl.c: Likewise.
4716 * manual/examples/genpass.c: Likewise.
4717 * manual/examples/inetcli.c: Likewise.
4718 * manual/examples/inetsrv.c: Likewise.
4719 * manual/examples/isockad.c: Likewise.
4720 * manual/examples/longopt.c: Likewise.
4721 * manual/examples/memopen.c: Likewise.
4722 * manual/examples/memstrm.c: Likewise.
4723 * manual/examples/mkfsock.c: Likewise.
4724 * manual/examples/mkisock.c: Likewise.
4725 * manual/examples/mygetpass.c: Likewise.
4726 * manual/examples/pipe.c: Likewise.
4727 * manual/examples/popen.c: Likewise.
4728 * manual/examples/rprintf.c: Likewise.
4729 * manual/examples/search.c: Likewise.
4730 * manual/examples/select.c: Likewise.
4731 * manual/examples/setjmp.c: Likewise.
4732 * manual/examples/sigh1.c: Likewise.
4733 * manual/examples/sigusr.c: Likewise.
4734 * manual/examples/stpcpy.c: Likewise.
4735 * manual/examples/strdupa.c: Likewise.
4736 * manual/examples/strftim.c: Likewise.
4737 * manual/examples/strncat.c: Likewise.
4738 * manual/examples/subopt.c: Likewise.
4739 * manual/examples/swapcontext.c: Likewise.
4740 * manual/examples/termios.c: Likewise.
4741 * manual/examples/testopt.c: Likewise.
4742 * manual/examples/testpass.c: Likewise.
4743 * manual/examples/timeval_subtract.c: Likewise.
4744
01ae168d
RM
4745 [BZ #13792]
4746 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4747 function to ...
4748 * manual/timeval_subtract.c.texi: ... here, new file.
4749
49efa33d
DM
47502012-03-02 David S. Miller <davem@davemloft.net>
4751
4752 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4753
28afd92d
JM
47542012-03-02 Joseph Myers <joseph@codesourcery.com>
4755
804360ed
JM
4756 [BZ #3976]
4757 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4758 (__sin): Save and restore rounding mode and use round-to-nearest
4759 for all computations.
4760 (__cos): Save and restore rounding mode and use round-to-nearest
4761 for all computations.
4762 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4763 <fenv.h>.
4764 (tan): Save and restore rounding mode and use round-to-nearest for
4765 all computations.
4766 * math/libm-test.inc (cos_test_tonearest): New function.
4767 (cos_test_towardzero): Likewise.
4768 (cos_test_downward): Likewise.
4769 (cos_test_upward): Likewise.
4770 (sin_test_tonearest): Likewise.
4771 (sin_test_towardzero): Likewise.
4772 (sin_test_downward): Likewise.
4773 (sin_test_upward): Likewise.
4774 (tan_test_tonearest): Likewise.
4775 (tan_test_towardzero): Likewise.
4776 (tan_test_downward): Likewise.
4777 (tan_test_upward): Likewise.
4778 (main): Call the new functions.
4779 * sysdeps/i386/fpu/libm-test-ulps: Update.
4780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4781
a6d06d7b
JM
4782 [BZ #10135]
4783 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4784 small n, then large n, before computing and testing k+n.
4785 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4786 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4787 Likewise.
4788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4789 Likewise.
4790 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4791 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4792 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4793 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4794 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4796 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4798 * math/libm-test.inc (scalbn_test): Add more tests.
4799 (scalbln_test): Likewise.
4800
07e12bb3
JM
4801 * manual/filesys.texi (mode_t): Describe constraints on size and
4802 signedness, not exact equivalence to a particular type.
4803 (ino_t): Likewise.
4804 (ino64_t): Likewise.
4805 (dev_t): Likewise.
4806 (nlink_t): Likewise.
4807 (blkcnt_t): Likewise.
4808 (blkcnt64_t): Likewise.
4809 * manual/llio.texi (off_t): Likewise.
4810
28afd92d
JM
4811 [BZ #3976]
4812 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4813 (__ieee754_exp): Save and restore rounding mode and use
4814 round-to-nearest for all computations.
4815 * math/libm-test.inc (exp_test_tonearest): New function.
4816 (exp_test_towardzero): Likewise.
4817 (exp_test_downward): Likewise.
4818 (exp_test_upward): Likewise.
4819 (main): Call the new functions.
4820 * sysdeps/i386/fpu/libm-test-ulps: Update.
4821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4822
b1eeb65d
CD
48232012-03-01 Chris Demetriou <cgd@google.com>
4824
4825 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4826 have predictable order.
4827
53362a4b
DM
48282012-03-01 David S. Miller <davem@davemloft.net>
4829
3c969083
DM
4830 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4831
759707de
DM
4832 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4833 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4834 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4835 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4836
dfdb8ff2
DM
4837 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4838 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4839 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4841 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4842 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4843 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4844 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4845 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4846
ead89f96
DM
4847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4848
7f66bd07
DM
4849 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4850 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4851 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4852
53362a4b
DM
4853 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4854 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4855 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4856 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4857 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4858 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4860 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4861 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4862 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4863 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4864 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4866 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4867 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4869 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4870 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4871 * sysdeps/sparc/elf/configure: Regenerated.
4872
7b1902cb
JM
48732012-03-01 Joseph Myers <joseph@codesourcery.com>
4874
bec039bc
JM
4875 * configure.in (AS, LD): Require binutils 2.20 or later.
4876 * configure: Regenerated.
4877 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4878 as required minimum version.
4879 * INSTALL: Regenerated.
4880
7b1902cb
JM
4881 [BZ #2541]
4882 [BZ #4108]
4883 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4884 before squaring exponent.
4885 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4886 bottom long double and 27 bits of top long double before squaring
4887 exponent.
4888 * math/libm-test.inc (erfc_test): Add more tests.
4889 * sysdeps/i386/fpu/libm-test-ulps: Update.
4890 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4892
f775c276
KT
48932012-03-01 Kai Tietz <ktietz@redhat.com>
4894
4895 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4896 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4897 containing bit-fields.
4898 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4899 * soft-fp/single.h (_FP_UNION_S): Likewise.
4900 * soft-fp/double.h (_FP_UNION_D): Likewise.
4901
5b8a4d4a
JM
49022012-02-29 Joseph Myers <joseph@codesourcery.com>
4903
0bab47b6
JM
4904 [BZ #13786]
4905 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4906 not include ../strcmp.S.
4907 [USE_AS_STRNCASECMP_L]: Likewise.
4908 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4909 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4910 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4911 (__strncasecmp_l_ia32): Define as alias to
4912 __strncasecmp_l_nonascii.
4913
0fcad3e2
JM
4914 [BZ #5794]
4915 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4916 * sysdeps/i386/fpu/libm-test-ulps: Update.
4917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4918
5b8a4d4a
JM
4919 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4921
8fdceb2e
JL
49222012-02-29 Jeff Law <law@redhat.com>
4923
4924 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4925 out of bounds read.
4926
1f393a11
MP
49272012-02-29 Marek Polacek <polacek@redhat.com>
4928
4929 [BZ #13706]
4930 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4931 * elf/Makefile: Add rules to run tst-unused-dep.out.
4932
8847f037
DM
49332012-02-28 David S. Miller <davem@davemloft.net>
4934
4935 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4936 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4937 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4938 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4939 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4940 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4941
169d7f11
JM
49422012-02-29 Joseph Myers <joseph@codesourcery.com>
4943
4944 * math/libm-test.inc (llround_test): Move one test from
4945 lround_test. Use TEST_f_L in moved test.
4946 (lround_test): Move misplaced test to llround_test. Add testcase
4947 from bug 2561.
4948
39adf059
UD
49492012-02-28 Ulrich Drepper <drepper@gmail.com>
4950
4951 * sysdeps/x86_64/fpu/e_expf.S: New file.
4952 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4953
71b5d1c5
SB
49542012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4955
4956 [BZ #13637]
4957 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4958 of remain_len that may cause incomplete multi-byte character and
4959 false match.
4960 * posix/bug-regex33.c: New file.
4961 * posix/Makefile (tests): Add bug-regex33.
4962
1f77f049
JM
49632012-02-28 Joseph Myers <joseph@codesourcery.com>
4964
4965 * manual/macros.texi: New file.
4966 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4967 * manual/libc.texinfo: Include macros.texi.
4968 * manual/creatute.texi: Likewise.
4969 * manual/install.texi: Likewise.
4970 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4971 @glibcadj{} in references to the GNU C Library.
4972 * manual/charset.texi: Likewise.
4973 * manual/conf.texi: Likewise.
4974 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4975 when not using those macros.
4976 * manual/creature.texi: Likewise.
4977 * manual/crypt.texi: Likewise.
4978 * manual/errno.texi: Likewise.
4979 * manual/filesys.texi: Likewise.
4980 * manual/header.texi: Likewise.
4981 * manual/install.texi: Likewise.
4982 * manual/intro.texi: Likewise.
4983 * manual/io.texi: Likewise.
4984 * manual/job.texi: Likewise.
4985 * manual/lang.texi: Likewise.
4986 * manual/libc.texiinfo: Likewise.
4987 * manual/llio.texi: Likewise.
4988 * manual/locale.texi: Likewise.
4989 * manual/maint.texi: Likewise.
4990 * manual/math.texi: Likewise.
4991 * manual/memory.texi: Likewise.
4992 * manual/message.texi: Likewise.
4993 * manual/nss.texi: Likewise.
4994 * manual/pattern.texi: Likewise.
4995 * manual/process.texi: Likewise.
4996 * manual/resource.texi: Likewise.
4997 * manual/search.texi: Likewise.
4998 * manual/setjmp.texi: Likewise.
4999 * manual/signal.texi: Likewise.
5000 * manual/socket.texi: Likewise.
5001 * manual/startup.texi: Likewise.
5002 * manual/stdio.texi: Likewise.
5003 * manual/string.texi: Likewise.
5004 * manual/sysinfo.texi: Likewise.
5005 * manual/syslog.texi: Likewise.
5006 * manual/terminal.texi: Likewise.
5007 * manual/time.texi: Likewise.
5008 * manual/users.texi: Likewise.
5009 * INSTALL: Regenerated.
5010 * NOTES: Regenerated.
d40c5d54 5011 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5012
450bf206
AS
50132012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5014
5015 * include/dirent.h: Include <dirstream.h> before
5016 <dirent/dirent.h>.
5017
741a235b
DM
50182012-02-28 David S. Miller <davem@davemloft.net>
5019
5020 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5021 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5022 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5023 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5024
d6b5aa58
DM
50252012-02-27 David S. Miller <davem@davemloft.net>
5026
1aff59a3
DM
5027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5029 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5030 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5031
d6b5aa58
DM
5032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5033 frame pointer instead of stack pointer relative arg slot.
5034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5035 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5036 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5037
433f48bf
CD
50382012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5039
5040 [BZ #3992]
5041 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5042
d674b76d
DM
50432012-02-27 David S. Miller <davem@davemloft.net>
5044
5045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5049 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5050 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5051 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5052 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5053
0e7727f7
JM
50542012-02-27 Joseph Myers <joseph@codesourcery.com>
5055
5056 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5057 later. Allow versions 5-9.
43be4ca2 5058 * configure: Regenerated.
0e7727f7
JM
5059 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5060 required minimum version and 4.6 as recommended version. Do not
5061 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5062 * INSTALL: Regenerated.
0e7727f7 5063
a78bc654
DM
50642012-02-27 David S. Miller <davem@davemloft.net>
5065
428d5830
DM
5066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5070 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5071 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5072 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5073 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5074
a78bc654
DM
5075 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5076 manipulate bits before adding and subtracting TWO112[sx].
5077 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5078
4579f81c
RM
50792012-02-27 Roland McGrath <roland@hack.frob.com>
5080
36c8acb4
RM
5081 [BZ #13775]
5082 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5083 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5084 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5085 being in POSIX, because they are in 1003.1-2008.
5086
84ad622b
RM
5087 * rt/tst-aio.c: Include <fcntl.h>.
5088 * rt/tst-aio7.c: Likewise.
5089 * rt/tst-aio64.c: Likewise.
5090
4579f81c
RM
5091 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5092
abd923db
JM
50932012-02-27 Joseph Myers <joseph@codesourcery.com>
5094
5095 * manual/install.texi (--with-headers): Describe headers as
5096 interface headers, not private headers.
5097 (Specific advice for GNU/Linux systems): Describe use of headers
5098 from "make headers_install", not private headers from older
5099 kernels.
43be4ca2 5100 * INSTALL: Regenerated.
abd923db
JM
5101 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5102 Change to 2.6.19.
5103 * sysdeps/unix/sysv/linux/configure: Regenerated.
5104
6664049b
JM
5105 * manual/llio.texi (fclean): Remove documentation.
5106
bb8b6697
JM
5107 * manual/Makefile (libc-texi-generated): New variable. Include
5108 version.texi.
5109 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5110 $(libc-texi-generated), not duplicated list of files.
5111 (version.texi, stamp-version): New rules.
5112 (realclean): Remove $(libc-texi-generated), not individual files
5113 from that list. Do not remove dir-add.texinfo.
5114 * manual/libc.texinfo: Comment out uses of edition numbers and
5115 references to printed manual. Remove last-updated dates.
5116 (EDITION): Comment out.
5117 (ISBN): Likewise.
5118 (VERSION, UPDATED): Remove.
5119 (version.texi): Include.
5120
12e5c3b9
AS
51212012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5122
5123 * sysdeps/posix/spawni.c: Include <signal.h>.
5124 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5125 * sysdeps/pthread/aio_fsync.c: Likewise.
5126
4efeffc1 51272012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5128
ba63ba08
UD
5129 * conform/Makefile (tests): Run only when not cross-compiling and
5130 when fast-check is not defined.
5131
d94a4670
UD
5132 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5133 * conform/data/limits.h-data: Fixes for POSIX2008.
5134 * conform/run-conformtest.sh: Run all tests.
5135 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5136 headers.
5137 * include/bits/dlfcn.h: Likewise.
5138 * include/langinfo.h: Likewise.
5139 * include/monetary.h: Likewise.
5140 * include/sys/poll.h: Likewise.
5141
5142 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5143 for __USE_GNU.
5144 * posix/spawn.h: Define __need_sigset_t.
5145 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5146 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5147 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5148 to get sigevent_t only.
5149 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5150 only for __USE_GNU.
5151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5152 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5153 process_vm_writev only for __USE_GNU.
5154 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5155
5156 * conform/Makefile: For now ignore errors from run-conformtest.
5157 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5158 POSIX to avoid namespace pollution. Don't prepend headers.
5159 * conform/data/aio.h-data: Fixes for POSIX testing.
5160 * conform/data/fcntl.h-data: Likewise.
5161 * conform/data/glob.h-data: Likewise.
5162 * conform/data/grp.h-data: Likewise.
5163 * conform/data/pthread.h-data: Likewise.
5164 * conform/data/pwd.h-data: Likewise.
5165 * conform/data/signal.h-data: Likewise.
5166 * conform/data/spawn.h-data: Likewise.
5167 * conform/data/stdio.h-data: Likewise.
5168 * conform/data/stdlib.h-data: Likewise.
5169 * conform/data/stropts.h-data: Likewise.
5170 * conform/data/sys/mman.h-data: Likewise.
5171 * conform/data/sys/stat.h-data: Likewise.
5172 * conform/data/sys/types.h-data: Likewise.
5173 * conform/data/sys/wait.h-data: Likewise.
5174 * conform/data/time.h-data: Likewise.
5175 * conform/data/unistd.h-data: Likewise.
5176 * conform/data/utime.h-data: Likewise.
5177
5178 * io/sys/stat.h: fchmod was always in POSIX.
5179 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5180 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5181 * rt/aio.h: Define __need_timespec before including <time.h>.
5182 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5183 struct. Add forward declaration of pthread_attr_t and use it in
5184 sigevent.
5185 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5186 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5187 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5188 always remove CLK_TCK definition.
5189
c20105c3
AS
51902012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5191
5192 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5193
7a270350
UD
51942012-02-25 Ulrich Drepper <drepper@gmail.com>
5195
31341567
UD
5196 * conform/run-conformtest.sh: New file.
5197 * conform/Makefile: Run run-conformtest for tests.
5198 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5199 support.
5200
5201 * conform/data/uchar.h-data: New file.
5202 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5203 * conform/data/arpa/inet.h-data: Likewise.
5204 * conform/data/assert.h-data: Likewise.
5205 * conform/data/complex.h-data: Likewise.
5206 * conform/data/cpio.h-data: Likewise.
5207 * conform/data/ctype.h-data: Likewise.
5208 * conform/data/dirent.h-data: Likewise.
5209 * conform/data/dlfcn.h-data: Likewise.
5210 * conform/data/errno.h-data: Likewise.
5211 * conform/data/fcntl.h-data: Likewise.
5212 * conform/data/float.h-data: Likewise.
5213 * conform/data/fmtmsg.h-data: Likewise.
5214 * conform/data/fnmatch.h-data: Likewise.
5215 * conform/data/ftw.h-data: Likewise.
5216 * conform/data/glob.h-data: Likewise.
5217 * conform/data/grp.h-data: Likewise.
5218 * conform/data/iconv.h-data: Likewise.
5219 * conform/data/inttypes.h-data: Likewise.
5220 * conform/data/langinfo.h-data: Likewise.
5221 * conform/data/libgen.h-data: Likewise.
5222 * conform/data/limits.h-data: Likewise.
5223 * conform/data/locale.h-data: Likewise.
5224 * conform/data/math.h-data: Likewise.
5225 * conform/data/monetary.h-data: Likewise.
5226 * conform/data/mqueue.h-data: Likewise.
5227 * conform/data/ndbm.h-data: Likewise.
5228 * conform/data/net/if.h-data: Likewise.
5229 * conform/data/netdb.h-data: Likewise.
5230 * conform/data/netinet/in.h-data: Likewise.
5231 * conform/data/nl_types.h-data: Likewise.
5232 * conform/data/poll.h-data: Likewise.
5233 * conform/data/pthread.h-data: Likewise.
5234 * conform/data/pwd.h-data: Likewise.
5235 * conform/data/regex.h-data: Likewise.
5236 * conform/data/sched.h-data: Likewise.
5237 * conform/data/search.h-data: Likewise.
5238 * conform/data/semaphore.h-data: Likewise.
5239 * conform/data/setjmp.h-data: Likewise.
5240 * conform/data/signal.h-data: Likewise.
5241 * conform/data/spawn.h-data: Likewise.
5242 * conform/data/stdarg.h-data: Likewise.
5243 * conform/data/stdio.h-data: Likewise.
5244 * conform/data/stdlib.h-data: Likewise.
5245 * conform/data/string.h-data: Likewise.
5246 * conform/data/strings.h-data: Likewise.
5247 * conform/data/stropts.h-data: Likewise.
5248 * conform/data/sys/ipc.h-data: Likewise.
5249 * conform/data/sys/mman.h-data: Likewise.
5250 * conform/data/sys/msg.h-data: Likewise.
5251 * conform/data/sys/resource.h-data: Likewise.
5252 * conform/data/sys/select.h-data: Likewise.
5253 * conform/data/sys/sem.h-data: Likewise.
5254 * conform/data/sys/shm.h-data: Likewise.
5255 * conform/data/sys/socket.h-data: Likewise.
5256 * conform/data/sys/stat.h-data: Likewise.
5257 * conform/data/sys/statvfs.h-data: Likewise.
5258 * conform/data/sys/time.h-data: Likewise.
5259 * conform/data/sys/timeb.h-data: Likewise.
5260 * conform/data/sys/times.h-data: Likewise.
5261 * conform/data/sys/types.h-data: Likewise.
5262 * conform/data/sys/uio.h-data: Likewise.
5263 * conform/data/sys/un.h-data: Likewise.
5264 * conform/data/sys/utsname.h-data: Likewise.
5265 * conform/data/sys/wait.h-data: Likewise.
5266 * conform/data/syslog.h-data: Likewise.
5267 * conform/data/tar.h-data: Likewise.
5268 * conform/data/termios.h-data: Likewise.
5269 * conform/data/utime.h-data: Likewise.
5270 * conform/data/utmpx.h-data: Likewise.
5271 * conform/data/varargs.h-data: Likewise.
5272 * conform/data/wchar.h-data: Likewise.
5273 * conform/data/wctype.h-data: Likewise.
5274 * conform/data/wordexp.h-data: Likewise.
5275
5276 * include/stropts.h: New file.
5277 * include/uchar.h: New file.
5278 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5279 * include/assert.h: Likewise.
5280 * include/ctype.h: Likewise.
5281 * include/dirent.h: Likewise.
5282 * include/dlfcn.h: Likewise.
5283 * include/fcntl.h: Likewise.
5284 * include/fnmatch.h: Likewise.
5285 * include/glob.h: Likewise.
5286 * include/grp.h: Likewise.
5287 * include/libio.h: Likewise.
5288 * include/locale.h: Likewise.
5289 * include/math.h: Likewise.
5290 * include/net/if.h: Likewise.
5291 * include/netdb.h: Likewise.
5292 * include/netinet/in.h: Likewise.
5293 * include/pthread.h: Likewise.
5294 * include/pwd.h: Likewise.
5295 * include/regex.h: Likewise.
5296 * include/sched.h: Likewise.
5297 * include/search.h: Likewise.
5298 * include/setjmp.h: Likewise.
5299 * include/signal.h: Likewise.
5300 * include/stdio.h: Likewise.
5301 * include/stdlib.h: Likewise.
5302 * include/string.h: Likewise.
5303 * include/sys/cdefs.h: Likewise.
5304 * include/sys/mman.h: Likewise.
5305 * include/sys/msg.h: Likewise.
5306 * include/sys/resource.h: Likewise.
5307 * include/sys/select.h: Likewise.
5308 * include/sys/socket.h: Likewise.
5309 * include/sys/stat.h: Likewise.
5310 * include/sys/statvfs.h: Likewise.
5311 * include/sys/time.h: Likewise.
5312 * include/sys/times.h: Likewise.
5313 * include/sys/uio.h: Likewise.
5314 * include/sys/utsname.h: Likewise.
5315 * include/sys/wait.h: Likewise.
5316 * include/termios.h: Likewise.
5317 * include/time.h: Likewise.
5318 * include/ulimit.h: Likewise.
5319 * include/unistd.h: Likewise.
5320 * include/utime.h: Likewise.
5321 * include/wchar.h: Likewise.
5322 * include/wctype.h: Likewise.
5323 * include/wordexp.h: Likewise.
5324
5325 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5326
7a270350
UD
5327 * time/time.h: TIME_UTC must be a macro.
5328 Make timespec_get available for ISO C11 only as well.
5329
7724defc
UD
53302012-02-24 Ulrich Drepper <drepper@gmail.com>
5331
5332 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5333 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5334
6b1d1d46
JM
53352012-02-24 Joseph Myers <joseph@codesourcery.com>
5336
5337 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5338
0f8bbd69
JM
53392012-02-24 Joseph Myers <joseph@codesourcery.com>
5340
5341 * manual/texinfo.tex: Update to version 2012-01-19.16.
5342
66ab80bc
JM
53432012-02-24 Joseph Myers <joseph@codesourcery.com>
5344
5345 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5346
74981cc5
RM
53472012-02-24 Roland McGrath <roland@hack.frob.com>
5348
ee968201
RM
5349 [BZ #13738]
5350 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5351 * manual/fdl-1.3.texi: New file.
5352 * manual/fdl-1.1.texi: File removed.
5353
74981cc5
RM
5354 [BZ #13738]
5355 * manual/libc.texinfo (FDL_VERSION): New @set.
5356 Use it for mention of FDL in cover text.
5357 (Documentation License): Use it in @include file name.
5358
7bb764bc
JM
53592012-02-22 Joseph Myers <joseph@codesourcery.com>
5360 Roland McGrath <roland@hack.frob.com>
5361
5362 [BZ #5461]
5363 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5364 not LONG_LONG_MAX and LONG_LONG_MIN.
5365 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5366 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5367 name.
5368 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5369
6cbeae47
JM
53702012-02-22 Joseph Myers <joseph@codesourcery.com>
5371
5372 [BZ #2547]
5373 [BZ #11365]
5374 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5375 manipulate bits before adding and subtracting TWO23[sx].
5376 * math/libm-test.inc (nearbyint_test): Add more tests.
5377
fe45ce09
JM
53782012-02-22 Joseph Myers <joseph@codesourcery.com>
5379
5380 [BZ #2548]
5381 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5382 bits before adding and subtracting TWO23[sx].
5383 * math/libm-test.inc (rint_test): Add more tests.
5384 (rint_test_tonearest): Likewise.
5385 (rint_test_towardzero): Likewise.
5386 (rint_test_downward): Likewise.
5387 (rint_test_upward: Likewise.
5388
ff3b3d82
JM
53892012-02-22 Joseph Myers <joseph@codesourcery.com>
5390
5391 [BZ #10110]
5392 * include/stdc-predef.h: New file. Extracted from features.h.
5393 * include/features.h: Include stdc-predef.h.
5394 * Makefile (headers): Add stdc-predef.h.
5395 * CONFORMANCE (Compiler limitations): Update.
5396
ef0aab35
JM
53972012-02-22 Joseph Myers <joseph@codesourcery.com>
5398
5399 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5400
58639409
DM
54012012-02-21 David S. Miller <davem@davemloft.net>
5402
5403 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5404 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5405
c0e70b25
DM
54062012-02-20 David S. Miller <davem@davemloft.net>
5407
5408 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5409 using a normal save/restore sequence, rather than allocating a
5410 dummy stack frame just to store a frame pointer and restore.
5411 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5412
fb06851d
JM
54132012-02-21 Joseph Myers <joseph@codesourcery.com>
5414
5415 * manual/install.texi: Fix stray word in line-wrapped comment.
5416
7a8b71c3
DM
54172012-02-20 David S. Miller <davem@davemloft.net>
5418
d510c123
DM
5419 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5420 both binutils and gcc support GOTDATA.
5421
0722d7c2
DM
5422 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5423 "rd %pc" in the PIC register setup sequences.
5424
3d2b3019
DM
5425 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5426 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5427 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5428 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5429 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5430 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5431 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5432 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5434 (SYSCALL_ERROR_HANDLER): Likewise.
5435 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5436 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5438 (SYSCALL_ERROR_HANDLER): Likewise.
5439
c80098a9
DM
5440 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5441 (HAVE_GCC_GOTDATA): New.
5442 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5443 relocation support in both binutils and gcc.
5444 * sysdeps/sparc/elf/configure: Regenerate.
5445
3a2545a0
DM
5446 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5447 * sysdeps/sparc/sparc32/elf/configure: Delete.
5448 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5449 * sysdeps/sparc/sparc64/elf/configure: Delete.
5450 * sysdeps/sparc/elf/configure.in: New file.
5451 * sysdeps/sparc/elf/configure: Generate.
5452
7a8b71c3
DM
5453 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5454 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5455 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5456 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5457 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5458
f1e86fca
JM
54592012-02-21 Joseph Myers <joseph@codesourcery.com>
5460
5461 * manual/install.texi: Do not mention specific glibc version
5462 numbers.
5463 * manual/libc.texinfo (VERSION, UPDATED): Update.
5464 (@copying): Use @copyright{} and range of years.
5465
0e7dfaef
JM
54662012-02-21 Joseph Myers <joseph@codesourcery.com>
5467
5468 [BZ #13695]
5469 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5470 [crti.S not in sysdirs] (generated): Do not append.
5471 [crti.S not in sysdirs] (omit-deps): Likewise.
5472 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5473 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5474 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5475 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5476 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5477 Likewise.
5478 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5479 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5480 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5481 * csu/defs.awk: Remove file.
5482 * sysdeps/generic/initfini.c: Likewise.
5483 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5484 variable.
5485 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5486 Likewise.
5487
599af3ca
JM
54882012-02-20 Joseph Myers <joseph@codesourcery.com>
5489
5490 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5491 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5492 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5493 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5494 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5495 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5496 <bits/epoll.h>.
5497 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5498 (__EPOLL_PACKED): Define to empty if not defined by
5499 <bits/epoll.h>.
5500 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5502 bits/epoll.h.
5503
0e499750
JM
55042012-02-20 Joseph Myers <joseph@codesourcery.com>
5505
5506 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5507 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5508 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5509 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5510 <bits/timerfd.h>.
5511 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5513 bits/timerfd.h.
5514
5ad91f6e
JM
55152012-02-20 Joseph Myers <joseph@codesourcery.com>
5516
5517 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5518 in C locale.
5519 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5520 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5521 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5523
06b99b02
AJ
55242012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5525
5526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5527 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5528
7638c0fd
AS
55292012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5530
5531 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5532 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5533 defined.
5534 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5535 Likewise.
5536 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5537 entry for 2.16.
5538
92221550
AJ
55392012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5540
5541 * math/w_acos.c: Use non-signaling floating-point comparisons.
5542 * math/w_acosf.c: Likewise.
5543 * math/w_acosh.c: Likewise.
5544 * math/w_acoshf.c: Likewise.
5545 * math/w_acoshl.c: Likewise.
5546 * math/w_acosl.c: Likewise.
5547 * math/w_asin.c: Likewise.
5548 * math/w_asinf.c: Likewise.
5549 * math/w_asinl.c: Likewise.
5550 * math/w_atanh.c: Likewise.
5551 * math/w_atanhf.c: Likewise.
5552 * math/w_atanhl.c: Likewise.
5553 * math/w_exp2.c: Likewise.
5554 * math/w_exp2f.c: Likewise.
5555 * math/w_exp2l.c: Likewise.
5556 * math/w_j0.c: Likewise.
5557 * math/w_j0f.c: Likewise.
5558 * math/w_j0l.c: Likewise.
5559 * math/w_j1.c: Likewise.
5560 * math/w_j1f.c: Likewise.
5561 * math/w_j1l.c: Likewise.
5562 * math/w_jn.c: Likewise.
5563 * math/w_jnf.c: Likewise.
5564 * math/w_log.c: Likewise.
5565 * math/w_log10.c: Likewise.
5566 * math/w_log10f.c: Likewise.
5567 * math/w_log10l.c: Likewise.
5568 * math/w_log2.c: Likewise.
5569 * math/w_log2f.c: Likewise.
5570 * math/w_log2l.c: Likewise.
5571 * math/w_logf.c: Likewise.
5572 * math/w_logl.c: Likewise.
5573 * math/w_sqrt.c: Likewise.
5574 * math/w_sqrtf.c: Likewise.
5575 * math/w_sqrtl.c: Likewise.
5576 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5577 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5578 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5579 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5580 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5581
ebaf36eb
JM
55822012-02-19 Joseph Myers <joseph@codesourcery.com>
5583
5584 [BZ #9739]
5585 * manual/string.texi (strnlen): Use correct parameter name in
5586 equivalent expression.
5587
71c254a6
JM
55882012-02-19 Joseph Myers <joseph@codesourcery.com>
5589
5590 [BZ #11174]
5591 * manual/users.texi (seteuid): Consistently use neweuid for
5592 argument name.
5593
16d2c631
JM
55942012-02-19 Joseph Myers <joseph@codesourcery.com>
5595
5596 [BZ #13704]
5597 * manual/nss.texi (Services in the NSS configuration): Correct
5598 list of services in example configuration file.
5599
cd837b09
NB
56002012-02-19 Nick Bowler <nbowler@draconx.ca>
5601
5602 [BZ #11322]
5603 * manual/arith.texi: Remove statements about negative zero
5604 behaving identically to zero.
5605
02c4bbad
JM
56062012-02-18 Joseph Myers <joseph@codesourcery.com>
5607
5608 [BZ #5993]
5609 * manual/install.texi: Do not document upgrading from libc5.
5610
366842e7
JM
56112012-02-18 Joseph Myers <joseph@codesourcery.com>
5612
5613 [BZ #4596]
5614 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5615
dd54084d
DM
56162012-02-18 David S. Miller <davem@davemloft.net>
5617
5618 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5619 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5620 %o7 across the call.
5621 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5622 instead.
5623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5624 SETUP_PIC_REG_LEAF.
5625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5626 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5627 * sysdeps/sparc/crtn.S: Likewise.
5628
2bcc53a3
UD
56292012-02-17 Ulrich Drepper <drepper@gmail.com>
5630
5631 * aout/Makefile: Remove.
5632
09c093b5
RK
56332012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5634
5635 [BZ #13058]
5636 * manual/examples/argp-ex1.c (main): Format definition in GNU
5637 style.
5638 * manual/examples/argp-ex2.c (main): Likewise.
5639 * manual/examples/argp-ex3.c (main): Likewise.
5640 * manual/examples/argp-ex4.c (main): Likewise.
5641 * manual/examples/longopt.c (main): Use new-style prototype
5642 definition.
5643 * manual/examples/strncat.c (main): Specify return type and use
5644 (void) for arguments.
5645 * manual/examples/subopt.c (main): Use char **argv argument.
5646
2ee633a2
JM
56472012-02-17 Joseph Myers <joseph@codesourcery.com>
5648
5649 [BZ #5077]
5650 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5651 rounding modes.
5652
0520adde
FB
56532012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5654
5655 [BZ #6907]
5656 * manual/string.texi (strchr): Change when strchrnul is
5657 recommended.
5658
3f4081cd
DGM
56592012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5660
5661 [BZ #174]
5662 * manual/locale.texi (setlocale): Document LOCPATH.
5663
d1b10e78
JM
56642012-02-17 Joseph Myers <joseph@codesourcery.com>
5665
5666 [BZ #10210]
5667 * manual/process.texi (execle): Move @dots{} before last argument.
5668
79c6869c
PB
56692012-02-17 Paul Bolle <pebolle@tiscali.nl>
5670
5671 [BZ #12047]
5672 * manual/charset.texi (Generic Charset Conversion): Fix typo
5673 (LC_TYPE -> LC_CTYPE).
5674
cc6e48bc
NB
56752012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5676
5677 [BZ #5805]
5678 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5679 (scalbnf): Likewise.
5680 (scalbnl): Likewise.
5681 (scalbln): Likewise.
5682 (scalblnf): Likewise.
5683 (scalblnl): Likewise.
5684 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5685 (vwarnx): Likewise.
5686 (verr): Likewise.
5687 (verrx): Likewise.
5688 * manual/filesys.texi (telldir): Use braces around return type.
5689 * manual/llio.texi (mmap): Add space after comma.
5690 (mmap64): Likewise.
5691 * manual/math.texi (jn): Use @var{} on parameter names.
5692 (jnf): Likewise.
5693 (jnl): Likewise.
5694 (yn): Likewise.
5695 (ynf): Likewise.
5696 (ynl): Likewise.
5697 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5698 line.
5699 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5700 "...".
5701 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5702 (sched_get_priority_max): Likewise.
5703 * manual/signal.texi (sigvec): Add space after comma.
5704 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5705 names.
5706 (if_indextoname): Likewise.
5707 (if_freenameindex): Likewise.
5708 (sendto): Use ',' instead of '.' in prototype.
5709 * manual/startup.texi (syscall): Use @dots{} instead of literal
5710 "...".
5711 * manual/stdio.texi (__fpending): Separate initial words of
5712 paragraph from @deftypefun line.
5713 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5714 "...".
5715 (vsyslog): Use @var{} on parameter names.
5716 * manual/terminal.texi (stty): Use @var{} on parameter names.
5717 * manual/users.texi (getutmp): Use @var{} on parameter names.
5718 (getutmpx): Likewise.
5719
5b23062f
JM
57202012-02-17 Joseph Myers <joseph@codesourcery.com>
5721
5722 [BZ #6884]
5723 * manual/stdio.texi (fopen): Fix typos in description of
5724 ",ccs=STRING".
5725
8dee4833
AJ
57262012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5727
5728 [BZ #4026]
5729 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5730 get clock_id definition.
5731
9078ce93
TS
57322012-02-17 Thomas Schwinge <thomas@schwinge.name>
5733
5734 [BZ #4822]
5735 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5736 (madvise): Cast every argument to void on its own.
5737
3835c55f
JM
57382012-02-17 Joseph Myers <joseph@codesourcery.com>
5739
5740 [BZ #9902]
5741 * manual/startup.texi (Exit Status): Fix typo.
5742
35c47e37
JM
57432012-02-17 Joseph Myers <joseph@codesourcery.com>
5744
5745 [BZ #10140]
5746 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5747 * manual/examples/argp-ex2.c: Likewise.
5748 * manual/examples/argp-ex3.c: Likewise.
5749
e3b69ca7
RH
57502012-02-16 Richard Henderson <rth@redhat.com>
5751
5752 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5753 * sysdeps/s390/s390-32/initfini.c: Remove.
5754 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5755 * sysdeps/s390/s390-64/initfini.c: Remove.
5756
df83af67
KK
57572012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5758
5759 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5760 compiler output for sysdeps/generic/initfini.c.
5761 * sysdeps/sh/elf/initfini.c: Remove file.
5762
f63f3380
DM
57632012-02-16 David S. Miller <davem@davemloft.net>
5764
fb59b3a4
DM
5765 [BZ #11494]
5766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5767
f63f3380
DM
5768 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5769 * sysdeps/sparc/crti.S: New file.
5770 * sysdeps/sparc/crtn.S: New file.
5771 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5772 * sysdeps/sparc/sparc64/Makefile: Likewise.
5773
df6a4a4a
MF
57742012-02-15 Mike Frysinger <vapier@gentoo.org>
5775
6dd8f3dc 5776 [BZ #3335]
df6a4a4a
MF
5777 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5778
1cac7236
RM
57792012-02-15 Roland McGrath <roland@hack.frob.com>
5780
d2c736f8
RM
5781 [BZ #4822]
5782 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5783
1cac7236
RM
5784 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5785 (write, read, close): Likewise.
5786 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5787
8e475601
JM
57882012-02-15 Joseph Myers <joseph@codesourcery.com>
5789
5790 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5791 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5792 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5793 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5794 <bits/signalfd.h>.
5795 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5797 bits/signalfd.h.
5798
ed656b40
MP
57992012-02-14 Marek Polacek <polacek@redhat.com>
5800
5801 * sysdeps/x86_64/crti.S: New file.
5802 * sysdeps/x86_64/crtn.S: New file.
5803 * sysdeps/x86_64/elf/initfini.c: Remove file.
5804
2a979d3a
JM
58052012-02-13 Joseph Myers <joseph@codesourcery.com>
5806
5807 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5808 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5809 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5810 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5811 <bits/inotify.h>.
5812 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5814 bits/inotify.h.
5815
2a418ac3
JM
58162012-02-13 Joseph Myers <joseph@codesourcery.com>
5817
5818 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5819 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5820 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5821 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5822 <bits/eventfd.h>.
5823 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5825 bits/eventfd.h.
5826
fb779be7
TS
58272012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5828
e19e83c5
RM
5829 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5830 __feraiseexcept instead of feraiseexcept.
7c35ffed 5831
fb779be7
TS
5832 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5833 nanosleep invocations.
5834 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5835 strings, and add error checking for a nanosleep invocations.
5836
59ba27a6
PE
58372012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5838
5839 Replace FSF snail mail address with URLs, as per GNU coding standards.
5840 Most of the snail mail addresses were wrong anyway, and omitting
5841 them makes the source code easier to maintain. Almost all of the
5842 changes are to license notices and to locale LC_IDENTIFICATION
5843 addresses, except for this one:
5844 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5845 not its snail mail address.
5846
57b957eb
RH
58472012-02-09 Richard Henderson <rth@twiddle.net>
5848
af850b1c
RH
5849 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5850 of kernel-features.h.
5851
57b957eb
RH
5852 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5853
6b73181a
MP
58542012-02-08 Marek Polacek <polacek@redhat.com>
5855
5856 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5857 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5858 * sysdeps/gnu/_G_config.h: Likewise.
5859 * sysdeps/generic/_G_config.h: Likewise.
5860
26ecc33a
AS
58612012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5862
6c6dbc63
AS
5863 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5864 tests.
5865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5866
e216c012
AS
5867 * sysdeps/powerpc/powerpc32/crti.S: New file.
5868 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5869 * sysdeps/powerpc/powerpc64/crti.S: New file.
5870 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5871
26ecc33a
AS
5872 * Makeconfig (have-initfini): Don't set.
5873 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5874 * configure.in (nopic_initfini): Don't substitute.
5875 * config.h.in (HAVE_INITFINI): Don't #undef.
5876 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5877 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5878
3add8e13
JM
58792012-02-08 Joseph Myers <joseph@codesourcery.com>
5880
5881 Support crti.S and crtn.S provided directly by architectures.
5882 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5883 [crti.S in sysdirs] (omit-deps): Likewise.
5884 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5885 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5886 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5887 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5888 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5889 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5890 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5891 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5892 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5893 compiler output for sysdeps/generic/initfini.c.
5894 * sysdeps/i386/elf/Makefile: Remove file.
5895 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5896
a22f12b4
MP
58972012-02-07 Marek Polacek <polacek@redhat.com>
5898
5899 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5900 * sysdeps/gnu/_G_config.h: Likewise.
5901 * sysdeps/mach/hurd/_G_config.h: Likewise.
5902
148cf100
MP
59032012-02-07 Marek Polacek <polacek@redhat.com>
5904
5905 * math/Makefile (tests): Add tst-CMPLX2.
5906 * math/tst-CMPLX2.c: New file.
5907
cfdc0dd7
AS
59082012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5909
84ba42c4
AS
5910 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5911
cfdc0dd7
AS
5912 * math/libm-test.inc (jn_test): Add missing L suffix.
5913
622c86f4
MP
59142012-02-06 Marek Polacek <polacek@redhat.com>
5915
5916 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5917 * sysdeps/i386/fpu/e_powf.S: Likewise.
5918 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5919 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5920 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5921 * sysdeps/i386/fpu/e_pow.S: Likewise.
5922 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5923 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5924 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5925 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5926 * sysdeps/i386/fpu/e_log2.S: Likewise.
5927 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5928 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5929 * sysdeps/i386/fpu/e_powl.S: Likewise.
5930 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5931 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5932 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5933 * sysdeps/i386/fpu/e_logl.S: Likewise.
5934 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5935 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5936 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5937 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5938 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5939 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5940 * sysdeps/i386/fpu/e_log.S: Likewise.
5941 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5942 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5943 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5944 * sysdeps/i386/fpu/e_logf.S: Likewise.
5945 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5946 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5947 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5948 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5949 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5950 * sysdeps/i386/fpu/e_log10.S: Likewise.
5951 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5952 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5953 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5954 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5955 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5956 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5957 * sysdeps/i386/asm-syntax.h: Likewise.
5958 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5959 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5960 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5961 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5962 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5963 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5964 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5965 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5966 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5967 * sysdeps/powerpc/sysdep.h: Likewise.
5968 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5969 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5970
d4a54ac6
JM
59712012-02-06 Joseph Myers <joseph@codesourcery.com>
5972
5973 [BZ #411]
5974 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5975
314054ea
JM
59762012-02-06 Joseph Myers <joseph@codesourcery.com>
5977
5978 * sysdeps/i386/sysdep.h: Include <features.h>.
5979 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5980 version.
5981
d8e0ca50
JM
59822012-02-05 Joseph Myers <joseph@codesourcery.com>
5983
5984 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5985 Define.
5986 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5987 LOAD_PIC_REG_STR.
5988
b1da7dd9
JM
59892012-02-03 Joseph Myers <joseph@codesourcery.com>
5990
5991 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5992 (SETUP_PIC_REG): Use GET_PC_THUNK.
5993 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5994 macro.
5995
9a1d9254
JM
59962012-02-03 Joseph Myers <joseph@codesourcery.com>
5997
5998 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5999 for non-PIC compilation.
6000 (SETUP_PIC_REG): Add .p2align directive.
6001 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6002 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6003 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6004 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6005 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6006 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6007 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6008 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6009 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6010 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6011 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6012 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6013 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6014 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6015 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6016 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6017 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6018 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6019 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6020 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6021 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6022 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6023 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6024 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6025 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6027 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6028 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6029 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6030 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6031 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6032 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6033 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6034 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6035 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6036 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6037 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6038 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6039 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6040 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6041 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6042
65dc3b75
JM
60432012-02-03 Joseph Myers <joseph@codesourcery.com>
6044
6045 * math/tst-CMPLX.c: Include <stdio.h>.
6046
d55bf177
JM
60472012-01-31 Joseph Myers <joseph@codesourcery.com>
6048
6049 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6050 float.
6051 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6052 * sysdeps/sparc/bits/mathdef.h: Likewise.
6053
69db4f8f
MP
60542012-01-31 Marek Polacek <polacek@redhat.com>
6055
6056 * libio/libio.h: Don't define _PARAMS.
6057 * locale/programs/config.h: Don't define PARAMS.
6058 * stdlib/strtol_l.c: Likewise.
6059 (__strtol_l): Remove PARAMS from the prototype.
6060
41b81892
UD
60612012-01-31 Ulrich Drepper <drepper@gmail.com>
6062
3b49edc0
UD
6063 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6064 names. Just use the correct names. Remove unnecessary wrapper
6065 functions.
6066 * malloc/arena.c: Likewise.
6067 * malloc/hooks.c: Likewise.
6068
41b81892
UD
6069 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6070 ARENA_TEST says not to. Simplify test for creation of a new arena.
6071 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6072
27a25b6e
UD
60732012-01-30 Ulrich Drepper <drepper@gmail.com>
6074
6075 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6076 into tail calls.
6077 (update_get_addr): New function.
6078 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6079 GET_ADDR_MODULE parameter.
6080
c8a89e7d
JM
60812012-01-30 Joseph Myers <joseph@codesourcery.com>
6082
6083 * crypt/cert.c: Remove __STDC__ conditionals.
6084 * crypt/crypt-entry.c: Likewise.
6085 * crypt/crypt_util.c: Likewise.
6086 * libio/filedoalloc.c: Likewise.
6087 * libio/fileops.c: Likewise.
6088 * libio/genops.c: Likewise.
6089 * libio/iofclose.c: Likewise.
6090 * libio/iofdopen.c: Likewise.
6091 * libio/iofopen.c: Likewise.
6092 * libio/iofopen64.c: Likewise.
6093 * libio/iogetdelim.c: Likewise.
6094 * libio/iopopen.c: Likewise.
6095 * libio/obprintf.c: Likewise.
6096 * libio/oldfileops.c: Likewise.
6097 * libio/oldiofclose.c: Likewise.
6098 * libio/oldiofdopen.c: Likewise.
6099 * libio/oldiofopen.c: Likewise.
6100 * libio/oldiopopen.c: Likewise.
6101 * libio/wfiledoalloc.c: Likewise.
6102 * libio/wgenops.c: Likewise.
6103 * locale/programs/xmalloc.c: Likewise.
6104 * misc/syslog.c: Likewise.
6105 * stdio-common/xbug.c: Likewise.
6106 * string/memchr.c: Likewise.
6107 * string/memcmp.c: Likewise.
6108 * string/memrchr.c: Likewise.
6109 * string/rawmemchr.c: Likewise.
6110 * sysdeps/posix/getcwd.c: Likewise.
6111 * time/strftime_l.c: Likewise.
6112
3b100462
JM
61132012-01-30 Joseph Myers <joseph@codesourcery.com>
6114
6115 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6116 * config.make.in (config-cflags-sse2avx): Define.
6117 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6118 Fix typo.
6119
607998af
CM
61202012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6121
6122 * scripts/config.guess: Update from upstream config git repository.
6123 * scripts/config.sub: Likewise.
6124
3601428f
CM
61252012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6126
3ac8b282
CM
6127 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6128 (EM_NUM): Update.
6129 (R_TILEPRO_*, R_TILEGX_*): New macros.
6130
e034841e
CM
6131 * scripts/firstversions.awk: Fix bug in version range handling.
6132
540d7568
CM
6133 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6134
3601428f
CM
6135 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6136
463de862
CM
6137 * include/sys/epoll.h: New file.
6138 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6139 libc_hidden_def.
6140
73139a76
UD
61412012-01-28 Ulrich Drepper <drepper@gmail.com>
6142
96bc5b45
UD
6143 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6144 Avoid unnecessary __WORDSIZE == 64 test.
6145 (fmaxf): Use VEX format if possible.
6146 (fmax): Likewise.
6147 (fminf): Likewise.
6148 (fmin): Likewise.
6149
56f6f6a2
UD
6150 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6151 * math/math_private.h: Remove libc_fegetround* and
6152 libc_fesetround*.
6153 * sysdeps/i386/configure.in: Check for -msse2avx.
6154 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6155 also if SSE2AVX is defined.
6156 Remove libc_fegetround* and libc_fesetround*.
6157 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6158 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6159 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6160 of HAS_YMM_USABLE.
6161 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6162 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6163 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6164 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6165 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6166
73139a76
UD
6167 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6168
d73f93a4
AZ
61692012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6170
6171 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6172 size is not set.
6173 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6174
6ee65ed6
UD
61752012-01-27 Ulrich Drepper <drepper@gmail.com>
6176
6177 [BZ #13618]
6178 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6179 relocation.
6180 * Makeconfig (libm): Define.
6181 * elf/Makefile: Add rules to build and run tst-relsort1.
6182 * elf/tst-relsort1.c: New file.
6183 * elf/tst-relsort1mod1.c: New file.
6184 * elf/tst-relsort1mod2.c: New file.
6185
8db21882
JM
61862012-01-27 Joseph Myers <joseph@codesourcery.com>
6187
6188 * math/s_ldexp.c: Remove __STDC__ conditionals.
6189 * math/s_ldexpf.c: Likewise.
6190 * math/s_ldexpl.c: Likewise.
6191 * math/s_nextafter.c: Likewise.
6192 * math/s_nexttowardf.c: Likewise.
6193 * math/s_significand.c: Likewise.
6194 * math/s_significandf.c: Likewise.
6195 * math/s_significandl.c: Likewise.
6196 * math/w_jnl.c: Likewise.
6197 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6198 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6199 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6200 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6201 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6203 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6204 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6205 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6206 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6207 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6208 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6209 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6210 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6211 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6212 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6213 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6214 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6216 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6217 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6218 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6219 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6220 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6221 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6222 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6223 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6224 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6225 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6226 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6227 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6228 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6229 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6230 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6231 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6232 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6233 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6234 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6235 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6236 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6237 * sysdeps/ieee754/k_standard.c: Likewise.
6238 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6239 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6240 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6243 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6244 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6246 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6247 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6248 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6249 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6250 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6251 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6252 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6254 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6279 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6280 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6290 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6292 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6296 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6297 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6298 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6299 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6301 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6304 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6305 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6310 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6312 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6313 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6317 * sysdeps/ieee754/s_matherr.c: Likewise.
6318 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6319 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6320 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6321 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6322
965a54a4
JM
63232012-01-26 Joseph Myers <joseph@codesourcery.com>
6324
6325 * crypt/md5.h: Remove __STDC__ conditionals.
6326 * libio/libioP.h: Likewise.
6327 * locale/programs/config.h: Likewise.
6328 * sysdeps/generic/sysdep.h: Likewise.
6329 * sysdeps/i386/asm-syntax.h: Likewise.
6330 * sysdeps/s390/asm-syntax.h: Likewise.
6331 * sysdeps/unix/sysdep.h: Likewise.
6332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6334
7071ad79
JM
63352012-01-26 Joseph Myers <joseph@codesourcery.com>
6336
6337 * libio/libio.h: Remove __STDC__ conditionals.
6338 * malloc/obstack.h: Likewise.
6339 * math/complex.h: Likewise.
6340 * math/math.h: Likewise.
6341 * sysdeps/generic/_G_config.h: Likewise.
6342 * sysdeps/gnu/_G_config.h: Likewise.
6343 * sysdeps/mach/hurd/_G_config.h: Likewise.
6344 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6345 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6346 * sysdeps/sparc/bits/mathdef.h: Likewise.
6347
afc5ed09
UD
63482012-01-26 Ulrich Drepper <drepper@gmail.com>
6349
6350 [BZ #13583]
6351 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6352 Clean up HAS_* macros.
afc5ed09 6353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6354 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6355 possible.
6356 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6357 HAS_AVX.
6358 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6359 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6360 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6361 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6362 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6363
bdb6de1d
JM
63642012-01-25 Joseph Myers <joseph@codesourcery.com>
6365
6366 * elf/tst-unique3.cc (gets): Remove declaration.
6367 * elf/tst-unique3lib.cc (gets): Likewise.
6368 * elf/tst-unique3lib2.cc (gets): Likewise.
6369 * elf/tst-unique4.cc (gets): Likewise.
6370
b15549e6
UD
63712012-01-24 Ulrich Drepper <drepper@gmail.com>
6372
6373 * include/stdio.h: Add C++ protection. Add gets declarations and
6374 definitions.
6375 * debug/tst-chk1.c: Don't declare gets here.
6376 * stdio-common/tst-gets.c: Likewise.
6377
a037381f
JM
63782012-01-24 Joseph Myers <joseph@codesourcery.com>
6379
6380 * posix/glob: Remove directory.
6381
f1d4aa75
JM
63822012-01-24 Joseph Myers <joseph@codesourcery.com>
6383
6384 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6385
81c0c964
PT
63862012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6387
6388 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6389 of the non-standard EPFNOSUPPORT.
6390
0ea698ae
ST
63912011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6392
6393 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6394 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6395 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6396
d220b117
UD
63972012-01-21 Ulrich Drepper <drepper@gmail.com>
6398
6399 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6400
3e1aa84e
UD
64012012-01-20 Ulrich Drepper <drepper@gmail.com>
6402
6403 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6404 transient errors.
6405 * nscd/grpcache.c (cache_addgr): Likewise.
6406 * nscd/hstcache.c (cache_addhst): Likewise.
6407 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6408 * nscd/pwdcache.c (cache_addpw): Likewise.
6409 * nscd/servicescache.c (cache_addserv): Likewise.
6410
400aa020
UD
64112012-01-16 Ulrich Drepper <drepper@gmail.com>
6412
d77e7869
UD
6413 * malloc/malloc.c: Various cleanups.
6414 * malloc/hooks.c: Likewise.
6415
400aa020
UD
6416 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6417 * stdlib/bug-fmtmsg1.c: New file.
6418
6419 * stdlib/fmtmsg.c (init): Add missing unlock.
6420 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6421
e0a309cf
MP
64222012-01-12 Marek Polacek <polacek@redhat.com>
6423
6424 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6425 and _GNU_SOURCE.
6426
929d11c7
WS
64272012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6428
6429 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6430 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6431 macro to ensure uniqueness of label name.
6432 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6433 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6434
41d0e869
UD
64352012-01-11 Ulrich Drepper <drepper@gmail.com>
6436
0cc5ed3b
UD
6437 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6438
41d0e869
UD
6439 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6440 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6441 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6443
a47a831a
UD
64442012-01-10 Ulrich Drepper <drepper@gmail.com>
6445
daa891c0
UD
6446 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6447
6448 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6449 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6450 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6451
e58ef0f2
UD
6452 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6453
a47a831a 6454 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6455 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6456 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6458
6459 * math/bits/math-finite.h: Add ldexp support.
6460
a0bfc9c7
MP
64612012-01-10 Marek Polacek <polacek@redhat.com>
6462
6463 * locale/programs/localedef.h (show_archive_content): Add noreturn
6464 attribute.
6465
d6e97a1d
UD
64662012-01-09 Ulrich Drepper <drepper@gmail.com>
6467
6468 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6469
d5835c26
UD
64702012-01-08 Ulrich Drepper <drepper@gmail.com>
6471
e5f484c6
UD
6472 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6473
d5835c26
UD
6474 * io/Makefile (headers): Add bits/poll2.h.
6475
d1f741e9
WS
64762011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6477
6478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6479 typo #include statement.
6480
ec09c1c4
UD
64812012-01-08 Ulrich Drepper <drepper@gmail.com>
6482
6483 * include/sys/cdefs.h: Define __attribute_alloc_size.
6484 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6485 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6486 * elf/pldd.c: Likewise.
6487 * iconv/iconv_charmap.c: Likewise.
6488 * iconv/iconvconfig.c: Likewise.
6489 * iconv/strtab.c: Likewise.
6490 * locale/programs/locale.c: Likewise.
6491 * locale/programs/localedef.h: Likewise.
6492 * locale/programs/simple-hash.c: Likewise.
6493 * nscd/nscd.h: Likewise.
6494 * nss/makedb.c: Likewise.
6495 * sysdeps/generic/ldconfig.h: Likewise.
6496 * locale/programs/localedef.c: Remove xmalloc prototype.
6497 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6498
20b38e03
PP
64992012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6500
6501 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6502 appropriate.
6503
a0da5fe1
UD
65042012-01-08 Ulrich Drepper <drepper@gmail.com>
6505
1d5a644a 6506 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6507 * math/tst-CMPLX.c: New file.
1d5a644a 6508
8784a6db
UD
6509 * math/complex.h (CMPLXL): Fix typo.
6510
d9a216c0
UD
6511 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6512 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6513 GLIBC_2.16.
6514 * debug/tst-chk1.c: Add poll and ppoll tests.
6515 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6516 * include/sys/poll.h: Add hidden proto for ppoll.
6517 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6518 * sysdeps/mach/hurd/ppoll.c: Likewise.
6519 * io/ppoll.c: Likewise.
6520 * debug/poll_chk.c: New file.
6521 * debug/ppoll_chk.c: New file.
6522 * include/bits/poll2.h: New file.
6523 * io/bits/poll2.h: New file.
6524
ac097f5c
UD
6525 [BZ #1350]
6526 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6527
2119dcfa
UD
6528 * configure.in: static is always set to yes. Remove.
6529 * config.make.in: Don't set build-static.
6530 * Makeconfig: Remove use of build-static.
6531 * dlfcn/Makefile: Likewise.
6532 * elf/Makefile: Likewise.
6533 * math/Makefile: Likewise.
6534 * misc/Makefile: Likewise.
6535 * nptl/Makefile: Likewise.
6536 * sysdeps/mach/hurd/Makefile: Likewise.
6537
121766a9
UD
6538 * configure.in: PWD_P is not used anymore.
6539 * config.make.in: Remove PWD_P entry.
6540
51a1d39c 6541 * configure.in: Remove last remnants of RANLIB.
8720d066 6542 No need to check for signed size_t anymore.
215f4bdc
UD
6543 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6544 and IA-64.
3857022a 6545 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6546 * aclocal.m4: Likewise.
6547
d3ed7225
UD
6548 * wcsmbs/mbrtoc16.c: Implement using towc function.
6549 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6550 * wcsmbs/wcsmbsload.c: Likewise.
6551 * iconv/gconv_simple.c: Likewise.
6552 * iconv/gconv_int.h: Likewise.
6553 * iconv/gconv_builtin.h: Likewise.
6554 * iconv/iconv_prog.c: Remove CHAR16 handling.
6555
6556 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6557
6558 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6559
a0da5fe1
UD
6560 * configure.in: Remove --with-elf and --enable-bounded options.
6561 Dont set base_machine for ia64. More non-ELF conditions removed.
6562 Remove testing and setting of leading underscore information.
6563 * config.make.in (build-bounded): Set to no.
6564 * config.h.in: Remove NO_UNDERSCORES entry.
6565 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6566 them.
6567 * csu/start.c: Remove !NO_UNDERSCORE code.
6568 * locale/localeinfo.h: Likewise.
6569 * sysdeps/generic/machine-gmon.h: Likewise.
6570 * sysdeps/generic/sysdep.h: Likewise.
6571 * sysdeps/i386/sysdep.h: Likewise.
6572 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6573 * sysdeps/mach/sysdep.h: Likewise.
6574 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6575 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6576 * sysdeps/sh/sysdep.h: Likewise.
6577 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6578 * sysdeps/unix/i386/sysdep.S: Likewise.
6579 * sysdeps/unix/sparc/start.c: Likewise.
6580 * sysdeps/unix/sparc/sysdep.S: Likewise.
6581 * sysdeps/unix/sparc/sysdep.h: Likewise.
6582 * sysdeps/unix/start.c: Likewise.
6583 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6584 * sysdeps/x86_64/sysdep.h: Likewise.
6585
df78418a
UD
65862012-01-07 Ulrich Drepper <drepper@gmail.com>
6587
a784e502
UD
6588 [BZ #13553]
6589 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6590 for non-gcc.
6591 * argp/argp-fmtstream.h: Use const instead __const.
6592 * argp/argp.h: Likewise.
6593 * assert/assert.h: Likewise.
6594 * bits/fenv.h: Likewise.
6595 * bits/sched.h: Likewise.
6596 * bits/sigset.h: Likewise.
6597 * bits/sigthread.h: Likewise.
6598 * catgets/nl_types.h: Likewise.
6599 * conform/data/pthread.h-data: Likewise.
6600 * crypt/crypt-private.h: Likewise.
6601 * crypt/crypt.h: Likewise.
6602 * crypt/crypt_util.c: Likewise.
6603 * ctype/ctype.h: Likewise.
6604 * debug/execinfo.h: Likewise.
6605 * debug/mbsnrtowcs_chk.c: Likewise.
6606 * debug/mbsrtowcs_chk.c: Likewise.
6607 * debug/wcsnrtombs_chk.c: Likewise.
6608 * debug/wcsrtombs_chk.c: Likewise.
6609 * debug/wcstombs_chk.c: Likewise.
6610 * dirent/dirent.h: Likewise.
6611 * dlfcn/dlfcn.h: Likewise.
6612 * elf/neededtest4.c: Likewise.
6613 * grp/grp.h: Likewise.
6614 * gshadow/gshadow.h: Likewise.
6615 * iconv/gconv.h: Likewise.
6616 * iconv/gconv_int.h: Likewise.
6617 * iconv/gconv_simple.c: Likewise.
6618 * iconv/iconv.h: Likewise.
6619 * iconv/loop.c: Likewise.
6620 * iconv/skeleton.c: Likewise.
6621 * include/aio.h: Likewise.
6622 * include/aliases.h: Likewise.
6623 * include/argz.h: Likewise.
6624 * include/arpa/inet.h: Likewise.
6625 * include/assert.h: Likewise.
6626 * include/dirent.h: Likewise.
6627 * include/dlfcn.h: Likewise.
6628 * include/execinfo.h: Likewise.
6629 * include/fcntl.h: Likewise.
6630 * include/fenv.h: Likewise.
6631 * include/glob.h: Likewise.
6632 * include/grp.h: Likewise.
6633 * include/libintl.h: Likewise.
6634 * include/mntent.h: Likewise.
6635 * include/netdb.h: Likewise.
6636 * include/pwd.h: Likewise.
6637 * include/rpc/netdb.h: Likewise.
6638 * include/sched.h: Likewise.
6639 * include/search.h: Likewise.
6640 * include/shadow.h: Likewise.
6641 * include/signal.h: Likewise.
6642 * include/stdio.h: Likewise.
6643 * include/stdlib.h: Likewise.
6644 * include/string.h: Likewise.
6645 * include/sys/socket.h: Likewise.
6646 * include/sys/stat.h: Likewise.
6647 * include/sys/statfs.h: Likewise.
6648 * include/sys/statvfs.h: Likewise.
6649 * include/sys/syslog.h: Likewise.
6650 * include/sys/time.h: Likewise.
6651 * include/sys/uio.h: Likewise.
6652 * include/time.h: Likewise.
6653 * include/unistd.h: Likewise.
6654 * include/utmp.h: Likewise.
6655 * include/wchar.h: Likewise.
6656 * include/wctype.h: Likewise.
6657 * inet/aliases.h: Likewise.
6658 * inet/arpa/inet.h: Likewise.
6659 * inet/netinet/ether.h: Likewise.
6660 * inet/netinet/in.h: Likewise.
6661 * intl/libintl.h: Likewise.
6662 * io/bits/fcntl2.h: Likewise.
6663 * io/fcntl.h: Likewise.
6664 * io/ftw.h: Likewise.
6665 * io/sys/poll.h: Likewise.
6666 * io/sys/stat.h: Likewise.
6667 * io/sys/statfs.h: Likewise.
6668 * io/sys/statvfs.h: Likewise.
6669 * io/utime.h: Likewise.
6670 * libio/bits/stdio.h: Likewise.
6671 * libio/bits/stdio2.h: Likewise.
6672 * libio/libio.h: Likewise.
6673 * libio/libioP.h: Likewise.
6674 * libio/stdio.h: Likewise.
6675 * locale/lc-ctype.c: Likewise.
6676 * locale/locale.h: Likewise.
6677 * login/utmp.h: Likewise.
6678 * malloc/arena.c: Likewise.
6679 * malloc/malloc.c: Likewise.
6680 * malloc/malloc.h: Likewise.
6681 * malloc/mcheck.c: Likewise.
6682 * malloc/mtrace.c: Likewise.
6683 * math/bits/mathcalls.h: Likewise.
6684 * math/fenv.h: Likewise.
6685 * math/math_private.h: Likewise.
6686 * misc/bits/error.h: Likewise.
6687 * misc/bits/syslog.h: Likewise.
6688 * misc/err.h: Likewise.
6689 * misc/error.h: Likewise.
6690 * misc/fstab.h: Likewise.
6691 * misc/mntent.h: Likewise.
6692 * misc/regexp.h: Likewise.
6693 * misc/search.h: Likewise.
6694 * misc/sgtty.h: Likewise.
6695 * misc/sys/mman.h: Likewise.
6696 * misc/sys/syslog.h: Likewise.
6697 * misc/sys/uio.h: Likewise.
6698 * misc/sys/xattr.h: Likewise.
6699 * misc/ttyent.h: Likewise.
6700 * nis/rpcsvc/ypclnt.h: Likewise.
6701 * nss/nss.h: Likewise.
6702 * posix/bits/unistd.h: Likewise.
6703 * posix/fnmatch.h: Likewise.
6704 * posix/glob.h: Likewise.
6705 * posix/sched.h: Likewise.
6706 * posix/spawn.h: Likewise.
6707 * posix/sys/wait.h: Likewise.
6708 * posix/unistd.h: Likewise.
6709 * posix/wordexp.h: Likewise.
6710 * pwd/pwd.h: Likewise.
6711 * resolv/netdb.h: Likewise.
6712 * resource/sys/resource.h: Likewise.
6713 * rt/aio.h: Likewise.
6714 * rt/bits/mqueue2.h: Likewise.
6715 * rt/mqueue.h: Likewise.
6716 * shadow/shadow.h: Likewise.
6717 * signal/signal.h: Likewise.
6718 * socket/send.c: Likewise.
6719 * socket/sendto.c: Likewise.
6720 * socket/sys/socket.h: Likewise.
6721 * stdio-common/printf.h: Likewise.
6722 * stdlib/bits/stdlib.h: Likewise.
6723 * stdlib/fmtmsg.h: Likewise.
6724 * stdlib/monetary.h: Likewise.
6725 * stdlib/stdlib.h: Likewise.
6726 * stdlib/ucontext.h: Likewise.
6727 * streams/stropts.h: Likewise.
6728 * string/argz.h: Likewise.
6729 * string/bits/string2.h: Likewise.
6730 * string/string.h: Likewise.
6731 * string/strings.h: Likewise.
6732 * sunrpc/rpc/auth.h: Likewise.
6733 * sunrpc/rpc/auth_des.h: Likewise.
6734 * sunrpc/rpc/clnt.h: Likewise.
6735 * sunrpc/rpc/netdb.h: Likewise.
6736 * sunrpc/rpc/pmap_clnt.h: Likewise.
6737 * sunrpc/rpc/xdr.h: Likewise.
6738 * sysdeps/generic/inttypes.h: Likewise.
6739 * sysdeps/generic/net/if.h: Likewise.
6740 * sysdeps/generic/sys/swap.h: Likewise.
6741 * sysdeps/gnu/net/if.h: Likewise.
6742 * sysdeps/gnu/utmpx.h: Likewise.
6743 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6744 * sysdeps/i386/i486/bits/string.h: Likewise.
6745 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6746 * sysdeps/s390/bits/string.h: Likewise.
6747 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6748 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6749 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6750 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6751 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6752 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6753 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6754 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6755 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6756 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6757 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6758 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6759 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6760 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6761 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6762 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6763 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6765 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6766 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6768 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6769 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6770 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6771 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6772 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6773 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6774 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6775 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6776 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6777 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6778 * sysvipc/sys/ipc.h: Likewise.
6779 * sysvipc/sys/msg.h: Likewise.
6780 * sysvipc/sys/sem.h: Likewise.
6781 * sysvipc/sys/shm.h: Likewise.
6782 * termios/termios.h: Likewise.
6783 * time/sys/time.h: Likewise.
6784 * time/time.h: Likewise.
6785 * wcsmbs/bits/wchar2.h: Likewise.
6786 * wcsmbs/uchar.h: Likewise.
6787 * wcsmbs/wchar.h: Likewise.
6788 * wctype/wctype.h: Likewise.
6789
0269750c
UD
6790 [BZ #13551]
6791 * Makeconfig: Remove all but ELF support including AIX support.
6792 * Makerules: Likewise.
6793 * config.h.in: Likewise.
6794 * config.make.in: Likewise.
6795 * configure: Likewise.
6796 * configure.in: Likewise.
6797 * csu/Makefile: Likewise.
6798 * csu/version.c: Likewise.
6799 * debug/Makefile: Likewise.
6800 * dlfcn/Makefile: Likewise.
6801 * elf/Makefile: Likewise.
6802 * extra-lib.mk: Likewise.
6803 * iconv/Makefile: Likewise.
6804 * include/libc-symbols.h: Likewise.
6805 * include/shlib-compat.h: Likewise.
6806 * resolv/Makefile: Likewise.
6807 * resolv/res_libc.c: Likewise.
6808 * rt/Makefile: Likewise.
6809 * sysdeps/i386/asm-syntax.h: Likewise.
6810 * sysdeps/i386/sysdep.h: Likewise.
6811 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6812 * sysdeps/mach/sysdep.h: Likewise.
6813 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6814 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6815 * sysdeps/s390/asm-syntax.h: Likewise.
6816 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6817 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6818 * sysdeps/sh/sysdep.h: Likewise.
6819 * sysdeps/unix/sparc/sysdep.h: Likewise.
6820 * sysdeps/wordsize-32/divdi3.c: Likewise.
6821 * sysdeps/x86_64/sysdep.h: Likewise.
6822
00bbd29b
UD
6823 * argp/Versions: Remove _argp_unlock_xxx.
6824
6825 [BZ #13559]
6826 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6827 * abilist/libBrokenLocale.abilist: Likewise.
6828 * abilist/libanl.abilist: Likewise.
6829 * abilist/libc.abilist: Likewise.
6830 * abilist/libcrypt.abilist: Likewise.
6831 * abilist/libdl.abilist: Likewise.
6832 * abilist/libm.abilist: Likewise.
6833 * abilist/libnsl.abilist: Likewise.
6834 * abilist/libpthread.abilist: Likewise.
6835 * abilist/libresolv.abilist: Likewise.
6836 * abilist/librt.abilist: Likewise.
6837 * abilist/libthread_db.abilist: Likewise.
6838 * abilist/libutil.abilist: Likewise.
6839 * abilist/libnss_db.abilist: New file.
6840
6841 * scripts/abilist.awk: Add support for indirect functions.
6842
a2693a0e
UD
6843 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6844
3f05895f
UD
6845 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6846
ecb6fb48
UD
6847 * shlib-versions: Remove entries for ports architectures.
6848
664f8cb9
UD
6849 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6850 files in ports.
6851 * elf/stackguard-macros.h: Remove support for IA-64.
6852 * elf/tst-auditmod1.c: Likewise.
6853 * sysdeps/generic/ldsodefs.h: Likewise.
6854
7ae81d88
UD
6855 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6856 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6857 configure files.
6858
bdeba135
UD
6859 [BZ #13552]
6860 * configure.in: Remove --enable-omitfp support.
6861 * FAQ.in: Adjust.
6862 * config.make.in: Likewise.
6863 * Makeconfig: Likewise.
6864 * manual/install.texi: Likewise.
6865
d75a0a62
UD
6866 In case anyone cares, the IA-64 architecture could move to ports.
6867 * sysdeps/ia64/*: Removed.
6868 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6869 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6870
dcc9756b
UD
6871 [BZ #13555]
6872 * configure.in: Remove entries for unsupported architectures.
6873
d3761ebc 6874 [BZ #13533]
9954432e
UD
6875 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6876 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6877 routines.
6878 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6879 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6880 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6881 fall back to using wcrtomb.
6882 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6883 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6884 renaming.
6885 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6886 * wcsmbs/tst-c16c32-1.c: New file.
6887
6888 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6889 local variable.
6890
c3a87236
UD
6891 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6892
28926a1b
UD
6893 * elf/tst-unique3.cc: Add explicit declaration of gets.
6894 * elf/tst-unique3lib.cc: Likewise.
6895 * elf/tst-unique3lib2.cc: Likewise.
6896 * elf/tst-unique4.cc: Likewise.
6897
df78418a
UD
6898 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6899
8ecd6b2a
JM
69002012-01-06 Joseph Myers <joseph@codesourcery.com>
6901
6902 [BZ #13566]
6903 * assert/assert.h (static_assert): Don't define for C++.
6904 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6905 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6906
9f115170
UD
69072012-01-03 Ulrich Drepper <drepper@gmail.com>
6908
5e0d0300
UD
6909 * iconv/loop.c (single loop): Fix assertion in storing of
6910 remaining bytes.
6911
9f115170
UD
6912 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6913
81fb02b0
UD
69142012-01-01 Ulrich Drepper <drepper@gmail.com>
6915
6916 * posix/getconf.c: Update copyright year.
6917 * nss/getent.c: Likewise.
a316c1f6 6918 * nss/makedb.c: Likewise.
81fb02b0
UD
6919 * iconv/iconvconfig.c: Likewise.
6920 * iconv/iconv_prog.c: Likewise.
6921 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6922 * elf/pldd.c: Likewise.
6923 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6924 * catgets/gencat.c: Likewise.
6925 * csu/version.c: Likewise.
6926 * elf/ldd.bash.in: Likewise.
6927 * elf/sprof.c (print_version): Likewise.
6928 * locale/programs/locale.c: Likewise.
6929 * locale/programs/localedef.c: Likewise.
a316c1f6 6930 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6931 * nscd/nscd.c (print_version): Likewise.
6932 * debug/xtrace.sh: Likewise.
6933 * malloc/memusage.sh: Likewise.
6934 * malloc/mtrace.pl: Likewise.
6935 * debug/catchsegv.sh: Likewise.
6936
2ba92745
JJ
69372011-12-30 Jakub Jelinek <jakub@redhat.com>
6938
6939 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6940 pure attribute.
6941
dadebdae
UD
69422011-12-24 Ulrich Drepper <drepper@gmail.com>
6943
d3761ebc 6944 [BZ #13533]
db6af3eb
UD
6945 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6946 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6947 transformations.
6948 * iconv/gconv_int.h: Likewise.
6949 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6950 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6951 from libc for GLIBC_2.16.
6952 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6953 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6954 * wcsmbs/uchar.h: Really define mbstate_t.
6955 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6956 * wcsmbs/c16rtomb.c: New file.
6957 * wcsmbs/mbrtoc16.c: New file.
6958 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6959 for C/POSIX locale.
6960 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6961 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6962
dadebdae
UD
6963 * wcsmbs/wchar.h: Add missing __restrict.
6964
67371b56
UD
69652011-12-23 Ulrich Drepper <drepper@gmail.com>
6966
74033a25
UD
6967 [BZ #13532]
6968 * time/Makefile (routines): Add timespec_get.
6969 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6970 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6971 timespec for ISO C11.
6972 * time/timespec_get.c: New file.
6973 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6974 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6975
380d7e87
UD
6976 [BZ #13531]
6977 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6978 * stdlib/stdlib.h: Declare aligned_alloc.
6979 * Versions.def: Add GLIBC_2.16 for libc.
6980 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6981
4e9e7a35
UD
6982 [BZ 13527]
6983 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6984 ISO C11.
6985
380d7e87 6986 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6987 code.
6988
03a71829
UD
6989 [BZ #13528]
6990 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6991
839e283e
UD
6992 [BZ #13529]
6993 * assert/assert.h (static_assert): Define.
6994
ce5294e2 6995 * version.h: Update for 2.16 development version.
90fa7312 6996
8d44e150 6997 [BZ #13526]
d7809905
UD
6998 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6999 _ISOC11_SOURCE.
7000
c0da14cd
UD
7001 * version.h (RELEASE): Bump for 2.15 release.
7002 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7003
530a3249
MP
7004 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7005 Patch by Marek Polacek <mpolacek@redhat.com>.
7006
67371b56
UD
7007 * bits/byteswap.h: Protect long long constants with __extension__.
7008 * sysdeps/i386/bits/byteswap.h: Likewise.
7009 * sysdeps/ia64/bits/byteswap.h: Likewise.
7010 * sysdeps/s390/bits/byteswap.h: Likewise.
7011 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7012
15db4de1
LD
70132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7014
7015 [BZ #13540]
bbe315ea
LD
7016 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7017 destination buffer.
15db4de1
LD
7018 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7019
2b2596b1
MP
70202011-12-23 Marek Polacek <polacek@redhat.com>
7021
7022 * elf/dl-addr.c (determine_info): Add inline keyword.
7023 * elf/tst-auditmod4b.c (check_avx): Likewise.
7024 * elf/tst-auditmod6b.c (check_avx): Likewise.
7025 * elf/tst-auditmod6c.c (check_avx): Likewise.
7026 * elf/tst-auditmod7b.c (check_avx): Likewise.
7027
70c6c246
UD
70282011-12-23 Ulrich Drepper <drepper@gmail.com>
7029
7030 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7031 !__SSE_MATH__.
7032
c044cf14
LD
70332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7034
15db4de1 7035 [BZ #13540]
c044cf14
LD
7036 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7037 processing for last bytes.
7038
6b13d9d9
BH
70392011-08-06 Bruno Haible <bruno@clisp.org>
7040
d455f537
BH
7041 [BZ #13061]
7042 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7043 U+0385, not to U+1FEE.
7044
6b13d9d9
BH
7045 [BZ #13062]
7046 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7047 entry for U+00A5 U+0301.
7048
db910efd
UD
70492011-12-22 Ulrich Drepper <drepper@gmail.com>
7050
27deeafc
UD
7051 [BZ #13166]
7052 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7053 buffer for the output is too small.
7054
aed9d171
UD
7055 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7056 optimization.
7057
db910efd
UD
7058 [BZ #13185]
7059 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7060 SSE flags if possible.
7061
2bd779ae
LD
70622011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7063
e7f9dac3 7064 [BZ #13540]
2bd779ae
LD
7065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7066 processing for last bytes.
7067
154bfc16
JM
70682011-12-22 Joseph Myers <joseph@codesourcery.com>
7069
7070 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7071 (syscall-list-default-options, syscall-list-default-condition)
7072 (syscall-list-includes): Define.
7073 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7074 list of ABIs and options and #if conditions for each ABI. Do not
7075 handle common syscalls between ABIs specially.
7076 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7077 Remove.
7078 (syscall-list-variants, syscall-list-32bit-options)
7079 (syscall-list-32bit-condition, syscall-list-64bit-options)
7080 (syscall-list-64bit-condition): Define.
7081 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7082 (syscall-list-variants, syscall-list-32bit-options)
7083 (syscall-list-32bit-condition, syscall-list-64bit-options)
7084 (syscall-list-64bit-condition): Define.
7085 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7086 Remove.
7087 (syscall-list-variants, syscall-list-32bit-options)
7088 (syscall-list-32bit-condition, syscall-list-64bit-options)
7089 (syscall-list-64bit-condition): Define.
7090 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7091 Remove.
7092 (syscall-list-variants, syscall-list-32bit-options)
7093 (syscall-list-32bit-condition, syscall-list-64bit-options)
7094 (syscall-list-64bit-condition): Define.
7095
21eaf3a5
UD
70962011-12-22 Ulrich Drepper <drepper@gmail.com>
7097
16c6f992
UD
7098 * locale/iso-639.def: Add brx entry.
7099
41043168
UD
7100 [BZ #13328]
7101 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7102 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7103
21eaf3a5
UD
7104 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7105 __feraiseexcept_renamed.
7106
e3a851a2
UD
71072011-12-21 Ulrich Drepper <drepper@gmail.com>
7108
4920765e
UD
7109 [BZ #13538]
7110 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7111 EPOLLET with unsigned values.
7112 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7113 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7114
e3a851a2
UD
7115 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7116 to large cancellation.
7117 * math/s_cacoshf.c: Likewise.
7118 * math/s_cacoshl.c: Likewise.
7119
b27e24b8
RK
71202011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7121
7122 [BZ #13305]
aebefeee 7123 [BZ #12786]
b27e24b8
RK
7124 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7125 * math/s_cacoshf.c: Likewise.
7126 * math/s_cacoshl.c: Likewise.
7127
ee190f67
UD
71282011-12-21 Ulrich Drepper <drepper@gmail.com>
7129
7130 [BZ #13439]
7131 * iconv/gconv.h: Define __GCONV_SWAP.
7132 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7133 * iconvdata/utf-16.c: Likewise.
7134 * iconvdata/utf-32.c: Likewise.
7135
707f25df
AS
71362011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7137
7138 [BZ #13524]
7139 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7140 numerator after shifting it by one limb.
7141
d2daaa1e
RÁE
71422011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7143
7144 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7145 under [__USE_EXTERN_INLINES].
7146
a4647e72
UD
71472011-12-17 Ulrich Drepper <drepper@gmail.com>
7148
7149 [BZ #13446]
7150 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7151
f0b264f1
AZ
71522011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7153
7154 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7155 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7156 optimized code.
7157 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7158 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7159 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7160 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7161 for strncasecmp/strncasecmp_l compilation.
7162 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7163 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7164
8ef4f244
MP
71652011-12-08 Marek Polacek <mpolacek@redhat.com>
7166
7167 [BZ #13484]
7168 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7169 of __asm__.
7170
97ac2654
UD
71712011-12-17 Ulrich Drepper <drepper@gmail.com>
7172
7173 [BZ #13506]
7174 * time/tzfile.c (__tzfile_read): Check values from file header.
7175
91d2a845
WS
71762011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7177
7178 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7179 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7180 * powerpc/powerpc32/dl-start.S: Likewise.
7181 * powerpc/powerpc32/elf/start.S: Likewise.
7182 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7183 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7184 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7185 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7186 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7187 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7188 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7189 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7190 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7191 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7192 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7193 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7194 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7195 * powerpc/powerpc32/memset.S: Likewise.
7196 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7197 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7198 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7199 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7200 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7201 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7202 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7203 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7204 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7205 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7206 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7207 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7208 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7209
a1267ba1
AZ
72102011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7211
7212 * math/libm-test.inc: Added more nearbyint tests.
7213 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7214 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7215 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7216 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7217
ad8ac1bd
RL
72182011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7219
7220 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7221 FD_CLOEXEC.
7222
1d3e4b61
UD
72232011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7224
7225 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7226 Add wcscpy-ssse3 wcscpy-c.
7227 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7228 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7229 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7230 * sysdeps/x86_64/wcschr.S: New file.
7231 * sysdeps/x86_64/wcsrchr.S: New file.
7232 * string/test-strcmp.c: Remove checking of wcscmp function for
7233 wrong alignments.
7234 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7235 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7236 wcsrchr-sse2 wcsrchr-c.
7237 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7238 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7239 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7240 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7241 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7242 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7243 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7244 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7245 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7246 * wcsmbc/wcschr.c (WCSCHR): New macro.
7247
5b330a2d
UD
72482011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7249
7250 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7251 * wcsmbs/test-wcsrchr.c: New file.
7252 * string/test-strrchr.c: Add wcsrchr support.
7253 (WIDE): New macro.
7254 * wcsmbs/test-wcscpy.c: New file.
7255 * string/test-strcpy.c: Add wcscpy support.
7256 (WIDE): New macro.
26428b7c 7257
f039c043
UD
72582011-12-10 Ulrich Drepper <drepper@gmail.com>
7259
7260 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7261 the inner loop.
7262
850fb039
AS
72632011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7264
7265 [BZ #13472]
7266 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7267
4efbd5cb
UD
72682011-12-04 Ulrich Drepper <drepper@gmail.com>
7269
52ff5dd0 7270 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7271 Minor optimizations.
52ff5dd0 7272
4efbd5cb
UD
7273 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7274 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7275 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7276
8a426e12
UD
72772011-12-03 Ulrich Drepper <drepper@gmail.com>
7278
aff2453d
UD
7279 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7280 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7281 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7282 for gcc to avoid warnings.
7283 * inet/Makefile (tests): Add tst-checks.
7284 * inet/tst-checks.c: New file.
7285
7286 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7287 warning.
7288
7289 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7290 __wmemcmp_sse2.
7291
7292 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7293 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7294
8a426e12
UD
7295 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7296
9bea3473
UD
72972011-12-02 Ulrich Drepper <drepper@gmail.com>
7298
3a965496
UD
7299 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7300 problem.
7301
9bea3473
UD
7302 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7303
f101631b
UD
73042011-11-29 Joseph Myers <joseph@codesourcery.com>
7305
7306 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7307 conditional on GCC version.
7308 (__arch_compare_and_exchange_val_8_acq)
7309 (__arch_compare_and_exchange_val_16_acq)
7310 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7311 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7312 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7313
a98275aa
UD
73142011-12-02 Joseph Myers <joseph@codesourcery.com>
7315
7316 * sysdeps/sh/backtrace.c: New file.
7317
d4cc29a2
AS
73182011-12-02 Andreas Schwab <schwab@redhat.com>
7319
7320 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7321 parenthesis.
7322
6257af2d
AS
73232011-12-01 Andreas Schwab <schwab@redhat.com>
7324
7325 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7326 falling back to utime.
7327
b5f44c1a
AS
73282011-11-30 Andreas Schwab <schwab@redhat.com>
7329
7330 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7331 expectations for float.
7332
f3a6cc0a
AS
73332011-11-29 Andreas Schwab <schwab@redhat.com>
7334
7335 * locale/weight.h (findidx): Add parameter len.
7336 * locale/weightwc.h (findidx): Likewise.
7337 * posix/fnmatch_loop.c (FCT): Adjust caller.
7338 * posix/regcomp.c (build_equiv_class): Likewise.
7339 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7340 * posix/regexec.c (check_node_accept_bytes): Likewise.
7341 * string/strcoll_l.c (STRCOLL): Likewise.
7342 * string/strxfrm_l.c (STRXFRM): Likewise.
7343
9d65ea3a
UD
73442011-11-17 Ulrich Drepper <drepper@gmail.com>
7345
7346 * Makefile.in: Remove CVSOPT handling.
7347 * configure.in: Remove use of AC_REVISION.
7348 * iconvdata/Makefile (distribute): No need to filter out CVS.
7349 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7350 handling.
7351
5583a086
AS
73522011-11-16 Andreas Schwab <schwab@redhat.com>
7353
7354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7355 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7356 [USE_AS_STRNCASECMP_L]: Likewise.
7357 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7358 NO_TLS_DIRECT_SEG_REFS.
7359 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7360 Fix argument offsets for non-PIC.
7361 [USE_AS_STRNCASECMP_L]: Likewise.
7362 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7363 NO_TLS_DIRECT_SEG_REFS.
7364
d62a8200
UD
73652011-11-15 Ulrich Drepper <drepper@gmail.com>
7366
9d65ea3a 7367 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7368 O_CLOEXEC.
7369 * locale/loadlocale.c (_nl_load_locale): Likewise.
7370
09f93bd3
AS
73712011-11-15 Andreas Schwab <schwab@redhat.com>
7372
446514f9
AS
7373 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7374 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7375 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7376 (SYSCALL_GETTIME): Set errno on error.
7377
09f93bd3
AS
7378 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7379 count references to noai6ai_cached.
7380
312be3f9
UD
73812011-11-15 Ulrich Drepper <drepper@gmail.com>
7382
7383 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7384
7385 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7386 FD_CLOEXEC for /proc/self/maps.
7387
7388 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7389 FD_CLOEXEC for /proc/meminfo.
7390
7391 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7392 gai.conf.
7393
7394 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7395 FD_CLOEXEC for given file.
7396
7397 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7398
7399 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7400 FD_CLOEXEC for /etc/hosts.
7401 (_gethtent): Likewise.
7402
7403 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7404
7405 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7406 cancellation and set FD_CLOEXEC for /etc/netgroup.
7407
7408 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7409 reading /etc/publickey.
7410
7411 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7412 allow cancellation when reading /etc/group.
7413
7414 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7415 cancellation.
7416 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7417
7418 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7419 when using data file.
7420
7421 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7422
7423 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7424 (write_nis_obj): Use "c" and "e" in fopen.
7425
7426 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7427
7428 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7429
7430 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7431
7432 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7433
7434 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7435 locale.alias.
7436
7437 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7438
7439 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7440
7441 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7442
7443 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7444 file parsing and set FD_CLOEXEC.
7445
82af0fa8
UD
74462011-11-14 Ulrich Drepper <drepper@gmail.com>
7447
7448 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7449
a5fb313c
AS
74502011-11-14 Andreas Schwab <schwab@redhat.com>
7451
7452 * malloc/arena.c (arena_get2): Don't call reused_arena when
7453 _int_new_arena failed.
7454
6abf3465
UD
74552011-11-14 Ulrich Drepper <drepper@gmail.com>
7456
7457 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7458 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7459 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7460 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7461 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7462 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7463 to compile strcasecmp and strncasecmp.
7464 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7465 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7466
7467 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7468
76e3966e
UD
74692011-11-13 Ulrich Drepper <drepper@gmail.com>
7470
7471 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7472 locale-defines.sym to gen-as-const-headers.
7473 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7474 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7475 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7476 to compile strcasecmp and strncasecmp.
7477 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7478 strcasecmp_l and strncasecmp_l.
7479 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7480 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7481 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7482 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7483 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7484 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7485 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7486 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7487 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7488 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7489 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7490
ab26144e
UD
74912011-11-12 Ulrich Drepper <drepper@gmail.com>
7492
7edb22ef
UD
7493 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7494 result of SYSDEP_GETTIME_CPU to retval.
7495 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7496 parameter list to macro. Remove trailing semicolon. Adjust users.
7497
9694fc44
UD
7498 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7499 variable.
7500
8ad89ef8
UD
7501 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7502 mantissa words.
7503 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7504
0c822ef9
UD
7505 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7506 from unused variable.
7507
874e0564
UD
7508 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7509 DWARF definitions.
7510 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7511 for assembling.
7512
3a2edc79
UD
7513 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7514 over namespaces.
7515
f3c2577f
UD
7516 * sunrpc/rpc_prot.c (rejected): Fix case value.
7517
294ce126
UD
7518 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7519 unsigned long long int to avoid warnings in shift.
7520
5e2b63c6
UD
7521 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7522 of use of trans.
7523 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7524 variable tmp.
7525
e7f4b08e
UD
7526 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7527 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7528 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7529
ab26144e
UD
7530 * nis/nis_table.c (nis_list): Use variable of correct type for
7531 result of __follow_path call.
7532
8a6d5255
AZ
75332011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7534
7535 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7536 of math functions ceil, trunc, floor, round, and sqrt, when
7537 avaliable on the platform.
7538 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7539 name clash.
7540 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7541 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7542 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7543
aaddc98c
MP
75442011-10-30 Marek Polacek <mpolacek@redhat.com>
7545
7546 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7547 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7548
95b7042b
RM
75492011-11-11 Roland McGrath <roland@hack.frob.com>
7550
7551 * include/unistd.h: Fix __readlink return type.
7552 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7553
57769839
UD
75542011-11-11 Ulrich Drepper <drepper@gmail.com>
7555
7556 * stdlib/ucontext.h: Undo last change for makecontext.
7557
edc5984d
AS
75582011-11-11 Andreas Schwab <schwab@redhat.com>
7559
98591e58
AS
7560 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7561
edc5984d
AS
7562 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7563 * setjmp/setjmp.h: Mark functions as non-leaf.
7564 * setjmp/bits/setjmp2.h: Likewise.
7565 * stdlib/ucontext.h: Likewise.
7566
77cdc054
AS
75672011-11-10 Andreas Schwab <schwab@redhat.com>
7568
7569 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7570 (reused_arena): Don't check arena limit.
7571 (arena_get2): Atomically check arena limit.
7572
fe72eebd
UD
75732011-11-08 Ulrich Drepper <drepper@gmail.com>
7574
5f078c32
UD
7575 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7576 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7577
fe72eebd
UD
7578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7579 instructions.
7580
ae1bc2fa
AS
75812011-11-07 Andreas Schwab <schwab@redhat.com>
7582
7583a88d
AS
7583 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7584 handler when locking.
7585
ae1bc2fa
AS
7586 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7587 Fix size of allocated buffer.
7588
10fb0bfa
AS
75892011-11-04 Andreas Schwab <schwab@redhat.com>
7590
998832a4
AS
7591 [BZ #10103]
7592 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7593 declarations for long double functions.
7594 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7595
10fb0bfa
AS
7596 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7597
3d7ba52b
AS
75982011-11-03 Andreas Schwab <schwab@redhat.com>
7599
a9ae54a1
AS
7600 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7601 installed.
7602
3d7ba52b
AS
7603 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7604 is disabled.
7605
bc8db248
ST
76062011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7607
7608 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7609
45b96dd6
AS
76102011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7611
647776f6
AS
7612 * include/alloca.h (stackinfo_alloca_round): Define.
7613 (extend_alloca): Use it.
7614 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7615 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7616 here.
7617
d91a8b93
AS
7618 * scripts/check-local-headers.sh: Ignore libaudit.h.
7619
45b96dd6
AS
7620 * nscd/Makefile (extra-objs): Make recursively expanded.
7621
432d41ce
UD
76222011-11-01 Ulrich Drepper <drepper@gmail.com>
7623
34372fc6
UD
7624 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7625 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7626
fadb59f8
UD
7627 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7628 * posix/tst-rfc3484-2.c: Likewise.
7629 * posix/tst-rfc3484-3.c: Likewise.
7630
78239589
UD
7631 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7632 process_vm_writev.
7633 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7634 process_vm_writev.
7635 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7636 process_vm_writev from libc using GLIBC_2.15 version.
7637
432d41ce
UD
7638 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7639
02f9c6cf
PP
76402011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7641
7642 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7643 stack usage.
7644
3a2c0242
UD
76452011-10-31 Ulrich Drepper <drepper@gmail.com>
7646
f4ec4833
UD
7647 [BZ #13367]
7648 * nss/getent.c (initgroups_keys): Show error message in case no group
7649 names are given.
7650
3a2c0242
UD
7651 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7652 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7653 __bump_nl_timestamp.
7654 * nscd/connections (nscd_init): When host database is served open
7655 netlink socket and request notification about configuration changes.
7656 (main_loop_poll): Track netlink file descriptor and bump timestamp
7657 in case data becomes available.
7658 (main_loop_epoll): Likewise.
7659 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7660 (database_pers_head): Add extra_data fileds.
7661 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7662 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7663 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7664 Adjust caller.
7665 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7666 in6ai data, call __free_in6ai.
7667 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7668 Add -DHAVE_NETLINK.
7669 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7670 interface information. Reuse previous data if netlink timestamp
7671 is not changed.
7672 (__bump_nl_timestamp): New function.
7673 (__free_in6ai): New function.
7674
636064eb
UD
76752011-10-30 Ulrich Drepper <drepper@gmail.com>
7676
7677 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7678 close_not_cancel_no_status here.
7679 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7680
9beb2334
UD
76812011-10-29 Ulrich Drepper <drepper@gmail.com>
7682
6ef76f3b
UD
7683 [BZ #13276]
7684 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7685 return value.
7686
0ffc4f3e 7687 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7688 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7689 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7690
cb95113e
UD
76912011-07-03 Andreas Jaeger <aj@suse.de>
7692
7693 [BZ #10709]
7694 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7695 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7696 * math/libm-test.inc (sin_test): Add test case.
7697
a1b560ff
UD
76982011-10-29 Ulrich Drepper <drepper@gmail.com>
7699
c9aaface
UD
7700 [BZ #13337]
7701 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7702 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7703
d272e7f1
UD
7704 * elf/chroot_canon.c (chroot_canon): Cleanups.
7705
1bc33071
UD
7706 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7707
1760874d
TJ
7708 [BZ #13335]
7709 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7710 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7711
51d91b18
UD
7712 * string/test-strchr.c: Make usable for strchrnul testing.
7713 * string/test-strchrnul.c: New file.
7714 * string/Makefile (strop-tests): Add strchrnul.
7715
a1b560ff 7716 * po/it.po: Update from translation team.
b611fb81 7717 * po/es.po: Likewise.
a1b560ff 7718
a5b81e1f
UD
77192011-10-28 Ulrich Drepper <drepper@gmail.com>
7720
fd52bc6d
UD
7721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7722 the three constants needed as parameters. Drop the others.
7723 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7724 __m128i_strloadu_tolower.
52e4b9eb
UD
7725 Create and initialize variable zero and use it in all the places
7726 where _mm_setzero_si128 was used.
fd52bc6d 7727
a5b81e1f
UD
7728 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7729 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7730 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7731 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7732 anymore.
7733 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7734 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7735 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7736 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7737 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7738 __mpranred, __mptan.
7739 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7740 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7741 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7742 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7743 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7744 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7745 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7746 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7747 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7748
b4343346
AS
77492011-10-28 Andreas Schwab <schwab@redhat.com>
7750
0c92d8a8
AS
7751 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7752 redefine if SHARED.
7753 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7754
b4343346
AS
7755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7756 wide char related routines to wcsmbs subdir.
7757
3871f58f
AS
77582011-10-27 Andreas Schwab <schwab@redhat.com>
7759
7760 [BZ #13344]
7761 * misc/sys/cdefs.h (__THROWNL): Define.
7762 * posix/unistd.h: Use __THREADNL instead of __THREAD
7763 for memory synchronization functions.
7764
94d44d9f
RM
77652011-10-26 Roland McGrath <roland@hack.frob.com>
7766
21b64b15 7767 [BZ #13349]
94d44d9f
RM
7768 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7769 doesn't exist.
7770 * manual/stdio.texi (Obstack Streams): Node removed.
7771
f6ce9294
AS
77722011-10-26 Andreas Schwab <schwab@redhat.com>
7773
80479147
AS
7774 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7775 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7776 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7777
f6ce9294
AS
7778 * math/math_private.h (math_force_eval): Allow non-addressable
7779 arguments.
7780 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7781
618280a1
UD
77822011-10-25 Ulrich Drepper <drepper@gmail.com>
7783
e0016b11
UD
7784 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7785 file is not needed.
7786
7787 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7788 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7789 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7790 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7791 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7792 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7793 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7794 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7795 Add AVX variants.
7796 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7797 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7798 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7799 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7800 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7801 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7802 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7803 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7804 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7805 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7806 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7807 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7809 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7810 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7811 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7812 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7813 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7814 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7815
7816 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7817 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7818
618280a1
UD
7819 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7820 place. Use VEX encoding when compiling for AVX.
7821
37822576
AS
78222011-10-25 Andreas Schwab <schwab@redhat.com>
7823
1f1e1947
AS
7824 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7825 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7826
37822576
AS
7827 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7828
31ea014d
UD
78292011-10-25 Ulrich Drepper <drepper@gmail.com>
7830
d7826aa1 7831 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7832 useless if() expression.
d7826aa1
UD
7833 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7834 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7835 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7836 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7837 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7838 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7839 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7840 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7841 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7842 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7843 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7844 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7845 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7846 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7847 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7848 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7849 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7851 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7852
31ea014d
UD
7853 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7854
16437fec
AS
78552011-10-25 Andreas Schwab <schwab@redhat.com>
7856
7857 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7858 condition.
7859 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7860
31d3cc00
UD
78612011-10-25 Ulrich Drepper <drepper@gmail.com>
7862
7863 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7864 .text section. Avoid duplicate constants.
7865 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7867 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7873 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7874 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7875 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7876 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7877 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7878 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7879 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7880 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7881 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7882 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7883 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7885 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7886 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7887 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7889 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7890 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7891 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7892 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7893 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7894 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7895 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7896 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7898 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7899 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7900 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7901 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7902 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7903 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7904 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7905 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7906 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7907 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7908 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7909 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7910
58985aa9
UD
79112011-10-24 Ulrich Drepper <drepper@gmail.com>
7912
202c9deb
UD
7913 * sysdeps/x86_64/dla.h: Move to ...
7914 * sysdeps/x86_64/fpu/dla.h: ...here.
7915 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7916 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7917
af968f62
UD
7918 * config.make.in: Add have-mfma4 entry.
7919 * configure.in: Substitute libc_cv_cc_fma4.
7920 * math/Makefile (dbl-only-routines): Add sincostab.
7921 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7922 Use __sincostab not sincos.
7923 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7924 name is a macro.
7925 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7927 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7929 using __copysign.
7930 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7931 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7932 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7933 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7934 and __inv.
7935 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7936 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7937 __copysign.
7938 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7939 define aliases when function name is a macro.
7940 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7941 sysdeps/ieee754/dbl-64/sincos.tbl.
7942 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7943 fma4-enabled routines.
7944 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7945 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7946 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7947 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7948 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7949 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7951 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7952 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7953 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7954 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7955 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7956 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7957 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7958 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7959 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7960 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7961 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7962 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7963 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7964 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7965 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7966 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7967 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7968 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7970 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7971 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7972 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7973 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7974
58985aa9
UD
7975 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7976 rename.
7977 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7978 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7982 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7983 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7985
a201fbcf
AS
79862011-10-24 Andreas Schwab <schwab@redhat.com>
7987
7988 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7989
fc2ee42a
LD
79902011-10-23 Ulrich Drepper <drepper@gmail.com>
7991
bb3129bd
UD
7992 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7993
0275fff8
UD
7994 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7995 prediction.
7996 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7997
2fa2ae85
UD
7998 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7999 Remove unused variable magic_bits.
8000 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8001
fc2ee42a
LD
8002 * string/strnlen.c: Define and use STRNLEN macro.
8003 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8004 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8005 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8006 * wcsmbs/wcslen.c: Define and use WCSLEN.
8007 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8008 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8009 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8010 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8011 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8012 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8013 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8014
ce7dd29f
LD
80152011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8016
8017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8018 strnlen-sse2-no-bsf.
8019 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8020 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8021 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8022 Add strnlen support.
8023 (USE_AS_STRNLEN): New macro.
8024 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8025 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8026 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8027 * sysdeps/x86_64/wcslen.S: New file.
8028
979c70a3
MZ
80292011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8030
8031 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8032 XMM-moves are used for copying on small sizes.
8033
2d09f82f
LD
80342011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8035
8036 * wcsmbs/Makefile (strop-tests): Add wcschr.
8037 * wcsmbs/test-wcschr.c: New file.
8038 * string/test-strchr.c: Update.
8039 Add wcschr support.
8040 (WIDE): New macro.
8041
619fccca
LD
80422011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8043
2d09f82f 8044 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8045 * wcsmbs/test-wcslen.c: New file.
8046 * string/test-strlen.c: Update.
8047 Add wcslen support.
8048 (WIDE): New macro.
8049
09f699ea
UD
80502011-10-23 Ulrich Drepper <drepper@gmail.com>
8051
8052 * po/it.po: Update from translation team.
8053
95584d3b
LD
80542011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8055
8056 * sysdeps/x86_64/wcscmp.S: Update.
8057 Fix wrong comparison semantics.
8058 wcscmp shall use signed comparison not unsigned.
8059 Don't use substraction to avoid overflow bug.
8060 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8061 * wcsmbc/wcscmp.c: Likewise.
8062 * string/test-strcmp.c: Likewise.
8063 Add new tests to check cases with negative values.
8064
c8b3296b
UD
80652011-10-23 Ulrich Drepper <drepper@gmail.com>
8066
8067 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8068 * sysdeps/x86_64/dla.h: ...here. New file.
8069 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8070 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8071 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8074 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8078
246ad57a
AS
80792011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8080
8081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8082 __ynl_finite aliases.
8083
a1a87169
UD
80842011-10-22 Ulrich Drepper <drepper@gmail.com>
8085
0d355eb7
UD
8086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8087
a1a87169
UD
8088 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8089 define DLA_FMA.
8090 [DLA_FMA] (EMULV): Use DLA_FMA.
8091 [DLA_FMA] (MUL12): Use EMULV.
8092 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8093 that are not needed.
8094 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8101
ee2aafe0
AS
81022011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8103
8104 * math/s_nan.c: Undef __nan.
8105 * math/s_nanf.c: Undef __nanf.
8106 * math/s_nanl.c: Undef __nanl.
8107 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8108 "math_private.h".
8109
bc62c2fb
UD
81102011-10-22 Ulrich Drepper <drepper@gmail.com>
8111
77425c63
UD
8112 * math/s_catan.c: Add branch predictions.
8113 * math/s_catanf.c: Likewise.
8114 * math/s_catanh.c: Likewise.
8115 * math/s_catanhf.c: Likewise.
8116 * math/s_catanhl.c: Likewise.
8117 * math/s_catanl.c: Likewise.
8118 * math/s_cexp.c: Likewise.
8119 * math/s_cexpf.c: Likewise.
8120 * math/s_cexpl.c: Likewise.
8121 * math/s_clog.c: Likewise.
8122 * math/s_clog10.c: Likewise.
8123 * math/s_clog10f.c: Likewise.
8124 * math/s_clog10l.c: Likewise.
8125 * math/s_clogf.c: Likewise.
8126 * math/s_clogl.c: Likewise.
8127 * math/s_csqrt.c: Likewise.
8128 * math/s_csqrtf.c: Likewise.
8129 * math/s_csqrtl.c: Likewise.
8130 * math/s_ctanf.c: Likewise.
8131 * math/s_ctanh.c: Likewise.
8132 * math/s_ctanhf.c: Likewise.
8133 * math/s_ctanhl.c: Likewise.
8134 * math/s_ctanl.c: Likewise.
8135
bc62c2fb
UD
8136 * math/math_private.h: Define __nan, __nanf, __nanl.
8137 * math/s_cacosh.c: Include <math_private.h>.
8138 * math/s_cacoshl.c: Likewise.
8139 * math/s_casinh.c: Likewise.
8140 * math/s_casinhf.c: Likewise.
8141 * math/s_casinhl.c: Likewise.
8142 * math/s_ccos.c: Rely entire on ccosh.
8143 * math/s_ccosf.c: Rely entire on ccoshf.
8144 * math/s_ccosl.c: Rely entirely on ccoshl.
8145 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8146 Remove tests for FE_INVALID.
8147 * math/s_ccoshf.c: Likewise.
8148 * math/s_ccoshl.c: Likewise.
8149 * math/s_csin.c: Likewise.
8150 * math/s_csinf.c: Likewise.
8151 * math/s_csinh.c Likewise.
8152 * math/s_csinhf.c: Likewise.
8153 * math/s_csinhl.c: Likewise.
8154 * math/s_csinl.c: Likewise.
8155 * math/s_ctan.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8157 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8158 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8159
8ec250a4
UD
81602011-10-21 Ulrich Drepper <drepper@gmail.com>
8161
c196fed8
UD
8162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8163 compilation problems.
8164
8ec250a4
UD
8165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8166 __builtin_expect.
8167
8d4f46c6
UD
81682011-10-20 Ulrich Drepper <drepper@gmail.com>
8169
ed72b654
UD
8170 * sysdeps/i386/configure.in: Test for -mfma4 option.
8171 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8172 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8173 COMMON_CPUID_INDEX_80000001.
8174 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8175 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8176 use it if FMA3 is not supported.
8177 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8178
8d4f46c6
UD
8179 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8180 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8181
d45c60c2
AS
81822011-10-20 Andreas Schwab <schwab@redhat.com>
8183
8184 [BZ #12892]
8185 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8186 it would create a cycle with a link time dependency.
8187
d9a4d2ab
UD
81882011-10-19 Ulrich Drepper <drepper@gmail.com>
8189
855d1560
UD
8190 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8191 instruction.
8192 * string/Makefile (strop-tests): Add rawmemchr.
8193 * string/test-rawmemchr.c: New file.
8194
d9a4d2ab
UD
8195 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8196 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8197 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8198 when compiling str{,n}casecmp and when AVX is available. Hook up
8199 new optimized code in initializers.
8200
8f3b1ffe
AS
82012011-10-19 Andreas Schwab <schwab@redhat.com>
8202
8203 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8204 __feraiseexcept instead of feraiseexcept.
8205
d38f1dba
UD
82062011-10-18 Ulrich Drepper <drepper@gmail.com>
8207
d9a8d0ab
UD
8208 * math/math_private.h: Define defaults for libc_fetestexcept and
8209 libc_feupdateenv.
8210 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8211 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8212 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8213 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8214 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8215 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8216 libc_fetestexcept and libc_feupdateenv.
8217
4855e3dd
UD
8218 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8219 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8220 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8221 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8222 libc_feholdexcept_setround.
8223
581d30e3
UD
8224 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8225 Add s_nearbyint-c and s_nearbyintf-c.
8226 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8227 nearbyintf inlines.
8228 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8229 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8230 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8231 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8232
d38f1dba
UD
8233 * math/math_private.h: Define defaults for libc_fegetround,
8234 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8235 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8236 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8238 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8239 standard functions.
8240 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8241 Remove comments and hacks for old compiler versions.
8242 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8243 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8244 libc_feholdexceptl.
8245
caa6c9d8
AS
82462011-10-18 Andreas Schwab <schwab@redhat.com>
8247
8248 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8249 (__feraiseexcept_renamed): Add __NTH.
8250 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8251 namespace violations.
8252
97c066e6
UD
82532011-10-17 Ulrich Drepper <drepper@gmail.com>
8254
99ce7b04
UD
8255 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8256
1004d182
UD
8257 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8258
228a984d
UD
8259 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8260 recently added interfaces.
8261 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8262
c8553a6a
UD
8263 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8264 about macro parameter expansion.
8265
ed22dcf6
UD
8266 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8267 __NO_MATH_INLINES is defined. Cleanups.
8268
8269 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8270 and __floorf is target has SSE4.1.
8271 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8272 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8273 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8274 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8275
b171c137
UD
8276 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8277 name.
8278 (floorf): Likewise.
8279
97c066e6
UD
8280 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8281
629f62ef
AS
82822011-10-17 Andreas Schwab <schwab@redhat.com>
8283
49a43d80
AS
8284 * misc/sys/cdefs.h: Fix last change.
8285
629f62ef
AS
8286 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8287 database lookup.
8288
e453f6cd
UD
82892011-10-16 Ulrich Drepper <drepper@gmail.com>
8290
aa78043a
UD
8291 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8292
ad0f5cad
UD
8293 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8294 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8299 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8300 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8301 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8302 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8303 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8304 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8305 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8306 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8307 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8308 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8309 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8310 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8311 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8312 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8313 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8314 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8315
8316 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8317 ceil, ceilf, floor, floorf.
8318
8319 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8320 Perform IRELATIVE relocations last.
8321
e453f6cd
UD
8322 * elf/do-rel.h: Add another parameter nrelative, replacing the
8323 local variable with the same name. Change name of the function
8324 to end in Rel or Rela (uppercase).
8325 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8326 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8327 elf_dynamic_do_##reloc function.
8328
fd5bdc09
UD
83292011-10-15 Ulrich Drepper <drepper@gmail.com>
8330
79b195b5
UD
8331 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8332 is sufficient, at least on modern CPUs.
8333
d4a28569
UD
8334 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8335
b61099b5
UD
8336 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8337 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8338
bcf01e6d
UD
8339 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8340 __expl_finite.
8341 * math/bits/math-finite.h: Add entries for exp.
8342 * math/e_expl.c: Add __*_finite alias.
8343 * sysdeps/i386/fpu/e_exp.S: Likewise.
8344 * sysdeps/i386/fpu/e_expf.S: Likewise.
8345 * sysdeps/i386/fpu/e_expl.c: Likewise.
8346 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8347 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8350 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8351 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8352 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8353
ba1a0d59
UD
8354 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8355 is sufficient, at least on modern CPUs.
8356
fd5bdc09
UD
8357 * ctype/ctype-info.c (__ctype_init): Define.
8358 * include/ctype.h (__ctype_init): Declare.
8359 (__ctype_b_loc): The variable is always initialized.
8360 (__ctype_toupper_loc): Likewise.
8361 (__ctype_tolower_loc): Likewise.
8362 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8363 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8364
7872cfb0
AS
83652011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8366
b468825a
AS
8367 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8368
7872cfb0
AS
8369 * configure.in: Also look in $cxxmachine/include for C++ system
8370 headers.
8371
be13f7bf
LD
83722011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8373
8374 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8375 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8376 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8377 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8378 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8379 (USE_AS_WMEMCMP): New macro.
8380 Fixing indents.
8381 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8382 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8383 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8384 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8386 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8387 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8388 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8389 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8390 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8391 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8392 (USE_AS_WMEMCMP): New macro.
8393 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8394 * sysdeps/string/test-memcmp.c: Update.
8395 Fix simple_wmemcmp.
8396 Add new tests.
8397 * wcsmbs/wmemcmp.c: Update.
8398 (WMEMCMP): New macro.
8399 Fix overflow bug.
8400
556a2007
AJ
84012011-10-12 Andreas Jaeger <aj@suse.de>
8402
8403 [BZ #13268]
8404 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8405
538faaa7
UD
84062011-10-15 Ulrich Drepper <drepper@gmail.com>
8407
ab6737ff
UD
8408 * libio/iofwide.c (do_length): Avoid warning.
8409
538faaa7
UD
8410 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8411
396a21b1
UD
84122011-10-14 Ulrich Drepper <drepper@gmail.com>
8413
cdf2901f
UD
8414 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8415
38ad40ce
UD
8416 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8417 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8418 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8419 * sysdeps/i386/i686/fpu/e_log.S: New file.
8420 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8421 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8422
396a21b1
UD
8423 * ctype/ctype.h: Add support for inlined isXXX functions when
8424 compiling C++ code.
8425
6b1f68c9
AS
84262011-10-14 Andreas Schwab <schwab@redhat.com>
8427
349290c0
AS
8428 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8429
6b1f68c9
AS
8430 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8431
f2282d42
RM
84322011-10-13 Roland McGrath <roland@hack.frob.com>
8433
8434 [BZ #13291]
8435 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8436
5298ffa8
AS
84372011-10-13 Andreas Schwab <schwab@redhat.com>
8438
714fad23
AS
8439 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8440 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8441 feraiseexcept.
8442
81dcc7fb
AS
8443 * sysdeps/x86_64/memrchr.S: Check for zero size.
8444
5298ffa8
AS
8445 * string/stratcliff.c: Add memrchr tests.
8446
951fbcec
LD
84472011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8448
8449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8450 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8451 rawmemchr-sse2 rawmemchr-sse2-bsf.
8452 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8453 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8454 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8455 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8456 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8457 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8458 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8459 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8460 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8461 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8462 * string/memrchr.c (MEMRCHR): New macro.
8463
0ac5ae23
UD
84642011-10-12 Ulrich Drepper <drepper@gmail.com>
8465
8466 Add integration with gcc's -ffinite-math-only and optimize wrapper
8467 functions in libm.
8468 * Versions.def: Define GLIBC_2.15 version for libm.
8469 * math/Makefile (headers): Add bits/math-finite.h.
8470 * math/bits/math-finite.h: New file.
8471 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8472 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8473 * math/e_acoshl.c: Add __*_finite alias.
8474 * math/e_acosl.c: Likewise.
8475 * math/e_asinl.c: Likewise.
8476 * math/e_atan2l.c: Likewise.
8477 * math/e_atanhl.c: Likewise.
8478 * math/e_coshl.c: Likewise.
8479 * math/e_exp10.c: Likewise.
8480 * math/e_exp10f.c: Likewise.
8481 * math/e_exp10l.c: Likewise.
8482 * math/e_exp2l.c: Likewise.
8483 * math/e_fmodl.c: Likewise.
8484 * math/e_gammal_r.c: Likewise.
8485 * math/e_hypotl.c: Likewise.
8486 * math/e_j0l.c: Likewise.
8487 * math/e_j1l.c: Likewise.
8488 * math/e_jnl.c: Likewise.
8489 * math/e_lgammal_r.c: Likewise.
8490 * math/e_log10l.c: Likewise.
8491 * math/e_log2l.c: Likewise.
8492 * math/e_logl.c: Likewise.
8493 * math/e_powl.c: Likewise.
8494 * math/e_sinhl.c: Likewise.
8495 * math/e_sqrtl.c: Likewise.
8496 * math/e_scalb.c: Completely rewritten and optimized.
8497 * math/e_scalbf.c: Likewise.
8498 * math/e_scalbl.c: Likewise.
8499 * math/w_acos.c: Likewise.
8500 * math/w_acosf.c: Likewise.
8501 * math/w_acosl.c: Likewise.
8502 * math/w_acosh.c: Likewise.
8503 * math/w_acoshf.c: Likewise.
8504 * math/w_acoshl.c: Likewise.
8505 * math/w_asin.c: Likewise.
8506 * math/w_asinf.c: Likewise.
8507 * math/w_asinl.c: Likewise.
8508 * math/w_atan2.c: Likewise.
8509 * math/w_atan2f.c: Likewise.
8510 * math/w_atan2l.c: Likewise.
8511 * math/w_atanh.c: Likewise.
8512 * math/w_atanhf.c: Likewise.
8513 * math/w_atanhl.c: Likewise.
8514 * math/w_exp10.c: Likewise.
8515 * math/w_exp10f.c: Likewise.
8516 * math/w_exp10l.c: Likewise.
8517 * math/w_fmod.c: Likewise.
8518 * math/w_fmodf.c: Likewise.
8519 * math/w_fmodl.c: Likewise.
8520 * math/w_j0.c: Likewise.
8521 * math/w_j0f.c: Likewise.
8522 * math/w_j0l.c: Likewise.
8523 * math/w_j1.c: Likewise.
8524 * math/w_j1f.c: Likewise.
8525 * math/w_j1l.c: Likewise.
8526 * math/w_jn.c: Likewise.
8527 * math/w_jnf.c: Likewise.
8528 * math/w_log.c: Likewise.
8529 * math/w_logf.c: Likewise.
8530 * math/w_logl.c: Likewise.
8531 * math/w_log10.c: Likewise.
8532 * math/w_log10f.c: Likewise.
8533 * math/w_log10l.c: Likewise.
8534 * math/w_log2.c: Likewise.
8535 * math/w_log2f.c: Likewise.
8536 * math/w_log2l.c: Likewise.
8537 * math/w_pow.c: Likewise.
8538 * math/w_powf.c: Likewise.
8539 * math/w_powl.c: Likewise.
8540 * math/w_remainder.c: Likewise.
8541 * math/w_remainderf.c: Likewise.
8542 * math/w_remainderl.c: Likewise.
8543 * math/w_scalb.c: Likewise.
8544 * math/w_scalbf.c: Likewise.
8545 * math/w_scalbl.c: Likewise.
8546 * math/w_sqrt.c: Likewise.
8547 * math/w_sqrtf.c: Likewise.
8548 * math/w_sqrtl.c: Likewise.
8549 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8550 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8551 used.
8552 * math/math_private.h: Declare __kernel_standard_f.
8553 * math/w_cosh.c: Remove cruft and optimize a bit.
8554 * math/w_coshf.c: Likewise.
8555 * math/w_coshl.c: Likewise.
8556 * math/w_exp2.c: Likewise.
8557 * math/w_exp2f.c: Likewise.
8558 * math/w_exp2l.c: Likewise.
8559 * math/w_hypot.c: Likewise.
8560 * math/w_hypotf.c: Likewise.
8561 * math/w_hypotl.c: Likewise.
8562 * math/w_lgamma.c: Likewise.
8563 * math/w_lgamma_r.c: Likewise.
8564 * math/w_lgammaf.c: Likewise.
8565 * math/w_lgammaf_r.c: Likewise.
8566 * math/w_lgammal.c: Likewise.
8567 * math/w_lgammal_r.c: Likewise.
8568 * math/w_sinh.c: Likewise.
8569 * math/w_sinhf.c: Likewise.
8570 * math/w_sinhl.c: Likewise.
8571 * math/w_tgamma.c: Likewise.
8572 * math/w_tgammaf.c: Likewise.
8573 * math/w_tgammal.c: Likewise.
8574 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8575 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8576 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8577 Minor optimizations. Pretty printing. Remove cruft.
8578 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8579 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8580 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8581 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8582 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8583 * sysdeps/i386/fpu/e_asin.S: Likewise.
8584 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8585 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8586 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8587 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8588 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8589 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8590 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8591 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8592 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8593 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8594 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8595 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8596 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8597 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8598 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8599 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8600 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8601 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8602 * sysdeps/i386/fpu/e_log.S: Likewise.
8603 * sysdeps/i386/fpu/e_log10.S: Likewise.
8604 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8605 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8606 * sysdeps/i386/fpu/e_log2.S: Likewise.
8607 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8608 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8609 * sysdeps/i386/fpu/e_logf.S: Likewise.
8610 * sysdeps/i386/fpu/e_logl.S: Likewise.
8611 * sysdeps/i386/fpu/e_pow.S: Likewise.
8612 * sysdeps/i386/fpu/e_powf.S: Likewise.
8613 * sysdeps/i386/fpu/e_powl.S: Likewise.
8614 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8615 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8616 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8617 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8618 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8619 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8620 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8621 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8622 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8629 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8630 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8631 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8632 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8633 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8634 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8636 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8637 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8639 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8640 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8641 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8643 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8644 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8646 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8647 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8648 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8649 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8650 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8651 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8652 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8653 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8654 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8655 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8656 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8657 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8658 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8659 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8660 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8661 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8662 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8663 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8664 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8706 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8708 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8709 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8711 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8714 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8715 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8716 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8717 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8718 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8719 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8720 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8721 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8722 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8723 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8724 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8725 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8726 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8727 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8728 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8729 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8730 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8731 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8732 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8733 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8734 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8735 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8736 (__isnanf): Likewise.
8737 (__isinf_ns): Likewise.
8738 (__isinf_nsf): Likewise.
8739 (__finite): Likewise.
8740 (__finitef): Likewise.
8741 (__ieee754_sqrt): Define as macro.
8742 (__ieee754_sqrtf): Define as macro.
8743 (__ieee754_sqrtl): Define as macro.
8744 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8745 inlined copy.
8746 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8747 __FINITE_MATH_ONLY__ consistent.
8748 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8749
12cc2fcd
AS
87502011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8751
a843a204
AS
8752 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8753 of rawmemchr.
8754
12cc2fcd
AS
8755 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8756
c853acd5
UD
87572011-10-09 Ulrich Drepper <drepper@gmail.com>
8758
8759 * po/ja.po: Update from translation team.
8760
c658d255
RM
87612011-10-08 Roland McGrath <roland@hack.frob.com>
8762
110946e4
RM
8763 * locale/programs/locarchive.c (prepare_address_space): New function.
8764 (create_archive, enlarge_archive, open_archive): Use it.
8765
50604220
RM
8766 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8767 inside [SHARED], where it is used.
8768
c658d255
RM
8769 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8770
8771 * nss/getent.c (netgroup_keys): Remove unused variable.
8772 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8773
6a621eb7
UD
87742011-10-08 Ulrich Drepper <drepper@gmail.com>
8775
7edb55ce
UD
8776 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8777 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8779 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8780 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8781 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8782 * math/Makefile (libm-calls): Add s_isinf_ns.
8783 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8784 * math/multc3.c: Likewise.
8785 * math/s_casin.c: Likewise.
8786 * math/s_casinf.c: Likewise.
8787 * math/s_casinl.c: Likewise.
8788 * math/s_ccos.c: Likewise.
8789 * math/s_ccosf.c: Likewise.
8790 * math/s_ccosl.c: Likewise.
8791 * math/s_ctan.c: Likewise.
8792 * math/s_ctanf.c: Likewise.
8793 * math/s_ctanh.c: Likewise.
8794 * math/s_ctanhf.c: Likewise.
8795 * math/s_ctanhl.c: Likewise.
8796 * math/s_ctanl.c: Likewise.
8797 * math/w_fmod.c: Likewise.
8798 * math/w_fmodf.c: Likewise.
8799 * math/w_fmodl.c: Likewise.
8800 * math/w_remainder.c: Likewise.
8801 * math/w_remainderf.c: Likewise.
8802 * math/w_remainderl.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8804 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8805 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8806 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8807 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8808 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8809 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8810 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8811
187da0ae
UD
8812 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8813 of the number.
8814 * stdio-common/printf_fphex.c: Likewise.
8815 * stdio-common/printf_size.c: Likewise.
8816
9277c064
UD
8817 * math/e_exp10.c: Include math_private.h using <...> not "...".
8818 * math/e_exp10f.c: Likewise.
8819 * math/e_exp10l.c: Likewise.
8820 * math/e_exp2l.c: Likewise.
8821 * math/e_j0l.c: Likewise.
8822 * math/e_j1l.c: Likewise.
8823 * math/e_jnl.c: Likewise.
8824 * math/e_lgammal_r.c: Likewise.
8825 * math/e_rem_pio2l.c: Likewise.
8826 * math/e_scalb.c: Likewise.
8827 * math/e_scalbf.c: Likewise.
8828 * math/e_scalbl.c: Likewise.
8829 * math/k_cosl.c: Likewise.
8830 * math/k_sinl.c: Likewise.
8831 * math/k_tanl.c: Likewise.
8832 * math/s_cacoshf.c: Likewise.
8833 * math/s_catan.c: Likewise.
8834 * math/s_catanf.c: Likewise.
8835 * math/s_catanh.c: Likewise.
8836 * math/s_catanhf.c: Likewise.
8837 * math/s_catanhl.c: Likewise.
8838 * math/s_catanl.c: Likewise.
8839 * math/s_ccosh.c: Likewise.
8840 * math/s_ccoshf.c: Likewise.
8841 * math/s_ccoshl.c: Likewise.
8842 * math/s_cexp.c: Likewise.
8843 * math/s_cexpf.c: Likewise.
8844 * math/s_cexpl.c: Likewise.
8845 * math/s_clog.c: Likewise.
8846 * math/s_clog10.c: Likewise.
8847 * math/s_clog10f.c: Likewise.
8848 * math/s_clog10l.c: Likewise.
8849 * math/s_clogf.c: Likewise.
8850 * math/s_clogl.c: Likewise.
8851 * math/s_csin.c: Likewise.
8852 * math/s_csinf.c: Likewise.
8853 * math/s_csinh.c: Likewise.
8854 * math/s_csinhf.c: Likewise.
8855 * math/s_csinhl.c: Likewise.
8856 * math/s_csinl.c: Likewise.
8857 * math/s_csqrt.c: Likewise.
8858 * math/s_csqrtf.c: Likewise.
8859 * math/s_csqrtl.c: Likewise.
8860 * math/s_ctan.c: Likewise.
8861 * math/s_ctanf.c: Likewise.
8862 * math/s_ctanh.c: Likewise.
8863 * math/s_ctanhf.c: Likewise.
8864 * math/s_ctanhl.c: Likewise.
8865 * math/s_ctanl.c: Likewise.
8866 * math/s_ldexp.c: Likewise.
8867 * math/s_ldexpf.c: Likewise.
8868 * math/s_ldexpl.c: Likewise.
8869 * math/s_significand.c: Likewise.
8870 * math/s_significandf.c: Likewise.
8871 * math/s_significandl.c: Likewise.
8872 * math/w_acos.c: Likewise.
8873 * math/w_acosf.c: Likewise.
8874 * math/w_acosh.c: Likewise.
8875 * math/w_acoshf.c: Likewise.
8876 * math/w_acoshl.c: Likewise.
8877 * math/w_acosl.c: Likewise.
8878 * math/w_asin.c: Likewise.
8879 * math/w_asinf.c: Likewise.
8880 * math/w_asinl.c: Likewise.
8881 * math/w_atan2.c: Likewise.
8882 * math/w_atan2f.c: Likewise.
8883 * math/w_atan2l.c: Likewise.
8884 * math/w_atanh.c: Likewise.
8885 * math/w_atanhf.c: Likewise.
8886 * math/w_atanhl.c: Likewise.
8887 * math/w_cosh.c: Likewise.
8888 * math/w_coshf.c: Likewise.
8889 * math/w_coshl.c: Likewise.
8890 * math/w_dremf.c: Likewise.
8891 * math/w_exp10.c: Likewise.
8892 * math/w_exp10f.c: Likewise.
8893 * math/w_exp10l.c: Likewise.
8894 * math/w_exp2.c: Likewise.
8895 * math/w_exp2f.c: Likewise.
8896 * math/w_fmod.c: Likewise.
8897 * math/w_fmodf.c: Likewise.
8898 * math/w_fmodl.c: Likewise.
8899 * math/w_hypot.c: Likewise.
8900 * math/w_hypotf.c: Likewise.
8901 * math/w_hypotl.c: Likewise.
8902 * math/w_j0.c: Likewise.
8903 * math/w_j0f.c: Likewise.
8904 * math/w_j0l.c: Likewise.
8905 * math/w_j1.c: Likewise.
8906 * math/w_j1f.c: Likewise.
8907 * math/w_j1l.c: Likewise.
8908 * math/w_jn.c: Likewise.
8909 * math/w_jnf.c: Likewise.
8910 * math/w_jnl.c: Likewise.
8911 * math/w_lgamma.c: Likewise.
8912 * math/w_lgamma_r.c: Likewise.
8913 * math/w_lgammaf.c: Likewise.
8914 * math/w_lgammaf_r.c: Likewise.
8915 * math/w_lgammal.c: Likewise.
8916 * math/w_lgammal_r.c: Likewise.
8917 * math/w_log.c: Likewise.
8918 * math/w_log10.c: Likewise.
8919 * math/w_log10f.c: Likewise.
8920 * math/w_log10l.c: Likewise.
8921 * math/w_log2.c: Likewise.
8922 * math/w_log2f.c: Likewise.
8923 * math/w_log2l.c: Likewise.
8924 * math/w_logf.c: Likewise.
8925 * math/w_logl.c: Likewise.
8926 * math/w_pow.c: Likewise.
8927 * math/w_powf.c: Likewise.
8928 * math/w_powl.c: Likewise.
8929 * math/w_remainder.c: Likewise.
8930 * math/w_remainderf.c: Likewise.
8931 * math/w_remainderl.c: Likewise.
8932 * math/w_scalb.c: Likewise.
8933 * math/w_scalbf.c: Likewise.
8934 * math/w_scalbl.c: Likewise.
8935 * math/w_sinh.c: Likewise.
8936 * math/w_sinhf.c: Likewise.
8937 * math/w_sinhl.c: Likewise.
8938 * math/w_sqrt.c: Likewise.
8939 * math/w_sqrtf.c: Likewise.
8940 * math/w_sqrtl.c: Likewise.
8941 * math/w_tgamma.c: Likewise.
8942 * math/w_tgammaf.c: Likewise.
8943 * math/w_tgammal.c: Likewise.
8944
6a621eb7
UD
8945 * po/ja.po: Update from translation team.
8946
bf582445
AJ
89472011-09-29 Andreas Jaeger <aj@suse.de>
8948
f9efbf3a
AJ
8949 [BZ #13179]
8950 * sunrpc/netname.c (netname2host): Fix logic.
8951
bf582445
AJ
8952 [BZ #6779]
8953 [BZ #6783]
8954 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8955 correctly.
8956 * math/w_remainder.c (__remainder): Likewise.
8957 * math/w_remainderf.c (__remainderf): Likewise.
8958 * math/libm-test.inc (remainder_test): Add test cases.
8959
48693bea
AK
89602011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8961
8962 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8963 sdiv_qrnnd.
8964
42622229
LD
89652011-10-07 Ulrich Drepper <drepper@gmail.com>
8966
8967 * string/test-memcmp.c: Avoid unncessary #defines.
8968 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8969
093ecf92
LD
89702011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8971
8972 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8973 Use new sse2 version for core i3 - i7 as it's faster
8974 than sse42 version.
8975 (bit_Prefer_PMINUB_for_stringop): New.
8976 * sysdeps/x86_64/rawmemchr.S: Update.
8977 Replace with faster SSE2 version.
8978 * sysdeps/x86_64/memrchr.S: New file.
8979 * sysdeps/x86_64/memchr.S: Update.
8980 Replace with faster SSE2 version.
8981
fde56e5c
MP
89822011-09-12 Marek Polacek <mpolacek@redhat.com>
8983
8984 * elf/dl-load.c (lose): Add cast to avoid warning.
8985
21fd49a9
UD
89862011-10-07 Ulrich Drepper <drepper@gmail.com>
8987
5a06e643
UD
8988 * po/ca.po: Update from translation team.
8989
684ae515
UD
8990 * inet/getnetgrent_r.c: Hook up nscd.
8991 * nscd/Makefile (routines): Add nscd_netgroup.
8992 (nscd-modules): Add netgroupcache.
8993 (CFLAGS-netgroupcache.c): Define.
8994 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8995 (cache_search): Add const to second parameter.
8996 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8997 INNETGR.
8998 (dbs): Add netgrdb entry.
8999 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9000 (verify_persistent_db): Handle netgrdb.
9001 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9002 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9003 GETFDNETGR.
9004 (netgroup_response_header): Define.
9005 (innetgroup_response_header): Define.
9006 (datahead): Add netgroup_response_header and innetgroup_response_header
9007 elements.
9008 * nscd/nscd.conf: Add entries for netgroup cache.
9009 * nscd/nscd.h (dbtype): Add netgrdb.
9010 (_PATH_NSCD_NETGROUP_DB): Define.
9011 (netgroup_iov_disabled): Declare.
9012 (xmalloc, xcalloc, xrealloc): Move declarations here.
9013 (cache_search): Adjust prototype.
9014 Add netgroup-related prototypes.
9015 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9016 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9017 (__nscd_innetgr): Declare.
9018 * nscd/selinux.c (perms): Use access_vector_t as element type and
9019 add netgroup-related initializers.
9020 * nscd/netgroupcache.c: New file.
9021 * nscd/nscd_netgroup.c: New file.
9022 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9023 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9024 For four parameters use innetgr.
9025 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9026 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9027 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9028 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9029
21fd49a9
UD
9030 * nscd/connections.c (register_traced_file): Don't register file
9031 for disabled databases.
9032
054c0457
UD
90332011-10-06 Ulrich Drepper <drepper@gmail.com>
9034
32b63198
UD
9035 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9036
054c0457
UD
9037 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9038 from tree and freeing node.
9039
64031225
JO
90402011-09-25 Jiri Olsa <jolsa@redhat.com>
9041
9042 * nss/nsswitch.c (__nss_database_lookup): Handle
9043 nss_parse_service_list out of memory case.
9044
0490345c
JO
90452011-09-15 Jiri Olsa <jolsa@redhat.com>
9046
9047 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9048 out of memory case.
9049
3a62d00d
AS
90502011-10-04 Andreas Schwab <schwab@redhat.com>
9051
9052 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9053 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9054 pass it down.
9055 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9056 elf_machine_rela, elf_machine_lazy_rel.
9057 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9058 (ELF_DYNAMIC_DO_REL): Likewise.
9059 (ELF_DYNAMIC_DO_RELA): Likewise.
9060 (ELF_DYNAMIC_RELOCATE): Likewise.
9061 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9062 to ELF_DYNAMIC_DO_REL.
9063 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9064 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9065 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9066 elf_machine_rela.
9067 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9068 skip_ifunc, don't call ifunc function if non-zero.
9069 (elf_machine_rela): Likewise.
9070 (elf_machine_lazy_rel): Likewise.
9071 (elf_machine_lazy_rela): Likewise.
9072 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9073 (elf_machine_lazy_rel): Likewise.
9074 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9075 Likewise.
9076 (elf_machine_lazy_rel): Likewise.
9077 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9078 Likewise.
9079 (elf_machine_lazy_rel): Likewise.
9080 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9081 (elf_machine_lazy_rel): Likewise.
9082 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9083 (elf_machine_lazy_rel): Likewise.
9084 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9085 (elf_machine_lazy_rel): Likewise.
9086 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9087 (elf_machine_lazy_rel): Likewise.
9088 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9089 (elf_machine_lazy_rel): Likewise.
9090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9091 (elf_machine_lazy_rel): Likewise.
9092
68577918
UD
90932011-09-28 Ulrich Drepper <drepper@gmail.com>
9094
9095 * nss/nss_files/files-init.c (_nss_files_init): Use static
9096 initialization for all the *_traced_file variables.
9097
68822d74
AS
90982011-09-28 Andreas Schwab <schwab@redhat.com>
9099
9100 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9101
2056100b
RM
91022011-09-27 Roland McGrath <roland@hack.frob.com>
9103
9104 [BZ #13226]
9105 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9106
32c76b63
AS
91072011-09-27 Andreas Schwab <schwab@redhat.com>
9108
9109 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9110 Reread the line before reparsing it.
9111
bf972c9d
AS
91122011-09-26 Andreas Schwab <schwab@redhat.com>
9113
9114 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9115
e057a1b5
JM
91162011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9117 Maxim Kuvyrkov <maxim@codesourcery.com>
9118 Joseph Myers <joseph@codesourcery.com>
9119
9120 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9121 if needed for __stack_chk_guard.
9122
bc7e1c36
RM
91232011-09-19 Roland McGrath <roland@hack.frob.com>
9124
ecb1482f
RM
9125 * sysdeps/posix/spawni.c (script_execute): Always define it.
9126 It will be optimized away if unused.
9127 (maybe_script_execute): New function.
9128 (__spawni): Call it.
9129
bc7e1c36
RM
9130 * Makerules: Don't include tls.make.
9131 (config-tls): Always set to thread.
9132 * tls.make.c: File removed.
9133
1c3b002b
MF
91342011-09-19 Mike Frysinger <vapier@gentoo.org>
9135
9136 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9137 * config.make.in (CPPFLAGS-config): New substituted variable.
9138
2840865d
UD
91392011-09-15 Ulrich Drepper <drepper@gmail.com>
9140
88738eb6
UD
9141 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9142
cbf645a6 9143 [BZ #13192]
2840865d
UD
9144 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9145 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9146
b402e91a
RM
91472011-09-15 Roland McGrath <roland@hack.frob.com>
9148
9149 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9150 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9151 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9152 (CALL_FAIL): Likewise.
9153 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9154 (CALL_FAIL): Macro removed.
9155 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9156
4c1a1f71
UD
91572011-09-15 Ulrich Drepper <drepper@gmail.com>
9158
9159 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9160 for __FINITE_MATH_ONLY__ == 1.
9161
edc121be
AS
91622011-09-15 Andreas Schwab <schwab@redhat.com>
9163
9164 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9165 __ieee754_sqrt instead of sqrt.
9166 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9167 __ieee754_sqrtf instead of sqrtf.
9168 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9169 __floorf instead of floorf.
9170 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9171 __floorf, __truncf instead of floorf, truncf.
9172
cd205654
UD
91732011-09-14 Ulrich Drepper <drepper@gmail.com>
9174
ee4d0315
UD
9175 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9176
cd205654
UD
9177 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9178 __extern_always_inline.
9179 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9180 32-bit.
9181
48b67d71
AS
91822011-09-14 Andreas Schwab <schwab@redhat.com>
9183
9184 * elf/rtld.c (dl_main): Also relocate in dependency order when
9185 doing symbol dependency testing.
9186
1ae12c75
AS
91872011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9188
9189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9190 Always define `refsym'.
9191
995a80df
AS
91922011-09-13 Andreas Schwab <schwab@redhat.com>
9193
e529793b
AS
9194 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9195 (__FD_ELT): Renamed from __FDELT.
9196 * misc/bits/select2.h (__FD_ELT): Likewise.
9197 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9198 __FD_MASK instead of __FDELT, __FDMASK.
9199 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9200 Likewise.
9201 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9202 Likewise.
9203
52d4fef8
AS
9204 * elf/Makefile (gen-ldd): Fix pattern.
9205
995a80df
AS
9206 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9207 (init_tls): Likewise.
9208
8682f8b0
UD
92092011-09-12 Ulrich Drepper <drepper@gmail.com>
9210
9211 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9212
de82006d
AS
92132011-09-12 Andreas Schwab <schwab@redhat.com>
9214
a7c8e6a1
AS
9215 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9216 `struct cmsghdr *' instead of `void *'.
9217 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9218 Likewise.
9219
0f31fe77
AS
92202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9221
9222 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9223 if non-absolute.
9224 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9225 ldd_rewrite_script.
0f31fe77 9226
32b4c839
UD
92272011-09-11 Ulrich Drepper <drepper@gmail.com>
9228
83cd1420
UD
9229 * configure.in: Remove --with-tls option.
9230 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9231 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9232 out in case it is missing.
9233 * sysdeps/ia64/elf/configure.in: Likewise.
9234 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9235 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9236 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9237 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9238 * sysdeps/sh/elf/configure.in: Likewise.
9239 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9240 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9241 * sysdeps/x86_64/elf/configure.in: Likewise.
9242 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9243 * sysdeps/mach/hurd/tls.h: Likewise.
9244
633f745d
UD
9245 [BZ #13067]
9246 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9247
f318beb8
UD
9248 [BZ #13090]
9249 * configure.in: Fix use of AC_INIT.
9250
32b4c839
UD
9251 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9252
3ce1f295
UD
92532011-09-10 Ulrich Drepper <drepper@gmail.com>
9254
bb016596
UD
9255 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9256 __set_errno.
8e58439c
UD
9257 * malloc/hooks.c: Likewise.
9258
aebae053 9259 [BZ #11929]
02d46fc4
UD
9260 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9261 variables statically.
9262 (narenas): Initialize.
9263 (list_lock): Initialize.
bb016596
UD
9264 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9265 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9266 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9267 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9268 Add initializers to main_arena and mp_.
9269 (malloc_state): Remove pagesize member. Change all users to use
9270 GLRO(dl_pagesize).
9271
9272 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9273 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9274 is always initialized.
9275
22a89187
UD
9276 * malloc/malloc.c: Removed unused configurations and dead code.
9277 * malloc/arena.c: Likewise.
9278 * malloc/hooks.c: Likewise.
02d46fc4 9279 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9280
d063d164
UD
9281 * include/tls.h: Removed. USE___THREAD must always be defined.
9282 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9283 * elf/dl-libc.c: Likewise.
9284 * elf/dl-tsd.c: Likewise.
9285 * include/errno.h: Likewise.
9286 * include/netdb.h: Likewise.
9287 * include/resolv.h: Likewise.
9288 * inet/herrno-loc.c: Likewise.
9289 * inet/herrno.c: Likewise.
9290 * malloc/arena.c: Likewise.
9291 * malloc/hooks.c: Likewise.
9292 * malloc/malloc.c: Likewise.
9293 * resolv/res-state.c: Likewise.
9294 * resolv/res_libc.c: Likewise.
9295 * sysdeps/i386/dl-machine.h: Likewise.
9296 * sysdeps/ia64/dl-machine.h: Likewise.
9297 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9298 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9299 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9300 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9301 * sysdeps/sh/dl-machine.h: Likewise.
9302 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9303 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9304 * sysdeps/unix/i386/sysdep.S: Likewise.
9305 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9306 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9308 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9309 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9311 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9312 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9313 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9315 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9316 * sysdeps/x86_64/dl-machine.h: Likewise.
9317 * tls.make.c: Likewise.
9318
3ce1f295
UD
9319 * configure.in: Remove --with-__thread option. Make tests for
9320 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9321 tls_model attribute fail if no support is available. Remove
9322 USE_IN_LIBIO.
9323 * Makeconfig: Adjust for dropped configure option. All features are
9324 now mandatory.
9325 * Makerules: Likewise.
9326 * Versions.def: Likewise.
9327 * argp/argp-fmtstream.c: Likewise.
9328 * argp/argp-fmtstream.h: Likewise.
9329 * argp/argp-help.c: Likewise.
9330 * assert/assert.c: Likewise.
9331 * config.h.in: Likewise.
9332 * config.make.in: Likewise.
9333 * configure: Likewise.
9334 * configure.in: Likewise.
9335 * csu/Versions: Likewise.
9336 * csu/init.c: Likewise.
9337 * elf/tst-audit2.c: Likewise.
9338 * elf/tst-tls10.c: Likewise.
9339 * elf/tst-tls10.h: Likewise.
9340 * elf/tst-tls11.c: Likewise.
9341 * elf/tst-tls12.c: Likewise.
9342 * elf/tst-tls14.c: Likewise.
9343 * elf/tst-tlsmod11.c: Likewise.
9344 * elf/tst-tlsmod12.c: Likewise.
9345 * elf/tst-tlsmod13.c: Likewise.
9346 * elf/tst-tlsmod13a.c: Likewise.
9347 * elf/tst-tlsmod14a.c: Likewise.
9348 * elf/tst-tlsmod15b.c: Likewise.
9349 * elf/tst-tlsmod16a.c: Likewise.
9350 * elf/tst-tlsmod16b.c: Likewise.
9351 * elf/tst-tlsmod7.c: Likewise.
9352 * elf/tst-tlsmod8.c: Likewise.
9353 * elf/tst-tlsmod9.c: Likewise.
9354 * gmon/gmon.c: Likewise.
9355 * grp/fgetgrent_r.c: Likewise.
9356 * grp/putgrent.c: Likewise.
9357 * hurd/fopenport.c: Likewise.
9358 * include/libc-symbols.h: Likewise.
9359 * include/tls.h: Likewise.
9360 * intl/gettextP.h: Likewise.
9361 * intl/loadinfo.h: Likewise.
9362 * locale/global-locale.c: Likewise.
9363 * locale/localeinfo.h: Likewise.
9364 * mach/devstream.c: Likewise.
9365 * malloc/arena.c: Likewise.
9366 * malloc/set-freeres.c: Likewise.
9367 * misc/err.c: Likewise.
9368 * misc/getttyent.c: Likewise.
9369 * misc/mntent_r.c: Likewise.
9370 * posix/getopt.c: Likewise.
9371 * posix/wordexp.c: Likewise.
9372 * pwd/fgetpwent_r.c: Likewise.
9373 * resolv/Versions: Likewise.
9374 * resolv/res_hconf.c: Likewise.
9375 * shadow/fgetspent_r.c: Likewise.
9376 * shadow/putspent.c: Likewise.
9377 * stdio-common/printf_fphex.c: Likewise.
9378 * stdio-common/tmpfile.c: Likewise.
9379 * stdlib/abort.c: Likewise.
9380 * stdlib/fmtmsg.c: Likewise.
9381 * sunrpc/auth_unix.c: Likewise.
9382 * sunrpc/clnt_perr.c: Likewise.
9383 * sunrpc/clnt_tcp.c: Likewise.
9384 * sunrpc/clnt_udp.c: Likewise.
9385 * sunrpc/clnt_unix.c: Likewise.
9386 * sunrpc/openchild.c: Likewise.
9387 * sunrpc/svc_simple.c: Likewise.
9388 * sunrpc/svc_tcp.c: Likewise.
9389 * sunrpc/svc_udp.c: Likewise.
9390 * sunrpc/svc_unix.c: Likewise.
9391 * sunrpc/xdr.c: Likewise.
9392 * sunrpc/xdr_array.c: Likewise.
9393 * sunrpc/xdr_rec.c: Likewise.
9394 * sunrpc/xdr_ref.c: Likewise.
9395 * sunrpc/xdr_stdio.c: Likewise.
9396
1248c1c4
PB
93972011-09-09 Ulrich Drepper <drepper@gmail.com>
9398
9399 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9400
94012011-07-03 Andreas Jaeger <aj@suse.de>
9402
9403 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9404 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9405 regenerate with gen-libm-tests.pl.
9406
94072010-05-12 Petr Baudis <pasky@suse.cz>
9408
9409 [BZ #11589]
9410 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9411 around j0() zero points by switching to j1().
9412 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9413 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9415 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9416
f22e1074
UD
94172011-09-09 Ulrich Drepper <drepper@gmail.com>
9418
f19009c1
UD
9419 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9420 instead of 0.
9421 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9422 instead of 0. .
9423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9424 Patch in part by Pavel Roskin <proski@gnu.org>.
9425
3f8cc204
UD
9426 [BZ #13138]
9427 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9428 realloc.
9429 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9430 Free memory block if necessary.
9431
f22e1074
UD
9432 [BZ #12847]
9433 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9434 be NULL. Don't lock in this case.
9435
0a2349f9
RM
94362011-09-09 Roland McGrath <roland@hack.frob.com>
9437
9438 * elf/elf.h (ELFOSABI_GNU): New macro.
9439 (ELFOSABI_LINUX): Define to that.
9440
f3cdd467
DZ
94412011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9442
9443 * string/strncat.c (strncat): Undef the symbol in case it has been
9444 defined in bits/string.h.
9445
74718d13
UD
94462011-09-09 Ulrich Drepper <drepper@gmail.com>
9447
633e9e0f
UD
9448 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9449
0a2349f9 9450 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9451 link map.
9452
f9924780
AJ
94532011-08-17 Andreas Jaeger <aj@suse.de>
9454
9455 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9456
7f5517aa
PP
94572011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9458 Ian Lance Taylor <iant@google.com>
9459
9460 * math/libm-test.inc (lround_test): New testcase.
9461 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9462
762011fe
UD
94632011-09-08 Ulrich Drepper <drepper@gmail.com>
9464
92963737
UD
9465 * Makefile: Remove support for automatic cvs check-ins.
9466 * Makerules: Likewise.
9467 * config.make.in: Likewise.
9468 * configure.in: Likewise.
9469 * intl/Makefile: Likewise.
9470 * locale/Makefile: Likewise.
9471 * po/Makefile: Likewise.
9472 * posix/Makefile: Likewise.
9473 * sysdeps/gnu/Makefile: Likewise.
9474 * sysdeps/mach/hurd/Makefile: Likewise.
9475 * sysdeps/sparc/sparc32/Makefile: Likewise.
9476
b0727fd8
JS
9477 [BZ #13118]
9478 * posix/Makefile (bug-regex32-ENV): Define.
9479 Patch by John Stanley <jpsinthemix@verizon.net>.
9480
a0f33f99
UD
9481 * misc/Makefile (headers): Add bits/select2.h.
9482 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9483 * misc/bits/select2.h: New file.
9484 * include/bits/select2.h: New file.
9485 * debug/Makefile (routines): Add fdelt_chk.
9486 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9487 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9488 FD_ISSET.
9489 * debug/fdelt_chk.c: New file.
9490
762011fe
UD
9491 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9492 * wcsmbs/test-wmemcmp.c: Likewise.
9493 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9494 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9495
94962011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9497
9498 * string/Makefile (strop-tests): Add memcmp.
9499 * string/test-wmemcmp.c: New file.
9500 * string/test-memcmp.c: Add wmemcmp support.
9501
7f513ec8
RM
95022011-09-08 Roland McGrath <roland@hack.frob.com>
9503
0442afb4
RM
9504 [BZ #13153]
9505 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9506 2011-07-19 change.
9507
7f513ec8
RM
9508 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9509 garbage value in a __mach_port_mod_refs call in the cases of the
9510 task-self and thread-self ports.
9511
a12b2239
ST
95122011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9513
9514 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9515
610f9ab4
AS
95162011-09-08 Andreas Schwab <schwab@redhat.com>
9517
7f513ec8 9518 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9519
48882a1a
LD
95202011-09-07 Ulrich Drepper <drepper@gmail.com>
9521
b49865be
UD
9522 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9523
fdc86bc9
UD
9524 * elf/dl-libc.c (dlerror_run): Pass back error code from
9525 dl_catch_error.
9526
c966526a
UD
9527 [BZ #13123]
9528 * elf/dl-load.c (lose): Free l_origin if it is valid.
9529
48882a1a
LD
9530 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9531 names.
9532 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9533 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9534 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9535 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9536 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9537 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9538
77a2a8b4
AZ
95392011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9540
9541 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9542 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9543 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9544 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9545 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9546 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9547 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9548 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9549 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9550 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9551
24f579d8
AM
95522011-08-15 Alan Modra <amodra@gmail.com>
9553
9554 [BZ #13092]
9555 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9556 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9557 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9558 ppc_mcount to static-only-routines.
9559 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9560 __mcount_internal.
9561 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9562 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9563
3d4837df
UD
95642011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9565
9566 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9567 for finite and infinity parameters.
9568
22700377
WS
95692011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9570
9571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9572 and add nop instructions for throughput optimization.
9573 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9574
5025581e
WS
95752011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9576
9577 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9578 aligned copy for power7 with vector-scalar instructions.
9579 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9580
08a300c9
L
95812011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9582
9583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9584 AVX check.
9585
59178ef9
AS
95862011-09-07 Andreas Schwab <schwab@redhat.com>
9587
9588 [BZ #13144]
9589 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9590 last change.
9591
e38ba7ab
UD
95922011-09-07 Ulrich Drepper <drepper@gmail.com>
9593
9594 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9595 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9596 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9597 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9598 clock_gettime.
9599
d53a73ac
UD
96002011-09-06 Ulrich Drepper <drepper@gmail.com>
9601
fc8bffcc
UD
9602 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9603 Forgot to demangle the pointer.
9604
ceaa0c5d
UD
9605 * sysdeps/i386/sysdep.h: Define atom_text_section.
9606 * sysdeps/x86_64/sysdep.h: Likewise.
9607 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9608 section with atom_text_section.
9609 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9610 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9611 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9612 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9613 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9614
a77d3c17
UD
9615 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9616 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9617 already be defined. Change to take two parameters and don't assign
9618 result to variable. Adjust all users.
9619 Define INTERNAL_GETTIME if not already defined.
9620 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9621 call.
9622 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9623 HAVE_CLOCK_GETTIME_VSYSCALL.
9624 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9625
d53a73ac
UD
9626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9627 gettimeofday vsyscall, just use time.
9628
a8f84144
AS
96292011-09-06 Andreas Schwab <schwab@redhat.com>
9630
9631 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9632 <errno.h>.
9633
ef606249
UD
96342011-09-06 Ulrich Drepper <drepper@gmail.com>
9635
9636 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9637 syscall on x86-64.
9638 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9639 syscall.
9640 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9641 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9642 syscall if possible.
9643
6585cb60
UD
96442011-09-05 Ulrich Drepper <drepper@gmail.com>
9645
9646 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9647 e_ident. Don't pass to find_mapsXX.
9648 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9649
a5f524e4
LD
96502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9651
9652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9653 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9654 * sysdeps/x86_64/multiarch/strchr.S: Update.
9655 Check bit_slow_BSF bit.
9656 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9657 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9658 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9659
554881ef
UD
96602011-09-05 Ulrich Drepper <drepper@gmail.com>
9661
d96de963
UD
9662 [BZ #13134]
9663 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9664 before glibc 2.15.
9665 (tryshell): Define.
9666 (__spawni): Change last parameter to be flag. Test
9667 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9668 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9669 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9670 * posix/spawni.c: Likewise.
9671 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9672 * posix/spawnp.c: Likewise. Change normal version to use
9673 SPAWN_XFLAGS_USE_PATH.
9674 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9675 SPAWN_XFLAGS_TRY_SHELL.
9676
d48e5868
UD
9677 [BZ #13150]
9678 * posix/glob.h: Remove gcc 1.x support.
9679
554881ef
UD
9680 [BZ #13068]
9681 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9682
693fb948
LD
96832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9684
9685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9686 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9687 strrchr-sse2-bsf
9688 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9689 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9690 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9691 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9692 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9693 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9694
1b48c537
UD
96952011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9696
49d42c37
UD
9697 * sysdeps/x86_64/wcscmp.S: New file.
9698
1b48c537
UD
9699 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9700 wcscmp-c wcscmp-sse2
9701 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9702 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9703 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9704 * wcsmbs/wcscmp.c: Allow renaming.
9705
15c95c5d
DM
97062011-09-05 David S. Miller <davem@davemloft.net>
9707
9708 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9709 stack slot, rather than the struct return pointer slot.
9710 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9711 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9713 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9714
2f0ad8f3
UD
97152011-09-05 Ulrich Drepper <drepper@gmail.com>
9716
d88ae418
UD
9717 * po/ja.po: Update from translation team.
9718
2f0ad8f3
UD
9719 [BZ #13144]
9720 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9721 kernel in 64-bit binaries.
9722
5f4318d1
DM
97232011-09-01 David S. Miller <davem@davemloft.net>
9724
9725 * elf/elf.h (HWCAP_SPARC_*): Move to..
9726 * sysdeps/sparc/sysdep.h: this new file and add new values.
9727 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9728 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9729 _DL_HWCAP_COUNT to 24.
9730 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9731 entries.
9732 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9733 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9734 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9736 instead of magic constants.
9737 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9738
3ba57516
DM
97392011-08-31 David S. Miller <davem@davemloft.net>
9740
9741 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9743 Reimplement to do errno handling inline.
9744 (SYSCALL_ERROR_HANDLER): New macro.
9745 (__SYSCALL_STRING): Do not do errno handling in asm.
9746 (__CLONE_SYSCALL_STRING): Delete.
9747 (__INTERNAL_SYSCALL_STRING): Delete.
9748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9749 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9750 (PSEUDO): Reimplement to do errno handling inline.
9751 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9752 (SYSCALL_ERROR_HANDLER): New macro.
9753 (__SYSCALL_STRING): Do not do errno handling in asm.
9754 (__CLONE_SYSCALL_STRING): Delete.
9755 (__INTERNAL_SYSCALL_STRING): Delete.
9756 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9757 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9758 i386.
9759 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9760 (inline_syscall*): Add 'err' argument.
9761 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9762 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9763 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9764 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9765
9766 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9767 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9768
2bc17433
AS
97692011-08-30 Andreas Schwab <schwab@redhat.com>
9770
9771 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9772
fbeb5f4d
JO
97732011-08-29 Jiri Olsa <jolsa@redhat.com>
9774
9775 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9776 directive.
9777
ad69cc26
DM
97782011-08-24 David S. Miller <davem@davemloft.net>
9779
9780 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9781
39dd69df
AS
97822011-08-24 Andreas Schwab <schwab@redhat.com>
9783
9784 * elf/Makefile: Add rules to build and run unload8 test.
9785 * elf/unload8.c: New file.
9786 * elf/unload8mod1.c: New file.
9787 * elf/unload8mod1x.c: New file.
9788 * elf/unload8mod2.c: New file.
9789 * elf/unload8mod3.c: New file.
9790
9791 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9792 it wasn't used.
9793
2c0b250a
DM
97942011-08-23 David S. Miller <davem@davemloft.net>
9795
9796 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9797 subtract stack bias.
9798 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9799 %sp not %fp in calculations.
9800 (_JMPBUF_UNWINDS_ADJ): Likewise.
9801
22044b48
DM
9802 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9803 (aio_suspend): Call it to force an exception region around the
9804 AIO_MISC_WAIT() invocation.
9805
2cae4995
AS
98062011-08-23 Andreas Schwab <schwab@redhat.com>
9807
9808 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9809 backslash.
9810
873a772e
AJ
98112011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9812
9813 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9814 protection macro.
9815 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9816 and <dl-machine.h>.
9817 (Elf64_FuncDesc): Remove.
9818
25ad0df1
DM
98192011-08-22 David S. Miller <davem@davemloft.net>
9820
9821 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9822 sigaltstack check, add missing cfi directives.
9823 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9824 missing cfi directives, and sigaltstack handling.
9825
e888bcbe
AS
98262011-08-16 Andreas Schwab <schwab@redhat.com>
9827
9828 [BZ #11724]
9829 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9830 object is seen twice.
9831 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9832
9833 * elf/Makefile (distribute): Add tst-initorder2.c.
9834 (tests): Add tst-initorder2.
9835 (modules-names): Add tst-initorder2a tst-initorder2b
9836 tst-initorder2c tst-initorder2d. Add rules to build them.
9837 ($(objpfx)tst-initorder2.out): New rule.
9838 * elf/tst-initorder2.c: New file.
9839 * elf/tst-initorder2.exp: New file.
9840
87162f46
AS
98412011-08-22 Andreas Schwab <schwab@redhat.com>
9842
70538b7f
AS
9843 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9844
f55ffe58
AS
9845 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9846 dependencies back to end of function.
9847
87162f46
AS
9848 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9849 $(elfobjdir)/ld.so.
9850
91b392a4
UD
98512011-08-21 Ulrich Drepper <drepper@gmail.com>
9852
9853 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9854 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9856 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9857 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9858 of __vdso_gettimeofday.
9859 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9860 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9861 attribute_hidden.
9862 (_libc_vdso_platform_setup): Remove initialization of
9863 __vdso_gettimeofday and __vdso_time.
9864
5c43483f
UD
98652011-08-20 Ulrich Drepper <drepper@gmail.com>
9866
775a77e7
UD
9867 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9868 and fgetc_unlocked.
9869 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9870 getc_unlocked.
89f447ed 9871
49c74ba9
UD
9872 * elf/dl-open.c (add_to_global): Report additions to the global scope
9873 for LD_DEBUG=scopes.
9874 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9875 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9876
5c43483f
UD
9877 [BZ #13114]
9878 * stdio-common/Makefile (tests): Add bug24.
9879 * stdio-common/bug24.c: New file.
9880
a101b025
AJ
98812011-08-19 Andreas Jaeger <aj@suse.de>
9882
9883 [BZ #13114]
9884 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9885 non-existant file when using close-on-exec mode.
9886
c88f1766
UD
98872011-08-20 Ulrich Drepper <drepper@gmail.com>
9888
0276a718
UD
9889 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9890 the very first instruction.
9891
c88f1766
UD
9892 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9893 the CFI state in the end.
9894 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9895 inclusion of dl-trampoline.h.
9896 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9897
51ccffa0
AS
98982011-08-19 Andreas Schwab <schwab@redhat.com>
9899
94d7165f
AS
9900 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9901 expectations for long double.
9902
51ccffa0
AS
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9904 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9905
fd708658 99062011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9907
9908 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9909 artificual limit depends upon the system page size.
9910
44f0a71e
UD
99112011-08-17 Ulrich Drepper <drepper@gmail.com>
9912
9913 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9914 * resolv/Makefile: Define CFLAGS-libresolv.
9915
8de79a24
AS
99162011-08-17 Andreas Schwab <schwab@redhat.com>
9917
9918 * nss/makedb.c (compute_tables): Make variables used in nested
9919 function static.
9920
27724598
UD
99212011-08-17 Ulrich Drepper <drepper@gmail.com>
9922
c5305d88
UD
9923 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9924 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9925 if buffer was too small.
9926
27724598
UD
9927 * elf/pldd.c (main): Attach to all threads in the process.
9928 Rewrite /proc handling to use *at functions.
9929
076fe015
UD
99302011-08-16 Ulrich Drepper <drepper@gmail.com>
9931
174baab3
UD
9932 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9933 specifies first scope to show.
9934 (dl_open_worker): Update callers. Move printing scope of new
9935 object to before the relocation.
44f0a71e 9936 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9937 * sysdeps/generic/ldsodefs.h: Update declaration.
9938
076fe015
UD
9939 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9940 string for the scope number.
9941
a60df2c3
UD
99422011-08-14 Ulrich Drepper <drepper@gmail.com>
9943
9944 * nscd/servicescache.c (cache_addserv): Make sure written is always
9945 initialized.
9946
5e4287d1
RM
99472011-08-14 Roland McGrath <roland@hack.frob.com>
9948
85ae0589
RM
9949 * sysdeps/i386/i486/bits/atomic.h
9950 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9951 statement expression, so as to suppress "set but not used" warning.
9952 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9953
69f63097
RM
9954 * string/strncat.c (STRNCAT): Use prototype definition.
9955
675456ef
RM
9956 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9957 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9958 -Iprograms here.
9959 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9960 (localedef-modules): Add localedef.
9961 (locale-modules): Add locale.
9962
5e4287d1
RM
9963 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9964 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9965 to avoid a warning.
9966
9c96ff23
DM
99672011-08-14 David S. Miller <davem@davemloft.net>
9968
9969 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9970 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9971
f9ddf089
UD
99722011-08-13 Ulrich Drepper <drepper@gmail.com>
9973
44f0a71e 9974 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9975 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9976 * elf/rtld.c (dl_main): Set l_name of vDSO.
9977 Call _dl_show_scope when DL_DEBUG_SCOPES.
9978 (process_dl_debug): Recognize scopes flag and also set it for all.
9979 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9980 Declare _dl_show_scope.
9981
1dc27704
UD
9982 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9983 (do_dlopen): Pass caller_dlopen to dl_open.
9984 (__libc_dlopen_mode): Initialize caller_dlopen.
9985
f9ddf089
UD
9986 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9987 of libc. Make tolower call locale-independent. Optimize a bit by
9988 using isdigit instead of isalnum.
9989 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9990
9ac533d3
UD
99912011-08-12 Ulrich Drepper <drepper@gmail.com>
9992
9993 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9994 was a dependency or dynamically loaded.
9995
89edf2e9
UD
99962011-08-11 Ulrich Drepper <drepper@gmail.com>
9997
8e999d29
UD
9998 * intl/l10nflist.c: Allow architecture-specific pop function.
9999 * sysdeps/x86_64/l10nflist.c: New file.
10000
89edf2e9
UD
10001 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10002 classification.
10003
14d96785
AS
100042011-08-10 Andreas Schwab <schwab@redhat.com>
10005
10006 * include/dirent.h: Add libc_hidden_proto for scandirat and
10007 scandirat64. Don't declare __scandirat64.
10008 * dirent/scandirat.c: Add libc_hidden_def.
10009 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10010 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10011
6761ac04
DM
100122011-08-10 David S. Miller <davem@davemloft.net>
10013
10014 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10015 enum.
10016 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10017 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10018 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10019
c55fbd1e
UD
100202011-08-09 Ulrich Drepper <drepper@gmail.com>
10021
10022 * Versions.def [libc]: Add GLIBC_2.15.
10023 * dirent/Makefile (routines): Add scandirat and scandirat64.
10024 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10025 GLIBC_2.15.
10026 * dirent/dirent.h: Declare scandirat and scandirat64.
10027 * dirent/scandirat.c: New file.
10028 * dirent/scandirat64.c: New file.
10029 * sysdeps/wordsize-64/scandirat.c: New file.
10030 * sysdeps/wordsize-64/scandirat64.c: New file.
10031 * dirent/opendir.c: Define opendirat.
10032 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10033 using scandirat.
10034 * dirent/scandir64.c: Adjust for scandir.c change.
10035 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10036 __scandirat64, and __scandir_cancel_handler.
10037 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10038 additional parameter and use openat instead of open (outside of ld.so).
10039 Add new __opendir as wrapper around __opendirat.
10040 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10041 here without requiring old scandirat implementation.
10042
879165f2
UD
100432011-08-08 Ulrich Drepper <drepper@gmail.com>
10044
10045 * dirent/scandir.c (cancel_handler): Renamed to
10046 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10047 defined. Adjust users.
10048 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10049 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10050
cb7e923b
UD
100512011-08-04 Ulrich Drepper <drepper@gmail.com>
10052
16292edd
UD
10053 * string/test-string.h (IMPL): Use __STRING to expand name and then
10054 stringify it.
10055
cb7e923b
UD
10056 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10057 of cleanups.
10058
cff82933
LD
100592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10060
10061 * string/Makefile: Update.
10062 (strop-tests): Append strncat.
10063 * string/test-wcscmp.c: New file.
10064 New comprehensive test for wcscmp.
10065 * string/test-strcmp.c: Update.
10066 (WIDE): New define.
10067
9be9bfcc
AS
100682011-07-22 Andreas Schwab <schwab@redhat.com>
10069
10070 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10071 line.
10072
2e96f1c7
AS
100732011-07-26 Andreas Schwab <schwab@redhat.com>
10074
10075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10076 encoding to ACE if AI_IDN.
10077
85188888
JJ
100782011-08-01 Jakub Jelinek <jakub@redhat.com>
10079
10080 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10081 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10082
5fa16e9b
LD
100832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10084
10085 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10086 Fix overflow bug in strncat.
10087 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10088
10089 * string/test-strncat.c: Update.
10090 Add new tests for checking overflow bugs.
10091
100922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10093
10094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10095 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10096 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10097 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10098 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10099 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10100 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10101 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10102 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10103
10104 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10105 (USE_AS_STRCAT): Define.
10106 Add strcat and strncat support.
10107 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10108
8c1a459f
AS
101092011-07-25 Andreas Schwab <schwab@redhat.com>
10110
10111 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10112 __n bigger than INT_MAX+1.
10113 (__strncmp_g): Likewise.
10114
bba33c28
UD
101152011-07-23 Ulrich Drepper <drepper@gmail.com>
10116
798be72d
UD
10117 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10118 * libio/stido.h: Likewise.
10119
8accd4dc
UD
10120 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10121 (AF_NFC): Define.
10122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10123 (AF_NFC): Define.
10124
cbff0d96
UD
10125 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10126 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10127 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10128 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10129 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10130
9191c04a
UD
10131 [BZ #13021]
10132 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10133 installed.
10134
bba33c28
UD
10135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10136 typo.
10137 (_dl_x86_64_save_sse): Likewise.
10138
90f139dd
UD
101392011-07-22 Ulrich Drepper <drepper@gmail.com>
10140
1aae088a
UD
10141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10142 OSXSAVE.
10143 (_dl_x86_64_save_sse): Likewise.
10144
8e2045f5
UD
10145 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10146
90f139dd
UD
10147 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10148
1d002f25
AS
101492011-07-21 Andreas Schwab <schwab@redhat.com>
10150
10151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10152 change.
10153 (_dl_x86_64_save_sse): Use correct AVX check.
10154
21137f89
UD
101552011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10156
10157 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10158 bug in strncpy/strncat.
10159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10160
a65c0b7a
UD
101612011-07-21 Ulrich Drepper <drepper@gmail.com>
10162
10163 * string/tester.c (test_strcat): Add tests for different alignments
10164 of source and destination.
10165 (test_strncat): Likewise.
10166
6986b98a
UD
101672011-07-20 Ulrich Drepper <drepper@gmail.com>
10168
90bb2039
UD
10169 [BZ #12852]
10170 * posix/glob.c (glob): Check passed in values before using them in
10171 expressions to avoid some overflows.
10172 (glob_in_dir): Likewise.
10173
5644ef54
UD
10174 [BZ #13007]
10175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10176 check for AVX enablement so that we don't crash with old kernels and
10177 new hardware.
10178 * elf/tst-audit4.c: Add same checks here.
10179 * elf/tst-audit6.c: Likewise.
10180
10181 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10182
bfc9dc9b
AS
101832011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10184
10185 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10186
702e64bb
UD
101872011-07-20 Ulrich Drepper <drepper@gmail.com>
10188
10189 * po/cs.po: Update from translation team.
10190 * po/bg.po: Likewise.
10191
295e904f
MP
101922011-07-12 Marek Polacek <mpolacek@redhat.com>
10193
10194 * misc/sys/cdefs.h: Add support for const attribute.
10195 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10196 to gnu_dev_{major,minor,makedev} functions.
10197
3ff94596
MP
101982011-07-20 Marek Polacek <mpolacek@redhat.com>
10199
10200 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10201
28b59fca
AS
102022011-07-20 Andreas Schwab <schwab@redhat.com>
10203
10204 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10205 strlen results.
10206
19df733e
AK
102072011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10208
10209 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10210 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10211 register in order to avoid conflicts with the soft frame pointer
10212 being held in r11 when necessary.
10213 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10214 (INTERNAL_VSYSCALL_NCS): Likewise.
10215
c8835729
MP
102162011-07-14 Marek Polacek <mpolacek@redhat.com>
10217
10218 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10219 * elf/dl-fini.c (_dl_fini): Adjust caller.
10220 * elf/dl-close.c (_dl_close_worker): Likewise.
10221 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10222
b902330c
MP
102232011-07-15 Marek Polacek <mpolacek@redhat.com>
10224
8991e135
MP
10225 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10226 "aux_cache->nlibs < 0".
10227
b902330c
MP
10228 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10229 in the reload-count case.
10230
99710781
LD
102312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10232
10233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10234 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10235 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10236 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10237 * sysdeps/x86_64/multiarch/strcat.S: New file.
10238 * sysdeps/x86_64/multiarch/strncat.S: New file.
10239 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10240 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10241 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10242 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10243 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10244 (USE_AS_STRCAT): Define.
10245 Add strcat and strncat support.
10246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10247 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10248 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10249 * string/strncat.c: Update.
10250 (USE_AS_STRNCAT): Define.
10251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10252 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10253 and i7.
10254 * sysdeps/x86_64/multiarch/init-arch.h
10255 (bit_Prefer_PMINUB_for_stringop): New.
10256 (index_Prefer_PMINUB_for_stringop): Likewise.
10257 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10258 bit_Prefer_PMINUB_for_stringop.
10259
7dc6bd90
UD
102602011-07-19 Ulrich Drepper <drepper@gmail.com>
10261
10262 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10263 buffer64.
10264 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10265 of casting of buffer.
10266 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10267 buffer32 and buffer64.
10268 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10269 writes instead of casting of buffer.
10270 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10271 buffer32.
10272 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10273 casting of buffer.
10274
e0e72284
AS
102752011-07-19 Andreas Schwab <schwab@redhat.com>
10276
10277 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10278
feb1eb0b
UD
102792011-07-19 Ulrich Drepper <drepper@gmail.com>
10280
10281 * nscd/nscd.c (termination_handler): Don't do anything for a database
10282 if it has not yet been initialized.
10283
298711ff
UD
102842011-07-18 Ulrich Drepper <drepper@gmail.com>
10285
10286 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10287
102882011-07-15 Marek Polacek <mpolacek@redhat.com>
10289
10290 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10291
f9d68389
UD
102922011-07-18 Ulrich Drepper <drepper@gmail.com>
10293
10294 * po/nl.po: Update from translation team.
10295 * po/sv.po: Likewise.
10296
db290cf5
RM
102972011-07-16 Roland McGrath <roland@hack.frob.com>
10298
10299 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10300 now disallowed by GCC.
5c550700 10301
fd5e21c7
RM
10302 * configure.in (use-default-link): Default to yes if a test -shared
10303 link meets our qualifications.
10304 * configure: Regenerated.
10305
5c550700
RM
10306 * config.make.in (output-format): New variable.
10307 * configure.in: Check for ld --print-output-format support.
10308 * configure: Regenerated.
10309 * Makerules ($(common-objpfx)format.lds)
10310 [$(output-format) != unknown]: Just use $(output-format),
10311 instead of the linker-script munging.
10312
9fa2c032
RM
103132011-07-14 Roland McGrath <roland@hack.frob.com>
10314
a6928d51
RM
10315 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10316 of $(common-objpfx)shlib.lds.
10317 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10318
661607b3
RM
10319 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10320 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10321
9fa2c032
RM
10322 * configure.in (-z relro check): Adjust test code to add a large
10323 writable data section after it.
10324 * configure: Regenerated.
10325
defe9061
RM
103262011-07-11 Roland McGrath <roland@hack.frob.com>
10327
10328 * configure.in (-z relro check): Fix test code to make the variable
10329 truly const.
10330 * configure: Regenerated.
10331
319b9ad4
UD
103322011-07-11 Ulrich Drepper <drepper@gmail.com>
10333
10334 * nscd/nscd.h (struct traced_file): Define.
10335 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10336 elements. Add traced_files.
10337 (inotify_fd): Declare.
10338 (register_traced_file): Declare.
10339 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10340 (inotify_fd): Export.
10341 (resolv_conf_descr): Remove.
10342 (nscd_init): Move inotify descriptor creation to main.
10343 Don't register files for notification here.
10344 (register_traced_file): New function.
10345 (invalidate_cache): Don't use reset_res to determine whether to call
10346 res_init, go through the list of registered files.
10347 (main_loop_poll): The inotify descriptors are now stored in the
10348 structures for the traced files.
10349 (main_loop_epoll): Likewise
10350 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10351 to __nss_disable_nscd.
10352 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10353 for a database anymore. Check the records for all the registered
10354 files instead.
10355 * nss/Makefile (libnss_files-routines): Add files-init.
10356 (libnss_db-routines): Add db-init.
10357 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10358 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10359 * nss/nss_db/db-init.c: New file.
10360 * nss/nss_files/files-init.c: New file.
10361 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10362 __nss_lookup_function.
10363 (__nss_lookup_function): Call nss_load_library.
10364 (nss_load_all_libraries): New function.
10365 (__nss_disable_nscd): Take parameter with callback function for files
10366 to register. Set is_nscd. Load all the DSOs for the NSS modules
10367 used for the cached services.
10368 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10369 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10370 options for features to all the files in nscd.
10371
10372 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10373
23bee3e8
RM
103742011-07-10 Roland McGrath <roland@hack.frob.com>
10375
10376 * csu/elf-init.c (__libc_csu_init): Comment typo.
10377
46a5b7f0
UD
103782011-07-09 Ulrich Drepper <drepper@gmail.com>
10379
10380 * po/pl.po: Update from translation team.
10381 * po/ja.po: Likewise.
10382 * po/ru.po: Likewise.
10383 * po/ko.po: Likewise.
10384 * po/fr.po: Likewise.
10385
d30cf5bb
RM
103862011-07-09 Roland McGrath <roland@hack.frob.com>
10387
113ddea4
RM
10388 * configure.in (.ctors/.dtors header and trailer check):
10389 Use an empirical test on a built program.
10390 * configure: Regenerated.
10391
574920b4
RM
10392 * configure.in (-z relro check): Use an empirical test on a built DSO.
10393 Detect, but do not require, on ia64.
10394 * configure: Regenerated.
10395
d30cf5bb
RM
10396 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10397 Update tests that use readelf to use $READELF instead.
10398 * configure: Regenerated.
10399
8538fdb3
UD
104002011-07-08 Ulrich Drepper <drepper@gmail.com>
10401
10402 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10403 if the result is not used.
10404
04d08991
AJ
104052011-07-05 Andreas Jaeger <aj@suse.de>
10406
10407 [BZ#9696]
10408 * stdlib/tst-strtod.c: Add testcase.
10409
de283087
AD
104102011-07-07 Ulrich Drepper <drepper@gmail.com>
10411
4e5f31c8 10412 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10413 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10414 The latter has a higher limit. Take additional parameter to pass to
10415 the new function.
10416 (__pathconf): Pass file to __statfs_link_max.
10417 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10418 __statfs_link_max.
10419 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10420 __statfs_link_max.
10421
de283087
AD
10422 [BZ #12868]
10423 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10424 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10425 Handle Lustre.
10426 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10427 (__statfs_filesize_max): Likewise.
10428 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10429
c75fa153
AJ
104302011-07-05 Andreas Jaeger <aj@suse.de>
10431
10432 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10433
1a544854
UD
104342011-07-06 Marek Polacek <mpolacek@redhat.com>
10435
10436 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10437 `status' variable.
10438 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10439 Likewise.
10440
6f0eec67
UD
104412011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10442
10443 * Makefile (strop-tests): Add strncat.
10444 * string/test-strncat.c: New file.
10445
aae30307
UD
104462011-06-30 Marek Polacek <mpolacek@redhat.com>
10447
10448 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10449
c0cfb5eb
UD
104502011-06-21 Andreas Jaeger <aj@suse.de>
10451
10452 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10453 Copy rule from iconvdata/Makefile.
10454
01636b21
UD
104552011-07-06 Ulrich Drepper <drepper@gmail.com>
10456
10457 [BZ #12922]
10458 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10459 but no long options are defined, just return 'W'.
10460
9895c8bc
UD
104612011-06-22 Marek Polacek <mpolacek@redhat.com>
10462
10463 [BZ #9696]
10464 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10465
5d4cf042
UD
104662011-07-06 Ulrich Drepper <drepper@gmail.com>
10467
10468 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10469 netgroups to read.
960e5535 10470 (innetgr): Likewise.
5d4cf042 10471
751eb97e
RM
104722011-07-05 Roland McGrath <roland@hack.frob.com>
10473
10474 * config.make.in (install_root): Default to $(DESTDIR).
10475
f15f1e45
UD
104762011-07-05 Ulrich Drepper <drepper@gmail.com>
10477
10478 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10479
4e34ac6a
RM
104802011-07-02 Roland McGrath <roland@hack.frob.com>
10481
5e9b6af4
RM
10482 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10483
84f9ea0f
RM
10484 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10485 containing directory rather than embedding absolute directory names.
10486
ea5ee9f7
RM
10487 * scripts/check-local-headers.sh: Rewritten using awk.
10488 Match by word, not by line. Print error messages for matches.
10489 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10490
1b74661a
RM
10491 * Makerules [shlib-lds-flags empty]:
10492 ($(common-objpfx)libc_pic.opts): New target.
10493 ($(common-objpfx)libc_pic.os.clean): New target.
10494 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10495
10496 * config.make.in (OBJCOPY): New variable.
10497 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10498 * configure: Regenerated.
10499
f781ef40
RM
10500 * config.make.in (use-default-link): New variable.
10501 * configure.in (use_default_link): Grok --with-default-link to set it.
10502 * configure: Regenerated.
10503 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10504 (shlib-lds, shlib-lds-flags): Define to empty.
10505
2d4fa81e
RM
10506 * Makerules (shlib-lds): New variable.
10507 (shlib-lds-flags): New variable.
10508 (build-shlib, build-moduile, build-module-asneeded): Use it.
10509 ($(common-objpfx)libc.so): Use $(shlib-lds).
10510 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10511 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10512
31fffa6b
RM
10513 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10514 DT_FLAGS/DT_FLAGS_1 with zero flags.
10515
4e34ac6a
RM
10516 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10517 linker script munging.
10518
fcfc776b
UD
105192011-07-02 Ulrich Drepper <drepper@gmail.com>
10520
10521 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10522 as 128-bit value.
10523 * crypt/sha512.c (sha512_process_block): Perform total addition using
10524 128-bit if possible.
10525 (__sha512_finish_ctx): Likewise.
10526 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10527 as 64-bit value.
10528 * crypt/sha256.c (SWAP64): Define.
10529 (sha256_process_block): Perform total addition using 64-bit if
10530 possible.
10531 (__sha256_finish_ctx): Likewise.
10532
99231d9a
UD
105332011-07-01 Ulrich Drepper <drepper@gmail.com>
10534
10535 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10536 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10537 * nscd/hstcache.c (cache_addhst): Likewise.
10538 * nscd/grpcache.c (cache_addgr): Likewise.
10539 * nscd/aicache.c (addhstaiX): Likewise
10540 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10541
445b4a53
TK
105422011-07-01 Thorsten Kukuk <kukuk@suse.de>
10543
10544 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10546 * nscd/hstcache.c (cache_addhst): Likewise.
10547 * nscd/grpcache.c (cache_addgr): Likewise.
10548 * nscd/aicache.c (addhstaiX): Likewise
10549
6d4d8e8e
AS
105502011-07-01 Andreas Schwab <schwab@redhat.com>
10551
10552 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10553 domain only when needed.
10554
89f654c5
AS
105552011-06-30 Andreas Schwab <schwab@redhat.com>
10556
10557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10558 is always restored.
10559
cf3b23ff
UD
105602011-06-29 Ulrich Drepper <drepper@gmail.com>
10561
10562 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10563 are re-adding the entry.
10564 * nscd/servicescache.c (cache_addserv): Likewise.
10565
751626f9
AJ
105662011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10567
10568 * sysdeps/generic/dl-irel.h: fix protection against multiple
10569 inclusions.
10570 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10571
9113ea1f
UD
105722011-06-28 Ulrich Drepper <drepper@gmail.com>
10573
5c0b8d90
UD
10574 [BZ #12935]
10575 * malloc/memusage.sh: Fix quoting in message.
10576 * debug/xtrace.sh: Likewise.
10577
9113ea1f
UD
10578 * configure.in: Remove support for --experimental-malloc option, make
10579 it the default.
10580 * config.make.in: Likewise.
10581 * malloc/Makefile: Likewise.
10582
a4172181
AS
105832011-06-27 Andreas Schwab <schwab@redhat.com>
10584
10585 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10586 two-byte characters.
10587
78a7eee7
RM
105882011-06-27 Roland McGrath <roland@hack.frob.com>
10589
62bede13
RM
10590 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10591 AC_CACHE_CHECK invocation.
10592 * configure: Regenerated.
10593
78a7eee7
RM
10594 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10595
5ce33a62
UD
105962011-06-27 Ulrich Drepper <drepper@gmail.com>
10597
034807a9
UD
10598 [BZ #12350]
10599 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10600 bit from old_res_options.
10601
4902da17
UD
10602 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10603
5ce33a62
UD
10604 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10605 value type for setfct.
10606
c2344f56
L
106072011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10608
10609 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10610 __gettimeofday instead of gettimeofday.
10611
68468076
UD
106122011-06-26 Ulrich Drepper <drepper@gmail.com>
10613
10614 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10615
acb0d739
L
106162011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10617
10618 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10619
10620 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10621 info.
10622
8912479f
L
106232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10624
10625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10626 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10627 strcpy-sse2-unaligned strncpy-sse2-unaligned
10628 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10629 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10630 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10631 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10632 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10633 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10634 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10635 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10636 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10637 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10638 (STRCPY): Support SSE2 and SSSE3 versions.
10639
d5495a11
UD
106402011-06-24 Ulrich Drepper <drepper@gmail.com>
10641
10642 [BZ #12874]
10643 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10644 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10645 kernels which artificially limit size of requests.
10646
0b1cbaae
L
106472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10648
10649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10650 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10651 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10652 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10653 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10654 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10655 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10656 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10657 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10659 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10660 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10661 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10662 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10663 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10665 Enable unaligned load optimization for Intel Core i3, i5 and i7
10666 processors.
10667 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10668 Define.
10669 (index_Fast_Unaligned_Load): Define.
10670 (HAS_FAST_UNALIGNED_LOAD): Define.
10671
07f494a0
MP
106722011-06-23 Marek Polacek <mpolacek@redhat.com>
10673
10674 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10675
fa3fc0fe
UD
106762011-06-22 Ulrich Drepper <drepper@gmail.com>
10677
10678 [BZ #12907]
10679 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10680 until it is clear that the information is realy needed.
10681 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10682
e12df166
AS
106832011-06-22 Andreas Schwab <schwab@redhat.com>
10684
10685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10686
852eb34d
UD
106872011-06-22 Ulrich Drepper <drepper@gmail.com>
10688
84e2a551
UD
10689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10690 /sys/devices/system/cpu/online if it is usable.
10691
852eb34d
UD
10692 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10693 reading the information from the /proc filesystem to once a second.
10694
6e502e19
UD
106952011-06-21 Andreas Jaeger <aj@suse.de>
10696
10697 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10698 NULL after inclusion of kernel headers.
10699
75d39ff2
UD
107002011-06-21 Ulrich Drepper <drepper@gmail.com>
10701
51f9aa6a
UD
10702 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10703 calls to internal_setent.
10704
c0244a9d
UD
10705 [BZ #12885]
10706 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10707 addresses using gethostbyname4_r ignore IPv4 addresses.
10708
c5e3c2ae
UD
10709 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10710 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10711
75d39ff2
UD
10712 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10713
42675c6f
DM
107142011-06-20 David S. Miller <davem@davemloft.net>
10715
10716 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10717 inclusions.
10718 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10719
10720 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10721 (elf_irel): Use it.
10722 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10723 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10724 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10725 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10726 * sysdeps/x86_64/dl-irel.h: Likewise.
10727
10728 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10729 * elf/dl-sym.c: Likewise.
10730
57912a71
UD
107312011-06-15 Ulrich Drepper <drepper@gmail.com>
10732
10733 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10734 need to dereference resplen2.
10735
ee22793d
AS
107362011-06-14 Andreas Schwab <schwab@redhat.com>
10737
10738 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10739
a9e836b0
UD
107402011-06-15 Ulrich Drepper <drepper@gmail.com>
10741
77fb9117
UD
10742 * Makeconfig: Define vardbdir and inst_vardbdir.
10743 * nss/Makefile: Add rules to install db-Makefile.
10744
40c1b22c
UD
10745 * nss/nss_db/db-XXX.c: Cleanup.
10746
9f2da732
UD
10747 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10748 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10749 GLIBC_PRIVATE.
10750 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10751 * nss/makedb.c: Implement -g option to specify that value strings
10752 are generated and should not be added to table iterated over for
10753 get*ent calls.
10754 * nss/nss_db/db-initgroups.c: New file.
10755
82e9a1f7
UD
10756 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10757 interface.
10758
c41af17e
UD
10759 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10760 (internal_getgrouplist): Adjust to name change.
10761 Update use_initgroups_entry if this is not the first call.
10762 * nss/databases.def: Add initgroups entry.
10763
a9e836b0
UD
10764 * nss/makedb.c (compute_tables): Check result of multiple hash table
10765 sizes to minimize maximum chain length.
10766
2666d441
UD
107672011-06-14 Ulrich Drepper <drepper@gmail.com>
10768
10769 * Versions.def: Add entry for libnss_db.
10770 * shlib-versions: Likewise.
10771 * nss/Makefile: Add rules to build libnss_db.
10772 * nss/Versions: Add libnss_db information. Organize libnss_files
10773 entries better.
10774 * nss/db-Makefile: Add gshadow support. Change rules for the new
10775 makedb progra. Some minor improvements to generate smaller files.
10776 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10777 here from...
10778 * nss/makedb.c: ...here.
10779 Improve database format to be smaller and require less memory at
10780 runtime.
10781 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10782 db anymore.
10783 * nss/nss_db/db-netgrp.c: Likewise.
10784 * nss/nss_db/db-open.c: Likewise.
10785 * nss/nss_files/flies-XXX.x: Adjust comments.
10786 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10787 * nss/nss_files/files-grp.c: Likewise.
10788 * nss/nss_files/files-hosts.c: Likewise.
10789 * nss/nss_files/files-network.c: Likewise.
10790 * nss/nss_files/files-proto.c: Likewise.
10791 * nss/nss_files/files-pwd.c: Likewise.
10792 * nss/nss_files/files-rpc.c: Likewise.
10793 * nss/nss_files/files-service.c: Likewise.
10794 * nss/nss_files/files-sgrp.c: Likewise.
10795 * nss/nss_files/files-spwd.c: Likewise.
10796 * nss/nss_db/db-alias.c: Removed.
10797 * nss/nss_db/dummy-db.h: Removed.
10798
9ee76b5a
UD
107992011-06-02 Ulrich Drepper <drepper@gmail.com>
10800
10801 * nss/makedb.c: Rewritten to not use database library.
10802 * nss/Makefile: Update to build new makedb program.
10803
c71ca1f8
AJ
108042011-06-14 Andreas Jaeger <aj@suse.de>
10805
10806 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10807 memset declaration.
10808
3154bfb8
UD
108092011-06-10 Andreas Schwab <schwab@redhat.com>
10810
10811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10812 tmpbuf.
10813
b350afab
RM
108142011-06-10 Roland McGrath <roland@hack.frob.com>
10815
decd4e50
RM
10816 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10817 * elf/Makefile ($(objpfx)ld.so): Likewise.
10818
5615eaf2
RM
10819 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10820 Don't list ld.so twice in dependencies.
10821
10822 * posix/bug-regex31.c: Include <stdlib.h>.
10823
10824 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10825
10826 * nis/nss_compat/compat-spwd.c
10827 (getspent_next_nss_netgr): Remove unused variable.
10828 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10829
10830 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10831 nonmembers" output to use the right array.
10832
10833 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10834
10835 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10836
10837 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10838 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10839 * catgets/gencat.c (read_input_file): Likewise.
10840 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10841
10842 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10843 variable definition inside #if's controlling its use.
10844
10845 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10846
10847 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10848
10849 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10850
10851 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10852 unreachable code.
10853
10854 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10855
b68e08db
RM
10856 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10857 * configure: Regenerated.
10858
b350afab
RM
10859 * Makerules: Revert last change.
10860 * elf/Makefile: Likewise.
10861
28368601
RM
108622011-06-09 Roland McGrath <roland@hack.frob.com>
10863
10864 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10865 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10866 (reloc-link): Likewise.
10867
11988f8f
UD
108682011-06-09 Ulrich Drepper <drepper@gmail.com>
10869
10870 * elf/Makefile: Add rules to build pldd.
10871 * elf/pldd.c: New file.
10872 * elf/pldd-xx.c: New file.
10873
e80fab37
UD
108742011-06-07 Ulrich Drepper <drepper@gmail.com>
10875
10876 * version.h: Update for 2.15 development version.
10877
9b849836
DM
108782011-06-07 David S. Miller <davem@davemloft.net>
10879
10880 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10881 ifuncs.
10882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10883 elf_machine_lazy_rel): Likewise.
10884 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10886 elf_machine_lazy_rel): Likewise.
10887 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10888 dl_hwcap via passed in argument.
10889 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10890 Likewise.
10891
5a31b283
AK
108922011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10893
10894 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10895
069e52f8
RM
108962011-06-06 Roland McGrath <roland@hack.frob.com>
10897
10898 [BZ #12849]
10899 * manual/fdl-1.1.texi: New file, verbatim from:
10900 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10901 * manual/lgpl-2.1.texi: New file, verbatim from:
10902 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10903 * manual/Makefile (licenses): New variable, list those new file names.
10904 (texis): Use it.
10905 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10906
10907 * manual/fdl.texi: File removed.
10908 * manual/lesser.texi: File removed.
10909 * manual/libc.texinfo (Copying, Documentation License):
10910 Use new @include file names, put @appendix directive before @include.
10911
f16846a5
JJ
109122011-06-04 Jakub Jelinek <jakub@redhat.com>
10913
10914 [BZ #12841]
10915 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10916 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10917 (mq_open): Add __NTH.
10918
3d29045b
L
109192011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10920
10921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10922 Assume Intel Core i3/i5/i7 processor if AVX is available.
10923
8c297311
UD
109242011-05-31 Ulrich Drepper <drepper@gmail.com>
10925
10926 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10927 typo.
10928
c8fc0c91
UD
109292011-05-31 Andreas Schwab <schwab@redhat.com>
10930
10931 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10932 memory. Use alloca_account. Fix memory leak when retrying.
10933
5b27a807
UD
109342011-05-31 Ulrich Drepper <drepper@gmail.com>
10935
356f8bc6
UD
10936 * version.h (RELEASE): Bump for 2.14 release.
10937 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10938
5b27a807
UD
10939 * config.make.in (RANLIB): Remove entry.
10940
01f16ab0
UD
109412011-05-30 Ulrich Drepper <drepper@gmail.com>
10942
41fce8bd
UD
10943 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10944 (libc.pot): Work around missing support for .ksh extension in xgettext.
10945
4769ae77
UD
10946 [BZ #12684]
10947 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10948 if both request failed.
10949 (send_dg): In case of server errors clear resplen or *resplen2.
10950
6b1e7d19
UD
10951 [BZ #12454]
10952 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10953 when there are multiple maps.
10954 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10955 (_dl_fini): Remove test here.
10956
01f16ab0
UD
10957 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10958
b1ebd700
UD
109592011-05-29 Ulrich Drepper <drepper@gmail.com>
10960
7ae22829
UD
10961 [BZ #12350]
10962 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10963 bit from old_res_options.
10964 (gaih_inet): Likewise.
10965
553149f6 10966 [BZ #11099]
18a84741 10967 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10968 as signed.
10969
652ffab1
UD
10970 * resolv/res_init.c (res_setoptions): Make the code more compact.
10971
16985fd0
UD
10972 [BZ #11558]
10973 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10974 set RES_USEVC.
10975
0464f746
UD
10976 [BZ #11634]
10977 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10978
7d17596c
UD
10979 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10980
cf6bbbd7
UD
10981 [BZ #11781]
10982 * malloc/malloc.h: Declare malloc hook variables as volatile.
10983
13f1ab36
UD
10984 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10985 in last patch.
10986
b1ebd700
UD
10987 [BZ #11799]
10988 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10989 raise in the comment.
80e2212d
UD
10990 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10991 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10992 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10993
ce67228d
UD
109942011-05-28 Ulrich Drepper <drepper@gmail.com>
10995
8887a920
UD
10996 [BZ #12811]
10997 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10998 grow the buffers more if it already has to be sufficient.
10999 (build_wcs_upper_buffer): Likewise.
11000 * posix/regexec.c (check_matching): Likewise.
11001 (clean_state_log_if_needed): Likewise.
11002 (extend_buffers): Don't enlarge buffers beyond size of the input
11003 buffer.
11004 Patches mostly by Emil Wojak <emil@wojak.eu>.
11005 * posix/bug-regex32.c: New file.
11006 * posix/Makefile (tests): Add bug-regex32.
11007
4f031072
UD
11008 * locale/findlocale.c (_nl_find_locale): Return right away if
11009 _nl_explode_name failed.
11010 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11011
d0478f0c
UD
11012 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11013
de81b246
UD
11014 * debug/xtrace.sh: Unify messages.
11015 * malloc/memusage.sh: Likewise.
11016
c738465a
UD
11017 [BZ #12813]
11018 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11019 time symbol from vDSO. Substitute with vsyscall if not available.
11020 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11021 __vdso_time.
11022
f1f929d7
UD
11023 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11024 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11025 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11026 Add sendmmsg and internal_sendmmsg.
11027 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11028 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11029 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11030
ce67228d
UD
11031 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11032 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11033 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11034
e57420c6
UD
110352011-05-27 Ulrich Drepper <drepper@gmail.com>
11036
a8509ca5
UD
11037 [BZ #12813]
11038 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11039 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11040 available.
11041 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11042 __vdso_getcpu.
11043
e57420c6
UD
11044 [BZ #12814]
11045 * iconvdata/Makefile (tests): Add bug-iconv9.
11046 * iconvdata/bug-iconv9.c: New file.
11047
4d07db15
AS
110482011-05-27 Andreas Schwab <schwab@redhat.com>
11049
11050 [BZ #12814]
11051 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11052
ea486f69
JJ
110532011-05-25 Jakub Jelinek <jakub@redhat.com>
11054
11055 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11056 (struct user_regs_struct): Change intcs field back to cs.
11057
6f038433
UD
110582011-05-25 Ulrich Drepper <drepper@gmail.com>
11059
11060 * po/ja.po: Update from translation team.
11061
67f86a25
UD
110622011-05-23 Ulrich Drepper <drepper@gmail.com>
11063
11064 [BZ #12795]
11065 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11066 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11067
def7fbd6
AS
110682011-05-20 Andreas Schwab <schwab@redhat.com>
11069
11070 * stdlib/longlong.h: Update from GCC.
11071
f50ef8f1
AS
110722011-05-23 Andreas Schwab <schwab@redhat.com>
11073
11074 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11075 parameter name.
11076 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11077 Add parameter name.
11078 (__sysconf): Pass it down.
11079
de7ce8f1
UD
110802011-05-22 Ulrich Drepper <drepper@gmail.com>
11081
f2962a71
UD
11082 [BZ #12671]
11083 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11084 some situations.
11085 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11086 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11087 add in in __libc_use_alloca calls. Adjust callers.
11088 (glob): Use malloc in some situations.
11089
de7ce8f1
UD
11090 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11091 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11092 pltexit.
11093
aec84f53
UD
110942011-05-21 Ulrich Drepper <drepper@gmail.com>
11095
05bb4a68
UD
11096 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11097 and CLOCK_BOOTTIME_ALARM.
11098
7ea72f99
UD
11099 [BZ #12782]
11100 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11101 is returned.
11102
7e4afad5
UD
11103 * string/_strerror.c (__strerror_r): Print negative errors as signed
11104 numbers.
11105
8e211fec
UD
11106 [BZ #12777]
11107 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11108 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11109 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11110
f7d82dc9
UD
11111 * configure.in: Fix typo in redirection and correct removal of test
11112 files in two cases.
11113
cc9e536d
UD
11114 [BZ #12788]
11115 * locale/setlocale.c (new_composite_name): Fix test to check for
11116 identical name of all categories.
11117
aec84f53
UD
11118 [BZ #12792]
11119 * libio/filedoalloc.c (local_isatty): New function.
11120 (_IO_file_doallocate): Use local_isatty.
11121 * stdio-common/perror.c (perror): In case a new stream is used
11122 forward the stream error.
11123 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11124 error flag.
11125
78e64fdc
RT
111262011-05-20 Ulrich Drepper <drepper@gmail.com>
11127
34a9094f
UD
11128 [BZ #11869]
11129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11130 alloca.
11131 * include/alloca.h (extend_alloca_account): Define.
11132
78e64fdc
RT
11133 [BZ #11857]
11134 * posix/regex.h: Fix comments with documentation of user-accessible
11135 fields after compilation and describe correct free'ing of pattern
11136 after re_compile_pattern.
11137 Patch by Reuben Thomas <rrt@sc3d.org>.
11138
457bddfc
RA
111392011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11140
11141 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11142 and -mno-altivec to prevent the compiler from using Altivec and/or
11143 VSX instructions when the corresponding registers are not available.
11144
a4527b51
AS
111452011-05-19 Andreas Schwab <schwab@redhat.com>
11146
11147 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11148
ed690b2f
UD
111492011-05-19 Ulrich Drepper <drepper@gmail.com>
11150
11151 * libio/freopen.c (freopen): Use __dup2, not dup2.
11152 * libio/freopen64.c (freopen64): Likewise.
11153
8db73634
L
111542011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11155
11156 [BZ #12775]
11157 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11158 * math/Makefile (tests): Add test-powl.
11159 (CFLAGS-test-powl.c): Define.
11160 * math/test-powl.c: New file.
11161
0a197a9d
L
111622011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11163
11164 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11165
ee30c380
UD
111662011-05-17 Ulrich Drepper <drepper@gmail.com>
11167
11168 [BZ #11837]
11169 * iconvdata/gb18030.c: Update to GB18020-2005.
11170
6ce75379
UD
111712011-05-16 Ulrich Drepper <drepper@gmail.com>
11172
a4b89fd8
AR
11173 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11174 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11175 Patch by Aharon Robbins <arnold@skeeve.com>.
11176
ea389b12
UD
11177 [BZ #11892]
11178 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11179 on the stack.
11180
68a3f91f
UD
11181 [BZ #11895]
11182 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11183 through underflows.
11184
15cc7dd1
UD
11185 [BZ #12766]
11186 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11187 point to strings before performing equality test for error_one_per_line
11188 mode.
11189
f3799213
UD
11190 [BZ #11697]
11191 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11192
d79a9c94
UD
11193 [BZ #11820]
11194 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11195 (struct user_fpregs_struct): Avoid __uint*_t types.
11196
56e5eb46
UD
11197 [BZ #6420]
11198 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11199 symbol info. Use it instead of calling _dl_addr locally.
11200 (lock_and_info): New function.
11201 (tr_freehook): Call lock_and_info and pass symbol info as additional
11202 parameter to tr_where.
11203 (tr_mallochook): Likewise.
11204 (tr_reallochook): Likewise.
11205 (tr_memalignhook): Likewise.
11206
6ce75379
UD
11207 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11208 used and couldn't be at all thread-safe.
11209
f8a3b5bf
UD
112102011-05-15 Ulrich Drepper <drepper@gmail.com>
11211
94b7cc37
UD
11212 * libio/freopen.c (freopen): Don't close old file descriptor
11213 before the new one is opened. Instead dup the new file descriptor
11214 to the old one after the new stream is created.
11215 * libio/freopen64.c (freopen64): Likewise.
11216 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11217 * libio/fileops.c (_IO_new_file_close_it): Handle new
11218 _IO_FLAGS2_NOCLOSE flag.
11219 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11220 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11221 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11222 _IO_FLAGS2_NOCLOSE flag.
11223 * include/unistd.h: Add hidden_proto for dup3.
11224 Define __have_dup3.
11225 * io/dup3.c: Define hidden symbol.
11226 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11227
bd25564e
UD
11228 [BZ #7101]
11229 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11230 when an incomplete long option is used.
11231 * posix/tst-getopt_long1.c: New file.
11232 * posix/Makefile (tests): Add tst-getopt_long1.
11233
c84cfef4
UD
11234 [BZ #10138]
11235 * scripts/config.guess: Update from autoconf-2.68.
11236 * scripts/config.sub: Likewise.
11237
3b85df27
UD
11238 [BZ #10157]
11239 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11240 tests into ...
11241 (has_cpuclock): ...this. New function.
11242 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11243 macro here based on has_cpuclock code.
11244
15a856b1
UD
11245 [BZ #10149]
11246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11247 First byte (not low byte) is now always NUL.
11248 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11249
05f399e6
UD
11250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11251 Use non-cancelable interfaces.
11252
10a52685 11253 [BZ #9809]
94ecc67d
UD
11254 * locale/iso-639.def: Add entry for Sorani.
11255
f8a3b5bf
UD
11256 [BZ #11901]
11257 * include/stdlib.h: Move include protection to the right place.
11258 Define abort_msg_s. Declare __abort_msg with it.
11259 * stdlib/abort.c (__abort_msg): Adjust type.
11260 * assert/assert.c (__assert_fail_base): New function. Majority
11261 of code from __assert_fail. Allocate memory for __abort_msg with
11262 mmap.
11263 (__assert_fail): Now call __assert_fail_base.
11264 * assert/assert-perr.c: Remove bulk of implementation. Use
11265 __assert_fail_base.
11266 * include/assert.hL Declare __assert_fail_base.
11267 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11268 mmap.
11269 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11270
1af4e298
UD
112712011-05-14 Ulrich Drepper <drepper@gmail.com>
11272
f8a3b5bf 11273 [BZ #11952]
d26dfc60
MG
11274 [BZ #12453]
11275 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11276 until all modules are registered in the DTV.
11277 * elf/Makefile: Add rules to build and run tst-tls19.
11278 * elf/tst-tls19.c: New file.
11279 * elf/tst-tls19mod1.c: New file.
11280 * elf/tst-tls19mod2.c: New file.
11281 * elf/tst-tls19mod3.c: New file.
11282 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11283
2fc54d6f
UD
11284 [BZ #12083]
11285 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11286 correctly.
11287
98d76b46
UD
11288 [BZ #12601]
11289 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11290 two-byte sequence errors.
11291 * iconvdata/Makefile (tests): Add bug-iconv8.
11292 * iconvdata/bug-iconv8.c: New file.
11293
da3c19ef
UD
11294 [BZ #12626]
11295 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11296 buf2 definition.
11297
ca408c15
UD
11298 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11299
d6f67f7d
UD
11300 [BZ #12432]
11301 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11302 (dummy_getcfa): New function.
11303 (init): Get _Unwind_GetCFA address, use dummy if not found.
11304 (backtrace_helper): In recursion check, also check whether CFA changes.
11305 (__backtrace): Completely initialize arg.
11306
1af4e298 11307 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11308 storing incomplete byte sequence in state object. Avoid testing for
11309 guaranteed too small input if we know there is enough data available.
1af4e298 11310
da62f81b
AS
113112011-05-11 Andreas Schwab <schwab@redhat.com>
11312
11313 * Makeconfig (+link-pie): Indent.
11314 * Rules (binaries-pie): Define if $(have-fpie) and
11315 $(build-shared).
11316 (binaries-shared): Also filter out $(binaries-pie).
11317 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11318 * nscd/Makefile (others-pie): Add nscd.
11319 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11320 ($(objpfx)nscd): Remove command override.
11321 * login/Makefile (others-pie): Add pt_chown.
11322 ($(objpfx)pt_chown): Remove command override.
11323 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11324 remove command overrides.
11325
fcabc0f8
UD
113262011-05-13 Ulrich Drepper <drepper@gmail.com>
11327
20030ae6
UD
11328 * libio/tst_putwc.c: Fix error messages.
11329
fcabc0f8
UD
11330 [BZ #12724]
11331 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11332 currently writing and seek to current position when not.
11333 * libio/Makefile (tests): Add bug-fclose1.
11334 * libio/bug-fclose1.c: New file.
11335
320a5dc0
PB
113362011-05-12 Ulrich Drepper <drepper@gmail.com>
11337
11338 [BZ #12511]
11339 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11340 don't set DF_1_NODELETE here.
11341 (do_lookup_x): When entering new entry test for copy relocation
11342 and if necessary set DF_1_NODELETE flag.
11343 * elf/tst-unique4.cc: New file.
11344 * elf/tst-unique4.h: New file.
11345 * elf/tst-unique4lib.cc: New file.
11346 * elf/Makefile: Add rules to build and run tst-unique4.
11347 Patch by Piotr Bury <pbury@goahead.com>.
11348
22836f52
UD
113492011-05-11 Ulrich Drepper <drepper@gmail.com>
11350
f574184a
UD
11351 [BZ #12052]
11352 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11353
e1fb097f
UD
11354 [BZ #12625]
11355 * misc/mntent_r.c (addmntent): Flush the stream after the output
11356
22836f52
UD
11357 [BZ #12393]
11358 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11359 (is_trusted_path_normalize): Skip initial colon. Append slash
11360 to empty buffer. Duplicate is_trusted_path code but allow
11361 constructed patch to be prefix.
11362 (is_dst): Allow $ORIGIN followed by /.
11363 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11364 Correct testing of result of is_trusted_path_normalize
11365 (decompose_rpath): Fix warning.
11366
7b3b0b2a
UD
113672011-05-10 Ulrich Drepper <drepper@gmail.com>
11368
11369 [BZ #11257]
11370 * grp/initgroups.c (internal_getgrouplist): When we found the service
11371 list through the initgroups entry in nsswitch.conf do not always
11372 continue on a successful lookup. Don't always use the
eac80ce2 11373 __nss_group_database value if it is set.
7b3b0b2a
UD
11374 * nss/nsswitch.conf (initgroups): Change action for successful db
11375 lookup to continue for compatibility.
11376
2a81eaa5
UD
113772011-05-09 Ulrich Drepper <drepper@gmail.com>
11378
be97a69e
UD
11379 [BZ #11532]
11380 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11381 and CP774 modules.
11382 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11383 and CP774 modules.
11384 * iconvdata/tst-tables.sh: Likewise.
11385 * iconvdata/cp770.c: New file.
11386 * iconvdata/cp771.c: New file.
11387 * iconvdata/cp772.c: New file.
11388 * iconvdata/cp773.c: New file.
11389 * iconvdata/cp774.c: New file.
11390 * iconvdata/testdata/CP770: New file.
11391 * iconvdata/testdata/CP770..UTF8: New file.
11392 * iconvdata/testdata/CP771: New file.
11393 * iconvdata/testdata/CP771..UTF8: New file.
11394 * iconvdata/testdata/CP772: New file.
11395 * iconvdata/testdata/CP772..UTF8: New file.
11396 * iconvdata/testdata/CP773: New file.
11397 * iconvdata/testdata/CP773..UTF8: New file.
11398 * iconvdata/testdata/CP774: New file.
11399 * iconvdata/testdata/CP774..UTF8: New file.
11400
11401 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11402 END CHARMAP line.
11403 * iconvdata/gen-8bit-gap.sh: Likewise.
11404 * iconvdata/gen-8bit.sh: Likewise.
11405
c1e9e399
UD
11406 * locale/iso-639.def: Add ary entry.
11407
24c55fb3 11408 [BZ #11258]
96b4b1b0
UD
11409 * locale/C-translit.h.in: Add U20A1 transliteration.
11410
bdc2f971
KB
11411 [BZ #12178]
11412 * locale/iso-639.def: Add wae entry.
11413 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11414
2952b117
UD
11415 [BZ #12545]
11416 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11417 for n.
11418
2a81eaa5
UD
11419 [BZ #12711]
11420 * locale/C-translit.h.in: Add entry for U20B9.
11421 Patch by pravin.d.s@gmail.com.
11422
28377d1b
UD
114232011-05-08 Ulrich Drepper <drepper@gmail.com>
11424
7fb90fb8
UD
11425 [BZ #12713]
11426 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11427 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11428 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11429 in rtld. Use *stat64.
7fb90fb8 11430 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11431 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11432 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11433 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11434 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11435 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11436 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11437 __fstatat64 macros.
7fb90fb8
UD
11438 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11439 * dirent/rewinddir.c: Add libc_hidden_def.
11440 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11441 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11442
28377d1b
UD
11443 * include/dirent.h (__alloc_dir): Add flags parameter.
11444 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11445 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11446 __alloc_dir.
11447 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11448 from fdopendir if O_CLOEXEC is already set.
11449
66bdbaa4
AM
114502011-03-15 Alan Modra <amodra@gmail.com>
11451
11452 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11453 l_tls_firstbyte_offset non-zero. Save padding offset in
11454 l_tls_firstbyte_offset for later use.
11455 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11456 freeing static tls block.
11457
95721191
JN
114582011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11459
11460 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11461 where #ifdef was intended. The intent is to prevent ARG_MAX from
11462 being defined by the kernel headers.
11463
f87dfb1f
UD
114642011-05-07 Ulrich Drepper <drepper@gmail.com>
11465
11466 [BZ #12734]
11467 * resolv/resolv.h: Define RES_NOTLDQUERY.
11468 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11469 no-tld-query and set RES_NOTLDQUERY.
11470 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11471 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11472 modern BIND to search name as TLD unless forbidden.
11473
47c3cd7a
UD
114742011-05-07 Petr Baudis <pasky@suse.cz>
11475 Ulrich Drepper <drepper@gmail.com>
11476
11477 [BZ #12393]
11478 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11479 (is_trusted_path): ...to here.
c1e9ea35 11480 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11481 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11482 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11483
8a35c912
PP
114842011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11485
11486 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11487 __BEGIN/__END_DECLS.
11488
acd41f47
UD
114892011-05-06 Ulrich Drepper <drepper@gmail.com>
11490
11491 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11492 NSS_STATUS_NOTFOUND if no record was found.
11493
597df647
AS
114942011-05-05 Andreas Schwab <schwab@redhat.com>
11495
11496 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11497 (headers-not-in-tirpc): Remove rpc/netdb.h
11498 * resolv/netdb.h: Revert last change.
11499
b9af1301
PP
115002011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11501
11502 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11503 circular dependency between libgcc.a and libc.a.
11504
4e34d5f5
AS
115052011-05-05 Andreas Schwab <schwab@redhat.com>
11506
11507 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11508 * nis/Makefile: Don't install rpcsvc/*.
11509 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11510 instead of <rpc/types.h>.
11511 (MAXHOSTNAMELEN): Define.
11512
00ee369c
AS
115132011-05-03 Andreas Schwab <schwab@redhat.com>
11514
11515 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11516
0b592a30
MB
115172011-04-28 Maciej Babinski <mbabinski@google.com>
11518
11519 [BZ #12714]
11520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11521 gethostbyname4_r when IPv6 results are possible.
11522
6e04cbbe
UD
115232011-05-02 Ulrich Drepper <drepper@gmail.com>
11524
11525 [BZ #12723]
11526 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11527 _PC_PIPE_BUF handling.
11528
e4ecafe0
BH
115292011-04-30 Bruno Haible <bruno@clisp.org>
11530
11531 [BZ #12717]
11532 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11533 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11534 to 'int'.
11535 * inet/getnameinfo.c (getnameinfo): Likewise.
11536
125ee683
UD
115372011-04-29 Ulrich Drepper <drepper@gmail.com>
11538
11539 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11540 to groups setting in database lookup.
11541 * nss/nsswitch.conf: Add initgroups entry.
11542
b722481a
EB
115432011-04-22 Ulrich Drepper <drepper@gmail.com>
11544
11545 [BZ #12685]
11546 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11547 mode string.
11548 Patch by Eric Blake <eblake@redhat.com>.
11549
4df46dbd
L
115502011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11551
11552 * sunrpc/Makefile (need-export-routines): Add svc_run.
11553 (routines): Remove svc_run.
11554 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11555 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11556 * sunrpc/svc_run.c (svc_run): Likewise.
11557 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11558
e84142d2
UD
115592011-04-21 Ulrich Drepper <drepper@gmail.com>
11560
11561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11562 problem in reallocation in last patch.
11563
877175d8
UD
115642011-04-20 Ulrich Drepper <drepper@gmail.com>
11565
11566 * sunrpc/Makefile: Move inclusion of Rules.
11567
ab8eed78
UD
115682011-04-19 Ulrich Drepper <drepper@gmail.com>
11569
11570 * nss/nss_files/files-initgroups.c: New file.
11571 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11572 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11573 _nss_files_initgroups_dyn.
11574
e3d8f584
RS
115752011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11576
11577 * elf/elf.h (R_ARM_IRELATIVE): Define.
11578
af190f45
UD
115792011-04-19 Ulrich Drepper <drepper@gmail.com>
11580
11581 * po/ru.po: Update from translation team.
11582
53cf59ef
UD
115832011-04-17 Ulrich Drepper <drepper@gmail.com>
11584
11585 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11586 dependencies.
11587
4c559bcd
MF
115882011-02-06 Mike Frysinger <vapier@gentoo.org>
11589
11590 [BZ #12653]
11591 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11592 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11593 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11594 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11595 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11596
4420675c
AS
115972011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11598
11599 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11600 differing bytes.
11601 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11602 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11603 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11604
75ea32ab
UD
116052011-04-17 Ulrich Drepper <drepper@gmail.com>
11606
11607 [BZ #12420]
11608 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11609 storing it.
11610 * stdlib/bug-getcontext.c: New file.
11611 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11612
27390476
AK
116132011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11614
11615 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11616 instructions into .machine "z9-109".
11617 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11618 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11619
10442705
AK
116202011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11621
11622 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11623 between environment variables and auxiliary vector.
11624
7b57bfe5
UD
116252011-04-16 Ulrich Drepper <drepper@gmail.com>
11626
11627 * Makefile: Add rules to build linkobj/libc.so.
11628 * include/libc-symbols.h: Define libc_hidden_nolink.
11629 * include/rpc/auth.h: Mark functions which are to be hidden.
11630 * include/rpc/auth_des.h: Likewise.
11631 * include/rpc/auth_unix.h: Likewise.
11632 * include/rpc/clnt.h: Likewise.
11633 * include/rpc/des_crypt.h: Likewise.
11634 * include/rpc/key_prot.h: Likewise.
11635 * include/rpc/pmap_clnt.h: Likewise.
11636 * include/rpc/pmap_prot.h: Likewise.
11637 * include/rpc/pmap_rmt.h: Likewise.
11638 * include/rpc/rpc_msg.h: Likewise.
11639 * include/rpc/svc.h: Likewise.
11640 * include/rpc/svc_auth.h: Likewise.
11641 * include/rpc/xdr.h: Likewise.
11642 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11643 * nss/Makefile: Likewise.
11644 * sunrpc/Makefile: Don't install headers. Build library with normal
11645 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11646 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11647 for the compat linking library. Remove use of INTDEF/INTUSE.
11648 * sunrpc/auth_none.c: Likewise.
11649 * sunrpc/auth_unix.c: Likewise.
11650 * sunrpc/authdes_prot.c: Likewise.
11651 * sunrpc/authuxprot.c: Likewise.
11652 * sunrpc/clnt_gen.c: Likewise.
11653 * sunrpc/clnt_perr.c: Likewise.
11654 * sunrpc/clnt_raw.c: Likewise.
11655 * sunrpc/clnt_simp.c: Likewise.
11656 * sunrpc/clnt_tcp.c: Likewise.
11657 * sunrpc/clnt_udp.c: Likewise.
11658 * sunrpc/clnt_unix.c: Likewise.
11659 * sunrpc/des_crypt.c: Likewise.
11660 * sunrpc/des_soft.c: Likewise.
11661 * sunrpc/get_myaddr.c: Likewise.
11662 * sunrpc/key_call.c: Likewise.
11663 * sunrpc/key_prot.c: Likewise.
11664 * sunrpc/netname.c: Likewise.
11665 * sunrpc/pm_getmaps.c: Likewise.
11666 * sunrpc/pm_getport.c: Likewise.
11667 * sunrpc/pmap_clnt.c: Likewise.
11668 * sunrpc/pmap_prot.c: Likewise.
11669 * sunrpc/pmap_prot2.c: Likewise.
11670 * sunrpc/pmap_rmt.c: Likewise.
11671 * sunrpc/publickey.c: Likewise.
11672 * sunrpc/rpc_cmsg.c: Likewise.
11673 * sunrpc/rpc_common.c: Likewise.
11674 * sunrpc/rpc_dtable.c: Likewise.
11675 * sunrpc/rpc_prot.c: Likewise.
11676 * sunrpc/rpc_thread.c: Likewise.
11677 * sunrpc/rtime.c: Likewise.
11678 * sunrpc/svc.c: Likewise.
11679 * sunrpc/svc_auth.c: Likewise.
11680 * sunrpc/svc_authux.c: Likewise.
11681 * sunrpc/svc_raw.c: Likewise.
11682 * sunrpc/svc_run.c: Likewise.
11683 * sunrpc/svc_simple.c: Likewise.
11684 * sunrpc/svc_tcp.c: Likewise.
11685 * sunrpc/svc_udp.c: Likewise.
11686 * sunrpc/svc_unix.c: Likewise.
11687 * sunrpc/svcauth_des.c: Likewise.
11688 * sunrpc/xcrypt.c: Likewise.
11689 * sunrpc/xdr.c: Likewise.
11690 * sunrpc/xdr_array.c: Likewise.
11691 * sunrpc/xdr_float.c: Likewise.
11692 * sunrpc/xdr_intXX_t.c: Likewise.
11693 * sunrpc/xdr_mem.c: Likewise.
11694 * sunrpc/xdr_rec.c: Likewise.
11695 * sunrpc/xdr_ref.c: Likewise.
11696 * sunrpc/xdr_sizeof.c: Likewise.
11697 * sunrpc/xdr_stdio.c: Likewise.
11698
e6c61494
UD
116992011-04-10 Ulrich Drepper <drepper@gmail.com>
11700
11701 [BZ #12650]
11702 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11703 * sysdeps/ia64/dl-tls.h: Likewise.
11704 * sysdeps/powerpc/dl-tls.h: Likewise.
11705 * sysdeps/s390/dl-tls.h: Likewise.
11706 * sysdeps/sh/dl-tls.h: Likewise.
11707 * sysdeps/sparc/dl-tls.h: Likewise.
11708 * sysdeps/x86_64/dl-tls.h: Likewise.
11709 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11710
34fe483e
AS
117112011-03-14 Andreas Schwab <schwab@redhat.com>
11712
11713 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11714 rpath element also skip the following colon.
11715 (expand_dynamic_string_token): Add is_path parameter and pass
11716 down to DL_DST_REQUIRED and _dl_dst_substitute.
11717 (decompose_rpath): Call expand_dynamic_string_token with
11718 non-zero is_path. Ignore empty rpaths.
11719 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11720 with zero is_path.
11721
f12a32e6
AS
117222011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11723
11724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11725 Make cancelable.
11726
38a7d692
UD
117272011-04-09 Ulrich Drepper <drepper@gmail.com>
11728
11729 [BZ #12655]
11730 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11731 Patch by Filipe David Manana <fdmanana@apache.org>.
11732
e451d22b
AS
117332011-04-07 Andreas Schwab <schwab@redhat.com>
11734
11735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11736 Maintain aligned stack.
11737 (CHECK_RSP): Remove unused macro.
11738
dedc7c7b
UD
117392011-04-03 Ulrich Drepper <drepper@gmail.com>
11740
11741 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11742 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11743
94521213
UD
117442011-04-02 Ulrich Drepper <drepper@gmail.com>
11745
11746 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11747
8cb700c0 11748 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11749
0354e355
L
117502011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11751
11752 [BZ #12518]
11753 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11754 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11755 * sysdeps/x86_64/memmove.c: New file.
11756 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11757 (memcpy): Renamed to ...
11758 (__new_memcpy): This.
11759 (memcpy): Provide GLIBC_2_14 memcpy.
11760 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11761 (memcpy): Provide GLIBC_2_2_5 memcpy.
11762
8593482f
UD
117632011-04-01 Ulrich Drepper <drepper@gmail.com>
11764
11765 [BZ #12631]
11766 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11767
81a5726b
AS
117682011-03-30 Andreas Schwab <schwab@redhat.com>
11769
11770 * misc/syncfs.c: New file.
11771 * misc/Makefile (routines): Add syncfs.
11772 * posix/unistd.h: Declare syncfs.
11773 * sysdeps/unix/syscalls.list: Add syncfs.
11774
00e5419f
AS
117752011-04-01 Andreas Schwab <schwab@redhat.com>
11776
11777 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11778 open_by_handle_at.
11779 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11784 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11786
748876bf
UD
117872011-04-01 Ulrich Drepper <drepper@gmail.com>
11788
658e451d
UD
11789 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11790 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11791 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11793 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11796
748876bf
UD
11797 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11798 sync_file_range.c with -fexceptions.
11799 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11800 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11801 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11802 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11803 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11804 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11805 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11806 sync_file_range as cancellation point
11807 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11808 now a wrapper around __call_sync_file_range with cancellation handling.
11809 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11810 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11811 function name to __call_sync_file_range.
11812 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11813 Add call_sync_file_range.
748876bf 11814
6e63d5e1
AS
118152011-04-01 Andreas Schwab <schwab@redhat.com>
11816
11817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11818 bits/timex.h.
6e63d5e1 11819
46998f74
UD
118202011-04-01 Ulrich Drepper <drepper@gmail.com>
11821
4c1423ed
UD
11822 * iconv/iconv.h: Fix typo in comment.
11823 * io/fcntl.h: Likewise.
11824 * libio/stdio.h: Likewise.
11825 * posix/spawn.h: Likewise.
11826 * posix/unistd.h: Likewise.
11827 * stdlib/stdlib.h: Likewise.
11828 * time/time.h: Likewise.
11829 * wcsmbs/wchar.h: Likewise.
11830
158648c0
UD
11831 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11832 open_by_handle): Add.
11833 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11834 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11835 Augment a few comments.
11836 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11838 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11840 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11841 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11842 open_by_handle.
11843
46998f74
UD
11844 * io/fcntl.h (AT_EMPTY_PATH): Define.
11845
83fe108b
UD
118462011-03-30 Ulrich Drepper <drepper@gmail.com>
11847
11848 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11849 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11850 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11851 to...
11852 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11853 * Versions.def: Add GLIBC_2.14.
11854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11855 Export.
83fe108b 11856
bb242059
UD
118572011-03-22 Ulrich Drepper <drepper@gmail.com>
11858
11859 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11860 round counter.
11861 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11862
c97a1282
L
118632011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11864
11865 [BZ #12597]
11866 * string/test-strncmp.c (do_page_test): New function.
11867 (check2): Likewise.
11868 (test_main): Call check2.
11869 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11870
2a115601
UD
118712011-03-20 Ulrich Drepper <drepper@gmail.com>
11872
11873 [BZ #12587]
11874 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11875 Handle cache information in CPU leaf 4.
11876 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11877
8126d904
UD
118782011-03-18 Ulrich Drepper <drepper@gmail.com>
11879
042c49c6 11880 [BZ #12583]
8126d904
UD
11881 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11882 character representation.
11883 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11884
ccfe366e
RA
118852011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11886
11887 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11888 END(__isnan) to END(__isnanf) to match function entry point/label
11889 EALIGN(__isnanf,...).
11890
c6e13027
JJ
118912011-03-10 Jakub Jelinek <jakub@redhat.com>
11892
11893 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11894
33f85a3f
UD
118952011-03-10 Ulrich Drepper <drepper@gmail.com>
11896
028478fa
UD
11897 [BZ #12510]
11898 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11899 copy from the symbol referenced in the relocation to initialize the
11900 used variable.
11901 Patch by Piotr Bury <pbury@goahead.com>.
11902 * elf/Makefile: Add rules to build and tst-unique3.
11903 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11904 * elf/tst-unique3.cc: New file.
11905 * elf/tst-unique3.h: New file.
11906 * elf/tst-unique3lib.cc: New file.
11907 * elf/tst-unique3lib2.cc: New file.
11908
33f85a3f
UD
11909 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11910
03592fc7
MF
119112011-03-10 Mike Frysinger <vapier@gentoo.org>
11912
11913 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11914 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11915 to _start.
03592fc7 11916
6a5ee102
UD
119172011-03-06 Ulrich Drepper <drepper@gmail.com>
11918
11919 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11920 to-be-loaded object along a path to loader is ld.so.
11921
7e4ba49c
HJ
119222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11923 Ulrich Drepper <drepper@gmail.com>
11924
11925 * sysdeps/x86_64/memset.S: After aligning destination, code
11926 branches to different locations depending on the value of
11927 misalignment, when multiarch is enabled. Fix this.
11928
119292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11930
11931 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11932 Set _x86_64_preferred_memory_instruction for AMD processsors.
11933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11934 Set bit_Prefer_SSE_for_memop for AMD processors.
11935
13a804de
UD
119362011-03-04 Ulrich Drepper <drepper@gmail.com>
11937
11938 * libio/fmemopen.c (fmemopen): Optimize a bit.
11939
9d25c392
AS
119402011-03-03 Andreas Schwab <schwab@redhat.com>
11941
11942 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11943
a5543c6a
RM
119442011-03-03 Roland McGrath <roland@redhat.com>
11945
11946 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11947
012d35f7
DM
119482011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11949
7e4ba49c 11950 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11951 __bzero_ultra1 instead of __memset_ultra1.
11952
4bff6e01
AS
119532011-02-23 Andreas Schwab <schwab@redhat.com>
11954 Ulrich Drepper <drepper@gmail.com>
11955
11956 [BZ #12509]
11957 * include/link.h (struct link_map): Add l_orig_initfini.
11958 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11959 returning unsuccessfully.
11960 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11961 close of a file loaded at startup, restore the original l_initfini
11962 list.
11963 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11964 list, store the pointer.
11965 * elf/Makefile ($(objpfx)noload-mem): New rule.
11966 (noload-ENV): Define.
11967 (tests): Add $(objpfx)noload-mem.
11968 * elf/noload.c: Include <memcheck.h>.
11969 (main): Call mtrace. Close all opened handles.
11970
f2092faf
AS
119712011-02-17 Andreas Schwab <schwab@redhat.com>
11972
11973 [BZ #12454]
11974 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11975 dependencies are missing.
11976
6c8a2e88
ST
119772011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11978
f2092faf 11979 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11980 Hurd needs munmap.
11981 * sysdeps/mach/hurd/ifreq.h: New file.
11982
84a42118
PB
119832011-01-27 Petr Baudis <pasky@suse.cz>
11984 Ulrich Drepper <drepper@gmail.com>
11985
071f805e 11986 [BZ 12445]#
84a42118
PB
11987 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11988 to extend_alloca().
11989 * stdio-common/bug23.c: New file.
11990 * stdio-common/Makefile (tests): Add bug23.
11991
e23fe25b
AS
119922010-09-28 Andreas Schwab <schwab@redhat.com>
11993 Ulrich Drepper <drepper@gmail.com>
11994
11995 [BZ #12489]
11996 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11997 before performing relro protection. At old place add assertion
11998 to make sure nothing changed.
11999
d3f02e10
NS
120002011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12001 Glauber de Oliveira Costa <glommer@gmail.com>
12002
12003 * elf/elf.h: Add new ARM TLS relocs.
12004
d55fd7a5
RA
120052011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12006
12007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12008 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12009 cast from r3.
12010 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12011 'tests' variable.
12012 * sysdeps/wordsize-64/tst-writev.c: New file.
12013
2206397e
RA
120142011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12015
12016 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12017 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12018 insns in _dl_start to prevent a TOC reference before relocs are
12019 resolved.
12020
e9433893
UD
120212011-02-15 Ulrich Drepper <drepper@gmail.com>
12022
12023 [BZ #12469]
12024 * Makeconfig: Remove RANLIB definition.
12025 * Makerules: Don't use RANLIB.
12026 * aclocal.m4: Remove ranlib test.
12027 * configure.in: No need to check for ranlib.
12028 * elf/rtld-Rules: Don't use RANLIB.
12029
f75286c6
ST
120302011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12031
8e31c82d
ST
12032 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12033 protection macro.
12034 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12035 inclusion protection macro.
12036
f75286c6
ST
12037 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12038 SIGRTMIN and SIGRTMAX and print information in that case only when
12039 SIGRTMIN is defined.
12040
c1d0e639
JJ
120412011-02-11 Jakub Jelinek <jakub@redhat.com>
12042
12043 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12044 arginfo fn returning -1.
12045
12046 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12047 and thousands string is zero terminated.
12048
edf9294e
AS
120492011-02-03 Andreas Schwab <schwab@redhat.com>
12050
12051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12052 sysdeps/unix/sysv/linux/bits/socket.h.
12053
2b7e92df
ST
120542011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12055
edf9294e
AS
12056 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12057 (__CPU_COUNT): Remove old macros.
12058 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12059 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12060 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12061 (__sched_cpualloc, __sched_cpufree): Add declarations.
12062
a4c7ea7b
UD
120632011-02-05 Ulrich Drepper <drepper@gmail.com>
12064
12065 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12066 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12067 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12068 (readdhstai): Return value of addhstaiX call.
12069 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12070 (addgrbyX): Return value returned by cache_addgr.
12071 (readdgrbyname): Return value returned by addgrbyX.
12072 (readdgrbygid): Likewise.
12073 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12074 (addpwbyX): Return value returned by cache_addpw.
12075 (readdpwbyname): Return value returned by addhstbyX.
12076 (readdpwbyuid): Likewise.
12077 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12078 (addservbyX): Return value returned by cache_addserv.
12079 (readdservbyname): Return value returned by addservbyX:
12080 (readdservbyport): Likewise.
12081 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12082 (addhstbyX): Return value returned by cache_addhst.
12083 (readdhstbyname): Return value returned by addhstbyX.
12084 (readdhstbyaddr): Likewise.
12085 (readdhstbynamev6): Likewise.
12086 (readdhstbyaddrv6): Likewise.
12087 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12088 (readdinitgroups): Return value returned by addinitgroupsX.
12089 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12090 (prune_cache): Keep track of timeout value of re-added entries.
12091 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12092 * nscd/nscd.h: Adjust prototypes of readd* functions.
12093
a0bf67cc
RM
120942011-02-04 Roland McGrath <roland@redhat.com>
12095
12096 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12097 (nis_stats): Likewise.
12098 * nis/nis_modify.c (nis_modify): Likewise.
12099 * nis/nis_remove.c (nis_remove): Likewise.
12100 * nis/nis_add.c (nis_add): Likewise.
12101
12102 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12103
12104 * posix/fnmatch_loop.c: Add some consts.
12105
12106 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12107
435b95eb
L
121082011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12109
12110 [BZ #12460]
12111 * config.make.in (config-cflags-novzeroupper): Define.
12112 * configure.in: Substitute libc_cv_cc_novzeroupper.
12113 * elf/Makefile (AVX-CFLAGS): Define.
12114 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12115 (CFLAGS-tst-auditmod4a.c): Likewise.
12116 (CFLAGS-tst-auditmod4b.c): Likewise.
12117 (CFLAGS-tst-auditmod6b.c): Likewise.
12118 (CFLAGS-tst-auditmod6c.c): Likewise.
12119 (CFLAGS-tst-auditmod7b.c): Likewise.
12120 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12121
8517b15e
UD
121222011-02-02 Ulrich Drepper <drepper@gmail.com>
12123
12124 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12125 function to the callback.
12126 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12127
10a656fe
AS
121282011-02-02 Andreas Schwab <schwab@redhat.com>
12129
12130 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12131 of errno.
12132
968dad0a
UD
121332011-01-19 Ulrich Drepper <drepper@gmail.com>
12134
9f94d2ea 12135 [BZ #11724]
968dad0a
UD
12136 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12137 of constructors.
12138 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12139 of destructors.
12140 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12141
12142 [BZ #11724]
12143 * elf/Makefile: Add rules to build and run new test.
12144 * elf/tst-initorder.c: New file.
12145 * elf/tst-initorder.exp: New file.
12146 * elf/tst-initordera1.c: New file.
12147 * elf/tst-initordera2.c: New file.
12148 * elf/tst-initordera3.c: New file.
12149 * elf/tst-initordera4.c: New file.
12150 * elf/tst-initorderb1.c: New file.
12151 * elf/tst-initorderb2.c: New file.
12152 * elf/tst-order-a1.c: New file.
12153 * elf/tst-order-a2.c: New file.
12154 * elf/tst-order-a3.c: New file.
12155 * elf/tst-order-a4.c: New file.
12156 * elf/tst-order-b1.c: New file.
12157 * elf/tst-order-b2.c: New file.
12158 * elf/tst-order-main.c: New file.
12159 New test case by George Gensure <werkt0@gmail.com>.
12160
86e92359
UD
121612010-10-01 Andreas Schwab <schwab@redhat.com>
12162
12163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12164 decoding ACE if AI_CANONIDN.
12165
5d5732b0
UD
121662011-01-18 Ulrich Drepper <drepper@gmail.com>
12167
12168 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12169
a77e8cbc
UD
121702011-01-17 Ulrich Drepper <drepper@gmail.com>
12171
6392473f
UD
12172 * version.h (RELEASE): Bump for 2.13 release.
12173 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12174
620a0529
UD
12175 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12176
18ba70a5
UD
12177 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12178 MADV_NOHUGEPAGE.
32465c3e
UD
12179 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12180 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12181 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12182 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12183 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12184 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12185
c0dafcf1
UD
12186 * posix/getconf.c: Update copyright year.
12187 * catgets/gencat.c: Likewise.
12188 * csu/version.c: Likewise.
12189 * debug/catchsegv.sh: Likewise.
12190 * debug/xtrace.sh: Likewise.
12191 * elf/ldconfig.c: Likewise.
12192 * elf/ldd.bash.in: Likewise.
12193 * elf/sprof.c (print_version): Likewise.
12194 * iconv/iconv_prog.c: Likewise.
12195 * iconv/iconvconfig.c: Likewise.
12196 * locale/programs/locale.c: Likewise.
12197 * locale/programs/localedef.c: Likewise.
12198 * malloc/memusage.sh: Likewise.
12199 * malloc/mtrace.pl: Likewise.
12200 * nscd/nscd.c (print_version): Likewise.
12201 * nss/getent.c: Likewise.
12202
a77e8cbc
UD
12203 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12204 PF_CAIF, and PF_ALG.
12205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12206
77e8bddf
AS
122072011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12208
1f20b93a
AS
12209 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12210 (modules-names): Use them.
12211 (ifunc-test-modules, ifunc-pie-tests): Define.
12212 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12213 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12214 (test-extras): Likewise.
12215 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12216 $(compile-command.c).
12217 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12218 (all-built-dso): Define.
12219 (check-textrel.out, check-execstack.out): Depend on it.
12220
77e8bddf
AS
12221 * configure.in: Don't override --enable-multi-arch.
12222
bc425b33
UD
122232011-01-15 Ulrich Drepper <drepper@gmail.com>
12224
12225 [BZ #6812]
12226 * nscd/hstcache.c (tryagain): Define.
12227 (cache_addhst): Return tryagain not notfound for temporary errors.
12228 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12229 failed.
12230
794c3ad3
UD
122312011-01-14 Ulrich Drepper <drepper@gmail.com>
12232
70181fdd
UD
12233 [BZ #10563]
12234 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12235 to make the syscall.
12236 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12237
794c3ad3
UD
12238 [BZ #12378]
12239 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12240 and fall back to matching as normal character if the string ends before
12241 the matching ']' is found. This is what POSIX requires.
12242 * posix/testfnm.c: Adjust test result.
12243 * posix/globtest.sh: Adjust test result. Add new test.
12244 * posix/tst-fnmatch.input: Likewise.
12245 * posix/tst-fnmatch2.c: Add new test.
12246
68dc9497
AS
122472010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12248
12249 * elf/Makefile (check-execstack): Revert last change. Depend on
12250 check-execstack.h.
12251 (check-execstack.h): New target.
12252 (generated): Add check-execstack.h.
12253 * elf/check-execstack.c: Include "check-execstack.h".
12254 (main): Revert last change.
12255 (handle_file): Return zero if GNU_STACK is absent and
12256 DEFAULT_STACK_PERMS doesn't include PF_X.
12257
451f001b
UD
122582011-01-13 Ulrich Drepper <drepper@gmail.com>
12259
cfa28e56
UD
12260 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12261 in child fails because the descriptor is already closed.
8cf8ce17
UD
12262 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12263 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12264 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12265
1086d70d
UD
12266 [BZ #12397]
12267 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12268 syscall.
12269
451f001b
UD
12270 [BZ #10484]
12271 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12272 temporary buffer used to handle multi lookups locally.
a85b5cb4 12273 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12274
08769175
UD
122752011-01-12 Ulrich Drepper <drepper@gmail.com>
12276
12277 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12278 loader is ld.so.
12279
5e49c52e
UD
122802011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12281
12282 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12283 alignment for SSE2.
12284
60522a5f
UD
122852011-01-12 Ulrich Drepper <drepper@gmail.com>
12286
12287 [BZ #12394]
12288 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12289 characters. When rounding increased number of integer digits recompute
12290 number of groups.
12291 * stdio-common/tst-grouping.c: New file.
12292 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12293
f257bbd7
UD
122942011-01-09 Ulrich Drepper <drepper@gmail.com>
12295
12296 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12297 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12298
12299 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12300 void.
12301 * bits/select.h: Likewise.
12302
fa9c15cb
UD
123032011-01-08 Ulrich Drepper <drepper@gmail.com>
12304
12305 * po/ja.po: Update from translation team.
12306
16c2895f
DM
123072011-01-04 David S. Miller <davem@sunset.davemloft.net>
12308
12309 [BZ #11155]
12310 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12311 implementation just like for lxstat, fxstatat, et al.
12312
2543fef2
JM
123132010-12-27 Jim Meyering <meyering@redhat.com>
12314
12315 [BZ #12348]
12316 * posix/regexec.c (build_trtable): Return failure indication upon
12317 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12318
98727dbe
UD
123192010-12-25 Ulrich Drepper <drepper@gmail.com>
12320
5bd6dc5c
UD
12321 [BZ #12201]
12322 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12323 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12324 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12325 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12326
97983464
UD
12327 [BZ #12207]
12328 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12329
98727dbe
UD
12330 [BZ #12204]
12331 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12332 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12333
4a531bb0
L
123342010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12335
12336 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12337 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12338 script has SORT_BY_INIT_PRIORITY.
12339 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12340 NO_CTORS_DTORS_SECTIONS is defined.
12341 * elf/soinit.c: Likewise.
12342 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12343 NO_CTORS_DTORS_SECTIONS is defined.
12344 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12345 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12346 * sysdeps/sh/init-first.c: Likewise.
12347 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12348
07eb4b71
UD
123492010-12-24 Ulrich Drepper <drepper@gmail.com>
12350
12351 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12352 always use the slow path.
12353
30950a5f
RA
123542010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12355
12356 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12357 similar rule which adds the sysdep directories to the header search in
12358 order to pick up the correct platform stackinfo.h.
12359 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12360 perform test if it is, otherwise return successfully without testing.
12361 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12362 DEFAULT_STACK_PERMS define in stackinfo.h.
12363 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12364 defined in stackinfo.h.
12365 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12366 DEFAULT_STACK_PERMS defined in stackinfo.h.
12367 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12368 * sysdeps/ia64/stackinfo.h: Likewise.
12369 * sysdeps/s390/stackinfo.h: Likewise.
12370 * sysdeps/sh/stackinfo.h: Likewise.
12371 * sysdeps/sparc/stackinfo.h: Likewise.
12372 * sysdeps/x86_64/stackinfo.h: Likewise.
12373 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12374 PF_X for powerpc64. Retain PF_X for powerpc32.
12375
db753e2c
UD
123762010-12-19 Ulrich Drepper <drepper@gmail.com>
12377
14b697f7
UD
12378 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12379 accurately.
db753e2c
UD
12380 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12381 GETDENTS_64BIT_ALIGNED.
12382
28300719
UD
123832010-12-14 Ulrich Drepper <dreper@gmail.com>
12384
14b697f7 12385 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12386
4f197237
AS
123872010-12-10 Andreas Schwab <schwab@redhat.com>
12388
dbb0472f
AS
12389 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12390 _GNU_SOURCE.
12391
4f197237
AS
12392 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12393 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12394 Remove __restrict.
12395 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12396 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12397
fb88ac72
UD
123982010-12-09 Ulrich Drepper <drepper@gmail.com>
12399
12400 [BZ #11655]
12401 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12402 are initialized.
12403
42acbb92
JJ
124042010-12-09 Jakub Jelinek <jakub@redhat.com>
12405
12406 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12407
c038d98d
UD
124082010-12-03 Ulrich Drepper <drepper@gmail.com>
12409
12410 * po/it.po: Update from translation team.
12411
3a4a2499
L
124122010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12413
12414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12415 unused codes.
12416
1e24cf6e
UD
124172010-11-30 Ulrich Drepper <drepper@gmail.com>
12418
12419 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12420
a7690819
AS
124212010-11-24 Andreas Schwab <schwab@redhat.com>
12422
12423 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12424 specially.
12425 (gaih_getanswer_slice): Likewise.
12426
3bf8d1b1
JJ
124272010-10-20 Jakub Jelinek <jakub@redhat.com>
12428
12429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12430
6db52fbb
PB
124312010-05-31 Petr Baudis <pasky@suse.cz>
12432
12433 [BZ #11149]
12434 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12435 silently even in the chroot mode.
12436
eaca7569
UD
124372010-11-22 Ulrich Drepper <drepper@gmail.com>
12438
12439 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12440 last patch a bit. Pretty printing
12441
3056dcdb
UD
124422010-05-31 Petr Baudis <pasky@suse.cz>
12443
12444 [BZ #10085]
12445 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12446 initialization of skip_initgroups_dyn.
12447
cf7c9078
UD
124482010-11-19 Ulrich Drepper <drepper@gmail.com>
12449
12450 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12451 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12452
a1fb5e3e
UD
124532010-11-16 Ulrich Drepper <drepper@gmail.com>
12454
12455 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12456
3540d66b
AS
124572010-11-11 Andreas Schwab <schwab@redhat.com>
12458
12459 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12460 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12461 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12462 ($(objpfx)tst-fnmatch-mem): New rule.
12463 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12464 * posix/tst-fnmatch.c (main): Call mtrace.
12465
13b69574
L
124662010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12467
12468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12469 Support Intel processor model 6 and model 0x2c.
12470
da93d214
LM
124712010-11-10 Luis Machado <luisgpm@br.ibm.com>
12472
12473 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12474 signed comparison.
12475
8ca52c6e
L
124762010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12477
12478 [BZ #12205]
12479 * string/test-strncasecmp.c (check_result): New function.
12480 (do_one_test): Use it.
12481 (check1): New function.
12482 (test_main): Use it.
12483 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12484 Support strcasecmp and strncasecmp.
12485
69da074d
UD
124862010-11-08 Ulrich Drepper <drepper@gmail.com>
12487
12488 [BZ #12194]
12489 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12491
ff02d528
L
124922010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12493
12494 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12495 IFUNC support.
12496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12497 memset-x86-64.
12498 * sysdeps/x86_64/multiarch/bzero.S: New file.
12499 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12500 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12501 * sysdeps/x86_64/multiarch/memset.S: New file.
12502 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12504 Set bit_Prefer_SSE_for_memop for Intel processors.
12505 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12506 Define.
12507 (index_Prefer_SSE_for_memop): Define.
12508 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12509
344d0b54
LM
125102010-11-04 Luis Machado <luisgpm@br.ibm.com>
12511
12512 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12513 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12514
c0dde15b
UD
125152010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12516
12517 [BZ #12191]
12518 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12519 (__x86_64_raw_data_cache_size_half): Likewise.
12520 (__x86_64_raw_shared_cache_size): Likewise.
12521 (__x86_64_raw_shared_cache_size_half): Likewise.
12522
12523 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12524 (__x86_64_raw_data_cache_size_half): Likewise.
12525 (__x86_64_raw_shared_cache_size): Likewise.
12526 (__x86_64_raw_shared_cache_size_half): Likewise.
12527 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12528 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12529 and __x86_64_raw_shared_cache_size_half. Round
12530 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12531 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12532 to multiple of 256 bytes.
12533
0e516e0e
MS
125342010-11-03 Ulrich Drepper <drepper@gmail.com>
12535
12536 [BZ #12167]
12537 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12538 of inacessible symlinks. Verify result of symlink before returning it.
12539 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12540 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12541
0e012e87
ER
125422010-10-28 Erich Ritz <erichritz@gmail.com>
12543
12544 * math/math.h (isinf): Fix typo in comment.
12545
de0ff7bc
UD
125462010-11-01 Ulrich Drepper <drepper@gmail.com>
12547
12548 * po/da.po: Update from translation team.
12549
fa41c84d
UD
125502010-10-26 Ulrich Drepper <drepper@gmail.com>
12551
12552 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12553 is added to the list.
12554
f0967738
AK
125552010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12556 Ulrich Drepper <drepper@gmail.com>
12557
12558 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12559 the global list here. Move code to...
12560 (_dl_add_to_namespace_list): ...here. New function.
12561 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12562 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12563 * elf/dl-load.c (lose): Don't remove the element from the list.
12564 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12565 (_dl_map_object): Likewise.
12566
125672010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12568
12569 [BZ #12159]
12570 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12571 into all bytes of SSE register.
12572 Patch by Richard Li <richardpku@gmail.com>.
12573
f0967738 125742010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12575
12576 [BZ #12140]
12577 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12578 perturbing.
12579
d0b9e94f
MB
125802010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12581
12582 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12583 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12584 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12585 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12587 submachine.
12588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12589
8e9f92e9
AS
125902010-10-22 Andreas Schwab <schwab@redhat.com>
12591
12592 * include/dlfcn.h (__RTLD_SECURE): Define.
12593 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12594 mode & __RTLD_SECURE instead.
12595 (open_path): Rename preloaded parameter to secure.
12596 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12597 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12598 * elf/dl-deps.c (openaux): Likewise.
12599 * elf/rtld.c (struct map_args): Remove is_preloaded.
12600 (map_doit): Don't use it.
12601 (dl_main): Likewise.
12602 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12603 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12604
bc96fbda
AS
126052010-09-09 Andreas Schwab <schwab@redhat.com>
12606
12607 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12608 (sysd-rules-targets): Remove duplicates.
12609 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12610 rtld-%.$o dependency.
12611
22cd1c9b
AS
126122010-10-18 Andreas Schwab <schwab@redhat.com>
12613
12614 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12615 _dl_map_object do it.
12616
18edac48
UD
126172010-10-19 Ulrich Drepper <drepper@gmail.com>
12618
12619 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12620 fast fma builtins, define the macros in the C99 standard.
12621 (FP_FAST_FMAF): Likewise.
12622 (FP_FAST_FMAL): Likewise.
12623 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12624
12625 * bits/mathdef.h: Update copyright year.
12626 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12627
d2050124
MM
126282010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12629
12630 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12631 builtins, define the macros in the C99 standard.
12632 (FP_FAST_FMAF): Likewise.
12633 (FP_FAST_FMAL): Likewise.
12634 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12635 multiply/add.
12636 (FP_FAST_FMAF): Likewise.
12637
475facd1
JJ
126382010-10-15 Jakub Jelinek <jakub@redhat.com>
12639
12640 [BZ #3268]
12641 * math/libm-test.inc (fma_test): Some new testcases.
12642 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12643 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12644 y and infinite z. Do multiplication by C already in long double.
12645 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12647 y and infinite z. Do bitwise or of inexact bit into u.d.
12648 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12649 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12650 * sysdeps/i386/fpu/s_fma.S: Removed.
12651 * sysdeps/i386/fpu/s_fmal.S: Removed.
12652
7c08a05c
JJ
126532010-10-16 Jakub Jelinek <jakub@redhat.com>
12654
12655 [BZ #3268]
12656 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12658 computation is not scheduled after fetestexcept. Fix value
12659 of minimum denormal long double.
12660
f3f7372d
JJ
126612010-10-14 Jakub Jelinek <jakub@redhat.com>
12662
12663 [BZ #3268]
12664 * math/libm-test.inc (fma_test): Add some more tests.
12665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12666 correctly.
12667
14d43591
AS
126682010-10-15 Andreas Schwab <schwab@redhat.com>
12669
12670 * scripts/data/localplt-s390-linux-gnu.data: New file.
12671 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12672
5e908464
JJ
126732010-10-13 Jakub Jelinek <jakub@redhat.com>
12674
12675 [BZ #3268]
12676 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12677 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12678 instead of dbl-64.
12679 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12680 inlines.
12681 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12683 if one of x and y is very large and the other is subnormal.
12684 * sysdeps/s390/fpu/s_fmaf.c: New file.
12685 * sysdeps/s390/fpu/s_fma.c: New file.
12686 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12687 * sysdeps/powerpc/fpu/s_fma.S: New file.
12688 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12689 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12690 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12691
126922010-10-12 Jakub Jelinek <jakub@redhat.com>
12693
12694 [BZ #3268]
12695 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12696 fma tests.
12697 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12698 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12699 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12700 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12701 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12702 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12704
b833d51f
UD
127052010-10-12 Ulrich Drepper <drepper@redhat.com>
12706
12707 [BZ #12078]
12708 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12709 * posix/bug-regex31.input: Add test case.
12710
1751705d
UD
127112010-10-11 Ulrich Drepper <drepper@gmail.com>
12712
e9b9cbf5
UD
12713 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12714 * posix/bug-regex31.input: New file.
12715
12716 [BZ #12078]
12717 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12718 (parse_sub_exp): Fix last change, use postorder.
12719
ef06edbe
UD
12720 * posix/bug-regex31.c: New file.
12721 * posix/Makefile: Add rules to build and run bug-regex31.
12722
a129c80d
UD
12723 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12724
12725 [BZ #12078]
12726 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12727
b76b818e
UD
12728 [BZ #12108]
12729 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12730 to have entries in sys_siglist.
12731
1751705d
UD
12732 [BZ #12093]
12733 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12734 be NULL.
12735
9ff8d36f
JJ
127362010-10-07 Jakub Jelinek <jakub@redhat.com>
12737
12738 [BZ #3268]
12739 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12740 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12741 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12742 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12743 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12744 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12745 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12746 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12747 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12748 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12749 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12750 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12751 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12752 * math/ftestexcept.c (fetestexcept): Likewise.
12753 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12754 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12755 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12756 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12757 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12758 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12759 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12760
af325969
UD
127612010-10-11 Ulrich Drepper <drepper@gmail.com>
12762
c579b202 12763 [BZ #12107]
af325969
UD
12764 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12765 newline.
12766
67a67b95
UD
127672010-10-06 Ulrich Drepper <drepper@gmail.com>
12768
12769 * string/bug-strstr1.c: New file.
12770 * string/Makefile: Add rules to build and run bug-strstr1.
12771
5fb308bc
EB
127722010-10-05 Eric Blake <eblake@redhat.com>
12773
12774 [BZ #12092]
12775 * string/str-two-way.h (two_way_long_needle): Always clear memory
12776 when skipping input due to the shift table.
12777
45db99c7
UD
127782010-10-03 Ulrich Drepper <drepper@gmail.com>
12779
3b111893
UD
12780 [BZ #12005]
12781 * malloc/mcheck.c: Handle large requests.
12782
45db99c7
UD
12783 [BZ #12077]
12784 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12785 for strncmp and strncasecmp.
12786 * string/stratcliff.c: Add tests for strcmp and strncmp.
12787 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12788
cf7a1eb8
NI
127892010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12790
12791 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12792 __set_fpscr.
12793
6484ba5e
AJ
127942010-09-30 Andreas Jaeger <aj@suse.de>
12795
12796 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12797 (CGROUP_SUPER_MAGIC): Define.
12798 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12799 Handle btrfs and cgroup file systems.
12800 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12801 Likewise.
12802
91c42559
LM
128032010-09-27 Luis Machado <luisgpm@br.ibm.com>
12804
12805 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12806 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12807
87a97932
AK
128082010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12809
12810 [BZ #12067]
12811 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12812 trying to locate the ELF header.
12813
c21cc9bc
AS
128142010-09-27 Andreas Schwab <schwab@redhat.com>
12815
12816 [BZ #11611]
12817 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12818 Mask out sign-bit copies when constructing f_fsid.
12819
315970f6
PB
128202010-09-24 Petr Baudis <pasky@suse.cz>
12821
12822 * debug/stack_chk_fail_local.c: Add missing licence exception.
12823 * debug/warning-nop.c: Likewise.
12824
1ac7a2c7
JM
128252010-09-15 Joseph Myers <joseph@codesourcery.com>
12826
12827 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12828 implementing getdents64 using getdents syscall, set d_type if
12829 __ASSUME_GETDENTS32_D_TYPE.
12830
56801c50
AS
128312010-09-16 Andreas Schwab <schwab@redhat.com>
12832
12833 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12834 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12835
dda51327
UD
128362010-09-21 Ulrich Drepper <drepper@redhat.com>
12837
12838 [BZ #12037]
12839 * posix/unistd.h: Undo change of feature selection for ftruncate from
12840 2010-01-11.
12841
8ffcee4a
UD
128422010-09-20 Ulrich Drepper <drepper@redhat.com>
12843
a545ecd9 12844 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12845 detection.
12846
e24f0a8b
AS
128472010-09-20 Andreas Schwab <schwab@redhat.com>
12848
12849 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12850 fanotify_mark.
12851 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12852
7291c56f
AS
128532010-09-14 Andreas Schwab <schwab@redhat.com>
12854
12855 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12856 variables after CHECK_SP call.
12857 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12858
bc5fb037
AS
128592010-09-13 Andreas Schwab <schwab@redhat.com>
12860 Ulrich Drepper <drepper@redhat.com>
12861
12862 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12863 re-relocationg ld.so.
12864 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12865 _dl_init_paths call.
12866 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12867 here anymore.
12868
e66e7419
UD
128692010-09-14 Ulrich Drepper <drepper@redhat.com>
12870
12871 * resolv/res_init.c (__res_vinit): Count the default server we added.
12872
c044aa75
CLT
128732010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12874 Ulrich Drepper <drepper@redhat.com>
12875
12876 [BZ #11968]
12877 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12878 (____longjmp_chk): Use %ebx for saving value across system call.
12879 Add unwind info.
12880
32cf4069
AS
128812010-09-06 Andreas Schwab <schwab@redhat.com>
12882
12883 * manual/Makefile: Don't mix pattern rules with normal rules.
12884
817328ee
AS
128852010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12886
12887 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12888 operation.
12889 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12890 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12891 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12892 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12894 Likewise.
12895
29fddf61
UD
128962010-09-04 Ulrich Drepper <drepper@redhat.com>
12897
12898 [BZ #11979]
12899 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12900 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12901
0959ffc9
UD
129022010-09-02 Ulrich Drepper <drepper@redhat.com>
12903
12904 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12905 * sysdeps/x86_64/addmul_1.S: Likewise.
12906 * sysdeps/x86_64/lshift.S: Likewise.
12907 * sysdeps/x86_64/mul_1.S: Likewise.
12908 * sysdeps/x86_64/rshift.S: Likewise.
12909 * sysdeps/x86_64/sub_n.S: Likewise.
12910 * sysdeps/x86_64/submul_1.S: Likewise.
12911
ece29840
ST
129122010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12913
0959ffc9
UD
12914 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12915 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12916 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12917 * bits/sched.h [__need_schedparam]
ece29840 12918 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12919 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12920 (__defined_schedparam): Define to 1.
ece29840
ST
12921 (__sched_param): New structure, identical to sched_param.
12922 (__need_schedparam): Undefine.
12923
e53a31fe
MF
129242010-08-31 Mike Frysinger <vapier@gentoo.org>
12925
fdc0c10d
MF
12926 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12927 (epoll_create1): Declare.
12928
e53a31fe
MF
12929 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12930
a726d796
AS
129312010-08-31 Andreas Schwab <schwab@redhat.com>
12932
12933 [BZ #7066]
12934 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12935 shifting retval into place.
12936
2f3e3dc7
UD
129372010-09-01 Ulrich Drepper <drepper@redhat.com>
12938
f2933da9
UD
12939 * nis/rpcsvc/nis.h: Update copyright notice.
12940 * nis/rpcsvc/nis.x: Likewise.
12941 * nis/rpcsvc/nis_callback.h: Likewise.
12942 * nis/rpcsvc/nis_callback.x: Likewise.
12943 * nis/rpcsvc/nis_object.x: Likewise.
12944 * nis/rpcsvc/nis_tags.h: Likewise.
12945 * nis/rpcsvc/yp.h: Likewise.
12946 * nis/rpcsvc/yp.x: Likewise.
12947 * nis/rpcsvc/ypupd.h: Likewise.
12948 * nis/yp_xdr.c: Likewise.
12949 * nis/ypupdate_xdr.c: Likewise.
12950
2f3e3dc7
UD
12951 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12952 mainly the body of pmap_getport. Add parameters to specify timeouts.
12953 (pmap_getport): Use __libc_rpc_getport.
12954 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12955 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12956 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12957
f3dcc2f9
AS
129582010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12959
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12961 fanotify_mark.
12962
6d34eb5b
RM
129632010-08-27 Roland McGrath <roland@redhat.com>
12964
12965 * sysdeps/i386/i686/multiarch/Makefile
12966 (CFLAGS-varshift.c): New variable.
12967
9ea3de11
UD
129682010-08-27 Ulrich Drepper <drepper@redhat.com>
12969
c96d23fc
UD
12970 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12971 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12972
9ea3de11
UD
12973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12974
12975 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12976
623aac7f
L
129772010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12978
12979 * sysdeps/x86_64/strlen.S: Unroll the loop.
12980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12981 strlen-sse2 strlen-sse2-bsf.
12982 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12983 __strlen_no_bsf if bit_Slow_BSF is set.
12984 (__strlen_sse42): Removed.
12985 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12986 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12987
8b2b7715
RM
129882010-08-25 Roland McGrath <roland@redhat.com>
12989
12990 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12991 * sysdeps/x86_64/multiarch/varshift.c: New file.
12992 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12993 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12994 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12995 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12996
e73015f2
L
129972010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12998
12999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13000 strlen-sse2 strlen-sse2-bsf.
13001 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13002 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13003 (__strlen_sse2): Removed.
13004 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13005 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13007 bit_Slow_BSF for Atom.
13008 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13009 (index_Slow_BSF): Define.
13010 (HAS_SLOW_BSF): Define.
13011
df24a73e
UD
130122010-08-25 Ulrich Drepper <drepper@redhat.com>
13013
13014 [BZ #10851]
13015 * resolv/res_init.c (__res_vinit): When no server address at all
13016 is given default to loopback.
13017
f2ac4868
RM
130182010-08-24 Roland McGrath <roland@redhat.com>
13019
09055553
RM
13020 * configure.in: Remove config-name.h generation.
13021 * configure: Regenerated.
13022 * config-name.in: File removed.
13023 * scripts/config-uname.sh: New file.
13024 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13025 ($(objdir)config-name.h): New target.
13026
f2ac4868
RM
13027 * sunrpc/rpc_parse.h: Avoid nested comment.
13028
73f27d5e
RH
130292010-08-24 Richard Henderson <rth@redhat.com>
13030 Ulrich Drepper <drepper@redhat.com>
13031 H.J. Lu <hongjiu.lu@intel.com>
13032
13033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13035 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13036 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13037 _mm_alignr_epi8 with _mm_loadu_si128.
13038 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13039 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13040 (__m128i_shift_right): Removed.
13041 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13042 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13043 * sysdeps/x86_64/multiarch/varshift.h: New file.
13044 * sysdeps/x86_64/multiarch/varshift.S: New file.
13045
84b9230c
MF
130462010-08-21 Mike Frysinger <vapier@gentoo.org>
13047
13048 * configure.in: Move assembler checks to before sysdep dir checking.
13049
9bbd0ddc
PB
130502010-08-20 Petr Baudis <pasky@suse.cz>
13051
13052 * LICENSES: Sync the sunrpc license.
13053
9da4bb31
UD
130542010-08-19 Ulrich Drepper <drepper@redhat.com>
13055
a7ab6ec8
UD
13056 * sunrpc/auth_des.c: Update copyright notice once again.
13057 * sunrpc/auth_none.c: Likewise.
13058 * sunrpc/auth_unix.c: Likewise.
13059 * sunrpc/authdes_prot.c: Likewise.
13060 * sunrpc/authuxprot.c: Likewise.
13061 * sunrpc/bindrsvprt.c: Likewise.
13062 * sunrpc/clnt_gen.c: Likewise.
13063 * sunrpc/clnt_perr.c: Likewise.
13064 * sunrpc/clnt_raw.c: Likewise.
13065 * sunrpc/clnt_simp.c: Likewise.
13066 * sunrpc/clnt_tcp.c: Likewise.
13067 * sunrpc/clnt_udp.c: Likewise.
13068 * sunrpc/clnt_unix.c: Likewise.
13069 * sunrpc/des_crypt.c: Likewise.
13070 * sunrpc/des_soft.c: Likewise.
13071 * sunrpc/get_myaddr.c: Likewise.
13072 * sunrpc/getrpcport.c: Likewise.
13073 * sunrpc/key_call.c: Likewise.
13074 * sunrpc/key_prot.c: Likewise.
13075 * sunrpc/openchild.c: Likewise.
13076 * sunrpc/pm_getmaps.c: Likewise.
13077 * sunrpc/pm_getport.c: Likewise.
13078 * sunrpc/pmap_clnt.c: Likewise.
13079 * sunrpc/pmap_prot.c: Likewise.
13080 * sunrpc/pmap_prot2.c: Likewise.
13081 * sunrpc/pmap_rmt.c: Likewise.
13082 * sunrpc/rpc/auth.h: Likewise.
13083 * sunrpc/rpc/auth_unix.h: Likewise.
13084 * sunrpc/rpc/clnt.h: Likewise.
13085 * sunrpc/rpc/des_crypt.h: Likewise.
13086 * sunrpc/rpc/key_prot.h: Likewise.
13087 * sunrpc/rpc/netdb.h: Likewise.
13088 * sunrpc/rpc/pmap_clnt.h: Likewise.
13089 * sunrpc/rpc/pmap_prot.h: Likewise.
13090 * sunrpc/rpc/pmap_rmt.h: Likewise.
13091 * sunrpc/rpc/rpc.h: Likewise.
13092 * sunrpc/rpc/rpc_des.h: Likewise.
13093 * sunrpc/rpc/rpc_msg.h: Likewise.
13094 * sunrpc/rpc/svc.h: Likewise.
13095 * sunrpc/rpc/svc_auth.h: Likewise.
13096 * sunrpc/rpc/types.h: Likewise.
13097 * sunrpc/rpc/xdr.h: Likewise.
13098 * sunrpc/rpc_clntout.c: Likewise.
13099 * sunrpc/rpc_cmsg.c: Likewise.
13100 * sunrpc/rpc_common.c: Likewise.
13101 * sunrpc/rpc_cout.c: Likewise.
13102 * sunrpc/rpc_dtable.c: Likewise.
13103 * sunrpc/rpc_hout.c: Likewise.
13104 * sunrpc/rpc_main.c: Likewise.
13105 * sunrpc/rpc_parse.c: Likewise.
13106 * sunrpc/rpc_parse.h: Likewise.
13107 * sunrpc/rpc_prot.c: Likewise.
13108 * sunrpc/rpc_sample.c: Likewise.
13109 * sunrpc/rpc_scan.c: Likewise.
13110 * sunrpc/rpc_scan.h: Likewise.
13111 * sunrpc/rpc_svcout.c: Likewise.
13112 * sunrpc/rpc_tblout.c: Likewise.
13113 * sunrpc/rpc_util.c: Likewise.
13114 * sunrpc/rpc_util.h: Likewise.
13115 * sunrpc/rpcinfo.c: Likewise.
13116 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13117 * sunrpc/rpcsvc/key_prot.x: Likewise.
13118 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13119 * sunrpc/rpcsvc/mount.x: Likewise.
13120 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13121 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13122 * sunrpc/rpcsvc/rex.x: Likewise.
13123 * sunrpc/rpcsvc/rstat.x: Likewise.
13124 * sunrpc/rpcsvc/rusers.x: Likewise.
13125 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13126 * sunrpc/rpcsvc/spray.x: Likewise.
13127 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13128 * sunrpc/rtime.c: Likewise.
13129 * sunrpc/svc.c: Likewise.
13130 * sunrpc/svc_auth.c: Likewise.
13131 * sunrpc/svc_authux.c: Likewise.
13132 * sunrpc/svc_raw.c: Likewise.
13133 * sunrpc/svc_run.c: Likewise.
13134 * sunrpc/svc_simple.c: Likewise.
13135 * sunrpc/svc_tcp.c: Likewise.
13136 * sunrpc/svc_udp.c: Likewise.
13137 * sunrpc/svc_unix.c: Likewise.
13138 * sunrpc/svcauth_des.c: Likewise.
13139 * sunrpc/xcrypt.c: Likewise.
13140 * sunrpc/xdr.c: Likewise.
13141 * sunrpc/xdr_array.c: Likewise.
13142 * sunrpc/xdr_float.c: Likewise.
13143 * sunrpc/xdr_mem.c: Likewise.
13144 * sunrpc/xdr_rec.c: Likewise.
13145 * sunrpc/xdr_ref.c: Likewise.
13146 * sunrpc/xdr_sizeof.c: Likewise.
13147 * sunrpc/xdr_stdio.c: Likewise.
13148
9da4bb31
UD
13149 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13150 handling.
13151
bdaa77bc
AS
131522010-08-19 Andreas Schwab <schwab@redhat.com>
13153
13154 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13155
fe2f79db
LM
131562010-08-19 Luis Machado <luisgpm@br.ibm.com>
13157
13158 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13159 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13160 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13161 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13162 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13163 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13164 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13165 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13166 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13167 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13168 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13169 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13170 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13171 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13172
b9b42ee0
AB
131732010-07-26 Anton Blanchard <anton@samba.org>
13174
13175 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13176 * malloc/arena.c (heap_trim): Likewise.
13177
1c06ba31
UD
131782010-08-16 Ulrich Drepper <drepper@redhat.com>
13179
13180 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13181 here. Not...
13182 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13183 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13184
f8392f40
L
131852010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13186
13187 * sysdeps/i386/elf/Makefile: New file.
13188
3162f12e
AS
131892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13190
13191 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13192 from fanotify_init.
13193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13194 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13195
28c90b2c
UD
131962010-08-15 Ulrich Drepper <drepper@redhat.com>
13197
13198 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13199 of strncasecmp_l.
1feccb6c 13200 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13201
ca6bb004
UD
132022010-08-14 Ulrich Drepper <drepper@redhat.com>
13203
e9f82e0d
UD
13204 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13205 strncase_l-nonascii.
13206 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13207 Add strncase_l-ssse3.
13208 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13209 * sysdeps/x86_64/strcmp.S: Likewise.
13210 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13211 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13212 * sysdeps/x86_64/strncase.S: New file.
13213 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13214 * sysdeps/x86_64/strncase_l.S: New file.
13215 * string/Makefile (strop-tests): Add strncasecmp.
13216 * string/test-strncasecmp.c: New file.
13217
13218 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13219 warning.
13220
ca6bb004
UD
13221 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13222 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13223
052fa7b3
AS
132242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13225
13226 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13227
962dba78
UD
132282010-08-12 Ulrich Drepper <drepper@redhat.com>
13229
13230 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13231 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13232 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13233
bebff237
AM
132342010-05-01 Alan Modra <amodra@gmail.com>
13235
13236 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13237 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13238 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13239 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13240 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13241 tidying. Don't tail-call __sigjmp_save for static lib.
13242 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13243 save location.
13244 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13245 (CALL_MCOUNT): Add eh info, and nop after bl.
13246 (TAIL_CALL_SYSCALL_ERROR): New macro.
13247 (PSEUDO_RET): Use it.
13248 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13249 Correct save location of integer regs and cr.
13250 (_dl_profile_resolve): Correct cr save location. Delete nops
13251 after bl when SHARED. Reduce cfi size a little by better
13252 placement of cfi directives.
13253 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13254 make a stack frame. Instead use parm save area as a temp.
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13256 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13258 Don't make a stack frame for parent, use parm save area.
13259 Increase child stack frame to 112 bytes. Don't save unused reg,
13260 and adjust reg usage. Set up cfi on error recovery and
13261 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13263 (__makecontext): Add dummy nop after jump to exit.
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13265 Use correct parm save area and cr save, reduce stack frame.
13266 Correct cfi for possible PSEUDO_RET frame setup.
13267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13268 Branch to local label emitted by PSEUDO_RET rather than
13269 __syscall_error.
13270
02637374
AS
132712010-08-12 Andreas Schwab <schwab@redhat.com>
13272
13273 [BZ #11904]
13274 * locale/programs/locale.c (print_assignment): New function.
13275 (show_locale_vars): Use it.
13276
c3e2f19b
UD
132772010-08-11 Ulrich Drepper <drepper@redhat.com>
13278
3cdaa6ad
UD
13279 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13280 field.
13281 (struct statfs64): Likewise.
13282 (_STATFS_F_FLAGS): Define.
13283 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13284 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13285 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13286 (ST_VALID): Define locally.
13287 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13288 __statvfs_getflags, use the provided value.
13289 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13290 __ASSUME_STATFS_F_FLAGS.
13291
754f7da3
UD
13292 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13293
10b3bedc
UD
13294 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13295 Add sys/fanotify.h.
13296 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13297 fanotify_mask for GLIBC_2.13.
13298 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13299 fanotify_init and fanotify_mark.
13300 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13301 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13302
c08fb0d7
UD
13303 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13304 Add prlimit.
13305 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13306 prlimit64 for GLIBC_2.13.
13307 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13308 prlimit64.
13309 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13310 syscall.
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13312 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13313 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13314 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13316 add prlimit alias.
13317 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13318
15bac72b
UD
13319 [BZ #11903]
13320 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13321 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13322
c3e2f19b
UD
13323 * nss/Makefile: Add rules to build and run tst-nss-test1.
13324 * shlib-versions: Add entry for libnss_test1.
13325 * nss/nss_test1.c: New file.
13326 * nss/tst-nss-test1.c: New file.
13327
13328 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13329 (__nss_configure_lookup): Set appropriate entry in
13330 __nss_configure_lookup to true.
13331 * nss/nsswitch.h: Define enum with indeces of databases in
13332 databases and __nss_database_custom arrays. Declare
13333 __nss_database_custom.
13334 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13335 to avoid using nscd when custom rules are installed.
13336 * nss/getXXbyYY_r.c: Likewise.
13337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13338
13339 * nss/nss_files/files-parse.c: Whitespace fixes.
13340
f15ce4d8
UD
133412010-08-09 Ulrich Drepper <drepper@redhat.com>
13342
13343 [BZ #11883]
13344 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13345 * posix/fnmatch_loop.c: Likewise.
13346
d22e4cc9
AK
133472010-07-17 Andi Kleen <ak@linux.intel.com>
13348
13349 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13350 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13351 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13352 * Versions.def [GLIBC_2.13]: Add.
13353
805bc17d
UD
133542010-08-06 Ulrich Drepper <drepper@redhat.com>
13355
13356 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13357 Also fail if tpwd after pwuid call is NULL.
13358
5a42321d
ST
133592010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13360
13361 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13362 when converting to ms.
13363
fd3ebeda
ST
133642010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13365
13366 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13367 EOPNOTSUPP errors with ENOTTY.
13368 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13369 EOPNOTSUPP errors with ENOTTY.
13370
73507d3a
UD
133712010-07-31 Ulrich Drepper <drepper@redhat.com>
13372
13373 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13374 Add strcasecmp_l-ssse3.
13375 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13376 strcasecmp.
13377 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13378 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13379 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13380
fe36dd02
UD
133812010-07-30 Ulrich Drepper <drepper@redhat.com>
13382
66f6765a
UD
13383 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13384
42e08a54
UD
13385 * string/Makefile (strop-tests): Add strcasecmp.
13386 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13387 strcasecmp_l-nonascii.
13388 (gen-as-const-headers): Add locale-defines.sym.
13389 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13390 * sysdeps/x86_64/strcasecmp.S: New file.
13391 * sysdeps/x86_64/strcasecmp_l.S: New file.
13392 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13393 * sysdeps/x86_64/locale-defines.sym: New file.
13394 * string/test-strcasecmp.c: New file.
13395
fe36dd02
UD
13396 * string/test-strcasestr.c: Test both ends of the range of characters.
13397 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13398
48cbc0d6
RM
133992010-07-29 Roland McGrath <roland@redhat.com>
13400
76e6d6bc 13401 [BZ #11856]
48cbc0d6
RM
13402 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13403
880113d9
UD
134042010-07-27 Ulrich Drepper <drepper@redhat.com>
13405
13406 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13407 for ld.so.
13408
deb9cabb
AS
134092010-07-27 Andreas Schwab <schwab@redhat.com>
13410
13411 * manual/memory.texi (Malloc Tunable Parameters): Document
13412 M_PERTURB.
13413
1c7570ff
RM
134142010-07-26 Roland McGrath <roland@redhat.com>
13415
13416 [BZ #11840]
13417 * configure.in (-fgnu89-inline check): Set and substitute
13418 gnu89_inline, not libc_cv_gnu89_inline.
13419 * configure: Regenerated.
13420 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13421
24fb0f88
UD
134222010-07-26 Ulrich Drepper <drepper@redhat.com>
13423
13424 * string/test-strnlen.c: New file.
13425 * string/Makefile (strop-tests): Add strnlen.
13426 * string/tester.c (test_strnlen): Add a few more test cases.
13427 * string/tst-strlen.c: Better error reporting.
13428
13429 * sysdeps/x86_64/strnlen.S: New file.
13430
8e96b93a
UD
134312010-07-24 Ulrich Drepper <drepper@redhat.com>
13432
13433 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13434 lower-latency instructions.
13435
dbc676d4
UD
134362010-07-23 Ulrich Drepper <drepper@redhat.com>
13437
13438 * string/test-strcasestr.c: New file.
13439 * string/test-strstr.c: New file.
13440 * string/Makefile (strop-tests): Add strstr and strcasestr.
13441 * string/str-two-way.h: Don't undefine MAX.
13442 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13443
f6a31e0e
AS
134442010-07-21 Andreas Schwab <schwab@redhat.com>
13445
13446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13447 strcasestr-nonascii.
13448 (CFLAGS-strcasestr-nonascii.c): Define.
13449 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13450 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13451 Remove unused attribute.
13452
5dbc3b6c
RM
134532010-07-20 Roland McGrath <roland@redhat.com>
13454
13455 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13456 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13457 ld.so.cache was broken. With it, there is no way to disable dsocaps
13458 like LD_HWCAP_MASK can disable hwcaps.
13459
23d101d8
EPM
134602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13461
13462 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13463
cc9f2e47
UD
134642010-07-16 Ulrich Drepper <drepper@redhat.com>
13465
13466 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13467 call in strcasestr.
13468 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13469 __strcasestr_sse42_nonascii.
13470 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13471 strcasestr-nonascii.c.
13472 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13473
77c1b069
LM
134742010-06-15 Luis Machado <luisgpm@br.ibm.com>
13475
13476 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13477 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13478 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13479 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13480
440566c3
UD
134812010-07-09 Ulrich Drepper <drepper@redhat.com>
13482
13483 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13484 fcntl.
13485
5be9d05d
AS
134862010-07-06 Andreas Schwab <schwab@redhat.com>
13487
c30b7ee2 13488 [BZ #11577]
5be9d05d
AS
13489 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13490 dl_signal_cerror.
13491
8a492a67
UD
134922010-07-06 Ulrich Drepper <drepper@redhat.com>
13493
13494 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13495 _PC_PIPE_BUF using F_GETPIPE_SZ.
13496
713df3d5
RM
134972010-07-05 Roland McGrath <roland@redhat.com>
13498
13499 * manual/arith.texi (Rounding Functions): Fix rint description
13500 implicit in round description.
13501
702e8f14
UD
135022010-07-02 Ulrich Drepper <drepper@redhat.com>
13503
13504 * elf/Makefile: Fix linking for a few tests to make recent linker
13505 happy.
13506
52ed8be9
AS
135072010-06-30 Andreas Schwab <schwab@redhat.com>
13508
13509 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13510 $(common-objpfx)libc_nonshared.a.
13511
f47c9a11
LM
135122010-06-21 Luis Machado <luisgpm@br.ibm.com>
13513
13514 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13515 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13516 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13517 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13518 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13519 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13520 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13521 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13536 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13537 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13538 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13539 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13540 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13541 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13542 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13543 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13544 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13545 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13546 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13547 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13562
6fb8cbcb
L
135632010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13564
13565 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13566 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13567 * string/memmove.c (memmove): Renamed to ...
13568 (MEMMOVE): ...this. Default to memmove.
13569 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13570 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13571 (END_CHK): Define.
13572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13573 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13574 mempcpy-ssse3-back memmove-ssse3-back.
13575 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13576 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13577 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13578 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13579 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13580 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13581 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13582 * sysdeps/x86_64/multiarch/memmove.c: New file.
13583 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13584 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13585 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13586 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13587 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13589 Define.
13590 (index_Fast_Copy_Backward): Define.
13591 (HAS_ARCH_FEATURE): Define.
13592 (HAS_FAST_REP_STRING): Define.
13593 (HAS_FAST_COPY_BACKWARD): Define.
13594
4e733bac 135952010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13596
13597 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13598 Restore proper fallback handling.
13599
63c4ed22
UD
136002010-06-19 Ulrich Drepper <drepper@redhat.com>
13601
ac2b484c
UD
13602 [BZ #11701]
13603 * posix/group_member.c (__group_member): Correct checking loop.
13604
63c4ed22
UD
13605 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13606 OOM in getpwuid_r correctly. Return error number when the caller
13607 should return, otherwise -1.
13608 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13609 call returning > 0 value.
13610 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13611
765ade4b
AS
136122010-06-07 Andreas Schwab <schwab@redhat.com>
13613
13614 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13615 libc_nonshared.a from targets in modules-names.
13616
80da2e09
KS
136172010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13618
13619 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13620 requires it.
13621
158db122
LM
136222010-06-10 Luis Machado <luisgpm@br.ibm.com>
13623
13624 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13625 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13626 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13627 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13628
caa78cf8
AS
136292010-06-02 Andreas Schwab <schwab@redhat.com>
13630
13631 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13632
b2ef2c01
UD
136332010-06-14 Ulrich Drepper <drepper@redhat.com>
13634
13635 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13636 and F_GETPIPE_SZ.
13637 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13638 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13641 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13642 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13643
fbd643b6
RM
136442010-06-14 Roland McGrath <roland@redhat.com>
13645
13646 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13647
f32f2869
JJ
136482010-06-07 Jakub Jelinek <jakub@redhat.com>
13649
13650 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13651 __REDIRECT followed by __THROW.
13652 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13653 * posix/getopt.h (getopt): Likewise.
13654
2a50c078
EPM
136552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13656
13657 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13658 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13659 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13660 in AT_FLAGS.
13661 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13662 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13663
eb5ad2eb
LM
136642010-05-28 Luis Machado <luisgpm@br.ibm.com>
13665
13666 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13667
3c88fe1e
L
136682010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13669
13670 [BZ #11640]
13671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13672 Properly check family and model.
13673
d2f73151
TY
136742010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13675
13676 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13677
ebd2e13d
LM
136782010-05-24 Luis Machado <luisgpm@br.ibm.com>
13679
13680 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13681
b32b8b45
UD
136822010-05-21 Ulrich Drepper <drepper@redhat.com>
13683
13684 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13685 symbol reference.
13686
9acbe24d
AS
136872010-05-19 Andreas Schwab <schwab@redhat.com>
13688
13689 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13690 symbol reference.
13691
f0ccf6ea
AS
136922010-05-21 Andreas Schwab <schwab@redhat.com>
13693
3d04ff3a
AS
13694 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13695 and internal_recvmmsg.
13696 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13697 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13698 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13699 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13700
f0ccf6ea
AS
13701 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13702 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13703 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13704
5b08ac57
AS
137052010-05-20 Andreas Schwab <schwab@redhat.com>
13706
13707 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13708
4828935d
LM
137092010-05-17 Luis Machado <luisgpm@br.ibm.com>
13710
13711 POWER7 optimizations.
13712 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13713 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13714
373d545e
UD
137152010-05-19 Ulrich Drepper <drepper@redhat.com>
13716
13717 * version.h: Update for 2.13 development version.
13718
21a2b1ae
AS
137192010-05-12 Andrew Stubbs <ams@codesourcery.com>
13720
13721 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13722 exceptions. Return 0.
13723
3f7dcb2b
RM
137242010-05-07 Roland McGrath <roland@redhat.com>
13725
13726 * elf/ldconfig.c (main): Add a const.
13727
5f24d53a 137282010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13729
a160f8d8
UD
13730 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13731 (args_options): Add no-idn option.
13732 (ahosts_keys_int): Add idn_flags to ai_flags.
13733 (parse_option): Handle 'i' option to clear idn_flags.
13734
5f24d53a
UD
13735 * malloc/malloc.c (_int_free): Possible race in the most recently
13736 added check. Only act on the data if no current modification
13737 happened.
265bb1ce
UD
13738
13739See ChangeLog.17 for earlier changes.